PageSourceSearch

https://www.mi.co.id/sgp/spps_files/store/0.56.12/js/EditableEvent.chunk.js

js mi.co.id collected 2026-09-30 19:15:03 UTC 22,495 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["31505"],{56344:function(e,t,n){n.d(t,{X:()=>d,o:()=>s});var o=n(34779),r=n(48785),i=n(81845),a=n(25228),l=n(81848);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var c=(0,r.o)(v),s=(0,o.createContext)(c);function d(e){var t,n=e.siteConfig,r=e.isAutoFetch,d=e.children,f=(0,a.ag)(),m=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(c))||function(e,t){var n,o,r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return u(e,2);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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),p=m[0],g=m[1];function y(e){var t=e.data,n=e.errmsg,o=e.errno;return{data:v(t||{}),errMsg:String(n),errNo:Number(o)}}var h={url:"".concat(n.goSite,"/cart/add"),method:"GET",basicParams:{from:"mobile"===f?"mobile":"pc"},withCredentials:!0},b=(0,l.u)(h);return o.createElement(i.h,{context:s,setState:g,defaultValue:c,adapterError:function(e){return y(e)},adapter:y,value:p,siteConfig:n,isAutoFetch:!0===r,ajaxConfig:b},d)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{cartData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{totalWithoutGift:e.totalWithoutGift||0}}(e.cartdata||{totalWithoutGift:0})}}},37667:function(e,t,n){n.d(t,{VQ:()=>p,Wg:()=>m,t5:()=>g});var o,r,i=n(34779),a=n(48785),l=n(81845),u=n(20651),c=n(20242),s=n(9970);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var v={data:(null===(o=window.__PRELOADED_STATE__)||void 0===o?void 0:o.pagedata)||{},ajaxStatus:(null===(r=window.__PRELOADED_STATE__)||void 0===r?void 0:r.pagedata)?"success":"unsent",getServiceSuccess:!1},f=(0,a.o)(g,v),m=(0,i.createContext)(f);function p(e){var t,n=e.siteConfig,o=e.isAutoFetch,r=e.children,a=function(e){if(Array.isArray(e))return e}(t=(0,i.useState)(f))||function(e,t){var n,o,r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return d(e,2);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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=a[0],s=a[1];function p(e){var t=e.data,n=e.errmsg,o=e.errno;return{data:g(t||{},!0),errMsg:String(n),errNo:Number(o)}}var y=Number((0,u.W)("publishId")||0),h={url:"".concat(n.goSite,"/v2/cms/event/get"),method:"GET",basicParams:Object.assign({from:"web",cacheable:1},y?{publishId:y}:{}),withCredentials:!0,retryOptions:{maxRetryAttempts:2,scalingDuration:2500}};return i.createElement(l.h,{context:m,setState:s,defaultValue:f,adapterError:function(e){return p(Object.assign({},e,{data:v.data,errmsg:"",errno:0}))},adapter:p,value:c,siteConfig:n,isAutoFetch:!0===o,ajaxConfig:h},r)}function g(){var e,t,n,o,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;return{pageInfo:(0,s.cA)(r.pageInfo||{}),layouts:(0,s.$T)(r.layouts||[],!i),seo:(0,s.t3)(r.seo||{}),footnote:(0,c.z)((null===(e=JSON.parse((null===(o=Array.from(r.layouts||[]).find(function(e){var t,n;return(null==e?void 0:null===(n=e.children)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.name)==="footnote"}))||void 0===o?void 0:null===(n=o.children)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.extstr)||"[]"))||void 0===e?void 0:e.data)||[])}}},84501:function(e,t,n){n.r(t),n.d(t,{default:()=>V});var o=n(34779),r=n(66786),i=n(86349),a=n(30515);function l(e){return o.createElement(a.V,e)}var u=n(33678),c=n(94184),s=n.n(c),d=n(37667),v=n(5232),f=n(34598),m=n(25228),p=n(65609),g=n(12986),y=n(32195),h=n(83524),b=n(86690),S=n(38791),E=n(13358),O=n(48971);function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function I(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);
1"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){var o;o=n[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o})}return e}function x(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n.push.apply(n,o)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,o,r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}}(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(n);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.")}()}var C=["index","web/index","web/store","store","poco","points-center","benefits","benefits/spotify","benefits/airport-vip","benefits/grab","benefits/starbucks","benefits/iqiyi","benefits/international-traffic"],N=["ribbon-ads","carousel-banner","featured-tabs","explore-xiaomi","exclusive-offers","support-web-home"],k=function(e){var t=e.el,n=e.index,r=e.subIndex,i=e.id,a=e.classModify,u=e.otModule,c=e.layoutIndex,s=e.handleOtClick,d=e.handleOtExpose,v=e.onLoadComplete,f=o.useCallback(function(e){return s(e,n,r)},[s,n,r]),m=o.useCallback(function(e,t){return d(e,n,t)},[d,n]);return o.createElement(l,x(w({},t),{id:i,otClick:f,otExpose:m,otModule:u,classModify:a,layoutIndex:c,onLoadComplete:v}))};function j(e){var t,n,r,a,l,c=e.cmsPath,A=e.doNotReportPageView,j=void 0!==A&&A,D=e.onGetDataSuccess,M=e.customStyle,R=e.CmsGetPageDataContext,L=void 0===R?d.Wg:R,P=(0,o.useContext)(L),W=(0,o.useContext)(v.G4),J=(0,f.oW)(),G=(0,f.aU)(),U=(0,f.YB)(),B=(0,i.useLocation)(),F=B.pathname,H=B.hash,V=(0,f.Sz)(),$=(0,m.ag)(),z=(0,f.Vi)(),Z=(0,p.Nr)(),X=V?(0,d.t5)(z,!1):P.data,Q=x(w({},X),{layouts:(t=X.layouts,n=!1,t.filter(function(e){return!e.onlyOne||!n&&(n=!0)}))}),Y=_((0,o.useState)(!0),2),q=Y[0],K=Y[1],ee=(0,o.useRef)(!1),et="".concat(g.LH.get("xm_user_bucket")||-1),en=(0,o.useMemo)(function(){return"success"===P.ajaxStatus?Array(Q.layouts.length).fill(1).map(function(){return(0,o.createRef)()}):[]},[P.ajaxStatus]),eo=(0,o.useMemo)(function(){return"success"===P.ajaxStatus?Array(Q.layouts.length).fill(1):[]},[P.ajaxStatus]),er=(0,o.useMemo)(function(){return"success"===P.ajaxStatus?Array(Q.layouts.length).fill(1):[]},[P.ajaxStatus]),ei=_((0,o.useState)(0),2),ea=ei[0],el=ei[1],eu=ea>=(0,o.useMemo)(function(){return Q.layouts.reduce(function(e,t){return e+t.children.length},0)},[Q.layouts]),ec=(0,o.useCallback)(function(){el(function(e){return e+1})},[el]),es=(0,o.useMemo)(function(){var e,t=Q.pageInfo,n=_(Q.layouts,1)[0];return"poco"===t.path&&(null==n?void 0:n.margin)==="none-sticky-header"&&(null==n?void 0:n.children[0].name)==="poco-nav"?"calc(-1 * var(--poco-nav-height))":(null===(e=t.extends)||void 0===e?void 0:e.isShowNav)?"calc(-1 * var(--header-height))":"0"},[Q]),ed=(0,o.useMemo)(function(){var e,t,n=Q.pageInfo,o=_(Q.layouts,2),r=o[0],i=o[1];return"poco"===n.path&&(null==r?void 0:r.margin)==="none-sticky-header"&&(null==r?void 0:null===(e=r.children[0])||void 0===e?void 0:e.name)==="poco-nav"&&(null==i?void 0:null===(t=i.children[0])||void 0===t?void 0:t.name)==="carousel-banner"||"calc(-1 * var(--header-height))"},[Q]),ev=(0,o.useMemo)(function(){return"support"===(F.replace("/index.html","").slice(1).replace(/^\/|\/$/g,"")||"index")&&(0,y.j1)()&&40917===Number(g.LH.get("IOSVERSION"))},[F]),ef=(0,h.r)("moe"),em=(null!==O.yv&&void 0!==O.yv?O.yv:ef)==="true";(0,o.useEffect)(function(){var e=F.replace("/index.html","").slice(1)||"index";!V&&(e||c)&&P.getService({params:{path:c||e}},function(e){var t=(null==e?void 0:e.data.seo.title)||"";t&&(document.title=t),H||q||window.scrollTo(0,0);var n=((null==e?void 0:e.data.pageInfo.path)||"").replace(/\//g,"_");
1if(!j&&e){var o=e.data.pageInfo,r=o.path,i=void 0===r?"":r,a=o.pageType,l=C.includes(i)||"event"===(void 0===a?"":a)?n:107;(0,b.otView)({tip:{b:l,e:16718,d:"points-center"===i&&Z?1:0},isOpenGA:!0,pageType:n}),(0,b.pubSubPush)({eventName:"page_view",pageType:n,tips:"16.".concat(n,".0.0.16718")})}K(!1),"function"==typeof D&&D()})},[F]);var ep=(0,o.useCallback)(function(e,t,n,o){var r,i,a,l,u,c,s,d,v,f,m,p,g,y,h,b,S,E,O,A,I,_,C,N,k,j,T,D=Object.assign(e.tip||{},{e:t}),M=Q.layouts[n].children[o]||{},R=Object.assign({},e,{event:e.event||"",tip:D,assetLink:e.assetLink||"",linkUrl:e.linkUrl||e.link||(null==M?void 0:null===(i=M.buttons)||void 0===i?void 0:null===(r=i[0])||void 0===r?void 0:r.gotoUrl)||"",elementName:e.elementName||(null==M?void 0:null===(l=M.buttons)||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:a.text)||(null==M?void 0:M.subtitle)||"",elementTitle:e.elementTitle||(null==M?void 0:M.title)||"",spuId:e.spuId||(null==M?void 0:null===(c=M.goods)||void 0===c?void 0:null===(u=c[0])||void 0===u?void 0:u.spuId)||"",productId:e.productId||(null==M?void 0:null===(d=M.goods)||void 0===d?void 0:null===(s=d[0])||void 0===s?void 0:s.productId)||"",goodsId:e.goodsId||"",itemId:e.goodsId||"",groupingName:e.groupingName||(null===(v=Q.layouts[n])||void 0===v?void 0:v.groupName)||""});return e.event&&"select_item"===e.event&&(R=Object.assign({},e,{event:e.event||"",moeEnable:em,tip:D,assetLink:e.assetLink||"",linkUrl:e.linkUrl||e.link||(null==M?void 0:null===(A=M.buttons)||void 0===A?void 0:null===(O=A[0])||void 0===O?void 0:O.gotoUrl)||"",elementName:e.elementName||(null==M?void 0:null===(_=M.buttons)||void 0===_?void 0:null===(I=_[0])||void 0===I?void 0:I.text)||(null==M?void 0:M.subtitle)||"",elementTitle:e.elementTitle||(null==M?void 0:M.title)||"",spuId:e.spuId||(null==M?void 0:null===(N=M.goods)||void 0===N?void 0:null===(C=N[0])||void 0===C?void 0:C.spuId)||"",productId:e.productId||(null==M?void 0:null===(j=M.goods)||void 0===j?void 0:null===(k=j[0])||void 0===k?void 0:k.productId)||"",goodsId:e.goodsId||"",itemId:e.goodsId||"",groupingName:e.groupingName||(null===(T=Q.layouts[n])||void 0===T?void 0:T.groupName)||""})),Object.assign({},w({},R),e.event?{ecommerce:x(w({},R),{items:[{price:(null==M?void 0:null===(m=M.goods)||void 0===m?void 0:null===(f=m[0])||void 0===f?void 0:f.salePrice)||void 0,quantity:e.goodsId||(null==M?void 0:null===(g=M.goods)||void 0===g?void 0:null===(p=g[0])||void 0===p?void 0:p.name)?1:0,itemId:e.goodsId||"undefined",itemName:e.itemName||(null==M?void 0:null===(h=M.goods)||void 0===h?void 0:null===(y=h[0])||void 0===y?void 0:y.name)||"undefined",itemListName:(null==M?void 0:M.name)||void 0,index:Number(e.tip.d||o+1||0),promotionId:e.promotionId||void 0,promotionName:e.promotionName||void 0,creativeName:e.creativeName||(null==M?void 0:null===(E=M.images)||void 0===E?void 0:null===(S=E[0])||void 0===S?void 0:null===(b=S.src)||void 0===b?void 0:b[$])||void 0,creativeSlot:String(e.creativeSlot||1),itemCategory:e.itemCategory||void 0,itemCategory2:e.itemCategory2||void 0,itemCategory3:e.itemCategory3||void 0}]})}:{})},[Q.layouts,$]),eg=(0,o.useCallback)(function(e,t,n){var o=ep(e,16719,t,n);e.event&&"click"!==e.event?((0,b.otClick)(o),(0,b.otEcommerce)(o)):(0,b.otClick)(Object.assign({},o,{isOpenGA:!0}))},[b.otClick,b.otEcommerce,ep]),ey=(0,o.useCallback)(function(e,t,n){var o=_((n||"|-").split("|"),2)[1],r=ep(e,16756,t,Number(_((o||"-").split("-"),1)[0]||0)-1);return e.event&&"expose"!==e.event?Object.assign({},r,{isOpenGA:!0,eventType:"ecommerce"}):Object.assign({},r,{isOpenGA:!0})},[ep]);(0,o.useEffect)(function(){var e,t;return!V&&"success"===P.ajaxStatus&&eu&&(e=null===(t=window)||void 0===t?void 0:t.setTimeout(function(){en.forEach(function(e,t){e.current&&(eo[t]=(0,b.otExposeWith)({isInfinite:!1,exposeThreshold:.3,targetNodeWrapper:e.current,targetNodeSelector:"[data-ot-expose]"},function(e,n){var o;return ey(e||{},t,String((null==e?void 0:null===(o=e.tip)||void 0===o?void 0:o.c)||""))}),er[t]=(0,b.pubSubExposeWith)({isInfinite:!1,exposeThreshold:.3,targetNodeWrapper:e.current,targetNodeSelector:"[data-ps-expose]"},function(e,n){var o;return ey(e||{},t,String((null==e?void 0:null===(o=e.tip)||void 0===o?void 0:o.c)||""))}))})},300)),function(){clearTimeout(e),eo.forEach(function(e){return I(e,IntersectionObserver)&&e.disconnect()}),er.forEach(function(e){return I(e,IntersectionObserver)&&e.disconnect()})}},[P.ajaxStatus,eu]),(0,o.useEffect)(function(){var e,t;(null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.hash)&&!ee.current&&setTimeout(function(){var e=window.location.href;window.location.href=e,ee.current=!1},500)},[null===(a=window)||void 0===a?void 0:null===(r=a.location)||void 0===r?void 0:r.hash]);var eh=(0,o.useCallback)(function(e,t,n,o){var r=P.data.pageInfo,i=r.pageType,a=r.path,l=e.name,u=e.id,c=e.style;return"event"===i||["poco","web/store","store"].includes(a)?"".concat(t+1,"_").concat(n):N.includes(l)?"".concat(t+1,"_").concat(l):"".concat(u,"-").concat(c,"|").concat(o+1,"-").concat(n)},[null===(l=P.data)||void 0===l?void 0:l.pageInfo]),eb=(0,o.useCallback)(function(e){return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:(0,S.hA)(),item:"".concat(J.wwwSite.pc,"/")},{"@type":"ListItem",position:2,name:e}]}},[G]);return(0,o.useEffect)(function(){if(F.includes("points-center")){var e=eb(U.get("a2df81e71c8f04a65e8a596e0988ff9f"));(0,S.td)(e)}},[eb]),o.createElement(E.ZQ,null,o.createElement("main",{className:s()("site-main","editable-event",ev?(0,y.hw)()?"site-main-ios-x-support":"site-main-ios-support":""),style:M},Array.from(Q.layouts).map(function(e,t){var n=e.id,r=e.name,i=e.style,a=e.gray,l=e.margin,c=!a||0===a.buckets.length||!V&&a&&a.buckets.length>0&&a.buckets.includes(et);return o.createElement(o.Fragment,{key:"fragment-".concat(n,"-").concat(t)},V&&a&&a.buckets.length>0?"@@__forSSR:<__@@!-- spps:content-bucket:".concat(a.buckets," --@@__forSSR:>__@@"):null,c&&o.createElement(u.I,{key:"".concat(n,"-").concat(t),index:t,groupName:e.groupName,margin:(null==W?void 0:W.isWebStorePage)?"none-sticky-bottom"===l?l:"none":l,style:i,ref:en[t],extClassName:"carousel-banner"===r&&ed&&1===t?"mt-0":"",addonAfter:o.createElement(T,{id:n,translateY:es})},Array.from(e.children).map(function(r,i){return o.createElement(k,{key:"".concat(t,"-").concat(i),el:r,id:n,index:t,subIndex:i,handleOtClick:eg,handleOtExpose:ey,otModule:eh(e,t,r.name,i),layoutIndex:t,onLoadComplete:ec})})),V&&a&&a.buckets.length>0?"@@__forSSR:<__@@!-- spps:content-bucket:".concat(a.buckets," --@@__forSSR:>__@@"):null)})))}function T(e){var t=e.id,n=e.translateY;
1return t?o.createElement("a",{id:"".concat(t),style:{top:"".concat(n),display:"block",visibility:"hidden",position:"absolute",height:"0",zIndex:"-10"},"aria-hidden":!0}):o.createElement(o.Fragment,null)}var D=n(10826),M=n(9970),R=n(56344),L=n(63878),P=n(12317),W=n(33234);function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function G(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,o,r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return J(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(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 U(){var e,t,n=(0,f.z1)(),i=(0,o.useContext)(d.Wg),a=G((0,o.useState)(!1),2),l=a[0],u=a[1],c=(0,f.oW)();return(0,o.useEffect)(function(){if(i.getServiceSuccess&&"success"===i.ajaxStatus&&!i.data.layouts.length&&window.location.assign("".concat(c.wwwSite.pc,"/errors/404")),i.getServiceSuccess&&"success"===i.ajaxStatus){var e;u((null===(e=i.data.pageInfo.extends)||void 0===e?void 0:e.isShowNav)===1)}},[i.ajaxStatus]),o.createElement(v.tO,{value:(null==i?void 0:null===(e=i.data)||void 0===e?void 0:e.pageInfo)||{}},o.createElement(o.Fragment,null,o.createElement(L.Z,null),o.createElement(r.h,{isShowNotification:!1,isShowHeaderFooter:l}),o.createElement(P.Z,{tag:"h1"},n.title),o.createElement(j,{CmsGetPageDataContext:d.Wg,customStyle:{background:(null===(t=i.data.pageInfo.extends)||void 0===t?void 0:t.bgColor)||"transparent"}}),o.createElement(D.$,{footnote:i.data.footnote})))}var B=["points-review"];function F(){var e,t,n,i=(0,f.oW)(),a=(0,f.z1)(),l=G((0,o.useState)(!1),2),u=l[0],c=l[1],s=G((0,o.useState)(!0),2),d=s[0],m=s[1],p=(0,y.Mu)(),g=(0,o.useContext)(M.__),h=(0,o.useCallback)(function(){c(!0)},[]),b=(0,o.useMemo)(function(){var e,t;return{background:(null===(t=g.data)||void 0===t?void 0:null===(e=t.pageInfo)||void 0===e?void 0:e.path)==="poco"?"var(--poco-bg-color)":""}},[null===(t=g.data)||void 0===t?void 0:null===(e=t.pageInfo)||void 0===e?void 0:e.path]);return(0,o.useEffect)(function(){g.getServiceSuccess&&"success"===g.ajaxStatus&&!g.data.layouts.length&&window.location.assign("".concat(i.wwwSite.pc,"/errors/404")),g.getServiceSuccess&&"success"===g.ajaxStatus&&m(!(p&&B.find(function(e){var t,n;return null===(n=g.data)||void 0===n?void 0:null===(t=n.pageInfo)||void 0===t?void 0:t.path.includes(e)})))},[g.ajaxStatus]),o.createElement(v.tO,{value:(null==g?void 0:null===(n=g.data)||void 0===n?void 0:n.pageInfo)||{}},o.createElement(o.Fragment,null,o.createElement(L.Z,null),o.createElement(r.h,{hasReportedView:u,isShowHeaderFooter:d}),o.createElement(P.Z,{tag:"h1"},a.title),o.createElement(j,{CmsGetPageDataContext:M.__,onGetDataSuccess:h,customStyle:b}),o.createElement(D.$,{footnote:g.data.footnote})))}function H(){var e=(0,i.useLocation)();return(0,o.useMemo)(function(){return/\/event/i.test(null==e?void 0:e.pathname)},[e])?o.createElement(U,null):o.createElement(F,null)}function V(){var e=(0,f.oW)();return(0,W.h)(),o.createElement(M.hP,{siteConfig:e},o.createElement(d.VQ,{siteConfig:e},o.createElement(R.X,{siteConfig:e},o.createElement(H,null))))}},33234:function(e,t,n){n.d(t,{h:()=>o});function o(){window.MiStoreHybrid||function(){var e,t=void 0!=window.webkit&&void 0!=window.webkit.messageHandlers&&void 0!=window.webkit.messageHandlers.MiStoreJsBridge,n=void 0!=window.MiStoreJsBridge;function o(e,o){var r;return JSON.parse(t?prompt(JSON.stringify({lookup:[e,o]}),"MiStoreJsBridge"):n?MiStoreJsBridge.lookup(e,o):"{}")}
1var r=(e=0,function(t,n,o){if(!o)return null;var r=t+n+ ++e;return window[r]=function(e){var t;o(r.startsWith("Permission")?l(e):JSON.parse(e))},r}),i={location:["android.permission.ACCESS_FINE_LOCATION","android.permission.ACCESS_COARSE_LOCATION"],camera:["android.permission.CAMERA"],storage:["android.permission.READ_EXTERNAL_STORAGE","android.permission.WRITE_EXTERNAL_STORAGE","android.permission.READ_MEDIA_IMAGES","android.permission.READ_MEDIA_VIDEO","android.permission.READ_MEDIA_AUDIO"],phone:["android.permission.READ_PHONE_STATE"],calendar:["android.permission.READ_CALENDAR","android.permission.WRITE_CALENDAR"],microphone:["android.permission.RECORD_AUDIO"],contacts:["android.permission.READ_CONTACTS"]};function a(){this.set=[]}function l(e){var t=e;if("string"==typeof e&&(t=JSON.parse(e)),void 0==t||void 0==t.content)return t;var n=new a;try{var o=t.content;o.denied.forEach(function(e){n.add(function(e){var t="";e:for(var n in i){var o=i[n],r=!0,a=!1,l=void 0;try{for(var u,c=o[Symbol.iterator]();!(r=(u=c.next()).done);r=!0)if(u.value===e){t=n;break e}}catch(e){a=!0,l=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw l}}}return t}(e))}),o.denied=Array.from(n.set),t.content=o}catch(t){return JSON.parse(e)}return t}a.prototype.add=function(e){-1===this.set.indexOf(e)&&this.set.push(e)},window.MiStoreHybrid={lookup:o,invoke:function(e,o,a,u){var c,s,d,v=null==(s=a)?null:"string"==typeof s?s:JSON.stringify(s),f="string"==typeof u?u:r(e,o,u);if(t)d=prompt(JSON.stringify({invoke:[e,o,v,f]}),"MiStoreJsBridge");else if(n){if("Permission"==e){return c=[],a.forEach(function(e){c=c.concat(i[e])}),v=JSON.stringify(c),l(d=MiStoreJsBridge.invoke(e,o,v,f))}d=MiStoreJsBridge.invoke(e,o,v,f)}else d="{}";return JSON.parse(d)},isFeatureAvailable:function(e,t){return 0==o(e,t).code},isIos:t,isMiStoreJsBridge:t||"undefined"!=typeof MiStoreJsBridge}}()}}}]);

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.