pb-sxp-ui 1.0.73 → 1.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +59 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6 -6
- package/dist/index.js +59 -41
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -3
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +59 -41
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -3
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/index.js +27 -21
- package/es/materials/sxp/popup/CommodityDetail/index.js +10 -4
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +11 -5
- package/es/materials/sxp/template/Commodity/index.js +4 -4
- package/es/materials/sxp/template/CommodityDiro/index.js +4 -4
- package/es/materials/sxp/template/CommodityDiroNew/index.js +4 -4
- package/lib/core/components/SxpPageRender/index.js +27 -21
- package/lib/materials/sxp/popup/CommodityDetail/index.js +9 -3
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +10 -4
- package/lib/materials/sxp/template/Commodity/index.js +4 -4
- package/lib/materials/sxp/template/CommodityDiro/index.js +4 -4
- package/lib/materials/sxp/template/CommodityDiroNew/index.js +4 -4
- package/package.json +1 -1
package/dist/index.min.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var he=require("lodash"),vn=require("uuid"),fn=require("pako"),a=require("react"),fi=require("qs"),mn=require("eventemitter3"),J=require("@emotion/css"),hn=require("@ant-design/pro-components"),gn=require("react-dom");function bn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var mi=bn(gn);function we(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i}function Ee(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(c){try{u(n.next(c))}catch(v){r(v)}}function d(c){try{u(n.throw(c))}catch(v){r(v)}}function u(c){c.done?l(c.value):o(c.value).then(s,d)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const yn=/:\w+/g;var hi=(t,e)=>Ee(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:d,name:u,queryString:c,headers:v,body:g}=e[o];let b=s;d&&Object.entries(d).forEach(([y,m])=>{b=b.replace(yn,C=>C===y?m:C)}),c&&(b+=c),n[l]=u;try{const y=yield fetch(b,{method:r,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(g)}).then(m=>m.json());i[l]=y}catch(y){console.error("DataSource request error: ",y),i[l]={}}}return{$store:i,idMapName:n}});const gi="SXP_TOKEN_INFO",wn=(t,e)=>Ee(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(gi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(u.success){const c=u.data;s=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(gi,JSON.stringify(s))}}return s});function ht(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const Sn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},Tn=()=>{const t=vn.v4();return t?.replaceAll?t.replaceAll("-",""):Sn(32)};function bi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=fn.inflate(n,{to:"string"});return JSON.parse(o)}let Pt=null;const xn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class En{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Pt)return Pt;Pt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?xn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Se=null;const Cn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Se||(Se=new En),n&&Se.setApiUrl(n),Se.setAppId(t),Se.setTenantId(e),Se.setEnv(i)},getDetail:t=>{if(!Se)return;const e=Se.getTenantId(),i=Se.getAppId(),n=Se.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Ee(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),d=bi((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield hi(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>Ee(void 0,void 0,void 0,function*(){if(!Se)return;const e=Se.getTenantId(),i=Se.getAppId(),n=Se.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Ee(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=bi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Ee(void 0,void 0,void 0,function*(){if(!Se)return;const e=yield wn(Se,t),i=ht(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");he.isEmpty(n)&&(n=ht(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const o=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return o?.data||null})};function $e(){return a.useContext(ki)}function In(){return a.useContext(_i)}const Ot="feRealSessionIdKey",yi=()=>{const t=Tn();return`${Date.now()}${t}`},_n=()=>{let t=Dn();return t||(t=yi(),window.sessionStorage.setItem(Ot,t)),t},kn=()=>{const t=yi();window.sessionStorage.setItem(Ot,t)},Dn=()=>window.sessionStorage.getItem(Ot),wi="SXP_FAKE_USER_ID",Si="FAKE_USER_STATE",Ti=()=>{let t=window.localStorage.getItem(wi);return he.isEmpty(t)&&(t=ht(36,62),window.localStorage.setItem(wi,t)),t},An=()=>{const t=window.localStorage.getItem(Si);return he.isEmpty(t)&&window.localStorage.setItem(Si,"true"),he.isEmpty(t)};function Oe(t,e){const{appDomain:i}=de();return a.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const We=new mn;var Ne;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ne||(Ne={}));const xi=a.createContext({rtcList:[],tagList:[]});var Mt;(function(t){t[t.BFF=5]="BFF"})(Mt||(Mt={}));const Ei=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Pn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1,enabledMetaConversionApi:g=!1,isShowTag:b=!0})=>{const[y,m]=a.useState([]),[C,p]=a.useState([]),[w,h]=a.useState(!1),[S,k]=a.useState({rtc:"",requestId:""}),f=a.useRef(null),M=a.useRef(!1),[_,T]=a.useState(),[E,A]=a.useState(),[x,I]=a.useState(v),[P,j]=a.useState([]),[z,H]=a.useState(0),[F,N]=a.useState(!1),[B,L]=a.useState(null),D=a.useRef();a.useEffect(()=>{const V=U=>{D.current=U};return We.on(Ne.CHANGE_THEME_TAG,V),()=>{We.off(Ne.CHANGE_THEME_TAG,V)}},[]),a.useEffect(()=>{I(v)},[v]);const G=a.useMemo(()=>e?.find(V=>V.type===Mt.BFF),[e]),R=a.useCallback((V,U)=>{if(!G)return;const ne=G.url,me=Ti();if(U?.query){const fe=fi.stringify(U.query);V=`${V}?${fe}`}return U.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ne}/api/v1${V}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},G.headers),{"x-user-id":me}),U.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ne}/api/v1${V}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":me},G.headers),method:U.method,body:JSON.stringify(U.body)}).then(fe=>fe.json()).catch(fe=>Promise.reject(fe))},[G]),$=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){var U,ne,me,fe,ye;if(V={maxSize:(U=V?.maxSize)!==null&&U!==void 0?U:o,defaultSize:(ne=V?.defaultSize)!==null&&ne!==void 0?ne:l,"itemFilter.itemId":V?.["itemFilter.itemId"],"itemFilter.itemType":V?.["itemFilter.itemType"],hashTag:V?.hashTag,traceInfo:V?.traceInfo,themeTag:V?.themeTag},i){const Ie=(ye=(fe=(me=i?.split("&"))===null||me===void 0?void 0:me.filter(ze=>{const ke=ze.split("=")[0];return Ei.includes(ke)}))===null||fe===void 0?void 0:fe.join("&"))!==null&&ye!==void 0?ye:"";V=Object.assign(Object.assign({},V),{channel:decodeURIComponent(Ie)})}const ue=yield R?.("/recommend/list",{method:"GET",query:V});if(ue?.success)return V?.hashTag||k({rtc:ue.data.rtc,requestId:ue.data.requestId}),ue?.data}),[R,i,o,l]),oe=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){var V,U;if(y.length<=0)return;const ne=yield $({hashTag:E?.hashTag,"itemFilter.itemId":E?.itemId,"itemFilter.itemType":E?.itemType,themeTag:D.current});m(y.concat((V=ne?.recList)!==null&&V!==void 0?V:[])),j(P.concat((U=ne?.recList)!==null&&U!==void 0?U:[]))}),[$,y,E,P]),Z=a.useCallback(({userInfo:V,eventInfo:U})=>{if(!n)return;V||(V={});const ne=_n(),me=Object.assign({sessionID:ne,rtc:S.rtc,requestId:S.requestId},U),fe=Object.entries(V).map(([ue,Ie])=>({name:ue,value:Ie})),ye=Object.entries(me).map(([ue,Ie])=>Ie&&{name:ue,value:Ie}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",V),console.log("eventInfo:",me),console.log("========= \u7ED3\u675F ========="),R?.("/event/report",{method:"POST",body:{userInfo:fe,eventInfo:ye},type:"beacon"})},[R,S,n]),te=a.useCallback(V=>{var U,{eventName:ne,actionSource:me="website",eventSourceUrl:fe=(U=window?.location)===null||U===void 0?void 0:U.href,externalId:ye}=V;if(!n||!g)return;const ue=Ti();return R?.("/fb/events",{method:"POST",body:{eventName:ne,actionSource:me,eventSourceUrl:fe,userData:{externalId:ue}},type:"beacon"})},[R,n,g]),Y=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const U=yield R?.("/recommend/like",{method:"POST",body:V});return U?.success}),[R]),re=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const U=yield R?.("/recommend/unlike",{method:"POST",body:V});return U?.success}),[R]),se=a.useCallback(V=>Ee(void 0,void 0,void 0,function*(){const U=yield R?.("/customform",{method:"POST",body:V});return U?.success}),[R]),q=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){var V,U,ne,me,fe;if(!(!i||!b))try{const ye=(ne=(U=(V=i?.split("&"))===null||V===void 0?void 0:V.filter(Ie=>{const ze=Ie.split("=")[0];return Ei.includes(ze)}))===null||U===void 0?void 0:U.join("&"))!==null&&ne!==void 0?ne:"",ue=yield R?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ye)}});p((fe=(me=ue?.data)===null||me===void 0?void 0:me.tags)!==null&&fe!==void 0?fe:[])}catch(ye){console.log("e",ye)}}),[R,i,b]),ee=a.useCallback((V,U,ne,me)=>{var fe,ye,ue,Ie,ze,ke,dt,nt,ot,ct,lt,ut;const ge=ne?.bindCta,At=((fe=U?.video)===null||fe===void 0?void 0:fe.bindProduct)||((ye=U?.video)===null||ye===void 0?void 0:ye.bindProducts)&&((Ie=(ue=U?.video)===null||ue===void 0?void 0:ue.bindProducts)===null||Ie===void 0?void 0:Ie.length)>0;let qe="";F?qe="hashTagPage":!((ze=U?.video)===null||ze===void 0)&&ze.url?qe="videoPage":!((dt=(ke=U?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||dt===void 0)&&dt.length&&(qe="imagePage"),Z?.({eventInfo:Object.assign(Object.assign({},V),{ctaId:(nt=ge?.itemId)!==null&&nt!==void 0?nt:"",ctaName:(ot=ge?.title)!==null&&ot!==void 0?ot:"",contentTags:JSON.stringify(ge?.tags),position:me+"",contentId:(lt=(ct=U?.video)===null||ct===void 0?void 0:ct.itemId)!==null&<!==void 0?lt:"",productId:At?ne?.itemId:"",traceInfo:(ut=ge?.traceInfo)!==null&&ut!==void 0?ut:"",fromKName:qe})})},[Z,F]);a.useEffect(()=>{h(!0),q(),$().then(V=>{var U,ne;m((U=V?.recList)!==null&&U!==void 0?U:[]),j((ne=V?.recList)!==null&&ne!==void 0?ne:[])}).finally(()=>{h(!1),M.current=!0})},[]),a.useEffect(()=>{M.current&&(h(!0),q(),$().then(V=>{var U,ne;m((U=V?.recList)!==null&&U!==void 0?U:[]),j((ne=V?.recList)!==null&&ne!==void 0?ne:[])}).finally(()=>{h(!1)}))},[$,q]);const _e=Oe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return a.createElement(xi.Provider,{value:{rtcList:y,setRtcList:m,mutateLike:Y,mutateUnlike:re,submitForm:se,popupDetailData:_,loadVideos:oe,setPopupDetailData:T,getRecommendVideos:$,bffEventReport:Z,utmVal:i,isPreview:r,loading:w,sxpParameter:s,waterFallData:E,setWaterFallData:A,ctaEvent:ee,swiperRef:f,openHashtag:x,setOpenHashtag:I,cacheRtcList:P,setCacheRtcList:j,cacheActiveIndex:z,setCacheActiveIndex:H,isFromHashtag:F,setIsFromHashtag:N,appDomain:d,hashTagSize:u,loadingImage:c??_e,isOpenHashTag:v,tagList:C,setLoading:h,videoRef:B,setVideoRef:L,bffFbReport:te}},t({rtcList:y,mutateLike:Y,mutateUnlike:re,submitForm:se,tagList:C}))};var Ci=a.memo(Pn);function de(){return a.useContext(xi)}var Ii;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(Ii||(Ii={}));const _i=a.createContext({$store:{},options:[],configs:[]}),On=({children:t,isSsr:e,enable:i})=>{const[n,o]=a.useState([]),{schema:l}=$e(),[r,s]=a.useState(l.__STORE__||{}),[d,u]=a.useState([]);a.useEffect(()=>{var g;e||he.isEqual(d,l?.dataSource)||u((g=l?.dataSource)!==null&&g!==void 0?g:[])},[l?.dataSource,e]);const c=a.useCallback(()=>Ee(void 0,void 0,void 0,function*(){const{$store:g,idMapName:b}=yield hi("",d);s(g),v(g,b)}),[d]),v=(g,b)=>{const y=[];Object.entries(g).forEach(([m,C])=>{Object.keys(C).forEach(p=>{const w={label:`${b[m]} - ${p}`,value:`{{ ${m}.${p} }}`};y.push(w)})}),o(y)};return a.useEffect(()=>{e||c()},[c,e,l]),i?a.createElement(_i.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var Mn=a.memo(On);const gt={id:ht(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},Lt={id:"",duration:0,name:"none"},ki=a.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[gt],redoStack:[],popup:Lt,setPopup:()=>{}}),Di=a.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,d]=a.useState(null),[u,c]=a.useState(n||{pointData:[gt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,g]=a.useState([gt]),[b,y]=a.useState([[gt]]),[m,C]=a.useState([]),[p,w]=a.useState(Lt);typeof window<"u"&&(window.sxpPopup=(M,_)=>{w(Object.assign(Object.assign(Object.assign({},Lt),{id:M}),_))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),a.useEffect(()=>{y([u.pointData]),C([])},[u.type]);const h=a.useCallback(M=>{const _=he.cloneDeep(u);_&&(_.dataSource=M,c?.(_))},[u]),[S,k]=a.useState();a.useImperativeHandle(r,()=>({loadSchema(M){M&&(y([M.pointData]),c(M))},exportSchema(){return he.cloneDeep(u)},getPageInfoData(){return S},initPageInfoData(M){M&&k(M)}}));const f=a.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return a.createElement(ki.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:h,prePiontData:v,setPrePiontData:g,pageInfoData:S,setPageInfoData:M=>k(Object.assign(Object.assign({},S),M)),undoStack:b,redoStack:m,setRedoStack:C,setUndoStack:y,getCurPageConf:f,popup:p,setPopup:w}},a.createElement(Mn,{isSsr:i,enable:o},t))});var Ln=Object.freeze({__proto__:null,EditorCore:Di}),jn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const le=[{label:"defalut",value:"appFont"}],jt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Nn=jt&&jt!==""?JSON.parse(jt):[];var De={fontOptions:[...le,...Nn]},Nt,Bt,Rt,Bn=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:le,initialValue:(Nt=le?.[0])===null||Nt===void 0?void 0:Nt.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:De?.fontOptions,initialValue:(Rt=(Bt=De?.fontOptions)===null||Bt===void 0?void 0:Bt[0])===null||Rt===void 0?void 0:Rt.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Be(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=de(),o=a.useCallback((r,s,d,u)=>{var c,v,g,b,y,m,C,p,w,h,S,k,f,M;let _="";e&&(!((v=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((g=r?.video)===null||g===void 0)&&g.bindProduct)?_="pdpPage":n?_="hashTagPage":!((b=r?.video)===null||b===void 0)&&b.url?_="videoPage":!((y=r?.video)===null||y===void 0)&&y.imgUrls&&(!((C=(m=r?.video)===null||m===void 0?void 0:m.imgUrls)===null||C===void 0)&&C.length)?_="imagePage":r?.product&&(_="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=s?.itemId)!==null&&p!==void 0?p:"",productName:(w=s?.title)!==null&&w!==void 0?w:"",price:s?.price?s?.price+"":"0",productCollection:(h=s?.collection)!==null&&h!==void 0?h:"",fromKName:_,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(k=(S=r?.video)===null||S===void 0?void 0:S.itemId)!==null&&k!==void 0?k:"",ctatId:(f=d?.itemId)!==null&&f!==void 0?f:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=a.useCallback((r,s,d,u,c)=>{var v,g,b,y;let m="";e&&(!((g=(v=r?.video)===null||v===void 0?void 0:v.bindProducts)===null||g===void 0)&&g.length||!((b=r?.video)===null||b===void 0)&&b.bindProduct)?m="pdpPage":r?.product&&(m="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:m,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:c+"",contentId:(y=r?.video)===null||y===void 0?void 0:y.itemId,ctatId:d?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const Rn=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:d,isExternalLink:u,isPopup:c,onClick:v,onClose:g,submitButtonStyle:b}=t,y=we(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:m,popupDetailData:C}=de(),{jumpToWeb:p}=Be(),w=a.useRef(),[h,S]=a.useState(!1),k=a.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),f=a.useMemo(()=>{if(d===void 0){const _=he.cloneDeep(e)||k;return _?.map(T=>Object.assign(Object.assign({},T),{title:void 0,fieldProps:{placeholder:T?.title}}))}else return he.cloneDeep(e)||k},[d,e,k]),M=he.debounce(()=>Ee(void 0,void 0,void 0,function*(){var _,T,E,A,x,I;const P=yield(_=w?.current)===null||_===void 0?void 0:_.getFieldsValue();if(!P)return;const j=(E=(T=Object.keys(P))===null||T===void 0?void 0:T.map(H=>{var F;return{name:H,value:(F=P[H])!==null&&F!==void 0?F:""}}))===null||E===void 0?void 0:E.filter(H=>H?.value);if(!j||!j?.length)return;S(!0);const z=yield m?.({attributes:j});if(S(!1),z){if(u){const H=C,F=(A=H?.video)===null||A===void 0?void 0:A.bindProduct,N=(I=(x=H?.video)===null||x===void 0?void 0:x.bindProduct)===null||I===void 0?void 0:I.bindCta,B=C?.index;p(H,F,N,B)}c||g?.(),v?.()}}),1e3);return a.createElement("div",{className:"pb-appoint-form"},a.createElement("div",{className:`pb-appoint-form-title ${J.css(Object.assign({},o))}`},n),a.createElement("div",Object.assign({className:J.css(Object.assign({},i))},y),a.createElement("div",{className:"pb-appoint-form-container"},a.createElement(hn.BetaSchemaForm,{columns:f,submitter:!1,layout:d,autoFocusFirstInput:!1,size:"large",formRef:w,className:"panel-reset"}))),a.createElement("div",{className:"pb-appoint-form-btn-wrapper"},a.createElement("button",{onClick:M,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},b)},h?a.createElement(a.Fragment,null,"loading..."):s)))};var zn=a.memo(Rn);function Ae(t,e){return t.extend=e,t}const Vn=Ae(zn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Bn,bindableProps:[],interactionRender:jn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var zt,Vt,Fn=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:le,name:["fontFamily"],initialValue:(zt=le?.[0])===null||zt===void 0?void 0:zt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:le,initialValue:(Vt=le?.[0])===null||Vt===void 0?void 0:Vt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Ai(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ft(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Ai(e[i])&&Ai(t[i])&&Object.keys(e[i]).length>0&&Ft(t[i],e[i])})}const Pi={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Re(){const t=typeof document<"u"?document:{};return Ft(t,Pi),t}const Hn={document:Pi,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Ce(){const t=typeof window<"u"?window:{};return Ft(t,Hn),t}function Je(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Un(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function st(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Me(){return Date.now()}function Gn(t){const e=Ce();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function $n(t,e){e===void 0&&(e="x");const i=Ce();let n,o,l;const r=Gn(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function bt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Wn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Pe(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!Wn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(bt(t[s])&&bt(n[s])?n[s].__swiper__?t[s]=n[s]:Pe(t[s],n[s]):!bt(t[s])&&bt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Pe(t[s],n[s])):t[s]=n[s])}}}return t}function yt(t,e,i){t.style.setProperty(e,i)}function Oi(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Ce(),l=-e.translate;let r=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(g,b)=>u==="next"&&g>=b||u==="prev"&&g<=b,v=()=>{s=new Date().getTime(),r===null&&(r=s);const g=Math.max(Math.min((s-r)/d,1),0),b=.5-Math.cos(g*Math.PI)/2;let y=l+b*(i-l);if(c(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),c(y,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(v)};v()}function Ve(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function wt(t){try{console.warn(t);return}catch{}}function pt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Je(e)),i}function Yn(t){const e=Ce(),i=Re(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-r}}function qn(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Xn(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Ke(t,e){return Ce().getComputedStyle(t,null).getPropertyValue(e)}function St(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Mi(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function Ht(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Ut(t,e,i){const n=Ce();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function Fe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Jn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ce();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,s=Me(),d;const u=[];function c(h){let M=0,_=0,T=0,E=0;return"detail"in h&&(_=h.detail),"wheelDelta"in h&&(_=-h.wheelDelta/120),"wheelDeltaY"in h&&(_=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=_,_=0),T=M*10,E=_*10,"deltaY"in h&&(E=h.deltaY),"deltaX"in h&&(T=h.deltaX),h.shiftKey&&!T&&(T=E,E=0),(T||E)&&h.deltaMode&&(h.deltaMode===1?(T*=40,E*=40):(T*=800,E*=800)),T&&!M&&(M=T<1?-1:1),E&&!_&&(_=E<1?-1:1),{spinX:M,spinY:_,pixelX:T,pixelY:E}}function v(){e.enabled&&(e.mouseEntered=!0)}function g(){e.enabled&&(e.mouseEntered=!1)}function b(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Me()-s<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Me()-s<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",h.raw)),s=new l.Date().getTime(),!1)}function y(h){const S=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&S.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&S.releaseOnEdges)return!0;return!1}function m(h){let S=h,k=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const f=e.params.mousewheel;e.params.cssMode&&S.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const _=M&&M.contains(S.target);if(!e.mouseEntered&&!_&&!f.releaseOnEdges)return!0;S.originalEvent&&(S=S.originalEvent);let T=0;const E=e.rtlTranslate?-1:1,A=c(S);if(f.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))T=-A.pixelX*E;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))T=-A.pixelY;else return!0;else T=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*E:-A.pixelY;if(T===0)return!0;f.invert&&(T=-T);let x=e.getTranslate()+T*f.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),k=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),k&&e.params.nested&&S.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Me(),delta:Math.abs(T),direction:Math.sign(T),raw:h};u.length>=2&&u.shift();const P=u.length?u[u.length-1]:void 0;if(u.push(I),P?(I.direction!==P.direction||I.delta>P.delta||I.time>P.time+150)&&b(I):b(I),y(I))return!0}else{const I={time:Me(),delta:Math.abs(T),direction:Math.sign(T)},P=d&&I.time<d.time+500&&I.delta<=d.delta&&I.direction===d.direction;if(!P){d=void 0;let j=e.getTranslate()+T*f.sensitivity;const z=e.isBeginning,H=e.isEnd;if(j>=e.minTranslate()&&(j=e.minTranslate()),j<=e.maxTranslate()&&(j=e.maxTranslate()),e.setTransition(0),e.setTranslate(j),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!z&&e.isBeginning||!H&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const F=u.length?u[u.length-1]:void 0,N=u[0];if(u.push(I),F&&(I.delta>F.delta||I.direction!==F.direction))u.splice(0);else if(u.length>=15&&I.time-N.time<500&&N.delta-I.delta>=1&&I.delta<=6){const B=T>0?.8:.2;d=I,u.splice(0),r=st(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}r||(r=st(()=>{d=I,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",S),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),f.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return S.preventDefault?S.preventDefault():S.returnValue=!1,!1}function C(h){let S=e.el;e.params.mousewheel.eventsTarget!=="container"&&(S=document.querySelector(e.params.mousewheel.eventsTarget)),S[h]("mouseenter",v),S[h]("mouseleave",g),S[h]("wheel",m)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:p,disable:w})}function Li(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Ve(t.el,`.${n[o]}`)[0];l||(l=pt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function at(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Tt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,w){const{bulletActiveClass:h}=e.params.pagination;p&&(p=p[`${w==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${h}-${w}`),p=p[`${w==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${h}-${w}-${w}`)))}function c(p){const w=p.target.closest(at(e.params.pagination.bulletClass));if(!w)return;p.preventDefault();const h=St(w)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function v(){const p=e.rtl,w=e.params.pagination;if(d())return;let h=e.pagination.el;h=Fe(h);let S,k;const f=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(f/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,S=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(S=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,S=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const _=e.pagination.bullets;let T,E,A;if(w.dynamicBullets&&(r=Ut(_[0],e.isHorizontal()?"width":"height",!0),h.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${r*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&k!==void 0&&(s+=S-(k||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),T=Math.max(S-s,0),E=T+(Math.min(_.length,w.dynamicMainBullets)-1),A=(E+T)/2),_.forEach(x=>{const I=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${w.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();x.classList.remove(...I)}),h.length>1)_.forEach(x=>{const I=St(x);I===S?x.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),w.dynamicBullets&&(I>=T&&I<=E&&x.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),I===T&&u(x,"prev"),I===E&&u(x,"next"))});else{const x=_[S];if(x&&x.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&_.forEach((I,P)=>{I.setAttribute("part",P===S?"bullet-active":"bullet")}),w.dynamicBullets){const I=_[T],P=_[E];for(let j=T;j<=E;j+=1)_[j]&&_[j].classList.add(...`${w.bulletActiveClass}-main`.split(" "));u(I,"prev"),u(P,"next")}}if(w.dynamicBullets){const x=Math.min(_.length,w.dynamicMainBullets+4),I=(r*x-r)/2-A*r,P=p?"right":"left";_.forEach(j=>{j.style[e.isHorizontal()?P:"top"]=`${I}px`})}}h.forEach((_,T)=>{if(w.type==="fraction"&&(_.querySelectorAll(at(w.currentClass)).forEach(E=>{E.textContent=w.formatFractionCurrent(S+1)}),_.querySelectorAll(at(w.totalClass)).forEach(E=>{E.textContent=w.formatFractionTotal(M)})),w.type==="progressbar"){let E;w.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const A=(S+1)/M;let x=1,I=1;E==="horizontal"?x=A:I=A,_.querySelectorAll(at(w.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${I})`,P.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(_.innerHTML=w.renderCustom(e,S+1,M),T===0&&o("paginationRender",_)):(T===0&&o("paginationRender",_),o("paginationUpdate",_)),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](w.lockClass)})}function g(){const p=e.params.pagination;if(d())return;const w=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let h=e.pagination.el;h=Fe(h);let S="";if(p.type==="bullets"){let k=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>w&&(k=w);for(let f=0;f<k;f+=1)p.renderBullet?S+=p.renderBullet.call(e,f,p.bulletClass):S+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?S=p.renderFraction.call(e,p.currentClass,p.totalClass):S=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?S=p.renderProgressbar.call(e,p.progressbarFillClass):S=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(k=>{p.type!=="custom"&&(k.innerHTML=S||""),p.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(at(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",h[0])}function b(){e.params.pagination=Li(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let w;typeof p.el=="string"&&e.isElement&&(w=e.el.querySelector(p.el)),!w&&typeof p.el=="string"&&(w=[...document.querySelectorAll(p.el)]),w||(w=p.el),!(!w||w.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...e.el.querySelectorAll(p.el)],w.length>1&&(w=w.filter(h=>Mi(h,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=Fe(w),w.forEach(h=>{p.type==="bullets"&&p.clickable&&h.classList.add(...(p.clickableClass||"").split(" ")),h.classList.add(p.modifierClass+p.type),h.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(h.classList.add(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&h.classList.add(p.progressbarOppositeClass),p.clickable&&h.addEventListener("click",c),e.enabled||h.classList.add(p.lockClass)}))}function y(){const p=e.params.pagination;if(d())return;let w=e.pagination.el;w&&(w=Fe(w),w.forEach(h=>{h.classList.remove(p.hiddenClass),h.classList.remove(p.modifierClass+p.type),h.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(h.classList.remove(...(p.clickableClass||"").split(" ")),h.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:w}=e.pagination;w=Fe(w),w.forEach(h=>{h.classList.remove(p.horizontalClass,p.verticalClass),h.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?C():(b(),g(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{g(),v()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Fe(p),p.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,w)=>{const h=w.target,S=Fe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&S&&S.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const k=S[0].classList.contains(e.params.pagination.hiddenClass);o(k===!0?"paginationShow":"paginationHide"),S.forEach(f=>f.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Fe(p),p.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),b(),g(),v()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Fe(p),p.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:m,disable:C,render:g,update:v,init:b,destroy:y})}function Kn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Re();let r=!1,s=null,d=null,u,c,v,g;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:I}=e,{dragEl:P,el:j}=x,z=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let F=c,N=(v-c)*H;I?(N=-N,N>0?(F=c-N,N=0):-N+c>v&&(F=v+N)):N<0?(F=c+N,N=0):N+c>v&&(F=v-N),e.isHorizontal()?(P.style.transform=`translate3d(${N}px, 0, 0)`,P.style.width=`${F}px`):(P.style.transform=`translate3d(0px, ${N}px, 0)`,P.style.height=`${F}px`),z.hide&&(clearTimeout(s),j.style.opacity=1,s=setTimeout(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3))}function y(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:I,el:P}=x;I.style.width="",I.style.height="",v=e.isHorizontal()?P.offsetWidth:P.offsetHeight,g=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*g:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${c}px`:I.style.height=`${c}px`,g>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function C(x){return e.isHorizontal()?x.clientX:x.clientY}function p(x){const{scrollbar:I,rtlTranslate:P}=e,{el:j}=I;let z;z=(C(x)-Yn(j)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),z=Math.max(Math.min(z,1),0),P&&(z=1-z);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*z;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function w(x){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:z,dragEl:H}=P;r=!0,u=x.target===H?C(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),j.style.transitionDuration="100ms",H.style.transitionDuration="100ms",p(x),clearTimeout(d),z.style.transitionDuration="0ms",I.hide&&(z.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function h(x){const{scrollbar:I,wrapperEl:P}=e,{el:j,dragEl:z}=I;r&&(x.preventDefault?x.preventDefault():x.returnValue=!1,p(x),P.style.transitionDuration="0ms",j.style.transitionDuration="0ms",z.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function S(x){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:z}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),I.hide&&(clearTimeout(d),d=st(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),I.snapOnRelease&&e.slideToClosest())}function k(x){const{scrollbar:I,params:P}=e,j=I.el;if(!j)return;const z=j,H=P.passiveListeners?{passive:!1,capture:!1}:!1,F=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!z)return;const N=x==="on"?"addEventListener":"removeEventListener";z[N]("pointerdown",w,H),l[N]("pointermove",h,H),l[N]("pointerup",S,F)}function f(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function _(){const{scrollbar:x,el:I}=e;e.params.scrollbar=Li(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let j;if(typeof P.el=="string"&&e.isElement&&(j=e.el.querySelector(P.el)),!j&&typeof P.el=="string"){if(j=l.querySelectorAll(P.el),!j.length)return}else j||(j=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&j.length>1&&I.querySelectorAll(P.el).length===1&&(j=I.querySelector(P.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let z;j&&(z=j.querySelector(at(e.params.scrollbar.dragClass)),z||(z=pt("div",e.params.scrollbar.dragClass),j.append(z))),Object.assign(x,{el:j,dragEl:z}),P.draggable&&f(),j&&j.classList[e.enabled?"remove":"add"](...Je(e.params.scrollbar.lockClass))}function T(){const x=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...Je(e.isHorizontal()?x.horizontalClass:x.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:I}=e.scrollbar;I=Fe(I),I.forEach(P=>{P.classList.remove(x.horizontalClass,x.verticalClass),P.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(_(),m(),b())}),n("update resize observerUpdate lock unlock changeDirection",()=>{m()}),n("setTranslate",()=>{b()}),n("setTransition",(x,I)=>{y(I)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Je(e.params.scrollbar.lockClass))}),n("destroy",()=>{T()});const E=()=>{e.el.classList.remove(...Je(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Je(e.params.scrollbar.scrollbarDisabledClass)),_(),m(),b()},A=()=>{e.el.classList.add(...Je(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Je(e.params.scrollbar.scrollbarDisabledClass)),T()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:m,setTranslate:b,init:_,destroy:T})}function xt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),g,b,y,m,C,p,w;function h(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!w&&E())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?g=!0:g&&(u=c,g=!1);const F=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=F,o("autoplayTimeLeft",F,F/d),s=requestAnimationFrame(()=>{S()})},k=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},f=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),S();let N=typeof F>"u"?e.params.autoplay.delay:F;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const B=k();!Number.isNaN(B)&&B>0&&typeof F>"u"&&(N=B,d=B,u=B),c=N;const L=e.params.speed,D=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{f()})))};return N>0?(clearTimeout(r),r=setTimeout(()=>{D()},N)):requestAnimationFrame(()=>{D()}),N},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,f(),o("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},T=(F,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),F||(p=!0);const B=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,N){C&&(c=e.params.autoplay.delay),C=!1,B();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),B())},E=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,f(c)):f(),e.autoplay.paused=!1,o("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const F=Re();F.visibilityState==="hidden"&&(p=!0,T(!0)),F.visibilityState==="visible"&&E()},x=F=>{F.pointerType==="mouse"&&(p=!0,w=!0,!(e.animating||e.autoplay.paused)&&T(!0))},I=F=>{F.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&E())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",I))},j=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",I)},z=()=>{Re().addEventListener("visibilitychange",A)},H=()=>{Re().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(P(),z(),M())}),n("destroy",()=>{j(),H(),e.autoplay.running&&_()}),n("_freeModeStaticRelease",()=>{(y||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():T(!0,!0)}),n("beforeTransitionStart",(F,N,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?T(!0,!0):_())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}b=!0,y=!1,p=!1,m=setTimeout(()=>{p=!0,y=!0,T(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!b)){if(clearTimeout(m),clearTimeout(r),e.params.autoplay.disableOnInteraction){y=!1,b=!1;return}y&&e.params.cssMode&&E(),y=!1,b=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:M,stop:_,pause:T,resume:E})}function Qn(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:u}=e;d.velocities.length===0&&d.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Me()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:g,snapGrid:b,touchEventsData:y}=e,C=Me()-y.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<b.length?e.slideTo(b.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(y.velocities.length>1){const _=y.velocities.pop(),T=y.velocities.pop(),E=_.position-T.position,A=_.time-T.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Me()-_.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,y.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const w=e.velocity*p;let h=e.translate+w;g&&(h=-h);let S=!1,k;const f=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-f&&(h=e.maxTranslate()-f),k=e.maxTranslate(),S=!0,y.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>f&&(h=e.minTranslate()+f),k=e.minTranslate(),S=!0,y.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let _;for(let T=0;T<b.length;T+=1)if(b[T]>-h){_=T;break}Math.abs(b[_]-h)<Math.abs(b[_-1]-h)||e.swipeDirection==="next"?h=b[_]:h=b[_-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(g?p=Math.abs((-h-e.translate)/e.velocity):p=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const _=Math.abs((g?-h:h)-e.translate),T=e.slidesSizesGrid[e.activeIndex];_<T?p=c.speed:_<2*T?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&S?(e.updateProgress(k),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Ht(v,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(k),Ht(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Ht(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||C>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let Gt;function Zn(){const t=Ce(),e=Re();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function ji(){return Gt||(Gt=Zn()),Gt}let $t;function eo(t){let{userAgent:e}=t===void 0?{}:t;const i=ji(),n=Ce(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),g=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),b=o==="Win32";let y=o==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&y&&i.touch&&m.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),y=!1),u&&!b&&(r.os="android",r.android=!0),(c||g||v)&&(r.os="ios",r.ios=!0),r}function Ni(t){return t===void 0&&(t={}),$t||($t=eo(t)),$t}let Wt;function to(){const t=Ce(),e=Ni();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[d,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function io(){return Wt||(Wt=to()),Wt}function no(t){let{swiper:e,on:i,emit:n}=t;const o=Ce();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{r=o.requestAnimationFrame(()=>{const{width:g,height:b}=e;let y=g,m=b;v.forEach(C=>{let{contentBoxSize:p,contentRect:w,target:h}=C;h&&h!==e.el||(y=w?w.width:(p[0]||p).inlineSize,m=w?w.height:(p[0]||p).blockSize)}),(y!==g||m!==b)&&s()})}),l.observe(e.el))},u=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){d();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function oo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Ce(),s=function(c,v){v===void 0&&(v={});const g=r.MutationObserver||r.WebkitMutationObserver,b=new g(y=>{if(e.__preventObserver__)return;if(y.length===1){o("observerUpdate",y[0]);return}const m=function(){o("observerUpdate",y[0])};r.requestAnimationFrame?r.requestAnimationFrame(m):r.setTimeout(m,0)});b.observe(c,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),l.push(b)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Mi(e.hostEl);for(let v=0;v<c.length;v+=1)s(c[v])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",u)}var lo={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(u=>{u.apply(n,i)})}),t}};function so(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(Ke(n,"padding-left")||0,10)-parseInt(Ke(n,"padding-right")||0,10),i=i-parseInt(Ke(n,"padding-top")||0,10)-parseInt(Ke(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function ao(){const t=this;function e(E,A){return parseFloat(E.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Ve(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let g=[];const b=[],y=[];let m=i.slidesOffsetBefore;typeof m=="function"&&(m=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,w=t.slidesGrid.length;let h=i.spaceBetween,S=-m,k=0,f=0;if(typeof l>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*l:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,c.forEach(E=>{r?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(yt(n,"--swiper-centered-offset-before",""),yt(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let _;const T=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<v;E+=1){_=0;let A;if(c[E]&&(A=c[E]),M&&t.grid.updateSlide(E,A,c),!(c[E]&&Ke(A,"display")==="none")){if(i.slidesPerView==="auto"){T&&(c[E].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(A),I=A.style.transform,P=A.style.webkitTransform;if(I&&(A.style.transform="none"),P&&(A.style.webkitTransform="none"),i.roundLengths)_=t.isHorizontal()?Ut(A,"width",!0):Ut(A,"height",!0);else{const j=e(x,"width"),z=e(x,"padding-left"),H=e(x,"padding-right"),F=e(x,"margin-left"),N=e(x,"margin-right"),B=x.getPropertyValue("box-sizing");if(B&&B==="border-box")_=j+F+N;else{const{clientWidth:L,offsetWidth:D}=A;_=j+z+H+F+N+(D-L)}}I&&(A.style.transform=I),P&&(A.style.webkitTransform=P),i.roundLengths&&(_=Math.floor(_))}else _=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(_=Math.floor(_)),c[E]&&(c[E].style[t.getDirectionLabel("width")]=`${_}px`);c[E]&&(c[E].swiperSlideSize=_),y.push(_),i.centeredSlides?(S=S+_/2+k/2+h,k===0&&E!==0&&(S=S-l/2-h),E===0&&(S=S-l/2-h),Math.abs(S)<1/1e3&&(S=0),i.roundLengths&&(S=Math.floor(S)),f%i.slidesPerGroup===0&&g.push(S),b.push(S)):(i.roundLengths&&(S=Math.floor(S)),(f-Math.min(t.params.slidesPerGroupSkip,f))%t.params.slidesPerGroup===0&&g.push(S),b.push(S),S=S+_+h),t.virtualSize+=_+h,k=_,f+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),M&&t.grid.updateWrapperSize(_,g),!i.centeredSlides){const E=[];for(let A=0;A<g.length;A+=1){let x=g[A];i.roundLengths&&(x=Math.floor(x)),g[A]<=t.virtualSize-l&&E.push(x)}g=E,Math.floor(t.virtualSize-l)-Math.floor(g[g.length-1])>1&&g.push(t.virtualSize-l)}if(d&&i.loop){const E=y[0]+h;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=E*i.slidesPerGroup;for(let I=0;I<A;I+=1)g.push(g[g.length-1]+x)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&g.push(g[g.length-1]+E),b.push(b[b.length-1]+E),t.virtualSize+=E}if(g.length===0&&(g=[0]),h!==0){const E=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((A,x)=>!i.cssMode||i.loop?!0:x!==c.length-1).forEach(A=>{A.style[E]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;y.forEach(x=>{E+=x+(h||0)}),E-=h;const A=E-l;g=g.map(x=>x<=0?-m:x>A?A+C:x)}if(i.centerInsufficientSlides){let E=0;if(y.forEach(A=>{E+=A+(h||0)}),E-=h,E<l){const A=(l-E)/2;g.forEach((x,I)=>{g[I]=x-A}),b.forEach((x,I)=>{b[I]=x+A})}}if(Object.assign(t,{slides:c,snapGrid:g,slidesGrid:b,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){yt(n,"--swiper-centered-offset-before",`${-g[0]}px`),yt(n,"--swiper-centered-offset-after",`${t.size/2-y[y.length-1]/2}px`);const E=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+E),t.slidesGrid=t.slidesGrid.map(x=>x+A)}if(v!==u&&t.emit("slidesLengthChange"),g.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),b.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(E);v<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(E):A&&t.el.classList.remove(E)}}function ro(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function co(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function uo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;o&&(r=t),n.forEach(d=>{d.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let d=0;d<n.length;d+=1){const u=n[d];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),g=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),b=-(r-c),y=b+e.slidesSizesGrid[d],m=b>=0&&b<=e.size-e.slidesSizesGrid[d];(b>=0&&b<e.size-1||y>1&&y<=e.size||b<=0&&y>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),m&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-g:g}}function po(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const d=l,u=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),g=e.slidesGrid[c],b=e.slidesGrid[v],y=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=g?s=(m-g)/y:s=(m+y-b)/y,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function vo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=v=>Ve(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let d,u,c;if(l)if(i.loop){let v=o-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),d=s(`[data-swiper-slide-index="${v}"]`)}else d=s(`[data-swiper-slide-index="${o}"]`);else r?(d=e.filter(v=>v.column===o)[0],c=e.filter(v=>v.column===o+1)[0],u=e.filter(v=>v.column===o-1)[0]):d=e[o];d&&(d.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Xn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=qn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Et=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},Yt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},qt=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((d,u)=>r+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Yt(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&Yt(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&Yt(t,r)};function fo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function mo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let d=t,u;const c=b=>{let y=b-e.virtual.slidesBefore;return y<0&&(y=e.virtual.slides.length+y),y>=e.virtual.slides.length&&(y-=e.virtual.slides.length),y};if(typeof d>"u"&&(d=fo(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const b=Math.min(o.slidesPerGroupSkip,d);u=b+Math.floor((d-b)/o.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),d===l&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(d===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(d);return}const v=e.grid&&o.grid&&o.grid.rows>1;let g;if(e.virtual&&o.virtual.enabled&&o.loop)g=c(d);else if(v){const b=e.slides.filter(m=>m.column===d)[0];let y=parseInt(b.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(b),0)),g=Math.floor(y/o.grid.rows)}else if(e.slides[d]){const b=e.slides[d].getAttribute("data-swiper-slide-index");b?g=parseInt(b,10):g=d}else g=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:r,realIndex:g,previousIndex:l,activeIndex:d}),e.initialized&&qt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==g&&e.emit("realIndexChange"),e.emit("slideChange"))}function ho(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var go={updateSize:so,updateSlides:ao,updateAutoHeight:ro,updateSlidesOffset:co,updateSlidesProgress:uo,updateProgress:po,updateSlidesClasses:vo,updateActiveIndex:mo,updateClickedSlide:ho};function bo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let r=$n(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function yo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,d=0;const u=0;i.isHorizontal()?s=n?-t:t:d=t,o.roundLengths&&(s=Math.floor(s),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:d,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-d:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${d}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function wo(){return-this.snapGrid[0]}function So(){return-this.snapGrid[this.snapGrid.length-1]}function To(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Oi({swiper:l,targetPosition:-c,side:v?"left":"top"}),!0;s.scrollTo({[v?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(g){!l||l.destroyed||g.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var xo={getTranslate:bo,setTranslate:yo,minTranslate:wo,maxTranslate:So,translateTo:To};function Eo(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function Bi(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function Co(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Bi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Io(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Bi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var _o={setTransition:Eo,transitionStart:Co,transitionEnd:Io};function ko(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:g,wrapperEl:b,enabled:y}=l;if(l.animating&&s.preventInteractionOnTransition||!y&&!n&&!o||l.destroyed)return!1;const m=Math.min(l.params.slidesPerGroupSkip,r);let C=m+Math.floor((r-m)/l.params.slidesPerGroup);C>=d.length&&(C=d.length-1);const p=-d[C];if(s.normalizeSlideIndex)for(let h=0;h<u.length;h+=1){const S=-Math.floor(p*100),k=Math.floor(u[h]*100),f=Math.floor(u[h+1]*100);typeof u[h+1]<"u"?S>=k&&S<f-(f-k)/2?r=h:S>=k&&S<f&&(r=h+1):S>=k&&(r=h)}if(l.initialized&&r!==v&&(!l.allowSlideNext&&(g?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let w;if(r>v?w="next":r<v?w="prev":w="reset",g&&-p===l.translate||!g&&p===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(p),w!=="reset"&&(l.transitionStart(i,w),l.transitionEnd(i,w)),!1;if(s.cssMode){const h=l.isHorizontal(),S=g?p:-p;if(e===0){const k=l.virtual&&l.params.virtual.enabled;k&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),k&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{b[h?"scrollLeft":"scrollTop"]=S})):b[h?"scrollLeft":"scrollTop"]=S,k&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Oi({swiper:l,targetPosition:S,side:h?"left":"top"}),!0;b.scrollTo({[h?"left":"top"]:S,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,w),e===0?l.transitionEnd(i,w):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(S){!l||l.destroyed||S.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,w))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Do(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const g=r*o.params.grid.rows;s=o.slides.filter(b=>b.getAttribute("data-swiper-slide-index")*1===g)[0].column}else s=o.getSlideIndexByData(r);const d=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=d-s<c;if(u&&(v=v||s<Math.ceil(c/2)),v){const g=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:g,slideTo:!0,activeSlideIndex:g==="next"?s+1:s-d+1,slideRealIndex:g==="next"?o.realIndex:void 0})}if(l){const g=r*o.params.grid.rows;r=o.slides.filter(b=>b.getAttribute("data-swiper-slide-index")*1===g)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function Ao(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!u&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function Po(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:d,animating:u}=n;if(!d||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=s?n.translate:-n.translate;function g(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const b=g(v),y=l.map(p=>g(p));let m=l[y.indexOf(b)-1];if(typeof m>"u"&&o.cssMode){let p;l.forEach((w,h)=>{b>=w&&(p=h)}),typeof p<"u"&&(m=l[p>0?p-1:p])}let C=0;if(typeof m<"u"&&(C=r.indexOf(m),C<0&&(C=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(C=C-n.slidesPerViewDynamic("previous",!0)+1,C=Math.max(C,0))),o.rewind&&n.isBeginning){const p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(C,t,e,i)}),!0;return n.slideTo(C,t,e,i)}function Oo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function Mo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),d=o.rtlTranslate?o.translate:-o.translate;if(d>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];d-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];d-u<=(c-u)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Lo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Ve(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),st(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Ve(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),st(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var jo={slideTo:ko,slideToLoop:Do,slideNext:Ao,slidePrev:Po,slideReset:Oo,slideToClosest:Mo,slideToClickedSlide:Lo};function No(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Ve(n,`.${i.slideClass}, swiper-slide`).forEach((v,g)=>{v.setAttribute("data-swiper-slide-index",g)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const g=e.isElement?pt("swiper-slide",[i.slideBlankClass]):pt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(g)}};if(s){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else wt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(d){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else wt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Bo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:g,params:b}=d,{centeredSlides:y}=b;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&b.virtual.enabled){i&&(!b.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):b.centeredSlides&&d.snapIndex<b.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=c,d.allowSlideNext=v,d.emit("loopFix");return}let m=b.slidesPerView;m==="auto"?m=d.slidesPerViewDynamic():(m=Math.ceil(parseFloat(b.slidesPerView,10)),y&&m%2===0&&(m=m+1));const C=b.slidesPerGroupAuto?m:b.slidesPerGroup;let p=C;p%C!==0&&(p+=C-p%C),p+=b.loopAdditionalSlides,d.loopedSlides=p;const w=d.grid&&b.grid&&b.grid.rows>1;u.length<m+p?wt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&b.grid.fill==="row"&&wt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],S=[];let k=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(I=>I.classList.contains(b.slideActiveClass))[0]):k=l;const f=n==="next"||!n,M=n==="prev"||!n;let _=0,T=0;const E=w?Math.ceil(u.length/b.grid.rows):u.length,x=(w?u[l].column:l)+(y&&typeof o>"u"?-m/2+.5:0);if(x<p){_=Math.max(p-x,C);for(let I=0;I<p-x;I+=1){const P=I-Math.floor(I/E)*E;if(w){const j=E-P-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===j&&h.push(z)}else h.push(E-P-1)}}else if(x+m>E-p){T=Math.max(x-(E-p*2),C);for(let I=0;I<T;I+=1){const P=I-Math.floor(I/E)*E;w?u.forEach((j,z)=>{j.column===P&&S.push(z)}):S.push(P)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&h.forEach(I=>{u[I].swiperLoopMoveDOM=!0,g.prepend(u[I]),u[I].swiperLoopMoveDOM=!1}),f&&S.forEach(I=>{u[I].swiperLoopMoveDOM=!0,g.append(u[I]),u[I].swiperLoopMoveDOM=!1}),d.recalcSlides(),b.slidesPerView==="auto"?d.updateSlides():w&&(h.length>0&&M||S.length>0&&f)&&d.slides.forEach((I,P)=>{d.grid.updateSlide(P,I,d.slides)}),b.watchSlidesProgress&&d.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const I=d.slidesGrid[k],j=d.slidesGrid[k+_]-I;s?d.setTranslate(d.translate-j):(d.slideTo(k+Math.ceil(_),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-j,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-j))}else if(o){const I=w?h.length/b.grid.rows:h.length;d.slideTo(d.activeIndex+I,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(S.length>0&&f)if(typeof e>"u"){const I=d.slidesGrid[k],j=d.slidesGrid[k-T]-I;s?d.setTranslate(d.translate-j):(d.slideTo(k-T,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-j,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-j))}else{const I=w?S.length/b.grid.rows:S.length;d.slideTo(d.activeIndex-I,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!r){const I={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...I,slideTo:P.params.slidesPerView===b.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...I,slideTo:d.controller.control.params.slidesPerView===b.slidesPerView?i:!1})}d.emit("loopFix")}function Ro(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var zo={loopCreate:No,loopFix:Bo,loopDestroy:Ro};function Vo(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Fo(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Ho={setGrabCursor:Vo,unsetGrabCursor:Fo};function Uo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Re()||n===Ce())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function Ri(t,e,i){const n=Ce(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Go(t){const e=this,i=Re();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Ri(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const u=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const v=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(g?Uo(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const b=r.currentX,y=r.currentY;if(!Ri(e,n,b))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=b,r.startY=y,o.touchStartTime=Me(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let m=!0;d.matches(o.focusableElements)&&(m=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const C=m&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function $o(t){const e=Re(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let u;if(d.type==="touchmove"){if(u=[...d.changedTouches].filter(f=>f.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d);return}const c=u.pageX,v=u.pageY;if(d.preventedByNestedSwiper){l.startX=c,l.startY=v;return}if(!i.allowTouchMove){d.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v}),n.touchStartTime=Me());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(v<l.startY&&i.translate<=i.maxTranslate()||v>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=v;const g=l.currentX-l.startX,b=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(g**2+b**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let f;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:g*g+b*b>=25&&(f=Math.atan2(Math.abs(b),Math.abs(g))*180/Math.PI,n.isScrolling=i.isHorizontal()?f>o.touchAngle:90-f>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",d),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&d.cancelable&&d.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&d.stopPropagation();let y=i.isHorizontal()?g:b,m=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(y=Math.abs(y)*(r?1:-1),m=Math.abs(m)*(r?1:-1)),l.diff=y,y*=o.touchRatio,r&&(y=-y,m=-m);const C=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=m>0?"prev":"next";const p=i.params.loop&&!o.cssMode,w=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&w&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(f)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",d)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&p&&w&&Math.abs(y)>=1){Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let S=!0,k=o.resistanceRatio;if(o.touchReleaseOnEdges&&(k=0),y>0?(p&&w&&!h&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(S=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+y)**k))):y<0&&(p&&w&&!h&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(S=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-y)**k))),S&&(d.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(y)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Wo(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(k=>k.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Me(),g=v-i.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),g<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Me(),st(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let b;if(r.followFinger?b=d?e.translate:-e.translate:b=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:b});return}const y=b>=-e.maxTranslate()&&!e.params.loop;let m=0,C=e.slidesSizesGrid[0];for(let k=0;k<u.length;k+=k<r.slidesPerGroupSkip?1:r.slidesPerGroup){const f=k<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[k+f]<"u"?(y||b>=u[k]&&b<u[k+f])&&(m=k,C=u[k+f]-u[k]):(y||b>=u[k])&&(m=k,C=u[u.length-1]-u[u.length-2])}let p=null,w=null;r.rewind&&(e.isBeginning?w=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const h=(b-u[m])/C,S=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(g>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:m+S):e.slideTo(m)),e.swipeDirection==="prev"&&(h>1-r.longSwipesRatio?e.slideTo(m+S):w!==null&&h<0&&Math.abs(h)>r.longSwipesRatio?e.slideTo(w):e.slideTo(m))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(m+S):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:m+S),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:m))}}function zi(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function Yo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function qo(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Xo(t){const e=this;Et(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Jo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Vi=(t,e)=>{const i=Re(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",u=e;i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[d]("touchstart",t.onTouchStart,{passive:!1}),o[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",zi,!0):t[u]("observerUpdate",zi,!0),o[d]("load",t.onLoad,{capture:!0})};function Ko(){const t=this,{params:e}=t;t.onTouchStart=Go.bind(t),t.onTouchMove=$o.bind(t),t.onTouchEnd=Wo.bind(t),t.onDocumentTouchStart=Jo.bind(t),e.cssMode&&(t.onScroll=qo.bind(t)),t.onClick=Yo.bind(t),t.onLoad=Xo.bind(t),Vi(t,"on")}function Qo(){Vi(this,"off")}var Zo={attachEvents:Ko,detachEvents:Qo};const Fi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function el(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,u=Fi(t,n),c=Fi(t,d),v=n.enabled;u&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof d[p]>"u")return;const w=n[p]&&n[p].enabled,h=d[p]&&d[p].enabled;w&&!h&&t[p].disable(),!w&&h&&t[p].enable()});const g=d.direction&&d.direction!==n.direction,b=n.loop&&(d.slidesPerView!==n.slidesPerView||g),y=n.loop;g&&i&&t.changeDirection(),Pe(t.params,d);const m=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!m?t.disable():!v&&m&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",d),i&&(b?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&C?(t.loopCreate(e),t.updateSlides()):y&&!C&&t.loopDestroy()),t.emit("breakpoint",d)}function tl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Ce(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const d=parseFloat(s.substr(1));return{value:l*d,point:s}}return{value:s,point:s}});r.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<r.length;s+=1){const{point:d,value:u}=r[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var il={setBreakpoint:el,getBreakpoint:tl};function nl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function ol(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=nl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),o.classList.add(...e),t.emitContainerClasses()}function ll(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var sl={addClasses:ol,removeClasses:ll};function al(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var rl={checkOverflow:al},Xt={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function dl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Pe(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){Pe(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Pe(e,n)}}const Jt={eventsEmitter:lo,update:go,translate:xo,transition:_o,slide:jo,loop:zo,grabCursor:Ho,events:Zo,breakpoints:il,checkOverflow:rl,classes:sl},Kt={};let Qt=class Ye{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=Pe({},i),e&&!i.el&&(i.el=e);const r=Re();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(v=>{const g=Pe({},i,{el:v});c.push(new Ye(g))}),c}const s=this;s.__swiper__=!0,s.support=ji(),s.device=Ni({userAgent:i.userAgent}),s.browser=io(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const d={};s.modules.forEach(c=>{c({params:i,swiper:s,extendParams:dl(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Pe({},Xt,d);return s.params=Pe({},u,Kt,i),s.originalParams=Pe({},s.params),s.passedParams=Pe({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(c=>{s.on(c,s.params.on[c])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=Ve(i,`.${n.slideClass}, swiper-slide`),l=St(o[0]);return St(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=Ve(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:d,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let v=l[u]?Math.ceil(l[u].swiperSlideSize):0,g;for(let b=u+1;b<l.length;b+=1)l[b]&&!g&&(v+=Math.ceil(l[b].swiperSlideSize),c+=1,v>d&&(g=!0));for(let b=u-1;b>=0;b-=1)l[b]&&!g&&(v+=l[b].swiperSlideSize,c+=1,v>d&&(g=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?r[v]+s[v]-r[u]<d:r[v]-r[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)r[u]-r[v]<d&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&Et(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Ve(n,o())[0];return!r&&i.params.createElements&&(r=pt("div",i.params.wrapperClass),n.append(r),Ve(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Ke(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Ke(n,"direction")==="rtl"),wrongRTL:Ke(r,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?Et(i,l):l.addEventListener("load",r=>{Et(i,r.target)})}),qt(i),i.initialized=!0,qt(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),r.removeAttribute("style"),s&&s.length&&s.forEach(d=>{d.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el.swiper=null,Un(n)),n.destroyed=!0),null}static extendDefaults(e){Pe(Kt,e)}static get extendedDefaults(){return Kt}static get defaults(){return Xt}static installModule(e){Ye.prototype.__modules__||(Ye.prototype.__modules__=[]);const i=Ye.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ye.installModule(i)),Ye):(Ye.installModule(e),Ye)}};Object.keys(Jt).forEach(t=>{Object.keys(Jt[t]).forEach(e=>{Qt.prototype[e]=Jt[t][e]})}),Qt.use([no,oo]);const Hi=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function tt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function rt(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:tt(e[n])&&tt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:rt(t[n],e[n]):t[n]=e[n]})}function Ui(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Gi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function $i(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Wi(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function cl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function ul(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(T=>T!=="children"&&T!=="direction"&&T!=="wrapperClass"),{params:c,pagination:v,navigation:g,scrollbar:b,virtual:y,thumbs:m}=e;let C,p,w,h,S,k,f,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(C=!0),o.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(c.pagination||c.pagination===!1)&&v&&!v.el&&(w=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&b&&!b.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&g&&!g.prevEl&&!g.nextEl&&(S=!0);const _=T=>{e[T]&&(e[T].destroy(),T==="navigation"?(e.isElement&&(e[T].prevEl.remove(),e[T].nextEl.remove()),c[T].prevEl=void 0,c[T].nextEl=void 0,e[T].prevEl=void 0,e[T].nextEl=void 0):(e.isElement&&e[T].el.remove(),c[T].el=void 0,e[T].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?k=!0:!c.loop&&n.loop?f=!0:M=!0),u.forEach(T=>{if(tt(c[T])&&tt(n[T]))Object.assign(c[T],n[T]),(T==="navigation"||T==="pagination"||T==="scrollbar")&&"enabled"in n[T]&&!n[T].enabled&&_(T);else{const E=n[T];(E===!0||E===!1)&&(T==="navigation"||T==="pagination"||T==="scrollbar")?E===!1&&_(T):c[T]=n[T]}}),u.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),o.includes("children")&&i&&y&&c.virtual.enabled?(y.slides=i,y.update(!0)):o.includes("virtual")&&y&&c.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),C&&m.init()&&m.update(!0),p&&(e.controller.control=c.controller.control),w&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(c.pagination.el=d),v.init(),v.render(),v.update()),h&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(c.scrollbar.el=s),b.init(),b.updateSize(),b.setTranslate()),S&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(c.navigation.nextEl=l),r&&(c.navigation.prevEl=r),g.init(),g.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(k||M)&&e.loopDestroy(),(f||M)&&e.loopCreate(),e.update()}function pl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};rt(i,Xt),i._emitClasses=!0,i.init=!1;const l={},r=Hi.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?tt(t[d])?(i[d]={},o[d]={},rt(i[d],t[d]),rt(o[d],t[d])):(i[d]=t[d],o[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:o,rest:l,events:n}}function vl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;Ui(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),Gi(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),$i(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function fl(t,e,i,n,o){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return Hi.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(tt(t[d])&&tt(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?r(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const ml=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Ct(){return Ct=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Ct.apply(this,arguments)}function Yi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function qi(t){const e=[];return a.Children.toArray(t).forEach(i=>{Yi(i)?e.push(i):i.props&&i.props.children&&qi(i.props.children).forEach(n=>e.push(n))}),e}function hl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(t).forEach(n=>{if(Yi(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=qi(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function gl(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,u=[];for(let c=s;c<d;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,v)=>a.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function vt(t,e){return typeof window>"u"?a.useEffect(t,e):a.useLayoutEffect(t,e)}const Zt=a.createContext(null),Xi=()=>a.useContext(Zt),bl=a.createContext(null),it=a.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,d=!1;const[u,c]=a.useState("swiper"),[v,g]=a.useState(null),[b,y]=a.useState(!1),m=a.useRef(!1),C=a.useRef(null),p=a.useRef(null),w=a.useRef(null),h=a.useRef(null),S=a.useRef(null),k=a.useRef(null),f=a.useRef(null),M=a.useRef(null),{params:_,passedParams:T,rest:E,events:A}=pl(s),{slides:x,slots:I}=hl(l),P=()=>{y(!b)};Object.assign(_.on,{_containerClasses(N,B){c(B)}});const j=()=>{Object.assign(_.on,A),d=!0;const N={..._};if(delete N.wrapperClass,p.current=new Qt(N),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=x;const B={cache:!1,slides:x,renderExternal:g,renderExternalUpdate:!1};rt(p.current.params.virtual,B),rt(p.current.originalParams.virtual,B)}};C.current||j(),p.current&&p.current.on("_beforeBreakpoint",P);const z=()=>{d||!A||!p.current||Object.keys(A).forEach(N=>{p.current.on(N,A[N])})},H=()=>{!A||!p.current||Object.keys(A).forEach(N=>{p.current.off(N,A[N])})};a.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",P)}),a.useEffect(()=>{!m.current&&p.current&&(p.current.emitSlidesClasses(),m.current=!0)}),vt(()=>{if(e&&(e.current=C.current),!!C.current)return p.current.destroyed&&j(),vl({el:C.current,nextEl:S.current,prevEl:k.current,paginationEl:f.current,scrollbarEl:M.current,swiper:p.current},_),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),vt(()=>{z();const N=fl(T,w.current,x,h.current,B=>B.key);return w.current=T,h.current=x,N.length&&p.current&&!p.current.destroyed&&ul({swiper:p.current,slides:x,passedParams:T,changedParams:N,nextEl:S.current,prevEl:k.current,scrollbarEl:M.current,paginationEl:f.current}),()=>{H()}}),vt(()=>{ml(p.current)},[v]);function F(){return _.virtual?gl(p.current,x,v):x.map((N,B)=>a.cloneElement(N,{swiper:p.current,swiperSlideIndex:B}))}return a.createElement(n,Ct({ref:C,className:Wi(`${u}${i?` ${i}`:""}`)},E),a.createElement(bl.Provider,{value:p.current},I["container-start"],a.createElement(o,{className:cl(_.wrapperClass)},I["wrapper-start"],F(),I["wrapper-end"]),Ui(_)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:k,className:"swiper-button-prev"}),a.createElement("div",{ref:S,className:"swiper-button-next"})),$i(_)&&a.createElement("div",{ref:M,className:"swiper-scrollbar"}),Gi(_)&&a.createElement("div",{ref:f,className:"swiper-pagination"}),I["container-end"]))});it.displayName="Swiper";const He=a.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=a.useRef(null),[g,b]=a.useState("swiper-slide"),[y,m]=a.useState(!1);function C(S,k,f){k===v.current&&b(f)}vt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){g!=="swiper-slide"&&b("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),vt(()=>{l&&v.current&&!l.destroyed&&b(l.getSlideClasses(v.current))},[l]);const p={isActive:g.indexOf("swiper-slide-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0},w=()=>typeof n=="function"?n(p):n,h=()=>{m(!0)};return a.createElement(i,Ct({ref:v,className:Wi(`${g}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:h},c),r&&a.createElement(Zt.Provider,{value:p},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},w(),s&&!y&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&a.createElement(Zt.Provider,{value:p},w(),s&&!y&&a.createElement("div",{className:"swiper-lazy-preloader"})))});He.displayName="SwiperSlide";const yl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",wl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,d]=a.useState(!1),u=a.useRef(null);a.useEffect(()=>{const g=document.getElementById("sxp-render"),b=document.getElementById("pb-modal");b?u.current=b:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),g?.appendChild(u.current))},[]);const c=a.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(a.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=he.debounce(()=>{e?.()},300);return mi.createPortal(a.createElement(a.Fragment,null,s&&a.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},a.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:g=>{g.stopPropagation(),g.preventDefault()}},a.createElement("div",{onClick:e,className:"modal-icon-wrapper"},a.createElement("img",{src:yl,alt:"close",className:"modal-icon"})),i))),u.current)};var It=a.memo(wl);const Sl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},Tl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:d})=>{const[u,c]=a.useState(!1),[v,g]=a.useState(!1),b=Number(i?.lineClamp||2),y=a.useRef(null),m=a.useRef(null),C=a.useCallback(()=>{c(!u)},[u,d]);return a.useMemo(()=>!u&&t.length>e?Sl(t,e)+"...":t,[t,e,u]),a.useEffect(()=>{var p,w;((p=m?.current)===null||p===void 0?void 0:p.offsetHeight)>((w=y?.current)===null||w===void 0?void 0:w.offsetHeight)&&s?g(!0):g(!1),m.current.style.display="none"},[s]),a.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},a.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":b,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),a.createElement("div",{ref:m,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??C},u?r||"show less":l||"show more"))};var _t=a.memo(Tl);const xl=a.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,d]=a.useState(),{swiperRef:u}=de();return a.useImperativeHandle(e,()=>({setSrc:c=>{d(c)}})),a.useEffect(()=>{var c,v;const g=(v=(c=u?.current)===null||c===void 0?void 0:c.swiper)===null||v===void 0?void 0:v.activeIndex;(g===0||g>0)&&d(i)},[i,u]),a.useRef(null),a.createElement(a.Fragment,null,s?.includes(".avif")?a.createElement("picture",null,a.createElement("source",{type:"image/avif",srcSet:s}),a.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),a.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)}})):a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)}}))});var Le=a.memo(xl);const El=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:g,onClick:b,schema:y,isDefault:m,bottom_image:C,tipText:p,isPost:w,viewTime:h,rec:S,swiper:k,commodityStyles:f,buttonStyle:M,index:_}=t,T=we(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=de(),{popupDetailData:A,bffEventReport:x,isPreview:I,bffFbReport:P}=de(),{jumpToWeb:j,productView:z}=Be(),H=a.useRef(null),[F,N]=a.useState(!1),B=w?S:A,L=w?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,D=w?(i=B?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=B?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,G=w?_:A?.index,R=()=>{L?.link&&(j(B,L,D,G),w||z(B,L,D,h||H.current,G),window.location.href=window.getJointUtmLink(L.link))};a.useEffect(()=>{w||P?.({eventName:"ProductView"})},[w,P]),a.useEffect(()=>{const Y=()=>{H.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const $=a.useMemo(()=>{var Y,re,se,q,ee;return L?.currency&&L?.price?`${(se=(re=(Y=L?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||re===void 0?void 0:re.toUpperCase())!==null&&se!==void 0?se:""}${(ee=(q=L?.price)===null||q===void 0?void 0:q.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ee!==void 0?ee:""}`:"$7,000"},[L?.price,L?.currency]),oe=I?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,Z=({isPost:Y})=>{var re,se,q;return a.createElement("div",null,a.createElement("div",{className:"pb-commondity-content-collection",style:f?.collection,hidden:!!L&&(!L?.collection||L?.collection==="")},(re=L?.collection)!==null&&re!==void 0?re:"Tiffany Lock"),a.createElement("div",{className:"pb-commondity-content-title",style:f?.title,hidden:!!L&&!L?.title},(se=L?.title)!==null&&se!==void 0?se:"Pendant in Yellow Gold with Diamonds, Medium"),a.createElement("div",{className:"pb-commondity-content-price",style:f?.price,hidden:!!L&&!L?.price},$),a.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},a.createElement(_t,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>N(!0),isPost:Y,text:(q=L?.info)!==null&&q!==void 0?q:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var ge=require("lodash"),vn=require("uuid"),fn=require("pako"),a=require("react"),fi=require("qs"),mn=require("eventemitter3"),K=require("@emotion/css"),hn=require("@ant-design/pro-components"),gn=require("react-dom");function bn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var mi=bn(gn);function Te(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i}function Ie(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(c){try{u(n.next(c))}catch(v){r(v)}}function d(c){try{u(n.throw(c))}catch(v){r(v)}}function u(c){c.done?l(c.value):o(c.value).then(s,d)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const yn=/:\w+/g;var hi=(t,e)=>Ie(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:d,name:u,queryString:c,headers:v,body:h}=e[o];let y=s;d&&Object.entries(d).forEach(([g,b])=>{y=y.replace(yn,C=>C===g?b:C)}),c&&(y+=c),n[l]=u;try{const g=yield fetch(y,{method:r,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(h)}).then(b=>b.json());i[l]=g}catch(g){console.error("DataSource request error: ",g),i[l]={}}}return{$store:i,idMapName:n}});const gi="SXP_TOKEN_INFO",wn=(t,e)=>Ie(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(gi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const u=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(c=>c.json());if(u.success){const c=u.data;s=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(gi,JSON.stringify(s))}}return s});function ht(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const Sn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},Tn=()=>{const t=vn.v4();return t?.replaceAll?t.replaceAll("-",""):Sn(32)};function bi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=fn.inflate(n,{to:"string"});return JSON.parse(o)}let Pt=null;const xn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class En{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Pt)return Pt;Pt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?xn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let xe=null;const Cn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{xe||(xe=new En),n&&xe.setApiUrl(n),xe.setAppId(t),xe.setTenantId(e),xe.setEnv(i)},getDetail:t=>{if(!xe)return;const e=xe.getTenantId(),i=xe.getAppId(),n=xe.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Ie(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),d=bi((l=s?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:u}=yield hi(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=d,Object.assign(s.data.data,{__STORE__:u})}return s}))},getSxpDetailByPageId:t=>Ie(void 0,void 0,void 0,function*(){if(!xe)return;const e=xe.getTenantId(),i=xe.getAppId(),n=xe.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Ie(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=bi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Ie(void 0,void 0,void 0,function*(){if(!xe)return;const e=yield wn(xe,t),i=ht(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");ge.isEmpty(n)&&(n=ht(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const o=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return o?.data||null})};function Ge(){return a.useContext(_i)}function In(){return a.useContext(ki)}const Ot="feRealSessionIdKey",yi=()=>{const t=Tn();return`${Date.now()}${t}`},kn=()=>{let t=Dn();return t||(t=yi(),window.sessionStorage.setItem(Ot,t)),t},_n=()=>{const t=yi();window.sessionStorage.setItem(Ot,t)},Dn=()=>window.sessionStorage.getItem(Ot),wi="SXP_FAKE_USER_ID",Si="FAKE_USER_STATE",Ti=()=>{let t=window.localStorage.getItem(wi);return ge.isEmpty(t)&&(t=ht(36,62),window.localStorage.setItem(wi,t)),t},An=()=>{const t=window.localStorage.getItem(Si);return ge.isEmpty(t)&&window.localStorage.setItem(Si,"true"),ge.isEmpty(t)};function Me(t,e){const{appDomain:i}=de();return a.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const $e=new mn;var Be;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Be||(Be={}));const xi=a.createContext({rtcList:[],tagList:[]});var Mt;(function(t){t[t.BFF=5]="BFF"})(Mt||(Mt={}));const Ei=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Pn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:d,hashTagSize:u,loadingImage:c,isOpenHashTag:v=!1,enabledMetaConversionApi:h=!1,isShowTag:y=!0})=>{const[g,b]=a.useState([]),[C,p]=a.useState([]),[w,m]=a.useState(!1),[E,_]=a.useState({rtc:"",requestId:""}),f=a.useRef(null),M=a.useRef(!1),[k,S]=a.useState(),[x,A]=a.useState(),[T,I]=a.useState(v),[P,j]=a.useState([]),[z,H]=a.useState(0),[F,N]=a.useState(!1),[B,L]=a.useState(null),D=a.useRef();a.useEffect(()=>{const V=U=>{D.current=U};return $e.on(Be.CHANGE_THEME_TAG,V),()=>{$e.off(Be.CHANGE_THEME_TAG,V)}},[]),a.useEffect(()=>{I(v)},[v]);const G=a.useMemo(()=>e?.find(V=>V.type===Mt.BFF),[e]),R=a.useCallback((V,U)=>{if(!G)return;const ne=G.url,me=Ti();if(U?.query){const fe=fi.stringify(U.query);V=`${V}?${fe}`}return U.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ne}/api/v1${V}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},G.headers),{"x-user-id":me}),U.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ne}/api/v1${V}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":me},G.headers),method:U.method,body:JSON.stringify(U.body)}).then(fe=>fe.json()).catch(fe=>Promise.reject(fe))},[G]),W=a.useCallback(V=>Ie(void 0,void 0,void 0,function*(){var U,ne,me,fe,Se;if(V={maxSize:(U=V?.maxSize)!==null&&U!==void 0?U:o,defaultSize:(ne=V?.defaultSize)!==null&&ne!==void 0?ne:l,"itemFilter.itemId":V?.["itemFilter.itemId"],"itemFilter.itemType":V?.["itemFilter.itemType"],hashTag:V?.hashTag,traceInfo:V?.traceInfo,themeTag:V?.themeTag},i){const _e=(Se=(fe=(me=i?.split("&"))===null||me===void 0?void 0:me.filter(Ve=>{const De=Ve.split("=")[0];return Ei.includes(De)}))===null||fe===void 0?void 0:fe.join("&"))!==null&&Se!==void 0?Se:"";V=Object.assign(Object.assign({},V),{channel:decodeURIComponent(_e)})}const ue=yield R?.("/recommend/list",{method:"GET",query:V});if(ue?.success)return V?.hashTag||_({rtc:ue.data.rtc,requestId:ue.data.requestId}),ue?.data}),[R,i,o,l]),oe=a.useCallback(()=>Ie(void 0,void 0,void 0,function*(){var V,U;if(g.length<=0)return;const ne=yield W({hashTag:x?.hashTag,"itemFilter.itemId":x?.itemId,"itemFilter.itemType":x?.itemType,themeTag:D.current});b(g.concat((V=ne?.recList)!==null&&V!==void 0?V:[])),j(P.concat((U=ne?.recList)!==null&&U!==void 0?U:[]))}),[W,g,x,P]),ee=a.useCallback(({userInfo:V,eventInfo:U})=>{if(!n)return;V||(V={});const ne=kn(),me=Object.assign({sessionID:ne,rtc:E.rtc,requestId:E.requestId},U),fe=Object.entries(V).map(([ue,_e])=>({name:ue,value:_e})),Se=Object.entries(me).map(([ue,_e])=>_e&&{name:ue,value:_e}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",V),console.log("eventInfo:",me),console.log("========= \u7ED3\u675F ========="),R?.("/event/report",{method:"POST",body:{userInfo:fe,eventInfo:Se},type:"beacon"})},[R,E,n]),te=a.useCallback(V=>{var U,{eventName:ne,actionSource:me="website",eventSourceUrl:fe=(U=window?.location)===null||U===void 0?void 0:U.href,externalId:Se}=V;if(!n||!h)return;const ue=Ti();return R?.("/fb/events",{method:"POST",body:{eventName:ne,actionSource:me,eventSourceUrl:fe,userData:{externalId:ue}},type:"beacon"})},[R,n,h]),ae=a.useCallback(V=>Ie(void 0,void 0,void 0,function*(){const U=yield R?.("/recommend/like",{method:"POST",body:V});return U?.success}),[R]),$=a.useCallback(V=>Ie(void 0,void 0,void 0,function*(){const U=yield R?.("/recommend/unlike",{method:"POST",body:V});return U?.success}),[R]),se=a.useCallback(V=>Ie(void 0,void 0,void 0,function*(){const U=yield R?.("/customform",{method:"POST",body:V});return U?.success}),[R]),q=a.useCallback(()=>Ie(void 0,void 0,void 0,function*(){var V,U,ne,me,fe;if(!(!i||!y))try{const Se=(ne=(U=(V=i?.split("&"))===null||V===void 0?void 0:V.filter(_e=>{const Ve=_e.split("=")[0];return Ei.includes(Ve)}))===null||U===void 0?void 0:U.join("&"))!==null&&ne!==void 0?ne:"",ue=yield R?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Se)}});p((fe=(me=ue?.data)===null||me===void 0?void 0:me.tags)!==null&&fe!==void 0?fe:[])}catch(Se){console.log("e",Se)}}),[R,i,y]),J=a.useCallback((V,U,ne,me)=>{var fe,Se,ue,_e,Ve,De,rt,it,nt,dt,ot,ct;const be=ne?.bindCta,At=((fe=U?.video)===null||fe===void 0?void 0:fe.bindProduct)||((Se=U?.video)===null||Se===void 0?void 0:Se.bindProducts)&&((_e=(ue=U?.video)===null||ue===void 0?void 0:ue.bindProducts)===null||_e===void 0?void 0:_e.length)>0;let Ye="";F?Ye="hashTagPage":!((Ve=U?.video)===null||Ve===void 0)&&Ve.url?Ye="videoPage":!((rt=(De=U?.video)===null||De===void 0?void 0:De.imgUrls)===null||rt===void 0)&&rt.length&&(Ye="imagePage"),ee?.({eventInfo:Object.assign(Object.assign({},V),{ctaId:(it=be?.itemId)!==null&&it!==void 0?it:"",ctaName:(nt=be?.title)!==null&&nt!==void 0?nt:"",contentTags:JSON.stringify(be?.tags),position:me+"",contentId:(ot=(dt=U?.video)===null||dt===void 0?void 0:dt.itemId)!==null&&ot!==void 0?ot:"",productId:At?ne?.itemId:"",traceInfo:(ct=be?.traceInfo)!==null&&ct!==void 0?ct:"",fromKName:Ye})})},[ee,F]);a.useEffect(()=>{m(!0),q(),W().then(V=>{var U,ne;b((U=V?.recList)!==null&&U!==void 0?U:[]),j((ne=V?.recList)!==null&&ne!==void 0?ne:[])}).finally(()=>{m(!1),M.current=!0})},[]),a.useEffect(()=>{M.current&&(m(!0),q(),W().then(V=>{var U,ne;b((U=V?.recList)!==null&&U!==void 0?U:[]),j((ne=V?.recList)!==null&&ne!==void 0?ne:[])}).finally(()=>{m(!1)}))},[W,q]);const he=Me("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return a.createElement(xi.Provider,{value:{rtcList:g,setRtcList:b,mutateLike:ae,mutateUnlike:$,submitForm:se,popupDetailData:k,loadVideos:oe,setPopupDetailData:S,getRecommendVideos:W,bffEventReport:ee,utmVal:i,isPreview:r,loading:w,sxpParameter:s,waterFallData:x,setWaterFallData:A,ctaEvent:J,swiperRef:f,openHashtag:T,setOpenHashtag:I,cacheRtcList:P,setCacheRtcList:j,cacheActiveIndex:z,setCacheActiveIndex:H,isFromHashtag:F,setIsFromHashtag:N,appDomain:d,hashTagSize:u,loadingImage:c??he,isOpenHashTag:v,tagList:C,setLoading:m,videoRef:B,setVideoRef:L,bffFbReport:te}},t({rtcList:g,mutateLike:ae,mutateUnlike:$,submitForm:se,tagList:C}))};var Ci=a.memo(Pn);function de(){return a.useContext(xi)}var Ii;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(Ii||(Ii={}));const ki=a.createContext({$store:{},options:[],configs:[]}),On=({children:t,isSsr:e,enable:i})=>{const[n,o]=a.useState([]),{schema:l}=Ge(),[r,s]=a.useState(l.__STORE__||{}),[d,u]=a.useState([]);a.useEffect(()=>{var h;e||ge.isEqual(d,l?.dataSource)||u((h=l?.dataSource)!==null&&h!==void 0?h:[])},[l?.dataSource,e]);const c=a.useCallback(()=>Ie(void 0,void 0,void 0,function*(){const{$store:h,idMapName:y}=yield hi("",d);s(h),v(h,y)}),[d]),v=(h,y)=>{const g=[];Object.entries(h).forEach(([b,C])=>{Object.keys(C).forEach(p=>{const w={label:`${y[b]} - ${p}`,value:`{{ ${b}.${p} }}`};g.push(w)})}),o(g)};return a.useEffect(()=>{e||c()},[c,e,l]),i?a.createElement(ki.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var Mn=a.memo(On);const gt={id:ht(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},Lt={id:"",duration:0,name:"none"},_i=a.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[gt],redoStack:[],popup:Lt,setPopup:()=>{}}),Di=a.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,d]=a.useState(null),[u,c]=a.useState(n||{pointData:[gt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,h]=a.useState([gt]),[y,g]=a.useState([[gt]]),[b,C]=a.useState([]),[p,w]=a.useState(Lt);typeof window<"u"&&(window.sxpPopup=(M,k)=>{w(Object.assign(Object.assign(Object.assign({},Lt),{id:M}),k))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),a.useEffect(()=>{g([u.pointData]),C([])},[u.type]);const m=a.useCallback(M=>{const k=ge.cloneDeep(u);k&&(k.dataSource=M,c?.(k))},[u]),[E,_]=a.useState();a.useImperativeHandle(r,()=>({loadSchema(M){M&&(g([M.pointData]),c(M))},exportSchema(){return ge.cloneDeep(u)},getPageInfoData(){return E},initPageInfoData(M){M&&_(M)}}));const f=a.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return a.createElement(_i.Provider,{value:{resolver:e,currentNode:s,schema:u,setCurrentNode:d,setSchema:c,saveDataSource:m,prePiontData:v,setPrePiontData:h,pageInfoData:E,setPageInfoData:M=>_(Object.assign(Object.assign({},E),M)),undoStack:y,redoStack:b,setRedoStack:C,setUndoStack:g,getCurPageConf:f,popup:p,setPopup:w}},a.createElement(Mn,{isSsr:i,enable:o},t))});var Ln=Object.freeze({__proto__:null,EditorCore:Di}),jn=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const le=[{label:"defalut",value:"appFont"}],jt=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),Nn=jt&&jt!==""?JSON.parse(jt):[];var Ae={fontOptions:[...le,...Nn]},Nt,Bt,Rt,Bn=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:le,initialValue:(Nt=le?.[0])===null||Nt===void 0?void 0:Nt.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Ae?.fontOptions,initialValue:(Rt=(Bt=Ae?.fontOptions)===null||Bt===void 0?void 0:Bt[0])===null||Rt===void 0?void 0:Rt.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Re(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=de(),o=a.useCallback((r,s,d,u)=>{var c,v,h,y,g,b,C,p,w,m,E,_,f,M;let k="";e&&(!((v=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||v===void 0)&&v.length||!((h=r?.video)===null||h===void 0)&&h.bindProduct)?k="pdpPage":n?k="hashTagPage":!((y=r?.video)===null||y===void 0)&&y.url?k="videoPage":!((g=r?.video)===null||g===void 0)&&g.imgUrls&&(!((C=(b=r?.video)===null||b===void 0?void 0:b.imgUrls)===null||C===void 0)&&C.length)?k="imagePage":r?.product&&(k="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=s?.itemId)!==null&&p!==void 0?p:"",productName:(w=s?.title)!==null&&w!==void 0?w:"",price:s?.price?s?.price+"":"0",productCollection:(m=s?.collection)!==null&&m!==void 0?m:"",fromKName:k,fromKPage:location?.href,contentTags:s?.tags?JSON.stringify(s?.tags):"",position:u+"",contentId:(_=(E=r?.video)===null||E===void 0?void 0:E.itemId)!==null&&_!==void 0?_:"",ctatId:(f=d?.itemId)!==null&&f!==void 0?f:"",traceInfo:(M=s?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=a.useCallback((r,s,d,u,c)=>{var v,h,y,g;let b="";e&&(!((h=(v=r?.video)===null||v===void 0?void 0:v.bindProducts)===null||h===void 0)&&h.length||!((y=r?.video)===null||y===void 0)&&y.bindProduct)?b="pdpPage":r?.product&&(b="productPage"),t?.({eventInfo:{productId:s?.itemId,productName:s?.title,price:s?.price?s?.price+"":"0",productCollection:s?.collection,fromKName:b,fromKPage:location?.href,contentTags:JSON.stringify(s?.tags),position:c+"",contentId:(g=r?.video)===null||g===void 0?void 0:g.itemId,ctatId:d?.itemId,traceInfo:s?.traceInfo,timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const Rn=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:d,isExternalLink:u,isPopup:c,onClick:v,onClose:h,submitButtonStyle:y}=t,g=Te(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:b,popupDetailData:C}=de(),{jumpToWeb:p}=Re(),w=a.useRef(),[m,E]=a.useState(!1),_=a.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),f=a.useMemo(()=>{if(d===void 0){const k=ge.cloneDeep(e)||_;return k?.map(S=>Object.assign(Object.assign({},S),{title:void 0,fieldProps:{placeholder:S?.title}}))}else return ge.cloneDeep(e)||_},[d,e,_]),M=ge.debounce(()=>Ie(void 0,void 0,void 0,function*(){var k,S,x,A,T,I;const P=yield(k=w?.current)===null||k===void 0?void 0:k.getFieldsValue();if(!P)return;const j=(x=(S=Object.keys(P))===null||S===void 0?void 0:S.map(H=>{var F;return{name:H,value:(F=P[H])!==null&&F!==void 0?F:""}}))===null||x===void 0?void 0:x.filter(H=>H?.value);if(!j||!j?.length)return;E(!0);const z=yield b?.({attributes:j});if(E(!1),z){if(u){const H=C,F=(A=H?.video)===null||A===void 0?void 0:A.bindProduct,N=(I=(T=H?.video)===null||T===void 0?void 0:T.bindProduct)===null||I===void 0?void 0:I.bindCta,B=C?.index;p(H,F,N,B)}c||h?.(),v?.()}}),1e3);return a.createElement("div",{className:"pb-appoint-form"},a.createElement("div",{className:`pb-appoint-form-title ${K.css(Object.assign({},o))}`},n),a.createElement("div",Object.assign({className:K.css(Object.assign({},i))},g),a.createElement("div",{className:"pb-appoint-form-container"},a.createElement(hn.BetaSchemaForm,{columns:f,submitter:!1,layout:d,autoFocusFirstInput:!1,size:"large",formRef:w,className:"panel-reset"}))),a.createElement("div",{className:"pb-appoint-form-btn-wrapper"},a.createElement("button",{onClick:M,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},y)},m?a.createElement(a.Fragment,null,"loading..."):s)))};var zn=a.memo(Rn);function Pe(t,e){return t.extend=e,t}const Vn=Pe(zn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Bn,bindableProps:[],interactionRender:jn},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var zt,Vt,Fn=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:le,name:["fontFamily"],initialValue:(zt=le?.[0])===null||zt===void 0?void 0:zt.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:le,initialValue:(Vt=le?.[0])===null||Vt===void 0?void 0:Vt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Ai(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Ft(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Ai(e[i])&&Ai(t[i])&&Object.keys(e[i]).length>0&&Ft(t[i],e[i])})}const Pi={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ze(){const t=typeof document<"u"?document:{};return Ft(t,Pi),t}const Hn={document:Pi,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function ke(){const t=typeof window<"u"?window:{};return Ft(t,Hn),t}function Xe(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Un(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function lt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Le(){return Date.now()}function Gn(t){const e=ke();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function $n(t,e){e===void 0&&(e="x");const i=ke();let n,o,l;const r=Gn(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function bt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Wn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Oe(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!Wn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],d=Object.getOwnPropertyDescriptor(n,s);d!==void 0&&d.enumerable&&(bt(t[s])&&bt(n[s])?n[s].__swiper__?t[s]=n[s]:Oe(t[s],n[s]):!bt(t[s])&&bt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Oe(t[s],n[s])):t[s]=n[s])}}}return t}function yt(t,e,i){t.style.setProperty(e,i)}function Oi(t){let{swiper:e,targetPosition:i,side:n}=t;const o=ke(),l=-e.translate;let r=null,s;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(h,y)=>u==="next"&&h>=y||u==="prev"&&h<=y,v=()=>{s=new Date().getTime(),r===null&&(r=s);const h=Math.max(Math.min((s-r)/d,1),0),y=.5-Math.cos(h*Math.PI)/2;let g=l+y*(i-l);if(c(g,i)&&(g=i),e.wrapperEl.scrollTo({[n]:g}),c(g,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:g})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(v)};v()}function Fe(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function wt(t){try{console.warn(t);return}catch{}}function pt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Xe(e)),i}function Yn(t){const e=ke(),i=ze(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+d-r}}function qn(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Xn(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Je(t,e){return ke().getComputedStyle(t,null).getPropertyValue(e)}function St(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Mi(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function Ht(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Ut(t,e,i){const n=ke();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function He(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Jn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=ke();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,s=Le(),d;const u=[];function c(m){let M=0,k=0,S=0,x=0;return"detail"in m&&(k=m.detail),"wheelDelta"in m&&(k=-m.wheelDelta/120),"wheelDeltaY"in m&&(k=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(M=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(M=k,k=0),S=M*10,x=k*10,"deltaY"in m&&(x=m.deltaY),"deltaX"in m&&(S=m.deltaX),m.shiftKey&&!S&&(S=x,x=0),(S||x)&&m.deltaMode&&(m.deltaMode===1?(S*=40,x*=40):(S*=800,x*=800)),S&&!M&&(M=S<1?-1:1),x&&!k&&(k=x<1?-1:1),{spinX:M,spinY:k,pixelX:S,pixelY:x}}function v(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function y(m){return e.params.mousewheel.thresholdDelta&&m.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Le()-s<e.params.mousewheel.thresholdTime?!1:m.delta>=6&&Le()-s<60?!0:(m.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",m.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",m.raw)),s=new l.Date().getTime(),!1)}function g(m){const E=e.params.mousewheel;if(m.direction<0){if(e.isEnd&&!e.params.loop&&E.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&E.releaseOnEdges)return!0;return!1}function b(m){let E=m,_=!0;if(!e.enabled||m.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const f=e.params.mousewheel;e.params.cssMode&&E.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const k=M&&M.contains(E.target);if(!e.mouseEntered&&!k&&!f.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let S=0;const x=e.rtlTranslate?-1:1,A=c(E);if(f.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))S=-A.pixelX*x;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))S=-A.pixelY;else return!0;else S=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*x:-A.pixelY;if(S===0)return!0;f.invert&&(S=-S);let T=e.getTranslate()+S*f.sensitivity;if(T>=e.minTranslate()&&(T=e.minTranslate()),T<=e.maxTranslate()&&(T=e.maxTranslate()),_=e.params.loop?!0:!(T===e.minTranslate()||T===e.maxTranslate()),_&&e.params.nested&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Le(),delta:Math.abs(S),direction:Math.sign(S),raw:m};u.length>=2&&u.shift();const P=u.length?u[u.length-1]:void 0;if(u.push(I),P?(I.direction!==P.direction||I.delta>P.delta||I.time>P.time+150)&&y(I):y(I),g(I))return!0}else{const I={time:Le(),delta:Math.abs(S),direction:Math.sign(S)},P=d&&I.time<d.time+500&&I.delta<=d.delta&&I.direction===d.direction;if(!P){d=void 0;let j=e.getTranslate()+S*f.sensitivity;const z=e.isBeginning,H=e.isEnd;if(j>=e.minTranslate()&&(j=e.minTranslate()),j<=e.maxTranslate()&&(j=e.maxTranslate()),e.setTransition(0),e.setTranslate(j),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!z&&e.isBeginning||!H&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const F=u.length?u[u.length-1]:void 0,N=u[0];if(u.push(I),F&&(I.delta>F.delta||I.direction!==F.direction))u.splice(0);else if(u.length>=15&&I.time-N.time<500&&N.delta-I.delta>=1&&I.delta<=6){const B=S>0?.8:.2;d=I,u.splice(0),r=lt(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}r||(r=lt(()=>{d=I,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",E),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),f.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function C(m){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[m]("mouseenter",v),E[m]("mouseleave",h),E[m]("wheel",b)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",b),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,b),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:p,disable:w})}function Li(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Fe(t.el,`.${n[o]}`)[0];l||(l=pt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function st(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Tt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,w){const{bulletActiveClass:m}=e.params.pagination;p&&(p=p[`${w==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${m}-${w}`),p=p[`${w==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${m}-${w}-${w}`)))}function c(p){const w=p.target.closest(st(e.params.pagination.bulletClass));if(!w)return;p.preventDefault();const m=St(w)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===m)return;e.slideToLoop(m)}else e.slideTo(m)}function v(){const p=e.rtl,w=e.params.pagination;if(d())return;let m=e.pagination.el;m=He(m);let E,_;const f=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(f/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(_=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,_=e.previousSnapIndex):(_=e.previousIndex||0,E=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const k=e.pagination.bullets;let S,x,A;if(w.dynamicBullets&&(r=Ut(k[0],e.isHorizontal()?"width":"height",!0),m.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${r*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&_!==void 0&&(s+=E-(_||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(E-s,0),x=S+(Math.min(k.length,w.dynamicMainBullets)-1),A=(x+S)/2),k.forEach(T=>{const I=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${w.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();T.classList.remove(...I)}),m.length>1)k.forEach(T=>{const I=St(T);I===E?T.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),w.dynamicBullets&&(I>=S&&I<=x&&T.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),I===S&&u(T,"prev"),I===x&&u(T,"next"))});else{const T=k[E];if(T&&T.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&k.forEach((I,P)=>{I.setAttribute("part",P===E?"bullet-active":"bullet")}),w.dynamicBullets){const I=k[S],P=k[x];for(let j=S;j<=x;j+=1)k[j]&&k[j].classList.add(...`${w.bulletActiveClass}-main`.split(" "));u(I,"prev"),u(P,"next")}}if(w.dynamicBullets){const T=Math.min(k.length,w.dynamicMainBullets+4),I=(r*T-r)/2-A*r,P=p?"right":"left";k.forEach(j=>{j.style[e.isHorizontal()?P:"top"]=`${I}px`})}}m.forEach((k,S)=>{if(w.type==="fraction"&&(k.querySelectorAll(st(w.currentClass)).forEach(x=>{x.textContent=w.formatFractionCurrent(E+1)}),k.querySelectorAll(st(w.totalClass)).forEach(x=>{x.textContent=w.formatFractionTotal(M)})),w.type==="progressbar"){let x;w.progressbarOpposite?x=e.isHorizontal()?"vertical":"horizontal":x=e.isHorizontal()?"horizontal":"vertical";const A=(E+1)/M;let T=1,I=1;x==="horizontal"?T=A:I=A,k.querySelectorAll(st(w.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${I})`,P.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(k.innerHTML=w.renderCustom(e,E+1,M),S===0&&o("paginationRender",k)):(S===0&&o("paginationRender",k),o("paginationUpdate",k)),e.params.watchOverflow&&e.enabled&&k.classList[e.isLocked?"add":"remove"](w.lockClass)})}function h(){const p=e.params.pagination;if(d())return;const w=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let m=e.pagination.el;m=He(m);let E="";if(p.type==="bullets"){let _=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&_>w&&(_=w);for(let f=0;f<_;f+=1)p.renderBullet?E+=p.renderBullet.call(e,f,p.bulletClass):E+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?E=p.renderFraction.call(e,p.currentClass,p.totalClass):E=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?E=p.renderProgressbar.call(e,p.progressbarFillClass):E=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],m.forEach(_=>{p.type!=="custom"&&(_.innerHTML=E||""),p.type==="bullets"&&e.pagination.bullets.push(..._.querySelectorAll(st(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",m[0])}function y(){e.params.pagination=Li(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let w;typeof p.el=="string"&&e.isElement&&(w=e.el.querySelector(p.el)),!w&&typeof p.el=="string"&&(w=[...document.querySelectorAll(p.el)]),w||(w=p.el),!(!w||w.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...e.el.querySelectorAll(p.el)],w.length>1&&(w=w.filter(m=>Mi(m,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=He(w),w.forEach(m=>{p.type==="bullets"&&p.clickable&&m.classList.add(...(p.clickableClass||"").split(" ")),m.classList.add(p.modifierClass+p.type),m.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(m.classList.add(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&m.classList.add(p.progressbarOppositeClass),p.clickable&&m.addEventListener("click",c),e.enabled||m.classList.add(p.lockClass)}))}function g(){const p=e.params.pagination;if(d())return;let w=e.pagination.el;w&&(w=He(w),w.forEach(m=>{m.classList.remove(p.hiddenClass),m.classList.remove(p.modifierClass+p.type),m.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(m.classList.remove(...(p.clickableClass||"").split(" ")),m.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(m=>m.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:w}=e.pagination;w=He(w),w.forEach(m=>{m.classList.remove(p.horizontalClass,p.verticalClass),m.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?C():(y(),h(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{h(),v()}),n("destroy",()=>{g()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=He(p),p.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(p,w)=>{const m=w.target,E=He(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!m.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&m===e.navigation.nextEl||e.navigation.prevEl&&m===e.navigation.prevEl))return;const _=E[0].classList.contains(e.params.pagination.hiddenClass);o(_===!0?"paginationShow":"paginationHide"),E.forEach(f=>f.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=He(p),p.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),y(),h(),v()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=He(p),p.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:b,disable:C,render:h,update:v,init:y,destroy:g})}function Kn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=ze();let r=!1,s=null,d=null,u,c,v,h;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T,rtlTranslate:I}=e,{dragEl:P,el:j}=T,z=e.params.scrollbar,H=e.params.loop?e.progressLoop:e.progress;let F=c,N=(v-c)*H;I?(N=-N,N>0?(F=c-N,N=0):-N+c>v&&(F=v+N)):N<0?(F=c+N,N=0):N+c>v&&(F=v-N),e.isHorizontal()?(P.style.transform=`translate3d(${N}px, 0, 0)`,P.style.width=`${F}px`):(P.style.transform=`translate3d(0px, ${N}px, 0)`,P.style.height=`${F}px`),z.hide&&(clearTimeout(s),j.style.opacity=1,s=setTimeout(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3))}function g(T){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${T}ms`)}function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T}=e,{dragEl:I,el:P}=T;I.style.width="",I.style.height="",v=e.isHorizontal()?P.offsetWidth:P.offsetHeight,h=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=v*h:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${c}px`:I.style.height=`${c}px`,h>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&T.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function C(T){return e.isHorizontal()?T.clientX:T.clientY}function p(T){const{scrollbar:I,rtlTranslate:P}=e,{el:j}=I;let z;z=(C(T)-Yn(j)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(v-c),z=Math.max(Math.min(z,1),0),P&&(z=1-z);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*z;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function w(T){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:z,dragEl:H}=P;r=!0,u=T.target===H?C(T)-T.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,T.preventDefault(),T.stopPropagation(),j.style.transitionDuration="100ms",H.style.transitionDuration="100ms",p(T),clearTimeout(d),z.style.transitionDuration="0ms",I.hide&&(z.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",T)}function m(T){const{scrollbar:I,wrapperEl:P}=e,{el:j,dragEl:z}=I;r&&(T.preventDefault?T.preventDefault():T.returnValue=!1,p(T),P.style.transitionDuration="0ms",j.style.transitionDuration="0ms",z.style.transitionDuration="0ms",o("scrollbarDragMove",T))}function E(T){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:z}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),I.hide&&(clearTimeout(d),d=lt(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",T),I.snapOnRelease&&e.slideToClosest())}function _(T){const{scrollbar:I,params:P}=e,j=I.el;if(!j)return;const z=j,H=P.passiveListeners?{passive:!1,capture:!1}:!1,F=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!z)return;const N=T==="on"?"addEventListener":"removeEventListener";z[N]("pointerdown",w,H),l[N]("pointermove",m,H),l[N]("pointerup",E,F)}function f(){!e.params.scrollbar.el||!e.scrollbar.el||_("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function k(){const{scrollbar:T,el:I}=e;e.params.scrollbar=Li(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let j;if(typeof P.el=="string"&&e.isElement&&(j=e.el.querySelector(P.el)),!j&&typeof P.el=="string"){if(j=l.querySelectorAll(P.el),!j.length)return}else j||(j=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&j.length>1&&I.querySelectorAll(P.el).length===1&&(j=I.querySelector(P.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let z;j&&(z=j.querySelector(st(e.params.scrollbar.dragClass)),z||(z=pt("div",e.params.scrollbar.dragClass),j.append(z))),Object.assign(T,{el:j,dragEl:z}),P.draggable&&f(),j&&j.classList[e.enabled?"remove":"add"](...Xe(e.params.scrollbar.lockClass))}function S(){const T=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...Xe(e.isHorizontal()?T.horizontalClass:T.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const T=e.params.scrollbar;let{el:I}=e.scrollbar;I=He(I),I.forEach(P=>{P.classList.remove(T.horizontalClass,T.verticalClass),P.classList.add(e.isHorizontal()?T.horizontalClass:T.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(k(),b(),y())}),n("update resize observerUpdate lock unlock changeDirection",()=>{b()}),n("setTranslate",()=>{y()}),n("setTransition",(T,I)=>{g(I)}),n("enable disable",()=>{const{el:T}=e.scrollbar;T&&T.classList[e.enabled?"remove":"add"](...Xe(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const x=()=>{e.el.classList.remove(...Xe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Xe(e.params.scrollbar.scrollbarDisabledClass)),k(),b(),y()},A=()=>{e.el.classList.add(...Xe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Xe(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:x,disable:A,updateSize:b,setTranslate:y,init:k,destroy:S})}function xt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,d=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,v=new Date().getTime(),h,y,g,b,C,p,w;function m(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!w&&x())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?h=!0:h&&(u=c,h=!1);const F=e.autoplay.paused?c:v+u-new Date().getTime();e.autoplay.timeLeft=F,o("autoplayTimeLeft",F,F/d),s=requestAnimationFrame(()=>{E()})},_=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},f=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),E();let N=typeof F>"u"?e.params.autoplay.delay:F;d=e.params.autoplay.delay,u=e.params.autoplay.delay;const B=_();!Number.isNaN(B)&&B>0&&typeof F>"u"&&(N=B,d=B,u=B),c=N;const L=e.params.speed,D=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{f()})))};return N>0?(clearTimeout(r),r=setTimeout(()=>{D()},N)):requestAnimationFrame(()=>{D()}),N},M=()=>{v=new Date().getTime(),e.autoplay.running=!0,f(),o("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},S=(F,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),F||(p=!0);const B=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):x()};if(e.autoplay.paused=!0,N){C&&(c=e.params.autoplay.delay),C=!1,B();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),B())},x=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),p?(p=!1,f(c)):f(),e.autoplay.paused=!1,o("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const F=ze();F.visibilityState==="hidden"&&(p=!0,S(!0)),F.visibilityState==="visible"&&x()},T=F=>{F.pointerType==="mouse"&&(p=!0,w=!0,!(e.animating||e.autoplay.paused)&&S(!0))},I=F=>{F.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&x())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",T),e.el.addEventListener("pointerleave",I))},j=()=>{e.el.removeEventListener("pointerenter",T),e.el.removeEventListener("pointerleave",I)},z=()=>{ze().addEventListener("visibilitychange",A)},H=()=>{ze().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(P(),z(),M())}),n("destroy",()=>{j(),H(),e.autoplay.running&&k()}),n("_freeModeStaticRelease",()=>{(g||p)&&x()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():S(!0,!0)}),n("beforeTransitionStart",(F,N,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?S(!0,!0):k())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){k();return}y=!0,g=!1,p=!1,b=setTimeout(()=>{p=!0,g=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!y)){if(clearTimeout(b),clearTimeout(r),e.params.autoplay.disableOnInteraction){g=!1,y=!1;return}g&&e.params.cssMode&&x(),g=!1,y=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:M,stop:k,pause:S,resume:x})}function Qn(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:u}=e;d.velocities.length===0&&d.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Le()})}function s(d){let{currentPos:u}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:v,rtlTranslate:h,snapGrid:y,touchEventsData:g}=e,C=Le()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<y.length?e.slideTo(y.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(g.velocities.length>1){const k=g.velocities.pop(),S=g.velocities.pop(),x=k.position-S.position,A=k.time-S.time;e.velocity=x/A,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Le()-k.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,g.velocities.length=0;let p=1e3*c.freeMode.momentumRatio;const w=e.velocity*p;let m=e.translate+w;h&&(m=-m);let E=!1,_;const f=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(m<e.maxTranslate())c.freeMode.momentumBounce?(m+e.maxTranslate()<-f&&(m=e.maxTranslate()-f),_=e.maxTranslate(),E=!0,g.allowMomentumBounce=!0):m=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(m>e.minTranslate())c.freeMode.momentumBounce?(m-e.minTranslate()>f&&(m=e.minTranslate()+f),_=e.minTranslate(),E=!0,g.allowMomentumBounce=!0):m=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let k;for(let S=0;S<y.length;S+=1)if(y[S]>-m){k=S;break}Math.abs(y[k]-m)<Math.abs(y[k-1]-m)||e.swipeDirection==="next"?m=y[k]:m=y[k-1],m=-m}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(h?p=Math.abs((-m-e.translate)/e.velocity):p=Math.abs((m-e.translate)/e.velocity),c.freeMode.sticky){const k=Math.abs((h?-m:m)-e.translate),S=e.slidesSizesGrid[e.activeIndex];k<S?p=c.speed:k<2*S?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&E?(e.updateProgress(_),e.setTransition(p),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Ht(v,()=>{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(_),Ht(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(m),e.setTransition(p),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Ht(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(m),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||C>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let Gt;function Zn(){const t=ke(),e=ze();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function ji(){return Gt||(Gt=Zn()),Gt}let $t;function eo(t){let{userAgent:e}=t===void 0?{}:t;const i=ji(),n=ke(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,d=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),h=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),y=o==="Win32";let g=o==="MacIntel";const b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&i.touch&&b.indexOf(`${s}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!y&&(r.os="android",r.android=!0),(c||h||v)&&(r.os="ios",r.ios=!0),r}function Ni(t){return t===void 0&&(t={}),$t||($t=eo(t)),$t}let Wt;function to(){const t=ke(),e=Ni();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[d,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function io(){return Wt||(Wt=to()),Wt}function no(t){let{swiper:e,on:i,emit:n}=t;const o=ke();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{r=o.requestAnimationFrame(()=>{const{width:h,height:y}=e;let g=h,b=y;v.forEach(C=>{let{contentBoxSize:p,contentRect:w,target:m}=C;m&&m!==e.el||(g=w?w.width:(p[0]||p).inlineSize,b=w?w.height:(p[0]||p).blockSize)}),(g!==h||b!==y)&&s()})}),l.observe(e.el))},u=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){d();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function oo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=ke(),s=function(c,v){v===void 0&&(v={});const h=r.MutationObserver||r.WebkitMutationObserver,y=new h(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const b=function(){o("observerUpdate",g[0])};r.requestAnimationFrame?r.requestAnimationFrame(b):r.setTimeout(b,0)});y.observe(c,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),l.push(y)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Mi(e.hostEl);for(let v=0;v<c.length;v+=1)s(c[v])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",u)}var lo={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(u=>{u.apply(n,i)})}),t}};function so(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(Je(n,"padding-left")||0,10)-parseInt(Je(n,"padding-right")||0,10),i=i-parseInt(Je(n,"padding-top")||0,10)-parseInt(Je(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function ao(){const t=this;function e(x,A){return parseFloat(x.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,d=t.virtual&&i.virtual.enabled,u=d?t.virtual.slides.length:t.slides.length,c=Fe(o,`.${t.params.slideClass}, swiper-slide`),v=d?t.virtual.slides.length:c.length;let h=[];const y=[],g=[];let b=i.slidesOffsetBefore;typeof b=="function"&&(b=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,w=t.slidesGrid.length;let m=i.spaceBetween,E=-b,_=0,f=0;if(typeof l>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*l:typeof m=="string"&&(m=parseFloat(m)),t.virtualSize=-m,c.forEach(x=>{r?x.style.marginLeft="":x.style.marginRight="",x.style.marginBottom="",x.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(yt(n,"--swiper-centered-offset-before",""),yt(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let k;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(x=>typeof i.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x<v;x+=1){k=0;let A;if(c[x]&&(A=c[x]),M&&t.grid.updateSlide(x,A,c),!(c[x]&&Je(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[x].style[t.getDirectionLabel("width")]="");const T=getComputedStyle(A),I=A.style.transform,P=A.style.webkitTransform;if(I&&(A.style.transform="none"),P&&(A.style.webkitTransform="none"),i.roundLengths)k=t.isHorizontal()?Ut(A,"width",!0):Ut(A,"height",!0);else{const j=e(T,"width"),z=e(T,"padding-left"),H=e(T,"padding-right"),F=e(T,"margin-left"),N=e(T,"margin-right"),B=T.getPropertyValue("box-sizing");if(B&&B==="border-box")k=j+F+N;else{const{clientWidth:L,offsetWidth:D}=A;k=j+z+H+F+N+(D-L)}}I&&(A.style.transform=I),P&&(A.style.webkitTransform=P),i.roundLengths&&(k=Math.floor(k))}else k=(l-(i.slidesPerView-1)*m)/i.slidesPerView,i.roundLengths&&(k=Math.floor(k)),c[x]&&(c[x].style[t.getDirectionLabel("width")]=`${k}px`);c[x]&&(c[x].swiperSlideSize=k),g.push(k),i.centeredSlides?(E=E+k/2+_/2+m,_===0&&x!==0&&(E=E-l/2-m),x===0&&(E=E-l/2-m),Math.abs(E)<1/1e3&&(E=0),i.roundLengths&&(E=Math.floor(E)),f%i.slidesPerGroup===0&&h.push(E),y.push(E)):(i.roundLengths&&(E=Math.floor(E)),(f-Math.min(t.params.slidesPerGroupSkip,f))%t.params.slidesPerGroup===0&&h.push(E),y.push(E),E=E+k+m),t.virtualSize+=k+m,_=k,f+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+m}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+m}px`),M&&t.grid.updateWrapperSize(k,h),!i.centeredSlides){const x=[];for(let A=0;A<h.length;A+=1){let T=h[A];i.roundLengths&&(T=Math.floor(T)),h[A]<=t.virtualSize-l&&x.push(T)}h=x,Math.floor(t.virtualSize-l)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-l)}if(d&&i.loop){const x=g[0]+m;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),T=x*i.slidesPerGroup;for(let I=0;I<A;I+=1)h.push(h[h.length-1]+T)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&h.push(h[h.length-1]+x),y.push(y[y.length-1]+x),t.virtualSize+=x}if(h.length===0&&(h=[0]),m!==0){const x=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((A,T)=>!i.cssMode||i.loop?!0:T!==c.length-1).forEach(A=>{A.style[x]=`${m}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let x=0;g.forEach(T=>{x+=T+(m||0)}),x-=m;const A=x-l;h=h.map(T=>T<=0?-b:T>A?A+C:T)}if(i.centerInsufficientSlides){let x=0;if(g.forEach(A=>{x+=A+(m||0)}),x-=m,x<l){const A=(l-x)/2;h.forEach((T,I)=>{h[I]=T-A}),y.forEach((T,I)=>{y[I]=T+A})}}if(Object.assign(t,{slides:c,snapGrid:h,slidesGrid:y,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){yt(n,"--swiper-centered-offset-before",`${-h[0]}px`),yt(n,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const x=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(T=>T+x),t.slidesGrid=t.slidesGrid.map(T=>T+A)}if(v!==u&&t.emit("slidesLengthChange"),h.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const x=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(x);v<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(x):A&&t.el.classList.remove(x)}}function ro(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function co(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function uo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;o&&(r=t),n.forEach(d=>{d.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let d=0;d<n.length;d+=1){const u=n[d];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const v=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),h=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+s),y=-(r-c),g=y+e.slidesSizesGrid[d],b=y>=0&&y<=e.size-e.slidesSizesGrid[d];(y>=0&&y<e.size-1||g>1&&g<=e.size||y<=0&&g>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(d),n[d].classList.add(i.slideVisibleClass)),b&&n[d].classList.add(i.slideFullyVisibleClass),u.progress=o?-v:v,u.originalProgress=o?-h:h}}function po(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const d=l,u=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=v||o>=1,c&&(o=0),v&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[c],y=e.slidesGrid[v],g=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(t);b>=h?s=(b-h)/g:s=(b+g-y)/g,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(d&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function vo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=v=>Fe(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let d,u,c;if(l)if(i.loop){let v=o-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),d=s(`[data-swiper-slide-index="${v}"]`)}else d=s(`[data-swiper-slide-index="${o}"]`);else r?(d=e.filter(v=>v.column===o)[0],c=e.filter(v=>v.column===o+1)[0],u=e.filter(v=>v.column===o-1)[0]):d=e[o];d&&(d.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=Xn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=qn(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const Et=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},Yt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},qt=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((d,u)=>r+n+u)),t.slides.forEach((d,u)=>{s.includes(d.column)&&Yt(t,u)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&Yt(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&Yt(t,r)};function fo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function mo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let d=t,u;const c=y=>{let g=y-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof d>"u"&&(d=fo(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const y=Math.min(o.slidesPerGroupSkip,d);u=y+Math.floor((d-y)/o.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),d===l&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(d===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(d);return}const v=e.grid&&o.grid&&o.grid.rows>1;let h;if(e.virtual&&o.virtual.enabled&&o.loop)h=c(d);else if(v){const y=e.slides.filter(b=>b.column===d)[0];let g=parseInt(y.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(y),0)),h=Math.floor(g/o.grid.rows)}else if(e.slides[d]){const y=e.slides[d].getAttribute("data-swiper-slide-index");y?h=parseInt(y,10):h=d}else h=d;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:r,realIndex:h,previousIndex:l,activeIndex:d}),e.initialized&&qt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function ho(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var go={updateSize:so,updateSlides:ao,updateAutoHeight:ro,updateSlidesOffset:co,updateSlidesProgress:uo,updateProgress:po,updateSlidesClasses:vo,updateActiveIndex:mo,updateClickedSlide:ho};function bo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let r=$n(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function yo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,d=0;const u=0;i.isHorizontal()?s=n?-t:t:d=t,o.roundLengths&&(s=Math.floor(s),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:d,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-d:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${d}px, ${u}px)`);let c;const v=i.maxTranslate()-i.minTranslate();v===0?c=0:c=(t-i.minTranslate())/v,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function wo(){return-this.snapGrid[0]}function So(){return-this.snapGrid[this.snapGrid.length-1]}function To(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const v=l.isHorizontal();if(e===0)s[v?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Oi({swiper:l,targetPosition:-c,side:v?"left":"top"}),!0;s.scrollTo({[v?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(h){!l||l.destroyed||h.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var xo={getTranslate:bo,setTranslate:yo,minTranslate:wo,maxTranslate:So,translateTo:To};function Eo(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function Bi(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function Co(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Bi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Io(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),Bi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var ko={setTransition:Eo,transitionStart:Co,transitionEnd:Io};function _o(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:s,snapGrid:d,slidesGrid:u,previousIndex:c,activeIndex:v,rtlTranslate:h,wrapperEl:y,enabled:g}=l;if(l.animating&&s.preventInteractionOnTransition||!g&&!n&&!o||l.destroyed)return!1;const b=Math.min(l.params.slidesPerGroupSkip,r);let C=b+Math.floor((r-b)/l.params.slidesPerGroup);C>=d.length&&(C=d.length-1);const p=-d[C];if(s.normalizeSlideIndex)for(let m=0;m<u.length;m+=1){const E=-Math.floor(p*100),_=Math.floor(u[m]*100),f=Math.floor(u[m+1]*100);typeof u[m+1]<"u"?E>=_&&E<f-(f-_)/2?r=m:E>=_&&E<f&&(r=m+1):E>=_&&(r=m)}if(l.initialized&&r!==v&&(!l.allowSlideNext&&(h?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(v||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let w;if(r>v?w="next":r<v?w="prev":w="reset",h&&-p===l.translate||!h&&p===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(p),w!=="reset"&&(l.transitionStart(i,w),l.transitionEnd(i,w)),!1;if(s.cssMode){const m=l.isHorizontal(),E=h?p:-p;if(e===0){const _=l.virtual&&l.params.virtual.enabled;_&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),_&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{y[m?"scrollLeft":"scrollTop"]=E})):y[m?"scrollLeft":"scrollTop"]=E,_&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Oi({swiper:l,targetPosition:E,side:m?"left":"top"}),!0;y.scrollTo({[m?"left":"top"]:E,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,w),e===0?l.transitionEnd(i,w):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(E){!l||l.destroyed||E.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,w))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Do(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const h=r*o.params.grid.rows;s=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===h)[0].column}else s=o.getSlideIndexByData(r);const d=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let v=d-s<c;if(u&&(v=v||s<Math.ceil(c/2)),v){const h=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?s+1:s-d+1,slideRealIndex:h==="next"?o.realIndex:void 0})}if(l){const h=r*o.params.grid.rows;r=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===h)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function Ao(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:s,u=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!u&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function Po(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:d,animating:u}=n;if(!d||n.destroyed)return n;const c=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const v=s?n.translate:-n.translate;function h(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const y=h(v),g=l.map(p=>h(p));let b=l[g.indexOf(y)-1];if(typeof b>"u"&&o.cssMode){let p;l.forEach((w,m)=>{y>=w&&(p=m)}),typeof p<"u"&&(b=l[p>0?p-1:p])}let C=0;if(typeof b<"u"&&(C=r.indexOf(b),C<0&&(C=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(C=C-n.slidesPerViewDynamic("previous",!0)+1,C=Math.max(C,0))),o.rewind&&n.isBeginning){const p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(C,t,e,i)}),!0;return n.slideTo(C,t,e,i)}function Oo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function Mo(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),d=o.rtlTranslate?o.translate:-o.translate;if(d>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];d-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];d-u<=(c-u)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function Lo(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(Fe(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),lt(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Fe(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),lt(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var jo={slideTo:_o,slideToLoop:Do,slideNext:Ao,slidePrev:Po,slideReset:Oo,slideToClosest:Mo,slideToClickedSlide:Lo};function No(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Fe(n,`.${i.slideClass}, swiper-slide`).forEach((v,h)=>{v.setAttribute("data-swiper-slide-index",h)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let v=0;v<c;v+=1){const h=e.isElement?pt("swiper-slide",[i.slideBlankClass]):pt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(h)}};if(s){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else wt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(d){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else wt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Bo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:v,slidesEl:h,params:y}=d,{centeredSlides:g}=y;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&y.virtual.enabled){i&&(!y.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):y.centeredSlides&&d.snapIndex<y.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=c,d.allowSlideNext=v,d.emit("loopFix");return}let b=y.slidesPerView;b==="auto"?b=d.slidesPerViewDynamic():(b=Math.ceil(parseFloat(y.slidesPerView,10)),g&&b%2===0&&(b=b+1));const C=y.slidesPerGroupAuto?b:y.slidesPerGroup;let p=C;p%C!==0&&(p+=C-p%C),p+=y.loopAdditionalSlides,d.loopedSlides=p;const w=d.grid&&y.grid&&y.grid.rows>1;u.length<b+p?wt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&y.grid.fill==="row"&&wt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const m=[],E=[];let _=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(u.filter(I=>I.classList.contains(y.slideActiveClass))[0]):_=l;const f=n==="next"||!n,M=n==="prev"||!n;let k=0,S=0;const x=w?Math.ceil(u.length/y.grid.rows):u.length,T=(w?u[l].column:l)+(g&&typeof o>"u"?-b/2+.5:0);if(T<p){k=Math.max(p-T,C);for(let I=0;I<p-T;I+=1){const P=I-Math.floor(I/x)*x;if(w){const j=x-P-1;for(let z=u.length-1;z>=0;z-=1)u[z].column===j&&m.push(z)}else m.push(x-P-1)}}else if(T+b>x-p){S=Math.max(T-(x-p*2),C);for(let I=0;I<S;I+=1){const P=I-Math.floor(I/x)*x;w?u.forEach((j,z)=>{j.column===P&&E.push(z)}):E.push(P)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&m.forEach(I=>{u[I].swiperLoopMoveDOM=!0,h.prepend(u[I]),u[I].swiperLoopMoveDOM=!1}),f&&E.forEach(I=>{u[I].swiperLoopMoveDOM=!0,h.append(u[I]),u[I].swiperLoopMoveDOM=!1}),d.recalcSlides(),y.slidesPerView==="auto"?d.updateSlides():w&&(m.length>0&&M||E.length>0&&f)&&d.slides.forEach((I,P)=>{d.grid.updateSlide(P,I,d.slides)}),y.watchSlidesProgress&&d.updateSlidesOffset(),i){if(m.length>0&&M){if(typeof e>"u"){const I=d.slidesGrid[_],j=d.slidesGrid[_+k]-I;s?d.setTranslate(d.translate-j):(d.slideTo(_+Math.ceil(k),0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-j,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-j))}else if(o){const I=w?m.length/y.grid.rows:m.length;d.slideTo(d.activeIndex+I,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(E.length>0&&f)if(typeof e>"u"){const I=d.slidesGrid[_],j=d.slidesGrid[_-S]-I;s?d.setTranslate(d.translate-j):(d.slideTo(_-S,0,!1,!0),o&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-j,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-j))}else{const I=w?E.length/y.grid.rows:E.length;d.slideTo(d.activeIndex-I,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=v,d.controller&&d.controller.control&&!r){const I={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...I,slideTo:P.params.slidesPerView===y.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...I,slideTo:d.controller.control.params.slidesPerView===y.slidesPerView?i:!1})}d.emit("loopFix")}function Ro(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var zo={loopCreate:No,loopFix:Bo,loopDestroy:Ro};function Vo(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Fo(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Ho={setGrabCursor:Vo,unsetGrabCursor:Fo};function Uo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===ze()||n===ke())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function Ri(t,e,i){const n=ke(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Go(t){const e=this,i=ze();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Ri(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const u=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const v=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,h=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(h?Uo(v,d):d.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const y=r.currentX,g=r.currentY;if(!Ri(e,n,y))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=y,r.startY=g,o.touchStartTime=Le(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let b=!0;d.matches(o.focusableElements)&&(b=!1,d.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const C=b&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function $o(t){const e=ze(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let u;if(d.type==="touchmove"){if(u=[...d.changedTouches].filter(f=>f.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d);return}const c=u.pageX,v=u.pageY;if(d.preventedByNestedSwiper){l.startX=c,l.startY=v;return}if(!i.allowTouchMove){d.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v}),n.touchStartTime=Le());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(v<l.startY&&i.translate<=i.maxTranslate()||v>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=v;const h=l.currentX-l.startX,y=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(h**2+y**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let f;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:h*h+y*y>=25&&(f=Math.atan2(Math.abs(y),Math.abs(h))*180/Math.PI,n.isScrolling=i.isHorizontal()?f>o.touchAngle:90-f>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",d),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&d.cancelable&&d.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&d.stopPropagation();let g=i.isHorizontal()?h:y,b=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(g=Math.abs(g)*(r?1:-1),b=Math.abs(b)*(r?1:-1)),l.diff=g,g*=o.touchRatio,r&&(g=-g,b=-b);const C=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=b>0?"prev":"next";const p=i.params.loop&&!o.cssMode,w=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&w&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(f)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",d)}let m;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&p&&w&&Math.abs(g)>=1){Object.assign(l,{startX:c,startY:v,currentX:c,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=g+n.startTranslate;let E=!0,_=o.resistanceRatio;if(o.touchReleaseOnEdges&&(_=0),g>0?(p&&w&&!m&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(E=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**_))):g<0&&(p&&w&&!m&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(E=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**_))),E&&(d.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(g)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Wo(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(_=>_.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:d,slidesGrid:u,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Le(),h=v-i.touchStartTime;if(e.allowClick){const _=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(_&&_[0]||n.target,_),e.emit("tap click",n),h<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Le(),lt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let y;if(r.followFinger?y=d?e.translate:-e.translate:y=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:y});return}const g=y>=-e.maxTranslate()&&!e.params.loop;let b=0,C=e.slidesSizesGrid[0];for(let _=0;_<u.length;_+=_<r.slidesPerGroupSkip?1:r.slidesPerGroup){const f=_<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[_+f]<"u"?(g||y>=u[_]&&y<u[_+f])&&(b=_,C=u[_+f]-u[_]):(g||y>=u[_])&&(b=_,C=u[u.length-1]-u[u.length-2])}let p=null,w=null;r.rewind&&(e.isBeginning?w=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const m=(y-u[b])/C,E=b<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(h>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:b+E):e.slideTo(b)),e.swipeDirection==="prev"&&(m>1-r.longSwipesRatio?e.slideTo(b+E):w!==null&&m<0&&Math.abs(m)>r.longSwipesRatio?e.slideTo(w):e.slideTo(b))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(b+E):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:b+E),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:b))}}function zi(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function Yo(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function qo(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Xo(t){const e=this;Et(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Jo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Vi=(t,e)=>{const i=ze(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",u=e;i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[d]("touchstart",t.onTouchStart,{passive:!1}),o[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",zi,!0):t[u]("observerUpdate",zi,!0),o[d]("load",t.onLoad,{capture:!0})};function Ko(){const t=this,{params:e}=t;t.onTouchStart=Go.bind(t),t.onTouchMove=$o.bind(t),t.onTouchEnd=Wo.bind(t),t.onDocumentTouchStart=Jo.bind(t),e.cssMode&&(t.onScroll=qo.bind(t)),t.onClick=Yo.bind(t),t.onLoad=Xo.bind(t),Vi(t,"on")}function Qo(){Vi(this,"off")}var Zo={attachEvents:Ko,detachEvents:Qo};const Fi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function el(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,u=Fi(t,n),c=Fi(t,d),v=n.enabled;u&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof d[p]>"u")return;const w=n[p]&&n[p].enabled,m=d[p]&&d[p].enabled;w&&!m&&t[p].disable(),!w&&m&&t[p].enable()});const h=d.direction&&d.direction!==n.direction,y=n.loop&&(d.slidesPerView!==n.slidesPerView||h),g=n.loop;h&&i&&t.changeDirection(),Oe(t.params,d);const b=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!b?t.disable():!v&&b&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",d),i&&(y?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&C?(t.loopCreate(e),t.updateSlides()):g&&!C&&t.loopDestroy()),t.emit("breakpoint",d)}function tl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=ke(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const d=parseFloat(s.substr(1));return{value:l*d,point:s}}return{value:s,point:s}});r.sort((s,d)=>parseInt(s.value,10)-parseInt(d.value,10));for(let s=0;s<r.length;s+=1){const{point:d,value:u}=r[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=d):u<=i.clientWidth&&(n=d)}return n||"max"}var il={setBreakpoint:el,getBreakpoint:tl};function nl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function ol(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=nl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),o.classList.add(...e),t.emitContainerClasses()}function ll(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var sl={addClasses:ol,removeClasses:ll};function al(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var rl={checkOverflow:al},Xt={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function dl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Oe(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){Oe(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Oe(e,n)}}const Jt={eventsEmitter:lo,update:go,translate:xo,transition:ko,slide:jo,loop:zo,grabCursor:Ho,events:Zo,breakpoints:il,checkOverflow:rl,classes:sl},Kt={};let Qt=class We{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=Oe({},i),e&&!i.el&&(i.el=e);const r=ze();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(v=>{const h=Oe({},i,{el:v});c.push(new We(h))}),c}const s=this;s.__swiper__=!0,s.support=ji(),s.device=Ni({userAgent:i.userAgent}),s.browser=io(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const d={};s.modules.forEach(c=>{c({params:i,swiper:s,extendParams:dl(i,d),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Oe({},Xt,d);return s.params=Oe({},u,Kt,i),s.originalParams=Oe({},s.params),s.passedParams=Oe({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(c=>{s.on(c,s.params.on[c])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=Fe(i,`.${n.slideClass}, swiper-slide`),l=St(o[0]);return St(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=Fe(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:d,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let v=l[u]?Math.ceil(l[u].swiperSlideSize):0,h;for(let y=u+1;y<l.length;y+=1)l[y]&&!h&&(v+=Math.ceil(l[y].swiperSlideSize),c+=1,v>d&&(h=!0));for(let y=u-1;y>=0;y-=1)l[y]&&!h&&(v+=l[y].swiperSlideSize,c+=1,v>d&&(h=!0))}else if(e==="current")for(let v=u+1;v<l.length;v+=1)(i?r[v]+s[v]-r[u]<d:r[v]-r[u]<d)&&(c+=1);else for(let v=u-1;v>=0;v-=1)r[u]-r[v]<d&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&Et(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Fe(n,o())[0];return!r&&i.params.createElements&&(r=pt("div",i.params.wrapperClass),n.append(r),Fe(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Je(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Je(n,"direction")==="rtl"),wrongRTL:Je(r,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?Et(i,l):l.addEventListener("load",r=>{Et(i,r.target)})}),qt(i),i.initialized=!0,qt(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),r.removeAttribute("style"),s&&s.length&&s.forEach(d=>{d.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el.swiper=null,Un(n)),n.destroyed=!0),null}static extendDefaults(e){Oe(Kt,e)}static get extendedDefaults(){return Kt}static get defaults(){return Xt}static installModule(e){We.prototype.__modules__||(We.prototype.__modules__=[]);const i=We.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>We.installModule(i)),We):(We.installModule(e),We)}};Object.keys(Jt).forEach(t=>{Object.keys(Jt[t]).forEach(e=>{Qt.prototype[e]=Jt[t][e]})}),Qt.use([no,oo]);const Hi=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function et(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function at(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:et(e[n])&&et(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:at(t[n],e[n]):t[n]=e[n]})}function Ui(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Gi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function $i(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Wi(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function cl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function ul(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:d}=t;const u=o.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:v,navigation:h,scrollbar:y,virtual:g,thumbs:b}=e;let C,p,w,m,E,_,f,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(C=!0),o.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(c.pagination||c.pagination===!1)&&v&&!v.el&&(w=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&y&&!y.el&&(m=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&h&&!h.prevEl&&!h.nextEl&&(E=!0);const k=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),c[S].prevEl=void 0,c[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),c[S].el=void 0,e[S].el=void 0))};o.includes("loop")&&e.isElement&&(c.loop&&!n.loop?_=!0:!c.loop&&n.loop?f=!0:M=!0),u.forEach(S=>{if(et(c[S])&&et(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&k(S);else{const x=n[S];(x===!0||x===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?x===!1&&k(S):c[S]=n[S]}}),u.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),o.includes("children")&&i&&g&&c.virtual.enabled?(g.slides=i,g.update(!0)):o.includes("virtual")&&g&&c.virtual.enabled&&(i&&(g.slides=i),g.update(!0)),o.includes("children")&&i&&c.loop&&(M=!0),C&&b.init()&&b.update(!0),p&&(e.controller.control=c.controller.control),w&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(c.pagination.el=d),v.init(),v.render(),v.update()),m&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(c.scrollbar.el=s),y.init(),y.updateSize(),y.setTranslate()),E&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(c.navigation.nextEl=l),r&&(c.navigation.prevEl=r),h.init(),h.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(_||M)&&e.loopDestroy(),(f||M)&&e.loopCreate(),e.update()}function pl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};at(i,Xt),i._emitClasses=!0,i.init=!1;const l={},r=Hi.map(d=>d.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?et(t[d])?(i[d]={},o[d]={},at(i[d],t[d]),at(o[d],t[d])):(i[d]=t[d],o[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:o,rest:l,events:n}}function vl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;Ui(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),Gi(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),$i(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function fl(t,e,i,n,o){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(o),u=i.map(o);d.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return Hi.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(et(t[d])&&et(e[d])){const u=Object.keys(t[d]),c=Object.keys(e[d]);u.length!==c.length?r(d):(u.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}),c.forEach(v=>{t[d][v]!==e[d][v]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const ml=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Ct(){return Ct=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Ct.apply(this,arguments)}function Yi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function qi(t){const e=[];return a.Children.toArray(t).forEach(i=>{Yi(i)?e.push(i):i.props&&i.props.children&&qi(i.props.children).forEach(n=>e.push(n))}),e}function hl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(t).forEach(n=>{if(Yi(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=qi(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function gl(t,e,i){if(!i)return null;const n=c=>{let v=c;return c<0?v=e.length+c:v>=e.length&&(v=v-e.length),v},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,u=[];for(let c=s;c<d;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,v)=>a.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${v}`}))}function vt(t,e){return typeof window>"u"?a.useEffect(t,e):a.useLayoutEffect(t,e)}const Zt=a.createContext(null),Xi=()=>a.useContext(Zt),bl=a.createContext(null),tt=a.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,d=!1;const[u,c]=a.useState("swiper"),[v,h]=a.useState(null),[y,g]=a.useState(!1),b=a.useRef(!1),C=a.useRef(null),p=a.useRef(null),w=a.useRef(null),m=a.useRef(null),E=a.useRef(null),_=a.useRef(null),f=a.useRef(null),M=a.useRef(null),{params:k,passedParams:S,rest:x,events:A}=pl(s),{slides:T,slots:I}=hl(l),P=()=>{g(!y)};Object.assign(k.on,{_containerClasses(N,B){c(B)}});const j=()=>{Object.assign(k.on,A),d=!0;const N={...k};if(delete N.wrapperClass,p.current=new Qt(N),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=T;const B={cache:!1,slides:T,renderExternal:h,renderExternalUpdate:!1};at(p.current.params.virtual,B),at(p.current.originalParams.virtual,B)}};C.current||j(),p.current&&p.current.on("_beforeBreakpoint",P);const z=()=>{d||!A||!p.current||Object.keys(A).forEach(N=>{p.current.on(N,A[N])})},H=()=>{!A||!p.current||Object.keys(A).forEach(N=>{p.current.off(N,A[N])})};a.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",P)}),a.useEffect(()=>{!b.current&&p.current&&(p.current.emitSlidesClasses(),b.current=!0)}),vt(()=>{if(e&&(e.current=C.current),!!C.current)return p.current.destroyed&&j(),vl({el:C.current,nextEl:E.current,prevEl:_.current,paginationEl:f.current,scrollbarEl:M.current,swiper:p.current},k),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),vt(()=>{z();const N=fl(S,w.current,T,m.current,B=>B.key);return w.current=S,m.current=T,N.length&&p.current&&!p.current.destroyed&&ul({swiper:p.current,slides:T,passedParams:S,changedParams:N,nextEl:E.current,prevEl:_.current,scrollbarEl:M.current,paginationEl:f.current}),()=>{H()}}),vt(()=>{ml(p.current)},[v]);function F(){return k.virtual?gl(p.current,T,v):T.map((N,B)=>a.cloneElement(N,{swiper:p.current,swiperSlideIndex:B}))}return a.createElement(n,Ct({ref:C,className:Wi(`${u}${i?` ${i}`:""}`)},x),a.createElement(bl.Provider,{value:p.current},I["container-start"],a.createElement(o,{className:cl(k.wrapperClass)},I["wrapper-start"],F(),I["wrapper-end"]),Ui(k)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:_,className:"swiper-button-prev"}),a.createElement("div",{ref:E,className:"swiper-button-next"})),$i(k)&&a.createElement("div",{ref:M,className:"swiper-scrollbar"}),Gi(k)&&a.createElement("div",{ref:f,className:"swiper-pagination"}),I["container-end"]))});tt.displayName="Swiper";const Ue=a.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:d,swiperSlideIndex:u,...c}=t===void 0?{}:t;const v=a.useRef(null),[h,y]=a.useState("swiper-slide"),[g,b]=a.useState(!1);function C(E,_,f){_===v.current&&y(f)}vt(()=>{if(typeof u<"u"&&(v.current.swiperSlideIndex=u),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){h!=="swiper-slide"&&y("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),vt(()=>{l&&v.current&&!l.destroyed&&y(l.getSlideClasses(v.current))},[l]);const p={isActive:h.indexOf("swiper-slide-active")>=0,isVisible:h.indexOf("swiper-slide-visible")>=0,isPrev:h.indexOf("swiper-slide-prev")>=0,isNext:h.indexOf("swiper-slide-next")>=0},w=()=>typeof n=="function"?n(p):n,m=()=>{b(!0)};return a.createElement(i,Ct({ref:v,className:Wi(`${h}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:m},c),r&&a.createElement(Zt.Provider,{value:p},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},w(),s&&!g&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&a.createElement(Zt.Provider,{value:p},w(),s&&!g&&a.createElement("div",{className:"swiper-lazy-preloader"})))});Ue.displayName="SwiperSlide";const yl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",wl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,d]=a.useState(!1),u=a.useRef(null);a.useEffect(()=>{const h=document.getElementById("sxp-render"),y=document.getElementById("pb-modal");y?u.current=y:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),h?.appendChild(u.current))},[]);const c=a.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(a.useEffect(()=>{c?d(!0):setTimeout(()=>{d(!1)},l?.duration)},[c,l]),!u.current)return null;const v=ge.debounce(()=>{e?.()},300);return mi.createPortal(a.createElement(a.Fragment,null,s&&a.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:c?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:v},a.createElement("div",{className:`modal-container ${c?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:h=>{h.stopPropagation(),h.preventDefault()}},a.createElement("div",{onClick:e,className:"modal-icon-wrapper"},a.createElement("img",{src:yl,alt:"close",className:"modal-icon"})),i))),u.current)};var It=a.memo(wl);const Sl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},Tl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:d})=>{const[u,c]=a.useState(!1),[v,h]=a.useState(!1),y=Number(i?.lineClamp||2),g=a.useRef(null),b=a.useRef(null),C=a.useCallback(()=>{c(!u)},[u,d]);return a.useMemo(()=>!u&&t.length>e?Sl(t,e)+"...":t,[t,e,u]),a.useEffect(()=>{var p,w;((p=b?.current)===null||p===void 0?void 0:p.offsetHeight)>((w=g?.current)===null||w===void 0?void 0:w.offsetHeight)&&s?h(!0):h(!1),b.current.style.display="none"},[s]),a.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},a.createElement("div",{ref:g,style:{overflow:"hidden",WebkitLineClamp:!s||u?"":y,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),a.createElement("div",{ref:b,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&v&&a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??C},u?r||"show less":l||"show more"))};var kt=a.memo(Tl);const xl=a.forwardRef((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,d]=a.useState(),{swiperRef:u}=de();return a.useImperativeHandle(e,()=>({setSrc:c=>{d(c)}})),a.useEffect(()=>{var c,v;const h=(v=(c=u?.current)===null||c===void 0?void 0:c.swiper)===null||v===void 0?void 0:v.activeIndex;(h===0||h>0)&&d(i)},[i,u]),a.useRef(null),a.createElement(a.Fragment,null,s?.includes(".avif")?a.createElement("picture",null,a.createElement("source",{type:"image/avif",srcSet:s}),a.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),a.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)}})):a.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)}}))});var je=a.memo(xl);const El=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:h,onClick:y,schema:g,isDefault:b,bottom_image:C,tipText:p,isPost:w,viewTime:m,rec:E,swiper:_,commodityStyles:f,buttonStyle:M,index:k}=t,S=Te(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:x}=de(),{popupDetailData:A,bffEventReport:T,isPreview:I,bffFbReport:P}=de(),{jumpToWeb:j,productView:z}=Re(),H=a.useRef(null),[F,N]=a.useState(!1),B=w?E:A,L=w?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,D=w?(i=B?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=B?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,G=w?k:A?.index,R=()=>{L?.link&&(j(B,L,D,G),w||z(B,L,D,m||H.current,G),window.location.href=window.getJointUtmLink(L.link))};a.useEffect(()=>{w||P?.({eventName:"ProductView"})},[w,P]),a.useEffect(()=>{const $=()=>{H.current=new Date};return $(),window.addEventListener("pageshow",$),()=>{window.removeEventListener("pageshow",$)}},[]);const W=a.useMemo(()=>{var $,se,q,J,he;return L?.currency&&L?.price?`${(q=(se=($=L?.currency)===null||$===void 0?void 0:$.split("-")[1])===null||se===void 0?void 0:se.toUpperCase())!==null&&q!==void 0?q:""}${(he=(J=L?.price)===null||J===void 0?void 0:J.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&he!==void 0?he:""}`:"$7,000"},[L?.price,L?.currency]),oe=I?375:(l=v?.width)!==null&&l!==void 0?l:window.innerWidth,ee=({isPost:$})=>{var se,q,J;return a.createElement("div",null,a.createElement("div",{className:"pb-commondity-content-collection",style:ae(f?.collection),hidden:!!L&&(!L?.collection||L?.collection==="")},(se=L?.collection)!==null&&se!==void 0?se:"Tiffany Lock"),a.createElement("div",{className:"pb-commondity-content-title",style:ae(f?.title),hidden:!!L&&!L?.title},(q=L?.title)!==null&&q!==void 0?q:"Pendant in Yellow Gold with Diamonds, Medium"),a.createElement("div",{className:"pb-commondity-content-price",style:ae(f?.price),hidden:!!L&&!L?.price},W),a.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},a.createElement(kt,{foldText:p?.foldText,unfoldText:p?.unfoldText,onClick:()=>N(!0),isPost:$,text:(J=L?.info)!==null&&J!==void 0?J:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
2
2
|
bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
|
3
3
|
collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
|
4
4
|
necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
|
5
|
-
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:f?.info})))},te=()=>{var Y;return a.createElement(a.Fragment,null,(m||L?.link)&&a.createElement("button",{onClick:R,className:"pb-commondity-btn",style:M},(Y=D?.enTitle)!==null&&Y!==void 0?Y:"Purchase on Website"))};return a.createElement("div",{className:"pb-commondity"},a.createElement("div",Object.assign({className:J.css(Object.assign({},v))},T),L&&((r=L?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(it,{height:oe,modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=L?.homePage)===null||s===void 0?void 0:s.map(Y=>a.createElement(He,{key:Y},a.createElement("div",{style:{overflow:"hidden",width:oe,height:oe}},a.createElement(Le,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:Y}))))),!(!((d=L?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:J.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:J.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=E?.bottom_image)!==null&&u!==void 0?u:C,alt:""})),a.createElement("div",{className:"pb-commondity-content"},Z({isPost:w}))),te(),a.createElement(It,{visible:F,onClose:()=>N(!1)},a.createElement("div",{style:{paddingBottom:"80px"}},Z({isPost:!1})),te()))};var Cl=a.memo(El);const Il=Ae(Cl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Fn},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var _l=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ei,ti,kl=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:De?.fontOptions,initialValue:(ti=(ei=De?.fontOptions)===null||ei===void 0?void 0:ei[0])===null||ti===void 0?void 0:ti.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],Ji="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const Dl=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:o,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return o&&o.length>0?(e=o[0])===null||e===void 0?void 0:e.url:null}},Al=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:d,submitButtonStyle:u}=t,c=we(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:v}=de(),{jumpToWeb:g}=Be(),b=typeof o=="string"?o:Dl(o),y=()=>{var m,C,p;if(r){const w=v,h=(m=w?.video)===null||m===void 0?void 0:m.bindProduct,S=(p=(C=w?.video)===null||C===void 0?void 0:C.bindProduct)===null||p===void 0?void 0:p.bindCta,k=v?.index;g(w,h,S,k)}l||s?.(),d?.()};return a.createElement("div",Object.assign({className:`pb-prompt ${J.css(Object.assign({},n))}`},c),a.createElement("div",{className:"pb-prompt-icon"},a.createElement("img",{width:"100%",src:b??Ji})),a.createElement("div",{className:"pb-prompt-content"},e),a.createElement("button",{className:"pb-prompt-btn",style:u,onClick:y},i))};var Pl=a.memo(Al);const Ol=Ae(Pl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:kl,bindableProps:[],interactionRender:_l},defaulSetting:{props:{icon:Ji,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var ii,ni,Ml=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:le,name:["fontFamily"],initialValue:(ii=le?.[0])===null||ii===void 0?void 0:ii.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:le,initialValue:(ni=le?.[0])===null||ni===void 0?void 0:ni.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Ll=t=>{var e,i,n,o,l,r,s,d,u,c,v,g,{style:b,isDefault:y,rec:m,viewTime:C,isPost:p,bottom_image:w,tipText:h,swiper:S,commodityStyles:k,buttonStyle:f,index:M}=t,_=we(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);a.useState(!0);const{sxpParameter:T}=de(),{popupDetailData:E,bffEventReport:A,isPreview:x,swiperRef:I,bffFbReport:P}=de(),{jumpToWeb:j,productView:z}=Be(),H=a.useRef(null);a.useRef(null),a.useRef(null),a.useState(!1),a.useState(!1),a.useState(!0);const[F,N]=a.useState(!1),B=a.useRef(null),L=p?m:E,D=p?L?.product:(e=L?.video)===null||e===void 0?void 0:e.bindProduct,G=p?(i=L?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=L?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,R=p?M:E?.index,$=()=>{D?.link&&(j(L,D,G,R),p||z(L,D,G,C||B.current,R),window.location.href=window.getJointUtmLink(D.link))};a.useEffect(()=>{p||P?.({eventName:"ProductView"})},[p,P]),a.useEffect(()=>{const Y=()=>{B.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const oe=a.useMemo(()=>{var Y,re,se,q,ee;return D?.currency&&D?.price?`${(se=(re=(Y=D?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||re===void 0?void 0:re.toUpperCase())!==null&&se!==void 0?se:""}${(ee=(q=D?.price)===null||q===void 0?void 0:q.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ee!==void 0?ee:""}`:"\xA3102,300.00"},[D?.price,D?.currency]),Z=x?375:(l=b?.width)!==null&&l!==void 0?l:window.innerWidth,te=({isPost:Y})=>a.createElement("div",{hidden:!!D&&(!D?.info||D?.info==="")},a.createElement(_t,{isPost:Y,onClick:()=>N(!0),className:"pb-commondityDiroNew-info",style:k?.info,foldText:h?.foldText,unfoldText:h?.unfoldText,text:D?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
|
6
|
-
Made in Italy`}));return a.createElement("div",{className:"pb-commondityDiroNew"},a.createElement("div",Object.assign({ref:H,className:J.css(Object.assign({},b))},_),D&&((r=D?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(it,{height:Z,modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:S?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:S?.delay*1e3}},(s=D?.homePage)===null||s===void 0?void 0:s.map(Y=>a.createElement(He,{key:Y},a.createElement("div",{style:{overflow:"hidden",width:Z,height:Z}},a.createElement(Le,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${S?.translateY?-S?.translateY+50:50}%`},src:Y}))))),!(!((d=D?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:J.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:J.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=T?.bottom_image)!==null&&u!==void 0?u:w,alt:""})),a.createElement("div",{className:"pb-commondityDiroNew-content"},a.createElement("div",{className:"pb-commondityDiroNew-content-top"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:k?.title},(c=D?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),a.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!D&&(!D?.collection||D?.collection===""),style:k?.collection},D?.collection||"Black Macrocannage Calfskin")),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!D&&!D?.price,style:k?.price},oe),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!D&&!D?.taxInfo,style:k?.taxInfo},(v=D?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!D||D?.link)&&a.createElement("button",{onClick:$,className:"pb-commondityDiroNew-btn",style:f},(g=G?.enTitle)!==null&&g!==void 0?g:"Shop now"),te({isPost:p}))),a.createElement(It,{visible:F,onClose:()=>N(!1)},te({isPost:!1})))};var jl=a.memo(Ll);const Nl=Ae(jl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Ml},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var oi,li,je=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:le,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(oi=le?.[0])===null||oi===void 0?void 0:oi.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:le,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(li=le?.[0])===null||li===void 0?void 0:li.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],Bl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Ki(t){const e=a.useRef(null),[i,n]=a.useState(!1);return a.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),a.useEffect(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const Rl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;we(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=a.useRef(null),u=Ki(d),{popup:c}=$e(),{setPopupDetailData:v,ctaEvent:g}=de(),{jumpToWeb:b}=Be();a.useEffect(()=>{var m,C;if(u&&d?.current){const p=(C=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&C!==void 0?C:e?.video;g?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,g,s]);const y=he.throttle(()=>{var m,C,p,w,h,S,k,f;const M=(C=(m=e?.video)===null||m===void 0?void 0:m.bindProduct)!==null&&C!==void 0?C:e?.video;if(g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,M,s),v?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((w=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||w===void 0)&&w.link){const _=(h=e?.video)===null||h===void 0?void 0:h.bindCta,T=(S=e?.video)===null||S===void 0?void 0:S.bindProduct;b(e,T,_,s),window.location.href=window.getJointUtmLink((f=(k=e?.video)===null||k===void 0?void 0:k.bindProduct)===null||f===void 0?void 0:f.link)}}else o?.()},c?.duration);return a.createElement("div",{ref:d,className:n,style:l,onClick:y},i)};var ft=a.memo(Rl),zl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Vl=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:g,recData:b,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:h}=de(),S=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,k=(r=(l=(n=(i=b?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:b,className:J.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Le,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${p?-p+50:50}%`}),src:k})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:zl["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=S?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop Now")))};var Fl=a.memo(Vl);const Hl=Ae(Fl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Bl,bindableProps:[],settingRender:je},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var Ul=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Gl=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,g=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:b}=de(),y=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return a.createElement(ft,Object.assign({isExternalLink:v,rec:d,className:J.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},g),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},a.createElement("img",{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:b?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=y?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var $l=a.memo(Gl);const Wl=Ae($l,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ul,settingRender:je?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var Yl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const ql=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:g}=t,b=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:m}=de(),{jumpToWeb:C}=Be(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,w=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{p?.link&&(C(u,w,p,g),window.location.href=window.getJointUtmLink(p.link))};return a.createElement(ft,Object.assign({index:g,rec:u,className:J.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},b,{onClick:h}),a.createElement("div",{className:J.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},a.createElement(Le,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&o!==void 0?o:c})),a.createElement("div",{className:J.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Yl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Xl=a.memo(ql);const Jl=Ae(Xl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:je?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Zl=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:g,recData:b,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:h}=de(),S=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,k=(r=(l=(n=(i=b?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:b,className:J.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Le,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${p?-p+50:50}%`}),src:k})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Ql["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=S?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop Now")))};var es=a.memo(Zl);const ts=Ae(es,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Kl,settingRender:je,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ns={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const os=t=>{var e,i,n,o,l,r,s,d,u,{content:c,style:v,bgImg:g,recData:b,bottom_image:y,ctaTempStyles:m,isExternalLink:C,translateY:p=0}=t,w=we(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:h}=de(),S=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,k=(r=(l=(n=(i=b?.product)===null||i===void 0?void 0:i.cover)!==null&&n!==void 0?n:(o=S?.homePage)===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:h?.bottom_image)!==null&&r!==void 0?r:y;return a.createElement(ft,Object.assign({isExternalLink:C,rec:b,className:J.css(Object.assign({},v)),style:{display:"flex"}},w),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},m?.img))},a.createElement(Le,{className:J.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${p?-p+50:50}%`}),src:k})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ns["tow-line-ellipsis"],style:m?.title},(s=S?.title)!==null&&s!==void 0?s:"Product Name"),a.createElement("div",{className:J.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},m?.ctaTitle))},(u=(d=S?.bindCta)===null||d===void 0?void 0:d.enTitle)!==null&&u!==void 0?u:"Shop now")))};var ls=a.memo(os);const ss=Ae(ls,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:is,bindableProps:[],settingRender:je},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var as=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const rs=({children:t,isPadding:e=!0})=>a.createElement(it,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Qn,Kn,Jn],style:{padding:e?"0 12px 0 20px":0}},t);var kt=a.memo(rs);const ds=({src:t,rec:e,item:i,index:n,style:o})=>{const l=a.useRef(null),r=Ki(l),{ctaEvent:s}=de();return a.useEffect(()=>{r&&t&&l?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[r,t,l,e,s,i,n]),a.createElement("div",{ref:l,hidden:!t,className:J.css({width:"100%",height:"100%"})},a.createElement(Le,{className:J.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},o)),src:t}))};var si=a.memo(ds),cs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:g=0}=t,b=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:C}=de(),{popup:p}=$e(),{jumpToWeb:w}=Be(),[h,S]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=he.throttle(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),m?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(w(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(kt,{isPadding:!!r},h?.map(f=>{var M,_,T,E,A,x,I;return a.createElement(He,Object.assign({hidden:r&&!f?.bindCta,key:f?.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},b,{onClick:()=>k(f)}),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(T=(M=f?.cover)!==null&&M!==void 0?M:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:C?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${g?-g+50:50}%`}})),a.createElement("div",{className:J.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:cs["two-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var ps=a.memo(us);const vs=Ae(ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:as,bindableProps:[],settingRender:je},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var fs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ms={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const hs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:g=0}=t,b=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:y}=de(),{ctaEvent:m,setPopupDetailData:C}=de(),{popup:p}=$e(),[w,h]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:S}=Be(),k=he.throttle(f=>{m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),C?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(S(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(kt,{isPadding:!!r},w?.map(f=>{var M,_,T,E,A,x,I;return a.createElement(He,Object.assign({hidden:r&&!f?.bindCta,key:f.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},b,{onClick:()=>k(f)}),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(T=(M=f?.cover)!==null&&M!==void 0?M:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:y?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${g?-g+50:50}%`}})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ms["two-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:J.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var gs=a.memo(hs);const bs=Ae(gs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:fs,settingRender:je,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var ys=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ws={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ss=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:g=0}=t,b=we(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:m,sxpParameter:C}=de(),{popup:p}=$e(),{jumpToWeb:w}=Be(),[h,S]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=he.throttle(f=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),m?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(w(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(kt,{isPadding:!!r},h?.map(f=>{var M,_,T,E,A,x,I;return a.createElement(He,Object.assign({hidden:r&&!f?.bindCta,key:f?.itemId,className:J.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},b,{onClick:()=>k(f)}),a.createElement("div",{className:J.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(E=(T=(M=f?.cover)!==null&&M!==void 0?M:(_=f?.homePage)===null||_===void 0?void 0:_[0])!==null&&T!==void 0?T:C?.bottom_image)!==null&&E!==void 0?E:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${g?-g+50:50}%`}})),a.createElement("div",{className:J.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},a.createElement("div",{className:ws["tow-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:J.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(x=f?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&I!==void 0?I:"Shop now")))}))};var Ts=a.memo(Ss);const xs=Ae(Ts,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ys,bindableProps:[],settingRender:je},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var ai,ri,Es=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:le,name:["fontFamily"],initialValue:(ai=le?.[0])===null||ai===void 0?void 0:ai.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:le,initialValue:(ri=le?.[0])===null||ri===void 0?void 0:ri.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const Cs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=de();return a.createElement("div",{className:"clc-sxp-nav",style:e},a.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),a.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Qi=a.memo(Cs),Is=null,_s="3d989325-e7d6-4a74-8a97-98febdf5b567",ks=null,Ds=null,As={info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif.",link:"www.baidu.com",linkTitle:null,linkType:"WEB"},Ps=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Os="Handbags",Ms={productUserId:Is,requestId:_s,channel:ks,rtc:Ds,tag:As,recList:Ps,hashTag:Os};const Ls=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=de(),[g,b]=a.useState(!1),y=a.useRef(null),m=a.useRef(null),C=a.useRef(null),p=a.useRef(null),[w,h]=a.useState(""),S=a.useMemo(()=>{var T,E,A,x,I,P,j,z,H,F;return!((T=e?.video)===null||T===void 0)&&T.cover?(E=e?.video)===null||E===void 0?void 0:E.cover:!((x=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||x===void 0)&&x.length?(P=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||P===void 0?void 0:P[0]:!((z=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||z===void 0)&&z.length?(F=(H=e?.product)===null||H===void 0?void 0:H.homePage)===null||F===void 0?void 0:F[0]:v?.bottom_image||""},[e,v?.bottom_image]),k=a.useMemo(()=>{var T,E;return((T=e?.product)===null||T===void 0?void 0:T.title)||((E=e?.video)===null||E===void 0?void 0:E.title)||null},[e]),f=a.useMemo(()=>{var T,E,A,x,I,P,j,z,H;return!((T=e?.product)===null||T===void 0)&&T.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(P=(I=(x=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||x===void 0?void 0:x.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&P!==void 0?P:""}${(H=(z=(j=e?.product)===null||j===void 0?void 0:j.price)===null||z===void 0?void 0:z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&H!==void 0?H:""}`:null},[e]);a.useEffect(()=>{const T=new IntersectionObserver(E=>{E.forEach(A=>{if(A.isIntersecting){if(m.current===null||S==="")return;g&&w?y.current.setSrc(w):y.current.setSrc(S),T.unobserve(m.current)}})});return T.observe(m.current),()=>{T.disconnect()}},[S,g,w]);const M=(T,E,A)=>{const x=T/E;return A/x};a.useEffect(()=>{const T=C?.current;T===null||S===""||!g||(T.src=S,T.currentTime=1,T.crossOrigin="anonymous",T.onloadeddata=()=>{const E=p?.current;if(!E)return;const A=E.getContext("2d"),x=window?.innerWidth/2,I=M(T.videoWidth,T.videoHeight,x);E.height=I,E.width=x,A?.drawImage(T,0,0,E.width,E.height),h(E.toDataURL()),T.remove(),E.remove()})},[S,g]);const _=()=>{o(),d?.(n),setTimeout(()=>{var T;(T=s?.current)===null||T===void 0||T.swiper.slideTo(i,0,!1),u?.(!1)},0)};return a.createElement("div",{ref:m,className:"list-content-listItem",key:i,onClick:_,style:{marginBottom:r}},a.createElement("div",{className:"list-content-listItem-picture"},g&&a.createElement("div",{style:{display:"none"}},a.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),a.createElement("canvas",{ref:p})),a.createElement(Le,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),a.createElement("div",{className:"list-content-listItem-info"},a.createElement("div",{className:`list-content-listItem-info-title ${f?"list-content-listItem-info-nowrap":""}`,style:l?.title},k&&k),a.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!f},f)))};function js(t){var e,i,n,o,l,r,s,d,u,c,v,g,{reportTagsView:b}=t,y=we(t,["reportTagsView"]);const{waterFallData:m,getRecommendVideos:C,hashTagSize:p,loadingImage:w,isOpenHashTag:h}=de(),[S,k]=a.useState(),[f,M]=a.useState(),[_,T]=a.useState(!1),E=a.useRef(null),[A,x]=a.useState(!1);a.useCallback(()=>{A||(x(!0),m&&C?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType}).then(P=>{var j;k(S?.concat((j=P?.recList)!==null&&j!==void 0?j:[])),x(!1)}))},[m,C,S,A]),a.useEffect(()=>{var P,j;if(T(!0),m&&C?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType,defaultSize:p,maxSize:p}).then(z=>{var H,F;M(z),k((F=(H=z?.recList)===null||H===void 0?void 0:H.filter(N=>N?.video!==null||N?.product!==null))!==null&&F!==void 0?F:[]),T(!1)}),h){const z=Ms;M(z),k((j=(P=z?.recList)===null||P===void 0?void 0:P.filter(H=>H?.video!==null||H?.product!==null))!==null&&j!==void 0?j:[]),T(!1)}},[m,C,p,h]);const I=()=>{var P,j;!((P=f?.tag)===null||P===void 0)&&P.link&&(b(),window.location.href=(j=f?.tag)===null||j===void 0?void 0:j.link)};return a.createElement(a.Fragment,null,_?a.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):a.createElement("div",{className:"list"},a.createElement("div",{className:"list-scroll",ref:E},a.createElement("div",{className:"list-info",style:(e=y?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=f?.tag)===null||i===void 0?void 0:i.info),a.createElement("div",{hidden:!(!((n=f?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:I,style:Object.assign(Object.assign({},(o=y?.textStyles)===null||o===void 0?void 0:o.hashTagLink),{marginBottom:y?.space})},((l=f?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),a.createElement("div",{className:"list-content"},S?.map((P,j)=>a.createElement(Ls,Object.assign({key:j,index:j,rec:P,list:S,reportTagsView:b},y)))),a.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading..."),a.createElement("div",{hidden:!(!((r=f?.tag)===null||r===void 0)&&r.link),style:{height:!((s=f?.tag)===null||s===void 0)&&s.link?((d=y?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((u=y?.buttonStyle)===null||u===void 0?void 0:u.height)||"100px":0}})),a.createElement("div",{className:"list-bottom",hidden:!(!((c=f?.tag)===null||c===void 0)&&c.link),style:y?.buttonBgStyle}),a.createElement("div",{hidden:!(!((v=f?.tag)===null||v===void 0)&&v.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},y?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},a.createElement("button",{className:"list-btn",style:y?.buttonStyle,onClick:I},((g=f?.tag)===null||g===void 0?void 0:g.linkTitle)||"Shop the collection"))))}var Ns="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Bs=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:g,isFromHashtag:b,bffEventReport:y}=de();a.useRef(null);const m=a.useRef(null),[C,p]=a.useState();a.useEffect(()=>{const f=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?m.current=M:(m.current=document.createElement("div"),m.current.setAttribute("id","water-fall"),f?.appendChild(m.current))},[]);const w=()=>{const f=he.isEqual(c,s);!f&&s&&s?.length&&d?.(s),k(),r?.(void 0),g?.(!1),setTimeout(()=>{var M,_;f||(_=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||_===void 0||_.slideTo(u,0,!1),n?.(!1)},0)},[h,S]=a.useState();a.useEffect(()=>{i&&S(i)},[i]);const k=a.useCallback(()=>{var f,M,_,T,E,A;const x=h?.rec;if(!x)return;let I="";b?I="hashTagPage":!((f=x?.video)===null||f===void 0)&&f.url?I="videoPage":!((_=(M=x?.video)===null||M===void 0?void 0:M.imgUrls)===null||_===void 0)&&_.length&&(I="imagePage"),y?.({eventInfo:{contentId:(T=x?.video)===null||T===void 0?void 0:T.itemId,position:u+"",contentTags:JSON.stringify((E=x?.video)===null||E===void 0?void 0:E.tags),traceInfo:(A=x?.video)===null||A===void 0?void 0:A.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:I,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,y,C,b,u]);return a.useEffect(()=>{o&&p(new Date)},[o]),a.useEffect(()=>{const f=()=>{p(new Date)};return window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),m.current?mi.createPortal(a.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},a.createElement(Qi,{icon:Ns,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),a.createElement(js,Object.assign({reportTagsView:k},t))),m.current):null};var Zi=a.memo(Bs);const Rs=t=>a.createElement(Zi,Object.assign({},t));var zs=a.memo(Rs);const Vs=Ae(zs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Es,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var di=Object.freeze({__proto__:null,Appoint:Wl,AppointForm:Vn,Commodity:Hl,CommodityDetail:Il,CommodityDetailDiroNew:Nl,CommodityDiro:ts,CommodityDiroNew:ss,HashTag:Vs,Link:Jl,MultiCommodity:bs,MultiCommodityDiro:vs,MultiCommodityDiroNew:xs,Prompt:Ol});const Fs="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Hs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Us=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=we(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=de(),[c,v]=a.useState(e),g=Oe(Hs),b=Oe(Fs),y=he.debounce(()=>Ee(void 0,void 0,void 0,function*(){var m,C,p,w,h,S,k,f,M,_,T,E,A,x,I,P,j,z,H,F;if(c){v(!1);const N=(p=yield d?.({videoItemId:(C=(m=o?.video)===null||m===void 0?void 0:m.itemId)!==null&&C!==void 0?C:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(h=(w=o?.video)===null||w===void 0?void 0:w.itemId)!==null&&h!==void 0?h:"",contentName:(k=(S=o?.video)===null||S===void 0?void 0:S.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((M=(f=o?.video)===null||f===void 0?void 0:f.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((_=o?.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(T=o?.video)===null||T===void 0?void 0:T.traceInfo}}),N||v(!0)}else{v(!0);const N=(E=yield s?.({content:JSON.stringify(o)}))!==null&&E!==void 0?E:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(A=o?.video)===null||A===void 0?void 0:A.itemId)!==null&&x!==void 0?x:"",contentName:(P=(I=o?.video)===null||I===void 0?void 0:I.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((z=(j=o?.video)===null||j===void 0?void 0:j.tags)!==null&&z!==void 0?z:[]),position:l+"",contentFormat:!((H=o?.video)===null||H===void 0)&&H.url?"video":"image",traceInfo:(F=o?.video)===null||F===void 0?void 0:F.traceInfo}}),N||v(!1)}}),200);return a.createElement("button",Object.assign({},r,{onClick:y}),a.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||g:n||b,alt:"icon"}))};var en=a.memo(Us);const Gs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[d,u]=a.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:g,openHashtag:b,bffFbReport:y}=de(),m=a.useRef(0),[C,p]=a.useState(!1),[w,h]=a.useState(!0),{isActive:S}=Xi(),k=a.useRef(null),[f,M]=a.useState(""),_=`pb-cache-video-${e}`,T=a.useRef(null),E=a.useMemo(()=>r?.mode==="2",[r]),A=a.useMemo(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),x=a.useMemo(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||f},[f,t]),I=a.useMemo(()=>E?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[E]),P=a.useMemo(()=>r?.bgWay==="1",[r]),j=a.useMemo(()=>P&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,P]);a.useEffect(()=>{s&&s?.muted(o)},[o,s]);const z=a.useCallback(()=>{s&&s?.play()},[s]),H=Oe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=a.useCallback(()=>{var R,$,oe,Z,te,Y,re,se,q;if(!s)return;p(!0),u(!1);const ee=n[e];if(ee&&s?.duration()){m.current=s?.currentTime()||0;const _e=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=(($=s?.currentTime())!==null&&$!==void 0?$:0).toFixed(2),U=w?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(Z=(oe=ee?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&Z!==void 0?Z:"",contentName:(Y=(te=ee?.video)===null||te===void 0?void 0:te.title)!==null&&Y!==void 0?Y:"",playType:U,startTime:V,videoDuration:_e,contentTags:JSON.stringify((se=(re=ee?.video)===null||re===void 0?void 0:re.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(q=ee?.video)===null||q===void 0?void 0:q.traceInfo}}),h(!1)}},[c,n,e,w,s]),N=a.useCallback(()=>{var R;if(!s||f||!E)return;const $=document.getElementById("player-container-id_html5_api");if(!$||($.style.objectFit="contain",!((R=t?.video)===null||R===void 0)&&R.cover||!k||!k.current||P))return;const oe=()=>{const Z=$,te=k?.current,Y=te.getContext("2d"),re=window?.innerWidth,se=window?.innerHeight;te.height=se,te.width=re,Y?.drawImage(Z,0,0,te.width,te.height),M(te.toDataURL())};oe(),setTimeout(()=>{oe()},500)},[s,P,t,f,E]),B=a.useCallback(()=>{s&&N()},[s,N]);a.useCallback(()=>{p(!0)},[]);const L=a.useCallback(R=>()=>{if(!s||!C)return;const $=s?.paused();switch(R){case"start":if(!$)return;s?.play(),u(!1);break;case"pause":if($)return;s?.pause(),u(!0);break;default:$?s?.play():s?.pause(),u(!$);break}},[C,s]),D=a.useCallback(()=>{var R,$,oe,Z,te,Y,re,se,q;if(!s||l!==e)return;const ee=n[e],_e=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=(($=s?.currentTime())!==null&&$!==void 0?$:0).toFixed(2);if(s?.duration()){const U=(s?.currentTime()-m.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(Z=(oe=ee?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&Z!==void 0?Z:"",contentName:(Y=(te=ee?.video)===null||te===void 0?void 0:te.title)!==null&&Y!==void 0?Y:"",endTime:V,videoDuration:_e,playDuration:U,contentTags:JSON.stringify((se=(re=ee?.video)===null||re===void 0?void 0:re.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(q=ee?.video)===null||q===void 0?void 0:q.traceInfo}})}},[n,e,c,s,l]);a.useEffect(()=>{if(!S||!s)return;const R=t?.video.url;if(!R)return;s?.src(R),u(!1);const $=document.querySelector(`#${_}`),oe=document.querySelector("#player-container-id"),Z=document.querySelector("#player-container-id-copy");if(!(!oe&&!Z))return $?.appendChild(oe||Z),s?.on("loadedmetadata",B),s?.on("loadeddata",N),s?.on("playing",F),s?.on("pause",D),s?.on("ended",z),()=>{Z?.appendChild(oe),s?.off("loadedmetadata",B),s?.off("loadeddata",N),s?.off("playing",F),s?.off("pause",D),s?.off("ended",z)}},[S,_,t,s]),a.useEffect(()=>{!s||!C||(S?(y?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[S,C,s]),a.useEffect(()=>{if(!S||!s)return;!s?.paused()&&b?s?.pause():b||s?.play()},[b,S,s]),a.useEffect(()=>{if(!S)return;const R=()=>{L("start")(),y?.({eventName:"ViewContent"})},$=L("pause");return We.on(Ne.PAGE_DID_SHOW,R),We.on(Ne.PAGE_DID_HIDE,$),()=>{We.off(Ne.PAGE_DID_SHOW,R),We.off(Ne.PAGE_DID_HIDE,$)}},[L,S]);const G=a.useMemo(()=>!v?.placeholder_image||C?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[C,v?.placeholder_image]);return a.useEffect(()=>{if(!s)return;const R=()=>{var $;l===e&&(!(($=t?.video)===null||$===void 0)&&$.url)&&s&&!d&&L("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,s,L,d]),t?.video?a.createElement(a.Fragment,null,E?a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},j)},!P&&a.createElement(Le,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},I)}),a.createElement("canvas",{ref:k,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a.createElement("div",{className:"n-full-screen",ref:T,id:_,style:{width:"100%",height:"100%"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:H}))),G):a.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},a.createElement("div",{className:"n-full-screen",ref:T,id:_,style:{width:"100%",height:"100%"}}),G,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:H}))):null};var $s=a.memo(Gs);const Ws=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=a.useState(t),s=d=>{d.stopPropagation();const u=!l;r(u),n?.(u)};return a.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},a.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var tn=a.memo(Ws);const Ys=({imageUrl:t,style:e})=>{const[i,n]=a.useState(!0);$e(),a.useEffect(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=Oe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=a.useMemo(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return a.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},a.createElement("img",{src:t||o}))},nn=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=a.useMemo(()=>n?.mode==="2",[n]),l=a.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),r=a.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=a.useMemo(()=>n?.bgWay==="1",[n]),d=a.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return a.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},(!o||!s)&&a.createElement(Le,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r)}),o&&a.createElement(Le,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},qs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var d;const u=a.useRef(),{isActive:c}=Xi(),{sxpParameter:v,openHashtag:g}=de(),[b,y]=a.useState(!1);return a.useEffect(()=>{b&&c?(u?.current&&u.current.swiper.autoplay.start(),g?l(n):r(o)):(y(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,g,o,r,b]),a.createElement(it,{ref:u,defaultValue:0,direction:"horizontal",modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((d=s?.delay)!==null&&d!==void 0?d:3)*1e3}},t?.map(m=>a.createElement(He,{key:m},a.createElement(nn,{src:m,height:i,imgUrlsPostConfig:s}))))};var Xs=a.memo(qs);const Js=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=a.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:g}=de(),b=y=>{v?g?.(!0):c?.(n),d?.(i?{hashTag:y,itemId:e,itemType:i,rec:o}:{hashTag:y,rec:o}),u?.(!0)};return a.useMemo(()=>t.length<=6?null:a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),a.createElement("div",{className:"clc-sxp-bottom-hashtag"},a.createElement(kt,null,t?.map((y,m)=>a.createElement(He,{key:m,hidden:r?!1:m>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>b(y)},`#${y}`))))};var on=a.memo(Js),Ks="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Dt(t){return a.memo(function(e){const{$store:i}=In(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=he.get(i,c);return r=r.replace(d,v),v}})}),r},o=a.useMemo(()=>{var l,r,s;const{bindDatas:d}=e,u=we(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:g}=c;g.replace(/{{\s*([\w.]+)\s*}}/g,(b,y)=>{var m,C;if(y){const p=(C=(m=he.get(i,y))!==null&&m!==void 0?m:e[v])!==null&&C!==void 0?C:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=he.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((s=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return a.createElement(t,Object.assign({},o,o.eventMap))})}const Qs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=$e(),l=a.useMemo(()=>{var r,s,d,u,c,v,g,b,y,m,C,p,w,h,S,k,f,M,_,T,E,A,x,I,P,j,z,H,F,N,B;if(!t?.video)return null;let L=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?L="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?L="\u5546\u54C1CTA":L=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const D=i?.[L];if(((v=D?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((b=D?.item)===null||b===void 0?void 0:b.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((m=D?.item)===null||m===void 0?void 0:m.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((p=D?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((h=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||h===void 0)&&h.length)||((S=D?.item)===null||S===void 0?void 0:S.type)==="MultiCommodityDiro"&&!(!((f=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||f===void 0)&&f.length)||((M=D?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((T=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||T===void 0)&&T.length))return null;if(D&&n){const G=n[(E=D?.item)===null||E===void 0?void 0:E.type],R=Dt(G),$=(A=G?.extend)===null||A===void 0?void 0:A.defaulSetting,oe=((P=(I=(x=D?.item)===null||x===void 0?void 0:x.event)===null||I===void 0?void 0:I.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return a.createElement(R,Object.assign({style:Object.assign(Object.assign(Object.assign({},$?.style),(j=D?.item)===null||j===void 0?void 0:j.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},$?.textStyle),(z=D?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(H=D?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},$?.props,(N=D?.item)===null||N===void 0?void 0:N.props,{event:((B=D?.item)===null||B===void 0?void 0:B.event)||{},schema:o,id:D?.id,key:D?.id,recData:t,isExternalLink:oe,index:e}))}else return null},[t,n,i,o]);return a.createElement(a.Fragment,null,l)};var ln=a.memo(Qs);const sn=({nudge:t})=>{var e,i,n,o,l,r,s;return a.createElement(a.Fragment,null,t?.isOpen&&a.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?a.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,a.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},ci="FOR U",Zs=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=a.useState(ci),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:d,swiperRef:u,waterFallData:c}=de(),v=a.useMemo(()=>[ci,...t],[t]),g=b=>()=>{if(b===i)return;let y;b!==ci&&(y=b),d?.(!0),o?.({themeTag:y}).then(m=>{var C,p,w,h;We.emit(Ne.CHANGE_THEME_TAG,y),l?.((C=m?.recList)!==null&&C!==void 0?C:[]),r?.((p=m?.recList)!==null&&p!==void 0?p:[]),e?.(0),s?.(0),(h=(w=u?.current)===null||w===void 0?void 0:w.swiper)===null||h===void 0||h.slideTo(0)}).finally(()=>{d?.(!1)}),n(b)};return c||t.length<=0?null:a.createElement("div",{className:"clc-sxp-tagbar"},a.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},v.map(b=>a.createElement("li",{className:`clc-sxp-tagbar-list-item ${b===i?"clc-sxp-tagbar-list-item-active":""}`,key:b,onClick:g(b)},b))))};var an=a.memo(Zs);const rn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:g=[],licenseUrl:b})=>{var y,m,C,p,w,h,S,k,f,M;const{schema:_}=$e(),[T,E]=a.useState(0),A=a.useRef(0),[x,I]=a.useState(!1),[P,j]=a.useState(!0),z=a.useRef(),H=a.useRef(),[F,N]=a.useState(!1),[B,L]=a.useState(!1),{loadVideos:D,bffEventReport:G,loading:R,setPopupDetailData:$,ctaEvent:oe,swiperRef:Z,waterFallData:te,setOpenHashtag:Y,appDomain:re,openHashtag:se,loadingImage:q,isFromHashtag:ee,popupDetailData:_e,bffFbReport:V}=de(),[U,ne]=a.useState(null),me=a.useRef(),{productView:fe}=Be(),ye=a.useMemo(()=>r.length>0&&!R&&An(),[r,R]),ue=a.useCallback(()=>{if(r.length<=0)return;Ie();const O=location.search.slice(1),K=fi.parse(O.replace(/\+/g,"%2B"));for(const Q in K)K[Q]=K[Q].replace(/%2B/g,"+");const W=Q=>{var ae;return(ae=K[Q])!==null&&ae!==void 0?ae:""};G?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:W("utm_source"),utmMedium:W("utm_medium"),utmCampaign:W("utm_campaign"),utmId:W("utm_id"),utmContent:W("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),V?.({eventName:"PageView"}),I(!0)},[G,r.length,V]),Ie=()=>{z.current=new Date,H.current=new Date,kn()},ze=a.useRef();a.useEffect(()=>{var O,K,W;if(!ze.current&&!U&&me?.current&&r?.length>0){ze.current=!0;const Q=TCPlayer("player-container-id",{licenseUrl:b,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:[{src:(W=(K=(O=r?.[0])===null||O===void 0?void 0:O.video)===null||K===void 0?void 0:K.url)!==null&&W!==void 0?W:""}]});Q?.ready(()=>{ne(Q)})}},[U,b,r]),a.useEffect(()=>{x||ue()},[ue,x]),a.useEffect(()=>{var O;const K=r?.findIndex(W=>{var Q,ae,ce,X,ie,ve,Te,xe,pe;return s==="\u591A\u5546\u54C1CTA"?((Q=W?.video)===null||Q===void 0?void 0:Q.bindProducts)&&((ce=(ae=W?.video)===null||ae===void 0?void 0:ae.bindProducts)===null||ce===void 0?void 0:ce.length)>0:s==="\u5546\u54C1CTA"?(X=W?.video)===null||X===void 0?void 0:X.bindProduct:((ve=(ie=W?.video)===null||ie===void 0?void 0:ie.bindCta)===null||ve===void 0?void 0:ve.itemId)===s&&(((Te=W?.video)===null||Te===void 0?void 0:Te.url)||((pe=(xe=W?.video)===null||xe===void 0?void 0:xe.imgUrls)===null||pe===void 0?void 0:pe.length))})||0;(O=Z?.current)===null||O===void 0||O.swiper.slideTo(K)},[s,Z]),a.useEffect(()=>{const O=r?.[T],K=()=>{var W,Q,ae,ce,X,ie,ve,Te,xe,pe,be,Qe,Ze,et,Xe;if(document.visibilityState==="hidden"){We.emit(Ne.PAGE_DID_HIDE,O),ge(O),qe(O);let Ue="";_e&&(!((Q=(W=O?.video)===null||W===void 0?void 0:W.bindProducts)===null||Q===void 0)&&Q.length||!((ae=O?.video)===null||ae===void 0)&&ae.bindProduct)?Ue="pdpPage":_e&&o?.[(ie=(X=(ce=O?.video)===null||ce===void 0?void 0:ce.bindCta)===null||X===void 0?void 0:X.itemId)!==null&&ie!==void 0?ie:""].item.type==="Appoint"?Ue="formPage":ee?Ue="hashTagPage":!((ve=O?.video)===null||ve===void 0)&&ve.url?Ue="videoPage":!((Te=O?.video)===null||Te===void 0)&&Te.imgUrls&&(!((pe=(xe=O?.video)===null||xe===void 0?void 0:xe.imgUrls)===null||pe===void 0)&&pe.length)?Ue="imagePage":O?.product&&(Ue="productPage"),G?.({eventInfo:{sessionDuration:Math.floor((new Date-z.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(be=O?.video)===null||be===void 0?void 0:be.itemId,productId:(Qe=O?.product)===null||Qe===void 0?void 0:Qe.itemId,position:T+"",fromKName:Ue,fromKPage:location?.href,ctatId:(Xe=(et=(Ze=O?.video)===null||Ze===void 0?void 0:Ze.bindCta)===null||et===void 0?void 0:et.itemId)!==null&&Xe!==void 0?Xe:""}})}else document.visibilityState==="visible"&&(ue(),vi(T),We.emit(Ne.PAGE_DID_SHOW,O))};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K)}},[T,G,z,r,ue,_e,ee,o]);const ke=a.useMemo(()=>{let O=0;return t?.logoUrl&&t?.isShowLogo&&(O+=45),g.length>0&&(O+=45,te&&(O-=45)),i-O},[t,i,g,te]),dt=a.useMemo(()=>t?.logoUrl&&t?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},a.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),nt=a.useCallback((O,K)=>{var W,Q,ae,ce;return!((W=O?.video)===null||W===void 0)&&W.url?a.createElement($s,{rec:O,index:K,muted:P,data:r,height:ke,activeIndex:T,videoPostConfig:t?.videoPost,videoRef:U}):!((Q=O?.video)===null||Q===void 0)&&Q.imgUrls?a.createElement(Xs,{key:O?.video.itemId,imgUrls:O?.video.imgUrls,width:n,height:ke,rec:O,index:K,onReportViewImageEnd:ge,onViewImageStartEvent:vi,imgUrlsPostConfig:t?.imgUrlsPost}):O.product&&Array.isArray(t?.productPost)&&((ae=t?.productPost)===null||ae===void 0?void 0:ae.length)>0?(ce=t?.productPost)===null||ce===void 0?void 0:ce.map((X,ie)=>{var ve,Te,xe,pe,be,Qe,Ze,et;const Xe=l[(ve=X?.item)===null||ve===void 0?void 0:ve.type],Ue=Dt(Xe),Ge=(Te=Xe?.extend)===null||Te===void 0?void 0:Te.defaulSetting;return a.createElement(Ue,Object.assign({key:`${K}${ie}`,textStyle:Object.assign(Object.assign({},Ge?.textStyle),(xe=X?.item)===null||xe===void 0?void 0:xe.textStyle),bindDatas:(be=(pe=X?.item)===null||pe===void 0?void 0:pe.bindDatas)!==null&&be!==void 0?be:[]},Ge?.props,(Qe=X?.item)===null||Qe===void 0?void 0:Qe.props,{event:((Ze=X?.item)===null||Ze===void 0?void 0:Ze.event)||{},schema:_,id:X?.id,viewTime:H.current,rec:O,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},Ge?.style),(et=X?.item)===null||et===void 0?void 0:et.style),{height:"100%",overflow:"auto"}),index:K}))}):null},[n,r,ke,P,T,t?.productPost,H,d,l,_,U]),ot=a.useCallback(O=>{L(O)},[]),ct=a.useMemo(()=>B?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[B]),lt=a.useCallback((O,K)=>{var W,Q,ae,ce,X,ie,ve;return O?.video?a.createElement(a.Fragment,null,((W=O?.video)===null||W===void 0?void 0:W.title)&&!B&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(sn,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(ln,{rec:O,index:K,tempMap:o,resolver:l})):null,a.createElement("div",null,a.createElement(_t,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(ae=(Q=O?.video)===null||Q===void 0?void 0:Q.title)!==null&&ae!==void 0?ae:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:ot}),a.createElement(on,{index:T,tags:(X=(ce=O?.video)===null||ce===void 0?void 0:ce.hashTags)!==null&&X!==void 0?X:[],itemId:(ie=O?.video)===null||ie===void 0?void 0:ie.itemId,itemType:!((ve=O?.video)===null||ve===void 0)&&ve.itemId?"VIDEO":null,rec:O,hashTagStyle:v})))):null},[e,T,o,l,d,u,v,t,ot,B,ct]),ut=a.useCallback((O,K)=>{var W,Q,ae,ce;if(!t?.isShowLike)return;let X=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return te&&X<40&&(X+=40),O?.video?a.createElement(en,{key:O.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:O.isCollected,recData:O,className:"clc-sxp-like-button",style:{[(Q=t.likeIconXPosit)!==null&&Q!==void 0?Q:"right"]:(ae=t.likeIconX)!==null&&ae!==void 0?ae:0,[(ce=t.likeIconYPosit)!==null&&ce!==void 0?ce:"bottom"]:X},position:K}):null},[t,te]),ge=O=>{var K,W,Q,ae,ce,X;if(!(!((K=O?.video)===null||K===void 0)&&K.url)&&(!((W=O?.video)===null||W===void 0)&&W.imgUrls)){const ie=Date.now(),ve=(ie-A.current)/1e3;G?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ae=(Q=O?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&ae!==void 0?ae:"",contentName:(ce=O?.video.title)!==null&&ce!==void 0?ce:"",imageEndTime:`${ie}`,playDuration:`${ve}`,contentTags:JSON.stringify((X=O?.video.tags)!==null&&X!==void 0?X:[]),position:T+"",contentFormat:"image",traceInfo:O?.video.traceInfo}})}},At=O=>{var K,W,Q,ae,ce,X,ie,ve,Te,xe;H.current=new Date;const pe=r[O.previousIndex];if(!pe)return;O.previousIndex-O.activeIndex<0?(G?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(W=(K=pe?.video)===null||K===void 0?void 0:K.itemId)!==null&&W!==void 0?W:"",productId:(ae=(Q=pe?.product)===null||Q===void 0?void 0:Q.itemId)!==null&&ae!==void 0?ae:"",requestId:null}}),ge(pe)):(G?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(X=(ce=pe?.video)===null||ce===void 0?void 0:ce.itemId)!==null&&X!==void 0?X:"",productId:(ve=(ie=pe.product)===null||ie===void 0?void 0:ie.itemId)!==null&&ve!==void 0?ve:"",requestId:null}}),ge(pe)),qe(pe);const be=r[O.activeIndex];!(!((Te=be?.video)===null||Te===void 0)&&Te.url)&&!(!((xe=be?.video)===null||xe===void 0)&&xe.imgUrls)&&be?.product&&V?.({eventName:"ProductView"})},qe=O=>{var K,W,Q;!(!((K=O?.video)===null||K===void 0)&&K.url)&&!(!((W=O?.video)===null||W===void 0)&&W.imgUrls)&&O?.product&&fe(O,O.product,(Q=O?.product)===null||Q===void 0?void 0:Q.bindCta,H.current,T)};a.useEffect(()=>{const O=r[T];se&&qe(O)},[se,r,T]);const vi=O=>{var K,W,Q,ae,ce,X;const ie=r[O];if(!(!((K=ie?.video)===null||K===void 0)&&K.url)&&(!((W=ie?.video)===null||W===void 0)&&W.imgUrls)){const ve=Date.now();A.current=ve,G?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ae=(Q=ie?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&ae!==void 0?ae:"",contentName:(ce=ie?.video.title)!==null&&ce!==void 0?ce:"",imageStartTime:`${ve}`,contentTags:JSON.stringify((X=ie?.video.tags)!==null&&X!==void 0?X:[]),position:O+"",contentFormat:"image",traceInfo:ie?.video.traceInfo}}),V?.({eventName:"ViewContent"})}},mt=a.useMemo(()=>{const O=r?.map((K,W)=>T===W||W-1===T||W+1===T?K:null);return te?O:O.concat([{loading:!0}])},[r,T,te]),cn=a.useMemo(()=>R?a.createElement("div",{style:{height:ke,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):mt?.map((O,K)=>a.createElement(He,{key:K,virtualIndex:K},O&&a.createElement(a.Fragment,null,O?.loading?a.createElement("div",{style:{height:ke,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):a.createElement(a.Fragment,null,nt(O,K),lt(O,K),ut(O,K))))),[n,r,ke,R,lt,nt,mt,q]),un=Oe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),pn=Oe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return a.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},te&&a.createElement(Qi,{icon:Ks,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Y?.(!0)}}),dt,a.createElement(an,{tagList:g,setActiveIndex:E}),ye?a.createElement(Ys,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`}}):null,a.createElement(it,{ref:Z,onSlideChange:()=>{Z.current.swiper.allowTouchMove=!1,setTimeout(()=>{Z.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:O=>{E(O.activeIndex),!se&&(At(O),!te&&O?.activeIndex+2>=r?.length&&(F||(N(!0),D?.(Math.ceil(T/10)+1).then(()=>{N(!1)}))))},direction:"vertical",height:ke},a.createElement(tn,{style:{position:"fixed",visibility:!((C=(m=r?.[T])===null||m===void 0?void 0:m.video)===null||C===void 0)&&C.url?"visible":"hidden",zIndex:999,[(p=t?.muteIconXPosit)!==null&&p!==void 0?p:"right"]:(w=t?.muteIconX)!==null&&w!==void 0?w:0,[(h=t?.muteIconYPosit)!==null&&h!==void 0?h:"bottom"]:(S=t?.muteIconY)!==null&&S!==void 0?S:23},defaultValue:P,activeIcon:t?.unMuteIcon?t?.unMuteIcon:un,unactiveIcon:t?.muteIcon?t?.muteIcon:pn,onChange:j}),cn),a.createElement(Zi,Object.assign({},(M=(f=(k=t?.hashTag)===null||k===void 0?void 0:k[0])===null||f===void 0?void 0:f.item)===null||M===void 0?void 0:M.props)),a.createElement("div",{style:{position:"absolute",zIndex:-100}},a.createElement("video",{ref:me,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),a.createElement("div",{id:"player-container-id-copy"})))},ea=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>a.createElement(it,{defaultValue:0,direction:"horizontal",modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>a.createElement(He,{key:r},a.createElement(nn,{src:r,height:i,imgUrlsPostConfig:n}))));var ta=a.memo(ea);const ia=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[d,u]=a.useState(!1),c=a.useRef(null),{bffEventReport:v,sxpParameter:g,waterFallData:b,openHashtag:y}=de(),m=a.useRef(0),[C,p]=a.useState(!1),[w,h]=a.useState(!0),S=a.useRef(null),[k,f]=a.useState("");a.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=a.useCallback(()=>{var N;(N=c.current)===null||N===void 0||N.play()},[]),_=Oe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),T=a.useCallback(()=>{var N,B,L,D,G,R,$,oe,Z,te,Y,re,se;u(!1);const q=n[e];if(q&&(!((N=c?.current)===null||N===void 0)&&N.duration)){m.current=((B=c?.current)===null||B===void 0?void 0:B.currentTime)||0;const ee=((D=(L=c.current)===null||L===void 0?void 0:L.duration)!==null&&D!==void 0?D:0).toFixed(2),_e=((R=(G=c.current)===null||G===void 0?void 0:G.currentTime)!==null&&R!==void 0?R:0).toFixed(2),V=w?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(oe=($=q?.video)===null||$===void 0?void 0:$.itemId)!==null&&oe!==void 0?oe:"",contentName:(te=(Z=q?.video)===null||Z===void 0?void 0:Z.title)!==null&&te!==void 0?te:"",playType:V,startTime:_e,videoDuration:ee,contentTags:JSON.stringify((re=(Y=q?.video)===null||Y===void 0?void 0:Y.tags)!==null&&re!==void 0?re:[]),position:e+"",contentFormat:"video",traceInfo:(se=q?.video)===null||se===void 0?void 0:se.traceInfo}}),h(!1)}},[v,n,e,w]),E=a.useCallback(()=>{p(!0)},[]),A=a.useCallback(N=>()=>{var B,L,D,G,R;if(!C)return;const $=(B=c.current)===null||B===void 0?void 0:B.paused;switch(N){case"start":if(!$)return;(L=c.current)===null||L===void 0||L.play(),u(!1);break;case"pause":if($)return;(D=c.current)===null||D===void 0||D.pause(),u(!0);break;default:$?(G=c.current)===null||G===void 0||G.play():(R=c.current)===null||R===void 0||R.pause(),u(!$);break}},[C]),x=a.useCallback(()=>{var N,B,L,D,G,R,$,oe,Z,te,Y,re,se;const q=n[e],ee=((B=(N=c.current)===null||N===void 0?void 0:N.duration)!==null&&B!==void 0?B:0).toFixed(2),_e=((D=(L=c.current)===null||L===void 0?void 0:L.currentTime)!==null&&D!==void 0?D:0).toFixed(2);if(!((G=c?.current)===null||G===void 0)&&G.duration){const V=(((R=c?.current)===null||R===void 0?void 0:R.currentTime)-m.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(oe=($=q?.video)===null||$===void 0?void 0:$.itemId)!==null&&oe!==void 0?oe:"",contentName:(te=(Z=q?.video)===null||Z===void 0?void 0:Z.title)!==null&&te!==void 0?te:"",endTime:_e,videoDuration:ee,playDuration:V,contentTags:JSON.stringify((re=(Y=q?.video)===null||Y===void 0?void 0:Y.tags)!==null&&re!==void 0?re:[]),position:e+"",contentFormat:"video",traceInfo:(se=q?.video)===null||se===void 0?void 0:se.traceInfo}})}},[n,e,v]),I=a.useMemo(()=>r?.mode==="2",[r]),P=a.useMemo(()=>{var N;return r?.mode==="2"?`translateY(-${50+((N=r?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),j=a.useMemo(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||k},[k,t]),z=a.useCallback(()=>{if(!S||!c||!c.current||!S.current)return;const N=c?.current,B=S?.current,L=B.getContext("2d"),D=window?.innerWidth,G=window?.innerHeight;B.height=G,B.width=D,L?.drawImage(N,0,0,B.width,B.height),f(B.toDataURL())},[]);a.useEffect(()=>{var N,B,L,D;if(c.current){if(u(!1),!c.current.src){const G=t?.video.url;if(G.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const R=new window.Hls;R.loadSource(G),R.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=G;else c.current.src=G;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(N=c.current)===null||N===void 0||N.addEventListener("loadedmetadata",E),(B=c.current)===null||B===void 0||B.addEventListener("canplay",E),(L=c.current)===null||L===void 0||L.addEventListener("playing",T),(D=c.current)===null||D===void 0||D.addEventListener("loadeddata",z),()=>{var G,R,$,oe;(G=c.current)===null||G===void 0||G.removeEventListener("loadedmetadata",E),(R=c.current)===null||R===void 0||R.removeEventListener("canplay",E),($=c.current)===null||$===void 0||$.removeEventListener("playing",T),(oe=c.current)===null||oe===void 0||oe.removeEventListener("loadeddata",z)}}},[E,T,t?.video,z]);const H=a.useMemo(()=>!g?.placeholder_image||C?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:g?.placeholder_image}),[C,g?.placeholder_image]);a.useEffect(()=>{const N=()=>{var B,L;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((L=c?.current)===null||L===void 0)&&L.src)&&!d&&A("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[l,e,t,c,A,d]);const F=a.useMemo(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]);return t?.video?a.createElement(a.Fragment,null,I?a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement(Le,{src:j,style:Object.assign({height:i,width:s,objectFit:"cover"},F)}),a.createElement("canvas",{ref:S,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:s,height:"100%"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:_}))),H):a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:M}),H,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:_}))):null};var na=a.memo(ia);const ui={};Object.values(di).forEach(t=>{ui[t.extend.type]=t});const oa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",la="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",sa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=a.useMemo(()=>{let f=0;return e?.logoUrl&&e?.isShowLogo&&(f+=45),c.length>0&&(f+=45),s-f},[e,s,c]),g=(f,M)=>{var _,T,E,A;if(!((_=f?.video)===null||_===void 0)&&_.url)return a.createElement(na,{rec:f,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((T=f?.video)===null||T===void 0)&&T.imgUrls)return a.createElement(ta,{key:f?.video.itemId,imgUrls:f?.video.imgUrls,width:d,height:v,rec:f,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(f.product&&f.product&&Array.isArray(e?.productPost)&&((E=e?.productPost)===null||E===void 0?void 0:E.length)>0)return(A=e?.productPost)===null||A===void 0?void 0:A.map((x,I)=>{var P,j,z,H,F,N,B,L;const D=ui[(P=x?.item)===null||P===void 0?void 0:P.type],G=Dt(D),R=(j=D?.extend)===null||j===void 0?void 0:j.defaulSetting;return a.createElement(G,Object.assign({key:`${M}${I}`,textStyle:Object.assign(Object.assign({},R?.textStyle),(z=x?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(H=x?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},R?.props,(N=x?.item)===null||N===void 0?void 0:N.props,{event:((B=x?.item)===null||B===void 0?void 0:B.event)||{},id:x?.id,rec:f,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},R?.style),(L=x?.item)===null||L===void 0?void 0:L.style),{width:d,height:v,overflow:"auto"}),index:M}))})},b=a.useMemo(()=>e?.logoUrl&&e?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},a.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),y=(f,M)=>e?.isShowCTA===void 0||e?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(ln,{rec:f,index:M,tempMap:o,resolver:ui})):null,m=(f,M)=>{var _,T,E,A,x,I,P;return f?.video?a.createElement(a.Fragment,null,((_=f?.video)===null||_===void 0?void 0:_.title)&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(sn,{nudge:n}),y(f,M),a.createElement("div",null,a.createElement(_t,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(T=f?.video)===null||T===void 0?void 0:T.title)!==null&&E!==void 0?E:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),a.createElement(on,{index:M,tags:(x=(A=f?.video)===null||A===void 0?void 0:A.hashTags)!==null&&x!==void 0?x:[],itemId:(I=f?.video)===null||I===void 0?void 0:I.itemId,itemType:!((P=f?.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:f,hashTagStyle:r}))):null},C=Oe(la,u),p=Oe(oa,u),w=(f,M)=>{var _,T,E,A;if(!e?.isShowLike)return;let x=(_=e?.likeIconY)!==null&&_!==void 0?_:400;return x<40&&(x+=40),f?.video?a.createElement(en,{key:f.position,activeIcon:(T=e?.likeIcon)!==null&&T!==void 0?T:C,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:p,position:M,active:f.isCollected,recData:f,className:"clc-sxp-like-button",style:{top:x,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},h=Oe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),S=Oe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),k=(f,M)=>{var _,T,E,A;return a.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},b,a.createElement(an,{tagList:c}),a.createElement(tn,{style:{position:"absolute",right:(_=e?.muteIconX)!==null&&_!==void 0?_:0,visibility:!((E=(T=t?.[M])===null||T===void 0?void 0:T.video)===null||E===void 0)&&E.url?"visible":"hidden",bottom:(A=e?.muteIconY)!==null&&A!==void 0?A:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:h,unactiveIcon:e?.muteIcon?e?.muteIcon:S}),g(f,M),m(f,M),w(f,M))};return a.createElement("div",{className:J.css({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((f,M)=>k(f,M)))};var aa=a.memo(sa);const ra=()=>{const{schema:t,resolver:e,popup:i}=$e(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=de(),{productView:r}=Be(),[s,d]=a.useState(),u=a.useRef(null);a.useEffect(()=>{const g=()=>{u.current=new Date};return g(),window.addEventListener("pageshow",g),()=>{window.removeEventListener("pageshow",g)}},[]),a.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var g,b,y,m;if(!i||i?.id===""||!s||new Date-u.current<((g=i?.duration)!==null&&g!==void 0?g:0))return;d(Object.assign(Object.assign({},i),{id:""}));const C=o,p=(b=C?.video)===null||b===void 0?void 0:b.bindProduct,w=(m=(y=C?.video)===null||y===void 0?void 0:y.bindProduct)===null||m===void 0?void 0:m.bindCta;p&&w&&r(C,p,w,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=a.useMemo(()=>{var g,b,y;return(y=(b=(g=t?.sxpPageConf)===null||g===void 0?void 0:g.globalConfig)===null||b===void 0?void 0:b.popupList)===null||y===void 0?void 0:y.map((m,C)=>{var p,w,h,S,k,f,M,_,T,E,A,x,I,P,j;if(m?.id===i?.id){const z=e[(p=m?.item)===null||p===void 0?void 0:p.type],H=Dt(z),F=((S=(h=(w=m?.item)===null||w===void 0?void 0:w.event)===null||h===void 0?void 0:h.onClick)===null||S===void 0?void 0:S.linkType)==="externalLink",N=((M=(f=(k=m?.item)===null||k===void 0?void 0:k.event)===null||f===void 0?void 0:f.onClick)===null||M===void 0?void 0:M.linkType)==="popup",B=(_=z?.extend)===null||_===void 0?void 0:_.defaulSetting;return a.createElement(H,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},B?.style),(T=m?.item)===null||T===void 0?void 0:T.style),{width:(E=window.innerWidth)!==null&&E!==void 0?E:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},B?.textStyle),(A=m?.item)===null||A===void 0?void 0:A.textStyle),bindDatas:(I=(x=m?.item)===null||x===void 0?void 0:x.bindDatas)!==null&&I!==void 0?I:[]},B?.props,(P=m?.item)===null||P===void 0?void 0:P.props,{event:((j=m?.item)===null||j===void 0?void 0:j.event)||{},schema:t,id:m?.id,isExternalLink:F,isPopup:N,onClose:c}))}else return a.createElement(a.Fragment,null)})},[t,i,e,c]);return a.createElement(It,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},pi={};Object.values(di).forEach(t=>{pi[t.extend.type]=t});const da=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var d,u,c,v,g,b,y,m,C;const p=a.useMemo(()=>{var w;return location?.search?(w=location?.search)===null||w===void 0?void 0:w.replace("?",""):""},[]);return a.createElement(Di,{resolver:pi,enableDataSource:!1,schema:t?.data,utmVal:p},a.createElement(Ci,{utmVal:p,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(u=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.personalized_recommend)!==null&&u!==void 0?u:e,defaultSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&v!==void 0?v:i,hashTagSize:(b=(g=t?.sxp_parameter)===null||g===void 0?void 0:g.hash_tag_size)!==null&&b!==void 0?b:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(C=(m=(y=t?.data)===null||y===void 0?void 0:y.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||C===void 0?void 0:C.isShowTag,render:({rtcList:w,tagList:h})=>{var S;return a.createElement(a.Fragment,null,a.createElement(rn,Object.assign({},(S=t?.data)===null||S===void 0?void 0:S.sxpPageConf,{tagList:h,data:w,resolver:pi,licenseUrl:r})),a.createElement(ra,null))}}))};var ca=a.memo(da);const dn=a.createContext({}),ua=({children:t,data:e})=>{var i,n,o,l,r,s;const[d,u]=a.useState(!1);return a.createElement(dn.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function pa(){return a.useContext(dn)}exports.DiyPortalPreview=aa,exports.EditorDataProvider=ua,exports.Modal=It,exports.SxpDataSourceProvider=Ci,exports.SxpPageCore=ca,exports.SxpPageRender=rn,exports.core=Ln,exports.default=Cn,exports.defaultSetting=De,exports.materials=di,exports.useEditorDataProvider=pa;
|
5
|
+
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:f?.info})))},te=()=>{var $;return a.createElement(a.Fragment,null,(b||L?.link)&&a.createElement("button",{onClick:R,className:"pb-commondity-btn",style:M},($=D?.enTitle)!==null&&$!==void 0?$:"Purchase on Website"))},ae=a.useCallback($=>$?.lineClamp?Object.assign(Object.assign({},$),{overflow:"hidden",WebkitLineClamp:$?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):$,[]);return a.createElement("div",{className:"pb-commondity"},a.createElement("div",Object.assign({className:K.css(Object.assign({},v))},S),L&&((r=L?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(tt,{height:oe,modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:_?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:_?.delay*1e3}},(s=L?.homePage)===null||s===void 0?void 0:s.map($=>a.createElement(Ue,{key:$},a.createElement("div",{style:{overflow:"hidden",width:oe,height:oe}},a.createElement(je,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${_?.translateY?-_?.translateY+50:50}%`},src:$}))))),!(!((d=L?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:K.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:K.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=x?.bottom_image)!==null&&u!==void 0?u:C,alt:""})),a.createElement("div",{className:"pb-commondity-content"},ee({isPost:w}))),te(),a.createElement(It,{visible:F,onClose:()=>N(!1)},a.createElement("div",{style:{paddingBottom:"80px"}},ee({isPost:!1})),te()))};var Cl=a.memo(El);const Il=Pe(Cl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:Fn},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ei,ti,_l=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Ae?.fontOptions,initialValue:(ti=(ei=Ae?.fontOptions)===null||ei===void 0?void 0:ei[0])===null||ti===void 0?void 0:ti.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],Ji="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const Dl=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:o,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return o&&o.length>0?(e=o[0])===null||e===void 0?void 0:e.url:null}},Al=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:d,submitButtonStyle:u}=t,c=Te(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:v}=de(),{jumpToWeb:h}=Re(),y=typeof o=="string"?o:Dl(o),g=()=>{var b,C,p;if(r){const w=v,m=(b=w?.video)===null||b===void 0?void 0:b.bindProduct,E=(p=(C=w?.video)===null||C===void 0?void 0:C.bindProduct)===null||p===void 0?void 0:p.bindCta,_=v?.index;h(w,m,E,_)}l||s?.(),d?.()};return a.createElement("div",Object.assign({className:`pb-prompt ${K.css(Object.assign({},n))}`},c),a.createElement("div",{className:"pb-prompt-icon"},a.createElement("img",{width:"100%",src:y??Ji})),a.createElement("div",{className:"pb-prompt-content"},e),a.createElement("button",{className:"pb-prompt-btn",style:u,onClick:g},i))};var Pl=a.memo(Al);const Ol=Pe(Pl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:_l,bindableProps:[],interactionRender:kl},defaulSetting:{props:{icon:Ji,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var ii,ni,Ml=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:le,name:["fontFamily"],initialValue:(ii=le?.[0])===null||ii===void 0?void 0:ii.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:le,initialValue:(ni=le?.[0])===null||ni===void 0?void 0:ni.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Ll=t=>{var e,i,n,o,l,r,s,d,u,c,v,h,{style:y,isDefault:g,rec:b,viewTime:C,isPost:p,bottom_image:w,tipText:m,swiper:E,commodityStyles:_,buttonStyle:f,index:M}=t,k=Te(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);a.useState(!0);const{sxpParameter:S}=de(),{popupDetailData:x,bffEventReport:A,isPreview:T,swiperRef:I,bffFbReport:P}=de(),{jumpToWeb:j,productView:z}=Re(),H=a.useRef(null);a.useRef(null),a.useRef(null),a.useState(!1),a.useState(!1),a.useState(!0);const[F,N]=a.useState(!1),B=a.useRef(null),L=p?b:x,D=p?L?.product:(e=L?.video)===null||e===void 0?void 0:e.bindProduct,G=p?(i=L?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=L?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,R=p?M:x?.index,W=()=>{D?.link&&(j(L,D,G,R),p||z(L,D,G,C||B.current,R),window.location.href=window.getJointUtmLink(D.link))};a.useEffect(()=>{p||P?.({eventName:"ProductView"})},[p,P]),a.useEffect(()=>{const $=()=>{B.current=new Date};return $(),window.addEventListener("pageshow",$),()=>{window.removeEventListener("pageshow",$)}},[]);const oe=a.useMemo(()=>{var $,se,q,J,he;return D?.currency&&D?.price?`${(q=(se=($=D?.currency)===null||$===void 0?void 0:$.split("-")[1])===null||se===void 0?void 0:se.toUpperCase())!==null&&q!==void 0?q:""}${(he=(J=D?.price)===null||J===void 0?void 0:J.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&he!==void 0?he:""}`:"\xA3102,300.00"},[D?.price,D?.currency]),ee=T?375:(l=y?.width)!==null&&l!==void 0?l:window.innerWidth,te=({isPost:$})=>a.createElement("div",{hidden:!!D&&(!D?.info||D?.info==="")},a.createElement(kt,{isPost:$,onClick:()=>N(!0),className:"pb-commondityDiroNew-info",style:_?.info,foldText:m?.foldText,unfoldText:m?.unfoldText,text:D?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
|
6
|
+
Made in Italy`})),ae=a.useCallback($=>$?.lineClamp?Object.assign(Object.assign({},$),{overflow:"hidden",WebkitLineClamp:$?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):$,[]);return a.createElement("div",{className:"pb-commondityDiroNew"},a.createElement("div",Object.assign({ref:H,className:K.css(Object.assign({},y))},k),D&&((r=D?.homePage)===null||r===void 0?void 0:r.length)>0&&a.createElement(tt,{height:ee,modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:E?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:E?.delay*1e3}},(s=D?.homePage)===null||s===void 0?void 0:s.map($=>a.createElement(Ue,{key:$},a.createElement("div",{style:{overflow:"hidden",width:ee,height:ee}},a.createElement(je,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${E?.translateY?-E?.translateY+50:50}%`},src:$}))))),!(!((d=D?.homePage)===null||d===void 0)&&d.length)&&a.createElement("div",{className:K.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},a.createElement("img",{className:K.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(u=S?.bottom_image)!==null&&u!==void 0?u:w,alt:""})),a.createElement("div",{className:"pb-commondityDiroNew-content"},a.createElement("div",{className:"pb-commondityDiroNew-content-top"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:ae(_?.title)},(c=D?.title)!==null&&c!==void 0?c:"Large Dior Toujours BagLarge"),a.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!D&&(!D?.collection||D?.collection===""),style:ae(_?.collection)},D?.collection||"Black Macrocannage CalfskinLarge")),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!D&&!D?.price,style:ae(_?.price)},oe),a.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!D&&!D?.taxInfo,style:ae(_?.taxInfo)},(v=D?.taxInfo)!==null&&v!==void 0?v:"\u7A0E\u8D39"))),(!D||D?.link)&&a.createElement("button",{onClick:W,className:"pb-commondityDiroNew-btn",style:f},(h=G?.enTitle)!==null&&h!==void 0?h:"Shop now"),te({isPost:p}))),a.createElement(It,{visible:F,onClose:()=>N(!1)},te({isPost:!1})))};var jl=a.memo(Ll);const Nl=Pe(jl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Ml},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var oi,li,Ne=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:le,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(oi=le?.[0])===null||oi===void 0?void 0:oi.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:le,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(li=le?.[0])===null||li===void 0?void 0:li.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],Bl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Ki(t){const e=a.useRef(null),[i,n]=a.useState(!1);return a.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),a.useEffect(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const Rl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;Te(t,["rec","children","className","onClick","style","isExternalLink","index"]);const d=a.useRef(null),u=Ki(d),{popup:c}=Ge(),{setPopupDetailData:v,ctaEvent:h}=de(),{jumpToWeb:y}=Re();a.useEffect(()=>{var b,C;if(u&&d?.current){const p=(C=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&C!==void 0?C:e?.video;h?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,s)}},[u,d,e,h,s]);const g=ge.throttle(()=>{var b,C,p,w,m,E,_,f;const M=(C=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&C!==void 0?C:e?.video;if(h?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,M,s),v?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((w=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||w===void 0)&&w.link){const k=(m=e?.video)===null||m===void 0?void 0:m.bindCta,S=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;y(e,S,k,s),window.location.href=window.getJointUtmLink((f=(_=e?.video)===null||_===void 0?void 0:_.bindProduct)===null||f===void 0?void 0:f.link)}}else o?.()},c?.duration);return a.createElement("div",{ref:d,className:n,style:l,onClick:g},i)};var ft=a.memo(Rl),zl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const Vl=t=>{var e,i,n,o,l,r,s,d,{content:u,style:c,bgImg:v,recData:h,bottom_image:y,ctaTempStyles:g,isExternalLink:b,translateY:C=0}=t,p=Te(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:w}=de(),m=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=m?.cover)!==null&&i!==void 0?i:(n=m?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:w?.bottom_image)!==null&&l!==void 0?l:y;return a.createElement(ft,Object.assign({isExternalLink:b,rec:h,className:K.css(Object.assign({},c)),style:{display:"flex"}},p),a.createElement("div",{className:K.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},g?.img))},a.createElement(je,{className:K.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${C?-C+50:50}%`}),src:E})),a.createElement("div",{className:K.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:zl["tow-line-ellipsis"],style:g?.title},(r=m?.title)!==null&&r!==void 0?r:"Product Name"),a.createElement("div",{className:K.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},g?.ctaTitle))},(d=(s=m?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&d!==void 0?d:"Shop Now")))};var Fl=a.memo(Vl);const Hl=Pe(Fl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:Bl,bindableProps:[],settingRender:Ne},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var Ul=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Gl=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:d,bottom_image:u,ctaTempStyles:c,isExternalLink:v}=t,h=Te(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:y}=de(),g=(e=d?.video)===null||e===void 0?void 0:e.bindCta;return a.createElement(ft,Object.assign({isExternalLink:v,rec:d,className:K.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},h),a.createElement("div",{className:K.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},a.createElement("img",{className:K.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=g?.icon)!==null&&i!==void 0?i:y?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),a.createElement("div",{className:K.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=g?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var $l=a.memo(Gl);const Wl=Pe($l,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:Ul,settingRender:Ne?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var Yl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const ql=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:d,recData:u,bottom_image:c,ctaTempStyles:v,index:h}=t,y=Te(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:g,bffEventReport:b}=de(),{jumpToWeb:C}=Re(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,w=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,m=()=>{p?.link&&(C(u,w,p,h),window.location.href=window.getJointUtmLink(p.link))};return a.createElement(ft,Object.assign({index:h,rec:u,className:K.css(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},y,{onClick:m}),a.createElement("div",{className:K.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},v?.img))},a.createElement(je,{className:K.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:g?.bottom_image)!==null&&o!==void 0?o:c})),a.createElement("div",{className:K.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Yl["tow-line-ellipsis"],style:v?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Xl=a.memo(ql);const Jl=Pe(Xl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ne?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var Kl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ql={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Zl=t=>{var e,i,n,o,l,r,s,d,{content:u,style:c,bgImg:v,recData:h,bottom_image:y,ctaTempStyles:g,isExternalLink:b,translateY:C=0}=t,p=Te(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:w}=de(),m=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=m?.cover)!==null&&i!==void 0?i:(n=m?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:w?.bottom_image)!==null&&l!==void 0?l:y;return a.createElement(ft,Object.assign({isExternalLink:b,rec:h,className:K.css(Object.assign({},c)),style:{display:"flex"}},p),a.createElement("div",{className:K.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},g?.img))},a.createElement(je,{className:K.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${C?-C+50:50}%`}),src:E})),a.createElement("div",{className:K.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:Ql["tow-line-ellipsis"],style:g?.title},(r=m?.title)!==null&&r!==void 0?r:"Product Name"),a.createElement("div",{className:K.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},g?.ctaTitle))},(d=(s=m?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&d!==void 0?d:"Shop Now")))};var es=a.memo(Zl);const ts=Pe(es,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Kl,settingRender:Ne,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ns={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const os=t=>{var e,i,n,o,l,r,s,d,{content:u,style:c,bgImg:v,recData:h,bottom_image:y,ctaTempStyles:g,isExternalLink:b,translateY:C=0}=t,p=Te(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:w}=de(),m=(e=h?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=m?.cover)!==null&&i!==void 0?i:(n=m?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:w?.bottom_image)!==null&&l!==void 0?l:y;return a.createElement(ft,Object.assign({isExternalLink:b,rec:h,className:K.css(Object.assign({},c)),style:{display:"flex"}},p),a.createElement("div",{className:K.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},g?.img))},a.createElement(je,{className:K.css({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${C?-C+50:50}%`}),src:E})),a.createElement("div",{className:K.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ns["tow-line-ellipsis"],style:g?.title},(r=m?.title)!==null&&r!==void 0?r:"Product Name"),a.createElement("div",{className:K.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},g?.ctaTitle))},(d=(s=m?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&d!==void 0?d:"Shop now")))};var ls=a.memo(os);const ss=Pe(ls,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:is,bindableProps:[],settingRender:Ne},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var as=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const rs=({children:t,isPadding:e=!0})=>a.createElement(tt,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Qn,Kn,Jn],style:{padding:e?"0 12px 0 20px":0}},t);var _t=a.memo(rs);const ds=({src:t,rec:e,item:i,index:n,style:o})=>{const l=a.useRef(null),r=Ki(l),{ctaEvent:s}=de();return a.useEffect(()=>{r&&t&&l?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[r,t,l,e,s,i,n]),a.createElement("div",{ref:l,hidden:!t,className:K.css({width:"100%",height:"100%"})},a.createElement(je,{className:K.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},o)),src:t}))};var si=a.memo(ds),cs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:h=0}=t,y=Te(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:g,setPopupDetailData:b,sxpParameter:C}=de(),{popup:p}=Ge(),{jumpToWeb:w}=Re(),[m,E]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=ge.throttle(f=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),b?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(w(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(_t,{isPadding:!!r},m?.map(f=>{var M,k,S,x,A,T,I;return a.createElement(Ue,Object.assign({hidden:r&&!f?.bindCta,key:f?.itemId,className:K.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>_(f)}),a.createElement("div",{className:K.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(x=(S=(M=f?.cover)!==null&&M!==void 0?M:(k=f?.homePage)===null||k===void 0?void 0:k[0])!==null&&S!==void 0?S:C?.bottom_image)!==null&&x!==void 0?x:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${h?-h+50:50}%`}})),a.createElement("div",{className:K.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:cs["two-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:K.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(T=f?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var ps=a.memo(us);const vs=Pe(ps,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:as,bindableProps:[],settingRender:Ne},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:4});var fs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ms={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const hs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:h=0}=t,y=Te(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:g}=de(),{ctaEvent:b,setPopupDetailData:C}=de(),{popup:p}=Ge(),[w,m]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=Re(),_=ge.throttle(f=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),C?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(E(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(_t,{isPadding:!!r},w?.map(f=>{var M,k,S,x,A,T,I;return a.createElement(Ue,Object.assign({hidden:r&&!f?.bindCta,key:f.itemId,className:K.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>_(f)}),a.createElement("div",{className:K.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(x=(S=(M=f?.cover)!==null&&M!==void 0?M:(k=f?.homePage)===null||k===void 0?void 0:k[0])!==null&&S!==void 0?S:g?.bottom_image)!==null&&x!==void 0?x:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${h?-h+50:50}%`}})),a.createElement("div",{className:K.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},a.createElement("div",{className:ms["two-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:K.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(T=f?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var gs=a.memo(hs);const bs=Pe(gs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:fs,settingRender:Ne,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:3});var ys=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ws={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ss=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:d,ctaTempStyles:u,isExternalLink:c,index:v,translateY:h=0}=t,y=Te(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:g,setPopupDetailData:b,sxpParameter:C}=de(),{popup:p}=Ge(),{jumpToWeb:w}=Re(),[m,E]=a.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=ge.throttle(f=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,f,v),b?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:f}),index:v})),c?f?.link&&(w(r,f,f.bindCta,v),window.location.href=window.getJointUtmLink(f.link)):s?.()},p?.duration);return a.createElement(_t,{isPadding:!!r},m?.map(f=>{var M,k,S,x,A,T,I;return a.createElement(Ue,Object.assign({hidden:r&&!f?.bindCta,key:f?.itemId,className:K.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>_(f)}),a.createElement("div",{className:K.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},a.createElement(si,{src:(x=(S=(M=f?.cover)!==null&&M!==void 0?M:(k=f?.homePage)===null||k===void 0?void 0:k[0])!==null&&S!==void 0?S:C?.bottom_image)!==null&&x!==void 0?x:d,rec:r,item:f,index:v,style:{objectPosition:`50% ${h?-h+50:50}%`}})),a.createElement("div",{className:K.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},a.createElement("div",{className:ws["tow-line-ellipsis"],style:u?.title},(A=f?.title)!==null&&A!==void 0?A:"Product Name"),a.createElement("div",{className:K.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(I=(T=f?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&I!==void 0?I:"Shop now")))}))};var Ts=a.memo(Ss);const xs=Pe(Ts,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:ys,bindableProps:[],settingRender:Ne},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:12,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:4});var ai,ri,Es=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:le,name:["fontFamily"],initialValue:(ai=le?.[0])===null||ai===void 0?void 0:ai.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:le,initialValue:(ri=le?.[0])===null||ri===void 0?void 0:ri.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const Cs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=de();return a.createElement("div",{className:"clc-sxp-nav",style:e},a.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),a.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Qi=a.memo(Cs),Is=null,ks="3d989325-e7d6-4a74-8a97-98febdf5b567",_s=null,Ds=null,As={info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif.",link:"www.baidu.com",linkTitle:null,linkType:"WEB"},Ps=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],Os="Handbags",Ms={productUserId:Is,requestId:ks,channel:_s,rtc:Ds,tag:As,recList:Ps,hashTag:Os};const Ls=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:d,setOpenHashtag:u,bffEventReport:c,sxpParameter:v}=de(),[h,y]=a.useState(!1),g=a.useRef(null),b=a.useRef(null),C=a.useRef(null),p=a.useRef(null),[w,m]=a.useState(""),E=a.useMemo(()=>{var S,x,A,T,I,P,j,z,H,F;return!((S=e?.video)===null||S===void 0)&&S.cover?(x=e?.video)===null||x===void 0?void 0:x.cover:!((T=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||T===void 0)&&T.length?(P=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||P===void 0?void 0:P[0]:!((z=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||z===void 0)&&z.length?(F=(H=e?.product)===null||H===void 0?void 0:H.homePage)===null||F===void 0?void 0:F[0]:v?.bottom_image||""},[e,v?.bottom_image]),_=a.useMemo(()=>{var S,x;return((S=e?.product)===null||S===void 0?void 0:S.title)||((x=e?.video)===null||x===void 0?void 0:x.title)||null},[e]),f=a.useMemo(()=>{var S,x,A,T,I,P,j,z,H;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((x=e?.product)===null||x===void 0)&&x.price)?`${(P=(I=(T=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||T===void 0?void 0:T.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&P!==void 0?P:""}${(H=(z=(j=e?.product)===null||j===void 0?void 0:j.price)===null||z===void 0?void 0:z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&H!==void 0?H:""}`:null},[e]);a.useEffect(()=>{const S=new IntersectionObserver(x=>{x.forEach(A=>{if(A.isIntersecting){if(b.current===null||E==="")return;h&&w?g.current.setSrc(w):g.current.setSrc(E),S.unobserve(b.current)}})});return S.observe(b.current),()=>{S.disconnect()}},[E,h,w]);const M=(S,x,A)=>{const T=S/x;return A/T};a.useEffect(()=>{const S=C?.current;S===null||E===""||!h||(S.src=E,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const x=p?.current;if(!x)return;const A=x.getContext("2d"),T=window?.innerWidth/2,I=M(S.videoWidth,S.videoHeight,T);x.height=I,x.width=T,A?.drawImage(S,0,0,x.width,x.height),m(x.toDataURL()),S.remove(),x.remove()})},[E,h]);const k=()=>{o(),d?.(n),setTimeout(()=>{var S;(S=s?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),u?.(!1)},0)};return a.createElement("div",{ref:b,className:"list-content-listItem",key:i,onClick:k,style:{marginBottom:r}},a.createElement("div",{className:"list-content-listItem-picture"},h&&a.createElement("div",{style:{display:"none"}},a.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),a.createElement("canvas",{ref:p})),a.createElement(je,{loading:"lazy",className:"list-content-listItem-picture-img",ref:g})),a.createElement("div",{className:"list-content-listItem-info"},a.createElement("div",{className:`list-content-listItem-info-title ${f?"list-content-listItem-info-nowrap":""}`,style:l?.title},_&&_),a.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!f},f)))};function js(t){var e,i,n,o,l,r,s,d,u,c,v,h,{reportTagsView:y}=t,g=Te(t,["reportTagsView"]);const{waterFallData:b,getRecommendVideos:C,hashTagSize:p,loadingImage:w,isOpenHashTag:m}=de(),[E,_]=a.useState(),[f,M]=a.useState(),[k,S]=a.useState(!1),x=a.useRef(null),[A,T]=a.useState(!1);a.useCallback(()=>{A||(T(!0),b&&C?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType}).then(P=>{var j;_(E?.concat((j=P?.recList)!==null&&j!==void 0?j:[])),T(!1)}))},[b,C,E,A]),a.useEffect(()=>{var P,j;if(S(!0),b&&C?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType,defaultSize:p,maxSize:p}).then(z=>{var H,F;M(z),_((F=(H=z?.recList)===null||H===void 0?void 0:H.filter(N=>N?.video!==null||N?.product!==null))!==null&&F!==void 0?F:[]),S(!1)}),m){const z=Ms;M(z),_((j=(P=z?.recList)===null||P===void 0?void 0:P.filter(H=>H?.video!==null||H?.product!==null))!==null&&j!==void 0?j:[]),S(!1)}},[b,C,p,m]);const I=()=>{var P,j;!((P=f?.tag)===null||P===void 0)&&P.link&&(y(),window.location.href=(j=f?.tag)===null||j===void 0?void 0:j.link)};return a.createElement(a.Fragment,null,k?a.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:w,alt:"loading...",style:{objectFit:"contain"}})):a.createElement("div",{className:"list"},a.createElement("div",{className:"list-scroll",ref:x},a.createElement("div",{className:"list-info",style:(e=g?.textStyles)===null||e===void 0?void 0:e.hashTagDesc},(i=f?.tag)===null||i===void 0?void 0:i.info),a.createElement("div",{hidden:!(!((n=f?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:I,style:Object.assign(Object.assign({},(o=g?.textStyles)===null||o===void 0?void 0:o.hashTagLink),{marginBottom:g?.space})},((l=f?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),a.createElement("div",{className:"list-content"},E?.map((P,j)=>a.createElement(Ls,Object.assign({key:j,index:j,rec:P,list:E,reportTagsView:y},g)))),a.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading..."),a.createElement("div",{hidden:!(!((r=f?.tag)===null||r===void 0)&&r.link),style:{height:!((s=f?.tag)===null||s===void 0)&&s.link?((d=g?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((u=g?.buttonStyle)===null||u===void 0?void 0:u.height)||"100px":0}})),a.createElement("div",{className:"list-bottom",hidden:!(!((c=f?.tag)===null||c===void 0)&&c.link),style:g?.buttonBgStyle}),a.createElement("div",{hidden:!(!((v=f?.tag)===null||v===void 0)&&v.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},g?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},a.createElement("button",{className:"list-btn",style:g?.buttonStyle,onClick:I},((h=f?.tag)===null||h===void 0?void 0:h.linkTitle)||"Shop the collection"))))}var Ns="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const Bs=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:d,cacheActiveIndex:u,rtcList:c,setCacheRtcList:v,setIsFromHashtag:h,isFromHashtag:y,bffEventReport:g}=de();a.useRef(null);const b=a.useRef(null),[C,p]=a.useState();a.useEffect(()=>{const f=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?b.current=M:(b.current=document.createElement("div"),b.current.setAttribute("id","water-fall"),f?.appendChild(b.current))},[]);const w=()=>{const f=ge.isEqual(c,s);!f&&s&&s?.length&&d?.(s),_(),r?.(void 0),h?.(!1),setTimeout(()=>{var M,k;f||(k=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||k===void 0||k.slideTo(u,0,!1),n?.(!1)},0)},[m,E]=a.useState();a.useEffect(()=>{i&&E(i)},[i]);const _=a.useCallback(()=>{var f,M,k,S,x,A;const T=m?.rec;if(!T)return;let I="";y?I="hashTagPage":!((f=T?.video)===null||f===void 0)&&f.url?I="videoPage":!((k=(M=T?.video)===null||M===void 0?void 0:M.imgUrls)===null||k===void 0)&&k.length&&(I="imagePage"),g?.({eventInfo:{contentId:(S=T?.video)===null||S===void 0?void 0:S.itemId,position:u+"",contentTags:JSON.stringify((x=T?.video)===null||x===void 0?void 0:x.tags),traceInfo:(A=T?.video)===null||A===void 0?void 0:A.traceInfo,hashTags:JSON.stringify([m?.hashTag]),fromKName:I,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[m,g,C,y,u]);return a.useEffect(()=>{o&&p(new Date)},[o]),a.useEffect(()=>{const f=()=>{p(new Date)};return window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),b.current?mi.createPortal(a.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},a.createElement(Qi,{icon:Ns,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:w}),a.createElement(js,Object.assign({reportTagsView:_},t))),b.current):null};var Zi=a.memo(Bs);const Rs=t=>a.createElement(Zi,Object.assign({},t));var zs=a.memo(Rs);const Vs=Pe(zs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Es,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var di=Object.freeze({__proto__:null,Appoint:Wl,AppointForm:Vn,Commodity:Hl,CommodityDetail:Il,CommodityDetailDiroNew:Nl,CommodityDiro:ts,CommodityDiroNew:ss,HashTag:Vs,Link:Jl,MultiCommodity:bs,MultiCommodityDiro:vs,MultiCommodityDiroNew:xs,Prompt:Ol});const Fs="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Hs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Us=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=Te(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:d,bffEventReport:u}=de(),[c,v]=a.useState(e),h=Me(Hs),y=Me(Fs),g=ge.debounce(()=>Ie(void 0,void 0,void 0,function*(){var b,C,p,w,m,E,_,f,M,k,S,x,A,T,I,P,j,z,H,F;if(c){v(!1);const N=(p=yield d?.({videoItemId:(C=(b=o?.video)===null||b===void 0?void 0:b.itemId)!==null&&C!==void 0?C:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(m=(w=o?.video)===null||w===void 0?void 0:w.itemId)!==null&&m!==void 0?m:"",contentName:(_=(E=o?.video)===null||E===void 0?void 0:E.title)!==null&&_!==void 0?_:"",contentTags:JSON.stringify((M=(f=o?.video)===null||f===void 0?void 0:f.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((k=o?.video)===null||k===void 0)&&k.url?"video":"image",traceInfo:(S=o?.video)===null||S===void 0?void 0:S.traceInfo}}),N||v(!0)}else{v(!0);const N=(x=yield s?.({content:JSON.stringify(o)}))!==null&&x!==void 0?x:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(T=(A=o?.video)===null||A===void 0?void 0:A.itemId)!==null&&T!==void 0?T:"",contentName:(P=(I=o?.video)===null||I===void 0?void 0:I.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((z=(j=o?.video)===null||j===void 0?void 0:j.tags)!==null&&z!==void 0?z:[]),position:l+"",contentFormat:!((H=o?.video)===null||H===void 0)&&H.url?"video":"image",traceInfo:(F=o?.video)===null||F===void 0?void 0:F.traceInfo}}),N||v(!1)}}),200);return a.createElement("button",Object.assign({},r,{onClick:g}),a.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||h:n||y,alt:"icon"}))};var en=a.memo(Us);const Gs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[d,u]=a.useState(!1),{bffEventReport:c,sxpParameter:v,waterFallData:h,openHashtag:y,bffFbReport:g}=de(),b=a.useRef(0),[C,p]=a.useState(!1),[w,m]=a.useState(!0),{isActive:E}=Xi(),_=a.useRef(null),[f,M]=a.useState(""),k=`pb-cache-video-${e}`,S=a.useRef(null),x=a.useMemo(()=>r?.mode==="2",[r]),A=a.useMemo(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),T=a.useMemo(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||f},[f,t]),I=a.useMemo(()=>x?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[x]),P=a.useMemo(()=>r?.bgWay==="1",[r]),j=a.useMemo(()=>P&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,P]);a.useEffect(()=>{s&&s?.muted(o)},[o,s]);const z=a.useCallback(()=>{s&&s?.play()},[s]),H=Me("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),F=a.useCallback(()=>{var R,W,oe,ee,te,ae,$,se,q;if(!s)return;p(!0),u(!1);const J=n[e];if(J&&s?.duration()){b.current=s?.currentTime()||0;const he=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2),U=w?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ee=(oe=J?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&ee!==void 0?ee:"",contentName:(ae=(te=J?.video)===null||te===void 0?void 0:te.title)!==null&&ae!==void 0?ae:"",playType:U,startTime:V,videoDuration:he,contentTags:JSON.stringify((se=($=J?.video)===null||$===void 0?void 0:$.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(q=J?.video)===null||q===void 0?void 0:q.traceInfo}}),m(!1)}},[c,n,e,w,s]),N=a.useCallback(()=>{var R;if(!s||f||!x)return;const W=document.getElementById("player-container-id_html5_api");if(!W||(W.style.objectFit="contain",!((R=t?.video)===null||R===void 0)&&R.cover||!_||!_.current||P))return;const oe=()=>{const ee=W,te=_?.current,ae=te.getContext("2d"),$=window?.innerWidth,se=window?.innerHeight;te.height=se,te.width=$,ae?.drawImage(ee,0,0,te.width,te.height),M(te.toDataURL())};oe(),setTimeout(()=>{oe()},500)},[s,P,t,f,x]),B=a.useCallback(()=>{s&&N()},[s,N]);a.useCallback(()=>{p(!0)},[]);const L=a.useCallback(R=>()=>{if(!s||!C)return;const W=s?.paused();switch(R){case"start":if(!W)return;s?.play(),u(!1);break;case"pause":if(W)return;s?.pause(),u(!0);break;default:W?s?.play():s?.pause(),u(!W);break}},[C,s]),D=a.useCallback(()=>{var R,W,oe,ee,te,ae,$,se,q;if(!s||l!==e)return;const J=n[e],he=((R=s?.duration())!==null&&R!==void 0?R:0).toFixed(2),V=((W=s?.currentTime())!==null&&W!==void 0?W:0).toFixed(2);if(s?.duration()){const U=(s?.currentTime()-b.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ee=(oe=J?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&ee!==void 0?ee:"",contentName:(ae=(te=J?.video)===null||te===void 0?void 0:te.title)!==null&&ae!==void 0?ae:"",endTime:V,videoDuration:he,playDuration:U,contentTags:JSON.stringify((se=($=J?.video)===null||$===void 0?void 0:$.tags)!==null&&se!==void 0?se:[]),position:e+"",contentFormat:"video",traceInfo:(q=J?.video)===null||q===void 0?void 0:q.traceInfo}})}},[n,e,c,s,l]);a.useEffect(()=>{if(!E||!s)return;const R=t?.video.url;if(!R)return;s?.src(R),u(!1);const W=document.querySelector(`#${k}`),oe=document.querySelector("#player-container-id"),ee=document.querySelector("#player-container-id-copy");if(!(!oe&&!ee))return W?.appendChild(oe||ee),s?.on("loadedmetadata",B),s?.on("loadeddata",N),s?.on("playing",F),s?.on("pause",D),s?.on("ended",z),()=>{ee?.appendChild(oe),s?.off("loadedmetadata",B),s?.off("loadeddata",N),s?.off("playing",F),s?.off("pause",D),s?.off("ended",z)}},[E,k,t,s]),a.useEffect(()=>{!s||!C||(E?(g?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[E,C,s]),a.useEffect(()=>{if(!E||!s)return;!s?.paused()&&y?s?.pause():y||s?.play()},[y,E,s]),a.useEffect(()=>{if(!E)return;const R=()=>{L("start")(),g?.({eventName:"ViewContent"})},W=L("pause");return $e.on(Be.PAGE_DID_SHOW,R),$e.on(Be.PAGE_DID_HIDE,W),()=>{$e.off(Be.PAGE_DID_SHOW,R),$e.off(Be.PAGE_DID_HIDE,W)}},[L,E]);const G=a.useMemo(()=>!v?.placeholder_image||C?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:v?.placeholder_image}),[C,v?.placeholder_image]);return a.useEffect(()=>{if(!s)return;const R=()=>{var W;l===e&&(!((W=t?.video)===null||W===void 0)&&W.url)&&s&&!d&&L("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,s,L,d]),t?.video?a.createElement(a.Fragment,null,x?a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},j)},!P&&a.createElement(je,{src:T,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},I)}),a.createElement("canvas",{ref:_,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},a.createElement("div",{className:"n-full-screen",ref:S,id:k,style:{width:"100%",height:"100%"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:H}))),G):a.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},a.createElement("div",{className:"n-full-screen",ref:S,id:k,style:{width:"100%",height:"100%"}}),G,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:H}))):null};var $s=a.memo(Gs);const Ws=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=a.useState(t),s=d=>{d.stopPropagation();const u=!l;r(u),n?.(u)};return a.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},a.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var tn=a.memo(Ws);const Ys=({imageUrl:t,style:e})=>{const[i,n]=a.useState(!0);Ge(),a.useEffect(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=Me("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=a.useMemo(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return a.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},a.createElement("img",{src:t||o}))},nn=t=>{const{src:e,height:i,imgUrlsPostConfig:n}=t,o=a.useMemo(()=>n?.mode==="2",[n]),l=a.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),r=a.useMemo(()=>o?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[o]),s=a.useMemo(()=>n?.bgWay==="1",[n]),d=a.useMemo(()=>s&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,s]);return a.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},d)},(!o||!s)&&a.createElement(je,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},r)}),o&&a.createElement(je,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:l,left:0,right:0}}))},qs=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var d;const u=a.useRef(),{isActive:c}=Xi(),{sxpParameter:v,openHashtag:h}=de(),[y,g]=a.useState(!1);return a.useEffect(()=>{y&&c?(u?.current&&u.current.swiper.autoplay.start(),h?l(n):r(o)):(g(!0),u?.current&&u.current.swiper.autoplay.stop())},[n,c,l,h,o,r,y]),a.createElement(tt,{ref:u,defaultValue:0,direction:"horizontal",modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((d=s?.delay)!==null&&d!==void 0?d:3)*1e3}},t?.map(b=>a.createElement(Ue,{key:b},a.createElement(nn,{src:b,height:i,imgUrlsPostConfig:s}))))};var Xs=a.memo(qs);const Js=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=a.useState(!1),{setWaterFallData:d,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:v,setIsFromHashtag:h}=de(),y=g=>{v?h?.(!0):c?.(n),d?.(i?{hashTag:g,itemId:e,itemType:i,rec:o}:{hashTag:g,rec:o}),u?.(!0)};return a.useMemo(()=>t.length<=6?null:a.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),a.createElement("div",{className:"clc-sxp-bottom-hashtag"},a.createElement(_t,null,t?.map((g,b)=>a.createElement(Ue,{key:b,hidden:r?!1:b>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>y(g)},`#${g}`))))};var on=a.memo(Js),Ks="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Dt(t){return a.memo(function(e){const{$store:i}=In(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const v=ge.get(i,c);return r=r.replace(d,v),v}})}),r},o=a.useMemo(()=>{var l,r,s;const{bindDatas:d}=e,u=Te(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:v,dataPath:h}=c;h.replace(/{{\s*([\w.]+)\s*}}/g,(y,g)=>{var b,C;if(g){const p=(C=(b=ge.get(i,g))!==null&&b!==void 0?b:e[v])!==null&&C!==void 0?C:"";return u[v]=p,p}})}}),u){u.eventMap={};const c=ge.cloneDeep(u.event)||{};for(const v in c)if(Object.prototype.hasOwnProperty.call(c,v))try{c[v].value=n(c[v].value),u.eventMap[v]=new Function(c[v].value)}catch{}}return!((s=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(u.style.cursor="pointer"),u},[i,e]);return a.createElement(t,Object.assign({},o,o.eventMap))})}const Qs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Ge(),l=a.useMemo(()=>{var r,s,d,u,c,v,h,y,g,b,C,p,w,m,E,_,f,M,k,S,x,A,T,I,P,j,z,H,F,N,B;if(!t?.video)return null;let L=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?L="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.bindProduct?L="\u5546\u54C1CTA":L=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const D=i?.[L];if(((v=D?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((h=t?.video)===null||h===void 0)&&h.bindProduct)||((y=D?.item)===null||y===void 0?void 0:y.type)==="Commodity"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((b=D?.item)===null||b===void 0?void 0:b.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((p=D?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((m=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||m===void 0)&&m.length)||((E=D?.item)===null||E===void 0?void 0:E.type)==="MultiCommodityDiro"&&!(!((f=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||f===void 0)&&f.length)||((M=D?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((S=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||S===void 0)&&S.length))return null;if(D&&n){const G=n[(x=D?.item)===null||x===void 0?void 0:x.type],R=Dt(G),W=(A=G?.extend)===null||A===void 0?void 0:A.defaulSetting,oe=((P=(I=(T=D?.item)===null||T===void 0?void 0:T.event)===null||I===void 0?void 0:I.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return a.createElement(R,Object.assign({style:Object.assign(Object.assign(Object.assign({},W?.style),(j=D?.item)===null||j===void 0?void 0:j.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},W?.textStyle),(z=D?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(H=D?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},W?.props,(N=D?.item)===null||N===void 0?void 0:N.props,{event:((B=D?.item)===null||B===void 0?void 0:B.event)||{},schema:o,id:D?.id,key:D?.id,recData:t,isExternalLink:oe,index:e}))}else return null},[t,n,i,o]);return a.createElement(a.Fragment,null,l)};var ln=a.memo(Qs);const sn=({nudge:t})=>{var e,i,n,o,l,r,s;return a.createElement(a.Fragment,null,t?.isOpen&&a.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?a.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,a.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},ci="FOR U",Zs=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=a.useState(ci),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:d,swiperRef:u,waterFallData:c}=de(),v=a.useMemo(()=>[ci,...t],[t]),h=y=>()=>{if(y===i)return;let g;y!==ci&&(g=y),d?.(!0),o?.({themeTag:g}).then(b=>{var C,p,w,m;$e.emit(Be.CHANGE_THEME_TAG,g),l?.((C=b?.recList)!==null&&C!==void 0?C:[]),r?.((p=b?.recList)!==null&&p!==void 0?p:[]),e?.(0),s?.(0),(m=(w=u?.current)===null||w===void 0?void 0:w.swiper)===null||m===void 0||m.slideTo(0)}).finally(()=>{d?.(!1)}),n(y)};return c||t.length<=0?null:a.createElement("div",{className:"clc-sxp-tagbar"},a.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},v.map(y=>a.createElement("li",{className:`clc-sxp-tagbar-list-item ${y===i?"clc-sxp-tagbar-list-item-active":""}`,key:y,onClick:h(y)},y))))};var an=a.memo(Zs);const rn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:d,nudge:u,_schema:c,hashTagStyle:v,tagList:h=[],licenseUrl:y})=>{var g,b,C,p,w,m,E,_,f,M;const{schema:k}=Ge(),[S,x]=a.useState(0),A=a.useRef(0),[T,I]=a.useState(!1),[P,j]=a.useState(!0),z=a.useRef(),H=a.useRef(),[F,N]=a.useState(!1),[B,L]=a.useState(!1),{loadVideos:D,bffEventReport:G,loading:R,setPopupDetailData:W,ctaEvent:oe,swiperRef:ee,waterFallData:te,setOpenHashtag:ae,appDomain:$,openHashtag:se,loadingImage:q,isFromHashtag:J,popupDetailData:he,bffFbReport:V}=de(),[U,ne]=a.useState(null),me=a.useRef(),{productView:fe}=Re(),Se=a.useMemo(()=>r.length>0&&!R&&An(),[r,R]),ue=a.useCallback(()=>{if(r.length<=0)return;_e();const O=location.search.slice(1),Q=fi.parse(O.replace(/\+/g,"%2B"));for(const Z in Q)Q[Z]=Q[Z].replace(/%2B/g,"+");const Y=Z=>{var re;return(re=Q[Z])!==null&&re!==void 0?re:""};G?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:Y("utm_source"),utmMedium:Y("utm_medium"),utmCampaign:Y("utm_campaign"),utmId:Y("utm_id"),utmContent:Y("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),V?.({eventName:"PageView"}),I(!0)},[G,r.length,V]),_e=()=>{z.current=new Date,H.current=new Date,_n()},Ve=a.useRef();a.useEffect(()=>{var O,Q,Y;if(!Ve.current&&!U&&me?.current&&r?.length>0){Ve.current=!0;const Z=TCPlayer("player-container-id",{licenseUrl:y,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:[{src:(Y=(Q=(O=r?.[0])===null||O===void 0?void 0:O.video)===null||Q===void 0?void 0:Q.url)!==null&&Y!==void 0?Y:""}]});Z?.ready(()=>{ne(Z)})}},[U,y,r]),a.useEffect(()=>{T||ue()},[ue,T]),a.useEffect(()=>{var O;const Q=r?.findIndex(Y=>{var Z,re,ce,X,ie,ve,Ee,Ce,pe;return s==="\u591A\u5546\u54C1CTA"?((Z=Y?.video)===null||Z===void 0?void 0:Z.bindProducts)&&((ce=(re=Y?.video)===null||re===void 0?void 0:re.bindProducts)===null||ce===void 0?void 0:ce.length)>0:s==="\u5546\u54C1CTA"?(X=Y?.video)===null||X===void 0?void 0:X.bindProduct:((ve=(ie=Y?.video)===null||ie===void 0?void 0:ie.bindCta)===null||ve===void 0?void 0:ve.itemId)===s&&(((Ee=Y?.video)===null||Ee===void 0?void 0:Ee.url)||((pe=(Ce=Y?.video)===null||Ce===void 0?void 0:Ce.imgUrls)===null||pe===void 0?void 0:pe.length))})||0;(O=ee?.current)===null||O===void 0||O.swiper.slideTo(Q)},[s,ee]),a.useEffect(()=>{const O=r?.[S],Q=()=>{var Y,Z,re,ce,X,ie,ve,Ee,Ce,pe,ye,Ke,Qe,Ze,qe,ut;if(document.visibilityState==="hidden"){$e.emit(Be.PAGE_DID_HIDE,O),be(O),Ye(O);let we="";he&&(!((Z=(Y=O?.video)===null||Y===void 0?void 0:Y.bindProducts)===null||Z===void 0)&&Z.length||!((re=O?.video)===null||re===void 0)&&re.bindProduct)?we="pdpPage":he&&((ve=o?.[(ie=(X=(ce=O?.video)===null||ce===void 0?void 0:ce.bindCta)===null||X===void 0?void 0:X.itemId)!==null&&ie!==void 0?ie:""].item)===null||ve===void 0?void 0:ve.type)==="Appoint"?we="formPage":J?we="hashTagPage":!((Ee=O?.video)===null||Ee===void 0)&&Ee.url?we="videoPage":!((Ce=O?.video)===null||Ce===void 0)&&Ce.imgUrls&&(!((ye=(pe=O?.video)===null||pe===void 0?void 0:pe.imgUrls)===null||ye===void 0)&&ye.length)?we="imagePage":O?.product&&(we="productPage"),G?.({eventInfo:{sessionDuration:Math.floor((new Date-z.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Ke=O?.video)===null||Ke===void 0?void 0:Ke.itemId,productId:(Qe=O?.product)===null||Qe===void 0?void 0:Qe.itemId,position:S+"",fromKName:we,fromKPage:location?.href,ctatId:(ut=(qe=(Ze=O?.video)===null||Ze===void 0?void 0:Ze.bindCta)===null||qe===void 0?void 0:qe.itemId)!==null&&ut!==void 0?ut:""}})}else document.visibilityState==="visible"&&(ue(),vi(S),$e.emit(Be.PAGE_DID_SHOW,O))};return document.addEventListener("visibilitychange",Q),()=>{document.removeEventListener("visibilitychange",Q)}},[S,G,z,r,ue,he,J,o]);const De=a.useMemo(()=>{let O=0;return t?.logoUrl&&t?.isShowLogo&&(O+=45),h.length>0&&(O+=45,te&&(O-=45)),i-O},[t,i,h,te]),rt=a.useMemo(()=>t?.logoUrl&&t?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},a.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),it=a.useCallback((O,Q)=>{var Y,Z,re,ce;return!((Y=O?.video)===null||Y===void 0)&&Y.url?a.createElement($s,{rec:O,index:Q,muted:P,data:r,height:De,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:U}):!((Z=O?.video)===null||Z===void 0)&&Z.imgUrls?a.createElement(Xs,{key:O?.video.itemId,imgUrls:O?.video.imgUrls,width:n,height:De,rec:O,index:Q,onReportViewImageEnd:be,onViewImageStartEvent:vi,imgUrlsPostConfig:t?.imgUrlsPost}):O.product&&Array.isArray(t?.productPost)&&((re=t?.productPost)===null||re===void 0?void 0:re.length)>0?(ce=t?.productPost)===null||ce===void 0?void 0:ce.map((X,ie)=>{var ve,Ee,Ce,pe,ye,Ke,Qe,Ze;const qe=l[(ve=X?.item)===null||ve===void 0?void 0:ve.type],ut=Dt(qe),we=(Ee=qe?.extend)===null||Ee===void 0?void 0:Ee.defaulSetting;return a.createElement(ut,Object.assign({key:`${Q}${ie}`,textStyle:Object.assign(Object.assign({},we?.textStyle),(Ce=X?.item)===null||Ce===void 0?void 0:Ce.textStyle),bindDatas:(ye=(pe=X?.item)===null||pe===void 0?void 0:pe.bindDatas)!==null&&ye!==void 0?ye:[]},we?.props,(Ke=X?.item)===null||Ke===void 0?void 0:Ke.props,{event:((Qe=X?.item)===null||Qe===void 0?void 0:Qe.event)||{},schema:k,id:X?.id,viewTime:H.current,rec:O,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},we?.style),(Ze=X?.item)===null||Ze===void 0?void 0:Ze.style),{height:"100%",overflow:"auto"}),index:Q}))}):null},[n,r,De,P,S,t?.productPost,H,d,l,k,U]),nt=a.useCallback(O=>{L(O)},[]),dt=a.useMemo(()=>B?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[B]),ot=a.useCallback((O,Q)=>{var Y,Z,re,ce,X,ie,ve;return O?.video?a.createElement(a.Fragment,null,((Y=O?.video)===null||Y===void 0?void 0:Y.title)&&!B&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(sn,{nudge:u}),t?.isShowCTA===void 0||t?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(ln,{rec:O,index:Q,tempMap:o,resolver:l})):null,a.createElement("div",null,a.createElement(kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(re=(Z=O?.video)===null||Z===void 0?void 0:Z.title)!==null&&re!==void 0?re:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:nt}),a.createElement(on,{index:S,tags:(X=(ce=O?.video)===null||ce===void 0?void 0:ce.hashTags)!==null&&X!==void 0?X:[],itemId:(ie=O?.video)===null||ie===void 0?void 0:ie.itemId,itemType:!((ve=O?.video)===null||ve===void 0)&&ve.itemId?"VIDEO":null,rec:O,hashTagStyle:v})))):null},[e,S,o,l,d,u,v,t,nt,B,dt]),ct=a.useCallback((O,Q)=>{var Y,Z,re,ce;if(!t?.isShowLike)return;let X=(Y=t?.likeIconY)!==null&&Y!==void 0?Y:400;return te&&X<40&&(X+=40),O?.video?a.createElement(en,{key:O.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:O.isCollected,recData:O,className:"clc-sxp-like-button",style:{[(Z=t.likeIconXPosit)!==null&&Z!==void 0?Z:"right"]:(re=t.likeIconX)!==null&&re!==void 0?re:0,[(ce=t.likeIconYPosit)!==null&&ce!==void 0?ce:"bottom"]:X},position:Q}):null},[t,te]),be=O=>{var Q,Y,Z,re,ce,X;if(!(!((Q=O?.video)===null||Q===void 0)&&Q.url)&&(!((Y=O?.video)===null||Y===void 0)&&Y.imgUrls)){const ie=Date.now(),ve=(ie-A.current)/1e3;G?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(re=(Z=O?.video)===null||Z===void 0?void 0:Z.itemId)!==null&&re!==void 0?re:"",contentName:(ce=O?.video.title)!==null&&ce!==void 0?ce:"",imageEndTime:`${ie}`,playDuration:`${ve}`,contentTags:JSON.stringify((X=O?.video.tags)!==null&&X!==void 0?X:[]),position:S+"",contentFormat:"image",traceInfo:O?.video.traceInfo}})}},At=O=>{var Q,Y,Z,re,ce,X,ie,ve,Ee,Ce;H.current=new Date;const pe=r[O.previousIndex];if(!pe)return;O.previousIndex-O.activeIndex<0?(G?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(Y=(Q=pe?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&Y!==void 0?Y:"",productId:(re=(Z=pe?.product)===null||Z===void 0?void 0:Z.itemId)!==null&&re!==void 0?re:"",requestId:null}}),be(pe)):(G?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(X=(ce=pe?.video)===null||ce===void 0?void 0:ce.itemId)!==null&&X!==void 0?X:"",productId:(ve=(ie=pe.product)===null||ie===void 0?void 0:ie.itemId)!==null&&ve!==void 0?ve:"",requestId:null}}),be(pe)),Ye(pe);const ye=r[O.activeIndex];!(!((Ee=ye?.video)===null||Ee===void 0)&&Ee.url)&&!(!((Ce=ye?.video)===null||Ce===void 0)&&Ce.imgUrls)&&ye?.product&&V?.({eventName:"ProductView"})},Ye=O=>{var Q,Y,Z;!(!((Q=O?.video)===null||Q===void 0)&&Q.url)&&!(!((Y=O?.video)===null||Y===void 0)&&Y.imgUrls)&&O?.product&&fe(O,O.product,(Z=O?.product)===null||Z===void 0?void 0:Z.bindCta,H.current,S)};a.useEffect(()=>{const O=r[S];se&&Ye(O)},[se,r,S]);const vi=O=>{var Q,Y,Z,re,ce,X;const ie=r[O];if(!(!((Q=ie?.video)===null||Q===void 0)&&Q.url)&&(!((Y=ie?.video)===null||Y===void 0)&&Y.imgUrls)){const ve=Date.now();A.current=ve,G?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(re=(Z=ie?.video)===null||Z===void 0?void 0:Z.itemId)!==null&&re!==void 0?re:"",contentName:(ce=ie?.video.title)!==null&&ce!==void 0?ce:"",imageStartTime:`${ve}`,contentTags:JSON.stringify((X=ie?.video.tags)!==null&&X!==void 0?X:[]),position:O+"",contentFormat:"image",traceInfo:ie?.video.traceInfo}}),V?.({eventName:"ViewContent"})}},mt=a.useMemo(()=>{const O=r?.map((Q,Y)=>S===Y||Y-1===S||Y+1===S?Q:null);return te?O:O.concat([{loading:!0}])},[r,S,te]),cn=a.useMemo(()=>R?a.createElement("div",{style:{height:De,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):mt?.map((O,Q)=>a.createElement(Ue,{key:Q,virtualIndex:Q},O&&a.createElement(a.Fragment,null,O?.loading?a.createElement("div",{style:{height:De,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},a.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):a.createElement(a.Fragment,null,it(O,Q),ot(O,Q),ct(O,Q))))),[n,r,De,R,ot,it,mt,q]),un=Me("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),pn=Me("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return a.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},te&&a.createElement(Qi,{icon:Ks,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{ae?.(!0)}}),rt,a.createElement(an,{tagList:h,setActiveIndex:x}),Se?a.createElement(Ys,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((g=t?.swipeTipOffset)!==null&&g!==void 0?g:0)}%`}}):null,a.createElement(tt,{ref:ee,onSlideChange:()=>{ee.current.swiper.allowTouchMove=!1,setTimeout(()=>{ee.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:O=>{x(O.activeIndex),!se&&(At(O),!te&&O?.activeIndex+2>=r?.length&&(F||(N(!0),D?.(Math.ceil(S/10)+1).then(()=>{N(!1)}))))},direction:"vertical",height:De},a.createElement(tn,{style:{position:"fixed",visibility:!((C=(b=r?.[S])===null||b===void 0?void 0:b.video)===null||C===void 0)&&C.url?"visible":"hidden",zIndex:999,[(p=t?.muteIconXPosit)!==null&&p!==void 0?p:"right"]:(w=t?.muteIconX)!==null&&w!==void 0?w:0,[(m=t?.muteIconYPosit)!==null&&m!==void 0?m:"bottom"]:(E=t?.muteIconY)!==null&&E!==void 0?E:23},defaultValue:P,activeIcon:t?.unMuteIcon?t?.unMuteIcon:un,unactiveIcon:t?.muteIcon?t?.muteIcon:pn,onChange:j}),cn),a.createElement(Zi,Object.assign({},(M=(f=(_=t?.hashTag)===null||_===void 0?void 0:_[0])===null||f===void 0?void 0:f.item)===null||M===void 0?void 0:M.props)),a.createElement("div",{style:{position:"absolute",zIndex:-100}},a.createElement("video",{ref:me,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),a.createElement("div",{id:"player-container-id-copy"})))},ea=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>a.createElement(tt,{defaultValue:0,direction:"horizontal",modules:[Tt,xt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>a.createElement(Ue,{key:r},a.createElement(nn,{src:r,height:i,imgUrlsPostConfig:n}))));var ta=a.memo(ea);const ia=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[d,u]=a.useState(!1),c=a.useRef(null),{bffEventReport:v,sxpParameter:h,waterFallData:y,openHashtag:g}=de(),b=a.useRef(0),[C,p]=a.useState(!1),[w,m]=a.useState(!0),E=a.useRef(null),[_,f]=a.useState("");a.useEffect(()=>{c.current&&(c.current.muted=o)},[o]);const M=a.useCallback(()=>{var N;(N=c.current)===null||N===void 0||N.play()},[]),k=Me("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=a.useCallback(()=>{var N,B,L,D,G,R,W,oe,ee,te,ae,$,se;u(!1);const q=n[e];if(q&&(!((N=c?.current)===null||N===void 0)&&N.duration)){b.current=((B=c?.current)===null||B===void 0?void 0:B.currentTime)||0;const J=((D=(L=c.current)===null||L===void 0?void 0:L.duration)!==null&&D!==void 0?D:0).toFixed(2),he=((R=(G=c.current)===null||G===void 0?void 0:G.currentTime)!==null&&R!==void 0?R:0).toFixed(2),V=w?"0":"1";v?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(oe=(W=q?.video)===null||W===void 0?void 0:W.itemId)!==null&&oe!==void 0?oe:"",contentName:(te=(ee=q?.video)===null||ee===void 0?void 0:ee.title)!==null&&te!==void 0?te:"",playType:V,startTime:he,videoDuration:J,contentTags:JSON.stringify(($=(ae=q?.video)===null||ae===void 0?void 0:ae.tags)!==null&&$!==void 0?$:[]),position:e+"",contentFormat:"video",traceInfo:(se=q?.video)===null||se===void 0?void 0:se.traceInfo}}),m(!1)}},[v,n,e,w]),x=a.useCallback(()=>{p(!0)},[]),A=a.useCallback(N=>()=>{var B,L,D,G,R;if(!C)return;const W=(B=c.current)===null||B===void 0?void 0:B.paused;switch(N){case"start":if(!W)return;(L=c.current)===null||L===void 0||L.play(),u(!1);break;case"pause":if(W)return;(D=c.current)===null||D===void 0||D.pause(),u(!0);break;default:W?(G=c.current)===null||G===void 0||G.play():(R=c.current)===null||R===void 0||R.pause(),u(!W);break}},[C]),T=a.useCallback(()=>{var N,B,L,D,G,R,W,oe,ee,te,ae,$,se;const q=n[e],J=((B=(N=c.current)===null||N===void 0?void 0:N.duration)!==null&&B!==void 0?B:0).toFixed(2),he=((D=(L=c.current)===null||L===void 0?void 0:L.currentTime)!==null&&D!==void 0?D:0).toFixed(2);if(!((G=c?.current)===null||G===void 0)&&G.duration){const V=(((R=c?.current)===null||R===void 0?void 0:R.currentTime)-b.current).toFixed(2);v?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(oe=(W=q?.video)===null||W===void 0?void 0:W.itemId)!==null&&oe!==void 0?oe:"",contentName:(te=(ee=q?.video)===null||ee===void 0?void 0:ee.title)!==null&&te!==void 0?te:"",endTime:he,videoDuration:J,playDuration:V,contentTags:JSON.stringify(($=(ae=q?.video)===null||ae===void 0?void 0:ae.tags)!==null&&$!==void 0?$:[]),position:e+"",contentFormat:"video",traceInfo:(se=q?.video)===null||se===void 0?void 0:se.traceInfo}})}},[n,e,v]),I=a.useMemo(()=>r?.mode==="2",[r]),P=a.useMemo(()=>{var N;return r?.mode==="2"?`translateY(-${50+((N=r?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),j=a.useMemo(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||_},[_,t]),z=a.useCallback(()=>{if(!E||!c||!c.current||!E.current)return;const N=c?.current,B=E?.current,L=B.getContext("2d"),D=window?.innerWidth,G=window?.innerHeight;B.height=G,B.width=D,L?.drawImage(N,0,0,B.width,B.height),f(B.toDataURL())},[]);a.useEffect(()=>{var N,B,L,D;if(c.current){if(u(!1),!c.current.src){const G=t?.video.url;if(G.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const R=new window.Hls;R.loadSource(G),R.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=G;else c.current.src=G;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(N=c.current)===null||N===void 0||N.addEventListener("loadedmetadata",x),(B=c.current)===null||B===void 0||B.addEventListener("canplay",x),(L=c.current)===null||L===void 0||L.addEventListener("playing",S),(D=c.current)===null||D===void 0||D.addEventListener("loadeddata",z),()=>{var G,R,W,oe;(G=c.current)===null||G===void 0||G.removeEventListener("loadedmetadata",x),(R=c.current)===null||R===void 0||R.removeEventListener("canplay",x),(W=c.current)===null||W===void 0||W.removeEventListener("playing",S),(oe=c.current)===null||oe===void 0||oe.removeEventListener("loadeddata",z)}}},[x,S,t?.video,z]);const H=a.useMemo(()=>!h?.placeholder_image||C?null:a.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:h?.placeholder_image}),[C,h?.placeholder_image]);a.useEffect(()=>{const N=()=>{var B,L;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((L=c?.current)===null||L===void 0)&&L.src)&&!d&&A("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[l,e,t,c,A,d]);const F=a.useMemo(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]);return t?.video?a.createElement(a.Fragment,null,I?a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement(je,{src:j,style:Object.assign({height:i,width:s,objectFit:"cover"},F)}),a.createElement("canvas",{ref:E,style:{display:"none"}}),a.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},a.createElement("div",{style:{position:"relative",width:s,height:"100%"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k}))),H):a.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},a.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:M}),H,a.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k}))):null};var na=a.memo(ia);const ui={};Object.values(di).forEach(t=>{ui[t.extend.type]=t});const oa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",la="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",sa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:d=375,appDomain:u,tagList:c=[]})=>{const v=a.useMemo(()=>{let f=0;return e?.logoUrl&&e?.isShowLogo&&(f+=45),c.length>0&&(f+=45),s-f},[e,s,c]),h=(f,M)=>{var k,S,x,A;if(!((k=f?.video)===null||k===void 0)&&k.url)return a.createElement(na,{rec:f,index:M,muted:!0,width:d,data:t??[],height:v,activeIndex:M,videoPostConfig:e?.videoPost});if(!((S=f?.video)===null||S===void 0)&&S.imgUrls)return a.createElement(ta,{key:f?.video.itemId,imgUrls:f?.video.imgUrls,width:d,height:v,rec:f,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(f.product&&f.product&&Array.isArray(e?.productPost)&&((x=e?.productPost)===null||x===void 0?void 0:x.length)>0)return(A=e?.productPost)===null||A===void 0?void 0:A.map((T,I)=>{var P,j,z,H,F,N,B,L;const D=ui[(P=T?.item)===null||P===void 0?void 0:P.type],G=Dt(D),R=(j=D?.extend)===null||j===void 0?void 0:j.defaulSetting;return a.createElement(G,Object.assign({key:`${M}${I}`,textStyle:Object.assign(Object.assign({},R?.textStyle),(z=T?.item)===null||z===void 0?void 0:z.textStyle),bindDatas:(F=(H=T?.item)===null||H===void 0?void 0:H.bindDatas)!==null&&F!==void 0?F:[]},R?.props,(N=T?.item)===null||N===void 0?void 0:N.props,{event:((B=T?.item)===null||B===void 0?void 0:B.event)||{},id:T?.id,rec:f,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},R?.style),(L=T?.item)===null||L===void 0?void 0:L.style),{width:d,height:v,overflow:"auto"}),index:M}))})},y=a.useMemo(()=>e?.logoUrl&&e?.isShowLogo?a.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},a.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),g=(f,M)=>e?.isShowCTA===void 0||e?.isShowCTA?a.createElement("div",{className:"clc-sxp-bottom-card"},a.createElement(ln,{rec:f,index:M,tempMap:o,resolver:ui})):null,b=(f,M)=>{var k,S,x,A,T,I,P;return f?.video?a.createElement(a.Fragment,null,((k=f?.video)===null||k===void 0?void 0:k.title)&&a.createElement("div",{className:"clc-sxp-bottom-shadow"}),a.createElement("div",{className:"clc-sxp-bottom"},a.createElement(sn,{nudge:n}),g(f,M),a.createElement("div",null,a.createElement(kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(x=(S=f?.video)===null||S===void 0?void 0:S.title)!==null&&x!==void 0?x:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),a.createElement(on,{index:M,tags:(T=(A=f?.video)===null||A===void 0?void 0:A.hashTags)!==null&&T!==void 0?T:[],itemId:(I=f?.video)===null||I===void 0?void 0:I.itemId,itemType:!((P=f?.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:f,hashTagStyle:r}))):null},C=Me(la,u),p=Me(oa,u),w=(f,M)=>{var k,S,x,A;if(!e?.isShowLike)return;let T=(k=e?.likeIconY)!==null&&k!==void 0?k:400;return T<40&&(T+=40),f?.video?a.createElement(en,{key:f.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:C,unActicveIcon:(x=e?.unlikeIcon)!==null&&x!==void 0?x:p,position:M,active:f.isCollected,recData:f,className:"clc-sxp-like-button",style:{top:T,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},m=Me("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",u),E=Me("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",u),_=(f,M)=>{var k,S,x,A;return a.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},y,a.createElement(an,{tagList:c}),a.createElement(tn,{style:{position:"absolute",right:(k=e?.muteIconX)!==null&&k!==void 0?k:0,visibility:!((x=(S=t?.[M])===null||S===void 0?void 0:S.video)===null||x===void 0)&&x.url?"visible":"hidden",bottom:(A=e?.muteIconY)!==null&&A!==void 0?A:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:m,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),h(f,M),b(f,M),w(f,M))};return a.createElement("div",{className:K.css({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((f,M)=>_(f,M)))};var aa=a.memo(sa);const ra=()=>{const{schema:t,resolver:e,popup:i}=Ge(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=de(),{productView:r}=Re(),[s,d]=a.useState(),u=a.useRef(null);a.useEffect(()=>{const h=()=>{u.current=new Date};return h(),window.addEventListener("pageshow",h),()=>{window.removeEventListener("pageshow",h)}},[]),a.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,d(i))},[i]);const c=()=>{var h,y,g,b;if(!i||i?.id===""||!s||new Date-u.current<((h=i?.duration)!==null&&h!==void 0?h:0))return;d(Object.assign(Object.assign({},i),{id:""}));const C=o,p=(y=C?.video)===null||y===void 0?void 0:y.bindProduct,w=(b=(g=C?.video)===null||g===void 0?void 0:g.bindProduct)===null||b===void 0?void 0:b.bindCta;p&&w&&r(C,p,w,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},v=a.useMemo(()=>{var h,y,g;return(g=(y=(h=t?.sxpPageConf)===null||h===void 0?void 0:h.globalConfig)===null||y===void 0?void 0:y.popupList)===null||g===void 0?void 0:g.map((b,C)=>{var p,w,m,E,_,f,M,k,S,x,A,T,I,P,j;if(b?.id===i?.id){const z=e[(p=b?.item)===null||p===void 0?void 0:p.type],H=Dt(z),F=((E=(m=(w=b?.item)===null||w===void 0?void 0:w.event)===null||m===void 0?void 0:m.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",N=((M=(f=(_=b?.item)===null||_===void 0?void 0:_.event)===null||f===void 0?void 0:f.onClick)===null||M===void 0?void 0:M.linkType)==="popup",B=(k=z?.extend)===null||k===void 0?void 0:k.defaulSetting;return a.createElement(H,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},B?.style),(S=b?.item)===null||S===void 0?void 0:S.style),{width:(x=window.innerWidth)!==null&&x!==void 0?x:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},B?.textStyle),(A=b?.item)===null||A===void 0?void 0:A.textStyle),bindDatas:(I=(T=b?.item)===null||T===void 0?void 0:T.bindDatas)!==null&&I!==void 0?I:[]},B?.props,(P=b?.item)===null||P===void 0?void 0:P.props,{event:((j=b?.item)===null||j===void 0?void 0:j.event)||{},schema:t,id:b?.id,isExternalLink:F,isPopup:N,onClose:c}))}else return a.createElement(a.Fragment,null)})},[t,i,e,c]);return a.createElement(It,{popup:s,onClose:c,padding:0,modalStyle:{position:"fixed"}},v)},pi={};Object.values(di).forEach(t=>{pi[t.extend.type]=t});const da=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var d,u,c,v,h,y,g,b,C;const p=a.useMemo(()=>{var w;return location?.search?(w=location?.search)===null||w===void 0?void 0:w.replace("?",""):""},[]);return a.createElement(Di,{resolver:pi,enableDataSource:!1,schema:t?.data,utmVal:p},a.createElement(Ci,{utmVal:p,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(u=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.personalized_recommend)!==null&&u!==void 0?u:e,defaultSize:(v=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&v!==void 0?v:i,hashTagSize:(y=(h=t?.sxp_parameter)===null||h===void 0?void 0:h.hash_tag_size)!==null&&y!==void 0?y:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(C=(b=(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf)===null||b===void 0?void 0:b.globalConfig)===null||C===void 0?void 0:C.isShowTag,render:({rtcList:w,tagList:m})=>{var E;return a.createElement(a.Fragment,null,a.createElement(rn,Object.assign({},(E=t?.data)===null||E===void 0?void 0:E.sxpPageConf,{tagList:m,data:w,resolver:pi,licenseUrl:r})),a.createElement(ra,null))}}))};var ca=a.memo(da);const dn=a.createContext({}),ua=({children:t,data:e})=>{var i,n,o,l,r,s;const[d,u]=a.useState(!1);return a.createElement(dn.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image},appDomain:e?.appDomain,openHashtag:d,setOpenHashtag:u}},t)};function pa(){return a.useContext(dn)}exports.DiyPortalPreview=aa,exports.EditorDataProvider=ua,exports.Modal=It,exports.SxpDataSourceProvider=Ci,exports.SxpPageCore=ca,exports.SxpPageRender=rn,exports.core=Ln,exports.default=Cn,exports.defaultSetting=Ae,exports.materials=di,exports.useEditorDataProvider=pa;
|
7
7
|
//# sourceMappingURL=index.min.cjs.map
|