PageSourceSearch

https://www.ankersolix.com/_next/static/chunks/88595.b41c74d79079cd9e.js

js ankersolix.com collected 2026-09-25 18:37:41 UTC 8,911 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]="51ff6a5a-1e66-44a9-9fa9-e0e16fc984a0",e._sentryDebugIdIdentifier="sentry-dbid-51ff6a5a-1e66-44a9-9fa9-e0e16fc984a0")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[88595,28293,39434],{39434:function(e,l,t){t.r(l),t.d(l,{safePlayVideo:function(){return c}});var o=t(52676),i=t(82187),n=t.n(i),d=t(29767),s=t(75271),r=t(29863);let a=e=>{if(!e)return"";let l=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return l?l[1]:""},u=e=>!!e&&!!a(e),c=(e,l)=>{if(e)try{e.currentTime=0,e.play().catch(e=>{"NotAllowedError"===e.name&&l&&l(!0)})}catch(e){l&&l(!0)}};l.default=function(e){let{item:l,className:t="",divClass:i="",inViewPlayFlag:v=!0,autoPlay:p=!1,preload:m="none",imgLoading:f="lazy",hidePc:x=!1,hideMb:b=!1,renderMaxW:h=1920,id:j="",index:y=0}=e,[w,g]=(0,s.useState)(!1),[N,k]=(0,s.useState)(!1),[S,z]=(0,s.useState)(!1),C=(0,s.useRef)(null),E=(0,s.useRef)(null),M=(0,s.useRef)(null),L=()=>window.innerWidth<1024?E.current:C.current,P=u(null==l?void 0:l.youtubeUrl),Z=a(null==l?void 0:l.youtubeUrl);(0,s.useEffect)(()=>{if(!v||!(null==l?void 0:l.videoSrc)||!M.current||P)return;let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&c(L(),k)})},{threshold:.25});e.observe(M.current);let t=()=>{if(p)return;let e=L();e&&c(e,k)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),e.disconnect()}},[p,v,null==l?void 0:l.videoSrc,P]);let _=()=>{k(!1),c(L(),k)};(0,s.useEffect)(()=>{if((null==l?void 0:l.loop)===!1&&(null==l?void 0:l.videoSrc)&&!P){let e=()=>{g(!0)},l=C.current,t=E.current;return l&&l.addEventListener("ended",e),t&&t.addEventListener("ended",e),()=>{l&&l.removeEventListener("ended",e),t&&t.removeEventListener("ended",e)}}},[null==l?void 0:l.loop,null==l?void 0:l.videoSrc,P]);let I=()=>{z(!0)};return(0,o.jsxs)("div",{ref:M,className:n()("relative w-full",i,{"cursor-pointer":null==l?void 0:l.onButtonClick}),onClick:e=>{(null==l?void 0:l.onButtonClick)&&l.onButtonClick(l,e,null==l?void 0:l.buttonType)},children:[P?(()=>{if(!P||!Z)return null;let e=(null==l?void 0:l.videoSrcPoster)||"https://img.youtube.com/vi/".concat(Z,"/maxresdefault.jpg"),i="https://www.youtube.com/embed/".concat(Z,"?autoplay=1&rel=0&modestbranding=1").concat((null==l?void 0:l.loop)!==!1?"&loop=1&playlist=".concat(Z):"");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(d.Z,{source:e,alt:"YouTube video thumbnail",loading:f,imgClassName:"size-full object-cover",className:n()("size-full object-cover",t,{"opacity-0":S})}),S?(0,o.jsx)("iframe",{className:n()("absolute inset-0 size-full",t),src:i,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):(0,o.jsx)("button",{onClick:I,className:"absolute left-1/2 top-1/2 z-10 flex size-16 -translate-x-1/2 -translate-y-1/2 transform items-center justify-center rounded-full bg-black/20 transition-all hover:bg-black/30","aria-label":"play YouTube video",children:(0,o.jsx)(r.Z,{className:"size-8 text-white"})}),(null==l?void 0:l.isLastPicture)&&w&&(0,o.jsx)(d.Z,{loading:f,source:null==l?void 0:l.isLastPicture,className:"absolute left-0 top-0 z-[2] size-full object-cover",imgClassName:"w-full h-full object-cover"})]})})():(null==l?void 0:l.videoSrc)||(null==l?void 0:l.videoSrcMb)?(0,o.jsxs)(o.Fragment,{children:[!x&&(0,o.jsxs)("video",{ref:C,preload:m,className:n()("video-pc w-full object-cover l:hidden",t),poster:null==l?void 0:l.videoSrcPoster,playsInline:!0,loop:(null==l?void 0:l.loop)===void 0||(null==l?void 0:l.loop),muted:!0,autoPlay:p,children:[(null==l?void 0:l.videoM3u8)&&(0,o.jsx)("source",{src:null==l?void 0:l.videoM3u8,type:"application/x-mpegURL"}),(null==l?void 0:l.videoSrc)&&(0,o.jsx)("source",{src:null==l?void 0:l.videoSrc,type:"video/mp4"})]}),!b&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("video",{ref:E,preload:m,className:n()("video-mb w-full object-cover  min-l:hidden",t),poster:null==l?void 0:l.videoSrcPosterMb,playsInl
1ine:!0,loop:(null==l?void 0:l.loop)===void 0||(null==l?void 0:l.loop),muted:!0,autoPlay:p,children:[((null==l?void 0:l.videoM3u8Mb)||(null==l?void 0:l.videoM3u8))&&(0,o.jsx)("source",{src:(null==l?void 0:l.videoM3u8Mb)||(null==l?void 0:l.videoM3u8),type:"application/x-mpegURL"}),((null==l?void 0:l.videoSrcMb)||(null==l?void 0:l.videoSrc))&&(0,o.jsx)("source",{src:(null==l?void 0:l.videoSrcMb)||(null==l?void 0:l.videoSrc),type:"video/mp4"})]}),N&&(0,o.jsx)(r.Z,{onClick:()=>{_()},className:"absolute left-[50%] top-[50%] z-[2] size-[25px] translate-x-[-50%] translate-y-[-50%] object-cover"})]}),(null==l?void 0:l.isLastPicture)&&w&&(0,o.jsx)(d.Z,{loading:f,source:null==l?void 0:l.isLastPicture,className:"absolute left-0 top-0 z-[2] size-full object-cover",imgClassName:"w-full h-full object-cover"})]}):(0,o.jsx)(d.Z,{loading:f,className:n()("h-full w-full object-cover",t),imgClassName:n()("h-full w-full object-cover",t),source:"".concat(null==l?void 0:l.videoSrcPoster,", ").concat((null==l?void 0:l.videoSrcPosterMb)||(null==l?void 0:l.videoSrcPoster)," 1024"),renderMaxW:h}),(null==l?void 0:l.mask)&&(0,o.jsx)(d.Z,{className:"absolute left-0 top-0 z-[2] size-full object-cover",source:"".concat(null==l?void 0:l.mask,", ").concat((null==l?void 0:l.maskMobile)||(null==l?void 0:l.mask)," 1024")})]})}},28293:function(e,l,t){t.r(l);var o=t(52676),i=t(82187),n=t.n(i),d=t(51733),s=t.n(d),r=t(75271),a=t(71506),u=t(39434);let c=e=>{var l;let{data:t,tabClick:i,curId:d,className:s,curInfo:r}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:n()("relative flex w-full gap-[20px]  l:justify-center l:gap-0",s),children:(null==t?void 0:t.list)&&(null==t?void 0:null===(l=t.list)||void 0===l?void 0:l.map((e,l)=>(0,o.jsxs)("div",{onClick:()=>{i(null==e?void 0:e.id,null==e?void 0:e.label)},className:n()("relative z-[2] flex-1 flex-shrink-0 cursor-pointer "),children:[(0,o.jsx)("div",{className:n()("border-b-[2px] px-[16px] pb-[16px] md:h-full l:px-[6px] l:pb-[12px]",d===(null==e?void 0:e.id)?"border-[#00BEFA]":"border-[#5B2F2F]/20"),children:(0,o.jsx)(a.Z,{className:n()("text-[16px] leading-[24px] md:text-[14px] md:leading-[18px]",d===(null==e?void 0:e.id)?"font-[700] text-black ":"font-[600] text-[#353535]"),html:null==e?void 0:e.label})}),(null==e?void 0:e.desc)&&(0,o.jsx)(a.Z,{className:n()("mt-[20px] text-[16px] leading-[24px] md:hidden ",d===(null==e?void 0:e.id)?"font-[600] text-[#1D1D1F] ":"font-[600] text-[#86868C]"),html:null==e?void 0:e.desc})]},l+(null==e?void 0:e.label))))}),(0,o.jsx)(a.Z,{className:n()("mt-[20px] text-left text-[14px] font-[600] leading-[24px] text-[#1D1D1F] min-md:hidden"),html:null==r?void 0:r.desc})]})};l.default=function(e){var l,t;let{data:i,id:d,pageHandle:v}=e,[p,m]=(0,r.useState)(null==i?void 0:null===(t=i.list)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.id),f=(0,r.useMemo)(()=>{var e;return null==i?void 0:null===(e=i.list)||void 0===e?void 0:e.find(e=>(null==e?void 0:e.id)===p)},[p]);return(0,o.jsx)("div",{className:n()("layer bg-[#fff] py-[90px] md:px-0 l:py-[40px]"),id:d,children:(0,o.jsxs)("div",{className:"content text-center",children:[(null==i?void 0:i.desc)&&(0,o.jsx)(a.Z,{html:null==i?void 0:i.desc,className:n()(null===s()||void 0===s()?void 0:s().desc,"!text-[#86868C] md:px-[24px]")}),(null==i?void 0:i.title)&&(0,o.jsx)(a.Z,{html:null==i?void 0:i.title,className:n()(null===s()||void 0===s()?void 0:s().title,"mt-[12px] md:px-[24px]")}),(0,o.jsx)("div",{className:"mt-[20px] w-full",children:(0,o.jsx)(u.default,{id:d,index:p,item:{...f,autoPlay:!1},divClass:"aspect-w-[1280] aspect-h-[540] md:aspect-w-[780] md:aspect-h-[560]"},"".concat(null==f?void 0:f.videoSrc,"-").concat(null==f?void 0:f.videoSrcMb,"-").concat(p))}),(null==i?void 0:i.list)&&(0,o.jsx)("div",{className:"mt-[25px] w-full md:px-[24px]",children:(0,o.jsx)(c,{data:i,tabClick:(e,l)=>{m(e),window.dataLayer.push({event_parameters:null}),window.dataLayer.push({event:"ga4Event",event_name:"lp_navigation",event_parameters:{navigation:l,page_group:"Activity Page_"+v}})},curId:p,className:"text-left",curInfo:f})})]})})}},29863:function(e,l,t){var o=t(75271);let i=o.forwardRef(function(e,l){let{title:t,titleId:i,...n}=e;return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":i},n),t?o.createElement("title",{id:i},t):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.
1653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"}))});l.Z=i}}]);

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.