PageSourceSearch

https://www.maka.im/mk-web-store-v7/_next/static/chunks/pages/mobile/paymentpopup_v2-d0da9adc0c477135.js

js maka.im collected 2026-10-01 12:35:51 UTC 29,650 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2024],{84029:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/paymentpopup_v2",function(){return n(81489)}])},95301:function(t,e,n){"use strict";var i=n(85893),r=n(15494),s=n(91265),a=n.n(s);n(14076);var o=n(13886),c=n(98253),p=n(9008),u=n.n(p),l=n(4298),_=n.n(l),d=n(67294),h=n(85102);e.Z=t=>{let{loadDebugScript:e=!1,loadWxScript:n=!0}=t,{setCustomerVips:s,setPermissions:p,setProfile:l}=(0,h.o)(),m=(0,r.Z)(),getProfile=async()=>{let t=(0,o.sqP)(),e=(0,o.LP)();if(t&&e){let[e,n]=await Promise.all([(0,o.etS)(t),(0,o.Fv8)(t)]);l(e.data),s(n.data)}},getUserPremissions=async()=>{let t=(0,o.sqP)();if(t){let e=await (0,o.pZA)(t);p(e)}},getUserPremissionsV5=async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10004,e=(0,o.sqP)();if(e){let n=await (0,o.wh9)(e,t);p(n)}},initUserInfo=()=>{getProfile();let t=(0,c.queryToObj)();t.appid?getUserPremissionsV5({maka:10001,gov:10006,preschool:10005,education:10004}[t.appid||"maka"]):getUserPremissions()},initAppUserInfo=()=>{a().judgeIsInApp()?a().appCall({type:"MKUserInfo",jsCbFnName:"appBridgeOnUserInfoCb"},t=>{(null==t?void 0:t.uid)&&((0,c.setCookie)("token",null==t?void 0:t.token),(0,c.setCookie)("Makauid",t.uid),(0,c.setCookie)("maka_uid",t.uid),initUserInfo())}):initUserInfo()};return(0,d.useEffect)(()=>{if(m.isDesktop()&&location.href.indexOf("/mobile/site/")>-1){location.href=location.href.replace(/mobile/,"makapc");return}},[]),(0,d.useEffect)(()=>{initAppUserInfo(),(0,c.isMakaAppClient)()||document.documentElement.style.setProperty("--safe-area-inset-top","0px");let{appid:t}=(0,c.queryToObj)();"gov"===t?(document.documentElement.style.setProperty("--app-theme-color","#CF1322"),document.documentElement.style.setProperty("--app-background-color","#FFF1F0"),document.documentElement.style.setProperty("--app-btn-color","#CF1322"),document.documentElement.style.setProperty("--app-btn-text-color","#fff")):"preschool"===t?(document.documentElement.style.setProperty("--app-theme-color","#15B79E"),document.documentElement.style.setProperty("--app-background-color","#F0FDF9"),document.documentElement.style.setProperty("--app-btn-color","#15B79E"),document.documentElement.style.setProperty("--app-btn-text-color","#fff")):"education"===t&&(document.documentElement.style.setProperty("--app-theme-color","#EAAA08"),document.documentElement.style.setProperty("--app-background-color","#FEFDF0"),document.documentElement.style.setProperty("--app-btn-color","#FDE272"),document.documentElement.style.setProperty("--app-btn-text-color","#000")),window.freshPageData=()=>{initUserInfo()}},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u(),{children:(0,i.jsx)("title",{children:t.title})}),e&&(0,i.jsx)(_(),{src:"https://cdn.jsdelivr.net/npm/eruda",onLoad:()=>{window&&window.eruda&&window.eruda.init()}}),n&&(0,i.jsx)(_(),{src:"https://res.wx.qq.com/open/js/jweixin-1.6.0.js"}),t.children]})}},81489:function(t,e,n){"use strict";n.r(e);var i=n(85893),r=n(91265),s=n.n(r),a=n(31246),o=n(91085),c=n(9110),p=n(52942),u=n(93967),l=n.n(u),_=n(95301),d=n(13886),h=n(34613),m=n(82116),g=n(98253),f=n(27484),y=n.n(f),v=n(1646),k=n.n(v),x=n(23279),w=n.n(x),b=n(67294),j=n(63092),P=n.n(j);y().extend(k());let C={senior:[{title:"自动去水印",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_1.png"},{title:"模板免费",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_3.png"},{title:"素材免费",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_4.png"},{title:"字体免费",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_5.png"}],super:[{title:"自动去水印",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_1.png"},{title:"去尾页广告",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_2.png"},{title:"模板免费",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_3.png"},{title:"素材免费",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_4.png"},{title:"字体免费",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_5.png"}],busi:[{title:"自动去水印",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_1.png"},{title:"去尾页广告",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_2.png"},{title:"模板素材<br />字体免费",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_3.png"},{title:"高级组件<br />(如收款/拼团)",img:"https://res.maka.im/cdn/wapstore7/picture/vip_rights/icon_right_6.png"}]},N=[{type:"wechat",name:"微信",icon:"https://res.maka.im/cdn/wapstore7/picture/icon_wxpay.png"},{type:"ali",name:"支付宝",icon:"https://res.maka.im/cdn/wapstore7/picture/icon_alipay.png"}];let PayPopup=class PayPopup extends b.Component{componentDidMount(){this.getVipPackages(),this.getBannerResources();let t=(0,g.queryToObj)();h.d.track_pageview({page_type:"vip_intercept_page",page_id:this.props.works_type,parent_page_type:t.parent_page_type||("h5"===this.props.works_type?"site_promotional_page":"site_poster_page"),ref_page_type:"",ref_page_id:decodeURIComponent(t.ref_page_id||"")})}get currentPackage(){var t;let{vipList:e,activeType:n,activePackage:i}=this.state,r=null===(t=e.find(t=>t.alias===n))||void 0===t?void 0:t.packages,s=null==r?void 0:r.find(t=>t.customer_vip_package_id===i);return s}async onCreateOrder(){let t=this.currentPackage;if(!t.customer_vip_package_id)return;let{isContract:e,selectedCoupons:n,vipList:i,activeType:r,isGoogle:s}=this.state,a={customer_vip_package_id:t.customer_vip_package_id,from_where:"",forward_page_name:"",forward_module:"",work_id:"",coupon_code_v2:e||s?"":n.join(",")},o=(0,d.sqP)(),c=i.find(t=>t.alias===r).customer_vip_id,u=await (0,d.LVu)(o,c,a);return u.data&&u.data.order_id?u.data:((0,p.Toast)(u.message||"创建订单失败"),!1)}get contractDiscount(){return"0"!=this.currentPackage.contract_discount_price?(this.currentPackage.contract_price-this.currentPackage.contract_discount_price)/100:(this.currentPackage.total-this.currentPackage.contract_price)/100}get payAmount(){let{isContract:t,discountAmount:e}=this.state;if(!this.currentPackage)return"0";let n=this.currentPackage.total/100;return e&&(n-=e),t&&(n="0"!=this.currentPackage.contract_discount_price?this.currentPackage.contract_discount_price/100:this.currentPackage.contract_price/100),n&&n>0?n.toFixed(2):.01}render(){var t,e,n,r,s,p;let{vipList:u,activeType:d,activePackage:h,discountAmount:g,countdownTime:f,visible:y,payType:v,isContract:k,isGoogle:x}=this.state,{works_type:w,showPosterWatermark:b,share_with_wm_btn_text:j,up_to_vip_btn_text:S,share_panel_title:I}=this.props,T=null===(t=u.find(t=>t.alias===d))||void 0===t?void 0:t.packages;return(0,i.jsxs)(_.Z,{children:[(0,i.jsxs)("div",{className:P().payment_popup,children:[(0,i.jsx)("div",{className:P().close,onClick:()=>this.closePage(),children:(0,i.jsx)(o.Icon,{name:"left"})}),(0,i.jsx)("div",{className:P().title,children:I||"会员无限次去水印".concat("h5"===w?"发布":"下载")}),(0,i.jsx)("div",{className:P().rights,children:C[d].map((t,e)=>(0,i.jsxs)("div",{className:P().right_item,children:[(0,i.jsx)("img",{src:t.img,alt:""}),(0,i.jsx)("div",{className:P().right_text,children:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:t.title}}
1)})]},e))}),(0,i.jsxs)("div",{className:P().vip_packages,children:[(0,i.jsx)("div",{className:P().tabs,children:u.map((t,e)=>(0,i.jsx)("div",{className:l()([P().tab_item,d===t.alias&&P().active]),onClick:()=>this.onChangeVipType(t.alias),children:t.name},e))}),(0,i.jsx)("div",{className:P().packages,style:{justifyContent:(null==T?void 0:T.length)>3?"flex-start":"center"},children:null==T?void 0:T.map((t,e)=>(0,i.jsxs)("div",{className:l()([P().package_item,h===t.customer_vip_package_id&&P().active,P().activeType]),onClick:()=>this.onSelectPackage(t.customer_vip_package_id),children:[t.corner_text&&(0,i.jsx)("div",{className:P().corner,children:t.corner_text}),(0,i.jsx)("p",{className:P().name,children:t.name}),(0,i.jsxs)("p",{className:P().price,children:[(0,i.jsx)("span",{children:"\xa5"}),(0,i.jsx)("span",{className:P().num,children:t.total/100})]}),(0,i.jsx)("p",{className:P().tip,children:t.tips_text})]},e))}),(null===(e=this.currentPackage)||void 0===e?void 0:e.pay_tips)&&(0,i.jsx)("div",{className:P().pay_tips,children:this.currentPackage.pay_tips})]}),(0,i.jsx)("div",{className:P().pay_type_wrap,children:N.map(t=>(0,i.jsxs)("div",{className:P().pay_type,children:[(0,i.jsxs)("div",{className:P().tit,children:[(0,i.jsx)("img",{src:t.icon}),(0,i.jsx)("span",{children:t.name})]}),v===t.type?(0,i.jsx)(o.Icon,{name:"danxuan-yixuan",size:22,color:"#1A87FF"}):(0,i.jsx)("div",{className:P().circle,onClick:()=>this.onChangePayType(t.type)})]},t.type))}),(0,i.jsxs)("div",{className:P().footer,children:[g>0&&(0,i.jsxs)("div",{className:P().activity,children:[(0,i.jsxs)("div",{className:P().countdown,children:["活动抢购倒计时:",(0,i.jsx)("span",{className:P().time,children:(0,m.padZero)(f.hour)}),(0,i.jsx)("span",{className:P().split,children:":"}),(0,i.jsx)("span",{className:P().time,children:(0,m.padZero)(f.minute)}),(0,i.jsx)("span",{className:P().split,children:":"}),(0,i.jsx)("span",{className:P().time,children:(0,m.padZero)(f.second)})]}),(0,i.jsxs)("span",{children:["限时优惠",g,"元"]})]}),(0,i.jsxs)("div",{className:P().btns,children:["1"===b&&"h5"!==w&&(0,i.jsx)(a.Button,{type:"default",size:"large",className:P().download,onClick:()=>this.toShare(),children:j||"带水印下载"}),(0,i.jsx)(a.Button,{block:!0,size:"large",className:P().vip,onClick:this.toPay,children:S||"立即开通会员"})]})]})]}),(0,i.jsx)(c.Popup,{visible:y,position:"bottom",closeable:!0,round:!0,overlayClosable:!0,closeIcon:"left",closeIconPosition:"top-left",overlayStyle:{background:"rgba(0, 0, 0, 0.45)"},className:P().pay_modal,onClose:this.onClosePayModal,children:(0,i.jsxs)("div",{className:P().modal_container,children:[(0,i.jsx)("p",{className:P().title,children:"支付金额"}),(0,i.jsxs)("p",{className:P().price,children:["\xa5",(0,i.jsx)("span",{className:P().total,children:this.payAmount}),k&&(0,i.jsx)("span",{className:P().origin,children:this.currentPackage.total/100})]}),!k&&!x&&g>0&&(0,i.jsxs)("p",{className:P().discount,children:[(0,i.jsx)("span",{className:P().text,children:"优惠券立减"}),(0,i.jsxs)("span",{className:P().amount,children:["- \xa5",g]})]}),(null===(n=this.currentPackage)||void 0===n?void 0:n.canContract)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:l()([P().package_type,k&&P().active]),onClick:()=>this.onChangeContract(!0),children:[(0,i.jsxs)("span",{className:P().name,children:["每月优惠",this.contractDiscount,(null===(r=this.currentPackage)||void 0===r?void 0:r.contract_discount_month)!="0"&&(null===(s=this.currentPackage)||void 0===s?void 0:s.contract_discount_price)!="0"&&(0,i.jsxs)("span",{className:P().month,children:["前",null===(p=this.currentPackage)||void 0===p?void 0:p.contract_discount_month,"月"]})]}),(0,i.jsx)("span",{className:P().type,children:"包月购买"})]}),(0,i.jsxs)("div",{className:l()([P().package_type,!k&&P().active]),onClick:()=>this.onChangeContract(!1),children:[(0,i.jsx)("span",{className:P().name,children:"原价购买"}),(0,i.jsx)("span",{className:P().type,children:"单月购买"})]})]}),(0,i.jsx)("p",{className:P().pay_type_title,children:"支付方式"}),(0,i.jsx)("div",{className:P().pay_type_wrap,children:N.map(t=>k&&"ali"===t.type||!x&&"google"===t.type?null:(0,i.jsxs)("div",{className:P().pay_type,children:[(0,i.jsxs)("div",{className:P().tit,children:[(0,i.jsx)("img",{src:t.icon}),(0,i.jsx)("span",{children:t.name})]}),v===t.type?(0,i.jsx)(o.Icon,{name:"danxuan-yixuan",size:22,color:"#1A87FF"}):(0,i.jsx)("div",{className:P().circle,onClick:()=>this.onChangePayType(t.type)})]},t.type))}),(0,i.jsxs)("div",{className:P().pay_button,children:[k&&(0,i.jsxs)("p",{className:P().tip,children:[(0,i.jsx)(o.Icon,{name:"info",size:12}),(0,i.jsx)("span",{children:"订阅可随时取消"})]}),(0,i.jsx)(a.Button,{block:!0,onClick:this.toPay,size:"large",className:P().vip,children:"立即支付"})]})]})})]})}constructor(t){super(t),this.serverTime=0,this.coupons=[],this.envelopes=[],this.duration=9e5,this.getVipPackages=async()=>{let t=await (0,d.xjx)(160),e=[],n="senior",i=0;if("h5"===this.props.works_type&&(n="super"),t.data.senior){let r=t.data.senior;r.packages=this.sortPkg(r.packages);let s=r.packages.findIndex(t=>"1"===t.selected);r.defaultSelection=Math.max(s,0),"senior"===n&&(i=r.packages[r.defaultSelection].customer_vip_package_id),e.push(r)}if(t.data.super){let r=t.data.super;r.packages=this.sortPkg(r.packages);let s=r.packages.findIndex(t=>"1"===t.selected);r.defaultSelection=Math.max(s,0),"super"===n&&(i=r.packages[r.defaultSelection].customer_vip_package_id),e.push(r)}if(t.data.busi){let n=t.data.busi;n.packages=this.sortPkg(n.packages);let i=n.packages.findIndex(t=>"1"===t.selected);n.defaultSelection=Math.max(i,0),e.push(n)}this.setState({vipList:e,activePackage:i,activeType:n})},this.sortPkg=t=>t.sort((t,e)=>t.sort-e.sort),this.getCouponList=async()=>{let t=await (0,d.uDq)();t.data&&(this.serverTime=t.data.server_time,this.envelopes=t.data.envelopes||[],this.coupons=t.data.coupon||[],this.matchBestDiscount())},this.getBannerResources=async()=>{var t,e,n;let i=await (0,d.Om)({alias:"app_vip_hide_v1"});(null===(n=i.data)||void 0===n?void 0:null===(e=n.app_vip_hide_v1)||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.click_content)&&await (0,d.Ob$)({code:i.data.app_vip_hide_v1[0].click_content}),this.getCouponList()},this.toPay=async()=>{var t,e,n,i;p.Toast.loading({message:"提交中.....",duration:5e3,forbidClick:!0});let{isContract:r,payType:s}=this.state,a={order_id:"",pay_amount:0,balance:""};if(!(a="google"!==s?await this.onCreateOrder():{order_id:this.currentPackage.google_product_id,pay_amount:this.currentPackage.customer_vip_id,balance:this.currentPackage.customer_vip_package_id})||!a.order_id){p.Toast.clear();return}let o=window,{order_id:c,pay_amount:u,balance:l=""}=a;if(this.currentPackage.canTrial||r){let n=this.currentPackage.canTrial?1:0;null==o||null===(e=o.nativeApi)||void 0===e||null===(t=e.wxSubscribe)||void 0===t||t.call(e,this.currentPackage.customer_vip_package_id,this.currentPackage.customer_vip_package_id,"","",n)}else null==o||null===(i=o.nativeApi)||void 0===i||null===(n=i.pay)||void 0===n||n.call(i,s,c,u,l)},this.onPayWorks=w()(()=>{p.Toast.loading({duration:1e3,forbidClick:!0}),s().appCall({type:"MKRouter",params:{type:"NATIVE",url:"maka://halfMaterialsPurchase?workId=".concat(this.props.works_id,"&showDialog=false&payType=").concat(this.state.worksPayType)}})},500),this.toShare=()=>{"h5"===this.props.works_type?s().navToPage({url:"maka://h5Share?workId=".concat(this.props.works_id),type:"NATIVE"}):s().navToPage({url:"maka://posterShare?workId=".concat(this.props.works_id),type:"NATIVE"})},this.matchBestDiscount=()=>{let{activeType:t}=this.state,e=0,n=null,i=[],r={senior:"1",super:"2"}[t];this.coupons.forEach(t=>{let i=0;t.member_type_id.split(",").includes(r)&&!(t.start_time>this.serverTime)&&(1===t.category_id?i=Math.round((this.currentPackage.total/100-t.discount/100*(this.currentPackage.total/100))*100)/100:t.minimum_amount<=this.currentPackage.total/100&&(i=t.deduction_amount),i>e&&(e=i,n=t))});let s=e;
1n&&i.push(n.code),this.envelopes.forEach(t=>{!(t.start_time>this.serverTime)&&t.member_type_id.split(",").includes(r)&&this.currentPackage.total/100-s>.01&&(s+=t.amount,i.push(t.code))}),this.setState({selectedCoupons:i,discountAmount:s},()=>{s>0?this.timer||this.countdown(n.end_time):(clearInterval(this.timer),this.timer=null,this.duration=9e5)})},this.countdown=t=>{let e=1e3*t-new Date().valueOf();this.timer=setInterval(()=>{e-=1e3;let t=y().duration(e);if(0>t.asSeconds()){clearInterval(this.timer),this.setState({countdownTime:{hour:0,minute:0,second:0}});return}let n=t.days(),i=24*n+t.hours(),r=t.minutes(),s=t.seconds();this.setState({countdownTime:{hour:i,minute:r,second:s}})},1e3)},this.onChangeVipType=t=>{let e=this.state.vipList.find(e=>e.alias===t),n=e.packages[e.defaultSelection];this.setState({activeType:t,activePackage:n.customer_vip_package_id},()=>{this.matchBestDiscount()})},this.onSelectPackage=t=>{this.setState({activePackage:t},()=>{this.matchBestDiscount()})},this.onChangePayType=t=>{this.setState({payType:t})},this.onChangeWorksPayType=t=>{this.setState({worksPayType:t})},this.onChangeContract=t=>{this.setState({isContract:t})},this.closePage=()=>{s().judgeIsInApp()?s().navAppBack():history.back()},this.onShowPayModal=()=>{var t;this.setState({visible:!0,isContract:!!(null===(t=this.currentPackage)||void 0===t?void 0:t.canContract)})},this.onClosePayModal=()=>{this.setState({visible:!1,isContract:!1})},this.onShowPaylistModal=()=>{this.setState({payListVisible:!0})},this.onClosePaylistModal=()=>{this.setState({payListVisible:!1})},this.state={vipList:[],activeType:"senior",activePackage:0,selectedCoupons:[],discountAmount:0,countdownTime:{hour:0,minute:0,second:0},visible:!1,payType:"wechat",isContract:!1,worksPrice:0,payListVisible:!1,paylist:[],worksPayType:"wechat",isGoogle:!1}}};PayPopup.getInitialProps=async t=>{let{query:e}=t;return{works_id:e.works_id||"",uid:e.uid||"",works_type:e.works_type||"poster",showPosterWatermark:e.showPosterWatermark,up_to_vip_btn_text:e.up_to_vip_btn_text,share_with_wm_btn_text:e.share_with_wm_btn_text,share_panel_title:e.share_panel_title||""}},e.default=PayPopup},13886:function(t,e,n){"use strict";n.d(e,{$fC:function(){return i.$fC},$zV:function(){return i.$zV},Agj:function(){return i.Agj},Asp:function(){return i.Asp},Ay2:function(){return i.Ay2},B0h:function(){return i.B0h},BZM:function(){return i.BZM},BcD:function(){return i.BcD},Bzg:function(){return i.Bzg},Cxi:function(){return i.Cxi},DGP:function(){return i.DGP},DIA:function(){return i.DIA},E0u:function(){return i.E0u},FDi:function(){return i.FDi},FP5:function(){return i.FP5},Fv8:function(){return i.Fv8},G9B:function(){return i.G9B},Goz:function(){return i.Goz},I5G:function(){return i.I5G},IaV:function(){return i.IaV},IbQ:function(){return i.IbQ},Ixr:function(){return i.Ixr},J1N:function(){return i.J1N},JDk:function(){return i.JDk},Jih:function(){return i.Jih},Jnx:function(){return i.Jnx},Jsp:function(){return i.Jsp},KAZ:function(){return i.KAZ},KWH:function(){return i.KWH},K_9:function(){return i.K_9},KsD:function(){return i.KsD},L0D:function(){return i.L0D},L60:function(){return i.L60},LG0:function(){return i.LG0},LP:function(){return i.LP},LQZ:function(){return i.LQZ},LVu:function(){return i.LVu},Lky:function(){return i.Lky},MO4:function(){return i.MO4},NnB:function(){return i.NnB},NoV:function(){return i.NoV},OAA:function(){return i.OAA},OLO:function(){return i.OLO},OXN:function(){return i.OXN},Ob$:function(){return i.Ob$},Om:function(){return i.Om},QDG:function(){return i.QDG},QRk:function(){return i.QRk},QmL:function(){return i.QmL},RD3:function(){return i.RD3},RGr:function(){return i.RGr},RUt:function(){return i.RUt},Ru4:function(){return i.Ru4},SI9:function(){return i.SI9},SN3:function(){return i.SN3},T9t:function(){return i.T9t},TTw:function(){return i.TTw},ToI:function(){return i.ToI},U6Q:function(){return i.U6Q},UAI:function(){return i.UAI},UGr:function(){return i.UGr},UUE:function(){return i.UUE},Uqt:function(){return i.Uqt},Uyx:function(){return i.Uyx},VHt:function(){return i.VHt},WY0:function(){return i.WY0},WjE:function(){return i.WjE},WlB:function(){return i.WlB},Wmd:function(){return i.Wmd},XAz:function(){return i.XAz},XL0:function(){return i.XL0},XXJ:function(){return i.XXJ},Xlq:function(){return i.Xlq},Y6e:function(){return i.Y6e},YAj:function(){return i.YAj},YgC:function(){return i.YgC},ZAR:function(){return i.ZAR},_5c:function(){return i._5c},_B:function(){return i._B},_B4:function(){return i._B4},a7T:function(){return i.a7T},aYX:function(){return i.aYX},bFx:function(){return i.bFx},bW$:function(){return i.bW$},bis:function(){return i.bis},cDg:function(){return i.cDg},d4W:function(){return i.d4W},dEx:function(){return i.dEx},dcm:function(){return i.dcm},eFO:function(){return i.eFO},eKt:function(){return i.eKt},e_5:function(){return i.e_5},etS:function(){return i.etS},f17:function(){return i.f17},f7T:function(){return i.f7T},fHf:function(){return i.fHf},gQq:function(){return i.gQq},h_B:function(){return i.h_B},hdb:function(){return i.hdb},hgR:function(){return i.hgR},ijo:function(){return i.ijo},imA:function(){return i.imA},iny:function(){return i.iny},iut:function(){return i.iut},jWp:function(){return i.jWp},kRk:function(){return i.kRk},lpE:function(){return i.lpE},mrS:function(){return i.mrS},muZ:function(){return i.muZ},n$y:function(){return i.n$y},nB3:function(){return i.nB3},nXq:function(){return i.nXq},nnv:function(){return i.nnv},oKJ:function(){return i.oKJ},oL$:function(){return i.oL$},p0:function(){return i.p0},pZA:function(){return i.pZA},pz3:function(){return i.pz3},qCk:function(){return i.qCk},qb$:function(){return i.qb$},qyF:function(){return i.qyF},rJb:function(){return i.rJb},rhL:function(){return i.rhL},sM3:function(){return i.sM3},saW:function(){return i.saW},sqP:function(){return i.sqP},tFu:function(){return i.tFu},uDq:function(){return i.uDq},uYE:function(){return i.uYE},vfU:function(){return i.vfU},wIw:function(){return i.wIw},wh9:function(){return i.wh9},wr9:function(){return i.wr9},wvT:function(){return i.wvT},x3i:function(){return i.x3i},xE6:function(){return i.xE6},xR2:function(){return i.xR2},xT0:function(){return i.xT0},xeQ:function(){return i.xeQ},xjx:function(){return i.xjx},yNx:function(){return i.yNx},yS7:function(){return i.yS7},yrD:function(){return i.yrD},z9q:function(){return i.z9q},zhZ:function(){return i.zhZ}});var i=n(81396)},85102:function(t,e,n){"use strict";n.d(e,{O:function(){return s},o:function(){return useStore}});var i=n(68949),r=n(46670);let s=new class{get userProfile(){return(0,i.toJS)(this.profile)}get isEnterpriseVip(){var t;return!!(null===(t=this.customerVips)||void 0===t?void 0:t.find(t=>"multi_senior"===t.alias||"multi_super"===t.alias))}get isBusiVip(){var t;return!!(null===(t=this.customerVips)||void 0===t?void 0:t.find(t=>"busi"===t.alias))}get isSuperVip(){var t;return!!(null===(t=this.customerVips)||void 0===t?void 0:t.find(t=>"super"===t.alias))}get isSeniorVip(){var t;return!!(null===(t=this.customerVips)||void 0===t?void 0:t.find(t=>"senior"===t.alias))}get isVip(){var t;return(null===(t=this.customerVips)||void 0===t?void 0:t.length)>0}constructor(){this.loginShow=!1,this.vipShow=!1,this.vipType="senior",this.vipTrackData={},this.curSearchWord="",this.profile=null,this.customerVips=[],this.permissions={},this.abConfig=!1,this.setcurSearchWord=t=>{this.curSearchWord=t},this.setLoginShow=t=>{this.loginShow=t}
1,this.setVipShow=(t,e,n)=>{this.vipShow=t,this.vipType=e||"senior",this.vipTrackData=n||{}},this.setProfile=t=>{this.profile=t},this.setCustomerVips=t=>{this.customerVips=t},this.setPermissions=t=>{this.permissions=t},this.setAbConfig=t=>{this.abConfig=t},(0,i.makeAutoObservable)(this)}},useStore=()=>{let t=(0,r.fv)(()=>s);return t}},34613:function(t,e,n){"use strict";n.d(e,{d:function(){return l}});var i=n(43651),r=n.n(i),s=n(39892),a=n(98253),o=n(68949),c=n(13886);let p=new a.DebounceClass,u={},setContainerMountCache=t=>{u[t]=!0},isContainerMount=t=>!!u[t];(0,a.random)(25).toUpperCase();let getPlatform=()=>(0,a.isPc)()?"web":(0,a.isMakaAppAndroid)()?"android":(0,a.isMakaAppIOS)()?"ios":"wap",getAppVersion=()=>{let t=(0,c.rhL)();return"".concat(t,"_").concat({preschool:"1.0.9"}[t]||"1.0.0")},l=new class{getBaseInfo(){var t,e;let n="",i="";return n=null!==(t=sessionStorage.getItem("source_type"))&&void 0!==t?t:"",i=null!==(e=sessionStorage.getItem("source_id"))&&void 0!==e?e:"",{uid:String((0,c.sqP)()),platform:getPlatform(),distinct_id:"",device_id:"",event_id:(0,a.random)(25).toUpperCase(),is_login:"",ab_test:"",source_type:n,source_id:i,version:getAppVersion()}}track_pageview(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{location:e,parent:n}=window,i=e!==n.location?document.referrer:document.location.href,r=Object.assign({event_type:"page_view",title:document.title,url:document.location.href,referrer:i,pageview_event_id:"",ref_page_inst_id:"",ref_object_type:"",ref_object_id:"",ref_object_inst_id:"",ref_event_id:"",source_type:"",source_id:""},t);this.track(r)}track_click(t){let e=Object.assign(t,{event_type:"click"});this.track(e,!0)}track_show(t){let e=Object.assign(t,{event_type:"show"});this.track(e)}track_log(t){let e=this.mergeLoggerObj(t,"editor_log");this.track(e)}track_search(t){let e=Object.assign(t,{event_type:"search"});this.track(e,!0)}track_success(t){let{no_save:e}=(0,a.queryToObj)();if(e)return;let n=Object.assign(t,{event_type:"success"});this.track(n)}constructor(){var t=this;this.handleMkTrackerMount=t=>{t.object_inst_id&&!isContainerMount(t.object_inst_id)&&(this.track_show(t),setContainerMountCache(t.object_inst_id))},this.handleElemClickDebounce=t=>{p.exec(()=>this.handleElemClick(t),100)},this.handleElemClick=t=>{var e;let n=t.target,i=[n,n.parentElement,null===(e=n.parentElement)||void 0===e?void 0:e.parentElement].filter(t=>!!t),r=i.find(t=>"true"===t.dataset.tracker);if(r){let{dataset:t}=r;try{let e=JSON.parse(t.behavior||"");Object.keys(e).length>0&&this.track_click(e)}catch(t){}}},this.track=function(e){var n;let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.parent_id||(e.parent_id=e.page_id),e.parent_type||(e.parent_type=e.page_type),e.parent_inst_id||(e.parent_inst_id=e.page_inst_id);let{parent_page_type:r,ref_page_id:s,hotword_floor_word_btn:o,page_inst_id:c}=(0,a.queryToObj)();!e.parent_page_type&&r&&(e.parent_page_type=r),!e.ref_page_id&&s&&(e.ref_page_id=decodeURIComponent(s)),!e.hotword_floor_word_btn&&o&&(e.hotword_floor_word_btn=decodeURIComponent(o)),!e.page_inst_id&&c&&(e.page_inst_id=decodeURIComponent(c)),null===(n=t._logger)||void 0===n||n.track(e,i)},this.mergeLoggerObj=(t,e)=>{let n=this.getBaseInfo();return Object.keys(t).forEach(e=>{let i=t[e];"string"==typeof i||"number"==typeof i?n[e]=i:n[e]=JSON.stringify((0,o.toJS)(i))}),n.event_type=e,n};let e=(0,a.queryToObj)();e.source_type&&e.source_id&&(sessionStorage.setItem("source_type",e.source_type),sessionStorage.setItem("source_id",e.source_id)),sessionStorage.getItem("source_type"),sessionStorage.getItem("source_id");let n=(0,s.getCurrEnv)(),i=(0,c.rhL)();this._logger=new(r())({project:i?"".concat(i,"-web-store"):"mk_web_store",version:"7.0.0",env:"prod"===n||"staging"===n?"prod":"test",baseInfo:this.getBaseInfo}),a.EventEmitter.on("mkTrackerMount",this.handleMkTrackerMount);try{window.addEventListener("click",this.handleElemClickDebounce,!1)}catch(t){}}}},15494:function(t,e,n){"use strict";var i=n(67294);let getMobileDetect=t=>{let isAndroid=()=>!!t.match(/Android/i),isIos=()=>!!t.match(/iPhone|iPad|iPod/i),isOpera=()=>!!t.match(/Opera Mini/i),isWindows=()=>!!t.match(/IEMobile/i),isSSR=()=>!!t.match(/SSR/i),isMobile=()=>!!(isAndroid()||isIos()||isOpera()||isWindows());return{isMobile,isDesktop:()=>!!(!isMobile()&&!isSSR()),isAndroid,isIos,isSSR}};e.Z=()=>{(0,i.useEffect)(()=>{},[]);let t="undefined"==typeof navigator?"SSR":navigator.userAgent;return getMobileDetect(t)}},63092:function(t){t.exports={payment_popup:"paymentpopup_v2_payment_popup__GXYoD",close:"paymentpopup_v2_close__Xs5xS",rights:"paymentpopup_v2_rights__pXLn2",right_item:"paymentpopup_v2_right_item__V8crz",right_text:"paymentpopup_v2_right_text__Tx5ss",title:"paymentpopup_v2_title__eoifa",vip_packages:"paymentpopup_v2_vip_packages__jOgDM",tabs:"paymentpopup_v2_tabs__mELjG",tab_item:"paymentpopup_v2_tab_item__gFVjt",active:"paymentpopup_v2_active__R_CAW",packages:"paymentpopup_v2_packages__RPV1C",package_item:"paymentpopup_v2_package_item__w6Bxv",busi:"paymentpopup_v2_busi__JnaP0",corner:"paymentpopup_v2_corner__8PLZh",name:"paymentpopup_v2_name__p0Ri4",price:"paymentpopup_v2_price__0oxr4",num:"paymentpopup_v2_num__GsVsM",tip:"paymentpopup_v2_tip__0qCGP",pay_tips:"paymentpopup_v2_pay_tips__rSRBF",work_buy:"paymentpopup_v2_work_buy__3e85Q",pay_type_wrap:"paymentpopup_v2_pay_type_wrap__UtHfE",total:"paymentpopup_v2_total__Ja1bs",pay_type_list:"paymentpopup_v2_pay_type_list__1YSBI",pay_type:"paymentpopup_v2_pay_type__oK8X1",tit:"paymentpopup_v2_tit__f7Z90",circle:"paymentpopup_v2_circle___m2gZ",footer
1:"paymentpopup_v2_footer__cG_BZ",discount:"paymentpopup_v2_discount__tNYgc",amount:"paymentpopup_v2_amount__M3J_Y",countdown:"paymentpopup_v2_countdown__B5uT1",time:"paymentpopup_v2_time__EUWmM",activity:"paymentpopup_v2_activity__C468d",split:"paymentpopup_v2_split__T5VOw",btns:"paymentpopup_v2_btns__5ATZj",download:"paymentpopup_v2_download__NDrwB",vip:"paymentpopup_v2_vip__XpZ14",paylist_modal:"paymentpopup_v2_paylist_modal__SuXex",paylist:"paymentpopup_v2_paylist__06Uez",pay_item:"paymentpopup_v2_pay_item__Ue3Ph",pay_info:"paymentpopup_v2_pay_info__fise_",pay_title:"paymentpopup_v2_pay_title__abORi",desc:"paymentpopup_v2_desc__fyJGv",pay_modal:"paymentpopup_v2_pay_modal__68N2t",modal_container:"paymentpopup_v2_modal_container__T0ieK",origin:"paymentpopup_v2_origin__zvjfP",package_type:"paymentpopup_v2_package_type__WXKuj",month:"paymentpopup_v2_month__8jB3F",type:"paymentpopup_v2_type__AVtl6",pay_type_title:"paymentpopup_v2_pay_type_title__DCknb",pay_button:"paymentpopup_v2_pay_button__xzokt"}}},function(t){t.O(0,[461,1466,9019,3135,965,2116,9110,5253,6595,5727,9774,2888,179],function(){return t(t.s=84029)}),_N_E=t.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.