25 lines
89 KiB
Plaintext
25 lines
89 KiB
Plaintext
(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["27998"],{119522:function(e,t,n){"use strict";n.d(t,{y:function(){return s}});var i=n(101199),r=n(890710);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(a)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".wallet_recharge{line-height:0;position:relative}.wallet_recharge .wallet_recharge_loading_box{align-items:center;background-color:#f9f9fa;border-radius:16px;box-shadow:0 0 24px 0 rgba(0,0,0,.1);display:flex;flex-flow:row nowrap;height:226px;justify-content:center;left:0;position:absolute;top:0;width:516px;z-index:100}.wallet_recharge .wallet_recharge_loading_box.hide{display:none}.wallet_recharge .wallet_recharge_loading_box .wallet_recharge_loading{-webkit-animation:wallet_recharge_loading 1s steps(60,start) infinite;animation:wallet_recharge_loading 1s steps(60,start) infinite;background-image:url(https://p3-liveact.byteimg.com/tos-cn-i-lkdc6loazq/liveact/v2/image/act/liveact-common-material/f0ac0799ca2a4dc0b247cfb75148ea7b~tplv-lkdc6loazq-png.png);background-size:48px;box-sizing:border-box;display:inline-block;font-size:0;height:48px;transform:scale(.7);width:48px}.wallet_recharge .webcast_recharge_iframe{border-radius:16px;box-shadow:0 0 24px 0 rgba(0,0,0,.1);opacity:0;position:relative;z-index:200}.wallet_recharge .webcast_recharge_iframe.webcast_recharge_iframe_loaded{opacity:1}.wallet_recharge.wallet_recharge_fullscreen{height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:9999}.wallet_recharge.wallet_recharge_fullscreen .wallet_recharge_loading_box{left:50%;margin-left:-258px;margin-top:-113px;top:50%}.wallet_recharge.wallet_recharge_dark .wallet_recharge_loading_box{background-color:#252632;box-shadow:0 0 24px 0 rgba(0,0,0,.4)}.wallet_recharge.wallet_recharge_dark .webcast_recharge_iframe{box-shadow:0 0 24px 0 rgba(0,0,0,.4)}@-webkit-keyframes wallet_recharge_loading{to{background-position-y:-2880px}}@keyframes wallet_recharge_loading{to{background-position-y:-2880px}}");var u=function(e){var t,n,r,a=e.appId,u=e.onCombosItemClick,d=e.onSuccess,s=e.onShow,c=e.onClose,_=e.type,v=e.balance,f=e.amount,p=e.extra,g=e.isFullScreen,m=e.scene,h=e.additionalLogParams,y=e.requestPublicParams,b=e.onCloseButtonClick,w=e.theme,S=e.autoNext,I=e.autoNextHtml,x=e.onAutoNextChange,k=e.selectDefaultCombo,L=e.showOfficialEntrance,C=e.showRechargeResult,P=l((0,i.useState)(!1),2),N=P[0],E=P[1],F=l((0,i.useState)({width:516,height:226}),2),A=F[0],U=F[1],R=(0,i.useRef)((new Date).getTime()),O=(0,i.useRef)(!1);return(0,i.useEffect)(function(){var e=function(e){var t,n,i,r,o,l,a=e||window.event||{};switch(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.command){case"close":null==b||b();break;case"success":O.current=!0,null==d||d(null===(n=a.data)||void 0===n?void 0:n.payload);break;case"combos-item-click":null==u||u(null===(i=null==a?void 0:a.data)||void 0===i?void 0:i.payload);break;case"resize":g||U(null===(r=a.data)||void 0===r?void 0:r.payload);break;case"auto-next-change":null==x||x(null===(l=null===(o=a.data)||void 0===o?void 0:o.payload)||void 0===l?void 0:l.checked)}};return null==s||s(),window.addEventListener("message",e),function(){window.removeEventListener("message",e)}},[]),(0,i.useEffect)(function(){return function(){var e=(new Date).getTime()-R.current;null==c||c({duration:e,isSuccess:O.current})}},[]),i.createElement("div",{className:"\n wallet_recharge\n ".concat(g?"wallet_recharge_fullscreen":"","\n ").concat(w?"wallet_recharge_".concat(w):"wallet_recharge_light","\n ")},i.createElement("div",{className:"wallet_recharge_loading_box ".concat(N?"hide":"show")},i.createElement("div",{className:"wallet_recharge_loading"})),i.createElement("iframe",{className:"webcast_recharge_iframe ".concat(N?"webcast_recharge_iframe_loaded":""),marginWidth:0,marginHeight:0,frameBorder:"0",width:g?"100%":A.width,height:g?"100%":A.height,src:(t="/falcon/webcast_douyin/page/live_recharge_v2/index.html",n=Object.assign({app_id:void 0===a?1128:a,type:_,balance:v,amount:f,isFullScreen:g,scene:m,additionalLogParams:h,theme:w,autoNext:S,autoNextHtml:I,selectDefaultCombo:k,showOfficialEntrance:L,requestPublicParams:y,showRechargeResult:C},void 0===p?{}:p),r=[],Object.keys(n).forEach(function(e){var t=n[e];void 0!==t&&("object"===o(t)&&(t=JSON.stringify(t)),r.push("".concat(e,"=").concat(encodeURIComponent(t))))}),-1===t.search(/\?/)?t+="?".concat(r.join("&")):t+="&".concat(r.join("&")),t),onLoad:function(){E(!0)}}))},d=[],s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.el,n=void 0===t?"wallet_recharge_container":t,o={showRecharge:function(){},hideRecharge:function(){},updateRecharge:function(){},hideOtherRecharge:function(){}},l=function(){var t=e.container;return"string"==typeof t?document.getElementsByClassName(t)[0]||document.body:"function"==typeof t?t()||document.body:t||document.body},a=function(e){var t=e.getElementsByClassName(n)[0];return t||((t=document.createElement("div")).className=n,e.appendChild(t)),t},s=function(e){d.find(function(t){return t.mountNode&&t.mountNode===e.mountNode})||d.push(e)},c=function(e){var t=d.findIndex(function(t){return t.mountNode&&t.mountNode===e});t>=0&&d.splice(t,1)},_=function(e){var t=a(e||l());c(t),t&&(r.unmountComponentAtNode(t),t.remove())};return o={showRecharge:function(e){var t=e.appId,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}(e,["appId"]),d=l(),c=a(d),v=d===document.body;o.mountNode=c,s(o),r.render(i.createElement(u,Object.assign({appId:void 0===t?1128:t,isFullScreen:v,onCloseButtonClick:function(){_(d)}},n)),c)},updateRecharge:function(e){var t,n=l(),i=null==n?void 0:n.querySelectorAll("iframe.webcast_recharge_iframe")[0];i&&(null===(t=i.contentWindow)||void 0===t||t.postMessage({command:"update-props",payload:e},"*"))},hideRecharge:_,hideOtherRecharge:function(){d.forEach(function(e){e.hideRecharge!==_&&e.hideRecharge()})}}}},500982:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},156674:function(e,t,n){var i=n(857513),r=n(987132),o=n(867924),l=n(293137),a=n(22186),u=n(500982),d=n(896833),s=n(98795),c=n(945068),_=n(347752),v=i?i.iterator:void 0;e.exports=function(e){if(!e)return[];if(l(e))return a(e)?c(e):r(e);if(v&&e[v])return u(e[v]());var t=o(e);return("[object Map]"==t?d:"[object Set]"==t?s:_)(e)}},45087:function(e,t){"use strict";t.Z={profilePopover:"PV1X_RQu",popHolder:"qgsZ1kmk"}},174207:function(e,t,n){"use strict";n.d(t,{Hv:function(){return S},JL:function(){return h},Jh:function(){return p},Tw:function(){return y},Xq:function(){return g},ao:function(){return m},hF:function(){return b},sb:function(){return w}});var i,r=n(629686),o=n(402748);n(362051),n(76375);var l=n(121998),a=n(810069),u=n(301023),d=n(699679),s=n(618759),c=n(973314);let _=(null===(i=(0,a.Es)())||void 0===i?void 0:i.user_unique_id)||"",v={webid:_,device_id:_,app_name:"douyin_web"},f=e=>{let t=Number(e);return Number.isFinite(t)?t:0},p=e=>(null==e?void 0:e.diamond_x10)!==void 0?f(e.diamond_x10)/10:f(null==e?void 0:e.diamond),g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c.ZP.get("/webcast/gift/list/",{params:(0,r._)((0,o._)((0,r._)({},(0,u.f)(),(0,d.F)({}),v),{webcast_sdk_version:2450}),e)})},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c.ZP.get("/webcast/assets/effects/",{params:(0,r._)((0,o._)((0,r._)({},(0,u.f)(),(0,d.F)({}),v),{webcast_sdk_version:2450}),e),headers:t})},h=e=>c.ZP.get("/webcast/gift/extra/",{params:(0,r._)((0,o._)((0,r._)({},(0,u.f)(),(0,d.F)({}),v),{webcast_sdk_version:2450}),e)}),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c.ZP.get("/webcast/gift/detail/",{params:(0,r._)((0,o._)((0,r._)({},(0,u.f)(),(0,d.F)({}),v),{webcast_sdk_version:2450}),e)})},b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.extra)try{var t;let n="string"==typeof e.extra?JSON.parse(e.extra):e.extra;e.extra=JSON.stringify((0,o._)((0,r._)({},n),{total_count:null!==(t=null==n?void 0:n.total_count)&&void 0!==t?t:e.count}))}catch(e){throw Error("extra is not a valid JSON string")}else e.extra=JSON.stringify({total_count:e.count});if(e.tags_extra)try{let t=JSON.parse(e.tags_extra);t.is_client=(0,s.DT)(),e.tags_extra=JSON.stringify(t)}catch(e){throw Error("tags_extra is not a valid JSON string")}else e.tags_extra=JSON.stringify({is_client:(0,s.DT)()});return((null==e?void 0:e.plugin_info)||(null==e?void 0:e.plugin_id))&&delete e.buff_level,c.ZP.post("/webcast/gift/send/",(0,l.stringify)((0,r._)({},e)),{headers:{"Content-Type":"application/x-www-form-urlencoded"},params:(0,r._)({},(0,u.f)(),(0,d.F)({}),v)})},w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c.ZP.get("/webcast/wallet/info/",{params:(0,r._)({},e)})},S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c.ZP.get("/webcast/web/user/layer/",{params:(0,r._)({},e)})}},263386:function(e,t,n){"use strict";n.d(t,{A:function(){return f},E:function(){return p}});var i,r=n(629686),o=n(402748);n(362051),n(76375);var l=n(121998),a=n(810069),u=n(301023),d=n(699679),s=n(618759),c=n(973314);let _=(null===(i=(0,a.Es)())||void 0===i?void 0:i.user_unique_id)||"",v={webid:_,device_id:_,app_name:"douyin_web"},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c.ZP.get("/webcast/props/mine/",{params:(0,r._)((0,o._)((0,r._)({},(0,u.f)(),(0,d.F)({}),v),{webcast_sdk_version:2450}),e)})},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.tags_extra)try{let t=JSON.parse(e.tags_extra);t.is_client=(0,s.DT)(),e.tags_extra=JSON.stringify(t)}catch(e){throw Error("tags_extra is not a valid JSON string")}else e.tags_extra=JSON.stringify({is_client:(0,s.DT)()});return c.ZP.post("/webcast/props/consume/",(0,l.stringify)((0,r._)({},e)),{headers:{"Content-Type":"application/x-www-form-urlencoded"},params:(0,r._)({},(0,u.f)(),(0,d.F)({}),v)})}},983891:function(e,t,n){"use strict";let i;n.d(t,{DS:function(){return y},Dy:function(){return m},Q5:function(){return b},o8:function(){return g},qs:function(){return p},u_:function(){return h},yX:function(){return w}});var r=n(629686),o=n(402748),l=n(811603);n(679308),n(591964);var a=n(320165);n(101199);var u=n(318966),d=n(391948),s=n(855436),c=n(907340),_=n(45087);let v=(0,s.ZP)(()=>n.e("60770").then(n.bind(n,989866)));let f=(i=null,e=>{i&&i.close();let{position:t,popoverProps:n}=e,u=(0,l._)(e,["position","popoverProps"]),s=document.createElement("div");document.body.appendChild(s);let c=(0,d.createRoot)(s),f={close:()=>{var e;c.unmount(),null===(e=s.parentElement)||void 0===e||e.removeChild(s),i=null}};return c.render((0,a.jsx)("div",{children:(0,a.jsx)(v,(0,o._)((0,r._)({},u),{popoverProps:(0,o._)((0,r._)({},n),{defaultVisible:!0}),onClose:f.close,children:(0,a.jsx)("span",{className:_.Z.popHolder,style:t})}))})),i=f,f}),p=e=>{let{store:t}=e,n=(0,l._)(e,["store"]),i=(0,c.C)(t);return f((0,r._)({},i,n))},g=async(e,t)=>{try{let n=e.rightPanelStore.rootEl.getBoundingClientRect(),i={height:1,width:1,left:void 0===t.left?n.x:t.left,top:void 0===t.top?n.y:t.top};p((0,o._)((0,r._)({store:e},t),{popoverProps:{position:t.position||"leftTop"},targetUserType:"audience",position:i,clickSource:`h5_${t.source}`,needMask:!0}))}catch(e){(0,u.OK)().sendEvent({name:"JSBOpenProfileError",categories:{error:e,params:t}})}};var m={Follow:"follow",SendGift:"send_gift",ToOtherAnchor:"to_other_anchor",ProfileSetting:"profile_setting",PersonalCenter:"personal_center",FansGroup:"fans_group",At:"mention",Report:"report",Manage:"manage",Mute:"mute",SecondaryFollow:"secondary_follow",FlashSale:"flash_sale",Block:"block",Avatar:"avatar",UserName:"user_name",SmallShopEntrance:"small_shop_entrance",TakeLive:"take_live"},h={PayGrade:"pay_grade",FansClub:"fans_club",GiftHome:"gift_home",Subscription:"subscription",DressSuit:"dress_suit",ShopFansClub:"shop_fans_club",HighScoreSong:"high_score_song",PK:"pk",Match:"match",GiftExhibitionBanner:"gift_exhibition_banner",Shop:"shop",LocalLife:"local_life"},y={SendGift:"send_gift",LinkMic:"link_mic",Like:"like",FlashShopping:"flash_shopping",AnchorUserRelation:"anchor_user_relation",PotentialAnchorUserRelation:"potential_anchor_user_relation",AdventureInvite:"adventure_invite",AdventureList:"adventure_list",More:"more",Comment:"comment",GetSameDressButton:"get_same_dress_button",EnterEffectFloatShow:"enter_effect_float_show",GiftTrayFloatShow:"gift_tray_float_show",VisitorEntrance:"visitor_entrance"},b={LiveAnchorRankHonor:"live_anchor_rank_honor",AuthInfo:"auth_info",WhiteCategoryCert:"white_category_cert",IndustryCertification:"industry_certification",Admin:"admin",ContributorRank:"contributor_rank",CardInterCom:"card_inter_com",GenderAndAge:"gender_and_age",LocationInfo:"location_info",SchoolInfo:"school_info",FollowInfo:"follow_info",Poi:"poi"};let w=e=>[m,h,y,b].reduce((t,n,i)=>{let l=`function_list_${i+1}`,a=Object.values(n).filter(t=>{var n;return!!(null==e?void 0:null===(n=e.getElementsByClassName(t))||void 0===n?void 0:n.length)}).join("|");return(0,o._)((0,r._)({},t),{[l]:a})},{})},907340:function(e,t,n){"use strict";n.d(t,{C:function(){return p},V:function(){return g}});var i=n(629686);n(679308),n(706056);var r=n(320165);n(101199);var o=n(656671),l=n(964591),a=n(855436),u=n(542901),d=n(730481),s=n(198412),c=n.n(s),_=n(718552),v=n(574939);let f=(0,a.ZP)(()=>n.e("60770").then(n.bind(n,989866))),p=e=>{var t,n,i,r;let{roomStore:{roomInfo:l},userStore:{userInfo:a},activityIndicatorStore:{JSBInstance:u},vipStore:{setIsShowVipPanel:s},fansClubStore:{setFansClubShowStatus:f},linkmicStore:{linkRoomType:p,functionType2:g,setChoosePeopleAll:m,setChoosePeopleArr:h,setSelectedGiftWebcastUid:y,setFaceRecognitionShow:b,linkMicSeatsRaw:w,groupLiveMemberList:S=[],isPaidLinking:I},singletonStore:{liveContainer:x},giftStore:{setGiftPanelShowFrom:k,setGiftPanelSwitchStatus:L},pkStore:{pkUserIdList:C,pkStatus:P,pkAppData:N,pkTeamCount:E,pkPlayMode:F,pkId:A,pkListData:U},eventStore:{linkmicEvent:R,slardarEvent:O}}=e,G=null==l?void 0:null===(t=l.anchor)||void 0===t?void 0:t.id_str,j=c()(U,"battle_stats.battle_settings.battle_config_setting.team_mode",0);return{anchorId:G,secAnchorId:null==l?void 0:null===(n=l.anchor)||void 0===n?void 0:n.sec_uid,roomId:null==l?void 0:null===(i=l.room)||void 0===i?void 0:i.id_str,currentUid:null==a?void 0:a.id_str,currentSecUid:null==a?void 0:a.sec_uid,openSchema:u.openScheme,liveContainer:x,setFaceRecognitionShow:b,linkmicEvent:R,slardarEvent:O,linkRoomType:p,functionType2:g,isPaidLinking:I,pkStatus:P,team_mode:j,channel_id:null==N?void 0:N.channelId,invite_mode:F,anchor_connect_status:(null==N?void 0:null===(r=N.grids)||void 0===r?void 0:r.length)||-1,pkTeamCount:E,pk_id:A,openVip:()=>{(0,v.Z)("personal_profile")},openFansClub:()=>{f({isShow:!0,source:"profile"})},openGiftPanel:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";null==m||m(!1),null==h||h([e]),null==y||y(t),null==k||k("profile"),null==L||L(o.nN.OPEN_GIFT)},checkIsGuestUser:(e,t)=>e!==G&&(C.includes(e)||Object.values(w).some(n=>{var i,r,o,l;return(null==n?void 0:null===(r=n.user)||void 0===r?void 0:null===(i=r.user)||void 0===i?void 0:i.id_str)===e||!!t&&(null==n?void 0:null===(l=n.user)||void 0===l?void 0:null===(o=l.user)||void 0===o?void 0:o.webcast_uid)===t})),checkCanShowProfile:(e,t)=>{var n,i,r,o;let u=null==l?void 0:l.room;if(null==u?void 0:null===(n=u.room_auth)||void 0===n?void 0:n.UserCard)return!0;let d=null==a?void 0:a.id_str,s=null==a?void 0:null===(i=a.user_attr)||void 0===i?void 0:i.is_admin;if(s||e===G||e===d||d===G)return!0;let c=!!(null==u?void 0:null===(o=u.others)||void 0===o?void 0:null===(r=o.group_live_data)||void 0===r?void 0:r.is_group_live),_=S.some(n=>{var i,r;return(null==n?void 0:null===(i=n.user)||void 0===i?void 0:i.id_str)===e||!!t&&(null==n?void 0:null===(r=n.user)||void 0===r?void 0:r.webcast_uid)===t});return c&&_},isLinkMicManger:(()=>{var e,t;let n=null==a?void 0:null===(e=a.user_attr)||void 0===e?void 0:e.is_admin,i=(null==a?void 0:null===(t=a.user_attr)||void 0===t?void 0:t.admin_privileges)||[];return n&&i.includes(d.s.LinkMicPrivilege)})(),store:e,beforeFetchData:(0,_.s1)(e)}},g=(0,l.Pi)(e=>{let t=(0,i._)({},p((0,u.o)()),e);return(0,r.jsx)(f,(0,i._)({},t))})},37537:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var i={Success:1,1:"Success",Failed:0,0:"Failed",InvalidParam:-3,"-3":"InvalidParam"}},643587:function(e,t,n){"use strict";n.d(t,{Fy:function(){return l},Jn:function(){return o},LQ:function(){return d},Oo:function(){return a},PO:function(){return c},VP:function(){return _},ZV:function(){return u},yQ:function(){return s}}),n(414931);var i=n(318966);let r=e=>{let t=(0,i.OK)();null==t||t.sendEvent(e)},o=e=>{let{name:t,type:n="landPage",params:i}=e;r({name:"activity_indicator_jsb_not_support",categories:{name:t,type:n,params:i}})},l=e=>{r({name:"activity_indicator_script_load_error",categories:{rootID:e}})},a=e=>{r({name:"activity_indicator_script_execute_error",categories:{rootID:e}})},u=e=>{let{name:t,type:n="landPage",params:i}=e;r({name:"activity_indicator_jsb_error",categories:{name:t,type:n,params:i}})},d=e=>{let{name:t,type:n="landPage",params:i}=e;r({name:"activity_indicator_jsb_callback_error",categories:{name:t,type:n,params:i}})},s=e=>{let{name:t,type:n="landPage",params:i}=e;r({name:"activity_indicator_jsb_call",categories:{name:t,type:n,params:i}})},c=e=>{let{status:t,statusCode:n,url:i}=e;r({name:"activity_indicator_jsb_open_scheme",categories:{status:t,statusCode:null==n?void 0:n.toString(),url:i}})},_=e=>{let{bannerId:t,noDom:n,bannerName:i}=e;r({name:"activity_can_not_load_slave",categories:{bannerId:t,noDom:n,bannerName:i}})}},269196:function(e,t,n){"use strict";n.d(t,{GC:function(){return p},Qg:function(){return s},cC:function(){return c},fI:function(){return f},fh:function(){return a},hb:function(){return v},ox:function(){return l},yG:function(){return u},zM:function(){return g},zr:function(){return d}});var i=n(811603);n(228983),n(759943),n(932651),n(374954),n(656562),n(992871),n(490629),n(679308),n(706056);var r=n(121998),o=n(519403);let l=e=>{var t,n;let i={};try{i=JSON.parse(null!==(n=e.extra)&&void 0!==n?n:"{}")}catch(e){}return{id:Number(e.id),frameType:Number(e.frame_type),scriptSrc:i.scriptSrc||"",key:i.id||"",imgUrl:(null==e?void 0:null===(t=e.image)||void 0===t?void 0:t.url_list)?e.image.url_list[Math.round(Math.random()*(e.image.url_list.length-1))]:"",scheme:e.schema_url||"",rootId:i.rootId||"",pageUrl:i.pageUrl||"",extra:i}},a=(e,t,n)=>{let i=(0,o.Kj)(t),l=e.split("?"),a=r.parse(l[1]),u=r.stringify(Object.assign(a,i,{}));return`${l[0]}?${u}`},u="__ACT_CARBON_KEY__",d="__TASK_CARBON_KEY__",s={add(e){var t;let{type:n,data:i}=e,r=window["act"===n?u:d];null==r||null===(t=r.emit)||void 0===t||t.call(r,"add",{bannerInfo:i,initData:"",isLast:!0})},refresh(e){var t;let{type:n,data:i,initData:r}=e,o=window["act"===n?u:d];null==o||null===(t=o.emit)||void 0===t||t.call(o,"add",{bannerInfo:i,initData:r||"",isLast:!0})},mockMessage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],{__MESSAGE_INSTANCE__:t}=window;t&&t.mock,e.forEach(e=>t.mock(e.method,e))}},c=e=>{let t={};e.forEach(e=>{let{scriptSrc:n,key:r}=e,o=(null==n?void 0:n.indexOf("protocol_id"))>-1,l=(null==n?void 0:n.indexOf("externalJsList"))>-1,a=[];if(t[r]=a,l||o){let t=n.split("?")[0]||n;try{let u=function(e){let t={};try{if(e.indexOf("?")>-1){let n=e.split("?");n.shift(),n.forEach(e=>{e.split("&").forEach(e=>{let n=e.split("=");t[n[0]]=decodeURIComponent(n[1])||null})})}}catch(e){}return t}(n),{externalJsList:d="[]"}=u,s=(0,i._)(u,["externalJsList"]);o&&(window[`__protocol_${e.key}__`]=s,t=`${t}?key=${r}`);let c=JSON.parse(d);l&&Array.isArray(c)&&c.length>0&&c.forEach(e=>{let{name:t,url:n}=e;a.every(e=>e.name!==t)&&!window[t]&&a.push({name:t,url:n})})}catch(e){}}}),window.__SCRIPT_MAP__=t},_=e=>{let t;try{t=new URL(e)}catch(e){return!1}return"https:"===t.protocol};function v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createElement("script");i.src=t,n.crossorigin&&(i.crossOrigin="anonymous"),e.head.appendChild(i)}let f=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!!await _(e))return fetch(e,{credentials:t?"include":"omit"}).then(e=>{if(!!e.ok)return e.text()},()=>{})};function p(e){return e.includes("magic/")&&!e.includes("live.douyin.com/magic")}let g=e=>{let t=document.querySelector("script[nonce]");if(!t)return;let{nonce:n}=t;for(let t of Array.from(e.querySelectorAll("script")))t.setAttribute("nonce",n)}},6025:function(e,t,n){"use strict";n.d(t,{T:function(){return Q},D:function(){return z}});var i=n("480333"),r=n("629686"),o=n("402748");n("679308"),n("656562"),n("992871"),n("490629"),n("228983"),n("759943"),n("591964"),n("932651"),n("362051");var l=n("19277"),a=n("409250"),u=n("426038"),d=n("618759"),s=n("471729"),c=n("841434"),_=n("198412"),v=n.n(_),f=n("285406"),p=n.n(f),g=n("121998"),m=n("980660"),h=n("973140"),y=n("414061"),b=e=>{let{registerBridge:t}=e,n=new h.N,i=async(e,t)=>{let{eventName:i,callback:r}=t;try{return n.on(i,r),(0,c.Vp)()}catch(e){return(0,c.bG)(c.MU.FAIL,"fail")}},r=async(e,t)=>{let{eventName:i,params:r}=t;try{return n.emit(i,r),"subscription.vipsendnewpurchase"===i&&y.emit(y.EVENT.VipRechargeSuccess),(0,c.Vp)()}catch(e){return(0,c.bG)(c.MU.FAIL,"fail")}},o=async(e,t)=>{let{eventName:i,listener:r}=t;try{return n.off(i,r),(0,c.Vp)()}catch(e){return(0,c.bG)(c.MU.FAIL,"fail")}};t("on",async(e,t)=>{let{params:i,cb:r}=t;try{if("string"==typeof i)return n.on(i,r),(0,c.Vp)();return n.on(i.eventName,r),(0,c.Vp)()}catch(e){return(0,c.bG)(c.MU.FAIL,"fail")}}),t("off",o),t("subscribeEvent",i),t("publishEvent",r),t("unSubscribeEvent",o),t("webcastBroadcast",r)},w=e=>{let{registerBridge:t}=e;t("live.closeProfile",(e,t)=>{try{return y.emit(y.EVENT.closeUserProfile),(0,c.Vp)()}catch(e){return(0,c.bG)(c.MU.FAIL)}})};n("374954");var S=n("709705"),I=e=>{let{store:t,registerBridge:n,JSB:i}=e,l=async(e,t)=>i.openScheme(e,{url:"sslocal://webcast_webview?type=popup&gravity=bottom&height_percent=75&web_bg_color=%23ff161823&url=https%3A%2F%2Flf-webcast-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fwebcast%2Fmono%2Fh5%2Fwebcast_personal_center%2Fpages%2Fspyman_detail.html%3Fshow_back_icon%3D1%26origin%3Dpersonal_center",_reset:!0});n("closeGiftWebView",(e,t)=>(y.emit(y.EVENT.LynxEffectPlayDone,{}),(0,c.Vp)())),n("dismissGiftPanel",(e,t)=>(0,c.Vp)({})),n("captureAssemblyGift",(e,t)=>{let{pluginList:n,giftId:i,mainTitle:l,imageUrl:a,price:d,subTitle:s}=t,_={giftId:i,mainTitle:l,imageUrl:a,price:d,subTitle:s,pluginList:null==n?void 0:n.map(e=>({plugin_id:e.pluginId}))},v=(0,S.$o)(u.LocalStorageKeys.LiveRecentSendGift)||{},f=(null==v?void 0:v[i])||[];f.push(_);let p=f.slice(-3);return(0,S.qQ)(u.LocalStorageKeys.LiveRecentSendGift,(0,o._)((0,r._)({},v),{[i]:p})),y.emit(y.EVENT.UpdateRecentSendGift,_),(0,c.Vp)()}),n("openMysteryLandPage",l),n("getAssetsPath",(e,n)=>{let{giftStore:{effectList:i}}=t,{assets_ids:r}=n,o={};try{r.forEach(e=>{let t=i.find(t=>t.id===e);o[e]={code:2,path:null==t?void 0:t.src}});return(0,c.Vp)({data:{data:{assetsPath:o}}})}catch(e){return(0,c.bG)(c.MU.FAIL)}})},x=n("795233"),k=n.n(x),L=n("361248"),C=n("95141");let P={};var N=e=>{let{store:t,registerBridge:n}=e,i=async(e,n)=>{let{biz_id:i,type:l,extra:a}=n;if(!i||!l||!a)return(0,c.bG)(c.MU.FAIL,"fail");if("registerSEI"===l){let e;let{diff:n={}}=a,{setSeiDiffKey:i,newSeiContent:l={}}=t.linkmicStore;i(n);try{e=(0,o._)((0,r._)({},l),{app_data:l.app_data?JSON.parse(l.app_data):{}})}catch(t){e={}}return(0,c.Vp)({data:e})}return(0,c.bG)(c.MU.FAIL,"fail")},l=async(e,n)=>{let{biz_id:i,type:l,extra:a}=n;if(!i||!l||!a)return(0,c.bG)(c.MU.FAIL,"fail");switch(l){case"openRankList":let{user:u={}}=a,{linkmicStore:d={}}=t,{setRankParam:s=k(),setRankListShow:_=k()}=d;return s({teamfight_id:void 0,user:(0,o._)((0,r._)({},u),{id_str:(null==u?void 0:u.user_id)||"",avatar_medium:{url_list:(null==u?void 0:u.avatar_medium_url)?[null==u?void 0:u.avatar_medium_url]:[]},avatar_thumb:{url_list:(null==u?void 0:u.avatar_thumb_url)?[null==u?void 0:u.avatar_thumb_url]:[]}}),isGuestContribution:!0}),_(!0),(0,c.Vp)();case"openSeatInfoList":let{linkmicStore:v={}}=t,{setSeatInfoParam:f=k(),setSeatInfoListShow:p=k()}=v;return f({extra:a}),p(!0),(0,c.Vp)();case"openSprintChallengeRule":let{linkmicStore:g={}}=t,{setRankParam:m=k(),setRankListShow:h=k()}=g;return m({openRulePage:!0,ruleType:L.SV.SprintChallengeRules,ruleHeaderTitle:C._4,ruleRankType:L.cP.CONTRIBUTOR}),h(!0),(0,c.Vp)();case"openUserProfile":case"applyLinkmic":case"openUserMenu":return y.emit(y.EVENT.linkmicWebAction,{type:l,extra:a}),(0,c.Vp)();default:return(0,c.bG)(c.MU.FAIL,"fail")}},a=async(e,n)=>{let{wrdsKey:i="",wrdsSubKey:r=""}=n;if(!i)return(0,c.bG)(c.MU.FAIL,"fail");let{wrdsData:o={}}=(null==t?void 0:t.singletonStore)||{},l=i;r&&(l=`${i}.${r}`);let{[l]:a}=o||{},u="";try{u=a?JSON.stringify(a):""}catch(e){u=""}return(0,c.Vp)({data:{wrdsData:u}})};n("getLinkmicStatus",async(e,n)=>{let{biz_id:i,type:l,extra:a}=n;if(!i||!l||!a)return(0,c.bG)(c.MU.FAIL,"fail");switch(l){case"common_get_data":let{key:u}=a;return(0,c.Vp)({data:{value:v()(P,u)}});case"latestSEI":var d;let{keys:s=[]}=a,_=(null==t?void 0:null===(d=t.linkmicStore)||void 0===d?void 0:d.newSeiContent)||{};return(0,c.Vp)({data:s.reduce((e,t)=>(0,o._)((0,r._)({},e),{[t]:v()(_,t)}),{})});default:return(0,c.bG)(c.MU.FAIL,"fail")}}),n("updateLinkmicStatus",i),n("linkmicWebAction",l),n("getLatestWRDSData",a)},E=n("396868"),F=n("263386"),A=n("514873"),U=n("15155"),R=n("656671"),O=n("384560"),G=n("519403"),j=e=>{let{store:t,registerBridge:n}=e;n("sendProps",async(e,n)=>{let{propID:i,count:l,gift_source:a}=n;try{var u,d,s,_;let{userStore:{userInfo:e},roomStore:{roomInfo:n},giftStore:{giftList:v,effectList:f,giftPanelShowFrom:p,setGiftMessages:g},linkmicStore:{choosePeopleArr:m,useChoosePeopleFunc:h},eventStore:{giftEvent:y}}=t,b=(null==e?void 0:e.id_str)||(null==e?void 0:e.sec_uid)||(null==e?void 0:e.short_id),w=null==n?void 0:n.roomId,S=null==n?void 0:null===(u=n.anchor)||void 0===u?void 0:u.id_str,I=!h||(null==m?void 0:m.join(""))===S,x=I?S:null==m?void 0:m[0];if(!b)return E.F.info("请先登录"),(0,c.bG)(c.MU.FAIL);let k=await F.E({count:l,room_id:w,to_room_id:w,to_uid:x,prop_def_id:i,send_prop_scene:I?U.Az.NORMAL:U.Az.LINK}),L=null==k?void 0:null===(d=k.data)||void 0===d?void 0:d.status_code,C=null==k?void 0:null===(s=k.data)||void 0===s?void 0:s.data;if(0!==L)return E.F.info((null==C?void 0:C.prompts)||"赠送道具失败,请稍后重试"),(0,c.bG)(c.MU.FAIL);{let n=(0,A.mS)(null==C?void 0:C.gift_id,v),u=(0,A.mL)(C,v,f,e,l);return g(u),null==y||null===(_=y.liveGiftSendEvent)||void 0===_||_.call(y,{gift_id:null==C?void 0:C.gift_id,combo_cnt:null==C?void 0:C.combo_count,group_cnt:null==C?void 0:C.group_count,gift_source:R._W.GIFT_BAG,money_per_unit:n.price,gift_cnt:l,money:l*n.price,is_fans_club_gift:(0,O.dU)(null==C?void 0:C.gift_id)?"1":"0",to_user_id:String(S),full_seats_cnt:1,is_from_container:0,gift_show_from:p,pageType:R.kQ.PROP,tab_name:R.BS[R.kQ.PROP]||R.kQ.PROP}),window.collectEvent("livesdk_send_prop",(0,o._)((0,r._)({},(0,G.Kj)(t)),{prop_id:i,gift_id:null==C?void 0:C.gift_id,gift_source:a})),(0,c.Vp)()}}catch(e){return(0,c.bG)(c.MU.FAIL)}})},T=e=>{let{store:t,registerBridge:n}=e;n("openVipEmojiPanel",()=>{try{var e,n;return null==t||null===(n=t.vipStore)||void 0===n||null===(e=n.emojiPanelRef)||void 0===e||e.show("vipEmoji"),(0,c.Vp)({})}catch(e){return(0,c.bG)(c.MU.FAIL)}})},M=n("174207"),V=e=>{let{store:t,registerBridge:n}=e;n("sendRedEnvelopSuccess",async()=>{try{let{userStore:i}=t,{userInfo:r}=i;if(!((null==r?void 0:r.user_id_str)||(null==r?void 0:r.sec_uid)||(null==r?void 0:r.short_id)))return(0,c.bG)(c.MU.FAIL);let{data:o}=await M.sb({}),l=v()(o,"status_code");if(0!==l)return(0,c.bG)(c.MU.FAIL);{var e,n;let i=M.Jh(v()(o,"data"));return null==t||null===(n=t.giftStore)||void 0===n||null===(e=n.setBalance)||void 0===e||e.call(n,i),(0,c.Vp)()}}catch(e){return(0,c.bG)(c.MU.FAIL)}})},$=n("5784"),D=n.n($),B=e=>{let{registerBridge:t,store:n}=e;t("__getCurrentState",async(e,t)=>{var i,r,o,l,a;let{keys:u}=t,d={};if(!u||0===u.length)return(0,c.bG)(c.MU.FAIL,"fail");let s=(null==n?void 0:null===(i=n.activityIndicatorStore)||void 0===i?void 0:i.currentLandPage)||[],_={abTestData:null===(r=window)||void 0===r?void 0:r.abTestData,current_room:null==n?void 0:null===(l=n.roomStore)||void 0===l?void 0:null===(o=l.roomInfo)||void 0===o?void 0:o.room,current_user:null==n?void 0:null===(a=n.userStore)||void 0===a?void 0:a.userInfo,current_page:s[s.length-1]};return u.forEach(e=>{let t=v()(_,e);void 0!==t&&D()(d,e,t)}),(0,c.Vp)(d)})},J=e=>{let{registerBridge:t}=e;t("updateWalletInfo",(e,t)=>{try{return M.sb({}),(0,c.Vp)()}catch(e){return(0,c.bG)(c.MU.FAIL)}})};n("683656");var q=n("973314"),K=e=>{let{store:t,registerBridge:n}=e;n("x.request",async(e,n)=>{let{data:i,params:l,headers:a,url:u="",method:s="GET",header:_,body:f}=n;try{let e=(0,G.Kj)(t)||{},n=(0,r._)({},l);Object.keys(n).forEach(e=>{(""===n[e]||void 0===n[e])&&delete n[e]});let{version_code:m,version_name:h}=(0,d.gn)(),y=(0,o._)((0,r._)({},e,n),{aid:6383,version_code:m,update_version_code:m,version_name:h,platform:"PC",pc_client_type:(0,d.ub)()}),b=await (0,q.IZ)({url:u.replace(/^https?:\/\/[^/]+/,""),method:s,headers:a||_,data:i||f,params:y});if(u.indexOf("/webcast/gift/exhibition/home/")>0){let e=null==t?void 0:t.roomStore,n=v()(e,"roomInfo.anchor.id_str"),i=v()(e,"roomInfo.anchor.nickname","");if((null==l?void 0:l.anchor_id)===n&&(null==l?void 0:l.target_open_id)===n&&i){var p,g;(null==b?void 0:null===(g=b.data)||void 0===g?void 0:null===(p=g.data)||void 0===p?void 0:p.anchor_name)&&(b.data.data.anchor_name=i)}}return(0,c.Vp)({data:{raw:null==b?void 0:b.data},response:null==b?void 0:b.data},"success")}catch(e){return(0,c.bG)(c.MU.FAIL,"fail")}})};let Z={},W=e=>{let t={store:e,registerBridge:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.H5.PUBLIC;(0,c.Z1)(e,t,n),Z[e]=t},type:"anniex",JSB:Z};for(let e in m)m[e](t);b(t),w(t),I(t),N(t),j(t),V(t),B(t),J(t),K(t),T(t)};var z={live:1,1:"live"};(0,c.$l)(!0);class Q{initSdk(){var e;let t=null===(e=this._store)||void 0===e?void 0:e.userStore,n=v()(t,"userInfo.id_str");(0,c.S1)({injection:{user:{hasLogin:()=>void 0!==n,login:()=>Promise.resolve(),logout:()=>Promise.resolve(),getUserInfo:()=>{var e;let{id_str:n,sec_uid:i,nickname:r,avatar_large:o,telephone:l,short_id:a}=v()(t,"userInfo",{});return{userId:n,secUid:i,uniqueId:"",nickname:r,avatarURL:null==o?void 0:null===(e=o.url_list)||void 0===e?void 0:e[0],boundPhone:l,shortId:a?String(a):""}}},appInfo:()=>{var e,n;return{appID:"6383",appName:"douyin_pc",appVersion:null!==(e=window.version)&&void 0!==e?e:"unknown",appLang:null!==(n=navigator.language)&&void 0!==n?n:"unknown",deviceID:v()(t,"odin.user_unique_id",""),channel:"douyin_pc",isTeenMode:!1,appTheme:(0,l.Dr)(a.Q.getItem({sKey:u.CookieKeys.Theme})),updateVersionCode:"0.0.1",screenWidth:374,isClient:(0,d.DT)()}}},extraGlobalProps:e=>{let t=new URL(e).searchParams.get("settings_keys"),n=null;return t&&(n=t.split(",").reduce((e,t)=>{var n;return e[t]=null===(n=this._clientSetting)||void 0===n?void 0:n[t],e},{})),(0,r._)({os:"Web",device_platform:"web"},n?{settings:n}:{})},options:{slardar:{bid:"anniex_web_webcast"}}})}getUrlParams(e){let t={};try{let n=g.parse(e.split("?")[1]);Object.assign(t,n)}catch(e){}return t}appendCommonParams(e,t,n){let i=decodeURIComponent(e).split("?"),r=this.getUrlParams(decodeURIComponent(e)),o=g.stringify(Object.assign(r,t,n));return`${i[0]}?${o}`}getInitData(e){return this._initData.get(e)}openLandPage(e){var t,n,i,l,a,u,d,s,c;let _,{url:v,extraParams:f,reset:m=!1,initData:h={},noReset:y=!1}=e,b=(0,G.Kj)(this._store);if(-1!==v.indexOf("sslocal://")){let e=v.split("?");if(-1!==e[0].indexOf("webview")){let t=g.parse(e[1]),{url:n}=t;_=this.appendCommonParams(n,b,(0,r._)((0,o._)((0,r._)({},p()(t,["url"])),{__isDouyinPC:"true"}),f||{}))}else{let t=g.parse(e[1]),{url:n}=t,i=this.appendCommonParams(n,b,(0,r._)({__isDouyinPC:"true"},f||{}));t.url=i;let o=b;t.global_props&&(o=Object.assign({},JSON.parse(t.global_props||"{}"),o)),t.global_props=JSON.stringify(o),_=`${e[0]}?${g.stringify(t)}`}}else _=this.appendCommonParams(v,b,(0,r._)({__isDouyinPC:"true"},f||{}));let w=null===(t=this._store)||void 0===t?void 0:t.activityIndicatorStore.currentLandPage.indexOf(_);if(w>=0){let e=[...(null===(i=this._store)||void 0===i?void 0:null===(n=i.activityIndicatorStore)||void 0===n?void 0:n.currentLandPage)||[]];e.splice(w,1),null===(a=this._store)||void 0===a||null===(l=a.activityIndicatorStore)||void 0===l||l.setCurrentLandPage(e,!1)}else m?null===(u=this._store)||void 0===u||u.activityIndicatorStore.setCurrentLandPage([_],!0):null===(c=this._store)||void 0===c||c.activityIndicatorStore.setCurrentLandPage([...(null===(s=this._store)||void 0===s?void 0:null===(d=s.activityIndicatorStore)||void 0===d?void 0:d.currentLandPage)||[],_],y),this._initData.set(_,h)}isSupportLynx(){return(0,s.i)()}getLynxViewSchema(e){let t=encodeURIComponent(e);return`sslocal://lynxview?url=${t}&type=popup&gravity=bottom&height_percent=75&web_bg_color=ff060a19&radius=23&radius_bottom_right=0&radius_bottom_left=0&enable_preload=all&add_safe_area_height=0&use_wk_falcon=2`}static reset(){let e=Object.keys(Z);e.length&&e.forEach(e=>{(0,c.ln)(e),delete Z[e]})}static broadcastEvent(e,t){(0,c.broadcastEvent)(e,t)}constructor(e,t=""){(0,i._)(this,"_store",null),(0,i._)(this,"_roomId",""),(0,i._)(this,"_initData",new Map),(0,i._)(this,"_clientSetting",null),(0,i._)(this,"getClientSetting",async()=>{this._clientSetting=await (0,G.FJ)()}),this._store=e,this._roomId=t,this.initSdk(),W(this._store),this.getClientSetting()}}},980660:function(e,t,n){"use strict";n.r(t),n.d(t,{injectBaseInfo:function(){return w},injectGift:function(){return j},injectStorage:function(){return ek},injectToast:function(){return eL},injectGetPrefetchData:function(){return V},injectFetch:function(){return E},injectPaidLive:function(){return ec},injectLog:function(){return D},injectClose:function(){return S},injectSetting:function(){return eI},injectLogin:function(){return q},injectOpen:function(){return ed},injectUserAction:function(){return eE},injectTriggerPrefetch:function(){return eC},injectRecharge:function(){return ew}});var i=n("841434"),r=n("198412"),o=n.n(r),l=n("795653"),a=n("855500"),u=n("618759"),d=n("810069"),s=n("409250"),c=n("426038"),_=n("823470"),v=n("670183"),f=n("771718"),p=n("500371"),g=n("212893"),m=n("365190"),h=n("759398"),y=n("402824"),b=n("548892"),w=e=>{let{store:t,registerBridge:n}=e,r=async(e,n)=>{try{var r,o,_,v,f,p,g,m;let{userStore:{odin:e}}=null!=t?t:{userStore:{}},{os:n,version:h}=(0,l.fV)(),{device_brand:y,device_model:b,device_type:w}=(0,a.a)();return(0,i.Vp)({aid:"6383",user_id:null==e?void 0:e.user_id,device_id:null==e?void 0:e.user_unique_id,is_mas:!!(0,u.xo)(),appID:"6383",osPlatform:n,osArch:"undefined"==typeof window?"":null!==(f=null===(o=window)||void 0===o?void 0:null===(r=o.TTE_ENV)||void 0===r?void 0:r.arch)&&void 0!==f?f:"",appName:"douyin_pc",appVersion:null!==(p=null===(_=window)||void 0===_?void 0:_.version)&&void 0!==p?p:"unknown",appLang:null!==(g=navigator.language)&&void 0!==g?g:"unknown",channel:"douyin_pc",isTeenMode:!1,deviceID:null!==(m=null===(v=(0,d.Es)())||void 0===v?void 0:v.user_unique_id)&&void 0!==m?m:"",appTheme:s.Q.getItem({sKey:c.CookieKeys.Theme}),updateVersionCode:"0.0.1",screenWidth:374,osVersion:h,deviceBrand:y,deviceModel:b,deviceType:w,isClient:(0,u.DT)()})}catch(e){return(0,i.bG)(i.MU.FAIL)}},w=async(e,n)=>{try{let{roomStore:e}=t;return(0,i.Vp)({anchor_info:{nickname:o()(e,"roomInfo.anchor.nickname","")}})}catch(n){let{roomStore:e}=t;return(0,i.bG)(i.MU.FAIL,"",{anchor_info:{nickname:o()(e,"roomInfo.anchor.nickname","")}})}},S=async(e,n)=>{var r,o,l,a,u;let{userStore:{userInfo:d},roomStore:{roomInfo:s}}=t,c={avatar:null==d?void 0:null===(o=d.avatar_large)||void 0===o?void 0:null===(r=o.url_list)||void 0===r?void 0:r[0],nickname:null==d?void 0:d.nickname,sec_user_id:null==d?void 0:d.sec_uid,short_id:null==d?void 0:d.short_id,user_id:null==d?void 0:d.user_id_str,user_level:null==d?void 0:d.level,user_type:"",display_id:null==d?void 0:d.display_id},{anchor:_}=s,v={avatar:null==_?void 0:null===(a=_.avatar_thumb)||void 0===a?void 0:null===(l=a.url_list)||void 0===l?void 0:l[0],nickname:null==_?void 0:_.nickname,short_id:null==_?void 0:_.id_str,user_id:null==_?void 0:_.id_str,sec_user_id:null==_?void 0:_.sec_uid,anchor_level:void 0,anchor_type:void 0,display_id:void 0},f={room_id:null==s?void 0:s.roomId,room_layout:1,is_paidlive:!1,live_room_mode:(null==s?void 0:null===(u=s.room)||void 0===u?void 0:u.live_room_mode)||"0",game_points_playing:2,quiz_game_points_playing:2,is_life:!1};return(0,i.Vp)({user_info:c,room_info:f,anchor_info:v,__data:{user_info:c,room_info:f,anchor_info:v}})},I=async(e,n)=>{try{var r,o,l,a;let{userStore:e}=t,{userInfo:n,odin:u}=e,d={userInfo:{userID:null==n?void 0:n.user_id_str,nickName:null==n?void 0:n.nickname,avatarURL:null==n?void 0:null===(o=n.avatar_large)||void 0===o?void 0:null===(r=o.url_list)||void 0===r?void 0:r[0],secUserID:null==n?void 0:n.sec_uid,shortID:null==n?void 0:n.short_id},user_id:null==u?void 0:u.user_id,short_id:null==n?void 0:n.short_id,sec_user_id:null==n?void 0:n.sec_uid,nickname:null==n?void 0:n.nickname,avatar:null==n?void 0:null===(a=n.avatar_large)||void 0===a?void 0:null===(l=a.url_list)||void 0===l?void 0:l[0],is_silent:void 0,douyin_uid:null==n?void 0:n.short_id,is_login:null==u?void 0:u.user_is_login};if((null==u?void 0:u.user_is_login)===1)return(0,i.Vp)(d);return(0,i.bG)(i.MU.FAIL,"fail",d)}catch(e){return(0,i.bG)(i.MU.FAIL,"fail",{userInfo:{userID:""}})}},x=async(e,n)=>{try{var r,o;let{userStore:e}=t,{userInfo:n}=e,l=(null==n?void 0:n.id_str)||(null==n?void 0:n.sec_uid)||(null==n?void 0:n.short_id),a={isLogin:!!l,is_login:!!l,userInfo:{userID:null==n?void 0:n.id_str,nickName:null==n?void 0:n.nickname,avatarURL:null==n?void 0:null===(o=n.avatar_large)||void 0===o?void 0:null===(r=o.url_list)||void 0===r?void 0:r[0],secUserID:null==n?void 0:n.sec_uid,shortID:null==n?void 0:n.short_id}};if(l)return(0,i.Vp)(a);return(0,i.bG)(i.MU.FAIL,"fail",a)}catch(e){return(0,i.bG)(i.MU.FAIL,"fail",{userInfo:{userID:""}})}};n("getAppInfo",r),n("x.getAppInfo",r),n("getBaseInfo",w),n("baseInfo",S),n("userInfo",I),n("getUserInfo",x),n("x.getUserInfo",x),n(_.w.CopyToClipboard,v.v),n(_.w.OpenImagePreviewViewer,f.HO),n(_.w.GamecpPreviewImages,f.d6),n(_.w.OpenExternalBrowser,p.Q),n(_.w.CreateBigGameWindow,g.q_),n(_.w.DestroyBigGameWindow,g.FS),n(_.w.GetCookies,m.$),n(_.w.SubBizBroadcastEvent,h.X),n(_.w.WindowOpen,y.M),n(_.w.downloadFile,b.Sv),n(_.w.cancelDownloadFile,b.qP),n(_.w.getDownloadFileIsExist,b.ev),n(_.w.openDownloadFile,b.Kp),n(_.w.pauseDownloadFile,b.VV),n(_.w.resumeDownloadFile,b.wC),n(_.w.getDownloadFileStatus,b.ae)},S=e=>{let{store:t,registerBridge:n,type:r}=e,o=(e,n)=>{let{url:o}=n,l=o;if(!l&&"anniex"===r){var a;l=(null==e?void 0:null===(a=e.globalProps)||void 0===a?void 0:a.originUrl)||""}let{activityIndicatorStore:{closeLandPage:u}}=t;return u(l),(0,i.Vp)()};n("close",o),n("x.close",o)},I=n("629686"),x=n("402748");n("683656"),n("759943");var k=n("973314"),L=n("519403"),C=n("764283"),P=n("687581"),N=n("578777"),E=e=>{let{store:t,registerBridge:n,type:r}=e;n("fetch",async(e,n)=>{let{data:l,params:a,headers:d,url:s="",method:c="GET",header:_,body:v}=n;try{var f,p,g;let e=(0,L.Kj)(t)||{},n=(0,I._)({},a);Object.keys(n).forEach(e=>{(""===n[e]||void 0===n[e])&&delete n[e]});let{version_code:m,version_name:h}=(0,u.gn)(),{os_name:y,os_version:b}=(0,N.f)(),w=(0,x._)((0,I._)({},l||{},e,n),{aid:6383,version_code:m,update_version_code:m,os_name:y,os_version:b,version_name:h,platform:"PC",pc_client_type:(0,u.ub)()}),S=await (0,k.IZ)({url:s.replace(/^https?:\/\/[^/]+/,""),method:c,headers:d||_,data:l||v,params:w});if("anniex"===r&&s.indexOf("/webcast/gift/exhibition/home/")>0){let e=null==t?void 0:t.roomStore,n=o()(e,"roomInfo.anchor.id_str"),i=o()(e,"roomInfo.anchor.nickname","");(null==a?void 0:a.anchor_id)===n&&(null==a?void 0:a.target_open_id)===n&&i&&(null==S?void 0:null===(g=S.data)||void 0===g?void 0:null===(p=g.data)||void 0===p?void 0:p.anchor_name)&&(S.data.data.anchor_name=i)}return C.kg.event(`[${P.Tn.Info}]${P.Mo.LiveJsbFetchRqSuccess}`,{statusCode:i.MU.SUCCESS,code:null==S?void 0:null===(f=S.data)||void 0===f?void 0:f.status_code,logId:null==S?void 0:S.logId,type:r,is_client:(0,u.DT)(),url:s.replace(/^https?:\/\/[^/]+/,"")}),(0,i.Vp)({data:{raw:null==S?void 0:S.data},raw:null==S?void 0:S.data},"success")}catch(e){return C.kg.event(`[${P.Tn.Error}]${P.Mo.LiveJsbFetchRqError}`,{statusCode:i.MU.FAIL,type:r,is_client:(0,u.DT)(),url:s.replace(/^https?:\/\/[^/]+/,""),data:e}),(0,i.bG)(i.MU.FAIL,"fail")}})};n("362051");var F=n("396868"),A=n("414061"),U=n("174207"),R=n("731343"),O=n("514873"),G=n("494857"),j=e=>{let{store:t,registerBridge:n,type:r,JSB:l}=e,a=async(e,n)=>{let{gift_id:a,gift_count:d,gift_source:s,args:c,gift_buff_level:_=0,to_user_id:v,send_type:f=4}=n;try{var p,g,m,h,y,b,w,S,k,L,N,E,R,G,j,T,M,V,$,D,B,J,q,K,Z,W,z,Q,H,Y,X,ee,et,en,ei,er,eo,el,ea,eu,ed;let n;let{userStore:{userInfo:es},roomStore:{roomInfo:ec},rechargeStore:{rechargeAuthStatus:e_},linkmicStore:{linkMicSeats:ev,useChoosePeopleFunc:ef,isGroupLive:ep}}=t;if(!d)return(0,i.bG)(i.MU.FAIL);let eg=v||o()(ec,"anchor.id_str"),em=o()(ec,"room.id_str");if(o()(es,"id_str")===eg)return F.F.info("不可为自己送礼"),(0,i.bG)(i.MU.FAIL);let eh=c?{plugin_id:JSON.stringify(c.plugin_id),plugin_info:JSON.stringify(c.plugin_info),toolbar_card_name:c.toolbar_card_name}:{},ey=null!==(G=null==c?void 0:c.extra)&&void 0!==G?G:void 0;if(!em)return(0,i.bG)(i.MU.FAIL);let eb=null===(g=Object.values(ev||{}))||void 0===g?void 0:null===(p=g.find)||void 0===p?void 0:p.call(g,e=>{var t,n;return(null==e?void 0:null===(n=e.user)||void 0===n?void 0:null===(t=n.user)||void 0===t?void 0:t.id_str)===eg}),ew={gift_id:a,count:d,room_id:em,to_room_id:(null==eb?void 0:null===(h=eb.user)||void 0===h?void 0:null===(m=h.user)||void 0===m?void 0:m.own_room_id)||em,to_user_id:eg,to_user_ids:"",send_type:f,send_scene:null===O.Rc||void 0===O.Rc?void 0:(0,O.Rc)({isGroupLive:ep,useChoosePeopleFunc:ef,anchorId:null==t?void 0:null===(w=t.roomStore)||void 0===w?void 0:null===(b=w.roomInfo)||void 0===b?void 0:null===(y=b.anchor)||void 0===y?void 0:y.id_str,linkMicSeats:ev,toUserId:eg}),gift_source:0};C.kg.event("activity_indicator_send_gift",(0,x._)((0,I._)({},ew),{is_client:(0,u.DT)()}));let eS=await (0,U.hF)((0,x._)((0,I._)((0,x._)((0,I._)({},ew),{buff_level:_,tags_extra:(e=>{try{return JSON.stringify(e)}catch(e){return JSON.stringify({})}})({gift_source:s,enter_from_merge:null!==(j=null===(k=window)||void 0===k?void 0:null===(S=k.__INVISIBLE_QUERY__)||void 0===S?void 0:S.enter_from_merge)&&void 0!==j?j:"",enter_method:null!==(T=null===(N=window)||void 0===N?void 0:null===(L=N.__INVISIBLE_QUERY__)||void 0===L?void 0:L.enter_method)&&void 0!==T?T:""}),to_episode_id:o()(ec,"room.episode_extra.episode_id_str",0)||0}),eh),{extra:ey}));try{let e=(null==eS?void 0:null===(M=eS.data)||void 0===M?void 0:M.data.diy_item_info)||"{}";n=JSON.parse(e)}catch(e){}let eI=null==eS?void 0:null===(E=eS.data)||void 0===E?void 0:E.status_code,ex=await U.sb({});if(0===eI){let i=o()(t,"giftStore.giftList",[]),r=o()(t,"giftStore.effectList",[]),c=(0,O.mL)(o()(eS.data,"data"),i,r,es,n,d);null==t||null===($=t.giftStore)||void 0===$||null===(V=$.setGiftMessages)||void 0===V||V.call($,c);let{data:_,logId:v}=ex,f=o()(_,"status_code");if(0===f){let e=U.Jh(o()(_,"data"));null==t||null===(Z=t.giftStore)||void 0===Z||null===(K=Z.setBalance)||void 0===K||K.call(Z,e)}else C.kg.event(`[${P.Tn.Error}]${P.Mo.LiveBalanceError}`,(0,I._)({statusCode:f,logId:null!=v?v:"",is_client:(0,u.DT)()},_)),F.F.info(o()(_,"data.prompts","获取余额失败,请稍后重试")),C.kg.error("获取余额失败",_,v);l.publishEvent(e,{eventName:"H5_sendGiftStatusChange",params:{gift_list:[{gift_id:Number(a),count:d}]}}),null==t||null===(B=t.eventStore)||void 0===B||null===(D=B.giftEvent)||void 0===D||D.liveGiftSendEvent({gift_id:a,combo_cnt:o()(eS.data,"data.combo_count"),group_cnt:o()(eS.data,"data.group_count"),gift_source:s,money_per_unit:o()(eS.data,"data.gift_struct.diamond_count"),gift_cnt:d,money:d*o()(eS.data,"data.gift_struct.diamond_count"),is_fans_club_gift:"0",to_user_id:o()(ec,"anchor.id_str"),full_seats_cnt:1,is_from_container:0}),null==t||null===(q=t.eventStore)||void 0===q||null===(J=q.giftEvent)||void 0===J||J.liveConsumeEvent({statusCode:eI,amount:d*o()(eS.data,"data.gift_struct.diamond_count"),is_client:(0,u.DT)(),type:"gift_send"})}else if(C.kg.event(`[${P.Tn.Error}]${P.Mo.LiveGiftSendCodeNotZero}`,(0,I._)({statusCode:eI,logId:null!==(W=null==eS?void 0:eS.logId)&&void 0!==W?W:"",is_client:(0,u.DT)()},null==eS?void 0:eS.data)),20003===eI)await (0,O.m8)("登录后即可送礼","live_gift");else if(40001===eI){if(!e_)return(0,i.Vp)({error_code:null==eS?void 0:null===(ee=eS.data)||void 0===ee?void 0:ee.status_code});let e=(null==t?void 0:null===(H=t.giftStore)||void 0===H?void 0:null===(Q=H.giftList)||void 0===Q?void 0:null===(z=Q.find(e=>Number(e.id)===Number(a)))||void 0===z?void 0:z.price)||0;null==t||null===(X=t.giftStore)||void 0===X||null===(Y=X.handleRecharge)||void 0===Y||Y.call(X,{type:"balance",balance:e-t.giftStore.balance,amount:e})}else 42201===eI?F.F.info("为保障账号和资金安全,请先前往抖音app完成身份验证"):42202===eI?F.F.info("为保障账号和资金安全,请先前往抖音app完成身份核对"):(F.F.info((null==eS?void 0:null===(en=eS.data)||void 0===en?void 0:null===(et=en.data)||void 0===et?void 0:et.prompts)||"送礼失败,请稍后重试"),C.kg.event(`[${P.Tn.Error}]${P.Mo.LiveSendGiftError}`,(0,I._)({statusCode:eI,logId:null!==(ei=null==eS?void 0:eS.logId)&&void 0!==ei?ei:"",is_client:(0,u.DT)()},null==eS?void 0:eS.data)));if((null==eS?void 0:null===(R=eS.data)||void 0===R?void 0:R.status_code)===40001)return F.F.info("余额不足,请充值后再试"),(0,i.Vp)({error_code:null==eS?void 0:null===(er=eS.data)||void 0===er?void 0:er.status_code});if("anniex"===r){let n=(null===(eu=e.globalProps)||void 0===eu?void 0:eu.resolvedUrl)||"";t.linkmicStore.isGroupLive&&n.indexOf("compete_card_pc.json")>0&&v&&(t.linkmicStore.setChoosePeopleArr([v]),A.emit(A.EVENT.selectGroupLiveAnchor,[v]))}return(0,i.Vp)({error_code:null==eS?void 0:null===(eo=eS.data)||void 0===eo?void 0:eo.status_code,error_msg:null!==(ed=null==eS?void 0:null===(ea=eS.data)||void 0===ea?void 0:null===(el=ea.data)||void 0===el?void 0:el.prompts)&&void 0!==ed?ed:""})}catch(e){return(0,i.bG)(i.MU.FAIL)}},d=()=>{var e;let{choosePeopleList:n,isGroupLive:i}=t.linkmicStore,{roomInfo:r}=t.roomStore,o=null==t?void 0:null===(e=t.linkmicStore)||void 0===e?void 0:e.allowSendGiftGuest;return Object.values(n).filter(e=>{var t,n,l;return!!o||!!i||(null===(n=e.user)||void 0===n?void 0:null===(t=n.user)||void 0===t?void 0:t.id_str)===(null==r?void 0:null===(l=r.anchor)||void 0===l?void 0:l.id_str)})},s=async(e,n)=>{try{var r,o,l,a;let e=String((null==n?void 0:n.user_id)||""),u=!!(null==n?void 0:n.is_group_live);if(!e)return(0,i.bG)(i.MU.FAIL,"invalid user_id");if(!d().some(t=>{var n,i;return String((null===(i=t.user)||void 0===i?void 0:null===(n=i.user)||void 0===n?void 0:n.id_str)||"")===e}))return(0,i.bG)(i.MU.FAIL,"user_id not in gift guest list");return null===(o=t.linkmicStore)||void 0===o||null===(r=o.setChoosePeopleAll)||void 0===r||r.call(o,!1),null===(a=t.linkmicStore)||void 0===a||null===(l=a.setChoosePeopleArr)||void 0===l||l.call(a,[e]),u&&A.emit(A.EVENT.selectGroupLiveAnchor,[e]),(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL)}};n("sendGift",a),n("getGiftGuestListData",(e,n)=>{try{var r,o,l;let{choosePeopleList:e,choosePeopleArr:n,choosePeopleAll:a,linkStatus:u}=t.linkmicStore,{roomInfo:s}=t.roomStore,c=d().map(e=>{var t,n,i,r,o,l,a,u;let d="0";(null===(n=e.user)||void 0===n?void 0:null===(t=n.content)||void 0===t?void 0:t.linkmic_audience_content)?d=e.user.content.linkmic_audience_content.fan_ticket_fuzzy_str||"0":(null===(r=e.user)||void 0===r?void 0:null===(i=r.content)||void 0===i?void 0:i.linkmic_content)&&(d=e.user.content.linkmic_content.fan_ticket||"0");let c=4;return String(null===(l=e.user)||void 0===l?void 0:null===(o=l.user)||void 0===o?void 0:o.id_str)===String(null==s?void 0:null===(a=s.anchor)||void 0===a?void 0:a.id_str)&&(c=2),{count:d,identifier:c,user:JSON.stringify(null===(u=e.user)||void 0===u?void 0:u.user)}});if(u===G.cK.NOT_LINK)return(0,i.Vp)({data:{is_all_mic:!1,enable_all_mic:!1,current_user:null==s?void 0:null===(l=s.anchor)||void 0===l?void 0:l.id_str,current_user_list:(0,R.toJS)(n),guest_list:JSON.stringify(c),connection_type:""}});let _=Object.values(e),v={is_all_mic:a,enable_all_mic:a,current_user:(null==_?void 0:null===(o=_[0].user)||void 0===o?void 0:null===(r=o.user)||void 0===r?void 0:r.id_str)||"",current_user_list:(0,R.toJS)(n),guest_list:JSON.stringify(c),connection_type:""};return(0,i.Vp)({data:v})}catch(e){return(0,i.bG)(i.MU.FAIL)}}),n("changeGiftReceiver",s)},T=n("62575"),M=n("135268"),V=e=>{let{registerBridge:t}=e;t("getPrefetchData",(e,t)=>{try{let{namespace:e,id:n}=t||{};if(!(0,T.c)(e)||!n)return(0,i.bG)(i.MU.FAIL);let r=M.gS.getJsbSnapshot(e,n);if(!r)return(0,i.bG)(i.MU.FAIL);return(0,i.Vp)(r,"success")}catch(e){return(0,i.bG)(i.MU.FAIL)}})},$=n("142689"),D=e=>{let{store:t,registerBridge:n}=e,r=async(e,n)=>{let{eventName:r,params:o}=n;try{if("livesdk_live_banner_click"===r){var l,a,u;let e=window.__STORE__;null==e||null===(u=e.eventStore)||void 0===u||null===(a=u.playerEvent)||void 0===a||null===(l=a.livesdkActivityBannerIndicatorClick)||void 0===l||l.call(a,{activity_id:null==o?void 0:o.banner_id})}return window.collectEvent(r,(0,I._)({},(0,$.m6)(),(0,L.Kj)(t),o)),(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL,"fail")}};n("sendLogV3",r),n("sendLog",r)},B=n("598659");let J=()=>!1;var q=e=>{let{store:t,registerBridge:n}=e,r=async(e,t)=>{try{return(0,B.p)().then(e=>{var n,i;e((0,I._)({headerText:"登录后即可参与互动",success:async()=>{!J()&&window.location.reload()},next:`https://${null===(i=window)||void 0===i?void 0:null===(n=i.location)||void 0===n?void 0:n.host}`,enterMethod:""},t))}),(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL)}};n("login",async(e,n)=>{let{userStore:o}=t,{userInfo:l}=o;if((null==l?void 0:l.user_id_str)||(null==l?void 0:l.sec_uid)||(null==l?void 0:l.short_id))return(0,i.Vp)({status:0});{let t=await r(e,{});return{code:t.code,data:{status:t.code===i.MU.SUCCESS?1:2},msg:""}}}),n("openLoginPanel",r)};n("679308"),n("968336"),n("490629"),n("228983"),n("706056");var K=n("643587"),Z=n("37537"),W=n("269196"),z=n("121998"),Q=n("320165");n("101199");var H=n("890710"),Y=n("901393"),X=n("556351"),ee="k3xgUI9H",et="VW90XXkw",en="_b48hMXd",ei="ljZtapTZ";let er=e=>{let{title:t,content:n,confirmBtnText:i="确定",closeBtnText:r="取消",onConfirm:o,onClose:l,showCancel:a=!0}=e;return(0,Q.jsx)(X.Z,{visible:!0,className:ei,title:t,onCancel:l,children:(0,Q.jsxs)("div",{className:ee,children:[(0,Q.jsx)("div",{className:et,children:n}),(0,Q.jsxs)("div",{className:en,children:[a&&(0,Q.jsx)(Y.zx,{onClick:()=>{l&&l()},children:r}),(0,Q.jsx)(Y.zx,{onClick:()=>{o&&o()},children:i})]})]})})},eo=function(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{elementClass:i="confirm-modal"}=n,r=()=>{e&&t&&(t.classList.remove(i),H.unmountComponentAtNode(t),e.removeChild(t),e.style.overflow="")};return{showModal:function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{title:o,content:l,confirmBtnText:a,closeBtnText:u,onConfirm:d,onClose:s}=n,c=async()=>{d&&await d(),r()},_=async()=>{s&&await s(),r()};!(t=(e=document.fullscreenElement||document.body).querySelector(`.${i}`))&&((t=document.createElement("div")).classList.add(i),e.appendChild(t),e.style.overflow="hidden",H.render((0,Q.jsx)(er,{title:o,content:l,confirmBtnText:a,closeBtnText:u,onConfirm:c,onClose:_}),t))},destroyModal:r}};var el=n("656671"),ea=n("983891"),eu=n("597100"),ed=e=>{let{store:t,registerBridge:n,JSB:r,type:o}=e,l=(0,eu.ZP)().LINK_PREFIX||`https://${(0,eu.ZP)().DOMAIN}`,a=(e,t)=>{let{title:n,cancelText:r,confirmText:o,content:l,showCancel:a=!0}=t,{showModal:u}=eo({});return new Promise(e=>{u({title:n,content:l,confirmBtnText:o,closeBtnText:r,onConfirm:()=>{e((0,i.Vp)({cancel:!1,confirm:!0}))},onClose:()=>{e((0,i.Vp)({cancel:!0,confirm:!1}))},showCancel:a})})},u=async(e,n)=>{let{url:r,_reset:o=!1,_noReset:l=!1,forceCover:a=!1}=n;try{var u,d;let n=await (0,L.L7)(r);if(!n)return F.F.info("打开失败,请重试"),"boolean"==typeof n?(0,K.PO)({status:"1",statusCode:Z.P.Failed,url:r}):(0,K.PO)({status:"2",statusCode:Z.P.Failed,url:r}),(0,i.bG)(i.MU.FAIL);if((0,K.PO)({statusCode:Z.P.Success,status:"0",url:n}),n.startsWith("sslocal://webcast_profile")){let[,t=""]=n.split("?"),i=z.parse(t);return c(e,{type:"profile",click_type:"",gift_log_extra:{gift_source:""},args:{user_id:String(i.user_id||""),sec_user_id:String(i.sec_user_id||i.sec_uid||""),webcast_uid:String(i.webcast_uid||""),source:String(i.report_type_for_log||i.source||""),mystery_man:i.mystery_man?String(i.mystery_man):void 0,skip_privacy_check:["1","true"].includes(String(i.skip_privacy_check||"").toLowerCase())}})}return null==t||null===(d=t.singletonStore.liveContainer)||void 0===d||null===(u=d.openLandPage)||void 0===u||u.call(d,{url:n,reset:o,noReset:l||a}),(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL)}},d=async(e,n)=>{try{let{url:e,pcNotClose:r}=n,o=(0,W.fh)(e,t);if(o=`${o}&__isDouyinPC=true`,r){let e=(null==t?void 0:t.activityIndicatorStore.currentLandPage)||[];null==t||t.activityIndicatorStore.setCurrentLandPage([...e,o],!0)}else null==t||t.activityIndicatorStore.setCurrentLandPage([o]);return(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL,"fail")}},s=async(e,t)=>(null==t?void 0:t.schema)?u(e,{url:t.schema,_reset:null==t?void 0:t.replace}):(0,i.bG)(i.MU.FAIL),c=async(e,n)=>{var d,s,c,_,v,f,p,g,m,h,y,b,w,S,x,k,C,P,N;if("scheme"===n.type){if(!(null==n?void 0:null===(d=n.args)||void 0===d?void 0:d.url))return(0,i.bG)(i.MU.FAIL);let t=null==n?void 0:null===(c=n.args)||void 0===c?void 0:null===(s=c.url)||void 0===s?void 0:s.split("?");if(t[0].indexOf("webcast_room")>=0){let e=z.parse(t[1]||"");return e.web_rid&&window.open(`https://live.douyin.com/${e.web_rid}`),(0,i.Vp)()}return await u(e,{url:n.args.url,_noReset:null==n?void 0:null===(_=n.args)||void 0===_?void 0:_._noReset})}if("room"===n.type)return(null==n?void 0:null===(v=n.args)||void 0===v?void 0:v.web_rid)&&window.open(`${l}/${n.args.web_rid}`),(0,i.Vp)();if("gift_panel"===n.type){let l=null==n?void 0:n.gift_id,u=null==n?void 0:n.is_send_gift,d=null==n?void 0:null===(f=n.gift_log_extra)||void 0===f?void 0:f.gift_source,s=(0,O.mS)(l,t.giftStore.giftList);if(l&&u&&(null==s?void 0:s.id))a(e,{title:"",content:`送出1个${s.name}(${s.price}钻)`,confirmText:"确定",showCancel:!0,cancelText:"取消"}).then(t=>{var o,a;(null==t?void 0:t.code)===i.MU.SUCCESS&&(null==t?void 0:null===(o=t.data)||void 0===o?void 0:o.confirm)&&(null==r||r.sendGift(e,{gift_id:l,gift_count:1,gift_source:d,to_user_id:null==n?void 0:null===(a=n.args)||void 0===a?void 0:a.user_id}))});else if(t.giftStore.setGiftPanelSwitchStatus(n.page_type?el.nN.OPEN_BY_PAGE_TYPE:el.nN.OPEN_GIFT),n.page_type&&(null==t||t.giftStore.setCurrentPageType(n.page_type)),"anniex"===o){let i=(null===(p=e.globalProps)||void 0===p?void 0:p.resolvedUrl)||"";t.linkmicStore.isGroupLive&&i.indexOf("compete_card_pc.json")>0&&(null==n?void 0:null===(g=n.args)||void 0===g?void 0:g.user_id)&&(t.linkmicStore.setChoosePeopleArr([null==n?void 0:null===(m=n.args)||void 0===m?void 0:m.user_id]),A.emit(A.EVENT.selectGroupLiveAnchor,[null==n?void 0:null===(h=n.args)||void 0===h?void 0:h.user_id]))}return(0,i.Vp)()}if("login_panel"===n.type)return await r.openLoginPanel(e,n.args);if("profile"===n.type){let{user_id:r,sec_uid:o,sec_user_id:l,source:a="",mystery_man:u,webcast_uid:d,target_webcast_uid:s}=n.args||{},c=s||d||"";if(((null===(y=e.globalProps)||void 0===y?void 0:y.resolvedUrl)||"").indexOf("compete_card_pc.json")>0&&t.linkmicStore.groupliveProfileSlot){let e=t.linkmicStore.groupliveProfileSlot.getBoundingClientRect();(0,ea.o8)(t,(0,I._)({targetUid:r,secTargetUid:l||o,targetWebcastUid:c,source:a,position:"bottom",left:e.x,top:e.y,skipPrivacyCheck:"true"===String((null==n?void 0:null===(b=n.args)||void 0===b?void 0:b.skip_privacy_check)||!1)},void 0!==u?{targetDisplayRole:Number(u)}:{}))}else(0,ea.o8)(t,(0,I._)({targetUid:r,secTargetUid:l||o,targetWebcastUid:c,source:a,skipPrivacyCheck:"true"===String((null==n?void 0:null===(w=n.args)||void 0===w?void 0:w.skip_privacy_check)||!1)},void 0!==u?{targetDisplayRole:Number(u)}:{}));return(0,i.Vp)()}if("charge"===n.type)return r.openLiveRecharge(e,n),(0,i.Vp)();if("open_pc_package"===n.type)return(null==t?void 0:null===(S=t.giftStore)||void 0===S?void 0:S.giftPanelSwitchStatus)===el.nN.NO_CONTROL||(null==t?void 0:null===(x=t.giftStore)||void 0===x?void 0:x.giftPanelSwitchStatus)===el.nN.CLOSE?null==t||null===(k=t.giftStore)||void 0===k||k.setGiftPanelSwitchStatus(el.nN.OPEN_PROP):null==t||null===(C=t.giftStore)||void 0===C||C.setGiftPanelSwitchStatus(el.nN.CLOSE),(0,i.Vp)();if("lynx"===n.type){if(!(null==n?void 0:null===(P=n.args)||void 0===P?void 0:P.url))return{code:Z.P.Failed};try{let e=n.args.url.split("?")[1];return null==t||null===(N=t.singletonStore.liveContainer)||void 0===N||N.openLandPage({url:`sslocal://lynxview?${e}`,reset:!0}),{code:Z.P.Success}}catch(e){return{code:Z.P.Failed}}}return(0,L.qr)("openLive",n.type),(0,i.bG)(i.MU.FAIL)},_=async(e,t)=>u(e,(0,I._)({url:null==t?void 0:t.schema},t)),v=async(e,t)=>{var n;return c(e,{type:"profile",click_type:"",gift_log_extra:{gift_source:""},args:{user_id:null==t?void 0:t.user_id,sec_user_id:(null==t?void 0:t.sec_user_id)||(null==t?void 0:t.sec_uid),webcast_uid:null==t?void 0:t.webcast_uid,source:(null==t?void 0:t.report_type_for_log)||(null==t?void 0:t.source)||"",mystery_man:null==t?void 0:t.mystery_man,skip_privacy_check:"true"===String(null!==(n=null==t?void 0:t.skip_privacy_check)&&void 0!==n&&n)}})},f=async(e,t)=>{var n;let r=(null==t?void 0:t.web_rid)||(null==t?void 0:t.room_id)||(null==t?void 0:null===(n=t.room_ids)||void 0===n?void 0:n[0]);return r?(window.open(`${l}/${r}`),(0,i.Vp)()):(0,i.bG)(i.MU.FAIL)};n("showModal",a),n("openLive",c),n("openUrl",d),n("openScheme",u),n("openSchema",_),n("openProfile",v),n("openRoom",f),n("gotoLive",f),n("dailyrankGotoLive",f),n("x.open",s)},es=n("570792"),ec=e=>{let{store:t,registerBridge:n}=e;n("getPaidLiveInfo",async()=>{try{let{paidLiveStore:e}=t,n=o()(t,"roomStore.roomInfo.anchor.follow_info.follow_status",0),r=o()(t,"paidLiveStore.viewType",0),l=n===es.E.FOLLOWING||n===es.E.BOTH;return(0,i.Vp)({paid_live_info:null==e?void 0:e.paidLiveData,follow_status:Number(l),view_type:Number(r)})}catch(e){return(0,i.bG)(i.MU.FAIL)}})},e_=n("119522"),ev=n("953851"),ef=n("19277"),ep=n("587554"),eg=n("638052"),em=n("601034"),eh=n("499059"),ey=n("917037"),eb=n("325322"),ew=e=>{let{store:t,registerBridge:n,type:r}=e,o=async e=>new Promise(async(n,o)=>{let{rechargeStore:{rechargeAuthStatus:l}}=t,{showRecharge:a}=(0,e_.y)();if(l){var u;let t=await (null===(u=ev.a.getIAPRechargeParams)||void 0===u?void 0:u.call(ev.a)),l=()=>{o((0,i.bG)(i.MU.FAIL,"close recharge dialog",{recharge_code:0}))},d=()=>{var e,t;eg.logInstance.sendLog("livesdkRechargeSuccessByContainer",{enter_from_merge:(0,em.yW)(),show_reason:el.St.recharge,live_window_type:null!==(t=null===(e=eh.Le.getConfig(eh.gI.LiveWindowStatus))||void 0===e?void 0:e.type)&&void 0!==t?t:"no_live_window",if_live_play:1,charge_reason:"balance",request_page:"jsb",load_type:"vmok"}),n((0,i.Vp)({recharge_code:1}))},_=(0,ef.Dr)(s.Q.getItem({sKey:c.CookieKeys.Theme}));(0,ep.jo)()&&"anniex"===r?(0,eb.J)({root:null,type:"recharge",title:ey.B.recharge,giftPrice:0,needRechargePrice:(null==e?void 0:e.money_diff)||0,theme:_,requestPublicParams:t,onRechargeSuccess:d,onClose:l,showOfficialEntrance:!1,onShow:()=>{var e,t;eg.logInstance.sendLog("livesdkRechargeShowByContainer",{enter_from_merge:(0,em.yW)(),show_reason:el.St.recharge,live_window_type:null!==(t=null===(e=eh.Le.getConfig(eh.gI.LiveWindowStatus))||void 0===e?void 0:e.type)&&void 0!==t?t:"no_live_window",if_live_play:1,charge_reason:"balance",request_page:"jsb",load_type:"vmok"})}}):a({type:"recharge",balance:(null==e?void 0:e.money_diff)||0,amount:0,theme:_,requestPublicParams:t,onSuccess:d,onClose:l})}else o((0,i.bG)(i.MU.FAIL,"need login",{recharge_code:0}))});n("openLiveRecharge",async(e,n)=>{let{args:o}=n;try{let{rechargeStore:{rechargeAuthStatus:e,setRemoteRechargeContainerRendered:n,remoteRechargeContainerRendered:a}}=t,{showRecharge:u}=(0,e_.y)();if(e){var l;let e=await (null===(l=ev.a.getIAPRechargeParams)||void 0===l?void 0:l.call(ev.a)),t=(0,ef.Dr)(s.Q.getItem({sKey:c.CookieKeys.Theme}));(0,ep.jo)()&&"anniex"===r?(0,eb.J)({setRemoteRechargeContainerRendered:n,remoteRechargeContainerRendered:a,root:null,type:"recharge",title:ey.B.recharge,giftPrice:0,needRechargePrice:(null==o?void 0:o.money_diff)||0,theme:t,requestPublicParams:e,showOfficialEntrance:!1,onRechargeSuccess:()=>{var e,t;eg.logInstance.sendLog("livesdkRechargeSuccessByContainer",{enter_from_merge:(0,em.yW)(),show_reason:el.St.recharge,live_window_type:null!==(t=null===(e=eh.Le.getConfig(eh.gI.LiveWindowStatus))||void 0===e?void 0:e.type)&&void 0!==t?t:"no_live_window",if_live_play:1,charge_reason:"balance",request_page:"jsb",load_type:"vmok"})},onShow:()=>{var e,t;eg.logInstance.sendLog("livesdkRechargeShowByContainer",{enter_from_merge:(0,em.yW)(),show_reason:el.St.recharge,live_window_type:null!==(t=null===(e=eh.Le.getConfig(eh.gI.LiveWindowStatus))||void 0===e?void 0:e.type)&&void 0!==t?t:"no_live_window",if_live_play:1,charge_reason:"balance",request_page:"jsb",load_type:"vmok"})}}):u({type:"recharge",balance:(null==o?void 0:o.money_diff)||0,amount:0,theme:t,requestPublicParams:e})}return(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL)}}),n("openRechargeDialog",o)},eS=n("861581"),eI=e=>{let{registerBridge:t}=e;t("getClientSetting",async(e,t)=>{if(!t.key)return(0,i.bG)(i.MU.FAIL);let n=await (0,L.FJ)();return n?("fans_club_lynx_url_group"===t.key&&(n[t.key].lynx_web_url=eS.w.StarfansUser),(0,i.Vp)({data:{[t.key]:n[t.key]}})):(0,i.bG)(i.MU.FAIL)})};let ex="activity_indicator_jsb";var ek=e=>{let{registerBridge:t}=e,n=async(e,t)=>{let{key:n}=t;try{var r;return(0,i.Vp)({value:null!==(r=localStorage.getItem(`${ex}_${n}`))&&void 0!==r?r:""})}catch(e){return(0,i.bG)(i.MU.FAIL,"fail",{value:void 0})}},r=async(e,t)=>{let{key:n}=t;try{return localStorage.removeItem(`${ex}_${n}`),(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL,"fail")}};t("setStorage",async(e,t)=>{let{key:n,value:r}=t;try{return localStorage.setItem(`${ex}_${n}`,r),(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL,"fail")}}),t("getStorage",n),t("removeStorage",r)},eL=e=>{let{registerBridge:t}=e;t("privilege_wear_notification",async(e,t)=>((null==t?void 0:t.toast_text)&&F.F.info(null==t?void 0:t.toast_text),window.location.reload(),(0,i.Vp)())),t("toast",(e,t)=>{let{text:n}=t;try{return F.F.info(n),(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL)}})},eC=e=>{let{registerBridge:t}=e;t("triggerPrefetch",async(e,t)=>{try{let{namespace:e,id:n,params:r,force:o,reqKey:l,ttl:a}=t||{};if(!(0,T.c)(e)||!n)return(0,i.bG)(i.MU.FAIL);let u=await M.gS.triggerCallback(e,{id:n,params:r,force:o,reqKey:l,ttl:a});return(0,i.Vp)(null!=u?u:M.gS.getJsbSnapshot(e,n),"success")}catch(e){return(0,i.bG)(i.MU.FAIL,"fail",e)}})},eP=n("947855"),eN=n("858651"),eE=e=>{let{store:t,registerBridge:n,type:r}=e;n("userAction",async(e,n)=>{let{type:l,args:{user_id:a=""}}=n;try{var u,d,s,c,_;let e;let n=o()(t,"roomStore.roomInfo.roomId",""),v=o()(t,"userStore.userInfo.sec_uid",""),f=o()(t,"roomStore.roomInfo.anchor.id_str"),p=o()(t,"roomStore.setFollowStatus",()=>{});if("follow"===l?e=await (0,eP.ZN)({to_user_id:String(a),current_room_id:n,sec_user_id:v,sec_to_user_id:"",channel_id:"anniex"===r?200:0}):"unfollow"===l&&(e=await (0,eP.fv)({to_user_id:String(a),current_room_id:n,sec_user_id:v,sec_to_user_id:""})),String(f)===String(a)&&e){let t=o()(e,"data.data.follow_status",0);p(t)}let g=null==e?void 0:null===(u=e.data)||void 0===u?void 0:u.status_code,m=(0,eN.getInLiveGroupLiveRanklistAB)();if("anniex"===r&&m&&0!==g)return(0,i.bG)(i.MU.FAIL,"fail",{code:g,prompts:null==e?void 0:null===(s=e.data)||void 0===s?void 0:null===(d=s.data)||void 0===d?void 0:d.prompts});if("anniex"===r&&10033===g)return(0,i.bG)(i.MU.FAIL,"fail",{code:g,prompts:null==e?void 0:null===(_=e.data)||void 0===_?void 0:null===(c=_.data)||void 0===c?void 0:c.prompts});return(0,i.Vp)()}catch(e){return(0,i.bG)(i.MU.FAIL)}})}},519403:function(e,t,n){"use strict";n.d(t,{FJ:function(){return C},Kj:function(){return b},L7:function(){return k},qr:function(){return L}});var i=n(629686);n(706056),n(76375),n(362051),n(228983),n(759943),n(679308),n(932651);var r=n(643587),o=n(198412),l=n.n(o),a=n(85079),u=n.n(a),d=n(285406),s=n.n(d),c=n(121998),_=n(605467),v=n(764283),f=n(618759),p=n(752150),g=n(687581);n(841434);var m=n(858651);let h=()=>{let e;if(localStorage.getItem("anniexWebGeckoBkt")?e=Number(localStorage.getItem("anniexWebGeckoBkt")):(e=Math.floor(100*Math.random()),localStorage.setItem("anniexWebGeckoBkt",`${e}`)),e<1)return"s01";if(e<5)return"s05";if(e<10)return"0";else if(e<20)return"1";else if(e<30)return"2";else if(e<40)return"3";else if(e<50)return"4";else if(e<60)return"5";else if(e<70)return"6";else if(e<80)return"7";else if(e<90)return"8";else if(e<100)return"9";else return"9"},y=e=>{let t=`device_platform=iphone&app_id=6383&app_version=18.9.0&gecko_bkt=${h()}`;return`${e}${e.includes("?")?"&":"?"}${t}`},b=e=>{var t,n,i,r,o,a,u,d,s,c,_,v,p,g,m;return{room_id:l()(e,"roomStore.roomInfo.roomId",""),user_id:l()(e,"userStore.userInfo.id_str",""),sec_user_id:l()(e,"userStore.userInfo.sec_uid",""),anchor_id:l()(e,"roomStore.roomInfo.anchor.id_str",""),anchor_id_str:l()(e,"roomStore.roomInfo.anchor.id_str",""),sec_anchor_id:l()(e,"roomStore.roomInfo.anchor.sec_uid",""),enter_from_merge:null===(n=window)||void 0===n?void 0:null===(t=n.__INVISIBLE_QUERY__)||void 0===t?void 0:t.enter_from_merge,video_id:null===(r=window)||void 0===r?void 0:null===(i=r.__INVISIBLE_QUERY__)||void 0===i?void 0:i.video_id,is_ad:(null===(a=window)||void 0===a?void 0:null===(o=a.__INVISIBLE_QUERY__)||void 0===o?void 0:o.live_ad_id)?1:0,request_id:null===(d=window)||void 0===d?void 0:null===(u=d.__INVISIBLE_QUERY__)||void 0===u?void 0:u.request_id,enter_method:null===(c=window)||void 0===c?void 0:null===(s=c.__INVISIBLE_QUERY__)||void 0===s?void 0:s.enter_method,user_unique_id:l()(e,"userStore.odin.user_unique_id",""),user_agent:(null===(v=window)||void 0===v?void 0:null===(_=v.navigator)||void 0===_?void 0:_.userAgent)||"",action_type:(null===(g=window)||void 0===g?void 0:null===(p=g.__INVISIBLE_QUERY__)||void 0===p?void 0:p.action_type)||"click",pc_client_type:(0,f.ub)(),pc_client_version:(null===(m=(0,f.FJ)())||void 0===m?void 0:m.awemePcClient)||""}},w=null,S=null,I=null,x=null,k=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!w&&(w=await (0,p.ZP)({service_name:"webcast.douyin.live_pc",key:"land_page_map_config"})),-1===e.indexOf("sslocal://")){let t=e,n=e.split("?")[0],r=c.parse(e.split("?")[1]),o=null==w?void 0:w.find(e=>e.originUrl===n);if(o){if("h5"===o.targetType)t=`${o.targetUrl}${u()(r)?"":`?${c.stringify(r)}`}`;else{let e=`${o.targetUrl}${u()(r)?"":`?${c.stringify(r)}`}`,n=(0,i._)({url:e},r,u()(r)?{}:{global_props:JSON.stringify((0,i._)({},r))});t=`${"2"===o.redirectType?"sslocal://webview":"sslocal://lynxview"}?${c.stringify(n)}`}}return t}{let r=null;if(-1!==e.indexOf("sslocal://webcast_redirect")||-1!==e.indexOf("sslocal://annie_redirect")){if(!S){let e=await fetch(y("https://lf-normal-gr-sourcecdn.bytegecko.com/obj/byte-gurd-source-gr/webcast/cdn/api/scheme_config_gfc/api.roma.config.json"));S=await e.json()}r=S}let o=e;if(r){var t,n;let l=c.parse(e.split("?")[1]),a=null===(n=r.redirect_rules[l.entry])||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.location;if(!a&&(0,m.getInLiveGroupLiveRanklistAB)())return!1;if(a){let e=c.parse(a.split("?")[1]),{url:t}=e;if(null==l?void 0:l.url_query){let n=c.parse(decodeURIComponent(l.url_query)),r=decodeURIComponent(t).split("?"),o=c.parse(r[1]),a=(0,i._)({},n,o);t=encodeURIComponent(`${r[0]}?${c.stringify(a)}`),e.url=t}if(null==l?void 0:l.scheme_query){let e=c.parse(decodeURIComponent(l.scheme_query));Object.assign(l,e)}o=`${a.split("?")[0]}?${c.stringify(Object.assign(e,s()(l,["url_query","scheme_query","entry"])))}`}}if(!o)return!1;let l=o.split("?"),a=c.parse(l[1]),{url:d}=a,_=decodeURIComponent(d).split("?"),v=c.parse(_[1]),f=w.find(e=>e.originUrl===_[0]);if(f){if("annieXweb"===f.targetType){let e=`${f.targetUrl}${u()(v)?"":`?${c.stringify(v)}`}`;a.url=encodeURIComponent(e),o="1"===f.redirectType?`sslocal://lynxview?${c.stringify(a)}`:"2"===f.redirectType?`sslocal://webview?${c.stringify(a)}`:`${l[0]}?${c.stringify(a)}`}else o=`${f.targetUrl}?${c.stringify(Object.assign(v,a))}`}return o}}catch(e){return!1}},L=(e,t)=>{(0,r.Jn)({name:e,params:t||""})},C=async()=>I?I:x?await x:(x=(async()=>{var e,t,n,i,r;let o=await (0,_.Mr)({device_platform:"web",aid:"6383"});if((null==o?void 0:o.status)!==200||(null==o?void 0:null===(e=o.data)||void 0===e?void 0:e.status_code)!==0)return v.ZN.error(g.Mo.LiveSettingError,{content:{statusCode:null==o?void 0:null===(n=o.data)||void 0===n?void 0:n.status_code,logId:null!==(r=o.logId)&&void 0!==r?r:"",is_client:(0,f.DT)(),data:null==o?void 0:null===(i=o.data)||void 0===i?void 0:i.data}}),null;{let e=null==o?void 0:null===(t=o.data)||void 0===t?void 0:t.data;return I=e,e}})(),await x)},95141:function(e,t,n){"use strict";n.d(t,{_4:function(){return i},oV:function(){return r},zs:function(){return o}});let i="单人冲刺挑战规则",r=["选择一名嘉宾参与挑战,在限定时间内冲刺达到目标分值,未达目标则挑战失败。"],o=["1 音浪 = 1 分","30 点赞 = 1 分(每个嘉宾每轮挑战通过点赞获得的玩法值不能超过 24)"]},355570:function(e,t,n){"use strict";n.d(t,{b:function(){return _},w:function(){return c}}),n("490629");var i=n("320165"),r=n("101199"),o=n("469935"),l=n.n(o),a={commonContainer:"r0fhYdIi",giftImg:"C5jVsg0U",content:"ofLbqEwB"},u=n("620865"),d=n("48795"),s=n("414061");let c=e=>{let{balance:t,giftImg:n,giftName:i,coinName:r,isEnoughMoney:o=!0}=e;return o?`
|
||
<div style="height: 22px;font-size: 14px;line-height: 22px;display: flex;align-items: center;">
|
||
充值后自动送出
|
||
<img
|
||
style="width: 28px;height: 28px;margin: 0 6px;"
|
||
src="${n}"
|
||
/>
|
||
<span>${i}</span>
|
||
(还差${t}${r})
|
||
</div>
|
||
`:`
|
||
<div style="height: 22px;font-size: 14px;line-height: 22px;display: flex;align-items: center;">
|
||
充值金额不够无法送出
|
||
<img
|
||
style="width: 28px;height: 28px;margin: 0 6px;"
|
||
src="${n}"
|
||
/>
|
||
<span>${i}</span>
|
||
(仅作为${r}充值)
|
||
</div>`},_=e=>{let{balance:t=0,giftImg:n,giftName:o,isEnoughMoney:c,autoCheck:_,onCheckChange:v}=e,[f,p]=(0,r.useState)(_),[g,m]=(0,r.useState)(c),[h,y]=(0,r.useState)(t),[b,w]=(0,r.useState)(n),[S,I]=(0,r.useState)(o),{rechargeConfig:x}=(0,u.K)();return((0,r.useEffect)(()=>{let e=s.listen(s.EVENT.updateRechargeAutoNext,e=>{let{isEnoughMoney:t,balance:n,giftImg:i,giftName:r}=e;m(t),y(n),w(i),I(r)});return()=>e()},[]),g)?(0,i.jsxs)("div",{className:l()(a.commonContainer),children:[(0,i.jsx)(d.Checkbox,{checked:f,onChange:e=>{null==v||v(e.target.checked),p(e.target.checked)}}),(0,i.jsxs)("div",{className:l()(a.content),children:["充值后自动送出",(0,i.jsx)("img",{className:a.giftImg,src:b}),(0,i.jsx)("span",{children:S}),`(还差${h}${x.name||"抖币"})`]})]}):(0,i.jsxs)("div",{className:l()(a.commonContainer),children:[(0,i.jsx)(d.Checkbox,{disabled:!0,checked:f}),(0,i.jsxs)("div",{className:a.content,style:{height:22,fontSize:14,lineHeight:22,display:"flex",alignItems:"center",color:"#fe2c55"},children:["充值金额不够无法送出",(0,i.jsx)("img",{style:{width:28,height:28,margin:"0 6px"},src:b}),(0,i.jsx)("span",{children:S}),"(仅作为",x.name||"抖币","充值)"]})]})}},746023:function(e,t,n){"use strict";n.d(t,{K:function(){return _},_:function(){return c}}),n("490629");var i=n("320165"),r=n("101199"),o=n("469935"),l=n.n(o),a="ceNnMCUl",u="qfkTT2BX",d=n("620865"),s=n("48795");let c=e=>{let{coinName:t}=e;return`
|
||
<div style="height: 22px;font-size: 14px;line-height: 22px;">
|
||
充值后将自动加入主播粉丝团(1${t})
|
||
</div>
|
||
`},_=e=>{let{className:t,autoCheck:n,onCheckChange:o}=e,{rechargeConfig:c}=(0,d.K)(),[_,v]=(0,r.useState)(n);return(0,i.jsxs)("div",{className:l()(a,t),children:[(0,i.jsx)(s.Checkbox,{checked:_,onChange:e=>{null==o||o(e.target.checked),v(e.target.checked)}}),(0,i.jsx)("div",{className:u,children:`充值后将自动加入主播粉丝团(1${c.name})`})]})}},325322:function(e,t,n){"use strict";let i;n.d(t,{J:function(){return b},C:function(){return w}});var r=n("629686"),o=n("402748"),l=n("811603");n("76375");var a=n("320165"),u=n("101199"),d=n("391948"),s={container:"zOwjeNFn",mask:"zlp2KuZU"},c=n("587554"),_=n("771410"),v=n("880327"),f=n("542901"),p=n("913285"),g=n("746023"),m=n("355570");let h=(0,c.At)().createLazyComponent({loader:async()=>{let e=Date.now(),t=await (0,c.At)().loadRemote("@revenue-wallet-fe/recharge-web"),n=Date.now();return _.Z.report("vmok_remote_load",{cost:n-e,remote_name:"@revenue-wallet-fe/recharge-web",type:"cost",message:"",extra:"live_room"}),t},export:"default",fallback:e=>{let{error:t,errorType:n,dataFetchMapKey:i}=e;return t instanceof Error&&_.Z.report("vmok_remote_load",{cost:0,remote_name:"@revenue-wallet-fe/recharge-web",type:"error",message:null==t?void 0:t.message,extra:"live_room"}),null}}),y=e=>{let t;let{renderType:n,autoNextType:i,onAutoNextChange:u,autoSendGiftParams:d}=e,c=(0,l._)(e,["renderType","autoNextType","onAutoNextChange","autoSendGiftParams"]);return("fans"===i?t=()=>(0,a.jsx)(g.K,{onCheckChange:u,autoCheck:!0}):"gift"===i&&(t=()=>(0,a.jsx)(m.b,{onCheckChange:u,autoCheck:!0,giftImg:null==d?void 0:d.giftImg,giftName:null==d?void 0:d.giftName,balance:null==d?void 0:d.balance,isEnoughMoney:null==d?void 0:d.isEnoughMoney})),"modal"===n)?(0,a.jsx)(p.k,{componentName:"RechargePanelRemoteLive",children:(0,a.jsxs)("div",{className:s.container,children:[(0,a.jsx)("div",{className:s.mask}),(0,a.jsx)("div",{style:{height:"auto"},children:(0,a.jsx)(h,(0,o._)((0,r._)({},c),{headerRenderer:t?t():void 0}))})]})}):(0,a.jsx)(p.k,{componentName:"RechargePanelRemoteLive",children:(0,a.jsx)(h,(0,o._)((0,r._)({},c),{headerRenderer:t?t():void 0}))})},b=e=>{let{container:t,onClose:n,remoteRechargeContainerRendered:u,setRemoteRechargeContainerRendered:s}=e,c=(0,l._)(e,["container","onClose","remoteRechargeContainerRendered","setRemoteRechargeContainerRendered"]),{root:_}=e,f=e=>{if(null==n||n(e),_){var t;null==s||s(!1),i=!1,null===(t=_.unmount)||void 0===t||t.call(_),_=null}};if(!u)if(null==s||s(!0),t)(_=(0,d.createRoot)(t)).render((0,a.jsx)(y,(0,o._)((0,r._)({},c),{onClose:f,renderType:"panel"})));else{let e=document.createElement("div");document.body.appendChild(e),(0,v.r)()&&(i=!0),(_=(0,d.createRoot)(e)).render((0,a.jsx)(y,(0,o._)((0,r._)({},c),{onClose:f,renderType:"modal"})))}},w=()=>{let e=(0,u.useRef)(null),{rechargeStore:{setRemoteRechargeContainerRendered:t,remoteRechargeContainerRendered:n,remoteRechargeContainerRenderedRef:s}}=(0,f.o)();return(0,u.useEffect)(()=>()=>{if(e.current&&!i){var n,r;i=!1,null===(n=(r=e.current).unmount)||void 0===n||n.call(r),e.current=null,s.isRender=!1,null==t||t(!1)}},[]),{showRecharge:u=>{let{container:c,onClose:_}=u,f=(0,l._)(u,["container","onClose"]);if(n||e.current||s.isRender)return;s.isRender=!0,null==t||t(!0);let p=n=>{if(null==_||_(n),e.current){var r,o;s.isRender=!1,null==t||t(!1),i=!1,null===(r=(o=e.current).unmount)||void 0===r||r.call(o),e.current=null}};if(c)e.current=(0,d.createRoot)(c),e.current.render((0,a.jsx)(y,(0,o._)((0,r._)({},f),{onClose:p,renderType:"panel"})));else{let t=document.createElement("div");document.body.appendChild(t),(0,v.r)()&&(i=!0),e.current=(0,d.createRoot)(t),e.current.render((0,a.jsx)(y,(0,o._)((0,r._)({},f),{onClose:p,renderType:"modal"})))}},hideRecharge:()=>{if(e.current){var n,r;s.isRender=!1,null==t||t(!1),i=!1,null===(n=(r=e.current).unmount)||void 0===n||n.call(r),e.current=null}}}}},861581:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var i={StarfansUser:"sslocal://lynxview?url=https%3A%2F%2Flf-webcast-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fwebcast%2Fmono%2Flynx_pc%2Fstarfans_lynx_pc%2Fpages%2Fstarfans_user.js&type=popup_pia_=1&gravity=bottom&height_percent=73&rate_height=600&horizontal_width=375&use_pia=1&enable_preload=main",Exhibition:"https://lf-webcast-gr-sourcecdn.bytegecko.com/obj/byte-gurd-source-gr/webcast/mono/lynx/revenue_gift_exhibition_hall_lynx3_douyin_rspeedy/pages/gift_list_rspeedy.json?_pia_=1&web_bg_color=ff060a19&sponsor_status=normal_sponsor&showPcClose=true"}},917037:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});let i={recharge:"钻石充值",balance:"你的钻石余额不足,请充值"}},514873:function(e,t,n){"use strict";n.d(t,{BU:function(){return S},Js:function(){return x},Rc:function(){return U},TG:function(){return N},Yr:function(){return g},Zk:function(){return I},c3:function(){return k},m8:function(){return F},mL:function(){return E},mS:function(){return C},rp:function(){return A},us:function(){return P},wU:function(){return h},x_:function(){return m}});var i=n(629686),r=n(402748);n(706056),n(591964),n(374954),n(490629),n(679308),n(656562),n(992871),n(362051),n(117232);var o=n(198412),l=n.n(o),a=n(121422),u=n(656671),d=n(598659),s=n(830411),c=n(995898),_=n(414061),v=n(318966);let f=()=>{try{let{location:e}=window;return"www.douyin.com"===e.host&&!(0,c.Nr)(e.pathname)}catch(e){return!1}},p=()=>!!f()&&(_.emit(_.EVENT.LivePreviewLoginSuccess),!0),g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[u.o0.CHEAP,u.o0.FREE].includes(Number(e.type))},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[u.o0.EXPENSIVE,u.o0.FACE,u.o0.FANS_GIFT,u.o0.FLY_LINKMIC,u.o0.INTERACT_GIFT].includes(Number(e.type))},h=e=>(null==e?void 0:e.price)>=99,y=e=>e.map(e=>{let{group_count:t,group_text:n}=e;return{groupCount:t,groupText:n}}),b=e=>{let{id:t,name:n,type:i,diamond_count:r,primary_effect_id:o,is_displayed_on_panel:a,group_info:d=[],honor_level:s,gift_scene:c}=e;return{id:t,name:n,type:i,price:r,effectId:o,onPanel:a,groupInfo:y(d),honorLevel:s,fansClubLevel:l()(e,"fansclub_info.min_level")||u._q[t],lockStatus:l()(e,"gift_preview_info.lock_status"),blockToast:l()(e,"gift_preview_info.block_toast"),label:l()(e,"gift_label_icon.url_list.0"),icon:l()(e,"icon.url_list.0"),giftScene:c,namingAvatar:l()(e,"top_right_avatar.url_list.0"),reqExtraType:l()(e,"req_extra_type",0),afterSendAction:l()(e,"after_send_action",0)}},w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>b(e))},S=e=>e.map(e=>{var t;let{page_name:n="",page_type:i=0}=e,r=i===u.kQ.OLD_CARATED?null==e?void 0:null===(t=e.section_info)||void 0===t?void 0:t.reduce((e,t)=>null==e?void 0:e.concat(null==t?void 0:t.gifts),[]):e.gifts;return{pageName:n,pageType:i,display:!!e.display,giftList:w(r)}}),I=e=>{let{rawGiftPages:t,giftScene:n}=e;try{let e=t.find(e=>e.page_type===u.kQ.GIFT&&e.display);if(!e)return[];let{page_name:i="",page_type:r=0,gifts:o}=e,l=[];for(let e of o){let t=b(e);if((0,s.cb)(t,n,1)&&l.push(t),l.length>=20)break}return[{pageName:i,pageType:r,display:!0,giftList:l}]}catch(e){var i,r;null===(r=(0,v.OK)())||void 0===r||null===(i=r.sendEvent)||void 0===i||i.call(r,{name:"get_first_gift_pages_error",metrics:{count:1},categories:{error:e,giftScene:n}})}},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>{let{id:t,name:n,md5:i,resource_type:r,resource_url:o={}}=e;return{id:t,name:n,md5:i,type:r,src:l()(o,"url_list.0")}})},k=async e=>{try{var t,o,l,a,u;let{ZipReader:d,HttpReader:s,TextWriter:c,BlobWriter:_}=await n.e("32527").then(n.bind(n,469367)),v=new d(new s(e,{preventHeadRequest:!0})),f=await (null==v?void 0:v.getEntries()),p=f.find(e=>"config.json"===e.filename),g=await (null==p?void 0:null===(t=p.getData)||void 0===t?void 0:t.call(p,new c)),m=JSON.parse(g),h=null==m?void 0:null===(o=m.portrait)||void 0===o?void 0:o.path,y=f.find(e=>e.filename===h),b=await (null==y?void 0:null===(l=y.getData)||void 0===l?void 0:l.call(y,new _)),w=null===(a=URL)||void 0===a?void 0:a.createObjectURL(b),S=null===(u=URL)||void 0===u?void 0:u.createObjectURL(new Blob([JSON.stringify({portrait:(0,r._)((0,i._)({},m.portrait),{path:w})})]));return{media:b,config:m,localMediaPath:w,localConfigPath:S}}catch(e){return{media:null,config:null}}},L=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{displayKey:l()(e,"key"),displayText:l()(e,"defaultPattern")||l()(e,"default_pattern"),pieces:l()(e,"pieces",[]).map(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{displayText:l()(e,"stringValue")||l()(e,"string_value")}})}},C=(e,t)=>t.find(t=>Number(t.id)===Number(e))||{},P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.filter(e=>e.isSelf),n=e.filter(e=>!e.isSelf);return[...t,...n.sort((e,t)=>l()(e,"gift.price")>l()(t,"gift.price")?-1:1).slice(0,100)]},N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e.map(e=>{let r;let o=(l()(e,"method")===u.ZP.WEBCAST_BINDING_GIFT_MESSAGE?l()(e,"payload.msg"):l()(e,"payload"))||{};try{let e=l()(o,"diy_item_info","[]");e&&(r=JSON.parse(e))}catch(e){}let d=Number(l()(o,"gift_id")),s=l()(o,"gift")||{},c=l()(o,"user")||{},_=l()(o,"tray_info")||{},v=l()(o,"tray_display_text")||{},f=t.find(e=>Number(e.id)===Number(d))||{},p=Number(l()(r,"[0].values.mp4_asset","")||l()(s,"primary_effect_id"))||f.effectId,g=n.find(e=>Number(e.id)===Number(p))||{},m=Number(l()(o,"repeat_count")||l()(o,"combo_count")),h=Number(l()(o,"banned_display_effects"));return{isSelf:e.isSelf,method:e.method,diyItemInfo:r,user:{id:c.sec_uid||c.id_str,name:c.nickname,avatar:(0,a.uC)(l()(c,"avatar_thumb.url_list.0"))},gift:{id:d,name:s.name||f.name,price:s.diamond_count||f.price,type:s.type||f.type,icon:(0,a.uC)(l()(s,"image.url_list.0")||f.icon)},tray:{combo:m,target:m,displayTextConfig:L(v),bgImg:(0,a.uC)(l()(_,"tray_base_img.url_list.0")),dynamicIcon:(0,a.uC)(l()(_,"tray_dynamic_img.url_list.0")),type:Number(l()(_,"tray_type")),isNaming:Number(l()(_,"tray_type"))===u.ms.NAMING,banned:(h&u.qn.TRAY)===u.qn.TRAY},effect:(0,i._)({id:p,banned:(h&u.qn.EFFECT)===u.qn.EFFECT},g)}}).filter(e=>l()(e,"user.id")&&l()(e,"user.name")&&l()(e,"gift.id")&&l()(e,"gift.name")&&l()(e,"tray.combo"))},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=e.gift_id,c=l()(e,"gifts.0")||{},_=l()(e,"gift_struct")||{},v=l()(c,"display_text.pieces.0.user_value.user")||r,f=c.tray_info||{},p=c.tray_display_text||{},g=t.find(e=>Number(e.id)===Number(s))||{},m=Number(l()(o,"[0].values.mp4_asset")||l()(_,"primary_effect_id"))||g.effectId,h=n.find(e=>Number(e.id)===Number(m))||{},y=e.repeat_count||e.combo_count;return[{isSelf:!0,increasedCount:d,user:{id:v.sec_uid,name:v.nickname,avatar:(0,a.uC)(l()(v,"avatar_thumb.url_list.0"))},gift:{id:s,name:c.name||g.name,price:c.diamond_count||g.price,type:c.type||g.type,icon:(0,a.uC)(l()(c,"image.url_list.0")||g.icon)},diyItemInfo:o,tray:{combo:y,target:y,displayTextConfig:L(p),bgImg:(0,a.uC)(l()(f,"tray_base_img.url_list.0")),dynamicIcon:(0,a.uC)(l()(f,"tray_dynamic_img.url_list.0")),type:Number(l()(f,"tray_type")),isNaming:Number(l()(f,"tray_type"))===u.ms.NAMING},effect:(0,i._)({id:m},h)}].filter(e=>l()(e,"user.id")&&l()(e,"gift.id")&&l()(e,"tray.combo"))},F=async function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(await (0,d.p)())({headerText:n,enterMethod:i,next:`https://${null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.host}`,success:()=>{if(!p()){var e,t,n;null===(n=window)||void 0===n||null===(t=n.location)||void 0===t||null===(e=t.reload)||void 0===e||e.call(t)}}})},A=e=>{var t,n;e&&(null==e?void 0:e.fullscreen)&&(null==e||null===(n=e.plugins)||void 0===n||null===(t=n.fullscreen)||void 0===t||t.changeFullScreen())},U=e=>{var t,n,i,r;let{isGroupLive:o,useChoosePeopleFunc:l,anchorId:a,linkMicSeats:u,toUserId:d}=e||{},s=null===(n=Object.values(u||{}))||void 0===n?void 0:null===(t=n.find)||void 0===t?void 0:t.call(n,e=>{var t,n;return(null==e?void 0:null===(n=e.user)||void 0===n?void 0:null===(t=n.user)||void 0===t?void 0:t.id_str)===d});return(null==s?void 0:null===(r=s.user)||void 0===r?void 0:null===(i=r.user)||void 0===i?void 0:i.own_room_id)&&d!==a?1:o?128:l?2:1}},718552:function(e,t,n){"use strict";n.d(t,{FL:function(){return s},Yt:function(){return u},s1:function(){return d}}),n(932651);var i,r=n(542901),o=n(858651),l=n(375813);let a={headerText:"登录后即可参与互动",next:"undefined"!=typeof location?`https://${null===(i=location)||void 0===i?void 0:i.host}`:void 0,enterMethod:"live_room"},u=()=>{var e;let t=(0,r.o)(),n=null==t?void 0:null===(e=t.userStore)||void 0===e?void 0:e.userInfo,i=!!((null==n?void 0:n.id_str)||(null==n?void 0:n.id));return(0,o.useGetLoginLimitAB)()&&!i};function d(e){return t=>{var n,i,r;if(!(null==t?void 0:t.ignoreABCheck)&&!(0,o.getLoginLimitAB)(e))return!0;let u=null==e?void 0:null===(n=e.userStore)||void 0===n?void 0:n.userInfo;if((null==u?void 0:u.id_str)||(null==u?void 0:u.id))return!0;let d=Object.assign({headerText:"登录后即可参与互动",success:async()=>{window.location.reload()},next:`https://${null===(r=window)||void 0===r?void 0:null===(i=r.location)||void 0===i?void 0:i.host}`},a,t);return(0,l.x)(d),!1}}function s(){return d((0,r.o)())}},620865:function(e,t,n){"use strict";n.d(t,{K:function(){return a}}),n(490629);var i=n(101199),r=n(66948),o=n(528937),l=n(499059);let a=()=>{var e;let[t,n]=(0,i.useState)((null===(e=l.Le.getConfig(l.gI.TccData))||void 0===e?void 0:e[r.TccKey.PcRechargeConfig])||r.TCC_DEFAULT_VALUE_MAP.get(r.TccKey.PcRechargeConfig));return(0,i.useEffect)(()=>{let e=!1;return(async()=>{let t=await o.get({key:r.TccKey.PcRechargeConfig,defaultValue:r.TCC_DEFAULT_VALUE_MAP.get(r.TccKey.PcRechargeConfig)});!e&&n(t)})(),()=>{e=!0}},[]),{rechargeConfig:t}}},312923:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});let i=(e,t,n,i)=>{if("length"===n||"prototype"===n||"arguments"===n||"caller"===n)return;let o=Object.getOwnPropertyDescriptor(e,n),l=Object.getOwnPropertyDescriptor(t,n);if(!!r(o,l)||!i)Object.defineProperty(e,n,l)},r=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},o=(e,t)=>{let n=Object.getPrototypeOf(t);if(n!==Object.getPrototypeOf(e))Object.setPrototypeOf(e,n)},l=(e,t)=>`/* Wrapped ${e}*/
|
||
${t}`,a=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),u=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),d=(e,t,n)=>{let i=""===n?"":`with ${n.trim()}() `,r=l.bind(null,i,t.toString());Object.defineProperty(r,"name",u),Object.defineProperty(e,"toString",{...a,value:r})},s=new WeakMap;function c(e,{cacheKey:t=([e])=>e,cache:n=new Map}={}){let r=new Map,l=function(...i){let o=t(i);if(r.has(o))return r.get(o);let l=(async()=>{try{if(n&&await n.has(o))return await n.get(o);let t=e.apply(this,i),r=await t;try{return r}finally{n&&await n.set(o,r)}}finally{r.delete(o)}})();return r.set(o,l),l};return!function(e,t,{ignoreNonConfigurable:n=!1}={}){let{name:r}=e;for(let r of Reflect.ownKeys(t))i(e,t,r,n);o(e,t),d(e,t,r)}(l,e,{ignoreNonConfigurable:!0}),s.set(l,n),l}}}]); |