PageSourceSearch

https://www.ankeritaly.com/_next/static/chunks/5511.1f4916face1fe27c.js

js ankeritaly.com collected 2026-09-30 12:58:31 UTC 7,029 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="abdcf205-7873-47f5-a0d5-d6b152d355af",e._sentryDebugIdIdentifier="sentry-dbid-abdcf205-7873-47f5-a0d5-d6b152d355af")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5511],{35511:function(e,l,r){"use strict";r.r(l),r.d(l,{default:function(){return h}});var n=r(52676),i=r(12306),s=r(51297),t=r(87745),a=r(87800),d=r(74284),o=r(85103),c=r(82187),u=r.n(c),m=r(37156),v=r(75271),p=r(92319),x=r.n(p),_=e=>{var l;let{data:r,copywriting:i}=e,c=null,{locale:p}=(0,m.useRouter)(),[_,h]=(0,v.useState)(""),[b,f]=(0,v.useState)(""),[g,y]=(0,v.useState)(!1),[j,N]=(0,v.useState)(!1),[w,S]=(0,v.useState)(!0),[T,M]=(0,v.useState)(""),[L,k]=(0,v.useState)(!0),[I,E]=(0,v.useState)(!1),[C,A]=(0,v.useState)(""),[D,H]=(0,v.useState)(!1),W=e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),z=async()=>{var e,l;S(!0);let r=await (0,d.Z)({url:"/api/multipass/rainbowbridge/anti-fake/verify",locale:p,method:"GET",body:{value:"",code:"",source:"qr",fwcode:C.replace(/\s/g,"")}});S(!1),N(r.errors),("fail"==r.errors||(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.code)=="success")&&k(!1),"queried"==r.errors&&(k(!1),f(null==r?void 0:null===(l=r.data)||void 0===l?void 0:l.first_queried_date))},B=e=>{let{type:l,error:r}=e;M(r||i[l]||"unknown error"),c&&clearTimeout(c),c=setTimeout(()=>{M("")},3e3)},O=async()=>{if(!_)return B({type:"fillEmail"});if(!W(_))return B({type:"errEmail"});if(!g)return B({type:"agreePolicy"});H(!0);let{register_source:e}=(0,a.m1)(),l=await (0,d.Z)({locale:p,action:"footer_subscribe",url:"/api/multipass/subscribe/subscribe_emails",method:"POST",body:{email:_,brand:o.cg,register_source:e}});H(!1),l.errors?B({error:l.errors||l.statusText}):(E(!0),c&&clearTimeout(c),c=setTimeout(()=>{E(!1)},3e3),h(""),y(!1))};return(0,n.jsxs)("section",{className:u()("layer",x().verifyWrap),children:[(0,n.jsx)("style",{children:"\n          @media (max-width: 769px) {\n            .".concat(x().verifyWrap," .solidBtn{\n              max-width: 100%;\n              margin-top: 10px;\n            }\n          }\n        ")}),(0,n.jsxs)("div",{className:"content",children:[(0,n.jsxs)("div",{className:u()(x().step1,{hidden:!L}),children:[(0,n.jsxs)("div",{className:"mx-auto mb-[2rem] max-w-[550px] text-center",children:[r.securityCodeText&&(0,n.jsx)("p",{className:"mb-[1rem] text-[19px] leading-[1.3]",dangerouslySetInnerHTML:{__html:r.securityCodeText}}),(0,n.jsxs)("div",{className:"relative flex md:flex-col",children:[(0,n.jsx)("input",{placeholder:null==r?void 0:r.placeholder,className:u()(x().inputNormal,{[x().borderError]:C&&(null==C?void 0:C.length)<19&&w}),value:C,maxLength:23,onChange:e=>{var l,r;let n=null==e?void 0:null===(r=e.target)||void 0===r?void 0:null===(l=r.value)||void 0===l?void 0:l.replace(/[^\d]/g,"");A(String(n).replace(/(\d{1})(?=(\d{5})+$)/g,"$1 ")),n.length>=16?S(!1):S(!0)}}),(0,n.jsx)("div",{className:x().btnWrap,children:(0,n.jsx)(s.zx,{className:"w-full min-md:h-full",disabled:w,onClick:z,children:null==r?void 0:r.btnText})})]})]}),(0,n.jsxs)("div",{children:[r.securityLabel&&(0,n.jsx)("p",{className:"mb-[20px]",dangerouslySetInnerHTML:{__html:r.securityLabel}}),(0,n.jsx)("div",{className:"mb-[20px] flex justify-around gap-[10px] overflow-hidden",children:null==r?void 0:null===(l=r.imgList)||void 0===l?void 0:l.map((e,l)=>(0,n.jsx)(t.t,{loading:"eager",source:"".concat(null==e?void 0:e.url," 769"),className:"aspect-w-[200] h-[165px] w-[200px] md:aspect-w-[375] md:h-[145px]"},l))}),r.content&&(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:r.content}}),(null==r?void 0:r.countryList)&&(0,n.jsx)("ul",{className:"mt-[1.5rem]",children:null==r?void 0:r.countryList.map((e,l)=>(0,n.jsx)("li",{dangerouslySetInnerHTML:{__html:e.content}},l))})]})]}),(0,n.jsxs)("div",{className:u()(x().verifyError,{"!flex":j}),children:[(0,n.jsxs)(n.Fragment,{children:[(null==r?void 0:r.gather)&&(0,n.jsx)("p",{className:"mb-[1rem] text-[26px]",dangerouslySetInnerHTML:{__html:null==r?void 0:r.gather["".concat(j)]}}),(null==r?void 0:r.gather)&&(0,n.jsx)("p",{className:"mb-[10px] text-[1rem]",dangerouslySetInnerHTML:{__html:"queried"==j?null==r?void 0:r.gather["".concat(j,"Desc")].replace("$value",b):null==r?void 0:r.gather["".concat(j,"Desc")]}})]}),r.errorBtn&&(0,n.jsx)(s.zx,{className:"mb-[10px] !h-[40px] !max-w-[250px] !leading-[40px]",onClick:()=>{k(!0),N(!1),A("")},children:r.errorBtn}),(0,n.jsxs)("div",{className:"mx-auto mt-[1.5rem] max-w-[400px]",children:[(null==r?void 0:r.subscribeTips)&&(0,n.jsx)("p",{className:"mb-[2px] text-[14px] text-[#999]",dangerouslySetInnerHTML:{__html:r.subscribeTips}}),(0,n.jsxs)("div",{className:"relative mb-[0.75rem] overflow-hidden",children:[(0,n.jsx)("input",{placeholder:null==r?void 0:r.subscribePlaceholder,className:x().input,value:_,onCh
1ange:e=>h(e.target.value)}),(0,n.jsx)("button",{type:"submit",className:x().submit,disabled:D,onClick:O,children:null==r?void 0:r.subscribeBtn})]}),(0,n.jsx)("div",{className:"py-[1rem] text-center",children:(0,n.jsxs)("label",{className:"flex",children:[(0,n.jsx)("span",{children:(0,n.jsx)("input",{type:"checkbox",checked:g,readOnly:!0,onChange:e=>y(e.target.checked)})}),(0,n.jsx)("span",{className:"mt-[-2px] inline-block",dangerouslySetInnerHTML:{__html:r.policyBox}})]})}),(0,n.jsx)("p",{className:u()(x().errorTips,{[x().errorActive]:T}),children:T}),(0,n.jsx)("p",{className:u()(x().errorTips,{[x().successActive]:I}),children:null==i?void 0:i.footerSuccess})]})]})]})]})},h=e=>{var l,r,s,t,a,d,o,c;let{page:u,shop:m}=e,v=null==u?void 0:null===(r=u.metafields)||void 0===r?void 0:null===(l=r.component)||void 0===l?void 0:l._order,p=(null==m?void 0:null===(t=m.metafields)||void 0===t?void 0:null===(s=t.settings)||void 0===s?void 0:s.common)||{},x=(null==m?void 0:null===(d=m.metafields)||void 0===d?void 0:null===(a=d.common)||void 0===a?void 0:a.copywriting)||{},h=(null==m?void 0:null===(c=m.metafields)||void 0===c?void 0:null===(o=c.reviews)||void 0===o?void 0:o.judgeme)||{};return(0,n.jsx)(n.Fragment,{children:(null==v?void 0:v.map(e=>{var l,r;let s=null==e?void 0:e.split("_")[0],t=null==u?void 0:null===(r=u.metafields)||void 0===r?void 0:null===(l=r.component)||void 0===l?void 0:l.content;if(!t)return null;let a={...(0,i.mz)(p),...t,...h};if("content"===s)return(0,n.jsx)(_,{data:a,copywriting:x},e)}))||null})}},92319:function(e){e.exports={inputNormal:"Main_inputNormal__Y_Gvb",step1:"Main_step1__fXA4L",btnWrap:"Main_btnWrap__OSRD2",borderError:"Main_borderError__OwlcC",verifyWrap:"Main_verifyWrap__wP91C",verifyError:"Main_verifyError__SOdM_",input:"Main_input__In7DK",submit:"Main_submit__gURDK",errorTips:"Main_errorTips__E_ePS",errorActive:"Main_errorActive__UccSr",successActive:"Main_successActive__6W0rg"}}}]);

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.