pb-sxp-ui 1.0.9 → 1.0.10
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 +12 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -4
- 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 +12 -4
- 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/Nudge/index.js +2 -2
- package/es/core/components/SxpPageRender/index.d.ts +1 -0
- package/es/core/components/SxpPageRender/index.js +2 -2
- package/lib/core/components/SxpPageRender/Nudge/index.js +2 -2
- package/lib/core/components/SxpPageRender/index.d.ts +1 -0
- package/lib/core/components/SxpPageRender/index.js +2 -2
- package/package.json +1 -1
package/dist/pb-ui.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
(function(oe,se){typeof exports=="object"&&typeof module<"u"?se(exports,require("lodash"),require("uuid"),require("pako"),require("react"),require("qs"),require("@emotion/css"),require("@ant-design/pro-components"),require("react-dom"),require("eventemitter3")):typeof define=="function"&&define.amd?define(["exports","lodash","uuid","pako","react","qs","@emotion/css","@ant-design/pro-components","react-dom","eventemitter3"],se):(oe=typeof globalThis<"u"?globalThis:oe||self,se(oe.PUI={},oe.lodash,oe.uuid$1,oe.pako,oe.React,oe.qs,oe.css,oe.proComponents,oe.ReactDOM,oe.EventEmitter))})(this,function(oe,se,Li,ji,d,Xt,$,Ni,Bi,zi){"use strict";function Vi(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 Jt=Vi(Bi);function ce(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 ve(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 a(c){try{u(n.next(c))}catch(f){r(f)}}function s(c){try{u(n.throw(c))}catch(f){r(f)}}function u(c){c.done?l(c.value):o(c.value).then(a,s)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Fi=/:\w+/g;var Qt=(t,e)=>ve(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:a,urlParams:s,name:u,queryString:c,headers:f,body:m}=e[o];let v=a;s&&Object.entries(s).forEach(([g,T])=>{v=v.replace(Fi,E=>E===g?T:E)}),c&&(v+=c),n[l]=u;try{const g=yield fetch(v,{method:r,headers:Object.assign({"Content-Type":"application/json"},f),body:JSON.stringify(m)}).then(T=>T.json());i[l]=g}catch(g){console.error("DataSource request error: ",g),i[l]={}}}return{$store:i,idMapName:n}});const Kt="SXP_TOKEN_INFO",Hi=(t,e)=>ve(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Kt);let a=JSON.parse(r||"{}");if(Date.now()>((i=a?.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;a=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(Kt,JSON.stringify(a))}}return a});function lt(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 Ui=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},Gi=()=>{const t=Li.v4();return t?.replaceAll?t.replaceAll("-",""):Ui(32)};function Zt(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=ji.inflate(n,{to:"string"});return JSON.parse(o)}let mt=null;const Wi={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class $i{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,mt)return mt;mt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Wi[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let ue=null;const qi={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{ue||(ue=new $i),n&&ue.setApiUrl(n),ue.setAppId(t),ue.setTenantId(e),ue.setEnv(i)},getDetail:t=>{if(!ue)return;const e=ue.getTenantId(),i=ue.getAppId(),n=ue.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ve(void 0,void 0,void 0,function*(){var l,r;const a=yield o.json(),s=Zt((l=a?.data)===null||l===void 0?void 0:l.data);if(s){const{$store:u}=yield Qt(n,(r=s?.dataSource)!==null&&r!==void 0?r:[]);a.data.data=s,Object.assign(a.data.data,{__STORE__:u})}return a}))},getSxpDetailByPageId:t=>ve(void 0,void 0,void 0,function*(){if(!ue)return;const e=ue.getTenantId(),i=ue.getAppId(),n=ue.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ve(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const a=Zt((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=a,r.data}))}),getSxpRecommendVideoData:t=>ve(void 0,void 0,void 0,function*(){if(!ue)return;const e=yield Hi(ue,t),i=lt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");se.isEmpty(n)&&(n=lt(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 Ie(){return d.useContext(li)}function Yi(){return d.useContext(oi)}const ht="feRealSessionIdKey",Rt=()=>{const t=Gi();return`${Date.now()}${t}`},Xi=()=>{let t=Qi();return t||(t=Rt(),window.sessionStorage.setItem(ht,t)),t},Ji=()=>{const t=Rt();window.sessionStorage.setItem(ht,t)},Qi=()=>window.sessionStorage.getItem(ht),ei="SXP_FAKE_USER_ID",Ki=()=>{let t=window.localStorage.getItem(ei);return se.isEmpty(t)&&(t=lt(36,62),window.localStorage.setItem(ei,t)),t};function Ve(t,e){const{appDomain:i}=R();return d.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const ti=d.createContext({rtcList:[]});var gt;(function(t){t[t.BFF=5]="BFF"})(gt||(gt={}));const Zi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Ri=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:a,appDomain:s,hashTagSize:u,loadingImage:c,isOpenHashTag:f=!1})=>{const[m,v]=d.useState([]),[g,T]=d.useState(!1),[E,p]=d.useState({rtc:"",requestId:""}),b=d.useRef(null),h=d.useRef(!1),[x,w]=d.useState(),[A,M]=d.useState(),[y,S]=d.useState(f),[C,k]=d.useState([]),[I,D]=d.useState(0),[P,j]=d.useState(!1);d.useEffect(()=>{S(f)},[f]);const N=d.useMemo(()=>e?.find(H=>H.type===gt.BFF),[e]),F=d.useCallback((H,U)=>{if(!N)return;const G=N.url,ie=Ki();if(U?.query){const K=Xt.stringify(U.query);H=`${H}?${K}`}return U.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${G}/api/v1${H}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},N.headers),{"x-user-id":ie}),U.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${G}/api/v1${H}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ie},N.headers),method:U.method,body:JSON.stringify(U.body)}).then(K=>K.json()).catch(K=>Promise.reject(K))},[N]),z=d.useCallback(H=>ve(void 0,void 0,void 0,function*(){var U,G,ie,K;if(H={maxSize:o,defaultSize:(U=H?.defaultSize)!==null&&U!==void 0?U:l,"itemFilter.itemId":H?.["itemFilter.itemId"],"itemFilter.itemType":H?.["itemFilter.itemType"],hashTag:H?.hashTag,traceInfo:H?.traceInfo},i){const ne=(K=(ie=(G=i?.split("&"))===null||G===void 0?void 0:G.filter(we=>{const je=we.split("=")[0];return Zi.includes(je)}))===null||ie===void 0?void 0:ie.join("&"))!==null&&K!==void 0?K:"";H=Object.assign(Object.assign({},H),{channel:decodeURIComponent(ne)})}const ee=yield F?.("/recommend/list",{method:"GET",query:H});if(ee?.success)return H?.hashTag||p({rtc:ee.data.rtc,requestId:ee.data.requestId}),ee?.data}),[F,i,o,l]),B=d.useCallback(()=>ve(void 0,void 0,void 0,function*(){var H,U;if(m.length<=0)return;const G=yield z({hashTag:A?.hashTag,"itemFilter.itemId":A?.itemId,"itemFilter.itemType":A?.itemType});v(m.concat((H=G?.recList)!==null&&H!==void 0?H:[])),k(C.concat((U=G?.recList)!==null&&U!==void 0?U:[]))}),[z,m,A,C]),_=d.useCallback(({userInfo:H,eventInfo:U})=>{if(!n)return;H||(H={});const G=Xi(),ie=Object.assign({sessionID:G,rtc:E.rtc,requestId:E.requestId},U),K=Object.entries(H).map(([ne,we])=>({name:ne,value:we})),ee=Object.entries(ie).map(([ne,we])=>we&&{name:ne,value:we}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",H),console.log("eventInfo:",ie),console.log("========= \u7ED3\u675F ========="),F?.("/event/report",{method:"POST",body:{userInfo:K,eventInfo:ee},type:"beacon"})},[F,E,n]),O=d.useCallback(H=>ve(void 0,void 0,void 0,function*(){const U=yield F?.("/recommend/like",{method:"POST",body:H});return U?.success}),[F]),V=d.useCallback(H=>ve(void 0,void 0,void 0,function*(){const U=yield F?.("/recommend/unlike",{method:"POST",body:H});return U?.success}),[F]),de=d.useCallback(H=>ve(void 0,void 0,void 0,function*(){const U=yield F?.("/customform",{method:"POST",body:H});return U?.success}),[F]),fe=d.useCallback((H,U,G,ie)=>{var K,ee,ne,we,je,Ke,nt,Ne,ot,He,Ze,Be;const me=G?.bindCta,Yt=((K=U?.video)===null||K===void 0?void 0:K.bindProduct)||((ee=U?.video)===null||ee===void 0?void 0:ee.bindProducts)&&((we=(ne=U?.video)===null||ne===void 0?void 0:ne.bindProducts)===null||we===void 0?void 0:we.length)>0;let Re="";P?Re="hashTagPage":!((je=U?.video)===null||je===void 0)&&je.url?Re="videoPage":!((nt=(Ke=U?.video)===null||Ke===void 0?void 0:Ke.imgUrls)===null||nt===void 0)&&nt.length&&(Re="imagePage"),_?.({eventInfo:Object.assign(Object.assign({},H),{ctaId:(Ne=me?.itemId)!==null&&Ne!==void 0?Ne:"",ctaName:(ot=me?.title)!==null&&ot!==void 0?ot:"",contentTags:JSON.stringify(me?.tags),position:ie+"",relatedContentId:(Ze=(He=U?.video)===null||He===void 0?void 0:He.itemId)!==null&&Ze!==void 0?Ze:"",relatedProductId:Yt?G?.itemId:"",traceInfo:(Be=me?.traceInfo)!==null&&Be!==void 0?Be:"",fromKName:Re})})},[_,P]);d.useEffect(()=>{T(!0),z().then(H=>{var U,G;v((U=H?.recList)!==null&&U!==void 0?U:[]),k((G=H?.recList)!==null&&G!==void 0?G:[])}).finally(()=>{T(!1),h.current=!0})},[]),d.useEffect(()=>{h.current&&(T(!0),z().then(H=>{var U,G;v((U=H?.recList)!==null&&U!==void 0?U:[]),k((G=H?.recList)!==null&&G!==void 0?G:[])}).finally(()=>{T(!1)}))},[z]);const re=Ve("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",s);return d.createElement(ti.Provider,{value:{rtcList:m,setRtcList:v,mutateLike:O,mutateUnlike:V,submitForm:de,popupDetailData:x,loadVideos:B,setPopupDetailData:w,getRecommendVideos:z,bffEventReport:_,utmVal:i,isPreview:r,loading:g,sxpParameter:a,waterFallData:A,setWaterFallData:M,ctaEvent:fe,swiperRef:b,openHashtag:y,setOpenHashtag:S,cacheRtcList:C,setCacheRtcList:k,cacheActiveIndex:I,setCacheActiveIndex:D,isFromHashtag:P,setIsFromHashtag:j,appDomain:s,hashTagSize:u,loadingImage:c??re,isOpenHashTag:f}},t({rtcList:m,mutateLike:O,mutateUnlike:V,submitForm:de}))};var ii=d.memo(Ri);function R(){return d.useContext(ti)}var ni;(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"})(ni||(ni={}));const oi=d.createContext({$store:{},options:[],configs:[]}),en=({children:t,isSsr:e,enable:i})=>{const[n,o]=d.useState([]),{schema:l}=Ie(),[r,a]=d.useState(l.__STORE__||{}),[s,u]=d.useState([]);d.useEffect(()=>{var m;e||se.isEqual(s,l?.dataSource)||u((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=d.useCallback(()=>ve(void 0,void 0,void 0,function*(){const{$store:m,idMapName:v}=yield Qt("",s);a(m),f(m,v)}),[s]),f=(m,v)=>{const g=[];Object.entries(m).forEach(([T,E])=>{Object.keys(E).forEach(p=>{const b={label:`${v[T]} - ${p}`,value:`{{ ${T}.${p} }}`};g.push(b)})}),o(g)};return d.useEffect(()=>{e||c()},[c,e,l]),i?d.createElement(oi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:s}},t):t};var tn=d.memo(en);const st={id:lt(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},bt={id:"",duration:0,name:"none"},li=d.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[st],redoStack:[],popup:bt,setPopup:()=>{}}),si=d.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[a,s]=d.useState(null),[u,c]=d.useState(n||{pointData:[st],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[f,m]=d.useState([st]),[v,g]=d.useState([[st]]),[T,E]=d.useState([]),[p,b]=d.useState(bt);typeof window<"u"&&(window.sxpPopup=(M,y)=>{b(Object.assign(Object.assign(Object.assign({},bt),{id:M}),y))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),d.useEffect(()=>{g([u.pointData]),E([])},[u.type]);const h=d.useCallback(M=>{const y=se.cloneDeep(u);y&&(y.dataSource=M,c?.(y))},[u]),[x,w]=d.useState();d.useImperativeHandle(r,()=>({loadSchema(M){M&&(g([M.pointData]),c(M))},exportSchema(){return se.cloneDeep(u)},getPageInfoData(){return x},initPageInfoData(M){M&&w(M)}}));const A=d.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return d.createElement(li.Provider,{value:{resolver:e,currentNode:a,schema:u,setCurrentNode:s,setSchema:c,saveDataSource:h,prePiontData:f,setPrePiontData:m,pageInfoData:x,setPageInfoData:M=>w(Object.assign(Object.assign({},x),M)),undoStack:v,redoStack:T,setRedoStack:E,setUndoStack:g,getCurPageConf:A,popup:p,setPopup:b}},d.createElement(tn,{isSsr:i,enable:o},t))});var nn=Object.freeze({__proto__:null,EditorCore:si}),on=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const J=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var ln={fontOptions:J},yt,sn=[{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:J,initialValue:(yt=J?.[0])===null||yt===void 0?void 0:yt.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"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const rn=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:a,layoutType:s,onClick:u}=t,c=ce(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);const{submitForm:f}=R(),m=d.useRef(),[v,g]=d.useState(!1),T=d.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"}],[]),E=d.useMemo(()=>{if(s===void 0){const b=se.cloneDeep(e)||T;return b?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return se.cloneDeep(e)||T},[s,e,T]),p=se.debounce(()=>ve(void 0,void 0,void 0,function*(){var b,h,x;g(!0);const w=yield(b=m?.current)===null||b===void 0?void 0:b.getFieldsValue(),A=(x=(h=Object.keys(w))===null||h===void 0?void 0:h.map(y=>({name:y,value:w[y]})))===null||x===void 0?void 0:x.filter(y=>y?.value);if(!A||!A?.length)return;const M=yield f?.({attributes:A});g(!1),M&&(window?.sxpPopup(""),M&&u?.())}),1e3);return d.createElement("div",{className:"pb-appoint-form"},d.createElement("div",{className:`pb-appoint-form-title ${$.css(Object.assign({},o))}`},n),d.createElement("div",Object.assign({className:$.css(Object.assign({},i))},c),d.createElement("div",{className:"pb-appoint-form-container"},d.createElement(Ni.BetaSchemaForm,{columns:E,submitter:!1,layout:s,autoFocusFirstInput:!1,size:"large",formRef:m,className:"panel-reset"}))),d.createElement("div",{className:"pb-appoint-form-btn-wrapper"},d.createElement("button",{onClick:p,className:"pb-appoint-form-btn",style:{color:r,background:l}},v?d.createElement(d.Fragment,null,"loading..."):a)))};var an=d.memo(rn);function he(t,e){return t.extend=e,t}const dn=he(an,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:sn,bindableProps:[],interactionRender:on},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 wt,St,cn=[{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"}]},{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",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:J,name:["fontFamily"],initialValue:(wt=J?.[0])===null||wt===void 0?void 0:wt.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:J,initialValue:(St=J?.[0])===null||St===void 0?void 0:St.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function ri(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Tt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:ri(e[i])&&ri(t[i])&&Object.keys(e[i]).length>0&&Tt(t[i],e[i])})}const ai={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 Se(){const t=typeof document<"u"?document:{};return Tt(t,ai),t}const un={document:ai,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 pe(){const t=typeof window<"u"?window:{};return Tt(t,un),t}function Me(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function pn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function qe(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function be(){return Date.now()}function fn(t){const e=pe();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function vn(t,e){e===void 0&&(e="x");const i=pe();let n,o,l;const r=fn(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(a=>a.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 rt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function mn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function ge(){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&&!mn(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 a=o[l],s=Object.getOwnPropertyDescriptor(n,a);s!==void 0&&s.enumerable&&(rt(t[a])&&rt(n[a])?n[a].__swiper__?t[a]=n[a]:ge(t[a],n[a]):!rt(t[a])&&rt(n[a])?(t[a]={},n[a].__swiper__?t[a]=n[a]:ge(t[a],n[a])):t[a]=n[a])}}}return t}function at(t,e,i){t.style.setProperty(e,i)}function di(t){let{swiper:e,targetPosition:i,side:n}=t;const o=pe(),l=-e.translate;let r=null,a;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(m,v)=>u==="next"&&m>=v||u==="prev"&&m<=v,f=()=>{a=new Date().getTime(),r===null&&(r=a);const m=Math.max(Math.min((a-r)/s,1),0),v=.5-Math.cos(m*Math.PI)/2;let g=l+v*(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(f)};f()}function Ce(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function dt(t){try{console.warn(t);return}catch{}}function et(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Me(e)),i}function hn(t){const e=pe(),i=Se(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-l,left:n.left+s-r}}function gn(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 bn(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 Oe(t,e){return pe().getComputedStyle(t,null).getPropertyValue(e)}function ct(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function ci(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 xt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Ct(t,e,i){const n=pe();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 Ee(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=pe();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,a=be(),s;const u=[];function c(h){let M=0,y=0,S=0,C=0;return"detail"in h&&(y=h.detail),"wheelDelta"in h&&(y=-h.wheelDelta/120),"wheelDeltaY"in h&&(y=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=y,y=0),S=M*10,C=y*10,"deltaY"in h&&(C=h.deltaY),"deltaX"in h&&(S=h.deltaX),h.shiftKey&&!S&&(S=C,C=0),(S||C)&&h.deltaMode&&(h.deltaMode===1?(S*=40,C*=40):(S*=800,C*=800)),S&&!M&&(M=S<1?-1:1),C&&!y&&(y=C<1?-1:1),{spinX:M,spinY:y,pixelX:S,pixelY:C}}function f(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function v(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&be()-a<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&be()-a<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)),a=new l.Date().getTime(),!1)}function g(h){const x=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&x.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&x.releaseOnEdges)return!0;return!1}function T(h){let x=h,w=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const A=e.params.mousewheel;e.params.cssMode&&x.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const y=M&&M.contains(x.target);if(!e.mouseEntered&&!y&&!A.releaseOnEdges)return!0;x.originalEvent&&(x=x.originalEvent);let S=0;const C=e.rtlTranslate?-1:1,k=c(x);if(A.forceToAxis)if(e.isHorizontal())if(Math.abs(k.pixelX)>Math.abs(k.pixelY))S=-k.pixelX*C;else return!0;else if(Math.abs(k.pixelY)>Math.abs(k.pixelX))S=-k.pixelY;else return!0;else S=Math.abs(k.pixelX)>Math.abs(k.pixelY)?-k.pixelX*C:-k.pixelY;if(S===0)return!0;A.invert&&(S=-S);let I=e.getTranslate()+S*A.sensitivity;if(I>=e.minTranslate()&&(I=e.minTranslate()),I<=e.maxTranslate()&&(I=e.maxTranslate()),w=e.params.loop?!0:!(I===e.minTranslate()||I===e.maxTranslate()),w&&e.params.nested&&x.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:be(),delta:Math.abs(S),direction:Math.sign(S),raw:h};u.length>=2&&u.shift();const P=u.length?u[u.length-1]:void 0;if(u.push(D),P?(D.direction!==P.direction||D.delta>P.delta||D.time>P.time+150)&&v(D):v(D),g(D))return!0}else{const D={time:be(),delta:Math.abs(S),direction:Math.sign(S)},P=s&&D.time<s.time+500&&D.delta<=s.delta&&D.direction===s.direction;if(!P){s=void 0;let j=e.getTranslate()+S*A.sensitivity;const N=e.isBeginning,F=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(),(!N&&e.isBeginning||!F&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const z=u.length?u[u.length-1]:void 0,B=u[0];if(u.push(D),z&&(D.delta>z.delta||D.direction!==z.direction))u.splice(0);else if(u.length>=15&&D.time-B.time<500&&B.delta-D.delta>=1&&D.delta<=6){const _=S>0?.8:.2;s=D,u.splice(0),r=qe(()=>{e.slideToClosest(e.params.speed,!0,void 0,_)},0)}r||(r=qe(()=>{s=D,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",x),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),A.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return x.preventDefault?x.preventDefault():x.returnValue=!1,!1}function E(h){let x=e.el;e.params.mousewheel.eventsTarget!=="container"&&(x=document.querySelector(e.params.mousewheel.eventsTarget)),x[h]("mouseenter",f),x[h]("mouseleave",m),x[h]("wheel",T)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(E("addEventListener"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(E("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&b()}),Object.assign(e.mousewheel,{enable:p,disable:b})}function ui(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Ce(t.el,`.${n[o]}`)[0];l||(l=et("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function Ye(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Et(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,a=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,b){const{bulletActiveClass:h}=e.params.pagination;p&&(p=p[`${b==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${h}-${b}`),p=p[`${b==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${h}-${b}-${b}`)))}function c(p){const b=p.target.closest(Ye(e.params.pagination.bulletClass));if(!b)return;p.preventDefault();const h=ct(b)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function f(){const p=e.rtl,b=e.params.pagination;if(s())return;let h=e.pagination.el;h=Ee(h);let x,w;const A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(A/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(w=e.previousRealIndex||0,x=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(x=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,x=e.activeIndex||0),b.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const y=e.pagination.bullets;let S,C,k;if(b.dynamicBullets&&(r=Ct(y[0],e.isHorizontal()?"width":"height",!0),h.forEach(I=>{I.style[e.isHorizontal()?"width":"height"]=`${r*(b.dynamicMainBullets+4)}px`}),b.dynamicMainBullets>1&&w!==void 0&&(a+=x-(w||0),a>b.dynamicMainBullets-1?a=b.dynamicMainBullets-1:a<0&&(a=0)),S=Math.max(x-a,0),C=S+(Math.min(y.length,b.dynamicMainBullets)-1),k=(C+S)/2),y.forEach(I=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${b.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();I.classList.remove(...D)}),h.length>1)y.forEach(I=>{const D=ct(I);D===x?I.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&I.setAttribute("part","bullet"),b.dynamicBullets&&(D>=S&&D<=C&&I.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),D===S&&u(I,"prev"),D===C&&u(I,"next"))});else{const I=y[x];if(I&&I.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&y.forEach((D,P)=>{D.setAttribute("part",P===x?"bullet-active":"bullet")}),b.dynamicBullets){const D=y[S],P=y[C];for(let j=S;j<=C;j+=1)y[j]&&y[j].classList.add(...`${b.bulletActiveClass}-main`.split(" "));u(D,"prev"),u(P,"next")}}if(b.dynamicBullets){const I=Math.min(y.length,b.dynamicMainBullets+4),D=(r*I-r)/2-k*r,P=p?"right":"left";y.forEach(j=>{j.style[e.isHorizontal()?P:"top"]=`${D}px`})}}h.forEach((y,S)=>{if(b.type==="fraction"&&(y.querySelectorAll(Ye(b.currentClass)).forEach(C=>{C.textContent=b.formatFractionCurrent(x+1)}),y.querySelectorAll(Ye(b.totalClass)).forEach(C=>{C.textContent=b.formatFractionTotal(M)})),b.type==="progressbar"){let C;b.progressbarOpposite?C=e.isHorizontal()?"vertical":"horizontal":C=e.isHorizontal()?"horizontal":"vertical";const k=(x+1)/M;let I=1,D=1;C==="horizontal"?I=k:D=k,y.querySelectorAll(Ye(b.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${I}) scaleY(${D})`,P.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(y.innerHTML=b.renderCustom(e,x+1,M),S===0&&o("paginationRender",y)):(S===0&&o("paginationRender",y),o("paginationUpdate",y)),e.params.watchOverflow&&e.enabled&&y.classList[e.isLocked?"add":"remove"](b.lockClass)})}function m(){const p=e.params.pagination;if(s())return;const b=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=Ee(h);let x="";if(p.type==="bullets"){let w=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>b&&(w=b);for(let A=0;A<w;A+=1)p.renderBullet?x+=p.renderBullet.call(e,A,p.bulletClass):x+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?x=p.renderFraction.call(e,p.currentClass,p.totalClass):x=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?x=p.renderProgressbar.call(e,p.progressbarFillClass):x=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(w=>{p.type!=="custom"&&(w.innerHTML=x||""),p.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll(Ye(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",h[0])}function v(){e.params.pagination=ui(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let b;typeof p.el=="string"&&e.isElement&&(b=e.el.querySelector(p.el)),!b&&typeof p.el=="string"&&(b=[...document.querySelectorAll(p.el)]),b||(b=p.el),!(!b||b.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(b)&&b.length>1&&(b=[...e.el.querySelectorAll(p.el)],b.length>1&&(b=b.filter(h=>ci(h,".swiper")[0]===e.el)[0])),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=Ee(b),b.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`),a=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 g(){const p=e.params.pagination;if(s())return;let b=e.pagination.el;b&&(b=Ee(b),b.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:b}=e.pagination;b=Ee(b),b.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?E():(v(),m(),f())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),n("snapIndexChange",()=>{f()}),n("snapGridLengthChange",()=>{m(),f()}),n("destroy",()=>{g()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Ee(p),p.forEach(b=>b.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{f()}),n("click",(p,b)=>{const h=b.target,x=Ee(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&x&&x.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 w=x[0].classList.contains(e.params.pagination.hiddenClass);o(w===!0?"paginationShow":"paginationHide"),x.forEach(A=>A.classList.toggle(e.params.pagination.hiddenClass))}});const T=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Ee(p),p.forEach(b=>b.classList.remove(e.params.pagination.paginationDisabledClass))),v(),m(),f()},E=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Ee(p),p.forEach(b=>b.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:T,disable:E,render:m,update:f,init:v,destroy:g})}function wn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Se();let r=!1,a=null,s=null,u,c,f,m;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 v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:I,rtlTranslate:D}=e,{dragEl:P,el:j}=I,N=e.params.scrollbar,F=e.params.loop?e.progressLoop:e.progress;let z=c,B=(f-c)*F;D?(B=-B,B>0?(z=c-B,B=0):-B+c>f&&(z=f+B)):B<0?(z=c+B,B=0):B+c>f&&(z=f-B),e.isHorizontal()?(P.style.transform=`translate3d(${B}px, 0, 0)`,P.style.width=`${z}px`):(P.style.transform=`translate3d(0px, ${B}px, 0)`,P.style.height=`${z}px`),N.hide&&(clearTimeout(a),j.style.opacity=1,a=setTimeout(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3))}function g(I){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${I}ms`)}function T(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:I}=e,{dragEl:D,el:P}=I;D.style.width="",D.style.height="",f=e.isHorizontal()?P.offsetWidth:P.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=f*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${c}px`:D.style.height=`${c}px`,m>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&I.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function E(I){return e.isHorizontal()?I.clientX:I.clientY}function p(I){const{scrollbar:D,rtlTranslate:P}=e,{el:j}=D;let N;N=(E(I)-hn(j)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(f-c),N=Math.max(Math.min(N,1),0),P&&(N=1-N);const F=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*N;e.updateProgress(F),e.setTranslate(F),e.updateActiveIndex(),e.updateSlidesClasses()}function b(I){const D=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:N,dragEl:F}=P;r=!0,u=I.target===F?E(I)-I.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,I.preventDefault(),I.stopPropagation(),j.style.transitionDuration="100ms",F.style.transitionDuration="100ms",p(I),clearTimeout(s),N.style.transitionDuration="0ms",D.hide&&(N.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",I)}function h(I){const{scrollbar:D,wrapperEl:P}=e,{el:j,dragEl:N}=D;r&&(I.preventDefault?I.preventDefault():I.returnValue=!1,p(I),P.style.transitionDuration="0ms",j.style.transitionDuration="0ms",N.style.transitionDuration="0ms",o("scrollbarDragMove",I))}function x(I){const D=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:N}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),D.hide&&(clearTimeout(s),s=qe(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",I),D.snapOnRelease&&e.slideToClosest())}function w(I){const{scrollbar:D,params:P}=e,j=D.el;if(!j)return;const N=j,F=P.passiveListeners?{passive:!1,capture:!1}:!1,z=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!N)return;const B=I==="on"?"addEventListener":"removeEventListener";N[B]("pointerdown",b,F),l[B]("pointermove",h,F),l[B]("pointerup",x,z)}function A(){!e.params.scrollbar.el||!e.scrollbar.el||w("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||w("off")}function y(){const{scrollbar:I,el:D}=e;e.params.scrollbar=ui(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&&D.querySelectorAll(P.el).length===1&&(j=D.querySelector(P.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let N;j&&(N=j.querySelector(Ye(e.params.scrollbar.dragClass)),N||(N=et("div",e.params.scrollbar.dragClass),j.append(N))),Object.assign(I,{el:j,dragEl:N}),P.draggable&&A(),j&&j.classList[e.enabled?"remove":"add"](...Me(e.params.scrollbar.lockClass))}function S(){const I=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...Me(e.isHorizontal()?I.horizontalClass:I.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const I=e.params.scrollbar;let{el:D}=e.scrollbar;D=Ee(D),D.forEach(P=>{P.classList.remove(I.horizontalClass,I.verticalClass),P.classList.add(e.isHorizontal()?I.horizontalClass:I.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?k():(y(),T(),v())}),n("update resize observerUpdate lock unlock changeDirection",()=>{T()}),n("setTranslate",()=>{v()}),n("setTransition",(I,D)=>{g(D)}),n("enable disable",()=>{const{el:I}=e.scrollbar;I&&I.classList[e.enabled?"remove":"add"](...Me(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const C=()=>{e.el.classList.remove(...Me(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Me(e.params.scrollbar.scrollbarDisabledClass)),y(),T(),v()},k=()=>{e.el.classList.add(...Me(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Me(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:C,disable:k,updateSize:T,setTranslate:v,init:y,destroy:S})}function It(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,a,s=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,f=new Date().getTime(),m,v,g,T,E,p,b;function h(z){!e||e.destroyed||!e.wrapperEl||z.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!b&&C())}const x=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(u=c,m=!1);const z=e.autoplay.paused?c:f+u-new Date().getTime();e.autoplay.timeLeft=z,o("autoplayTimeLeft",z,z/s),a=requestAnimationFrame(()=>{x()})},w=()=>{let z;return e.virtual&&e.params.virtual.enabled?z=e.slides.filter(_=>_.classList.contains("swiper-slide-active"))[0]:z=e.slides[e.activeIndex],z?parseInt(z.getAttribute("data-swiper-autoplay"),10):void 0},A=z=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),x();let B=typeof z>"u"?e.params.autoplay.delay:z;s=e.params.autoplay.delay,u=e.params.autoplay.delay;const _=w();!Number.isNaN(_)&&_>0&&typeof z>"u"&&(B=_,s=_,u=_),c=B;const O=e.params.speed,V=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,O,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,O,!0,!0),o("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{A()})))};return B>0?(clearTimeout(r),r=setTimeout(()=>{V()},B)):requestAnimationFrame(()=>{V()}),B},M=()=>{f=new Date().getTime(),e.autoplay.running=!0,A(),o("autoplayStart")},y=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(a),o("autoplayStop")},S=(z,B)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),z||(p=!0);const _=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):C()};if(e.autoplay.paused=!0,B){E&&(c=e.params.autoplay.delay),E=!1,_();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),_())},C=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),p?(p=!1,A(c)):A(),e.autoplay.paused=!1,o("autoplayResume"))},k=()=>{if(e.destroyed||!e.autoplay.running)return;const z=Se();z.visibilityState==="hidden"&&(p=!0,S(!0)),z.visibilityState==="visible"&&C()},I=z=>{z.pointerType==="mouse"&&(p=!0,b=!0,!(e.animating||e.autoplay.paused)&&S(!0))},D=z=>{z.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&C())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",I),e.el.addEventListener("pointerleave",D))},j=()=>{e.el.removeEventListener("pointerenter",I),e.el.removeEventListener("pointerleave",D)},N=()=>{Se().addEventListener("visibilitychange",k)},F=()=>{Se().removeEventListener("visibilitychange",k)};n("init",()=>{e.params.autoplay.enabled&&(P(),N(),M())}),n("destroy",()=>{j(),F(),e.autoplay.running&&y()}),n("_freeModeStaticRelease",()=>{(g||p)&&C()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?y():S(!0,!0)}),n("beforeTransitionStart",(z,B,_)=>{e.destroyed||!e.autoplay.running||(_||!e.params.autoplay.disableOnInteraction?S(!0,!0):y())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){y();return}v=!0,g=!1,p=!1,T=setTimeout(()=>{p=!0,g=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!v)){if(clearTimeout(T),clearTimeout(r),e.params.autoplay.disableOnInteraction){g=!1,v=!1;return}g&&e.params.cssMode&&C(),g=!1,v=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(E=!0)}),Object.assign(e.autoplay,{start:M,stop:y,pause:S,resume:C})}function Sn(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 s=e.getTranslate();e.setTranslate(s),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:s,touches:u}=e;s.velocities.length===0&&s.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:be()})}function a(s){let{currentPos:u}=s;if(e.params.cssMode)return;const{params:c,wrapperEl:f,rtlTranslate:m,snapGrid:v,touchEventsData:g}=e,E=be()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<v.length?e.slideTo(v.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(g.velocities.length>1){const y=g.velocities.pop(),S=g.velocities.pop(),C=y.position-S.position,k=y.time-S.time;e.velocity=C/k,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(k>150||be()-y.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 b=e.velocity*p;let h=e.translate+b;m&&(h=-h);let x=!1,w;const A=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-A&&(h=e.maxTranslate()-A),w=e.maxTranslate(),x=!0,g.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>A&&(h=e.minTranslate()+A),w=e.minTranslate(),x=!0,g.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let y;for(let S=0;S<v.length;S+=1)if(v[S]>-h){y=S;break}Math.abs(v[y]-h)<Math.abs(v[y-1]-h)||e.swipeDirection==="next"?h=v[y]:h=v[y-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-h-e.translate)/e.velocity):p=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const y=Math.abs((m?-h:h)-e.translate),S=e.slidesSizesGrid[e.activeIndex];y<S?p=c.speed:y<2*S?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&x?(e.updateProgress(w),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,xt(f,()=>{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(w),xt(f,()=>{!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,xt(f,()=>{!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||E>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:a}})}let Dt;function Tn(){const t=pe(),e=Se();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function pi(){return Dt||(Dt=Tn()),Dt}let kt;function xn(t){let{userAgent:e}=t===void 0?{}:t;const i=pi(),n=pe(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},a=n.screen.width,s=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const f=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v=o==="Win32";let g=o==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&i.touch&&T.indexOf(`${a}x${s}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!v&&(r.os="android",r.android=!0),(c||m||f)&&(r.os="ios",r.ios=!0),r}function fi(t){return t===void 0&&(t={}),kt||(kt=xn(t)),kt}let At;function Cn(){const t=pe(),e=fi();let i=!1;function n(){const a=t.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(n()){const a=String(t.navigator.userAgent);if(a.includes("Version/")){const[s,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=s<16||s===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 En(){return At||(At=Cn()),At}function In(t){let{swiper:e,on:i,emit:n}=t;const o=pe();let l=null,r=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(f=>{r=o.requestAnimationFrame(()=>{const{width:m,height:v}=e;let g=m,T=v;f.forEach(E=>{let{contentBoxSize:p,contentRect:b,target:h}=E;h&&h!==e.el||(g=b?b.width:(p[0]||p).inlineSize,T=b?b.height:(p[0]||p).blockSize)}),(g!==m||T!==v)&&a()})}),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"){s();return}o.addEventListener("resize",a),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",a),o.removeEventListener("orientationchange",c)})}function Dn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=pe(),a=function(c,f){f===void 0&&(f={});const m=r.MutationObserver||r.WebkitMutationObserver,v=new m(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const T=function(){o("observerUpdate",g[0])};r.requestAnimationFrame?r.requestAnimationFrame(T):r.setTimeout(T,0)});v.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),l.push(v)},s=()=>{if(e.params.observer){if(e.params.observeParents){const c=ci(e.hostEl);for(let f=0;f<c.length;f+=1)a(c[f])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},u=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",s),n("destroy",u)}var kn={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),a=0;a<l;a++)r[a]=arguments[a];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(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[s,...i])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(u=>{u.apply(n,i)})}),t}};function An(){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(Oe(n,"padding-left")||0,10)-parseInt(Oe(n,"padding-right")||0,10),i=i-parseInt(Oe(n,"padding-top")||0,10)-parseInt(Oe(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 Pn(){const t=this;function e(C,k){return parseFloat(C.getPropertyValue(t.getDirectionLabel(k))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:a}=t,s=t.virtual&&i.virtual.enabled,u=s?t.virtual.slides.length:t.slides.length,c=Ce(o,`.${t.params.slideClass}, swiper-slide`),f=s?t.virtual.slides.length:c.length;let m=[];const v=[],g=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let E=i.slidesOffsetAfter;typeof E=="function"&&(E=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,b=t.slidesGrid.length;let h=i.spaceBetween,x=-T,w=0,A=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(C=>{r?C.style.marginLeft="":C.style.marginRight="",C.style.marginBottom="",C.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(at(n,"--swiper-centered-offset-before",""),at(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 y;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(C=>typeof i.breakpoints[C].slidesPerView<"u").length>0;for(let C=0;C<f;C+=1){y=0;let k;if(c[C]&&(k=c[C]),M&&t.grid.updateSlide(C,k,c),!(c[C]&&Oe(k,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[C].style[t.getDirectionLabel("width")]="");const I=getComputedStyle(k),D=k.style.transform,P=k.style.webkitTransform;if(D&&(k.style.transform="none"),P&&(k.style.webkitTransform="none"),i.roundLengths)y=t.isHorizontal()?Ct(k,"width",!0):Ct(k,"height",!0);else{const j=e(I,"width"),N=e(I,"padding-left"),F=e(I,"padding-right"),z=e(I,"margin-left"),B=e(I,"margin-right"),_=I.getPropertyValue("box-sizing");if(_&&_==="border-box")y=j+z+B;else{const{clientWidth:O,offsetWidth:V}=k;y=j+N+F+z+B+(V-O)}}D&&(k.style.transform=D),P&&(k.style.webkitTransform=P),i.roundLengths&&(y=Math.floor(y))}else y=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(y=Math.floor(y)),c[C]&&(c[C].style[t.getDirectionLabel("width")]=`${y}px`);c[C]&&(c[C].swiperSlideSize=y),g.push(y),i.centeredSlides?(x=x+y/2+w/2+h,w===0&&C!==0&&(x=x-l/2-h),C===0&&(x=x-l/2-h),Math.abs(x)<1/1e3&&(x=0),i.roundLengths&&(x=Math.floor(x)),A%i.slidesPerGroup===0&&m.push(x),v.push(x)):(i.roundLengths&&(x=Math.floor(x)),(A-Math.min(t.params.slidesPerGroupSkip,A))%t.params.slidesPerGroup===0&&m.push(x),v.push(x),x=x+y+h),t.virtualSize+=y+h,w=y,A+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+E,r&&a&&(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(y,m),!i.centeredSlides){const C=[];for(let k=0;k<m.length;k+=1){let I=m[k];i.roundLengths&&(I=Math.floor(I)),m[k]<=t.virtualSize-l&&C.push(I)}m=C,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(s&&i.loop){const C=g[0]+h;if(i.slidesPerGroup>1){const k=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),I=C*i.slidesPerGroup;for(let D=0;D<k;D+=1)m.push(m[m.length-1]+I)}for(let k=0;k<t.virtual.slidesBefore+t.virtual.slidesAfter;k+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+C),v.push(v[v.length-1]+C),t.virtualSize+=C}if(m.length===0&&(m=[0]),h!==0){const C=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((k,I)=>!i.cssMode||i.loop?!0:I!==c.length-1).forEach(k=>{k.style[C]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let C=0;g.forEach(I=>{C+=I+(h||0)}),C-=h;const k=C-l;m=m.map(I=>I<=0?-T:I>k?k+E:I)}if(i.centerInsufficientSlides){let C=0;if(g.forEach(k=>{C+=k+(h||0)}),C-=h,C<l){const k=(l-C)/2;m.forEach((I,D)=>{m[D]=I-k}),v.forEach((I,D)=>{v[D]=I+k})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:v,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){at(n,"--swiper-centered-offset-before",`${-m[0]}px`),at(n,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const C=-t.snapGrid[0],k=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(I=>I+C),t.slidesGrid=t.slidesGrid.map(I=>I+k)}if(f!==u&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),v.length!==b&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const C=`${i.containerModifierClass}backface-hidden`,k=t.el.classList.contains(C);f<=i.maxBackfaceHiddenSlides?k||t.el.classList.add(C):k&&t.el.classList.remove(C)}}function _n(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=a=>n?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{i.push(a)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const a=e.activeIndex+l;if(a>e.slides.length&&!n)break;i.push(r(a))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const a=i[l].offsetHeight;o=a>o?a:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Mn(){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 On(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(s=>{s.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let s=0;s<n.length;s+=1){const u=n[s];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const f=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+a),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+a),v=-(r-c),g=v+e.slidesSizesGrid[s],T=v>=0&&v<=e.size-e.slidesSizesGrid[s];(v>=0&&v<e.size-1||g>1&&g<=e.size||v<=0&&g>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(s),n[s].classList.add(i.slideVisibleClass)),T&&n[s].classList.add(i.slideFullyVisibleClass),u.progress=o?-f:f,u.originalProgress=o?-m:m}}function Ln(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:a}=e;const s=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,f=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=f||o>=1,c&&(o=0),f&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],v=e.slidesGrid[f],g=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=m?a=(T-m)/g:a=(T+g-v)/g,a>1&&(a-=1)}Object.assign(e,{progress:o,progressLoop:a,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!s&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(s&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function jn(){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,a=f=>Ce(n,`.${i.slideClass}${f}, swiper-slide${f}`)[0];e.forEach(f=>{f.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let s,u,c;if(l)if(i.loop){let f=o-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),s=a(`[data-swiper-slide-index="${f}"]`)}else s=a(`[data-swiper-slide-index="${o}"]`);else r?(s=e.filter(f=>f.column===o)[0],c=e.filter(f=>f.column===o+1)[0],u=e.filter(f=>f.column===o-1)[0]):s=e[o];s&&(s.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=bn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=gn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const ut=(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()}},Pt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},_t=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,a=[r-e];a.push(...Array.from({length:e}).map((s,u)=>r+n+u)),t.slides.forEach((s,u)=>{a.includes(s.column)&&Pt(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 a=(r%i+i)%i;(a<o||a>l)&&Pt(t,a)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&Pt(t,r)};function Nn(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 Bn(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:a}=e;let s=t,u;const c=v=>{let g=v-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 s>"u"&&(s=Nn(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const v=Math.min(o.slidesPerGroupSkip,s);u=v+Math.floor((s-v)/o.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),s===l&&!e.params.loop){u!==a&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(s===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(s);return}const f=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=c(s);else if(f){const v=e.slides.filter(T=>T.column===s)[0];let g=parseInt(v.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(v),0)),m=Math.floor(g/o.grid.rows)}else if(e.slides[s]){const v=e.slides[s].getAttribute("data-swiper-slide-index");v?m=parseInt(v,10):m=s}else m=s;Object.assign(e,{previousSnapIndex:a,snapIndex:u,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:s}),e.initialized&&_t(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function zn(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(a=>{!o&&a.matches&&a.matches(`.${n.slideClass}, swiper-slide`)&&(o=a)});let l=!1,r;if(o){for(let a=0;a<i.slides.length;a+=1)if(i.slides[a]===o){l=!0,r=a;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 Vn={updateSize:An,updateSlides:Pn,updateAutoHeight:_n,updateSlidesOffset:Mn,updateSlidesProgress:On,updateProgress:Ln,updateSlidesClasses:jn,updateActiveIndex:Bn,updateClickedSlide:zn};function Fn(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=vn(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Hn(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let a=0,s=0;const u=0;i.isHorizontal()?a=n?-t:t:s=t,o.roundLengths&&(a=Math.floor(a),s=Math.floor(s)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:s,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-s:o.virtualTranslate||(i.isHorizontal()?a-=i.cssOverflowAdjustment():s-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${a}px, ${s}px, ${u}px)`);let c;const f=i.maxTranslate()-i.minTranslate();f===0?c=0:c=(t-i.minTranslate())/f,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Un(){return-this.snapGrid[0]}function Gn(){return-this.snapGrid[this.snapGrid.length-1]}function Wn(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:a}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const s=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>s?c=s:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const f=l.isHorizontal();if(e===0)a[f?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return di({swiper:l,targetPosition:-c,side:f?"left":"top"}),!0;a.scrollTo({[f?"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(m){!l||l.destroyed||m.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 $n={getTranslate:Fn,setTranslate:Hn,minTranslate:Un,maxTranslate:Gn,translateTo:Wn};function qn(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 vi(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let a=n;if(a||(l>r?a="next":l<r?a="prev":a="reset"),e.emit(`transition${o}`),i&&l!==r){if(a==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),a==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function Yn(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),vi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Xn(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),vi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Jn={setTransition:qn,transitionStart:Yn,transitionEnd:Xn};function Qn(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:a,snapGrid:s,slidesGrid:u,previousIndex:c,activeIndex:f,rtlTranslate:m,wrapperEl:v,enabled:g}=l;if(l.animating&&a.preventInteractionOnTransition||!g&&!n&&!o||l.destroyed)return!1;const T=Math.min(l.params.slidesPerGroupSkip,r);let E=T+Math.floor((r-T)/l.params.slidesPerGroup);E>=s.length&&(E=s.length-1);const p=-s[E];if(a.normalizeSlideIndex)for(let h=0;h<u.length;h+=1){const x=-Math.floor(p*100),w=Math.floor(u[h]*100),A=Math.floor(u[h+1]*100);typeof u[h+1]<"u"?x>=w&&x<A-(A-w)/2?r=h:x>=w&&x<A&&(r=h+1):x>=w&&(r=h)}if(l.initialized&&r!==f&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(f||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let b;if(r>f?b="next":r<f?b="prev":b="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(r),a.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),a.effect!=="slide"&&l.setTranslate(p),b!=="reset"&&(l.transitionStart(i,b),l.transitionEnd(i,b)),!1;if(a.cssMode){const h=l.isHorizontal(),x=m?p:-p;if(e===0){const w=l.virtual&&l.params.virtual.enabled;w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),w&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{v[h?"scrollLeft":"scrollTop"]=x})):v[h?"scrollLeft":"scrollTop"]=x,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return di({swiper:l,targetPosition:x,side:h?"left":"top"}),!0;v.scrollTo({[h?"left":"top"]:x,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,b),e===0?l.transitionEnd(i,b):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(x){!l||l.destroyed||x.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,b))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Kn(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 a;if(l){const m=r*o.params.grid.rows;a=o.slides.filter(v=>v.getAttribute("data-swiper-slide-index")*1===m)[0].column}else a=o.getSlideIndexByData(r);const s=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 f=s-a<c;if(u&&(f=f||a<Math.ceil(c/2)),f){const m=u?a<o.activeIndex?"prev":"next":a-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?a+1:a-s+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(v=>v.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function Zn(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 a=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const s=n.activeIndex<l.slidesPerGroupSkip?1:a,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+s,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+s,t,e,i)}function Rn(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:a,enabled:s,animating:u}=n;if(!s||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 f=a?n.translate:-n.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const v=m(f),g=l.map(p=>m(p));let T=l[g.indexOf(v)-1];if(typeof T>"u"&&o.cssMode){let p;l.forEach((b,h)=>{v>=b&&(p=h)}),typeof p<"u"&&(T=l[p>0?p-1:p])}let E=0;if(typeof T<"u"&&(E=r.indexOf(T),E<0&&(E=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(E=E-n.slidesPerViewDynamic("previous",!0)+1,E=Math.max(E,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(E,t,e,i)}),!0;return n.slideTo(E,t,e,i)}function eo(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 to(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),a=r+Math.floor((l-r)/o.params.slidesPerGroup),s=o.rtlTranslate?o.translate:-o.translate;if(s>=o.snapGrid[a]){const u=o.snapGrid[a],c=o.snapGrid[a+1];s-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[a-1],c=o.snapGrid[a];s-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 io(){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(Ce(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),qe(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Ce(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),qe(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var no={slideTo:Qn,slideToLoop:Kn,slideNext:Zn,slidePrev:Rn,slideReset:eo,slideToClosest:to,slideToClickedSlide:io};function oo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Ce(n,`.${i.slideClass}, swiper-slide`).forEach((f,m)=>{f.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),a=e.slides.length%r!==0,s=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let f=0;f<c;f+=1){const m=e.isElement?et("swiper-slide",[i.slideBlankClass]):et("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(a){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else dt("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(s){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else dt("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 lo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:a}=t===void 0?{}:t;const s=this;if(!s.params.loop)return;s.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:f,slidesEl:m,params:v}=s,{centeredSlides:g}=v;if(s.allowSlidePrev=!0,s.allowSlideNext=!0,s.virtual&&v.virtual.enabled){i&&(!v.centeredSlides&&s.snapIndex===0?s.slideTo(s.virtual.slides.length,0,!1,!0):v.centeredSlides&&s.snapIndex<v.slidesPerView?s.slideTo(s.virtual.slides.length+s.snapIndex,0,!1,!0):s.snapIndex===s.snapGrid.length-1&&s.slideTo(s.virtual.slidesBefore,0,!1,!0)),s.allowSlidePrev=c,s.allowSlideNext=f,s.emit("loopFix");return}let T=v.slidesPerView;T==="auto"?T=s.slidesPerViewDynamic():(T=Math.ceil(parseFloat(v.slidesPerView,10)),g&&T%2===0&&(T=T+1));const E=v.slidesPerGroupAuto?T:v.slidesPerGroup;let p=E;p%E!==0&&(p+=E-p%E),p+=v.loopAdditionalSlides,s.loopedSlides=p;const b=s.grid&&v.grid&&v.grid.rows>1;u.length<T+p?dt("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"):b&&v.grid.fill==="row"&&dt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],x=[];let w=s.activeIndex;typeof l>"u"?l=s.getSlideIndex(u.filter(D=>D.classList.contains(v.slideActiveClass))[0]):w=l;const A=n==="next"||!n,M=n==="prev"||!n;let y=0,S=0;const C=b?Math.ceil(u.length/v.grid.rows):u.length,I=(b?u[l].column:l)+(g&&typeof o>"u"?-T/2+.5:0);if(I<p){y=Math.max(p-I,E);for(let D=0;D<p-I;D+=1){const P=D-Math.floor(D/C)*C;if(b){const j=C-P-1;for(let N=u.length-1;N>=0;N-=1)u[N].column===j&&h.push(N)}else h.push(C-P-1)}}else if(I+T>C-p){S=Math.max(I-(C-p*2),E);for(let D=0;D<S;D+=1){const P=D-Math.floor(D/C)*C;b?u.forEach((j,N)=>{j.column===P&&x.push(N)}):x.push(P)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),M&&h.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.prepend(u[D]),u[D].swiperLoopMoveDOM=!1}),A&&x.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.append(u[D]),u[D].swiperLoopMoveDOM=!1}),s.recalcSlides(),v.slidesPerView==="auto"?s.updateSlides():b&&(h.length>0&&M||x.length>0&&A)&&s.slides.forEach((D,P)=>{s.grid.updateSlide(P,D,s.slides)}),v.watchSlidesProgress&&s.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const D=s.slidesGrid[w],j=s.slidesGrid[w+y]-D;a?s.setTranslate(s.translate-j):(s.slideTo(w+Math.ceil(y),0,!1,!0),o&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-j,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-j))}else if(o){const D=b?h.length/v.grid.rows:h.length;s.slideTo(s.activeIndex+D,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(x.length>0&&A)if(typeof e>"u"){const D=s.slidesGrid[w],j=s.slidesGrid[w-S]-D;a?s.setTranslate(s.translate-j):(s.slideTo(w-S,0,!1,!0),o&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-j,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-j))}else{const D=b?x.length/v.grid.rows:x.length;s.slideTo(s.activeIndex-D,0,!1,!0)}}if(s.allowSlidePrev=c,s.allowSlideNext=f,s.controller&&s.controller.control&&!r){const D={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...D,slideTo:P.params.slidesPerView===v.slidesPerView?i:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...D,slideTo:s.controller.control.params.slidesPerView===v.slidesPerView?i:!1})}s.emit("loopFix")}function so(){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 ro={loopCreate:oo,loopFix:lo,loopDestroy:so};function ao(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 co(){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 uo={setGrabCursor:ao,unsetGrabCursor:co};function po(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Se()||n===pe())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 mi(t,e,i){const n=pe(),{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 fo(t){const e=this,i=Se();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"){mi(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:a}=e;if(!a||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let s=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"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&&(s=c[0]);const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?po(f,s):s.closest(f))){e.allowClick=!0;return}if(l.swipeHandler&&!s.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const v=r.currentX,g=r.currentY;if(!mi(e,n,v))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=v,r.startY=g,o.touchStartTime=be(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let T=!0;s.matches(o.focusableElements)&&(T=!1,s.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==s&&i.activeElement.blur();const E=T&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||E)&&!s.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function vo(t){const e=Se(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:a}=i;if(!a||!o.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(n.touchId!==null||s.pointerId!==n.pointerId))return;let u;if(s.type==="touchmove"){if(u=[...s.changedTouches].filter(A=>A.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=s;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",s);return}const c=u.pageX,f=u.pageY;if(s.preventedByNestedSwiper){l.startX=c,l.startY=f;return}if(!i.allowTouchMove){s.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:f,currentX:c,currentY:f}),n.touchStartTime=be());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(f<l.startY&&i.translate<=i.maxTranslate()||f>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&&s.target===e.activeElement&&s.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",s),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=f;const m=l.currentX-l.startX,v=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+v**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let A;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+v*v>=25&&(A=Math.atan2(Math.abs(v),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?A>o.touchAngle:90-A>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",s),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&&s.cancelable&&s.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&s.stopPropagation();let g=i.isHorizontal()?m:v,T=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(g=Math.abs(g)*(r?1:-1),T=Math.abs(T)*(r?1:-1)),l.diff=g,g*=o.touchRatio,r&&(g=-g,T=-T);const E=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const p=i.params.loop&&!o.cssMode,b=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const A=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(A)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",s)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&E!==i.touchesDirection&&p&&b&&Math.abs(g)>=1){Object.assign(l,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",s),n.isMoved=!0,n.currentTranslate=g+n.startTranslate;let x=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),g>0?(p&&b&&!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()&&(x=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**w))):g<0&&(p&&b&&!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()&&(x=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**w))),x&&(s.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 mo(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(w=>w.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:a,rtlTranslate:s,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 f=be(),m=f-i.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),m<300&&f-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=be(),qe(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||a.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 v;if(r.followFinger?v=s?e.translate:-e.translate:v=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:v});return}const g=v>=-e.maxTranslate()&&!e.params.loop;let T=0,E=e.slidesSizesGrid[0];for(let w=0;w<u.length;w+=w<r.slidesPerGroupSkip?1:r.slidesPerGroup){const A=w<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[w+A]<"u"?(g||v>=u[w]&&v<u[w+A])&&(T=w,E=u[w+A]-u[w]):(g||v>=u[w])&&(T=w,E=u[u.length-1]-u[u.length-2])}let p=null,b=null;r.rewind&&(e.isBeginning?b=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const h=(v-u[T])/E,x=T<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:T+x):e.slideTo(T)),e.swipeDirection==="prev"&&(h>1-r.longSwipesRatio?e.slideTo(T+x):b!==null&&h<0&&Math.abs(h)>r.longSwipesRatio?e.slideTo(b):e.slideTo(T))}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(T+x):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:T+x),e.swipeDirection==="prev"&&e.slideTo(b!==null?b:T))}}function hi(){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 a=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!a?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 ho(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function go(){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 bo(t){const e=this;ut(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function yo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const gi=(t,e)=>{const i=Se(),{params:n,el:o,wrapperEl:l,device:r}=t,a=!!n.nested,s=e==="on"?"addEventListener":"removeEventListener",u=e;i[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),o[s]("touchstart",t.onTouchStart,{passive:!1}),o[s]("pointerdown",t.onTouchStart,{passive:!1}),i[s]("touchmove",t.onTouchMove,{passive:!1,capture:a}),i[s]("pointermove",t.onTouchMove,{passive:!1,capture:a}),i[s]("touchend",t.onTouchEnd,{passive:!0}),i[s]("pointerup",t.onTouchEnd,{passive:!0}),i[s]("pointercancel",t.onTouchEnd,{passive:!0}),i[s]("touchcancel",t.onTouchEnd,{passive:!0}),i[s]("pointerout",t.onTouchEnd,{passive:!0}),i[s]("pointerleave",t.onTouchEnd,{passive:!0}),i[s]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[s]("click",t.onClick,!0),n.cssMode&&l[s]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",hi,!0):t[u]("observerUpdate",hi,!0),o[s]("load",t.onLoad,{capture:!0})};function wo(){const t=this,{params:e}=t;t.onTouchStart=fo.bind(t),t.onTouchMove=vo.bind(t),t.onTouchEnd=mo.bind(t),t.onDocumentTouchStart=yo.bind(t),e.cssMode&&(t.onScroll=go.bind(t)),t.onClick=ho.bind(t),t.onLoad=bo.bind(t),gi(t,"on")}function So(){gi(this,"off")}var To={attachEvents:wo,detachEvents:So};const bi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function xo(){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 s=(r in l?l[r]:void 0)||t.originalParams,u=bi(t,n),c=bi(t,s),f=n.enabled;u&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof s[p]>"u")return;const b=n[p]&&n[p].enabled,h=s[p]&&s[p].enabled;b&&!h&&t[p].disable(),!b&&h&&t[p].enable()});const m=s.direction&&s.direction!==n.direction,v=n.loop&&(s.slidesPerView!==n.slidesPerView||m),g=n.loop;m&&i&&t.changeDirection(),ge(t.params,s);const T=t.params.enabled,E=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!T?t.disable():!f&&T&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",s),i&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&E?(t.loopCreate(e),t.updateSlides()):g&&!E&&t.loopDestroy()),t.emit("breakpoint",s)}function Co(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=pe(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const s=parseFloat(a.substr(1));return{value:l*s,point:a}}return{value:a,point:a}});r.sort((a,s)=>parseInt(a.value,10)-parseInt(s.value,10));for(let a=0;a<r.length;a+=1){const{point:s,value:u}=r[a];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=s):u<=i.clientWidth&&(n=s)}return n||"max"}var Eo={setBreakpoint:xo,getBreakpoint:Co};function Io(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 Do(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=Io(["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 ko(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Ao={addClasses:Do,removeClasses:ko};function Po(){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 _o={checkOverflow:Po},Mt={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 Mo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){ge(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)){ge(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),ge(e,n)}}const Ot={eventsEmitter:kn,update:Vn,translate:$n,transition:Jn,slide:no,loop:ro,grabCursor:uo,events:To,breakpoints:Eo,checkOverflow:_o,classes:Ao},Lt={};let jt=class _e{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=ge({},i),e&&!i.el&&(i.el=e);const r=Se();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(f=>{const m=ge({},i,{el:f});c.push(new _e(m))}),c}const a=this;a.__swiper__=!0,a.support=pi(),a.device=fi({userAgent:i.userAgent}),a.browser=En(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const s={};a.modules.forEach(c=>{c({params:i,swiper:a,extendParams:Mo(i,s),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=ge({},Mt,s);return a.params=ge({},u,Lt,i),a.originalParams=ge({},a.params),a.passedParams=ge({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.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:a.params.allowSlideNext,allowSlidePrev:a.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:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}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=Ce(i,`.${n.slideClass}, swiper-slide`),l=ct(o[0]);return ct(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=Ce(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:a,size:s,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let f=l[u]?Math.ceil(l[u].swiperSlideSize):0,m;for(let v=u+1;v<l.length;v+=1)l[v]&&!m&&(f+=Math.ceil(l[v].swiperSlideSize),c+=1,f>s&&(m=!0));for(let v=u-1;v>=0;v-=1)l[v]&&!m&&(f+=l[v].swiperSlideSize,c+=1,f>s&&(m=!0))}else if(e==="current")for(let f=u+1;f<l.length;f+=1)(i?r[f]+a[f]-r[u]<s:r[f]-r[u]<s)&&(c+=1);else for(let f=u-1;f>=0;f-=1)r[u]-r[f]<s&&(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&&ut(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(a),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()):Ce(n,o())[0];return!r&&i.params.createElements&&(r=et("div",i.params.wrapperClass),n.append(r),Ce(n,`.${i.params.slideClass}`).forEach(a=>{r.append(a)})),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"||Oe(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Oe(n,"direction")==="rtl"),wrongRTL:Oe(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?ut(i,l):l.addEventListener("load",r=>{ut(i,r.target)})}),_t(i),i.initialized=!0,_t(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:a}=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"),a&&a.length&&a.forEach(s=>{s.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(s=>{n.off(s)}),e!==!1&&(n.el.swiper=null,pn(n)),n.destroyed=!0),null}static extendDefaults(e){ge(Lt,e)}static get extendedDefaults(){return Lt}static get defaults(){return Mt}static installModule(e){_e.prototype.__modules__||(_e.prototype.__modules__=[]);const i=_e.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>_e.installModule(i)),_e):(_e.installModule(e),_e)}};Object.keys(Ot).forEach(t=>{Object.keys(Ot[t]).forEach(e=>{jt.prototype[e]=Ot[t][e]})}),jt.use([In,Dn]);const yi=["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 Fe(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Xe(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]:Fe(e[n])&&Fe(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Xe(t[n],e[n]):t[n]=e[n]})}function wi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Si(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Ti(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function xi(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 Oo(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Lo(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:a,paginationEl:s}=t;const u=o.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:f,navigation:m,scrollbar:v,virtual:g,thumbs:T}=e;let E,p,b,h,x,w,A,M;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(E=!0),o.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(c.pagination||c.pagination===!1)&&f&&!f.el&&(b=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&v&&!v.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(x=!0);const y=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?w=!0:!c.loop&&n.loop?A=!0:M=!0),u.forEach(S=>{if(Fe(c[S])&&Fe(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&y(S);else{const C=n[S];(C===!0||C===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?C===!1&&y(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),E&&T.init()&&T.update(!0),p&&(e.controller.control=c.controller.control),b&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(c.pagination.el=s),f.init(),f.render(),f.update()),h&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),v.init(),v.updateSize(),v.setTranslate()),x&&(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),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(w||M)&&e.loopDestroy(),(A||M)&&e.loopCreate(),e.update()}function jo(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};Xe(i,Mt),i._emitClasses=!0,i.init=!1;const l={},r=yi.map(s=>s.replace(/_/,"")),a=Object.assign({},t);return Object.keys(a).forEach(s=>{typeof t[s]>"u"||(r.indexOf(s)>=0?Fe(t[s])?(i[s]={},o[s]={},Xe(i[s],t[s]),Xe(o[s],t[s])):(i[s]=t[s],o[s]=t[s]):s.search(/on[A-Z]/)===0&&typeof t[s]=="function"?e?n[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:i.on[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:l[s]=t[s])}),["navigation","pagination","scrollbar"].forEach(s=>{i[s]===!0&&(i[s]={}),i[s]===!1&&delete i[s]}),{params:i,passedParams:o,rest:l,events:n}}function No(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:a}=t;wi(e)&&n&&o&&(a.params.navigation.nextEl=n,a.originalParams.navigation.nextEl=n,a.params.navigation.prevEl=o,a.originalParams.navigation.prevEl=o),Si(e)&&l&&(a.params.pagination.el=l,a.originalParams.pagination.el=l),Ti(e)&&r&&(a.params.scrollbar.el=r,a.originalParams.scrollbar.el=r),a.init(i)}function Bo(t,e,i,n,o){const l=[];if(!e)return l;const r=s=>{l.indexOf(s)<0&&l.push(s)};if(i&&n){const s=n.map(o),u=i.map(o);s.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return yi.filter(s=>s[0]==="_").map(s=>s.replace(/_/,"")).forEach(s=>{if(s in t&&s in e)if(Fe(t[s])&&Fe(e[s])){const u=Object.keys(t[s]),c=Object.keys(e[s]);u.length!==c.length?r(s):(u.forEach(f=>{t[s][f]!==e[s][f]&&r(s)}),c.forEach(f=>{t[s][f]!==e[s][f]&&r(s)}))}else t[s]!==e[s]&&r(s)}),l}const zo=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 pt(){return pt=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},pt.apply(this,arguments)}function Ci(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Ei(t){const e=[];return d.Children.toArray(t).forEach(i=>{Ci(i)?e.push(i):i.props&&i.props.children&&Ei(i.props.children).forEach(n=>e.push(n))}),e}function Vo(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return d.Children.toArray(t).forEach(n=>{if(Ci(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=Ei(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 Fo(t,e,i){if(!i)return null;const n=c=>{let f=c;return c<0?f=e.length+c:f>=e.length&&(f=f-e.length),f},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,a=t.params.loop?-e.length:0,s=t.params.loop?e.length*2:e.length,u=[];for(let c=a;c<s;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,f)=>d.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${f}`}))}function tt(t,e){return typeof window>"u"?d.useEffect(t,e):d.useLayoutEffect(t,e)}const Nt=d.createContext(null),Ii=()=>d.useContext(Nt),Ho=d.createContext(null),Je=d.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...a}=t===void 0?{}:t,s=!1;const[u,c]=d.useState("swiper"),[f,m]=d.useState(null),[v,g]=d.useState(!1),T=d.useRef(!1),E=d.useRef(null),p=d.useRef(null),b=d.useRef(null),h=d.useRef(null),x=d.useRef(null),w=d.useRef(null),A=d.useRef(null),M=d.useRef(null),{params:y,passedParams:S,rest:C,events:k}=jo(a),{slides:I,slots:D}=Vo(l),P=()=>{g(!v)};Object.assign(y.on,{_containerClasses(B,_){c(_)}});const j=()=>{Object.assign(y.on,k),s=!0;const B={...y};if(delete B.wrapperClass,p.current=new jt(B),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=I;const _={cache:!1,slides:I,renderExternal:m,renderExternalUpdate:!1};Xe(p.current.params.virtual,_),Xe(p.current.originalParams.virtual,_)}};E.current||j(),p.current&&p.current.on("_beforeBreakpoint",P);const N=()=>{s||!k||!p.current||Object.keys(k).forEach(B=>{p.current.on(B,k[B])})},F=()=>{!k||!p.current||Object.keys(k).forEach(B=>{p.current.off(B,k[B])})};d.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",P)}),d.useEffect(()=>{!T.current&&p.current&&(p.current.emitSlidesClasses(),T.current=!0)}),tt(()=>{if(e&&(e.current=E.current),!!E.current)return p.current.destroyed&&j(),No({el:E.current,nextEl:x.current,prevEl:w.current,paginationEl:A.current,scrollbarEl:M.current,swiper:p.current},y),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),tt(()=>{N();const B=Bo(S,b.current,I,h.current,_=>_.key);return b.current=S,h.current=I,B.length&&p.current&&!p.current.destroyed&&Lo({swiper:p.current,slides:I,passedParams:S,changedParams:B,nextEl:x.current,prevEl:w.current,scrollbarEl:M.current,paginationEl:A.current}),()=>{F()}}),tt(()=>{zo(p.current)},[f]);function z(){return y.virtual?Fo(p.current,I,f):I.map((B,_)=>d.cloneElement(B,{swiper:p.current,swiperSlideIndex:_}))}return d.createElement(n,pt({ref:E,className:xi(`${u}${i?` ${i}`:""}`)},C),d.createElement(Ho.Provider,{value:p.current},D["container-start"],d.createElement(o,{className:Oo(y.wrapperClass)},D["wrapper-start"],z(),D["wrapper-end"]),wi(y)&&d.createElement(d.Fragment,null,d.createElement("div",{ref:w,className:"swiper-button-prev"}),d.createElement("div",{ref:x,className:"swiper-button-next"})),Ti(y)&&d.createElement("div",{ref:M,className:"swiper-scrollbar"}),Si(y)&&d.createElement("div",{ref:A,className:"swiper-pagination"}),D["container-end"]))});Je.displayName="Swiper";const De=d.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:a,virtualIndex:s,swiperSlideIndex:u,...c}=t===void 0?{}:t;const f=d.useRef(null),[m,v]=d.useState("swiper-slide"),[g,T]=d.useState(!1);function E(x,w,A){w===f.current&&v(A)}tt(()=>{if(typeof u<"u"&&(f.current.swiperSlideIndex=u),e&&(e.current=f.current),!(!f.current||!l)){if(l.destroyed){m!=="swiper-slide"&&v("swiper-slide");return}return l.on("_slideClass",E),()=>{l&&l.off("_slideClass",E)}}}),tt(()=>{l&&f.current&&!l.destroyed&&v(l.getSlideClasses(f.current))},[l]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},b=()=>typeof n=="function"?n(p):n,h=()=>{T(!0)};return d.createElement(i,pt({ref:f,className:xi(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":s,onLoad:h},c),r&&d.createElement(Nt.Provider,{value:p},d.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},b(),a&&!g&&d.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&d.createElement(Nt.Provider,{value:p},b(),a&&!g&&d.createElement("div",{className:"swiper-lazy-preloader"})))});De.displayName="SwiperSlide";function ke(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=R(),o=d.useCallback((r,a,s,u)=>{var c,f,m,v,g,T,E,p,b,h,x,w,A,M;let y="";e&&(!((f=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||f===void 0)&&f.length||!((m=r?.video)===null||m===void 0)&&m.bindProduct)?y="pdpPage":n?y="hashTagPage":!((v=r?.video)===null||v===void 0)&&v.url?y="videoPage":!((g=r?.video)===null||g===void 0)&&g.imgUrls&&(!((E=(T=r?.video)===null||T===void 0?void 0:T.imgUrls)===null||E===void 0)&&E.length)?y="imagePage":r?.product&&(y="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=a?.itemId)!==null&&p!==void 0?p:"",productName:(b=a?.title)!==null&&b!==void 0?b:"",price:a?.price?a?.price+"":"0",productCollection:(h=a?.collection)!==null&&h!==void 0?h:"",fromKName:y,fromKPage:location?.href,contentTags:a?.tags?JSON.stringify(a?.tags):"",position:u+"",relatedContentId:(w=(x=r?.video)===null||x===void 0?void 0:x.itemId)!==null&&w!==void 0?w:"",relatedCtatId:(A=s?.itemId)!==null&&A!==void 0?A:"",traceInfo:(M=a?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=d.useCallback((r,a,s,u,c)=>{var f,m,v,g;let T="";e&&(!((m=(f=r?.video)===null||f===void 0?void 0:f.bindProducts)===null||m===void 0)&&m.length||!((v=r?.video)===null||v===void 0)&&v.bindProduct)?T="pdpPage":r?.product&&(T="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:T,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:c+"",relatedContentId:(g=r?.video)===null||g===void 0?void 0:g.itemId,relatedCtatId:s?.itemId,traceInfo:a?.traceInfo,timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const Uo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Go=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[a,s]=d.useState(!1),u=d.useRef(null);d.useEffect(()=>{const m=document.getElementById("sxp-render"),v=document.getElementById("pb-modal");v?u.current=v:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),m?.appendChild(u.current))},[]);const c=d.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(d.useEffect(()=>{c?s(!0):setTimeout(()=>{s(!1)},l?.duration)},[c,l]),!u.current)return null;const f=se.debounce(()=>{e?.()},300);return Jt.createPortal(d.createElement(d.Fragment,null,a&&d.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:f},d.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:m=>{m.stopPropagation(),m.preventDefault()}},d.createElement("div",{onClick:e,className:"modal-icon-wrapper"},d.createElement("img",{src:Uo,alt:"close",className:"modal-icon"})),i))),u.current)};var ft=d.memo(Go);const Wo=(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(" ")+" "},$o=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:a})=>{const[s,u]=d.useState(!0),[c,f]=d.useState(!1),m=Number(i?.lineClamp||2),v=d.useRef(null),g=d.useCallback(()=>{u(!s)},[s]);return d.useMemo(()=>!s&&t.length>e?Wo(t,e)+"...":t,[t,e,s]),d.useEffect(()=>{v.current&&a&&(u(!0),setTimeout(()=>{var T;f(!1);try{const E=(T=window?.getComputedStyle)===null||T===void 0?void 0:T.call(window,v.current),p=parseFloat(E?.height),b=parseFloat(E?.lineHeight),h=parseFloat(E?.fontSize)+6,x=isNaN(b)?h:b;t&&p>x*m&&(u(!1),f(!0))}catch{}},100))},[v,t,m,i,a]),d.createElement("div",{className:n,style:Object.assign({},i),hidden:!t||t===""},d.createElement("div",{ref:v,style:{overflow:"hidden",WebkitLineClamp:s?"":m,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),c&&t&&d.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??g},s?r||"show less":l||"show more"))};var Bt=d.memo($o);const qo=t=>{var e,i,n,o,l,r,a,s,{content:u,style:c,bgImg:f,onClick:m,schema:v,isDefault:g,bottom_image:T,tipText:E,isPost:p,viewTime:b,rec:h,swiper:x,commodityStyles:w,buttonStyle:A,index:M}=t,y=ce(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:S}=R(),{popupDetailData:C,bffEventReport:k,isPreview:I,waterFallData:D}=R(),{jumpToWeb:P,productView:j}=ke(),N=d.useRef(null),[F,z]=d.useState(!1),B=p?h:C,_=p?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,O=p?(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,V=p?M:C?.index,de=()=>{_?.link&&(P(C,_,O,V),p||j(B,_,O,b||N.current,V),window.location.href=window.getJointUtmLink(_.link))};d.useEffect(()=>{const G=()=>{N.current=new Date};return G(),window.addEventListener("pageshow",G),()=>{window.removeEventListener("pageshow",G)}},[]);const fe=d.useMemo(()=>{var G,ie,K,ee,ne;return _?.currency&&_?.price?`${(K=(ie=(G=_?.currency)===null||G===void 0?void 0:G.split("-")[1])===null||ie===void 0?void 0:ie.toUpperCase())!==null&&K!==void 0?K:""}${(ne=(ee=_?.price)===null||ee===void 0?void 0:ee.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ne!==void 0?ne:""}`:"$7,000"},[_?.price,_?.currency]),re=I?375:window.innerWidth,H=({isPost:G})=>{var ie,K,ee;return d.createElement("div",null,d.createElement("div",{className:"pb-commondity-content-collection",style:w?.collection,hidden:!!_&&(!_?.collection||_?.collection==="")},(ie=_?.collection)!==null&&ie!==void 0?ie:"Tiffany Lock"),d.createElement("div",{className:"pb-commondity-content-title",style:w?.title,hidden:!!_&&!_?.title},(K=_?.title)!==null&&K!==void 0?K:"Pendant in Yellow Gold with Diamonds, Medium"),d.createElement("div",{className:"pb-commondity-content-price",style:w?.price,hidden:!!_&&!_?.price},fe),d.createElement("div",{hidden:!!_&&(!_?.info||_?.info==="")},d.createElement(Bt,{foldText:E?.foldText,unfoldText:E?.unfoldText,onClick:()=>z(!0),isPost:G,text:(ee=_?.info)!==null&&ee!==void 0?ee:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
1
|
+
(function(oe,se){typeof exports=="object"&&typeof module<"u"?se(exports,require("lodash"),require("uuid"),require("pako"),require("react"),require("qs"),require("@emotion/css"),require("@ant-design/pro-components"),require("react-dom"),require("eventemitter3")):typeof define=="function"&&define.amd?define(["exports","lodash","uuid","pako","react","qs","@emotion/css","@ant-design/pro-components","react-dom","eventemitter3"],se):(oe=typeof globalThis<"u"?globalThis:oe||self,se(oe.PUI={},oe.lodash,oe.uuid$1,oe.pako,oe.React,oe.qs,oe.css,oe.proComponents,oe.ReactDOM,oe.EventEmitter))})(this,function(oe,se,Li,ji,d,Xt,$,Ni,Bi,zi){"use strict";function Vi(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 Jt=Vi(Bi);function ce(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 ve(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 a(c){try{u(n.next(c))}catch(f){r(f)}}function s(c){try{u(n.throw(c))}catch(f){r(f)}}function u(c){c.done?l(c.value):o(c.value).then(a,s)}u((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Fi=/:\w+/g;var Qt=(t,e)=>ve(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:a,urlParams:s,name:u,queryString:c,headers:f,body:m}=e[o];let v=a;s&&Object.entries(s).forEach(([g,T])=>{v=v.replace(Fi,C=>C===g?T:C)}),c&&(v+=c),n[l]=u;try{const g=yield fetch(v,{method:r,headers:Object.assign({"Content-Type":"application/json"},f),body:JSON.stringify(m)}).then(T=>T.json());i[l]=g}catch(g){console.error("DataSource request error: ",g),i[l]={}}}return{$store:i,idMapName:n}});const Kt="SXP_TOKEN_INFO",Hi=(t,e)=>ve(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Kt);let a=JSON.parse(r||"{}");if(Date.now()>((i=a?.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;a=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(Kt,JSON.stringify(a))}}return a});function lt(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 Ui=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},Gi=()=>{const t=Li.v4();return t?.replaceAll?t.replaceAll("-",""):Ui(32)};function Zt(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=ji.inflate(n,{to:"string"});return JSON.parse(o)}let mt=null;const Wi={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class $i{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,mt)return mt;mt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Wi[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let ue=null;const qi={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{ue||(ue=new $i),n&&ue.setApiUrl(n),ue.setAppId(t),ue.setTenantId(e),ue.setEnv(i)},getDetail:t=>{if(!ue)return;const e=ue.getTenantId(),i=ue.getAppId(),n=ue.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ve(void 0,void 0,void 0,function*(){var l,r;const a=yield o.json(),s=Zt((l=a?.data)===null||l===void 0?void 0:l.data);if(s){const{$store:u}=yield Qt(n,(r=s?.dataSource)!==null&&r!==void 0?r:[]);a.data.data=s,Object.assign(a.data.data,{__STORE__:u})}return a}))},getSxpDetailByPageId:t=>ve(void 0,void 0,void 0,function*(){if(!ue)return;const e=ue.getTenantId(),i=ue.getAppId(),n=ue.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ve(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const a=Zt((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=a,r.data}))}),getSxpRecommendVideoData:t=>ve(void 0,void 0,void 0,function*(){if(!ue)return;const e=yield Hi(ue,t),i=lt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");se.isEmpty(n)&&(n=lt(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 Ie(){return d.useContext(li)}function Yi(){return d.useContext(oi)}const ht="feRealSessionIdKey",Rt=()=>{const t=Gi();return`${Date.now()}${t}`},Xi=()=>{let t=Qi();return t||(t=Rt(),window.sessionStorage.setItem(ht,t)),t},Ji=()=>{const t=Rt();window.sessionStorage.setItem(ht,t)},Qi=()=>window.sessionStorage.getItem(ht),ei="SXP_FAKE_USER_ID",Ki=()=>{let t=window.localStorage.getItem(ei);return se.isEmpty(t)&&(t=lt(36,62),window.localStorage.setItem(ei,t)),t};function Ve(t,e){const{appDomain:i}=R();return d.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const ti=d.createContext({rtcList:[]});var gt;(function(t){t[t.BFF=5]="BFF"})(gt||(gt={}));const Zi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Ri=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:a,appDomain:s,hashTagSize:u,loadingImage:c,isOpenHashTag:f=!1})=>{const[m,v]=d.useState([]),[g,T]=d.useState(!1),[C,p]=d.useState({rtc:"",requestId:""}),b=d.useRef(null),h=d.useRef(!1),[x,w]=d.useState(),[A,M]=d.useState(),[y,S]=d.useState(f),[E,k]=d.useState([]),[I,D]=d.useState(0),[P,j]=d.useState(!1);d.useEffect(()=>{S(f)},[f]);const N=d.useMemo(()=>e?.find(H=>H.type===gt.BFF),[e]),F=d.useCallback((H,U)=>{if(!N)return;const G=N.url,ie=Ki();if(U?.query){const K=Xt.stringify(U.query);H=`${H}?${K}`}return U.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${G}/api/v1${H}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},N.headers),{"x-user-id":ie}),U.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${G}/api/v1${H}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ie},N.headers),method:U.method,body:JSON.stringify(U.body)}).then(K=>K.json()).catch(K=>Promise.reject(K))},[N]),z=d.useCallback(H=>ve(void 0,void 0,void 0,function*(){var U,G,ie,K;if(H={maxSize:o,defaultSize:(U=H?.defaultSize)!==null&&U!==void 0?U:l,"itemFilter.itemId":H?.["itemFilter.itemId"],"itemFilter.itemType":H?.["itemFilter.itemType"],hashTag:H?.hashTag,traceInfo:H?.traceInfo},i){const ne=(K=(ie=(G=i?.split("&"))===null||G===void 0?void 0:G.filter(we=>{const je=we.split("=")[0];return Zi.includes(je)}))===null||ie===void 0?void 0:ie.join("&"))!==null&&K!==void 0?K:"";H=Object.assign(Object.assign({},H),{channel:decodeURIComponent(ne)})}const ee=yield F?.("/recommend/list",{method:"GET",query:H});if(ee?.success)return H?.hashTag||p({rtc:ee.data.rtc,requestId:ee.data.requestId}),ee?.data}),[F,i,o,l]),B=d.useCallback(()=>ve(void 0,void 0,void 0,function*(){var H,U;if(m.length<=0)return;const G=yield z({hashTag:A?.hashTag,"itemFilter.itemId":A?.itemId,"itemFilter.itemType":A?.itemType});v(m.concat((H=G?.recList)!==null&&H!==void 0?H:[])),k(E.concat((U=G?.recList)!==null&&U!==void 0?U:[]))}),[z,m,A,E]),_=d.useCallback(({userInfo:H,eventInfo:U})=>{if(!n)return;H||(H={});const G=Xi(),ie=Object.assign({sessionID:G,rtc:C.rtc,requestId:C.requestId},U),K=Object.entries(H).map(([ne,we])=>({name:ne,value:we})),ee=Object.entries(ie).map(([ne,we])=>we&&{name:ne,value:we}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",H),console.log("eventInfo:",ie),console.log("========= \u7ED3\u675F ========="),F?.("/event/report",{method:"POST",body:{userInfo:K,eventInfo:ee},type:"beacon"})},[F,C,n]),O=d.useCallback(H=>ve(void 0,void 0,void 0,function*(){const U=yield F?.("/recommend/like",{method:"POST",body:H});return U?.success}),[F]),V=d.useCallback(H=>ve(void 0,void 0,void 0,function*(){const U=yield F?.("/recommend/unlike",{method:"POST",body:H});return U?.success}),[F]),de=d.useCallback(H=>ve(void 0,void 0,void 0,function*(){const U=yield F?.("/customform",{method:"POST",body:H});return U?.success}),[F]),fe=d.useCallback((H,U,G,ie)=>{var K,ee,ne,we,je,Ke,nt,Ne,ot,He,Ze,Be;const me=G?.bindCta,Yt=((K=U?.video)===null||K===void 0?void 0:K.bindProduct)||((ee=U?.video)===null||ee===void 0?void 0:ee.bindProducts)&&((we=(ne=U?.video)===null||ne===void 0?void 0:ne.bindProducts)===null||we===void 0?void 0:we.length)>0;let Re="";P?Re="hashTagPage":!((je=U?.video)===null||je===void 0)&&je.url?Re="videoPage":!((nt=(Ke=U?.video)===null||Ke===void 0?void 0:Ke.imgUrls)===null||nt===void 0)&&nt.length&&(Re="imagePage"),_?.({eventInfo:Object.assign(Object.assign({},H),{ctaId:(Ne=me?.itemId)!==null&&Ne!==void 0?Ne:"",ctaName:(ot=me?.title)!==null&&ot!==void 0?ot:"",contentTags:JSON.stringify(me?.tags),position:ie+"",relatedContentId:(Ze=(He=U?.video)===null||He===void 0?void 0:He.itemId)!==null&&Ze!==void 0?Ze:"",relatedProductId:Yt?G?.itemId:"",traceInfo:(Be=me?.traceInfo)!==null&&Be!==void 0?Be:"",fromKName:Re})})},[_,P]);d.useEffect(()=>{T(!0),z().then(H=>{var U,G;v((U=H?.recList)!==null&&U!==void 0?U:[]),k((G=H?.recList)!==null&&G!==void 0?G:[])}).finally(()=>{T(!1),h.current=!0})},[]),d.useEffect(()=>{h.current&&(T(!0),z().then(H=>{var U,G;v((U=H?.recList)!==null&&U!==void 0?U:[]),k((G=H?.recList)!==null&&G!==void 0?G:[])}).finally(()=>{T(!1)}))},[z]);const re=Ve("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",s);return d.createElement(ti.Provider,{value:{rtcList:m,setRtcList:v,mutateLike:O,mutateUnlike:V,submitForm:de,popupDetailData:x,loadVideos:B,setPopupDetailData:w,getRecommendVideos:z,bffEventReport:_,utmVal:i,isPreview:r,loading:g,sxpParameter:a,waterFallData:A,setWaterFallData:M,ctaEvent:fe,swiperRef:b,openHashtag:y,setOpenHashtag:S,cacheRtcList:E,setCacheRtcList:k,cacheActiveIndex:I,setCacheActiveIndex:D,isFromHashtag:P,setIsFromHashtag:j,appDomain:s,hashTagSize:u,loadingImage:c??re,isOpenHashTag:f}},t({rtcList:m,mutateLike:O,mutateUnlike:V,submitForm:de}))};var ii=d.memo(Ri);function R(){return d.useContext(ti)}var ni;(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"})(ni||(ni={}));const oi=d.createContext({$store:{},options:[],configs:[]}),en=({children:t,isSsr:e,enable:i})=>{const[n,o]=d.useState([]),{schema:l}=Ie(),[r,a]=d.useState(l.__STORE__||{}),[s,u]=d.useState([]);d.useEffect(()=>{var m;e||se.isEqual(s,l?.dataSource)||u((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=d.useCallback(()=>ve(void 0,void 0,void 0,function*(){const{$store:m,idMapName:v}=yield Qt("",s);a(m),f(m,v)}),[s]),f=(m,v)=>{const g=[];Object.entries(m).forEach(([T,C])=>{Object.keys(C).forEach(p=>{const b={label:`${v[T]} - ${p}`,value:`{{ ${T}.${p} }}`};g.push(b)})}),o(g)};return d.useEffect(()=>{e||c()},[c,e,l]),i?d.createElement(oi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:s}},t):t};var tn=d.memo(en);const st={id:lt(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},bt={id:"",duration:0,name:"none"},li=d.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[st],redoStack:[],popup:bt,setPopup:()=>{}}),si=d.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[a,s]=d.useState(null),[u,c]=d.useState(n||{pointData:[st],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[f,m]=d.useState([st]),[v,g]=d.useState([[st]]),[T,C]=d.useState([]),[p,b]=d.useState(bt);typeof window<"u"&&(window.sxpPopup=(M,y)=>{b(Object.assign(Object.assign(Object.assign({},bt),{id:M}),y))}),typeof window<"u"&&(window.getJointUtmLink=M=>M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:"")),d.useEffect(()=>{g([u.pointData]),C([])},[u.type]);const h=d.useCallback(M=>{const y=se.cloneDeep(u);y&&(y.dataSource=M,c?.(y))},[u]),[x,w]=d.useState();d.useImperativeHandle(r,()=>({loadSchema(M){M&&(g([M.pointData]),c(M))},exportSchema(){return se.cloneDeep(u)},getPageInfoData(){return x},initPageInfoData(M){M&&w(M)}}));const A=d.useMemo(()=>{if(u)return u.type==="PC"?u.pcPageConf:u.mobilePageConf},[u]);return d.createElement(li.Provider,{value:{resolver:e,currentNode:a,schema:u,setCurrentNode:s,setSchema:c,saveDataSource:h,prePiontData:f,setPrePiontData:m,pageInfoData:x,setPageInfoData:M=>w(Object.assign(Object.assign({},x),M)),undoStack:v,redoStack:T,setRedoStack:C,setUndoStack:g,getCurPageConf:A,popup:p,setPopup:b}},d.createElement(tn,{isSsr:i,enable:o},t))});var nn=Object.freeze({__proto__:null,EditorCore:si}),on=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const J=[{label:"\u5E94\u7528\u5B57\u4F53",value:"appFont"},{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}];var ln={fontOptions:J},yt,sn=[{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:J,initialValue:(yt=J?.[0])===null||yt===void 0?void 0:yt.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"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const rn=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:a,layoutType:s,onClick:u}=t,c=ce(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);const{submitForm:f}=R(),m=d.useRef(),[v,g]=d.useState(!1),T=d.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"}],[]),C=d.useMemo(()=>{if(s===void 0){const b=se.cloneDeep(e)||T;return b?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return se.cloneDeep(e)||T},[s,e,T]),p=se.debounce(()=>ve(void 0,void 0,void 0,function*(){var b,h,x;g(!0);const w=yield(b=m?.current)===null||b===void 0?void 0:b.getFieldsValue(),A=(x=(h=Object.keys(w))===null||h===void 0?void 0:h.map(y=>({name:y,value:w[y]})))===null||x===void 0?void 0:x.filter(y=>y?.value);if(!A||!A?.length)return;const M=yield f?.({attributes:A});g(!1),M&&(window?.sxpPopup(""),M&&u?.())}),1e3);return d.createElement("div",{className:"pb-appoint-form"},d.createElement("div",{className:`pb-appoint-form-title ${$.css(Object.assign({},o))}`},n),d.createElement("div",Object.assign({className:$.css(Object.assign({},i))},c),d.createElement("div",{className:"pb-appoint-form-container"},d.createElement(Ni.BetaSchemaForm,{columns:C,submitter:!1,layout:s,autoFocusFirstInput:!1,size:"large",formRef:m,className:"panel-reset"}))),d.createElement("div",{className:"pb-appoint-form-btn-wrapper"},d.createElement("button",{onClick:p,className:"pb-appoint-form-btn",style:{color:r,background:l}},v?d.createElement(d.Fragment,null,"loading..."):a)))};var an=d.memo(rn);function he(t,e){return t.extend=e,t}const dn=he(an,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:sn,bindableProps:[],interactionRender:on},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 wt,St,cn=[{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"}]},{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",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:J,name:["fontFamily"],initialValue:(wt=J?.[0])===null||wt===void 0?void 0:wt.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:J,initialValue:(St=J?.[0])===null||St===void 0?void 0:St.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function ri(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Tt(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:ri(e[i])&&ri(t[i])&&Object.keys(e[i]).length>0&&Tt(t[i],e[i])})}const ai={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 Se(){const t=typeof document<"u"?document:{};return Tt(t,ai),t}const un={document:ai,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 pe(){const t=typeof window<"u"?window:{};return Tt(t,un),t}function Me(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function pn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function qe(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function be(){return Date.now()}function fn(t){const e=pe();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function vn(t,e){e===void 0&&(e="x");const i=pe();let n,o,l;const r=fn(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(a=>a.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 rt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function mn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function ge(){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&&!mn(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 a=o[l],s=Object.getOwnPropertyDescriptor(n,a);s!==void 0&&s.enumerable&&(rt(t[a])&&rt(n[a])?n[a].__swiper__?t[a]=n[a]:ge(t[a],n[a]):!rt(t[a])&&rt(n[a])?(t[a]={},n[a].__swiper__?t[a]=n[a]:ge(t[a],n[a])):t[a]=n[a])}}}return t}function at(t,e,i){t.style.setProperty(e,i)}function di(t){let{swiper:e,targetPosition:i,side:n}=t;const o=pe(),l=-e.translate;let r=null,a;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=i>l?"next":"prev",c=(m,v)=>u==="next"&&m>=v||u==="prev"&&m<=v,f=()=>{a=new Date().getTime(),r===null&&(r=a);const m=Math.max(Math.min((a-r)/s,1),0),v=.5-Math.cos(m*Math.PI)/2;let g=l+v*(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(f)};f()}function Ee(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function dt(t){try{console.warn(t);return}catch{}}function et(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Me(e)),i}function hn(t){const e=pe(),i=Se(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-l,left:n.left+s-r}}function gn(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 bn(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 Oe(t,e){return pe().getComputedStyle(t,null).getPropertyValue(e)}function ct(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function ci(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 xt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function Et(t,e,i){const n=pe();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 Ce(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=pe();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,a=be(),s;const u=[];function c(h){let M=0,y=0,S=0,E=0;return"detail"in h&&(y=h.detail),"wheelDelta"in h&&(y=-h.wheelDelta/120),"wheelDeltaY"in h&&(y=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(M=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(M=y,y=0),S=M*10,E=y*10,"deltaY"in h&&(E=h.deltaY),"deltaX"in h&&(S=h.deltaX),h.shiftKey&&!S&&(S=E,E=0),(S||E)&&h.deltaMode&&(h.deltaMode===1?(S*=40,E*=40):(S*=800,E*=800)),S&&!M&&(M=S<1?-1:1),E&&!y&&(y=E<1?-1:1),{spinX:M,spinY:y,pixelX:S,pixelY:E}}function f(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function v(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&be()-a<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&be()-a<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)),a=new l.Date().getTime(),!1)}function g(h){const x=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&x.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&x.releaseOnEdges)return!0;return!1}function T(h){let x=h,w=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const A=e.params.mousewheel;e.params.cssMode&&x.preventDefault();let M=e.el;e.params.mousewheel.eventsTarget!=="container"&&(M=document.querySelector(e.params.mousewheel.eventsTarget));const y=M&&M.contains(x.target);if(!e.mouseEntered&&!y&&!A.releaseOnEdges)return!0;x.originalEvent&&(x=x.originalEvent);let S=0;const E=e.rtlTranslate?-1:1,k=c(x);if(A.forceToAxis)if(e.isHorizontal())if(Math.abs(k.pixelX)>Math.abs(k.pixelY))S=-k.pixelX*E;else return!0;else if(Math.abs(k.pixelY)>Math.abs(k.pixelX))S=-k.pixelY;else return!0;else S=Math.abs(k.pixelX)>Math.abs(k.pixelY)?-k.pixelX*E:-k.pixelY;if(S===0)return!0;A.invert&&(S=-S);let I=e.getTranslate()+S*A.sensitivity;if(I>=e.minTranslate()&&(I=e.minTranslate()),I<=e.maxTranslate()&&(I=e.maxTranslate()),w=e.params.loop?!0:!(I===e.minTranslate()||I===e.maxTranslate()),w&&e.params.nested&&x.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:be(),delta:Math.abs(S),direction:Math.sign(S),raw:h};u.length>=2&&u.shift();const P=u.length?u[u.length-1]:void 0;if(u.push(D),P?(D.direction!==P.direction||D.delta>P.delta||D.time>P.time+150)&&v(D):v(D),g(D))return!0}else{const D={time:be(),delta:Math.abs(S),direction:Math.sign(S)},P=s&&D.time<s.time+500&&D.delta<=s.delta&&D.direction===s.direction;if(!P){s=void 0;let j=e.getTranslate()+S*A.sensitivity;const N=e.isBeginning,F=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(),(!N&&e.isBeginning||!F&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,u.length>=15&&u.shift();const z=u.length?u[u.length-1]:void 0,B=u[0];if(u.push(D),z&&(D.delta>z.delta||D.direction!==z.direction))u.splice(0);else if(u.length>=15&&D.time-B.time<500&&B.delta-D.delta>=1&&D.delta<=6){const _=S>0?.8:.2;s=D,u.splice(0),r=qe(()=>{e.slideToClosest(e.params.speed,!0,void 0,_)},0)}r||(r=qe(()=>{s=D,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",x),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),A.releaseOnEdges&&(j===e.minTranslate()||j===e.maxTranslate()))return!0}}return x.preventDefault?x.preventDefault():x.returnValue=!1,!1}function C(h){let x=e.el;e.params.mousewheel.eventsTarget!=="container"&&(x=document.querySelector(e.params.mousewheel.eventsTarget)),x[h]("mouseenter",f),x[h]("mouseleave",m),x[h]("wheel",T)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&b()}),Object.assign(e.mousewheel,{enable:p,disable:b})}function ui(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Ee(t.el,`.${n[o]}`)[0];l||(l=et("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function Ye(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ct(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,a=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(p,b){const{bulletActiveClass:h}=e.params.pagination;p&&(p=p[`${b==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${h}-${b}`),p=p[`${b==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${h}-${b}-${b}`)))}function c(p){const b=p.target.closest(Ye(e.params.pagination.bulletClass));if(!b)return;p.preventDefault();const h=ct(b)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function f(){const p=e.rtl,b=e.params.pagination;if(s())return;let h=e.pagination.el;h=Ce(h);let x,w;const A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,M=e.params.loop?Math.ceil(A/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(w=e.previousRealIndex||0,x=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(x=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,x=e.activeIndex||0),b.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const y=e.pagination.bullets;let S,E,k;if(b.dynamicBullets&&(r=Et(y[0],e.isHorizontal()?"width":"height",!0),h.forEach(I=>{I.style[e.isHorizontal()?"width":"height"]=`${r*(b.dynamicMainBullets+4)}px`}),b.dynamicMainBullets>1&&w!==void 0&&(a+=x-(w||0),a>b.dynamicMainBullets-1?a=b.dynamicMainBullets-1:a<0&&(a=0)),S=Math.max(x-a,0),E=S+(Math.min(y.length,b.dynamicMainBullets)-1),k=(E+S)/2),y.forEach(I=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${b.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();I.classList.remove(...D)}),h.length>1)y.forEach(I=>{const D=ct(I);D===x?I.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&I.setAttribute("part","bullet"),b.dynamicBullets&&(D>=S&&D<=E&&I.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),D===S&&u(I,"prev"),D===E&&u(I,"next"))});else{const I=y[x];if(I&&I.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&y.forEach((D,P)=>{D.setAttribute("part",P===x?"bullet-active":"bullet")}),b.dynamicBullets){const D=y[S],P=y[E];for(let j=S;j<=E;j+=1)y[j]&&y[j].classList.add(...`${b.bulletActiveClass}-main`.split(" "));u(D,"prev"),u(P,"next")}}if(b.dynamicBullets){const I=Math.min(y.length,b.dynamicMainBullets+4),D=(r*I-r)/2-k*r,P=p?"right":"left";y.forEach(j=>{j.style[e.isHorizontal()?P:"top"]=`${D}px`})}}h.forEach((y,S)=>{if(b.type==="fraction"&&(y.querySelectorAll(Ye(b.currentClass)).forEach(E=>{E.textContent=b.formatFractionCurrent(x+1)}),y.querySelectorAll(Ye(b.totalClass)).forEach(E=>{E.textContent=b.formatFractionTotal(M)})),b.type==="progressbar"){let E;b.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const k=(x+1)/M;let I=1,D=1;E==="horizontal"?I=k:D=k,y.querySelectorAll(Ye(b.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${I}) scaleY(${D})`,P.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(y.innerHTML=b.renderCustom(e,x+1,M),S===0&&o("paginationRender",y)):(S===0&&o("paginationRender",y),o("paginationUpdate",y)),e.params.watchOverflow&&e.enabled&&y.classList[e.isLocked?"add":"remove"](b.lockClass)})}function m(){const p=e.params.pagination;if(s())return;const b=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=Ce(h);let x="";if(p.type==="bullets"){let w=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>b&&(w=b);for(let A=0;A<w;A+=1)p.renderBullet?x+=p.renderBullet.call(e,A,p.bulletClass):x+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?x=p.renderFraction.call(e,p.currentClass,p.totalClass):x=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?x=p.renderProgressbar.call(e,p.progressbarFillClass):x=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],h.forEach(w=>{p.type!=="custom"&&(w.innerHTML=x||""),p.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll(Ye(p.bulletClass)))}),p.type!=="custom"&&o("paginationRender",h[0])}function v(){e.params.pagination=ui(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let b;typeof p.el=="string"&&e.isElement&&(b=e.el.querySelector(p.el)),!b&&typeof p.el=="string"&&(b=[...document.querySelectorAll(p.el)]),b||(b=p.el),!(!b||b.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(b)&&b.length>1&&(b=[...e.el.querySelectorAll(p.el)],b.length>1&&(b=b.filter(h=>ci(h,".swiper")[0]===e.el)[0])),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=Ce(b),b.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`),a=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 g(){const p=e.params.pagination;if(s())return;let b=e.pagination.el;b&&(b=Ce(b),b.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:b}=e.pagination;b=Ce(b),b.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():(v(),m(),f())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),n("snapIndexChange",()=>{f()}),n("snapGridLengthChange",()=>{m(),f()}),n("destroy",()=>{g()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=Ce(p),p.forEach(b=>b.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{f()}),n("click",(p,b)=>{const h=b.target,x=Ce(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&x&&x.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 w=x[0].classList.contains(e.params.pagination.hiddenClass);o(w===!0?"paginationShow":"paginationHide"),x.forEach(A=>A.classList.toggle(e.params.pagination.hiddenClass))}});const T=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Ce(p),p.forEach(b=>b.classList.remove(e.params.pagination.paginationDisabledClass))),v(),m(),f()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=Ce(p),p.forEach(b=>b.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:T,disable:C,render:m,update:f,init:v,destroy:g})}function wn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Se();let r=!1,a=null,s=null,u,c,f,m;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 v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:I,rtlTranslate:D}=e,{dragEl:P,el:j}=I,N=e.params.scrollbar,F=e.params.loop?e.progressLoop:e.progress;let z=c,B=(f-c)*F;D?(B=-B,B>0?(z=c-B,B=0):-B+c>f&&(z=f+B)):B<0?(z=c+B,B=0):B+c>f&&(z=f-B),e.isHorizontal()?(P.style.transform=`translate3d(${B}px, 0, 0)`,P.style.width=`${z}px`):(P.style.transform=`translate3d(0px, ${B}px, 0)`,P.style.height=`${z}px`),N.hide&&(clearTimeout(a),j.style.opacity=1,a=setTimeout(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3))}function g(I){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${I}ms`)}function T(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:I}=e,{dragEl:D,el:P}=I;D.style.width="",D.style.height="",f=e.isHorizontal()?P.offsetWidth:P.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=f*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${c}px`:D.style.height=`${c}px`,m>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&I.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function C(I){return e.isHorizontal()?I.clientX:I.clientY}function p(I){const{scrollbar:D,rtlTranslate:P}=e,{el:j}=D;let N;N=(C(I)-hn(j)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(f-c),N=Math.max(Math.min(N,1),0),P&&(N=1-N);const F=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*N;e.updateProgress(F),e.setTranslate(F),e.updateActiveIndex(),e.updateSlidesClasses()}function b(I){const D=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:N,dragEl:F}=P;r=!0,u=I.target===F?C(I)-I.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,I.preventDefault(),I.stopPropagation(),j.style.transitionDuration="100ms",F.style.transitionDuration="100ms",p(I),clearTimeout(s),N.style.transitionDuration="0ms",D.hide&&(N.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",I)}function h(I){const{scrollbar:D,wrapperEl:P}=e,{el:j,dragEl:N}=D;r&&(I.preventDefault?I.preventDefault():I.returnValue=!1,p(I),P.style.transitionDuration="0ms",j.style.transitionDuration="0ms",N.style.transitionDuration="0ms",o("scrollbarDragMove",I))}function x(I){const D=e.params.scrollbar,{scrollbar:P,wrapperEl:j}=e,{el:N}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",j.style.transitionDuration=""),D.hide&&(clearTimeout(s),s=qe(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",I),D.snapOnRelease&&e.slideToClosest())}function w(I){const{scrollbar:D,params:P}=e,j=D.el;if(!j)return;const N=j,F=P.passiveListeners?{passive:!1,capture:!1}:!1,z=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!N)return;const B=I==="on"?"addEventListener":"removeEventListener";N[B]("pointerdown",b,F),l[B]("pointermove",h,F),l[B]("pointerup",x,z)}function A(){!e.params.scrollbar.el||!e.scrollbar.el||w("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||w("off")}function y(){const{scrollbar:I,el:D}=e;e.params.scrollbar=ui(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&&D.querySelectorAll(P.el).length===1&&(j=D.querySelector(P.el)),j.length>0&&(j=j[0]),j.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let N;j&&(N=j.querySelector(Ye(e.params.scrollbar.dragClass)),N||(N=et("div",e.params.scrollbar.dragClass),j.append(N))),Object.assign(I,{el:j,dragEl:N}),P.draggable&&A(),j&&j.classList[e.enabled?"remove":"add"](...Me(e.params.scrollbar.lockClass))}function S(){const I=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...Me(e.isHorizontal()?I.horizontalClass:I.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const I=e.params.scrollbar;let{el:D}=e.scrollbar;D=Ce(D),D.forEach(P=>{P.classList.remove(I.horizontalClass,I.verticalClass),P.classList.add(e.isHorizontal()?I.horizontalClass:I.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?k():(y(),T(),v())}),n("update resize observerUpdate lock unlock changeDirection",()=>{T()}),n("setTranslate",()=>{v()}),n("setTransition",(I,D)=>{g(D)}),n("enable disable",()=>{const{el:I}=e.scrollbar;I&&I.classList[e.enabled?"remove":"add"](...Me(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const E=()=>{e.el.classList.remove(...Me(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Me(e.params.scrollbar.scrollbarDisabledClass)),y(),T(),v()},k=()=>{e.el.classList.add(...Me(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Me(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:E,disable:k,updateSize:T,setTranslate:v,init:y,destroy:S})}function It(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,a,s=l&&l.autoplay?l.autoplay.delay:3e3,u=l&&l.autoplay?l.autoplay.delay:3e3,c,f=new Date().getTime(),m,v,g,T,C,p,b;function h(z){!e||e.destroyed||!e.wrapperEl||z.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!b&&E())}const x=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(u=c,m=!1);const z=e.autoplay.paused?c:f+u-new Date().getTime();e.autoplay.timeLeft=z,o("autoplayTimeLeft",z,z/s),a=requestAnimationFrame(()=>{x()})},w=()=>{let z;return e.virtual&&e.params.virtual.enabled?z=e.slides.filter(_=>_.classList.contains("swiper-slide-active"))[0]:z=e.slides[e.activeIndex],z?parseInt(z.getAttribute("data-swiper-autoplay"),10):void 0},A=z=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),x();let B=typeof z>"u"?e.params.autoplay.delay:z;s=e.params.autoplay.delay,u=e.params.autoplay.delay;const _=w();!Number.isNaN(_)&&_>0&&typeof z>"u"&&(B=_,s=_,u=_),c=B;const O=e.params.speed,V=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,O,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(O,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,O,!0,!0),o("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{A()})))};return B>0?(clearTimeout(r),r=setTimeout(()=>{V()},B)):requestAnimationFrame(()=>{V()}),B},M=()=>{f=new Date().getTime(),e.autoplay.running=!0,A(),o("autoplayStart")},y=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(a),o("autoplayStop")},S=(z,B)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),z||(p=!0);const _=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,B){C&&(c=e.params.autoplay.delay),C=!1,_();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),_())},E=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),p?(p=!1,A(c)):A(),e.autoplay.paused=!1,o("autoplayResume"))},k=()=>{if(e.destroyed||!e.autoplay.running)return;const z=Se();z.visibilityState==="hidden"&&(p=!0,S(!0)),z.visibilityState==="visible"&&E()},I=z=>{z.pointerType==="mouse"&&(p=!0,b=!0,!(e.animating||e.autoplay.paused)&&S(!0))},D=z=>{z.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&E())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",I),e.el.addEventListener("pointerleave",D))},j=()=>{e.el.removeEventListener("pointerenter",I),e.el.removeEventListener("pointerleave",D)},N=()=>{Se().addEventListener("visibilitychange",k)},F=()=>{Se().removeEventListener("visibilitychange",k)};n("init",()=>{e.params.autoplay.enabled&&(P(),N(),M())}),n("destroy",()=>{j(),F(),e.autoplay.running&&y()}),n("_freeModeStaticRelease",()=>{(g||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?y():S(!0,!0)}),n("beforeTransitionStart",(z,B,_)=>{e.destroyed||!e.autoplay.running||(_||!e.params.autoplay.disableOnInteraction?S(!0,!0):y())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){y();return}v=!0,g=!1,p=!1,T=setTimeout(()=>{p=!0,g=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!v)){if(clearTimeout(T),clearTimeout(r),e.params.autoplay.disableOnInteraction){g=!1,v=!1;return}g&&e.params.cssMode&&E(),g=!1,v=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:M,stop:y,pause:S,resume:E})}function Sn(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 s=e.getTranslate();e.setTranslate(s),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:s,touches:u}=e;s.velocities.length===0&&s.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:be()})}function a(s){let{currentPos:u}=s;if(e.params.cssMode)return;const{params:c,wrapperEl:f,rtlTranslate:m,snapGrid:v,touchEventsData:g}=e,C=be()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<v.length?e.slideTo(v.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(g.velocities.length>1){const y=g.velocities.pop(),S=g.velocities.pop(),E=y.position-S.position,k=y.time-S.time;e.velocity=E/k,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(k>150||be()-y.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 b=e.velocity*p;let h=e.translate+b;m&&(h=-h);let x=!1,w;const A=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let M;if(h<e.maxTranslate())c.freeMode.momentumBounce?(h+e.maxTranslate()<-A&&(h=e.maxTranslate()-A),w=e.maxTranslate(),x=!0,g.allowMomentumBounce=!0):h=e.maxTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(h>e.minTranslate())c.freeMode.momentumBounce?(h-e.minTranslate()>A&&(h=e.minTranslate()+A),w=e.minTranslate(),x=!0,g.allowMomentumBounce=!0):h=e.minTranslate(),c.loop&&c.centeredSlides&&(M=!0);else if(c.freeMode.sticky){let y;for(let S=0;S<v.length;S+=1)if(v[S]>-h){y=S;break}Math.abs(v[y]-h)<Math.abs(v[y-1]-h)||e.swipeDirection==="next"?h=v[y]:h=v[y-1],h=-h}if(M&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-h-e.translate)/e.velocity):p=Math.abs((h-e.translate)/e.velocity),c.freeMode.sticky){const y=Math.abs((m?-h:h)-e.translate),S=e.slidesSizesGrid[e.activeIndex];y<S?p=c.speed:y<2*S?p=c.speed*1.5:p=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&x?(e.updateProgress(w),e.setTransition(p),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,xt(f,()=>{!e||e.destroyed||!g.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(w),xt(f,()=>{!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,xt(f,()=>{!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:a}})}let Dt;function Tn(){const t=pe(),e=Se();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function pi(){return Dt||(Dt=Tn()),Dt}let kt;function xn(t){let{userAgent:e}=t===void 0?{}:t;const i=pi(),n=pe(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},a=n.screen.width,s=n.screen.height,u=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const f=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v=o==="Win32";let g=o==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&i.touch&&T.indexOf(`${a}x${s}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),u&&!v&&(r.os="android",r.android=!0),(c||m||f)&&(r.os="ios",r.ios=!0),r}function fi(t){return t===void 0&&(t={}),kt||(kt=xn(t)),kt}let At;function En(){const t=pe(),e=fi();let i=!1;function n(){const a=t.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(n()){const a=String(t.navigator.userAgent);if(a.includes("Version/")){const[s,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=s<16||s===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 Cn(){return At||(At=En()),At}function In(t){let{swiper:e,on:i,emit:n}=t;const o=pe();let l=null,r=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(f=>{r=o.requestAnimationFrame(()=>{const{width:m,height:v}=e;let g=m,T=v;f.forEach(C=>{let{contentBoxSize:p,contentRect:b,target:h}=C;h&&h!==e.el||(g=b?b.width:(p[0]||p).inlineSize,T=b?b.height:(p[0]||p).blockSize)}),(g!==m||T!==v)&&a()})}),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"){s();return}o.addEventListener("resize",a),o.addEventListener("orientationchange",c)}),i("destroy",()=>{u(),o.removeEventListener("resize",a),o.removeEventListener("orientationchange",c)})}function Dn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=pe(),a=function(c,f){f===void 0&&(f={});const m=r.MutationObserver||r.WebkitMutationObserver,v=new m(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const T=function(){o("observerUpdate",g[0])};r.requestAnimationFrame?r.requestAnimationFrame(T):r.setTimeout(T,0)});v.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),l.push(v)},s=()=>{if(e.params.observer){if(e.params.observeParents){const c=ci(e.hostEl);for(let f=0;f<c.length;f+=1)a(c[f])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},u=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",s),n("destroy",u)}var kn={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),a=0;a<l;a++)r[a]=arguments[a];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(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(n,[s,...i])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(u=>{u.apply(n,i)})}),t}};function An(){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(Oe(n,"padding-left")||0,10)-parseInt(Oe(n,"padding-right")||0,10),i=i-parseInt(Oe(n,"padding-top")||0,10)-parseInt(Oe(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 Pn(){const t=this;function e(E,k){return parseFloat(E.getPropertyValue(t.getDirectionLabel(k))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:a}=t,s=t.virtual&&i.virtual.enabled,u=s?t.virtual.slides.length:t.slides.length,c=Ee(o,`.${t.params.slideClass}, swiper-slide`),f=s?t.virtual.slides.length:c.length;let m=[];const v=[],g=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,b=t.slidesGrid.length;let h=i.spaceBetween,x=-T,w=0,A=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&&(at(n,"--swiper-centered-offset-before",""),at(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 y;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<f;E+=1){y=0;let k;if(c[E]&&(k=c[E]),M&&t.grid.updateSlide(E,k,c),!(c[E]&&Oe(k,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[E].style[t.getDirectionLabel("width")]="");const I=getComputedStyle(k),D=k.style.transform,P=k.style.webkitTransform;if(D&&(k.style.transform="none"),P&&(k.style.webkitTransform="none"),i.roundLengths)y=t.isHorizontal()?Et(k,"width",!0):Et(k,"height",!0);else{const j=e(I,"width"),N=e(I,"padding-left"),F=e(I,"padding-right"),z=e(I,"margin-left"),B=e(I,"margin-right"),_=I.getPropertyValue("box-sizing");if(_&&_==="border-box")y=j+z+B;else{const{clientWidth:O,offsetWidth:V}=k;y=j+N+F+z+B+(V-O)}}D&&(k.style.transform=D),P&&(k.style.webkitTransform=P),i.roundLengths&&(y=Math.floor(y))}else y=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(y=Math.floor(y)),c[E]&&(c[E].style[t.getDirectionLabel("width")]=`${y}px`);c[E]&&(c[E].swiperSlideSize=y),g.push(y),i.centeredSlides?(x=x+y/2+w/2+h,w===0&&E!==0&&(x=x-l/2-h),E===0&&(x=x-l/2-h),Math.abs(x)<1/1e3&&(x=0),i.roundLengths&&(x=Math.floor(x)),A%i.slidesPerGroup===0&&m.push(x),v.push(x)):(i.roundLengths&&(x=Math.floor(x)),(A-Math.min(t.params.slidesPerGroupSkip,A))%t.params.slidesPerGroup===0&&m.push(x),v.push(x),x=x+y+h),t.virtualSize+=y+h,w=y,A+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,r&&a&&(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(y,m),!i.centeredSlides){const E=[];for(let k=0;k<m.length;k+=1){let I=m[k];i.roundLengths&&(I=Math.floor(I)),m[k]<=t.virtualSize-l&&E.push(I)}m=E,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(s&&i.loop){const E=g[0]+h;if(i.slidesPerGroup>1){const k=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),I=E*i.slidesPerGroup;for(let D=0;D<k;D+=1)m.push(m[m.length-1]+I)}for(let k=0;k<t.virtual.slidesBefore+t.virtual.slidesAfter;k+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+E),v.push(v[v.length-1]+E),t.virtualSize+=E}if(m.length===0&&(m=[0]),h!==0){const E=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((k,I)=>!i.cssMode||i.loop?!0:I!==c.length-1).forEach(k=>{k.style[E]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;g.forEach(I=>{E+=I+(h||0)}),E-=h;const k=E-l;m=m.map(I=>I<=0?-T:I>k?k+C:I)}if(i.centerInsufficientSlides){let E=0;if(g.forEach(k=>{E+=k+(h||0)}),E-=h,E<l){const k=(l-E)/2;m.forEach((I,D)=>{m[D]=I-k}),v.forEach((I,D)=>{v[D]=I+k})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:v,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){at(n,"--swiper-centered-offset-before",`${-m[0]}px`),at(n,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const E=-t.snapGrid[0],k=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(I=>I+E),t.slidesGrid=t.slidesGrid.map(I=>I+k)}if(f!==u&&t.emit("slidesLengthChange"),m.length!==p&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),v.length!==b&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,k=t.el.classList.contains(E);f<=i.maxBackfaceHiddenSlides?k||t.el.classList.add(E):k&&t.el.classList.remove(E)}}function _n(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=a=>n?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{i.push(a)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const a=e.activeIndex+l;if(a>e.slides.length&&!n)break;i.push(r(a))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const a=i[l].offsetHeight;o=a>o?a:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Mn(){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 On(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(s=>{s.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let s=0;s<n.length;s+=1){const u=n[s];let c=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const f=(r+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+a),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(u.swiperSlideSize+a),v=-(r-c),g=v+e.slidesSizesGrid[s],T=v>=0&&v<=e.size-e.slidesSizesGrid[s];(v>=0&&v<e.size-1||g>1&&g<=e.size||v<=0&&g>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(s),n[s].classList.add(i.slideVisibleClass)),T&&n[s].classList.add(i.slideFullyVisibleClass),u.progress=o?-f:f,u.originalProgress=o?-m:m}}function Ln(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:a}=e;const s=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,f=Math.abs(t-e.maxTranslate())<1;l=c||o<=0,r=f||o>=1,c&&(o=0),f&&(o=1)}if(i.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],v=e.slidesGrid[f],g=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=m?a=(T-m)/g:a=(T+g-v)/g,a>1&&(a-=1)}Object.assign(e,{progress:o,progressLoop:a,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!s&&e.emit("reachBeginning toEdge"),r&&!u&&e.emit("reachEnd toEdge"),(s&&!l||u&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}function jn(){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,a=f=>Ee(n,`.${i.slideClass}${f}, swiper-slide${f}`)[0];e.forEach(f=>{f.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let s,u,c;if(l)if(i.loop){let f=o-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),s=a(`[data-swiper-slide-index="${f}"]`)}else s=a(`[data-swiper-slide-index="${o}"]`);else r?(s=e.filter(f=>f.column===o)[0],c=e.filter(f=>f.column===o+1)[0],u=e.filter(f=>f.column===o-1)[0]):s=e[o];s&&(s.classList.add(i.slideActiveClass),r?(c&&c.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(c=bn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),c&&c.classList.add(i.slideNextClass),u=gn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const ut=(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()}},Pt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},_t=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,a=[r-e];a.push(...Array.from({length:e}).map((s,u)=>r+n+u)),t.slides.forEach((s,u)=>{a.includes(s.column)&&Pt(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 a=(r%i+i)%i;(a<o||a>l)&&Pt(t,a)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&Pt(t,r)};function Nn(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 Bn(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:a}=e;let s=t,u;const c=v=>{let g=v-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 s>"u"&&(s=Nn(e)),n.indexOf(i)>=0)u=n.indexOf(i);else{const v=Math.min(o.slidesPerGroupSkip,s);u=v+Math.floor((s-v)/o.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),s===l&&!e.params.loop){u!==a&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(s===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(s);return}const f=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=c(s);else if(f){const v=e.slides.filter(T=>T.column===s)[0];let g=parseInt(v.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(v),0)),m=Math.floor(g/o.grid.rows)}else if(e.slides[s]){const v=e.slides[s].getAttribute("data-swiper-slide-index");v?m=parseInt(v,10):m=s}else m=s;Object.assign(e,{previousSnapIndex:a,snapIndex:u,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:s}),e.initialized&&_t(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function zn(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(a=>{!o&&a.matches&&a.matches(`.${n.slideClass}, swiper-slide`)&&(o=a)});let l=!1,r;if(o){for(let a=0;a<i.slides.length;a+=1)if(i.slides[a]===o){l=!0,r=a;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 Vn={updateSize:An,updateSlides:Pn,updateAutoHeight:_n,updateSlidesOffset:Mn,updateSlidesProgress:On,updateProgress:Ln,updateSlidesClasses:jn,updateActiveIndex:Bn,updateClickedSlide:zn};function Fn(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=vn(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Hn(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let a=0,s=0;const u=0;i.isHorizontal()?a=n?-t:t:s=t,o.roundLengths&&(a=Math.floor(a),s=Math.floor(s)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:s,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-s:o.virtualTranslate||(i.isHorizontal()?a-=i.cssOverflowAdjustment():s-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${a}px, ${s}px, ${u}px)`);let c;const f=i.maxTranslate()-i.minTranslate();f===0?c=0:c=(t-i.minTranslate())/f,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Un(){return-this.snapGrid[0]}function Gn(){return-this.snapGrid[this.snapGrid.length-1]}function Wn(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:a}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const s=l.minTranslate(),u=l.maxTranslate();let c;if(n&&t>s?c=s:n&&t<u?c=u:c=t,l.updateProgress(c),r.cssMode){const f=l.isHorizontal();if(e===0)a[f?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return di({swiper:l,targetPosition:-c,side:f?"left":"top"}),!0;a.scrollTo({[f?"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(m){!l||l.destroyed||m.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 $n={getTranslate:Fn,setTranslate:Hn,minTranslate:Un,maxTranslate:Gn,translateTo:Wn};function qn(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 vi(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let a=n;if(a||(l>r?a="next":l<r?a="prev":a="reset"),e.emit(`transition${o}`),i&&l!==r){if(a==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),a==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function Yn(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),vi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Xn(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),vi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Jn={setTransition:qn,transitionStart:Yn,transitionEnd:Xn};function Qn(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:a,snapGrid:s,slidesGrid:u,previousIndex:c,activeIndex:f,rtlTranslate:m,wrapperEl:v,enabled:g}=l;if(l.animating&&a.preventInteractionOnTransition||!g&&!n&&!o||l.destroyed)return!1;const T=Math.min(l.params.slidesPerGroupSkip,r);let C=T+Math.floor((r-T)/l.params.slidesPerGroup);C>=s.length&&(C=s.length-1);const p=-s[C];if(a.normalizeSlideIndex)for(let h=0;h<u.length;h+=1){const x=-Math.floor(p*100),w=Math.floor(u[h]*100),A=Math.floor(u[h+1]*100);typeof u[h+1]<"u"?x>=w&&x<A-(A-w)/2?r=h:x>=w&&x<A&&(r=h+1):x>=w&&(r=h)}if(l.initialized&&r!==f&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(f||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let b;if(r>f?b="next":r<f?b="prev":b="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(r),a.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),a.effect!=="slide"&&l.setTranslate(p),b!=="reset"&&(l.transitionStart(i,b),l.transitionEnd(i,b)),!1;if(a.cssMode){const h=l.isHorizontal(),x=m?p:-p;if(e===0){const w=l.virtual&&l.params.virtual.enabled;w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),w&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{v[h?"scrollLeft":"scrollTop"]=x})):v[h?"scrollLeft":"scrollTop"]=x,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return di({swiper:l,targetPosition:x,side:h?"left":"top"}),!0;v.scrollTo({[h?"left":"top"]:x,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,b),e===0?l.transitionEnd(i,b):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(x){!l||l.destroyed||x.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,b))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Kn(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 a;if(l){const m=r*o.params.grid.rows;a=o.slides.filter(v=>v.getAttribute("data-swiper-slide-index")*1===m)[0].column}else a=o.getSlideIndexByData(r);const s=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 f=s-a<c;if(u&&(f=f||a<Math.ceil(c/2)),f){const m=u?a<o.activeIndex?"prev":"next":a-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?a+1:a-s+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(v=>v.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function Zn(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 a=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const s=n.activeIndex<l.slidesPerGroupSkip?1:a,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+s,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+s,t,e,i)}function Rn(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:a,enabled:s,animating:u}=n;if(!s||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 f=a?n.translate:-n.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const v=m(f),g=l.map(p=>m(p));let T=l[g.indexOf(v)-1];if(typeof T>"u"&&o.cssMode){let p;l.forEach((b,h)=>{v>=b&&(p=h)}),typeof p<"u"&&(T=l[p>0?p-1:p])}let C=0;if(typeof T<"u"&&(C=r.indexOf(T),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 eo(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 to(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),a=r+Math.floor((l-r)/o.params.slidesPerGroup),s=o.rtlTranslate?o.translate:-o.translate;if(s>=o.snapGrid[a]){const u=o.snapGrid[a],c=o.snapGrid[a+1];s-u>(c-u)*n&&(l+=o.params.slidesPerGroup)}else{const u=o.snapGrid[a-1],c=o.snapGrid[a];s-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 io(){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(Ee(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),qe(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Ee(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),qe(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var no={slideTo:Qn,slideToLoop:Kn,slideNext:Zn,slidePrev:Rn,slideReset:eo,slideToClosest:to,slideToClickedSlide:io};function oo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Ee(n,`.${i.slideClass}, swiper-slide`).forEach((f,m)=>{f.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),a=e.slides.length%r!==0,s=l&&e.slides.length%i.grid.rows!==0,u=c=>{for(let f=0;f<c;f+=1){const m=e.isElement?et("swiper-slide",[i.slideBlankClass]):et("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(a){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;u(c),e.recalcSlides(),e.updateSlides()}else dt("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(s){if(i.loopAddBlankSlides){const c=i.grid.rows-e.slides.length%i.grid.rows;u(c),e.recalcSlides(),e.updateSlides()}else dt("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 lo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:a}=t===void 0?{}:t;const s=this;if(!s.params.loop)return;s.emit("beforeLoopFix");const{slides:u,allowSlidePrev:c,allowSlideNext:f,slidesEl:m,params:v}=s,{centeredSlides:g}=v;if(s.allowSlidePrev=!0,s.allowSlideNext=!0,s.virtual&&v.virtual.enabled){i&&(!v.centeredSlides&&s.snapIndex===0?s.slideTo(s.virtual.slides.length,0,!1,!0):v.centeredSlides&&s.snapIndex<v.slidesPerView?s.slideTo(s.virtual.slides.length+s.snapIndex,0,!1,!0):s.snapIndex===s.snapGrid.length-1&&s.slideTo(s.virtual.slidesBefore,0,!1,!0)),s.allowSlidePrev=c,s.allowSlideNext=f,s.emit("loopFix");return}let T=v.slidesPerView;T==="auto"?T=s.slidesPerViewDynamic():(T=Math.ceil(parseFloat(v.slidesPerView,10)),g&&T%2===0&&(T=T+1));const C=v.slidesPerGroupAuto?T:v.slidesPerGroup;let p=C;p%C!==0&&(p+=C-p%C),p+=v.loopAdditionalSlides,s.loopedSlides=p;const b=s.grid&&v.grid&&v.grid.rows>1;u.length<T+p?dt("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"):b&&v.grid.fill==="row"&&dt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],x=[];let w=s.activeIndex;typeof l>"u"?l=s.getSlideIndex(u.filter(D=>D.classList.contains(v.slideActiveClass))[0]):w=l;const A=n==="next"||!n,M=n==="prev"||!n;let y=0,S=0;const E=b?Math.ceil(u.length/v.grid.rows):u.length,I=(b?u[l].column:l)+(g&&typeof o>"u"?-T/2+.5:0);if(I<p){y=Math.max(p-I,C);for(let D=0;D<p-I;D+=1){const P=D-Math.floor(D/E)*E;if(b){const j=E-P-1;for(let N=u.length-1;N>=0;N-=1)u[N].column===j&&h.push(N)}else h.push(E-P-1)}}else if(I+T>E-p){S=Math.max(I-(E-p*2),C);for(let D=0;D<S;D+=1){const P=D-Math.floor(D/E)*E;b?u.forEach((j,N)=>{j.column===P&&x.push(N)}):x.push(P)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),M&&h.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.prepend(u[D]),u[D].swiperLoopMoveDOM=!1}),A&&x.forEach(D=>{u[D].swiperLoopMoveDOM=!0,m.append(u[D]),u[D].swiperLoopMoveDOM=!1}),s.recalcSlides(),v.slidesPerView==="auto"?s.updateSlides():b&&(h.length>0&&M||x.length>0&&A)&&s.slides.forEach((D,P)=>{s.grid.updateSlide(P,D,s.slides)}),v.watchSlidesProgress&&s.updateSlidesOffset(),i){if(h.length>0&&M){if(typeof e>"u"){const D=s.slidesGrid[w],j=s.slidesGrid[w+y]-D;a?s.setTranslate(s.translate-j):(s.slideTo(w+Math.ceil(y),0,!1,!0),o&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-j,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-j))}else if(o){const D=b?h.length/v.grid.rows:h.length;s.slideTo(s.activeIndex+D,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(x.length>0&&A)if(typeof e>"u"){const D=s.slidesGrid[w],j=s.slidesGrid[w-S]-D;a?s.setTranslate(s.translate-j):(s.slideTo(w-S,0,!1,!0),o&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-j,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-j))}else{const D=b?x.length/v.grid.rows:x.length;s.slideTo(s.activeIndex-D,0,!1,!0)}}if(s.allowSlidePrev=c,s.allowSlideNext=f,s.controller&&s.controller.control&&!r){const D={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...D,slideTo:P.params.slidesPerView===v.slidesPerView?i:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...D,slideTo:s.controller.control.params.slidesPerView===v.slidesPerView?i:!1})}s.emit("loopFix")}function so(){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 ro={loopCreate:oo,loopFix:lo,loopDestroy:so};function ao(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 co(){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 uo={setGrabCursor:ao,unsetGrabCursor:co};function po(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Se()||n===pe())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 mi(t,e,i){const n=pe(),{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 fo(t){const e=this,i=Se();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"){mi(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:a}=e;if(!a||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let s=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"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&&(s=c[0]);const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?po(f,s):s.closest(f))){e.allowClick=!0;return}if(l.swipeHandler&&!s.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const v=r.currentX,g=r.currentY;if(!mi(e,n,v))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=v,r.startY=g,o.touchStartTime=be(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let T=!0;s.matches(o.focusableElements)&&(T=!1,s.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==s&&i.activeElement.blur();const C=T&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!s.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function vo(t){const e=Se(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:a}=i;if(!a||!o.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(n.touchId!==null||s.pointerId!==n.pointerId))return;let u;if(s.type==="touchmove"){if(u=[...s.changedTouches].filter(A=>A.identifier===n.touchId)[0],!u||u.identifier!==n.touchId)return}else u=s;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",s);return}const c=u.pageX,f=u.pageY;if(s.preventedByNestedSwiper){l.startX=c,l.startY=f;return}if(!i.allowTouchMove){s.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:f,currentX:c,currentY:f}),n.touchStartTime=be());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(f<l.startY&&i.translate<=i.maxTranslate()||f>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&&s.target===e.activeElement&&s.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",s),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=f;const m=l.currentX-l.startX,v=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+v**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let A;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+v*v>=25&&(A=Math.atan2(Math.abs(v),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?A>o.touchAngle:90-A>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",s),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&&s.cancelable&&s.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&s.stopPropagation();let g=i.isHorizontal()?m:v,T=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(g=Math.abs(g)*(r?1:-1),T=Math.abs(T)*(r?1:-1)),l.diff=g,g*=o.touchRatio,r&&(g=-g,T=-T);const C=i.touchesDirection;i.swipeDirection=g>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const p=i.params.loop&&!o.cssMode,b=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const A=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(A)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",s)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&p&&b&&Math.abs(g)>=1){Object.assign(l,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",s),n.isMoved=!0,n.currentTranslate=g+n.startTranslate;let x=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),g>0?(p&&b&&!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()&&(x=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**w))):g<0&&(p&&b&&!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()&&(x=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**w))),x&&(s.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 mo(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(w=>w.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:a,rtlTranslate:s,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 f=be(),m=f-i.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),m<300&&f-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=be(),qe(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||a.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 v;if(r.followFinger?v=s?e.translate:-e.translate:v=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:v});return}const g=v>=-e.maxTranslate()&&!e.params.loop;let T=0,C=e.slidesSizesGrid[0];for(let w=0;w<u.length;w+=w<r.slidesPerGroupSkip?1:r.slidesPerGroup){const A=w<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof u[w+A]<"u"?(g||v>=u[w]&&v<u[w+A])&&(T=w,C=u[w+A]-u[w]):(g||v>=u[w])&&(T=w,C=u[u.length-1]-u[u.length-2])}let p=null,b=null;r.rewind&&(e.isBeginning?b=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const h=(v-u[T])/C,x=T<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:T+x):e.slideTo(T)),e.swipeDirection==="prev"&&(h>1-r.longSwipesRatio?e.slideTo(T+x):b!==null&&h<0&&Math.abs(h)>r.longSwipesRatio?e.slideTo(b):e.slideTo(T))}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(T+x):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:T+x),e.swipeDirection==="prev"&&e.slideTo(b!==null?b:T))}}function hi(){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 a=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!a?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 ho(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function go(){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 bo(t){const e=this;ut(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function yo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const gi=(t,e)=>{const i=Se(),{params:n,el:o,wrapperEl:l,device:r}=t,a=!!n.nested,s=e==="on"?"addEventListener":"removeEventListener",u=e;i[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),o[s]("touchstart",t.onTouchStart,{passive:!1}),o[s]("pointerdown",t.onTouchStart,{passive:!1}),i[s]("touchmove",t.onTouchMove,{passive:!1,capture:a}),i[s]("pointermove",t.onTouchMove,{passive:!1,capture:a}),i[s]("touchend",t.onTouchEnd,{passive:!0}),i[s]("pointerup",t.onTouchEnd,{passive:!0}),i[s]("pointercancel",t.onTouchEnd,{passive:!0}),i[s]("touchcancel",t.onTouchEnd,{passive:!0}),i[s]("pointerout",t.onTouchEnd,{passive:!0}),i[s]("pointerleave",t.onTouchEnd,{passive:!0}),i[s]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[s]("click",t.onClick,!0),n.cssMode&&l[s]("scroll",t.onScroll),n.updateOnWindowResize?t[u](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",hi,!0):t[u]("observerUpdate",hi,!0),o[s]("load",t.onLoad,{capture:!0})};function wo(){const t=this,{params:e}=t;t.onTouchStart=fo.bind(t),t.onTouchMove=vo.bind(t),t.onTouchEnd=mo.bind(t),t.onDocumentTouchStart=yo.bind(t),e.cssMode&&(t.onScroll=go.bind(t)),t.onClick=ho.bind(t),t.onLoad=bo.bind(t),gi(t,"on")}function So(){gi(this,"off")}var To={attachEvents:wo,detachEvents:So};const bi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function xo(){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 s=(r in l?l[r]:void 0)||t.originalParams,u=bi(t,n),c=bi(t,s),f=n.enabled;u&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(p=>{if(typeof s[p]>"u")return;const b=n[p]&&n[p].enabled,h=s[p]&&s[p].enabled;b&&!h&&t[p].disable(),!b&&h&&t[p].enable()});const m=s.direction&&s.direction!==n.direction,v=n.loop&&(s.slidesPerView!==n.slidesPerView||m),g=n.loop;m&&i&&t.changeDirection(),ge(t.params,s);const T=t.params.enabled,C=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!T?t.disable():!f&&T&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",s),i&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&C?(t.loopCreate(e),t.updateSlides()):g&&!C&&t.loopDestroy()),t.emit("breakpoint",s)}function Eo(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=pe(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const s=parseFloat(a.substr(1));return{value:l*s,point:a}}return{value:a,point:a}});r.sort((a,s)=>parseInt(a.value,10)-parseInt(s.value,10));for(let a=0;a<r.length;a+=1){const{point:s,value:u}=r[a];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(n=s):u<=i.clientWidth&&(n=s)}return n||"max"}var Co={setBreakpoint:xo,getBreakpoint:Eo};function Io(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 Do(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=Io(["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 ko(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Ao={addClasses:Do,removeClasses:ko};function Po(){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 _o={checkOverflow:Po},Mt={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 Mo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){ge(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)){ge(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),ge(e,n)}}const Ot={eventsEmitter:kn,update:Vn,translate:$n,transition:Jn,slide:no,loop:ro,grabCursor:uo,events:To,breakpoints:Co,checkOverflow:_o,classes:Ao},Lt={};let jt=class _e{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=ge({},i),e&&!i.el&&(i.el=e);const r=Se();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(f=>{const m=ge({},i,{el:f});c.push(new _e(m))}),c}const a=this;a.__swiper__=!0,a.support=pi(),a.device=fi({userAgent:i.userAgent}),a.browser=Cn(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const s={};a.modules.forEach(c=>{c({params:i,swiper:a,extendParams:Mo(i,s),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=ge({},Mt,s);return a.params=ge({},u,Lt,i),a.originalParams=ge({},a.params),a.passedParams=ge({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.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:a.params.allowSlideNext,allowSlidePrev:a.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:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}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=Ee(i,`.${n.slideClass}, swiper-slide`),l=ct(o[0]);return ct(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=Ee(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:a,size:s,activeIndex:u}=n;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let f=l[u]?Math.ceil(l[u].swiperSlideSize):0,m;for(let v=u+1;v<l.length;v+=1)l[v]&&!m&&(f+=Math.ceil(l[v].swiperSlideSize),c+=1,f>s&&(m=!0));for(let v=u-1;v>=0;v-=1)l[v]&&!m&&(f+=l[v].swiperSlideSize,c+=1,f>s&&(m=!0))}else if(e==="current")for(let f=u+1;f<l.length;f+=1)(i?r[f]+a[f]-r[u]<s:r[f]-r[u]<s)&&(c+=1);else for(let f=u-1;f>=0;f-=1)r[u]-r[f]<s&&(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&&ut(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(a),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()):Ee(n,o())[0];return!r&&i.params.createElements&&(r=et("div",i.params.wrapperClass),n.append(r),Ee(n,`.${i.params.slideClass}`).forEach(a=>{r.append(a)})),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"||Oe(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Oe(n,"direction")==="rtl"),wrongRTL:Oe(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?ut(i,l):l.addEventListener("load",r=>{ut(i,r.target)})}),_t(i),i.initialized=!0,_t(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:a}=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"),a&&a.length&&a.forEach(s=>{s.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(s=>{n.off(s)}),e!==!1&&(n.el.swiper=null,pn(n)),n.destroyed=!0),null}static extendDefaults(e){ge(Lt,e)}static get extendedDefaults(){return Lt}static get defaults(){return Mt}static installModule(e){_e.prototype.__modules__||(_e.prototype.__modules__=[]);const i=_e.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>_e.installModule(i)),_e):(_e.installModule(e),_e)}};Object.keys(Ot).forEach(t=>{Object.keys(Ot[t]).forEach(e=>{jt.prototype[e]=Ot[t][e]})}),jt.use([In,Dn]);const yi=["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 Fe(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Xe(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]:Fe(e[n])&&Fe(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Xe(t[n],e[n]):t[n]=e[n]})}function wi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Si(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Ti(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function xi(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 Oo(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Lo(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:a,paginationEl:s}=t;const u=o.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:f,navigation:m,scrollbar:v,virtual:g,thumbs:T}=e;let C,p,b,h,x,w,A,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||s)&&(c.pagination||c.pagination===!1)&&f&&!f.el&&(b=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&v&&!v.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(x=!0);const y=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?w=!0:!c.loop&&n.loop?A=!0:M=!0),u.forEach(S=>{if(Fe(c[S])&&Fe(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&y(S);else{const E=n[S];(E===!0||E===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?E===!1&&y(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&&T.init()&&T.update(!0),p&&(e.controller.control=c.controller.control),b&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(c.pagination.el=s),f.init(),f.render(),f.update()),h&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),v.init(),v.updateSize(),v.setTranslate()),x&&(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),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(w||M)&&e.loopDestroy(),(A||M)&&e.loopCreate(),e.update()}function jo(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};Xe(i,Mt),i._emitClasses=!0,i.init=!1;const l={},r=yi.map(s=>s.replace(/_/,"")),a=Object.assign({},t);return Object.keys(a).forEach(s=>{typeof t[s]>"u"||(r.indexOf(s)>=0?Fe(t[s])?(i[s]={},o[s]={},Xe(i[s],t[s]),Xe(o[s],t[s])):(i[s]=t[s],o[s]=t[s]):s.search(/on[A-Z]/)===0&&typeof t[s]=="function"?e?n[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:i.on[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:l[s]=t[s])}),["navigation","pagination","scrollbar"].forEach(s=>{i[s]===!0&&(i[s]={}),i[s]===!1&&delete i[s]}),{params:i,passedParams:o,rest:l,events:n}}function No(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:a}=t;wi(e)&&n&&o&&(a.params.navigation.nextEl=n,a.originalParams.navigation.nextEl=n,a.params.navigation.prevEl=o,a.originalParams.navigation.prevEl=o),Si(e)&&l&&(a.params.pagination.el=l,a.originalParams.pagination.el=l),Ti(e)&&r&&(a.params.scrollbar.el=r,a.originalParams.scrollbar.el=r),a.init(i)}function Bo(t,e,i,n,o){const l=[];if(!e)return l;const r=s=>{l.indexOf(s)<0&&l.push(s)};if(i&&n){const s=n.map(o),u=i.map(o);s.join("")!==u.join("")&&r("children"),n.length!==i.length&&r("children")}return yi.filter(s=>s[0]==="_").map(s=>s.replace(/_/,"")).forEach(s=>{if(s in t&&s in e)if(Fe(t[s])&&Fe(e[s])){const u=Object.keys(t[s]),c=Object.keys(e[s]);u.length!==c.length?r(s):(u.forEach(f=>{t[s][f]!==e[s][f]&&r(s)}),c.forEach(f=>{t[s][f]!==e[s][f]&&r(s)}))}else t[s]!==e[s]&&r(s)}),l}const zo=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 pt(){return pt=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},pt.apply(this,arguments)}function Ei(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Ci(t){const e=[];return d.Children.toArray(t).forEach(i=>{Ei(i)?e.push(i):i.props&&i.props.children&&Ci(i.props.children).forEach(n=>e.push(n))}),e}function Vo(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return d.Children.toArray(t).forEach(n=>{if(Ei(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=Ci(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 Fo(t,e,i){if(!i)return null;const n=c=>{let f=c;return c<0?f=e.length+c:f>=e.length&&(f=f-e.length),f},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,a=t.params.loop?-e.length:0,s=t.params.loop?e.length*2:e.length,u=[];for(let c=a;c<s;c+=1)c>=l&&c<=r&&u.push(e[n(c)]);return u.map((c,f)=>d.cloneElement(c,{swiper:t,style:o,key:c.props.virtualIndex||c.key||`slide-${f}`}))}function tt(t,e){return typeof window>"u"?d.useEffect(t,e):d.useLayoutEffect(t,e)}const Nt=d.createContext(null),Ii=()=>d.useContext(Nt),Ho=d.createContext(null),Je=d.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...a}=t===void 0?{}:t,s=!1;const[u,c]=d.useState("swiper"),[f,m]=d.useState(null),[v,g]=d.useState(!1),T=d.useRef(!1),C=d.useRef(null),p=d.useRef(null),b=d.useRef(null),h=d.useRef(null),x=d.useRef(null),w=d.useRef(null),A=d.useRef(null),M=d.useRef(null),{params:y,passedParams:S,rest:E,events:k}=jo(a),{slides:I,slots:D}=Vo(l),P=()=>{g(!v)};Object.assign(y.on,{_containerClasses(B,_){c(_)}});const j=()=>{Object.assign(y.on,k),s=!0;const B={...y};if(delete B.wrapperClass,p.current=new jt(B),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=I;const _={cache:!1,slides:I,renderExternal:m,renderExternalUpdate:!1};Xe(p.current.params.virtual,_),Xe(p.current.originalParams.virtual,_)}};C.current||j(),p.current&&p.current.on("_beforeBreakpoint",P);const N=()=>{s||!k||!p.current||Object.keys(k).forEach(B=>{p.current.on(B,k[B])})},F=()=>{!k||!p.current||Object.keys(k).forEach(B=>{p.current.off(B,k[B])})};d.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",P)}),d.useEffect(()=>{!T.current&&p.current&&(p.current.emitSlidesClasses(),T.current=!0)}),tt(()=>{if(e&&(e.current=C.current),!!C.current)return p.current.destroyed&&j(),No({el:C.current,nextEl:x.current,prevEl:w.current,paginationEl:A.current,scrollbarEl:M.current,swiper:p.current},y),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),tt(()=>{N();const B=Bo(S,b.current,I,h.current,_=>_.key);return b.current=S,h.current=I,B.length&&p.current&&!p.current.destroyed&&Lo({swiper:p.current,slides:I,passedParams:S,changedParams:B,nextEl:x.current,prevEl:w.current,scrollbarEl:M.current,paginationEl:A.current}),()=>{F()}}),tt(()=>{zo(p.current)},[f]);function z(){return y.virtual?Fo(p.current,I,f):I.map((B,_)=>d.cloneElement(B,{swiper:p.current,swiperSlideIndex:_}))}return d.createElement(n,pt({ref:C,className:xi(`${u}${i?` ${i}`:""}`)},E),d.createElement(Ho.Provider,{value:p.current},D["container-start"],d.createElement(o,{className:Oo(y.wrapperClass)},D["wrapper-start"],z(),D["wrapper-end"]),wi(y)&&d.createElement(d.Fragment,null,d.createElement("div",{ref:w,className:"swiper-button-prev"}),d.createElement("div",{ref:x,className:"swiper-button-next"})),Ti(y)&&d.createElement("div",{ref:M,className:"swiper-scrollbar"}),Si(y)&&d.createElement("div",{ref:A,className:"swiper-pagination"}),D["container-end"]))});Je.displayName="Swiper";const De=d.forwardRef(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:a,virtualIndex:s,swiperSlideIndex:u,...c}=t===void 0?{}:t;const f=d.useRef(null),[m,v]=d.useState("swiper-slide"),[g,T]=d.useState(!1);function C(x,w,A){w===f.current&&v(A)}tt(()=>{if(typeof u<"u"&&(f.current.swiperSlideIndex=u),e&&(e.current=f.current),!(!f.current||!l)){if(l.destroyed){m!=="swiper-slide"&&v("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),tt(()=>{l&&f.current&&!l.destroyed&&v(l.getSlideClasses(f.current))},[l]);const p={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},b=()=>typeof n=="function"?n(p):n,h=()=>{T(!0)};return d.createElement(i,pt({ref:f,className:xi(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":s,onLoad:h},c),r&&d.createElement(Nt.Provider,{value:p},d.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},b(),a&&!g&&d.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&d.createElement(Nt.Provider,{value:p},b(),a&&!g&&d.createElement("div",{className:"swiper-lazy-preloader"})))});De.displayName="SwiperSlide";function ke(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=R(),o=d.useCallback((r,a,s,u)=>{var c,f,m,v,g,T,C,p,b,h,x,w,A,M;let y="";e&&(!((f=(c=r?.video)===null||c===void 0?void 0:c.bindProducts)===null||f===void 0)&&f.length||!((m=r?.video)===null||m===void 0)&&m.bindProduct)?y="pdpPage":n?y="hashTagPage":!((v=r?.video)===null||v===void 0)&&v.url?y="videoPage":!((g=r?.video)===null||g===void 0)&&g.imgUrls&&(!((C=(T=r?.video)===null||T===void 0?void 0:T.imgUrls)===null||C===void 0)&&C.length)?y="imagePage":r?.product&&(y="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(p=a?.itemId)!==null&&p!==void 0?p:"",productName:(b=a?.title)!==null&&b!==void 0?b:"",price:a?.price?a?.price+"":"0",productCollection:(h=a?.collection)!==null&&h!==void 0?h:"",fromKName:y,fromKPage:location?.href,contentTags:a?.tags?JSON.stringify(a?.tags):"",position:u+"",relatedContentId:(w=(x=r?.video)===null||x===void 0?void 0:x.itemId)!==null&&w!==void 0?w:"",relatedCtatId:(A=s?.itemId)!==null&&A!==void 0?A:"",traceInfo:(M=a?.traceInfo)!==null&&M!==void 0?M:""}})},[t,e,n]),l=d.useCallback((r,a,s,u,c)=>{var f,m,v,g;let T="";e&&(!((m=(f=r?.video)===null||f===void 0?void 0:f.bindProducts)===null||m===void 0)&&m.length||!((v=r?.video)===null||v===void 0)&&v.bindProduct)?T="pdpPage":r?.product&&(T="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:T,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:c+"",relatedContentId:(g=r?.video)===null||g===void 0?void 0:g.itemId,relatedCtatId:s?.itemId,traceInfo:a?.traceInfo,timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const Uo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Go=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[a,s]=d.useState(!1),u=d.useRef(null);d.useEffect(()=>{const m=document.getElementById("sxp-render"),v=document.getElementById("pb-modal");v?u.current=v:(u.current=document.createElement("div"),u.current.setAttribute("id","pb-modal"),m?.appendChild(u.current))},[]);const c=d.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]);if(d.useEffect(()=>{c?s(!0):setTimeout(()=>{s(!1)},l?.duration)},[c,l]),!u.current)return null;const f=se.debounce(()=>{e?.()},300);return Jt.createPortal(d.createElement(d.Fragment,null,a&&d.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:f},d.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:m=>{m.stopPropagation(),m.preventDefault()}},d.createElement("div",{onClick:e,className:"modal-icon-wrapper"},d.createElement("img",{src:Uo,alt:"close",className:"modal-icon"})),i))),u.current)};var ft=d.memo(Go);const Wo=(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(" ")+" "},$o=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:a})=>{const[s,u]=d.useState(!0),[c,f]=d.useState(!1),m=Number(i?.lineClamp||2),v=d.useRef(null),g=d.useCallback(()=>{u(!s)},[s]);return d.useMemo(()=>!s&&t.length>e?Wo(t,e)+"...":t,[t,e,s]),d.useEffect(()=>{v.current&&a&&(u(!0),setTimeout(()=>{var T;f(!1);try{const C=(T=window?.getComputedStyle)===null||T===void 0?void 0:T.call(window,v.current),p=parseFloat(C?.height),b=parseFloat(C?.lineHeight),h=parseFloat(C?.fontSize)+6,x=isNaN(b)?h:b;t&&p>x*m&&(u(!1),f(!0))}catch{}},100))},[v,t,m,i,a]),d.createElement("div",{className:n,style:Object.assign({},i),hidden:!t||t===""},d.createElement("div",{ref:v,style:{overflow:"hidden",WebkitLineClamp:s?"":m,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),c&&t&&d.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??g},s?r||"show less":l||"show more"))};var Bt=d.memo($o);const qo=t=>{var e,i,n,o,l,r,a,s,{content:u,style:c,bgImg:f,onClick:m,schema:v,isDefault:g,bottom_image:T,tipText:C,isPost:p,viewTime:b,rec:h,swiper:x,commodityStyles:w,buttonStyle:A,index:M}=t,y=ce(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:S}=R(),{popupDetailData:E,bffEventReport:k,isPreview:I,waterFallData:D}=R(),{jumpToWeb:P,productView:j}=ke(),N=d.useRef(null),[F,z]=d.useState(!1),B=p?h:E,_=p?B?.product:(e=B?.video)===null||e===void 0?void 0:e.bindProduct,O=p?(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,V=p?M:E?.index,de=()=>{_?.link&&(P(E,_,O,V),p||j(B,_,O,b||N.current,V),window.location.href=window.getJointUtmLink(_.link))};d.useEffect(()=>{const G=()=>{N.current=new Date};return G(),window.addEventListener("pageshow",G),()=>{window.removeEventListener("pageshow",G)}},[]);const fe=d.useMemo(()=>{var G,ie,K,ee,ne;return _?.currency&&_?.price?`${(K=(ie=(G=_?.currency)===null||G===void 0?void 0:G.split("-")[1])===null||ie===void 0?void 0:ie.toUpperCase())!==null&&K!==void 0?K:""}${(ne=(ee=_?.price)===null||ee===void 0?void 0:ee.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ne!==void 0?ne:""}`:"$7,000"},[_?.price,_?.currency]),re=I?375:window.innerWidth,H=({isPost:G})=>{var ie,K,ee;return d.createElement("div",null,d.createElement("div",{className:"pb-commondity-content-collection",style:w?.collection,hidden:!!_&&(!_?.collection||_?.collection==="")},(ie=_?.collection)!==null&&ie!==void 0?ie:"Tiffany Lock"),d.createElement("div",{className:"pb-commondity-content-title",style:w?.title,hidden:!!_&&!_?.title},(K=_?.title)!==null&&K!==void 0?K:"Pendant in Yellow Gold with Diamonds, Medium"),d.createElement("div",{className:"pb-commondity-content-price",style:w?.price,hidden:!!_&&!_?.price},fe),d.createElement("div",{hidden:!!_&&(!_?.info||_?.info==="")},d.createElement(Bt,{foldText:C?.foldText,unfoldText:C?.unfoldText,onClick:()=>z(!0),isPost:G,text:(ee=_?.info)!==null&&ee!==void 0?ee:`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:w?.info})))},U=()=>{var G;return d.createElement(d.Fragment,null,(g||_?.link)&&d.createElement("button",{onClick:de,className:"pb-commondity-btn",style:A},(G=O?.enTitle)!==null&&G!==void 0?G:"Purchase on Website"))};return d.createElement("div",{className:"pb-commondity"},d.createElement("div",Object.assign({className:$.css(Object.assign({},c))},y),_&&((l=_?.homePage)===null||l===void 0?void 0:l.length)>0&&d.createElement(Je,{height:re,modules:[
|
6
|
-
Made in Italy`}));return d.createElement("div",{className:"pb-commondityDiroNew"},d.createElement("div",Object.assign({ref:N,className:$.css(Object.assign({},m))},M),O&&((l=O?.homePage)===null||l===void 0?void 0:l.length)>0&&d.createElement(Je,{height:H,modules:[Et,It],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:h?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:h?.delay*1e3}},(r=O?.homePage)===null||r===void 0?void 0:r.map(G=>d.createElement(De,{key:G},d.createElement("div",{style:{overflow:"hidden",width:H,height:H}},d.createElement("img",{src:G,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),!(!((a=O?.homePage)===null||a===void 0)&&a.length)&&d.createElement("div",{className:$.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},d.createElement("img",{className:$.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(s=y?.bottom_image)!==null&&s!==void 0?s:p,alt:""})),d.createElement("div",{className:"pb-commondityDiroNew-content"},d.createElement("div",{className:"pb-commondityDiroNew-content-top"},d.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},d.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:x?.title},(u=O?.title)!==null&&u!==void 0?u:"Large Dior Toujours Bag"),d.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!O&&(!O?.collection||O?.collection===""),style:x?.collection},O?.collection||"Black Macrocannage Calfskin")),d.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},d.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!O&&!O?.price,style:x?.price},re),d.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!O&&!O?.taxInfo,style:x?.taxInfo},(c=O?.taxInfo)!==null&&c!==void 0?c:"\u7A0E\u8D39"))),(!O||O?.link)&&d.createElement("button",{onClick:fe,className:"pb-commondityDiroNew-btn",style:w},(f=V?.enTitle)!==null&&f!==void 0?f:"Shop now"),U({isPost:E}))),d.createElement(ft,{visible:F,onClose:()=>z(!1)},U({isPost:!1})))};var nl=d.memo(il);const ol=he(nl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:tl},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 Ft,Ht,ye=[{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"]}]},{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:J,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Ft=J?.[0])===null||Ft===void 0?void 0:Ft.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:J,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Ht=J?.[0])===null||Ht===void 0?void 0:Ht.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"]}]}],ll=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function ki(t){const e=d.useRef(null),[i,n]=d.useState(!1);return d.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),d.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 sl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:a}=t;ce(t,["rec","children","className","onClick","style","isExternalLink","index"]);const s=d.useRef(null),u=ki(s),{popup:c}=Ie(),{setPopupDetailData:f,ctaEvent:m}=R(),{jumpToWeb:v}=ke();d.useEffect(()=>{var T,E;if(u&&s?.current){const p=(E=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&E!==void 0?E:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,a)}},[u,s,e,m,a]);const g=se.throttle(()=>{var T,E,p,b,h,x,w,A,M,y;const S=(E=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&E!==void 0?E:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,S,a),f?.(Object.assign(Object.assign({},e),{index:a})),r){if(!((b=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||b===void 0)&&b.link){const C=(h=e?.video)===null||h===void 0?void 0:h.bindCta,k=(x=e?.video)===null||x===void 0?void 0:x.bindProduct;v(e,k,C,a),window.location.href=(A=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)===null||A===void 0?void 0:A.link,window.location.href=window.getJointUtmLink((y=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||y===void 0?void 0:y.link)}}else o?.()},c?.duration);return d.createElement("div",{ref:s,className:n,style:l,onClick:g},i)};var it=d.memo(sl),rl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const al=t=>{var e,i,n,o,l,r,a,{content:s,style:u,bgImg:c,recData:f,bottom_image:m,ctaTempStyles:v,isExternalLink:g}=t,T=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:E}=R(),p=(e=f?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:E?.bottom_image)!==null&&o!==void 0?o:m;return d.createElement(it,Object.assign({isExternalLink:g,rec:f,className:$.css(Object.assign({},u)),style:{display:"flex"}},T),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},v?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:b,hidden:!b,alt:""})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},d.createElement("div",{className:rl["tow-line-ellipsis"],style:v?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),d.createElement("div",{className:$.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},v?.ctaTitle))},(a=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var dl=d.memo(al);const cl=he(dl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:ll,bindableProps:[],settingRender:ye},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 pl=t=>{var e,i,n,o,{content:l,style:r,bgImg:a,recData:s,bottom_image:u,ctaTempStyles:c,isExternalLink:f}=t,m=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:v}=R(),g=(e=s?.video)===null||e===void 0?void 0:e.bindCta;return d.createElement(it,Object.assign({isExternalLink:f,rec:s,className:$.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=g?.icon)!==null&&i!==void 0?i:v?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=g?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var fl=d.memo(pl);const vl=he(fl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ul,settingRender:ye?.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 ml={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const hl=t=>{var e,i,n,o,l,{content:r,style:a,bgImg:s,recData:u,bottom_image:c,ctaTempStyles:f,index:m}=t,v=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:g,bffEventReport:T}=R(),{jumpToWeb:E}=ke(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,b=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{p?.link&&(E(u,b,p,m),window.location.href=window.getJointUtmLink(p.link))};return d.createElement(it,Object.assign({index:m,rec:u,className:$.css(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},v,{onClick:h}),d.createElement("div",{className:$.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},f?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:g?.bottom_image)!==null&&o!==void 0?o:c,alt:""})),d.createElement("div",{className:$.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},d.createElement("div",{className:ml["tow-line-ellipsis"],style:f?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var gl=d.memo(hl);const bl=he(gl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:ye?.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 yl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],wl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Sl=t=>{var e,i,n,o,l,r,a,{content:s,style:u,bgImg:c,recData:f,bottom_image:m,ctaTempStyles:v,isExternalLink:g}=t,T=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:E}=R(),p=(e=f?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:E?.bottom_image)!==null&&o!==void 0?o:m;return d.createElement(it,Object.assign({isExternalLink:g,rec:f,className:$.css(Object.assign({},u)),style:{display:"flex"}},T),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},v?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:b,hidden:!b,alt:""})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},d.createElement("div",{className:wl["tow-line-ellipsis"],style:v?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),d.createElement("div",{className:$.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},v?.ctaTitle))},(a=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var Tl=d.memo(Sl);const xl=he(Tl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:yl,settingRender:ye,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 Cl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],El={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Il=t=>{var e,i,n,o,l,r,a,{content:s,style:u,bgImg:c,recData:f,bottom_image:m,ctaTempStyles:v,isExternalLink:g}=t,T=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:E}=R(),p=(e=f?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:E?.bottom_image)!==null&&o!==void 0?o:m;return d.createElement(it,Object.assign({isExternalLink:g,rec:f,className:$.css(Object.assign({},u)),style:{display:"flex"}},T),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},v?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:b,hidden:!b,alt:""})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},d.createElement("div",{className:El["tow-line-ellipsis"],style:v?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),d.createElement("div",{className:$.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},v?.ctaTitle))},(a=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&a!==void 0?a:"Shop now")))};var Dl=d.memo(Il);const kl=he(Dl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Cl,bindableProps:[],settingRender:ye},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 Al=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Pl=({children:t,isPadding:e=!0})=>d.createElement(Je,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Sn,wn,yn],style:{padding:e?"0 12px 0 20px":0}},t);var vt=d.memo(Pl);const _l=({src:t,rec:e,item:i,index:n})=>{const o=d.useRef(null),l=ki(o),{ctaEvent:r}=R();return d.useEffect(()=>{l&&t&&o?.current&&r?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,r,i,n]),d.createElement("img",{ref:o,hidden:!t,className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:t,alt:""})};var Ut=d.memo(_l),Ml={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Ol=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:a,bottom_image:s,ctaTempStyles:u,isExternalLink:c,index:f}=t,m=ce(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:v,setPopupDetailData:g,sxpParameter:T}=R(),{popup:E}=Ie(),{jumpToWeb:p}=ke(),[b,h]=d.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),x=se.throttle(w=>{v?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,f),g?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:f})),c?w?.link&&(p(r,w,w.bindCta,f),window.location.href=window.getJointUtmLink(w.link)):a?.()},E?.duration);return d.createElement(vt,{isPadding:!!r},b?.map(w=>{var A,M,y,S,C,k;return d.createElement(De,Object.assign({hidden:r&&!w?.bindCta,key:w?.itemId,className:$.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>x(w)}),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},d.createElement(Ut,{src:(y=(M=(A=w?.homePage)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:T?.bottom_image)!==null&&y!==void 0?y:s,rec:r,item:w,index:f})),d.createElement("div",{className:$.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},d.createElement("div",{className:Ml["two-line-ellipsis"],style:u?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),d.createElement("div",{className:$.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(k=(C=w?.bindCta)===null||C===void 0?void 0:C.enTitle)!==null&&k!==void 0?k:"Shop Now")))}))};var Ll=d.memo(Ol);const jl=he(Ll,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Al,bindableProps:[],settingRender:ye},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 Nl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Bl={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const zl=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:a,bottom_image:s,ctaTempStyles:u,isExternalLink:c,index:f}=t,m=ce(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:v}=R(),{ctaEvent:g,setPopupDetailData:T}=R(),{popup:E}=Ie(),[p,b]=d.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=ke(),x=se.throttle(w=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,f),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:f})),c?w?.link&&(h(r,w,w.bindCta,f),window.location.href=window.getJointUtmLink(w.link)):a?.()},E?.duration);return d.createElement(vt,{isPadding:!!r},p?.map(w=>{var A,M,y,S,C,k;return d.createElement(De,Object.assign({hidden:r&&!w?.bindCta,key:w.itemId,className:$.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>x(w)}),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},d.createElement(Ut,{src:(y=(M=(A=w?.homePage)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:v?.bottom_image)!==null&&y!==void 0?y:s,rec:r,item:w,index:f})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},d.createElement("div",{className:Bl["two-line-ellipsis"],style:u?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),d.createElement("div",{className:$.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(k=(C=w?.bindCta)===null||C===void 0?void 0:C.enTitle)!==null&&k!==void 0?k:"Shop Now")))}))};var Vl=d.memo(zl);const Fl=he(Vl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Nl,settingRender:ye,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 Hl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ul={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Gl=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:a,bottom_image:s,ctaTempStyles:u,isExternalLink:c,index:f}=t,m=ce(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:v,setPopupDetailData:g,sxpParameter:T}=R(),{popup:E}=Ie(),{jumpToWeb:p}=ke(),[b,h]=d.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),x=se.throttle(w=>{v?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,f),g?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:f})),c?w?.link&&(p(r,w,w.bindCta,f),window.location.href=window.getJointUtmLink(w.link)):a?.()},E?.duration);return d.createElement(vt,{isPadding:!!r},b?.map(w=>{var A,M,y,S,C,k;return d.createElement(De,Object.assign({hidden:r&&!w?.bindCta,key:w?.itemId,className:$.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>x(w)}),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},d.createElement(Ut,{src:(y=(M=(A=w?.homePage)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:T?.bottom_image)!==null&&y!==void 0?y:s,rec:r,item:w,index:f})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},d.createElement("div",{className:Ul["tow-line-ellipsis"],style:u?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),d.createElement("div",{className:$.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(k=(C=w?.bindCta)===null||C===void 0?void 0:C.enTitle)!==null&&k!==void 0?k:"Shop now")))}))};var Wl=d.memo(Gl);const $l=he(Wl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Hl,bindableProps:[],settingRender:ye},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 Gt,Wt,ql=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{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:"\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:J,name:["fontFamily"],initialValue:(Gt=J?.[0])===null||Gt===void 0?void 0:Gt.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:"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:J,initialValue:(Wt=J?.[0])===null||Wt===void 0?void 0:Wt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Yl=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=R();return d.createElement("div",{className:"clc-sxp-nav",style:e},d.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),d.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Ai=d.memo(Yl),Xl=null,Jl="3d989325-e7d6-4a74-8a97-98febdf5b567",Ql=null,Kl=null,Zl={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"},Rl=[{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}],es="Handbags",ts={productUserId:Xl,requestId:Jl,channel:Ql,rtc:Kl,tag:Zl,recList:Rl,hashTag:es};const is=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:a,setRtcList:s,setOpenHashtag:u,bffEventReport:c,sxpParameter:f}=R(),[m,v]=d.useState(!1),g=d.useRef(null),T=d.useRef(null),E=d.useRef(null),[p,b]=d.useState(""),h=d.useMemo(()=>{var y,S,C,k,I,D,P,j,N,F,z,B;return!((y=e?.video)===null||y===void 0)&&y.cover?(S=e?.video)===null||S===void 0?void 0:S.cover:!((C=e?.video)===null||C===void 0)&&C.url?(v(!0),(k=e?.video)===null||k===void 0?void 0:k.url):!((D=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||D===void 0)&&D.length?(j=(P=e?.video)===null||P===void 0?void 0:P.imgUrls)===null||j===void 0?void 0:j[0]:!((F=(N=e?.product)===null||N===void 0?void 0:N.homePage)===null||F===void 0)&&F.length?(B=(z=e?.product)===null||z===void 0?void 0:z.homePage)===null||B===void 0?void 0:B[0]:f?.bottom_image||""},[e,f?.bottom_image]),x=d.useMemo(()=>{var y,S;return((y=e?.product)===null||y===void 0?void 0:y.title)||((S=e?.video)===null||S===void 0?void 0:S.title)||null},[e]),w=d.useMemo(()=>{var y,S,C,k,I,D,P,j,N;return!((y=e?.product)===null||y===void 0)&&y.currency&&(!((S=e?.product)===null||S===void 0)&&S.price)?`${(D=(I=(k=(C=e?.product)===null||C===void 0?void 0:C.currency)===null||k===void 0?void 0:k.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&D!==void 0?D:""}${(N=(j=(P=e?.product)===null||P===void 0?void 0:P.price)===null||j===void 0?void 0:j.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&N!==void 0?N:""}`:null},[e]);d.useEffect(()=>{const y=new IntersectionObserver(S=>{S.forEach(C=>{if(C.isIntersecting){if(g.current===null||h==="")return;m&&p?g.current.src=p:g.current.src=h,y.unobserve(g.current)}})});return y.observe(g.current),()=>{y.disconnect()}},[h,m,p]);const A=(y,S,C)=>{const k=y/S;return C/k};d.useEffect(()=>{const y=T?.current;y===null||h===""||!m||(y.src=h,y.currentTime=1,y.crossOrigin="anonymous",y.onloadeddata=()=>{const S=E?.current;if(!S)return;const C=S.getContext("2d"),k=window?.innerWidth/2,I=A(y.videoWidth,y.videoHeight,k);S.height=I,S.width=k,C?.drawImage(y,0,0,S.width,S.height),b(S.toDataURL()),y.remove(),S.remove()})},[h,m]);const M=()=>{o(i),s?.(n),setTimeout(()=>{var y;(y=a?.current)===null||y===void 0||y.swiper.slideTo(i,0,!1),u?.(!1)},0)};return d.createElement("div",{className:"list-content-listItem",key:i,onClick:M,style:{marginBottom:r}},d.createElement("div",{className:"list-content-listItem-picture"},m&&d.createElement("div",{style:{display:"none"}},d.createElement("video",{ref:T,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),d.createElement("canvas",{ref:E})),d.createElement("img",{className:"list-content-listItem-picture-img",loading:"lazy",ref:g})),d.createElement("div",{className:"list-content-listItem-info"},d.createElement("div",{className:`list-content-listItem-info-title ${w?"list-content-listItem-info-nowrap":""}`,style:l?.title},x&&x),d.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!w},w)))};function ns(t){var e,i,n,o,l,r,a,{reportTagsView:s}=t,u=ce(t,["reportTagsView"]);const{waterFallData:c,getRecommendVideos:f,hashTagSize:m,loadingImage:v,isOpenHashTag:g}=R(),[T,E]=d.useState(),[p,b]=d.useState(),[h,x]=d.useState(!1),w=d.useRef(null),[A,M]=d.useState(!1);d.useCallback(()=>{A||(M(!0),c&&f?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType}).then(S=>{var C;E(T?.concat((C=S?.recList)!==null&&C!==void 0?C:[])),M(!1)}))},[c,f,T,A]),d.useEffect(()=>{var S,C;if(x(!0),c&&f?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType,defaultSize:m}).then(k=>{var I,D;b(k),E((D=(I=k?.recList)===null||I===void 0?void 0:I.filter(P=>P?.video!==null||P?.product!==null))!==null&&D!==void 0?D:[]),x(!1)}),g){const k=ts;b(k),E((C=(S=k?.recList)===null||S===void 0?void 0:S.filter(I=>I?.video!==null||I?.product!==null))!==null&&C!==void 0?C:[]),x(!1)}},[c,f,m,g]);const y=()=>{var S,C;!((S=p?.tag)===null||S===void 0)&&S.link&&(s(),window.location.href=(C=p?.tag)===null||C===void 0?void 0:C.link)};return d.createElement(d.Fragment,null,h?d.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},d.createElement("img",{width:64,height:64,src:v,alt:"loading...",style:{objectFit:"contain"}})):d.createElement("div",{className:"list"},d.createElement("div",{className:"list-scroll",ref:w,style:{bottom:!((e=p?.tag)===null||e===void 0)&&e.link?"100px":0}},d.createElement("div",{className:"list-info",style:(i=u?.textStyles)===null||i===void 0?void 0:i.hashTagDesc},(n=p?.tag)===null||n===void 0?void 0:n.info),d.createElement("div",{hidden:!(!((o=p?.tag)===null||o===void 0)&&o.link),className:"list-collection",onClick:y,style:{marginBottom:u?.space}},((l=p?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),d.createElement("div",{className:"list-content"},T?.map((S,C)=>d.createElement(is,Object.assign({key:C,index:C,rec:S,list:T,reportTagsView:s},u)))),d.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading...")),d.createElement("div",{className:"list-bottom",hidden:!(!((r=p?.tag)===null||r===void 0)&&r.link)},d.createElement("button",{className:"list-bottom-btn",style:u?.buttonStyle,onClick:y},((a=p?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection"))))}var os="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const ls=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:a,setRtcList:s,cacheActiveIndex:u,rtcList:c,setCacheRtcList:f,setIsFromHashtag:m,isFromHashtag:v,bffEventReport:g}=R();d.useRef(null);const T=d.useRef(null),[E,p]=d.useState();d.useEffect(()=>{const A=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?T.current=M:(T.current=document.createElement("div"),T.current.setAttribute("id","water-fall"),A?.appendChild(T.current))},[]);const b=()=>{const A=se.isEqual(c,a);!A&&a&&a?.length&&s?.(a),w(0),r?.(void 0),m?.(!1),setTimeout(()=>{var M,y;A||(y=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||y===void 0||y.slideTo(u,0,!1),n?.(!1)},0)},[h,x]=d.useState();d.useEffect(()=>{i&&x(i)},[i]);const w=d.useCallback(A=>{var M,y,S,C,k,I;const D=h?.rec;if(!D)return;let P="";v?P="hashTagPage":!((M=D?.video)===null||M===void 0)&&M.url?P="videoPage":!((S=(y=D?.video)===null||y===void 0?void 0:y.imgUrls)===null||S===void 0)&&S.length&&(P="imagePage"),g?.({eventInfo:{relatedContentId:(C=D?.video)===null||C===void 0?void 0:C.itemId,position:A+"",contentTags:JSON.stringify((k=D?.video)===null||k===void 0?void 0:k.tags),traceInfo:(I=D?.video)===null||I===void 0?void 0:I.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:P,fromKPage:location?.href,timeOnSite:Math.floor((new Date-E)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,g,E,v]);return d.useEffect(()=>{o&&p(new Date)},[o]),d.useEffect(()=>{const A=()=>{p(new Date)};return window.addEventListener("pageshow",A),()=>{window.removeEventListener("pageshow",A)}},[]),T.current?Jt.createPortal(d.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},d.createElement(Ai,{icon:os,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:b}),d.createElement(ns,Object.assign({reportTagsView:w},t))),T.current):null};var Pi=d.memo(ls);const ss=t=>d.createElement(Pi,Object.assign({},t));var rs=d.memo(ss);const as=he(rs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ql,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},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}}},w:100,h:40,sort:2});var _i=Object.freeze({__proto__:null,Appoint:vl,AppointForm:dn,Commodity:cl,CommodityDetail:Xo,CommodityDetailDiroNew:ol,CommodityDiro:xl,CommodityDiroNew:kl,HashTag:as,Link:bl,MultiCommodity:Fl,MultiCommodityDiro:jl,MultiCommodityDiroNew:$l,Prompt:el});const ds="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",cs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",us=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=ce(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:a,mutateUnlike:s,bffEventReport:u}=R(),[c,f]=d.useState(e),m=Ve(cs),v=Ve(ds),g=se.debounce(()=>ve(void 0,void 0,void 0,function*(){var T,E,p,b,h,x,w,A,M,y,S,C,k,I,D,P,j,N,F,z;if(c){f(!1);const B=(p=yield s?.({videoItemId:(E=(T=o.video)===null||T===void 0?void 0:T.itemId)!==null&&E!==void 0?E:""}))!==null&&p!==void 0?p:!1;u?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(h=(b=o.video)===null||b===void 0?void 0:b.itemId)!==null&&h!==void 0?h:"",contentName:(w=(x=o.video)===null||x===void 0?void 0:x.title)!==null&&w!==void 0?w:"",contentTags:JSON.stringify((M=(A=o.video)===null||A===void 0?void 0:A.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((y=o.video)===null||y===void 0)&&y.url?"video":"image",traceInfo:(S=o.video)===null||S===void 0?void 0:S.traceInfo}}),B||f(!0)}else{f(!0);const B=(C=yield a?.({content:JSON.stringify(o)}))!==null&&C!==void 0?C:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(I=(k=o.video)===null||k===void 0?void 0:k.itemId)!==null&&I!==void 0?I:"",contentName:(P=(D=o.video)===null||D===void 0?void 0:D.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((N=(j=o.video)===null||j===void 0?void 0:j.tags)!==null&&N!==void 0?N:[]),position:l+"",contentFormat:!((F=o.video)===null||F===void 0)&&F.url?"video":"image",traceInfo:(z=o.video)===null||z===void 0?void 0:z.traceInfo}}),B||f(!1)}}),200);return d.createElement("button",Object.assign({},r,{onClick:g}),d.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||v,alt:"icon"}))};var ps=d.memo(us);const Qe=new zi;var Le;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Le||(Le={}));const fs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l})=>{const[r,a]=d.useState(!1),s=d.useRef(null),{bffEventReport:u,sxpParameter:c,waterFallData:f,openHashtag:m}=R(),v=d.useRef(0),[g,T]=d.useState(!1),{isActive:E}=Ii();d.useEffect(()=>{s.current&&(s.current.muted=o)},[o]);const p=d.useCallback(()=>{var y;(y=s.current)===null||y===void 0||y.play()},[]),b=Ve("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),h=d.useCallback(()=>{var y,S,C,k,I,D,P,j,N,F,z,B,_;a(!1);const O=n[e];if(O&&g&&(!((y=s?.current)===null||y===void 0)&&y.duration)){v.current=((S=s?.current)===null||S===void 0?void 0:S.currentTime)||0;const V=((k=(C=s.current)===null||C===void 0?void 0:C.duration)!==null&&k!==void 0?k:0).toFixed(2),de=((D=(I=s.current)===null||I===void 0?void 0:I.currentTime)!==null&&D!==void 0?D:0).toFixed(2);u?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(j=(P=O.video)===null||P===void 0?void 0:P.itemId)!==null&&j!==void 0?j:"",contentName:(F=(N=O.video)===null||N===void 0?void 0:N.title)!==null&&F!==void 0?F:"",playType:"1",startTime:de,videoDuration:V,contentTags:JSON.stringify((B=(z=O.video)===null||z===void 0?void 0:z.tags)!==null&&B!==void 0?B:[]),position:e+"",contentFormat:"video",traceInfo:(_=O.video)===null||_===void 0?void 0:_.traceInfo}})}g||T(!0)},[u,n,e,g]),x=d.useCallback(()=>{var y,S,C,k,I,D,P,j,N,F,z,B,_;const O=n[e];if(O&&!g&&(!((y=s?.current)===null||y===void 0)&&y.duration)){v.current=((S=s?.current)===null||S===void 0?void 0:S.currentTime)||0;const V=((k=(C=s.current)===null||C===void 0?void 0:C.duration)!==null&&k!==void 0?k:0).toFixed(2),de=((D=(I=s.current)===null||I===void 0?void 0:I.currentTime)!==null&&D!==void 0?D:0).toFixed(2);u?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(j=(P=O.video)===null||P===void 0?void 0:P.itemId)!==null&&j!==void 0?j:"",contentName:(F=(N=O.video)===null||N===void 0?void 0:N.title)!==null&&F!==void 0?F:"",playType:"0",startTime:de,videoDuration:V,contentTags:JSON.stringify((B=(z=O.video)===null||z===void 0?void 0:z.tags)!==null&&B!==void 0?B:[]),position:e+"",contentFormat:"video",traceInfo:(_=O.video)===null||_===void 0?void 0:_.traceInfo}})}setTimeout(()=>{var V;(V=s.current)===null||V===void 0||V.play()},0)},[e,u,n,g]),w=d.useCallback(y=>()=>{var S,C,k,I,D,P,j,N,F;if(!g)return;n[e],((C=(S=s.current)===null||S===void 0?void 0:S.duration)!==null&&C!==void 0?C:0).toFixed(2),((I=(k=s.current)===null||k===void 0?void 0:k.currentTime)!==null&&I!==void 0?I:0).toFixed(2);const z=(D=s.current)===null||D===void 0?void 0:D.paused;switch(y){case"start":if(!z)return;(P=s.current)===null||P===void 0||P.play(),a(!1);break;case"pause":if(z)return;(j=s.current)===null||j===void 0||j.pause(),a(!0);break;default:z?(N=s.current)===null||N===void 0||N.play():(F=s.current)===null||F===void 0||F.pause(),a(!z);break}},[n,e,g]),A=d.useCallback(()=>{var y,S,C,k,I,D,P,j,N,F,z,B,_;const O=n[e],V=((S=(y=s.current)===null||y===void 0?void 0:y.duration)!==null&&S!==void 0?S:0).toFixed(2),de=((k=(C=s.current)===null||C===void 0?void 0:C.currentTime)!==null&&k!==void 0?k:0).toFixed(2);if(!((I=s?.current)===null||I===void 0)&&I.duration){const fe=(((D=s?.current)===null||D===void 0?void 0:D.currentTime)-v.current).toFixed(2);u?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(j=(P=O.video)===null||P===void 0?void 0:P.itemId)!==null&&j!==void 0?j:"",contentName:(F=(N=O.video)===null||N===void 0?void 0:N.title)!==null&&F!==void 0?F:"",endTime:de,videoDuration:V,playDuration:fe,contentTags:JSON.stringify((B=(z=O.video)===null||z===void 0?void 0:z.tags)!==null&&B!==void 0?B:[]),position:e+"",contentFormat:"video",traceInfo:(_=O.video)===null||_===void 0?void 0:_.traceInfo}})}},[n,e,u]);d.useEffect(()=>{var y,S,C;if(!(n.length<=0)&&s.current){if(a(!1),!E){(y=s.current)===null||y===void 0||y.pause();return}if(s.current.src)s.current.play();else{const k=t.video.url;s.current.src=k,s.current.setAttribute("x5-playsinline","true"),s.current.setAttribute("webkit-playsinline","true")}return(S=s.current)===null||S===void 0||S.addEventListener("canplay",x),(C=s.current)===null||C===void 0||C.addEventListener("playing",h),()=>{var k,I;(k=s.current)===null||k===void 0||k.removeEventListener("canplay",x),(I=s.current)===null||I===void 0||I.removeEventListener("playing",h)}}},[n,x,h,E,g,t.video]),d.useEffect(()=>{var y,S,C;const k=(y=s.current)===null||y===void 0?void 0:y.paused;E&&(!k&&m?(S=s.current)===null||S===void 0||S.pause():m||(C=s.current)===null||C===void 0||C.play())},[m,E]),d.useEffect(()=>{if(!E)return;const y=w("start"),S=w("pause");return Qe.on(Le.PAGE_DID_SHOW,y),Qe.on(Le.PAGE_DID_HIDE,S),()=>{Qe.off(Le.PAGE_DID_SHOW,y),Qe.off(Le.PAGE_DID_HIDE,S)}},[w,E]);const M=d.useMemo(()=>c?.placeholder_image?d.createElement("img",{hidden:g,style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:c?.placeholder_image}):null,[g,c?.placeholder_image]);return d.useEffect(()=>{const y=()=>{var S,C;l===e&&(!((S=t?.video)===null||S===void 0)&&S.url)&&(!((C=s?.current)===null||C===void 0)&&C.src)&&!r&&w("pause")()};return window.addEventListener("beforeunload",y),()=>{window.removeEventListener("beforeunload",y)}},[l,e,t,s,w,r]),t.video?d.createElement("div",{className:"video-container",key:t.video.itemId,onClick:w(),style:{position:"relative",width:"100%",height:i}},d.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:s,poster:c?.placeholder_image,muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:A,onEnded:p}),M,d.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:b})):null};var vs=d.memo(fs);const ms=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=d.useState(t),a=s=>{s.stopPropagation();const u=!l;r(u),n?.(u)};return d.createElement("button",{style:o,className:"pb-toggle-button",onClick:a},d.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var hs=d.memo(ms);const gs=({imageUrl:t})=>{const[e,i]=d.useState(!0);Ie(),d.useEffect(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Ve("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=d.useMemo(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return d.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},d.createElement("img",{src:t||n}))},bs=t=>{const{src:e,height:i,width:n}=t,[o,l]=d.useState(!1),r=d.useRef(null),{sxpParameter:a}=R();return d.useEffect(()=>{if(r.current===null||e==="")return;const s=new Image;s.src=e,s.onload=()=>{const u=s.height/s.width,c=16/9;Math.abs(u-c)>.05&&l(!0)},r.current.src=e},[e]),d.createElement("div",{style:{overflow:"hidden",height:i,width:"100%",position:"relative"}},d.createElement("img",{ref:r,loading:"lazy",src:e??a?.placeholder_image,style:{height:"100%",width:"100%",objectFit:"cover",filter:o?"blur(10px)":"none",transform:o?"scale(1.2)":"none"}}),o&&d.createElement("img",{ref:r,src:e,loading:"lazy",style:{width:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:"translateY(-50%)",left:0,right:0}}))},ys=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r})=>{const{isActive:a}=Ii(),{sxpParameter:s,openHashtag:u}=R(),[c,f]=d.useState(!1);return d.useEffect(()=>{c&&a?u?l(n):r(o):f(!0)},[n,a,l,u,o,r,c]),a?d.createElement(Je,{defaultValue:0,direction:"horizontal",modules:[Et,It],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:3e3}},t?.map(m=>d.createElement(De,{key:m},d.createElement(bs,{src:m,width:e,height:i})))):d.createElement("img",{src:s?.placeholder_image,style:{width:e,height:i,objectFit:"cover"}})};var ws=d.memo(ys);const Ss=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,a]=d.useState(!1),{setWaterFallData:s,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:f,setIsFromHashtag:m}=R(),v=g=>{f?m?.(!0):c?.(n),s?.(i?{hashTag:g,itemId:e,itemType:i,rec:o}:{hashTag:g,rec:o}),u?.(!0)};return d.useMemo(()=>t.length<=6?null:d.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>a(!r)},r?"show less":"show more"),[r,t]),d.createElement("div",{className:"clc-sxp-bottom-hashtag"},d.createElement(vt,null,t?.map((g,T)=>d.createElement(De,{key:T,hidden:r?!1:T>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>v(g)},`#${g}`))))};var Ts=d.memo(Ss),xs="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 $t(t){return d.memo(function(e){const{$store:i}=Yi(),n=l=>{let r=l;const a=l.match(/{{.*?}}/g);return a?.length&&a.forEach(s=>{s.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const f=se.get(i,c);return r=r.replace(s,f),f}})}),r},o=d.useMemo(()=>{var l,r,a;const{bindDatas:s}=e,u=ce(e,["bindDatas"]);if((l=s?.forEach)===null||l===void 0||l.call(s,c=>{if(c?.propKey&&c?.dataPath){const{propKey:f,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(v,g)=>{var T,E;if(g){const p=(E=(T=se.get(i,g))!==null&&T!==void 0?T:e[f])!==null&&E!==void 0?E:"";return u[f]=p,p}})}}),u){u.eventMap={};const c=se.cloneDeep(u.event)||{};for(const f in c)if(Object.prototype.hasOwnProperty.call(c,f))try{c[f].value=n(c[f].value),u.eventMap[f]=new Function(c[f].value)}catch{}}return!((a=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||a===void 0)&&a.linkType&&(u.style.cursor="pointer"),u},[i,e]);return d.createElement(t,Object.assign({},o,o.eventMap))})}const Cs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Ie(),l=d.useMemo(()=>{var r,a,s,u,c,f,m,v,g,T,E,p,b,h,x,w,A,M,y,S,C,k,I,D,P,j,N,F,z,B,_;if(!t?.video)return null;let O=null;!((a=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||a===void 0)&&a.length?O="\u591A\u5546\u54C1CTA":!((s=t?.video)===null||s===void 0)&&s.bindProduct?O="\u5546\u54C1CTA":O=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const V=i?.[O];if(((f=V?.item)===null||f===void 0?void 0:f.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((v=V?.item)===null||v===void 0?void 0:v.type)==="Commodity"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((T=V?.item)===null||T===void 0?void 0:T.type)==="CommodityDiroNew"&&!(!((E=t?.video)===null||E===void 0)&&E.bindProduct)||((p=V?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((h=(b=t?.video)===null||b===void 0?void 0:b.bindProducts)===null||h===void 0)&&h.length)||((x=V?.item)===null||x===void 0?void 0:x.type)==="MultiCommodityDiro"&&!(!((A=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||A===void 0)&&A.length)||((M=V?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((S=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||S===void 0)&&S.length))return null;if(V&&n){const de=n[(C=V?.item)===null||C===void 0?void 0:C.type],fe=$t(de),re=(k=de?.extend)===null||k===void 0?void 0:k.defaulSetting,H=((P=(D=(I=V?.item)===null||I===void 0?void 0:I.event)===null||D===void 0?void 0:D.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return d.createElement(fe,Object.assign({style:Object.assign(Object.assign(Object.assign({},re?.style),(j=V?.item)===null||j===void 0?void 0:j.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box"}),textStyle:Object.assign(Object.assign({},re?.textStyle),(N=V?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(z=(F=V?.item)===null||F===void 0?void 0:F.bindDatas)!==null&&z!==void 0?z:[]},re?.props,(B=V?.item)===null||B===void 0?void 0:B.props,{event:((_=V?.item)===null||_===void 0?void 0:_.event)||{},schema:o,id:V?.id,key:V?.id,recData:t,isExternalLink:H,index:e}))}else return null},[t,n,i,o]);return d.createElement(d.Fragment,null,l)};var Es=d.memo(Cs);const Is=({nudge:t})=>d.createElement("div",{hidden:!t?.isOpen,className:"clc-sxp-bottom-nudge",style:{marginBottom:t?.marginBottom,width:t?.size.width,height:t?.size.height,backgroundColor:t?.backgroundColor,borderRadius:t?.borderRadius}},t?.icon?d.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,d.createElement("p",{style:Object.assign({},t?.textStyle)},t?.content)),Mi=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:a,tipText:s,nudge:u,_schema:c,hashTagStyle:f})=>{var m,v,g,T,E,p,b;const{schema:h}=Ie(),[x,w]=d.useState(0),A=d.useRef(0),[M,y]=d.useState(!1),[S,C]=d.useState(!0),k=d.useRef(),I=d.useRef(),[D,P]=d.useState(!1),{loadVideos:j,bffEventReport:N,loading:F,setPopupDetailData:z,ctaEvent:B,swiperRef:_,waterFallData:O,setOpenHashtag:V,appDomain:de,openHashtag:fe,loadingImage:re,isFromHashtag:H,popupDetailData:U}=R(),{productView:G}=ke(),ie=d.useMemo(()=>r.length>0&&!F,[r,F]),K=d.useCallback(()=>{if(r.length<=0)return;ee();const L=location.search.slice(1),Y=Xt.parse(L.replace(/\+/g,"%2B"));for(const X in Y)Y[X]=Y[X].replace(/%2B/g,"+");const W=X=>{var Q;return(Q=Y[X])!==null&&Q!==void 0?Q:""};N?.({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}}),y(!0)},[N,r.length]),ee=()=>{k.current=new Date,I.current=new Date,Ji()};d.useEffect(()=>{M||K()},[K,M]),d.useEffect(()=>{var L;const Y=r?.findIndex(W=>{var X,Q,te,q,Z,le,ae,Te,xe;return a==="\u591A\u5546\u54C1CTA"?((X=W?.video)===null||X===void 0?void 0:X.bindProducts)&&((te=(Q=W?.video)===null||Q===void 0?void 0:Q.bindProducts)===null||te===void 0?void 0:te.length)>0:a==="\u5546\u54C1CTA"?(q=W?.video)===null||q===void 0?void 0:q.bindProduct:((le=(Z=W?.video)===null||Z===void 0?void 0:Z.bindCta)===null||le===void 0?void 0:le.itemId)===a&&(((ae=W?.video)===null||ae===void 0?void 0:ae.url)||((xe=(Te=W?.video)===null||Te===void 0?void 0:Te.imgUrls)===null||xe===void 0?void 0:xe.length))})||0;(L=_?.current)===null||L===void 0||L.swiper.slideTo(Y)},[a,_]),d.useEffect(()=>{const L=r?.[x],Y=()=>{var W,X,Q,te,q,Z,le,ae,Te,xe,Ue,Ge,We,$e,ze;if(document.visibilityState==="hidden"){Qe.emit(Le.PAGE_DID_HIDE,L),Ne(L),He(L);let Ae="";U&&(!((X=(W=L?.video)===null||W===void 0?void 0:W.bindProducts)===null||X===void 0)&&X.length||!((Q=L?.video)===null||Q===void 0)&&Q.bindProduct)?Ae="pdpPage":U&&o?.[(Z=(q=(te=L.video)===null||te===void 0?void 0:te.bindCta)===null||q===void 0?void 0:q.itemId)!==null&&Z!==void 0?Z:""].item.type==="Appoint"?Ae="formPage":H?Ae="hashTagPage":!((le=L?.video)===null||le===void 0)&&le.url?Ae="videoPage":!((ae=L?.video)===null||ae===void 0)&&ae.imgUrls&&(!((xe=(Te=L?.video)===null||Te===void 0?void 0:Te.imgUrls)===null||xe===void 0)&&xe.length)?Ae="imagePage":L?.product&&(Ae="productPage"),N?.({eventInfo:{sessionDuration:Math.floor((new Date-k.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",relatedContentId:(Ue=L?.video)===null||Ue===void 0?void 0:Ue.itemId,relatedProductId:(Ge=L?.product)===null||Ge===void 0?void 0:Ge.itemId,position:x,fromKName:Ae,fromKPage:location?.href,relatedCtatId:(ze=($e=(We=L.video)===null||We===void 0?void 0:We.bindCta)===null||$e===void 0?void 0:$e.itemId)!==null&&ze!==void 0?ze:""}})}else document.visibilityState==="visible"&&(K(),Ze(x),Qe.emit(Le.PAGE_DID_SHOW,L))};return document.addEventListener("visibilitychange",Y),()=>{document.removeEventListener("visibilitychange",Y)}},[x,N,k,r,K,U,H,o]);const ne=d.useMemo(()=>t?.logoUrl&&t?.isShowLogo?i-45:i,[t,i]),we=d.useMemo(()=>t?.logoUrl&&t?.isShowLogo?d.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},d.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),je=d.useCallback((L,Y)=>{var W,X,Q,te;return!((W=L.video)===null||W===void 0)&&W.url?d.createElement(vs,{rec:L,index:Y,muted:S,data:r,height:ne,activeIndex:x}):!((X=L.video)===null||X===void 0)&&X.imgUrls?d.createElement(ws,{key:L.video.itemId,imgUrls:L.video.imgUrls,width:n,height:ne,rec:L,index:Y,onReportViewImageEnd:Ne,onViewImageStartEvent:Ze}):L.product&&Array.isArray(t?.productPost)&&((Q=t?.productPost)===null||Q===void 0?void 0:Q.length)>0?(te=t?.productPost)===null||te===void 0?void 0:te.map((q,Z)=>{var le,ae,Te,xe,Ue,Ge,We,$e;const ze=l[(le=q?.item)===null||le===void 0?void 0:le.type],Ae=$t(ze),Pe=(ae=ze?.extend)===null||ae===void 0?void 0:ae.defaulSetting;return d.createElement(Ae,Object.assign({key:Z,textStyle:Object.assign(Object.assign({},Pe?.textStyle),(Te=q?.item)===null||Te===void 0?void 0:Te.textStyle),bindDatas:(Ue=(xe=q?.item)===null||xe===void 0?void 0:xe.bindDatas)!==null&&Ue!==void 0?Ue:[]},Pe?.props,(Ge=q?.item)===null||Ge===void 0?void 0:Ge.props,{event:((We=q?.item)===null||We===void 0?void 0:We.event)||{},schema:h,id:q?.id,viewTime:I.current,rec:L,isPost:!0,tipText:s,style:Object.assign(Object.assign(Object.assign({},Pe?.style),($e=q?.item)===null||$e===void 0?void 0:$e.style),{height:"100%",overflow:"auto"}),index:Z}))}):null},[n,r,ne,S,x,t?.productPost,I,s,l,h]),Ke=d.useCallback((L,Y)=>{var W,X,Q,te,q,Z,le;return L.video?d.createElement(d.Fragment,null,((W=L.video)===null||W===void 0?void 0:W.title)&&d.createElement("div",{className:"clc-sxp-bottom-shadow"}),d.createElement("div",{className:"clc-sxp-bottom"},d.createElement(Is,{nudge:u}),d.createElement("div",{className:"clc-sxp-bottom-card"},d.createElement(Es,{rec:L,index:Y,tempMap:o,resolver:l})),d.createElement(Bt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:s?.foldText,unfoldText:s?.unfoldText,text:(Q=(X=L.video)===null||X===void 0?void 0:X.title)!==null&&Q!==void 0?Q:"",style:e}),d.createElement(Ts,{index:x,tags:(q=(te=L?.video)===null||te===void 0?void 0:te.hashTags)!==null&&q!==void 0?q:[],itemId:(Z=L?.video)===null||Z===void 0?void 0:Z.itemId,itemType:!((le=L.video)===null||le===void 0)&&le.url?"VIDEO":null,rec:L,hashTagStyle:f}))):null},[e,x,o,l,s,u,f]),nt=d.useCallback((L,Y)=>{var W,X;if(!t?.isShowLike)return;let Q=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return O&&Q<40&&(Q+=40),L.video?d.createElement(ps,{key:L.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:L.isCollected,recData:L,className:"clc-sxp-like-button",style:{top:Q,right:(X=t?.likeIconX)!==null&&X!==void 0?X:0},position:Y}):null},[t,O]),Ne=L=>{var Y,W,X,Q,te,q;if(!(!((Y=L.video)===null||Y===void 0)&&Y.url)&&(!((W=L.video)===null||W===void 0)&&W.imgUrls)){const Z=Date.now(),le=(Z-A.current)/1e3;N?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(Q=(X=L.video)===null||X===void 0?void 0:X.itemId)!==null&&Q!==void 0?Q:"",contentName:(te=L.video.title)!==null&&te!==void 0?te:"",imageEndTime:`${Z}`,playDuration:`${le}`,contentTags:JSON.stringify((q=L.video.tags)!==null&&q!==void 0?q:[]),position:x,contentFormat:"image",traceInfo:L.video.traceInfo}})}},ot=L=>{var Y,W,X,Q,te,q,Z,le;I.current=new Date;const ae=r[L.previousIndex];ae&&(L.previousIndex-L.activeIndex<0?(N?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",relatedContentId:(W=(Y=ae.video)===null||Y===void 0?void 0:Y.itemId)!==null&&W!==void 0?W:"",relatedProductId:(Q=(X=ae.product)===null||X===void 0?void 0:X.itemId)!==null&&Q!==void 0?Q:"",requestId:null}}),Ne(ae)):(N?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",relatedContentId:(q=(te=ae.video)===null||te===void 0?void 0:te.itemId)!==null&&q!==void 0?q:"",relatedProductId:(le=(Z=ae.product)===null||Z===void 0?void 0:Z.itemId)!==null&&le!==void 0?le:"",requestId:null}}),Ne(ae)),He(ae))},He=L=>{var Y,W,X;!(!((Y=L?.video)===null||Y===void 0)&&Y.url)&&!(!((W=L?.video)===null||W===void 0)&&W.imgUrls)&&L?.product&&G(L,L.product,(X=L?.product)===null||X===void 0?void 0:X.bindCta,I.current,x)};d.useEffect(()=>{const L=r[x];fe&&He(L)},[fe,r,x]);const Ze=L=>{var Y,W,X,Q,te,q;const Z=r[L];if(!(!((Y=Z?.video)===null||Y===void 0)&&Y.url)&&(!((W=Z?.video)===null||W===void 0)&&W.imgUrls)){const le=Date.now();A.current=le,N?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(Q=(X=Z.video)===null||X===void 0?void 0:X.itemId)!==null&&Q!==void 0?Q:"",contentName:(te=Z.video.title)!==null&&te!==void 0?te:"",imageStartTime:`${le}`,contentTags:JSON.stringify((q=Z.video.tags)!==null&&q!==void 0?q:[]),position:L,contentFormat:"image",traceInfo:Z.video.traceInfo}})}},Be=d.useMemo(()=>{const L=r?.map((Y,W)=>x===W||W-1===x||W+1===x?Y:null);return O?L:L.concat([{loading:!0}])},[r,x,O]),me=d.useMemo(()=>F?d.createElement("div",{style:{height:ne,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},d.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):Be?.map((L,Y)=>d.createElement(De,{key:Y,virtualIndex:Y},L&&d.createElement(d.Fragment,null,L?.loading?d.createElement("div",{style:{height:ne,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},d.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):d.createElement(d.Fragment,null,je(L,Y),Ke(L,Y),nt(L,Y))))),[n,r,ne,F,Ke,je,Be,re]),Yt=Ve("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),Re=Ve("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return d.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},O&&d.createElement(Ai,{icon:xs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{V?.(!0)}}),we,ie?d.createElement(gs,{imageUrl:t?.swipeTipIcon}):null,d.createElement(Je,{ref:_,onActiveIndexChange:L=>{w(L.activeIndex),!fe&&(ot(L),!O&&L?.activeIndex+2>=r?.length&&(D||(P(!0),j?.(Math.ceil(x/10)+1).then(()=>{P(!1)}))))},direction:"vertical",height:ne},d.createElement(hs,{style:{position:"fixed",right:(m=t?.muteIconX)!==null&&m!==void 0?m:0,visibility:!((g=(v=r?.[x])===null||v===void 0?void 0:v.video)===null||g===void 0)&&g.url?"visible":"hidden",bottom:(T=t?.muteIconY)!==null&&T!==void 0?T:23,zIndex:999},defaultValue:S,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Yt,unactiveIcon:t?.muteIcon?t?.muteIcon:Re,onChange:C}),me),d.createElement(Pi,Object.assign({},(b=(p=(E=t?.hashTag)===null||E===void 0?void 0:E[0])===null||p===void 0?void 0:p.item)===null||b===void 0?void 0:b.props)))},Ds=()=>{const{schema:t,resolver:e,popup:i}=Ie(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=R(),{productView:r}=ke(),[a,s]=d.useState(),u=d.useRef(null);d.useEffect(()=>{const m=()=>{u.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),d.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,s(i))},[i]);const c=()=>{var m,v,g,T;if(!i||i?.id===""||!a||new Date-u.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;s(Object.assign(Object.assign({},i),{id:""}));const E=o,p=(v=E?.video)===null||v===void 0?void 0:v.bindProduct,b=(T=(g=E?.video)===null||g===void 0?void 0:g.bindProduct)===null||T===void 0?void 0:T.bindCta;p&&b&&r(E,p,b,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},f=d.useMemo(()=>{var m,v,g;return(g=(v=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||v===void 0?void 0:v.popupList)===null||g===void 0?void 0:g.map((T,E)=>{var p,b,h,x,w,A,M,y;if(T?.id===i?.id){const S=e[(p=T?.item)===null||p===void 0?void 0:p.type],C=$t(S),k=(b=S?.extend)===null||b===void 0?void 0:b.defaulSetting;return d.createElement(C,Object.assign({key:E,style:Object.assign(Object.assign(Object.assign({},k?.style),(h=T?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},k?.textStyle),(x=T?.item)===null||x===void 0?void 0:x.textStyle),bindDatas:(A=(w=T?.item)===null||w===void 0?void 0:w.bindDatas)!==null&&A!==void 0?A:[]},k?.props,(M=T?.item)===null||M===void 0?void 0:M.props,{event:((y=T?.item)===null||y===void 0?void 0:y.event)||{},schema:t,id:T?.id}))}else return d.createElement(d.Fragment,null)})},[t,i,e]);return d.createElement(ft,{popup:a,onClose:c,padding:0,modalStyle:{position:"fixed"}},f)},qt={};Object.values(_i).forEach(t=>{qt[t.extend.type]=t});const ks=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l})=>{var r,a,s,u,c,f;const m=d.useMemo(()=>{var v;return location?.search?(v=location?.search)===null||v===void 0?void 0:v.replace("?",""):""},[]);return d.createElement(si,{resolver:qt,enableDataSource:!1,schema:t?.data,utmVal:m},d.createElement(ii,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(a=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&a!==void 0?a:e,defaultSize:(u=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.default_recommend)!==null&&u!==void 0?u:i,hashTagSize:(f=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.hash_tag_size)!==null&&f!==void 0?f:n,loadingImage:o,appDomain:l,render:({rtcList:v})=>{var g;return d.createElement(d.Fragment,null,d.createElement(Mi,Object.assign({},(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf,{data:v,resolver:qt})),d.createElement(Ds,null))}}))};var As=d.memo(ks);const Oi=d.createContext({}),Ps=({children:t,data:e})=>{var i,n,o,l,r,a;const[s,u]=d.useState(!1);return d.createElement(Oi.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:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.loading_image},appDomain:e?.appDomain,openHashtag:s,setOpenHashtag:u}},t)};function _s(){return d.useContext(Oi)}oe.EditorDataProvider=Ps,oe.Modal=ft,oe.SxpDataSourceProvider=ii,oe.SxpPageCore=As,oe.SxpPageRender=Mi,oe.core=nn,oe.default=qi,oe.defaultSetting=ln,oe.materials=_i,oe.useEditorDataProvider=_s,Object.defineProperty(oe,"__esModule",{value:!0})});
|
5
|
+
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:w?.info})))},U=()=>{var G;return d.createElement(d.Fragment,null,(g||_?.link)&&d.createElement("button",{onClick:de,className:"pb-commondity-btn",style:A},(G=O?.enTitle)!==null&&G!==void 0?G:"Purchase on Website"))};return d.createElement("div",{className:"pb-commondity"},d.createElement("div",Object.assign({className:$.css(Object.assign({},c))},y),_&&((l=_?.homePage)===null||l===void 0?void 0:l.length)>0&&d.createElement(Je,{height:re,modules:[Ct,It],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:x?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:x?.delay*1e3}},(r=_?.homePage)===null||r===void 0?void 0:r.map(G=>d.createElement(De,{key:G},d.createElement("div",{style:{overflow:"hidden",width:re,height:re}},d.createElement("img",{src:G,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),!(!((a=_?.homePage)===null||a===void 0)&&a.length)&&d.createElement("div",{className:$.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},d.createElement("img",{className:$.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(s=S?.bottom_image)!==null&&s!==void 0?s:T,alt:""})),d.createElement("div",{className:"pb-commondity-content"},H({isPost:p}))),U(),d.createElement(ft,{visible:F,onClose:()=>z(!1)},d.createElement("div",{style:{paddingBottom:"80px"}},H({isPost:!1})),U()))};var Yo=d.memo(qo);const Xo=he(Yo,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:cn},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000"},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 Jo=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Qo=[{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"]}],Di="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 Ko=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}},Zo=t=>{var{content:e,btnText:i,style:n,icon:o,onClick:l}=t,r=ce(t,["content","btnText","style","icon","onClick"]);const a=typeof o=="string"?o:Ko(o),s=()=>{window?.sxpPopup(""),l?.()};return d.createElement("div",Object.assign({className:`pb-prompt ${$.css(Object.assign({},n))}`},r),d.createElement("div",{className:"pb-prompt-icon"},d.createElement("img",{width:"100%",src:a??Di})),d.createElement("div",{className:"pb-prompt-content"},e),d.createElement("button",{className:"pb-prompt-btn",onClick:s},i))};var Ro=d.memo(Zo);const el=he(Ro,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Qo,bindableProps:[],interactionRender:Jo},defaulSetting:{props:{icon:Di,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var zt,Vt,tl=[{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"}]},{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:J,name:["fontFamily"],initialValue:(zt=J?.[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:J,initialValue:(Vt=J?.[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"]}]}];const il=t=>{var e,i,n,o,l,r,a,s,u,c,f,{style:m,isDefault:v,rec:g,viewTime:T,isPost:C,bottom_image:p,tipText:b,swiper:h,commodityStyles:x,buttonStyle:w,index:A}=t,M=ce(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);d.useState(!0);const{sxpParameter:y}=R(),{popupDetailData:S,bffEventReport:E,isPreview:k,swiperRef:I,waterFallData:D}=R(),{jumpToWeb:P,productView:j}=ke(),N=d.useRef(null);d.useRef(null),d.useRef(null),d.useState(!1),d.useState(!1),d.useState(!0);const[F,z]=d.useState(!1),B=d.useRef(null),_=C?g:S,O=C?_?.product:(e=_?.video)===null||e===void 0?void 0:e.bindProduct,V=C?(i=_?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=_?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,de=C?A:S?.index,fe=()=>{O?.link&&(P(_,O,V,de),C||j(_,O,V,T||B.current,de),window.location.href=window.getJointUtmLink(O.link))};d.useEffect(()=>{const G=()=>{B.current=new Date};return G(),window.addEventListener("pageshow",G),()=>{window.removeEventListener("pageshow",G)}},[]);const re=d.useMemo(()=>{var G,ie,K,ee,ne;return O?.currency&&O?.price?`${(K=(ie=(G=O?.currency)===null||G===void 0?void 0:G.split("-")[1])===null||ie===void 0?void 0:ie.toUpperCase())!==null&&K!==void 0?K:""}${(ne=(ee=O?.price)===null||ee===void 0?void 0:ee.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ne!==void 0?ne:""}`:"\xA3102,300.00"},[O?.price,O?.currency]),H=k?375:window.innerWidth,U=({isPost:G})=>d.createElement("div",{hidden:!!O&&(!O?.info||O?.info==="")},d.createElement(Bt,{isPost:G,onClick:()=>z(!0),className:"pb-commondityDiroNew-info",style:x?.info,foldText:b?.foldText,unfoldText:b?.unfoldText,text:O?.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 d.createElement("div",{className:"pb-commondityDiroNew"},d.createElement("div",Object.assign({ref:N,className:$.css(Object.assign({},m))},M),O&&((l=O?.homePage)===null||l===void 0?void 0:l.length)>0&&d.createElement(Je,{height:H,modules:[Ct,It],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:h?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:h?.delay*1e3}},(r=O?.homePage)===null||r===void 0?void 0:r.map(G=>d.createElement(De,{key:G},d.createElement("div",{style:{overflow:"hidden",width:H,height:H}},d.createElement("img",{src:G,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),!(!((a=O?.homePage)===null||a===void 0)&&a.length)&&d.createElement("div",{className:$.css({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},d.createElement("img",{className:$.css({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(s=y?.bottom_image)!==null&&s!==void 0?s:p,alt:""})),d.createElement("div",{className:"pb-commondityDiroNew-content"},d.createElement("div",{className:"pb-commondityDiroNew-content-top"},d.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},d.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:x?.title},(u=O?.title)!==null&&u!==void 0?u:"Large Dior Toujours Bag"),d.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!O&&(!O?.collection||O?.collection===""),style:x?.collection},O?.collection||"Black Macrocannage Calfskin")),d.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},d.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!O&&!O?.price,style:x?.price},re),d.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!O&&!O?.taxInfo,style:x?.taxInfo},(c=O?.taxInfo)!==null&&c!==void 0?c:"\u7A0E\u8D39"))),(!O||O?.link)&&d.createElement("button",{onClick:fe,className:"pb-commondityDiroNew-btn",style:w},(f=V?.enTitle)!==null&&f!==void 0?f:"Shop now"),U({isPost:C}))),d.createElement(ft,{visible:F,onClose:()=>z(!1)},U({isPost:!1})))};var nl=d.memo(il);const ol=he(nl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:tl},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 Ft,Ht,ye=[{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"]}]},{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:J,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Ft=J?.[0])===null||Ft===void 0?void 0:Ft.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:J,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Ht=J?.[0])===null||Ht===void 0?void 0:Ht.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"]}]}],ll=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function ki(t){const e=d.useRef(null),[i,n]=d.useState(!1);return d.useEffect(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),d.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 sl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:a}=t;ce(t,["rec","children","className","onClick","style","isExternalLink","index"]);const s=d.useRef(null),u=ki(s),{popup:c}=Ie(),{setPopupDetailData:f,ctaEvent:m}=R(),{jumpToWeb:v}=ke();d.useEffect(()=>{var T,C;if(u&&s?.current){const p=(C=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&C!==void 0?C:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,p,a)}},[u,s,e,m,a]);const g=se.throttle(()=>{var T,C,p,b,h,x,w,A,M,y;const S=(C=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&C!==void 0?C:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,S,a),f?.(Object.assign(Object.assign({},e),{index:a})),r){if(!((b=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||b===void 0)&&b.link){const E=(h=e?.video)===null||h===void 0?void 0:h.bindCta,k=(x=e?.video)===null||x===void 0?void 0:x.bindProduct;v(e,k,E,a),window.location.href=(A=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)===null||A===void 0?void 0:A.link,window.location.href=window.getJointUtmLink((y=(M=e?.video)===null||M===void 0?void 0:M.bindProduct)===null||y===void 0?void 0:y.link)}}else o?.()},c?.duration);return d.createElement("div",{ref:s,className:n,style:l,onClick:g},i)};var it=d.memo(sl),rl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const al=t=>{var e,i,n,o,l,r,a,{content:s,style:u,bgImg:c,recData:f,bottom_image:m,ctaTempStyles:v,isExternalLink:g}=t,T=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=R(),p=(e=f?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return d.createElement(it,Object.assign({isExternalLink:g,rec:f,className:$.css(Object.assign({},u)),style:{display:"flex"}},T),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},v?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:b,hidden:!b,alt:""})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},d.createElement("div",{className:rl["tow-line-ellipsis"],style:v?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),d.createElement("div",{className:$.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},v?.ctaTitle))},(a=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var dl=d.memo(al);const cl=he(dl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:ll,bindableProps:[],settingRender:ye},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 pl=t=>{var e,i,n,o,{content:l,style:r,bgImg:a,recData:s,bottom_image:u,ctaTempStyles:c,isExternalLink:f}=t,m=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:v}=R(),g=(e=s?.video)===null||e===void 0?void 0:e.bindCta;return d.createElement(it,Object.assign({isExternalLink:f,rec:s,className:$.css(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=g?.icon)!==null&&i!==void 0?i:v?.bottom_image)!==null&&n!==void 0?n:u,alt:""})),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},c?.ctaTitle))},(o=g?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var fl=d.memo(pl);const vl=he(fl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ul,settingRender:ye?.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 ml={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const hl=t=>{var e,i,n,o,l,{content:r,style:a,bgImg:s,recData:u,bottom_image:c,ctaTempStyles:f,index:m}=t,v=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:g,bffEventReport:T}=R(),{jumpToWeb:C}=ke(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,b=(i=u?.video)===null||i===void 0?void 0:i.bindProduct,h=()=>{p?.link&&(C(u,b,p,m),window.location.href=window.getJointUtmLink(p.link))};return d.createElement(it,Object.assign({index:m,rec:u,className:$.css(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},v,{onClick:h}),d.createElement("div",{className:$.css(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},f?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:(o=(n=p?.icon)!==null&&n!==void 0?n:g?.bottom_image)!==null&&o!==void 0?o:c,alt:""})),d.createElement("div",{className:$.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},d.createElement("div",{className:ml["tow-line-ellipsis"],style:f?.ctaTitle},(l=p?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var gl=d.memo(hl);const bl=he(gl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:ye?.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 yl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],wl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Sl=t=>{var e,i,n,o,l,r,a,{content:s,style:u,bgImg:c,recData:f,bottom_image:m,ctaTempStyles:v,isExternalLink:g}=t,T=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=R(),p=(e=f?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return d.createElement(it,Object.assign({isExternalLink:g,rec:f,className:$.css(Object.assign({},u)),style:{display:"flex"}},T),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},v?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:b,hidden:!b,alt:""})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},d.createElement("div",{className:wl["tow-line-ellipsis"],style:v?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),d.createElement("div",{className:$.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},v?.ctaTitle))},(a=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var Tl=d.memo(Sl);const xl=he(Tl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:yl,settingRender:ye,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 El=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Cl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Il=t=>{var e,i,n,o,l,r,a,{content:s,style:u,bgImg:c,recData:f,bottom_image:m,ctaTempStyles:v,isExternalLink:g}=t,T=ce(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:C}=R(),p=(e=f?.video)===null||e===void 0?void 0:e.bindProduct,b=(o=(n=(i=p?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:m;return d.createElement(it,Object.assign({isExternalLink:g,rec:f,className:$.css(Object.assign({},u)),style:{display:"flex"}},T),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},v?.img))},d.createElement("img",{className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:b,hidden:!b,alt:""})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},d.createElement("div",{className:Cl["tow-line-ellipsis"],style:v?.title},(l=p?.title)!==null&&l!==void 0?l:"Product Name"),d.createElement("div",{className:$.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},v?.ctaTitle))},(a=(r=p?.bindCta)===null||r===void 0?void 0:r.enTitle)!==null&&a!==void 0?a:"Shop now")))};var Dl=d.memo(Il);const kl=he(Dl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:El,bindableProps:[],settingRender:ye},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 Al=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Pl=({children:t,isPadding:e=!0})=>d.createElement(Je,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Sn,wn,yn],style:{padding:e?"0 12px 0 20px":0}},t);var vt=d.memo(Pl);const _l=({src:t,rec:e,item:i,index:n})=>{const o=d.useRef(null),l=ki(o),{ctaEvent:r}=R();return d.useEffect(()=>{l&&t&&o?.current&&r?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[l,t,o,e,r,i,n]),d.createElement("img",{ref:o,hidden:!t,className:$.css({width:"100%",objectFit:"cover",height:"100%"}),src:t,alt:""})};var Ut=d.memo(_l),Ml={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Ol=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:a,bottom_image:s,ctaTempStyles:u,isExternalLink:c,index:f}=t,m=ce(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:v,setPopupDetailData:g,sxpParameter:T}=R(),{popup:C}=Ie(),{jumpToWeb:p}=ke(),[b,h]=d.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),x=se.throttle(w=>{v?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,f),g?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:f})),c?w?.link&&(p(r,w,w.bindCta,f),window.location.href=window.getJointUtmLink(w.link)):a?.()},C?.duration);return d.createElement(vt,{isPadding:!!r},b?.map(w=>{var A,M,y,S,E,k;return d.createElement(De,Object.assign({hidden:r&&!w?.bindCta,key:w?.itemId,className:$.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>x(w)}),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},d.createElement(Ut,{src:(y=(M=(A=w?.homePage)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:T?.bottom_image)!==null&&y!==void 0?y:s,rec:r,item:w,index:f})),d.createElement("div",{className:$.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},d.createElement("div",{className:Ml["two-line-ellipsis"],style:u?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),d.createElement("div",{className:$.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},u?.ctaTitle))},(k=(E=w?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&k!==void 0?k:"Shop Now")))}))};var Ll=d.memo(Ol);const jl=he(Ll,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Al,bindableProps:[],settingRender:ye},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 Nl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Bl={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const zl=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:a,bottom_image:s,ctaTempStyles:u,isExternalLink:c,index:f}=t,m=ce(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:v}=R(),{ctaEvent:g,setPopupDetailData:T}=R(),{popup:C}=Ie(),[p,b]=d.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:h}=ke(),x=se.throttle(w=>{g?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,f),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:f})),c?w?.link&&(h(r,w,w.bindCta,f),window.location.href=window.getJointUtmLink(w.link)):a?.()},C?.duration);return d.createElement(vt,{isPadding:!!r},p?.map(w=>{var A,M,y,S,E,k;return d.createElement(De,Object.assign({hidden:r&&!w?.bindCta,key:w.itemId,className:$.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>x(w)}),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},d.createElement(Ut,{src:(y=(M=(A=w?.homePage)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:v?.bottom_image)!==null&&y!==void 0?y:s,rec:r,item:w,index:f})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},d.createElement("div",{className:Bl["two-line-ellipsis"],style:u?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),d.createElement("div",{className:$.css(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(k=(E=w?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&k!==void 0?k:"Shop Now")))}))};var Vl=d.memo(zl);const Fl=he(Vl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Nl,settingRender:ye,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 Hl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ul={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Gl=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:a,bottom_image:s,ctaTempStyles:u,isExternalLink:c,index:f}=t,m=ce(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index"]);const{ctaEvent:v,setPopupDetailData:g,sxpParameter:T}=R(),{popup:C}=Ie(),{jumpToWeb:p}=ke(),[b,h]=d.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),x=se.throttle(w=>{v?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,w,f),g?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:w}),index:f})),c?w?.link&&(p(r,w,w.bindCta,f),window.location.href=window.getJointUtmLink(w.link)):a?.()},C?.duration);return d.createElement(vt,{isPadding:!!r},b?.map(w=>{var A,M,y,S,E,k;return d.createElement(De,Object.assign({hidden:r&&!w?.bindCta,key:w?.itemId,className:$.css(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},m,{onClick:()=>x(w)}),d.createElement("div",{className:$.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},u?.img))},d.createElement(Ut,{src:(y=(M=(A=w?.homePage)===null||A===void 0?void 0:A[0])!==null&&M!==void 0?M:T?.bottom_image)!==null&&y!==void 0?y:s,rec:r,item:w,index:f})),d.createElement("div",{className:$.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},d.createElement("div",{className:Ul["tow-line-ellipsis"],style:u?.title},(S=w?.title)!==null&&S!==void 0?S:"Product Name"),d.createElement("div",{className:$.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},u?.ctaTitle))},(k=(E=w?.bindCta)===null||E===void 0?void 0:E.enTitle)!==null&&k!==void 0?k:"Shop now")))}))};var Wl=d.memo(Gl);const $l=he(Wl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Hl,bindableProps:[],settingRender:ye},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 Gt,Wt,ql=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{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:"\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:J,name:["fontFamily"],initialValue:(Gt=J?.[0])===null||Gt===void 0?void 0:Gt.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:"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:J,initialValue:(Wt=J?.[0])===null||Wt===void 0?void 0:Wt.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const Yl=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=R();return d.createElement("div",{className:"clc-sxp-nav",style:e},d.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),d.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Ai=d.memo(Yl),Xl=null,Jl="3d989325-e7d6-4a74-8a97-98febdf5b567",Ql=null,Kl=null,Zl={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"},Rl=[{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}],es="Handbags",ts={productUserId:Xl,requestId:Jl,channel:Ql,rtc:Kl,tag:Zl,recList:Rl,hashTag:es};const is=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:a,setRtcList:s,setOpenHashtag:u,bffEventReport:c,sxpParameter:f}=R(),[m,v]=d.useState(!1),g=d.useRef(null),T=d.useRef(null),C=d.useRef(null),[p,b]=d.useState(""),h=d.useMemo(()=>{var y,S,E,k,I,D,P,j,N,F,z,B;return!((y=e?.video)===null||y===void 0)&&y.cover?(S=e?.video)===null||S===void 0?void 0:S.cover:!((E=e?.video)===null||E===void 0)&&E.url?(v(!0),(k=e?.video)===null||k===void 0?void 0:k.url):!((D=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||D===void 0)&&D.length?(j=(P=e?.video)===null||P===void 0?void 0:P.imgUrls)===null||j===void 0?void 0:j[0]:!((F=(N=e?.product)===null||N===void 0?void 0:N.homePage)===null||F===void 0)&&F.length?(B=(z=e?.product)===null||z===void 0?void 0:z.homePage)===null||B===void 0?void 0:B[0]:f?.bottom_image||""},[e,f?.bottom_image]),x=d.useMemo(()=>{var y,S;return((y=e?.product)===null||y===void 0?void 0:y.title)||((S=e?.video)===null||S===void 0?void 0:S.title)||null},[e]),w=d.useMemo(()=>{var y,S,E,k,I,D,P,j,N;return!((y=e?.product)===null||y===void 0)&&y.currency&&(!((S=e?.product)===null||S===void 0)&&S.price)?`${(D=(I=(k=(E=e?.product)===null||E===void 0?void 0:E.currency)===null||k===void 0?void 0:k.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&D!==void 0?D:""}${(N=(j=(P=e?.product)===null||P===void 0?void 0:P.price)===null||j===void 0?void 0:j.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&N!==void 0?N:""}`:null},[e]);d.useEffect(()=>{const y=new IntersectionObserver(S=>{S.forEach(E=>{if(E.isIntersecting){if(g.current===null||h==="")return;m&&p?g.current.src=p:g.current.src=h,y.unobserve(g.current)}})});return y.observe(g.current),()=>{y.disconnect()}},[h,m,p]);const A=(y,S,E)=>{const k=y/S;return E/k};d.useEffect(()=>{const y=T?.current;y===null||h===""||!m||(y.src=h,y.currentTime=1,y.crossOrigin="anonymous",y.onloadeddata=()=>{const S=C?.current;if(!S)return;const E=S.getContext("2d"),k=window?.innerWidth/2,I=A(y.videoWidth,y.videoHeight,k);S.height=I,S.width=k,E?.drawImage(y,0,0,S.width,S.height),b(S.toDataURL()),y.remove(),S.remove()})},[h,m]);const M=()=>{o(i),s?.(n),setTimeout(()=>{var y;(y=a?.current)===null||y===void 0||y.swiper.slideTo(i,0,!1),u?.(!1)},0)};return d.createElement("div",{className:"list-content-listItem",key:i,onClick:M,style:{marginBottom:r}},d.createElement("div",{className:"list-content-listItem-picture"},m&&d.createElement("div",{style:{display:"none"}},d.createElement("video",{ref:T,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),d.createElement("canvas",{ref:C})),d.createElement("img",{className:"list-content-listItem-picture-img",loading:"lazy",ref:g})),d.createElement("div",{className:"list-content-listItem-info"},d.createElement("div",{className:`list-content-listItem-info-title ${w?"list-content-listItem-info-nowrap":""}`,style:l?.title},x&&x),d.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!w},w)))};function ns(t){var e,i,n,o,l,r,a,{reportTagsView:s}=t,u=ce(t,["reportTagsView"]);const{waterFallData:c,getRecommendVideos:f,hashTagSize:m,loadingImage:v,isOpenHashTag:g}=R(),[T,C]=d.useState(),[p,b]=d.useState(),[h,x]=d.useState(!1),w=d.useRef(null),[A,M]=d.useState(!1);d.useCallback(()=>{A||(M(!0),c&&f?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType}).then(S=>{var E;C(T?.concat((E=S?.recList)!==null&&E!==void 0?E:[])),M(!1)}))},[c,f,T,A]),d.useEffect(()=>{var S,E;if(x(!0),c&&f?.({hashTag:c?.hashTag,"itemFilter.itemId":c?.itemId,"itemFilter.itemType":c?.itemType,defaultSize:m}).then(k=>{var I,D;b(k),C((D=(I=k?.recList)===null||I===void 0?void 0:I.filter(P=>P?.video!==null||P?.product!==null))!==null&&D!==void 0?D:[]),x(!1)}),g){const k=ts;b(k),C((E=(S=k?.recList)===null||S===void 0?void 0:S.filter(I=>I?.video!==null||I?.product!==null))!==null&&E!==void 0?E:[]),x(!1)}},[c,f,m,g]);const y=()=>{var S,E;!((S=p?.tag)===null||S===void 0)&&S.link&&(s(),window.location.href=(E=p?.tag)===null||E===void 0?void 0:E.link)};return d.createElement(d.Fragment,null,h?d.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},d.createElement("img",{width:64,height:64,src:v,alt:"loading...",style:{objectFit:"contain"}})):d.createElement("div",{className:"list"},d.createElement("div",{className:"list-scroll",ref:w,style:{bottom:!((e=p?.tag)===null||e===void 0)&&e.link?"100px":0}},d.createElement("div",{className:"list-info",style:(i=u?.textStyles)===null||i===void 0?void 0:i.hashTagDesc},(n=p?.tag)===null||n===void 0?void 0:n.info),d.createElement("div",{hidden:!(!((o=p?.tag)===null||o===void 0)&&o.link),className:"list-collection",onClick:y,style:{marginBottom:u?.space}},((l=p?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),d.createElement("div",{className:"list-content"},T?.map((S,E)=>d.createElement(is,Object.assign({key:E,index:E,rec:S,list:T,reportTagsView:s},u)))),d.createElement("div",{hidden:!A,style:{textAlign:"center"}},"loading...")),d.createElement("div",{className:"list-bottom",hidden:!(!((r=p?.tag)===null||r===void 0)&&r.link)},d.createElement("button",{className:"list-bottom-btn",style:u?.buttonStyle,onClick:y},((a=p?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection"))))}var os="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const ls=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:a,setRtcList:s,cacheActiveIndex:u,rtcList:c,setCacheRtcList:f,setIsFromHashtag:m,isFromHashtag:v,bffEventReport:g}=R();d.useRef(null);const T=d.useRef(null),[C,p]=d.useState();d.useEffect(()=>{const A=document.getElementById("sxp-render"),M=document.getElementById("water-fall");M?T.current=M:(T.current=document.createElement("div"),T.current.setAttribute("id","water-fall"),A?.appendChild(T.current))},[]);const b=()=>{const A=se.isEqual(c,a);!A&&a&&a?.length&&s?.(a),w(0),r?.(void 0),m?.(!1),setTimeout(()=>{var M,y;A||(y=(M=l?.current)===null||M===void 0?void 0:M.swiper)===null||y===void 0||y.slideTo(u,0,!1),n?.(!1)},0)},[h,x]=d.useState();d.useEffect(()=>{i&&x(i)},[i]);const w=d.useCallback(A=>{var M,y,S,E,k,I;const D=h?.rec;if(!D)return;let P="";v?P="hashTagPage":!((M=D?.video)===null||M===void 0)&&M.url?P="videoPage":!((S=(y=D?.video)===null||y===void 0?void 0:y.imgUrls)===null||S===void 0)&&S.length&&(P="imagePage"),g?.({eventInfo:{relatedContentId:(E=D?.video)===null||E===void 0?void 0:E.itemId,position:A+"",contentTags:JSON.stringify((k=D?.video)===null||k===void 0?void 0:k.tags),traceInfo:(I=D?.video)===null||I===void 0?void 0:I.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:P,fromKPage:location?.href,timeOnSite:Math.floor((new Date-C)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,g,C,v]);return d.useEffect(()=>{o&&p(new Date)},[o]),d.useEffect(()=>{const A=()=>{p(new Date)};return window.addEventListener("pageshow",A),()=>{window.removeEventListener("pageshow",A)}},[]),T.current?Jt.createPortal(d.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},d.createElement(Ai,{icon:os,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:b}),d.createElement(ns,Object.assign({reportTagsView:w},t))),T.current):null};var Pi=d.memo(ls);const ss=t=>d.createElement(Pi,Object.assign({},t));var rs=d.memo(ss);const as=he(rs,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:ql,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},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}}},w:100,h:40,sort:2});var _i=Object.freeze({__proto__:null,Appoint:vl,AppointForm:dn,Commodity:cl,CommodityDetail:Xo,CommodityDetailDiroNew:ol,CommodityDiro:xl,CommodityDiroNew:kl,HashTag:as,Link:bl,MultiCommodity:Fl,MultiCommodityDiro:jl,MultiCommodityDiroNew:$l,Prompt:el});const ds="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",cs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",us=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=ce(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:a,mutateUnlike:s,bffEventReport:u}=R(),[c,f]=d.useState(e),m=Ve(cs),v=Ve(ds),g=se.debounce(()=>ve(void 0,void 0,void 0,function*(){var T,C,p,b,h,x,w,A,M,y,S,E,k,I,D,P,j,N,F,z;if(c){f(!1);const B=(p=yield s?.({videoItemId:(C=(T=o.video)===null||T===void 0?void 0:T.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=(b=o.video)===null||b===void 0?void 0:b.itemId)!==null&&h!==void 0?h:"",contentName:(w=(x=o.video)===null||x===void 0?void 0:x.title)!==null&&w!==void 0?w:"",contentTags:JSON.stringify((M=(A=o.video)===null||A===void 0?void 0:A.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((y=o.video)===null||y===void 0)&&y.url?"video":"image",traceInfo:(S=o.video)===null||S===void 0?void 0:S.traceInfo}}),B||f(!0)}else{f(!0);const B=(E=yield a?.({content:JSON.stringify(o)}))!==null&&E!==void 0?E:!1;u?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(I=(k=o.video)===null||k===void 0?void 0:k.itemId)!==null&&I!==void 0?I:"",contentName:(P=(D=o.video)===null||D===void 0?void 0:D.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((N=(j=o.video)===null||j===void 0?void 0:j.tags)!==null&&N!==void 0?N:[]),position:l+"",contentFormat:!((F=o.video)===null||F===void 0)&&F.url?"video":"image",traceInfo:(z=o.video)===null||z===void 0?void 0:z.traceInfo}}),B||f(!1)}}),200);return d.createElement("button",Object.assign({},r,{onClick:g}),d.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||m:n||v,alt:"icon"}))};var ps=d.memo(us);const Qe=new zi;var Le;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Le||(Le={}));const fs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l})=>{const[r,a]=d.useState(!1),s=d.useRef(null),{bffEventReport:u,sxpParameter:c,waterFallData:f,openHashtag:m}=R(),v=d.useRef(0),[g,T]=d.useState(!1),{isActive:C}=Ii();d.useEffect(()=>{s.current&&(s.current.muted=o)},[o]);const p=d.useCallback(()=>{var y;(y=s.current)===null||y===void 0||y.play()},[]),b=Ve("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),h=d.useCallback(()=>{var y,S,E,k,I,D,P,j,N,F,z,B,_;a(!1);const O=n[e];if(O&&g&&(!((y=s?.current)===null||y===void 0)&&y.duration)){v.current=((S=s?.current)===null||S===void 0?void 0:S.currentTime)||0;const V=((k=(E=s.current)===null||E===void 0?void 0:E.duration)!==null&&k!==void 0?k:0).toFixed(2),de=((D=(I=s.current)===null||I===void 0?void 0:I.currentTime)!==null&&D!==void 0?D:0).toFixed(2);u?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(j=(P=O.video)===null||P===void 0?void 0:P.itemId)!==null&&j!==void 0?j:"",contentName:(F=(N=O.video)===null||N===void 0?void 0:N.title)!==null&&F!==void 0?F:"",playType:"1",startTime:de,videoDuration:V,contentTags:JSON.stringify((B=(z=O.video)===null||z===void 0?void 0:z.tags)!==null&&B!==void 0?B:[]),position:e+"",contentFormat:"video",traceInfo:(_=O.video)===null||_===void 0?void 0:_.traceInfo}})}g||T(!0)},[u,n,e,g]),x=d.useCallback(()=>{var y,S,E,k,I,D,P,j,N,F,z,B,_;const O=n[e];if(O&&!g&&(!((y=s?.current)===null||y===void 0)&&y.duration)){v.current=((S=s?.current)===null||S===void 0?void 0:S.currentTime)||0;const V=((k=(E=s.current)===null||E===void 0?void 0:E.duration)!==null&&k!==void 0?k:0).toFixed(2),de=((D=(I=s.current)===null||I===void 0?void 0:I.currentTime)!==null&&D!==void 0?D:0).toFixed(2);u?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(j=(P=O.video)===null||P===void 0?void 0:P.itemId)!==null&&j!==void 0?j:"",contentName:(F=(N=O.video)===null||N===void 0?void 0:N.title)!==null&&F!==void 0?F:"",playType:"0",startTime:de,videoDuration:V,contentTags:JSON.stringify((B=(z=O.video)===null||z===void 0?void 0:z.tags)!==null&&B!==void 0?B:[]),position:e+"",contentFormat:"video",traceInfo:(_=O.video)===null||_===void 0?void 0:_.traceInfo}})}setTimeout(()=>{var V;(V=s.current)===null||V===void 0||V.play()},0)},[e,u,n,g]),w=d.useCallback(y=>()=>{var S,E,k,I,D,P,j,N,F;if(!g)return;n[e],((E=(S=s.current)===null||S===void 0?void 0:S.duration)!==null&&E!==void 0?E:0).toFixed(2),((I=(k=s.current)===null||k===void 0?void 0:k.currentTime)!==null&&I!==void 0?I:0).toFixed(2);const z=(D=s.current)===null||D===void 0?void 0:D.paused;switch(y){case"start":if(!z)return;(P=s.current)===null||P===void 0||P.play(),a(!1);break;case"pause":if(z)return;(j=s.current)===null||j===void 0||j.pause(),a(!0);break;default:z?(N=s.current)===null||N===void 0||N.play():(F=s.current)===null||F===void 0||F.pause(),a(!z);break}},[n,e,g]),A=d.useCallback(()=>{var y,S,E,k,I,D,P,j,N,F,z,B,_;const O=n[e],V=((S=(y=s.current)===null||y===void 0?void 0:y.duration)!==null&&S!==void 0?S:0).toFixed(2),de=((k=(E=s.current)===null||E===void 0?void 0:E.currentTime)!==null&&k!==void 0?k:0).toFixed(2);if(!((I=s?.current)===null||I===void 0)&&I.duration){const fe=(((D=s?.current)===null||D===void 0?void 0:D.currentTime)-v.current).toFixed(2);u?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(j=(P=O.video)===null||P===void 0?void 0:P.itemId)!==null&&j!==void 0?j:"",contentName:(F=(N=O.video)===null||N===void 0?void 0:N.title)!==null&&F!==void 0?F:"",endTime:de,videoDuration:V,playDuration:fe,contentTags:JSON.stringify((B=(z=O.video)===null||z===void 0?void 0:z.tags)!==null&&B!==void 0?B:[]),position:e+"",contentFormat:"video",traceInfo:(_=O.video)===null||_===void 0?void 0:_.traceInfo}})}},[n,e,u]);d.useEffect(()=>{var y,S,E;if(!(n.length<=0)&&s.current){if(a(!1),!C){(y=s.current)===null||y===void 0||y.pause();return}if(s.current.src)s.current.play();else{const k=t.video.url;s.current.src=k,s.current.setAttribute("x5-playsinline","true"),s.current.setAttribute("webkit-playsinline","true")}return(S=s.current)===null||S===void 0||S.addEventListener("canplay",x),(E=s.current)===null||E===void 0||E.addEventListener("playing",h),()=>{var k,I;(k=s.current)===null||k===void 0||k.removeEventListener("canplay",x),(I=s.current)===null||I===void 0||I.removeEventListener("playing",h)}}},[n,x,h,C,g,t.video]),d.useEffect(()=>{var y,S,E;const k=(y=s.current)===null||y===void 0?void 0:y.paused;C&&(!k&&m?(S=s.current)===null||S===void 0||S.pause():m||(E=s.current)===null||E===void 0||E.play())},[m,C]),d.useEffect(()=>{if(!C)return;const y=w("start"),S=w("pause");return Qe.on(Le.PAGE_DID_SHOW,y),Qe.on(Le.PAGE_DID_HIDE,S),()=>{Qe.off(Le.PAGE_DID_SHOW,y),Qe.off(Le.PAGE_DID_HIDE,S)}},[w,C]);const M=d.useMemo(()=>c?.placeholder_image?d.createElement("img",{hidden:g,style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:c?.placeholder_image}):null,[g,c?.placeholder_image]);return d.useEffect(()=>{const y=()=>{var S,E;l===e&&(!((S=t?.video)===null||S===void 0)&&S.url)&&(!((E=s?.current)===null||E===void 0)&&E.src)&&!r&&w("pause")()};return window.addEventListener("beforeunload",y),()=>{window.removeEventListener("beforeunload",y)}},[l,e,t,s,w,r]),t.video?d.createElement("div",{className:"video-container",key:t.video.itemId,onClick:w(),style:{position:"relative",width:"100%",height:i}},d.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:s,poster:c?.placeholder_image,muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:A,onEnded:p}),M,d.createElement("img",{hidden:!r,className:"clc-pb-video-pause",src:b})):null};var vs=d.memo(fs);const ms=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=d.useState(t),a=s=>{s.stopPropagation();const u=!l;r(u),n?.(u)};return d.createElement("button",{style:o,className:"pb-toggle-button",onClick:a},d.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var hs=d.memo(ms);const gs=({imageUrl:t})=>{const[e,i]=d.useState(!0);Ie(),d.useEffect(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Ve("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=d.useMemo(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return d.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},d.createElement("img",{src:t||n}))},bs=t=>{const{src:e,height:i,width:n}=t,[o,l]=d.useState(!1),r=d.useRef(null),{sxpParameter:a}=R();return d.useEffect(()=>{if(r.current===null||e==="")return;const s=new Image;s.src=e,s.onload=()=>{const u=s.height/s.width,c=16/9;Math.abs(u-c)>.05&&l(!0)},r.current.src=e},[e]),d.createElement("div",{style:{overflow:"hidden",height:i,width:"100%",position:"relative"}},d.createElement("img",{ref:r,loading:"lazy",src:e??a?.placeholder_image,style:{height:"100%",width:"100%",objectFit:"cover",filter:o?"blur(10px)":"none",transform:o?"scale(1.2)":"none"}}),o&&d.createElement("img",{ref:r,src:e,loading:"lazy",style:{width:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:"translateY(-50%)",left:0,right:0}}))},ys=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r})=>{const{isActive:a}=Ii(),{sxpParameter:s,openHashtag:u}=R(),[c,f]=d.useState(!1);return d.useEffect(()=>{c&&a?u?l(n):r(o):f(!0)},[n,a,l,u,o,r,c]),a?d.createElement(Je,{defaultValue:0,direction:"horizontal",modules:[Ct,It],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:3e3}},t?.map(m=>d.createElement(De,{key:m},d.createElement(bs,{src:m,width:e,height:i})))):d.createElement("img",{src:s?.placeholder_image,style:{width:e,height:i,objectFit:"cover"}})};var ws=d.memo(ys);const Ss=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,a]=d.useState(!1),{setWaterFallData:s,setOpenHashtag:u,setCacheActiveIndex:c,waterFallData:f,setIsFromHashtag:m}=R(),v=g=>{f?m?.(!0):c?.(n),s?.(i?{hashTag:g,itemId:e,itemType:i,rec:o}:{hashTag:g,rec:o}),u?.(!0)};return d.useMemo(()=>t.length<=6?null:d.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>a(!r)},r?"show less":"show more"),[r,t]),d.createElement("div",{className:"clc-sxp-bottom-hashtag"},d.createElement(vt,null,t?.map((g,T)=>d.createElement(De,{key:T,hidden:r?!1:T>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>v(g)},`#${g}`))))};var Ts=d.memo(Ss),xs="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 $t(t){return d.memo(function(e){const{$store:i}=Yi(),n=l=>{let r=l;const a=l.match(/{{.*?}}/g);return a?.length&&a.forEach(s=>{s.replace(/{{\s*([\w.]+)\s*}}/g,(u,c)=>{if(c){const f=se.get(i,c);return r=r.replace(s,f),f}})}),r},o=d.useMemo(()=>{var l,r,a;const{bindDatas:s}=e,u=ce(e,["bindDatas"]);if((l=s?.forEach)===null||l===void 0||l.call(s,c=>{if(c?.propKey&&c?.dataPath){const{propKey:f,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(v,g)=>{var T,C;if(g){const p=(C=(T=se.get(i,g))!==null&&T!==void 0?T:e[f])!==null&&C!==void 0?C:"";return u[f]=p,p}})}}),u){u.eventMap={};const c=se.cloneDeep(u.event)||{};for(const f in c)if(Object.prototype.hasOwnProperty.call(c,f))try{c[f].value=n(c[f].value),u.eventMap[f]=new Function(c[f].value)}catch{}}return!((a=(r=u?.event)===null||r===void 0?void 0:r.onClick)===null||a===void 0)&&a.linkType&&(u.style.cursor="pointer"),u},[i,e]);return d.createElement(t,Object.assign({},o,o.eventMap))})}const Es=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Ie(),l=d.useMemo(()=>{var r,a,s,u,c,f,m,v,g,T,C,p,b,h,x,w,A,M,y,S,E,k,I,D,P,j,N,F,z,B,_;if(!t?.video)return null;let O=null;!((a=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||a===void 0)&&a.length?O="\u591A\u5546\u54C1CTA":!((s=t?.video)===null||s===void 0)&&s.bindProduct?O="\u5546\u54C1CTA":O=(c=(u=t?.video)===null||u===void 0?void 0:u.bindCta)===null||c===void 0?void 0:c.itemId;const V=i?.[O];if(((f=V?.item)===null||f===void 0?void 0:f.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((v=V?.item)===null||v===void 0?void 0:v.type)==="Commodity"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((T=V?.item)===null||T===void 0?void 0:T.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((p=V?.item)===null||p===void 0?void 0:p.type)==="MultiCommodity"&&!(!((h=(b=t?.video)===null||b===void 0?void 0:b.bindProducts)===null||h===void 0)&&h.length)||((x=V?.item)===null||x===void 0?void 0:x.type)==="MultiCommodityDiro"&&!(!((A=(w=t?.video)===null||w===void 0?void 0:w.bindProducts)===null||A===void 0)&&A.length)||((M=V?.item)===null||M===void 0?void 0:M.type)==="MultiCommodityDiroNew"&&!(!((S=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||S===void 0)&&S.length))return null;if(V&&n){const de=n[(E=V?.item)===null||E===void 0?void 0:E.type],fe=$t(de),re=(k=de?.extend)===null||k===void 0?void 0:k.defaulSetting,H=((P=(D=(I=V?.item)===null||I===void 0?void 0:I.event)===null||D===void 0?void 0:D.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return d.createElement(fe,Object.assign({style:Object.assign(Object.assign(Object.assign({},re?.style),(j=V?.item)===null||j===void 0?void 0:j.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box"}),textStyle:Object.assign(Object.assign({},re?.textStyle),(N=V?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(z=(F=V?.item)===null||F===void 0?void 0:F.bindDatas)!==null&&z!==void 0?z:[]},re?.props,(B=V?.item)===null||B===void 0?void 0:B.props,{event:((_=V?.item)===null||_===void 0?void 0:_.event)||{},schema:o,id:V?.id,key:V?.id,recData:t,isExternalLink:H,index:e}))}else return null},[t,n,i,o]);return d.createElement(d.Fragment,null,l)};var Cs=d.memo(Es);const Is=({nudge:t})=>d.createElement(d.Fragment,null,t?.isOpen&&d.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:t?.marginBottom,width:t?.size.width,height:t?.size.height,backgroundColor:t?.backgroundColor,borderRadius:t?.borderRadius}},t?.icon?d.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,d.createElement("p",{style:Object.assign({},t?.textStyle)},t?.content))),Mi=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:a,tipText:s,nudge:u,_schema:c,hashTagStyle:f})=>{var m,v,g,T,C,p,b;const{schema:h}=Ie(),[x,w]=d.useState(0),A=d.useRef(0),[M,y]=d.useState(!1),[S,E]=d.useState(!0),k=d.useRef(),I=d.useRef(),[D,P]=d.useState(!1),{loadVideos:j,bffEventReport:N,loading:F,setPopupDetailData:z,ctaEvent:B,swiperRef:_,waterFallData:O,setOpenHashtag:V,appDomain:de,openHashtag:fe,loadingImage:re,isFromHashtag:H,popupDetailData:U}=R(),{productView:G}=ke(),ie=d.useMemo(()=>r.length>0&&!F,[r,F]),K=d.useCallback(()=>{if(r.length<=0)return;ee();const L=location.search.slice(1),Y=Xt.parse(L.replace(/\+/g,"%2B"));for(const X in Y)Y[X]=Y[X].replace(/%2B/g,"+");const W=X=>{var Q;return(Q=Y[X])!==null&&Q!==void 0?Q:""};N?.({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}}),y(!0)},[N,r.length]),ee=()=>{k.current=new Date,I.current=new Date,Ji()};d.useEffect(()=>{M||K()},[K,M]),d.useEffect(()=>{var L;const Y=r?.findIndex(W=>{var X,Q,te,q,Z,le,ae,Te,xe;return a==="\u591A\u5546\u54C1CTA"?((X=W?.video)===null||X===void 0?void 0:X.bindProducts)&&((te=(Q=W?.video)===null||Q===void 0?void 0:Q.bindProducts)===null||te===void 0?void 0:te.length)>0:a==="\u5546\u54C1CTA"?(q=W?.video)===null||q===void 0?void 0:q.bindProduct:((le=(Z=W?.video)===null||Z===void 0?void 0:Z.bindCta)===null||le===void 0?void 0:le.itemId)===a&&(((ae=W?.video)===null||ae===void 0?void 0:ae.url)||((xe=(Te=W?.video)===null||Te===void 0?void 0:Te.imgUrls)===null||xe===void 0?void 0:xe.length))})||0;(L=_?.current)===null||L===void 0||L.swiper.slideTo(Y)},[a,_]),d.useEffect(()=>{const L=r?.[x],Y=()=>{var W,X,Q,te,q,Z,le,ae,Te,xe,Ue,Ge,We,$e,ze;if(document.visibilityState==="hidden"){Qe.emit(Le.PAGE_DID_HIDE,L),Ne(L),He(L);let Ae="";U&&(!((X=(W=L?.video)===null||W===void 0?void 0:W.bindProducts)===null||X===void 0)&&X.length||!((Q=L?.video)===null||Q===void 0)&&Q.bindProduct)?Ae="pdpPage":U&&o?.[(Z=(q=(te=L.video)===null||te===void 0?void 0:te.bindCta)===null||q===void 0?void 0:q.itemId)!==null&&Z!==void 0?Z:""].item.type==="Appoint"?Ae="formPage":H?Ae="hashTagPage":!((le=L?.video)===null||le===void 0)&&le.url?Ae="videoPage":!((ae=L?.video)===null||ae===void 0)&&ae.imgUrls&&(!((xe=(Te=L?.video)===null||Te===void 0?void 0:Te.imgUrls)===null||xe===void 0)&&xe.length)?Ae="imagePage":L?.product&&(Ae="productPage"),N?.({eventInfo:{sessionDuration:Math.floor((new Date-k.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",relatedContentId:(Ue=L?.video)===null||Ue===void 0?void 0:Ue.itemId,relatedProductId:(Ge=L?.product)===null||Ge===void 0?void 0:Ge.itemId,position:x,fromKName:Ae,fromKPage:location?.href,relatedCtatId:(ze=($e=(We=L.video)===null||We===void 0?void 0:We.bindCta)===null||$e===void 0?void 0:$e.itemId)!==null&&ze!==void 0?ze:""}})}else document.visibilityState==="visible"&&(K(),Ze(x),Qe.emit(Le.PAGE_DID_SHOW,L))};return document.addEventListener("visibilitychange",Y),()=>{document.removeEventListener("visibilitychange",Y)}},[x,N,k,r,K,U,H,o]);const ne=d.useMemo(()=>t?.logoUrl&&t?.isShowLogo?i-45:i,[t,i]),we=d.useMemo(()=>t?.logoUrl&&t?.isShowLogo?d.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},d.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),je=d.useCallback((L,Y)=>{var W,X,Q,te;return!((W=L.video)===null||W===void 0)&&W.url?d.createElement(vs,{rec:L,index:Y,muted:S,data:r,height:ne,activeIndex:x}):!((X=L.video)===null||X===void 0)&&X.imgUrls?d.createElement(ws,{key:L.video.itemId,imgUrls:L.video.imgUrls,width:n,height:ne,rec:L,index:Y,onReportViewImageEnd:Ne,onViewImageStartEvent:Ze}):L.product&&Array.isArray(t?.productPost)&&((Q=t?.productPost)===null||Q===void 0?void 0:Q.length)>0?(te=t?.productPost)===null||te===void 0?void 0:te.map((q,Z)=>{var le,ae,Te,xe,Ue,Ge,We,$e;const ze=l[(le=q?.item)===null||le===void 0?void 0:le.type],Ae=$t(ze),Pe=(ae=ze?.extend)===null||ae===void 0?void 0:ae.defaulSetting;return d.createElement(Ae,Object.assign({key:Z,textStyle:Object.assign(Object.assign({},Pe?.textStyle),(Te=q?.item)===null||Te===void 0?void 0:Te.textStyle),bindDatas:(Ue=(xe=q?.item)===null||xe===void 0?void 0:xe.bindDatas)!==null&&Ue!==void 0?Ue:[]},Pe?.props,(Ge=q?.item)===null||Ge===void 0?void 0:Ge.props,{event:((We=q?.item)===null||We===void 0?void 0:We.event)||{},schema:h,id:q?.id,viewTime:I.current,rec:L,isPost:!0,tipText:s,style:Object.assign(Object.assign(Object.assign({},Pe?.style),($e=q?.item)===null||$e===void 0?void 0:$e.style),{height:"100%",overflow:"auto"}),index:Z}))}):null},[n,r,ne,S,x,t?.productPost,I,s,l,h]),Ke=d.useCallback((L,Y)=>{var W,X,Q,te,q,Z,le;return L.video?d.createElement(d.Fragment,null,((W=L.video)===null||W===void 0?void 0:W.title)&&d.createElement("div",{className:"clc-sxp-bottom-shadow"}),d.createElement("div",{className:"clc-sxp-bottom"},d.createElement(Is,{nudge:u}),d.createElement("div",{className:"clc-sxp-bottom-card"},d.createElement(Cs,{rec:L,index:Y,tempMap:o,resolver:l})),d.createElement(Bt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:s?.foldText,unfoldText:s?.unfoldText,text:(Q=(X=L.video)===null||X===void 0?void 0:X.title)!==null&&Q!==void 0?Q:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})}),d.createElement(Ts,{index:x,tags:(q=(te=L?.video)===null||te===void 0?void 0:te.hashTags)!==null&&q!==void 0?q:[],itemId:(Z=L?.video)===null||Z===void 0?void 0:Z.itemId,itemType:!((le=L.video)===null||le===void 0)&&le.url?"VIDEO":null,rec:L,hashTagStyle:f}))):null},[e,x,o,l,s,u,f,t]),nt=d.useCallback((L,Y)=>{var W,X;if(!t?.isShowLike)return;let Q=(W=t?.likeIconY)!==null&&W!==void 0?W:400;return O&&Q<40&&(Q+=40),L.video?d.createElement(ps,{key:L.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:L.isCollected,recData:L,className:"clc-sxp-like-button",style:{top:Q,right:(X=t?.likeIconX)!==null&&X!==void 0?X:0},position:Y}):null},[t,O]),Ne=L=>{var Y,W,X,Q,te,q;if(!(!((Y=L.video)===null||Y===void 0)&&Y.url)&&(!((W=L.video)===null||W===void 0)&&W.imgUrls)){const Z=Date.now(),le=(Z-A.current)/1e3;N?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(Q=(X=L.video)===null||X===void 0?void 0:X.itemId)!==null&&Q!==void 0?Q:"",contentName:(te=L.video.title)!==null&&te!==void 0?te:"",imageEndTime:`${Z}`,playDuration:`${le}`,contentTags:JSON.stringify((q=L.video.tags)!==null&&q!==void 0?q:[]),position:x,contentFormat:"image",traceInfo:L.video.traceInfo}})}},ot=L=>{var Y,W,X,Q,te,q,Z,le;I.current=new Date;const ae=r[L.previousIndex];ae&&(L.previousIndex-L.activeIndex<0?(N?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",relatedContentId:(W=(Y=ae.video)===null||Y===void 0?void 0:Y.itemId)!==null&&W!==void 0?W:"",relatedProductId:(Q=(X=ae.product)===null||X===void 0?void 0:X.itemId)!==null&&Q!==void 0?Q:"",requestId:null}}),Ne(ae)):(N?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",relatedContentId:(q=(te=ae.video)===null||te===void 0?void 0:te.itemId)!==null&&q!==void 0?q:"",relatedProductId:(le=(Z=ae.product)===null||Z===void 0?void 0:Z.itemId)!==null&&le!==void 0?le:"",requestId:null}}),Ne(ae)),He(ae))},He=L=>{var Y,W,X;!(!((Y=L?.video)===null||Y===void 0)&&Y.url)&&!(!((W=L?.video)===null||W===void 0)&&W.imgUrls)&&L?.product&&G(L,L.product,(X=L?.product)===null||X===void 0?void 0:X.bindCta,I.current,x)};d.useEffect(()=>{const L=r[x];fe&&He(L)},[fe,r,x]);const Ze=L=>{var Y,W,X,Q,te,q;const Z=r[L];if(!(!((Y=Z?.video)===null||Y===void 0)&&Y.url)&&(!((W=Z?.video)===null||W===void 0)&&W.imgUrls)){const le=Date.now();A.current=le,N?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(Q=(X=Z.video)===null||X===void 0?void 0:X.itemId)!==null&&Q!==void 0?Q:"",contentName:(te=Z.video.title)!==null&&te!==void 0?te:"",imageStartTime:`${le}`,contentTags:JSON.stringify((q=Z.video.tags)!==null&&q!==void 0?q:[]),position:L,contentFormat:"image",traceInfo:Z.video.traceInfo}})}},Be=d.useMemo(()=>{const L=r?.map((Y,W)=>x===W||W-1===x||W+1===x?Y:null);return O?L:L.concat([{loading:!0}])},[r,x,O]),me=d.useMemo(()=>F?d.createElement("div",{style:{height:ne,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},d.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):Be?.map((L,Y)=>d.createElement(De,{key:Y,virtualIndex:Y},L&&d.createElement(d.Fragment,null,L?.loading?d.createElement("div",{style:{height:ne,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},d.createElement("img",{width:64,height:64,src:re,alt:"loading...",style:{objectFit:"contain"}})):d.createElement(d.Fragment,null,je(L,Y),Ke(L,Y),nt(L,Y))))),[n,r,ne,F,Ke,je,Be,re]),Yt=Ve("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),Re=Ve("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return d.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},O&&d.createElement(Ai,{icon:xs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{V?.(!0)}}),we,ie?d.createElement(gs,{imageUrl:t?.swipeTipIcon}):null,d.createElement(Je,{ref:_,onActiveIndexChange:L=>{w(L.activeIndex),!fe&&(ot(L),!O&&L?.activeIndex+2>=r?.length&&(D||(P(!0),j?.(Math.ceil(x/10)+1).then(()=>{P(!1)}))))},direction:"vertical",height:ne},d.createElement(hs,{style:{position:"fixed",right:(m=t?.muteIconX)!==null&&m!==void 0?m:0,visibility:!((g=(v=r?.[x])===null||v===void 0?void 0:v.video)===null||g===void 0)&&g.url?"visible":"hidden",bottom:(T=t?.muteIconY)!==null&&T!==void 0?T:23,zIndex:999},defaultValue:S,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Yt,unactiveIcon:t?.muteIcon?t?.muteIcon:Re,onChange:E}),me),d.createElement(Pi,Object.assign({},(b=(p=(C=t?.hashTag)===null||C===void 0?void 0:C[0])===null||p===void 0?void 0:p.item)===null||b===void 0?void 0:b.props)))},Ds=()=>{const{schema:t,resolver:e,popup:i}=Ie(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=R(),{productView:r}=ke(),[a,s]=d.useState(),u=d.useRef(null);d.useEffect(()=>{const m=()=>{u.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),d.useEffect(()=>{i&&i?.id&&i?.id!==""&&(u.current=new Date,s(i))},[i]);const c=()=>{var m,v,g,T;if(!i||i?.id===""||!a||new Date-u.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;s(Object.assign(Object.assign({},i),{id:""}));const C=o,p=(v=C?.video)===null||v===void 0?void 0:v.bindProduct,b=(T=(g=C?.video)===null||g===void 0?void 0:g.bindProduct)===null||T===void 0?void 0:T.bindCta;p&&b&&r(C,p,b,u.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},f=d.useMemo(()=>{var m,v,g;return(g=(v=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||v===void 0?void 0:v.popupList)===null||g===void 0?void 0:g.map((T,C)=>{var p,b,h,x,w,A,M,y;if(T?.id===i?.id){const S=e[(p=T?.item)===null||p===void 0?void 0:p.type],E=$t(S),k=(b=S?.extend)===null||b===void 0?void 0:b.defaulSetting;return d.createElement(E,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},k?.style),(h=T?.item)===null||h===void 0?void 0:h.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},k?.textStyle),(x=T?.item)===null||x===void 0?void 0:x.textStyle),bindDatas:(A=(w=T?.item)===null||w===void 0?void 0:w.bindDatas)!==null&&A!==void 0?A:[]},k?.props,(M=T?.item)===null||M===void 0?void 0:M.props,{event:((y=T?.item)===null||y===void 0?void 0:y.event)||{},schema:t,id:T?.id}))}else return d.createElement(d.Fragment,null)})},[t,i,e]);return d.createElement(ft,{popup:a,onClose:c,padding:0,modalStyle:{position:"fixed"}},f)},qt={};Object.values(_i).forEach(t=>{qt[t.extend.type]=t});const ks=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l})=>{var r,a,s,u,c,f;const m=d.useMemo(()=>{var v;return location?.search?(v=location?.search)===null||v===void 0?void 0:v.replace("?",""):""},[]);return d.createElement(si,{resolver:qt,enableDataSource:!1,schema:t?.data,utmVal:m},d.createElement(ii,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(a=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.personalized_recommend)!==null&&a!==void 0?a:e,defaultSize:(u=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.default_recommend)!==null&&u!==void 0?u:i,hashTagSize:(f=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.hash_tag_size)!==null&&f!==void 0?f:n,loadingImage:o,appDomain:l,render:({rtcList:v})=>{var g;return d.createElement(d.Fragment,null,d.createElement(Mi,Object.assign({},(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf,{data:v,resolver:qt})),d.createElement(Ds,null))}}))};var As=d.memo(ks);const Oi=d.createContext({}),Ps=({children:t,data:e})=>{var i,n,o,l,r,a;const[s,u]=d.useState(!1);return d.createElement(Oi.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:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.loading_image},appDomain:e?.appDomain,openHashtag:s,setOpenHashtag:u}},t)};function _s(){return d.useContext(Oi)}oe.EditorDataProvider=Ps,oe.Modal=ft,oe.SxpDataSourceProvider=ii,oe.SxpPageCore=As,oe.SxpPageRender=Mi,oe.core=nn,oe.default=qi,oe.defaultSetting=ln,oe.materials=_i,oe.useEditorDataProvider=_s,Object.defineProperty(oe,"__esModule",{value:!0})});
|
7
7
|
//# sourceMappingURL=pb-ui.min.js.map
|