pb-sxp-ui 1.0.86 → 1.0.87
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 +208 -265
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +209 -266
- 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 +208 -265
- 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/Consent/index.js +2 -2
- package/es/core/components/DiyPortalPreview/VideoWidget.js +3 -3
- package/es/core/components/SxpPageRender/FingerSwipeTip/index.js +1 -1
- package/es/core/components/SxpPageRender/FormatImage.js +2 -2
- package/es/core/components/SxpPageRender/LikeButton/index.js +1 -1
- package/es/core/components/SxpPageRender/Navbar.js +1 -1
- package/es/core/components/SxpPageRender/Nudge/index.js +1 -1
- package/es/core/components/SxpPageRender/Tagbar.js +6 -7
- package/es/core/components/SxpPageRender/ToggleButton/index.js +2 -2
- package/es/core/components/SxpPageRender/VideoWidget/index.js +3 -3
- package/es/core/components/SxpPageRender/WaterFall/List.js +2 -2
- package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +17 -52
- package/es/core/components/SxpPageRender/WaterFall/index.js +2 -4
- package/es/core/components/SxpPageRender/index.js +48 -52
- package/es/core/context/SxpDataSourceProvider.d.ts +4 -0
- package/es/core/context/SxpDataSourceProvider.js +20 -17
- package/es/core/hooks/useEventReport.d.ts +1 -1
- package/es/core/hooks/useEventReport.js +13 -10
- package/es/materials/sxp/popup/AppointForm/index.js +1 -1
- package/es/materials/sxp/popup/CommodityDetail/index.js +3 -3
- package/es/materials/sxp/popup/CommodityDetailDiro/index.js +4 -4
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +3 -3
- package/es/materials/sxp/popup/Prompt/index.js +2 -2
- package/es/materials/sxp/template/Appoint/index.js +1 -1
- package/lib/core/components/Consent/index.js +2 -2
- package/lib/core/components/DiyPortalPreview/VideoWidget.js +3 -3
- package/lib/core/components/SxpPageRender/FingerSwipeTip/index.js +1 -1
- package/lib/core/components/SxpPageRender/FormatImage.js +2 -2
- package/lib/core/components/SxpPageRender/LikeButton/index.js +1 -1
- package/lib/core/components/SxpPageRender/Navbar.js +1 -1
- package/lib/core/components/SxpPageRender/Nudge/index.js +1 -1
- package/lib/core/components/SxpPageRender/Tagbar.js +7 -8
- package/lib/core/components/SxpPageRender/ToggleButton/index.js +2 -2
- package/lib/core/components/SxpPageRender/VideoWidget/index.js +3 -3
- package/lib/core/components/SxpPageRender/WaterFall/List.js +2 -2
- package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +17 -52
- package/lib/core/components/SxpPageRender/WaterFall/index.js +2 -4
- package/lib/core/components/SxpPageRender/index.js +48 -52
- package/lib/core/context/SxpDataSourceProvider.d.ts +4 -0
- package/lib/core/context/SxpDataSourceProvider.js +21 -18
- package/lib/core/hooks/useEventReport.d.ts +1 -1
- package/lib/core/hooks/useEventReport.js +13 -10
- package/lib/materials/sxp/popup/AppointForm/index.js +1 -1
- package/lib/materials/sxp/popup/CommodityDetail/index.js +3 -3
- package/lib/materials/sxp/popup/CommodityDetailDiro/index.js +4 -4
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +3 -3
- package/lib/materials/sxp/popup/Prompt/index.js +2 -2
- package/lib/materials/sxp/template/Appoint/index.js +1 -1
- package/package.json +1 -1
package/dist/index.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import{isEmpty as At,isEqual as Mi,cloneDeep as Et,debounce as qt,throttle as Pt,get as Li}from"lodash";import{v4 as jn}from"uuid";import Nn from"pako";import v,{useContext as It,useMemo as ee,memo as he,useEffect as Q,createContext as Ct,useState as U,useRef as Z,useCallback as se,forwardRef as Ot,useImperativeHandle as ji,useLayoutEffect as Bn}from"react";import Xt from"qs";import zn from"eventemitter3";import{css as oe}from"@emotion/css";import{BetaSchemaForm as Fn}from"@ant-design/pro-components";import*as Ni from"react-dom";function Le(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 Fe(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(d){try{c(n.next(d))}catch(p){r(p)}}function a(d){try{c(n.throw(d))}catch(p){r(p)}}function c(d){d.done?l(d.value):o(d.value).then(s,a)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Vn=/:\w+/g;var Bi=(t,e)=>Fe(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:a,name:c,queryString:d,headers:p,body:m}=e[o];let w=s;a&&Object.entries(a).forEach(([y,S])=>{w=w.replace(Vn,C=>C===y?S:C)}),d&&(w+=d),n[l]=c;try{const y=yield fetch(w,{method:r,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(m)}).then(S=>S.json());i[l]=y}catch(y){console.error("DataSource request error: ",y),i[l]={}}}return{$store:i,idMapName:n}});const zi="SXP_TOKEN_INFO",Rn=(t,e)=>Fe(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(zi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(zi,JSON.stringify(s))}}return s});function Mt(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 Hn=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},Un=()=>{const t=jn();return t?.replaceAll?t.replaceAll("-",""):Hn(32)};function Fi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=Nn.inflate(n,{to:"string"});return JSON.parse(o)}let Jt=null;const Gn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class $n{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Jt)return Jt;Jt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Gn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Ne=null;const Wn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ne||(Ne=new $n),n&&Ne.setApiUrl(n),Ne.setAppId(t),Ne.setTenantId(e),Ne.setEnv(i)},getDetail:t=>{if(!Ne)return;const e=Ne.getTenantId(),i=Ne.getAppId(),n=Ne.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Fe(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),a=Fi((l=s?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:c}=yield Bi(n,(r=a?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=a,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>Fe(void 0,void 0,void 0,function*(){if(!Ne)return;const e=Ne.getTenantId(),i=Ne.getAppId(),n=Ne.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Fe(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=Fi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Fe(void 0,void 0,void 0,function*(){if(!Ne)return;const e=yield Rn(Ne,t),i=Mt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");At(n)&&(n=Mt(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 st(){return It(Ji)}function Yn(){return It(Xi)}const Kt="feRealSessionIdKey",Vi=()=>{const t=Un();return`${Date.now()}${t}`},qn=()=>{let t=Jn();return t||(t=Vi(),window.sessionStorage.setItem(Kt,t)),t},Xn=()=>{const t=Vi();window.sessionStorage.setItem(Kt,t)},Jn=()=>window.sessionStorage.getItem(Kt),Ri="SXP_FAKE_USER_ID",Hi="FAKE_USER_STATE",Ui="AGREE_POLICY",Gi=()=>{let t=window.localStorage.getItem(Ri);return At(t)&&(t=Mt(36,62),window.localStorage.setItem(Ri,t)),t},Kn=()=>{const t=window.localStorage.getItem(Hi);return At(t)&&window.localStorage.setItem(Hi,"true"),At(t)};function Ye(t,e){const{appDomain:i}=we();return ee(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const at=new zn;var Ke;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ke||(Ke={}));const Qn=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:o,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:s}=we(),a=ee(()=>{const p=location.search.slice(1),m=Xt.parse(p.replace(/\+/g,"%2B"));for(const w in m)m[w]=m[w].replace(/%2B/g,"+");return m},[]),c=p=>{var m;return(m=a[p])!==null&&m!==void 0?m:null};Q(()=>{s?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmId:c("utm_id"),utmContent:c("utm_content"),clSource:c("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const d=()=>{s?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),r?.(!0),window.localStorage.setItem(Ui,"yes")};return v.createElement("div",{className:"consent-bg"},v.createElement("div",{className:"consent"},v.createElement("div",{className:"consent-col"},v.createElement("div",{className:"consent-title"},i??"Privacy Policy"),v.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),v.createElement("div",{className:"consent-col"},v.createElement("button",{className:"consent-btn",onClick:d},"Agree"),v.createElement("a",{className:"consent-policy",target:"_blank",href:o},l??"More information"))))};var Zn=he(Qn);const $i=Ct({rtcList:[],tagList:[]});var Qt;(function(t){t[t.BFF=5]="BFF"})(Qt||(Qt={}));const Wi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],eo=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:a,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:m=!1,consentHeight:w,consentWidth:y,isShowTag:S=!0,isOpenConsent:C=!1,globalConfig:u,isEditor:b=!1})=>{var f,x,_;const[h,P]=U([]),[I,g]=U([]),[E,A]=U(!1),[T,D]=U({rtc:"",requestId:""}),O=Z(null),L=Z(!1),[F,R]=U(()=>!!window.localStorage.getItem(Ui)),[B,N]=U(),[z,j]=U(),[k,q]=U(p),[V,$]=U([]),[K,le]=U(0),[Y,be]=U(!1),[W,ce]=U(null),J=Z(),te=Z(),Se=ee(()=>{var H,G,re,Ee;return((Ee=(re=(G=(H=u?.consent)===null||H===void 0?void 0:H[0])===null||G===void 0?void 0:G.item)===null||re===void 0?void 0:re.props)===null||Ee===void 0?void 0:Ee.privacy_necessity)&&!F&&!b||C},[F,u,C,b]);Q(()=>{const H=G=>{J.current=G};return at.on(Ke.CHANGE_THEME_TAG,H),()=>{at.off(Ke.CHANGE_THEME_TAG,H)}},[]),Q(()=>{q(p)},[p]);const Ae=ee(()=>e?.find(H=>H.type===Qt.BFF),[e]),ue=se((H,G)=>{if(!Ae)return;const re=Ae.url,Ee=Gi();if(G?.query){const xe=Xt.stringify(G.query);H=`${H}?${xe}`}return G.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${re}/api/v1${H}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Ae.headers),{"x-user-id":Ee}),G.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${re}/api/v1${H}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Ee},Ae.headers),method:G.method,body:JSON.stringify(G.body)}).then(xe=>xe.json()).catch(xe=>Promise.reject(xe))},[Ae]),He=se(H=>Fe(void 0,void 0,void 0,function*(){var G,re,Ee,xe,ke;if(H={maxSize:(G=H?.maxSize)!==null&&G!==void 0?G:o,defaultSize:(re=H?.defaultSize)!==null&&re!==void 0?re:l,"itemFilter.itemId":H?.["itemFilter.itemId"],"itemFilter.itemType":H?.["itemFilter.itemType"],hashTag:H?.hashTag,traceInfo:H?.traceInfo,themeTag:H?.themeTag},i){const De=(ke=(xe=(Ee=i?.split("&"))===null||Ee===void 0?void 0:Ee.filter(et=>{const tt=et.split("=")[0];return Wi.includes(tt)}))===null||xe===void 0?void 0:xe.join("&"))!==null&&ke!==void 0?ke:"";H=Object.assign(Object.assign({},H),{channel:decodeURIComponent(De)})}const Ie=yield ue?.("/recommend/list",{method:"GET",query:H});if(Ie?.success)return H?.hashTag||D({rtc:Ie.data.rtc,requestId:Ie.data.requestId}),Ie?.data}),[ue,i,o,l]),ve=se(()=>Fe(void 0,void 0,void 0,function*(){var H,G;if(h.length<=0)return;const re=yield He({hashTag:z?.hashTag,"itemFilter.itemId":z?.itemId,"itemFilter.itemType":z?.itemType,themeTag:J.current});P(h.concat((H=re?.recList)!==null&&H!==void 0?H:[])),$(V.concat((G=re?.recList)!==null&&G!==void 0?G:[]))}),[He,h,z,V]),de=se(({userInfo:H,eventInfo:G})=>{if(!n)return;H||(H={});const re=qn(),Ee=Object.assign({sessionID:re,rtc:T.rtc,requestId:T.requestId},G),xe=Object.entries(H).map(([Ie,De])=>({name:Ie,value:De})),ke=Object.entries(Ee).map(([Ie,De])=>De&&{name:Ie,value:De}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",H),console.log("eventInfo:",Ee),console.log("========= \u7ED3\u675F ========="),ue?.("/event/report",{method:"POST",body:{userInfo:xe,eventInfo:ke},type:"beacon"})},[ue,T,n]),Te=se(H=>{var G,{eventName:re,actionSource:Ee="website",eventSourceUrl:xe=(G=window?.location)===null||G===void 0?void 0:G.href,externalId:ke}=H;if(!n||!m)return;const Ie=Gi();return ue?.("/fb/events",{method:"POST",body:{eventName:re,actionSource:Ee,eventSourceUrl:xe,userData:{externalId:Ie}},type:"beacon"})},[ue,n,m]),pe=se(H=>Fe(void 0,void 0,void 0,function*(){const G=yield ue?.("/recommend/like",{method:"POST",body:H});return G?.success}),[ue]),Je=se(H=>Fe(void 0,void 0,void 0,function*(){const G=yield ue?.("/recommend/unlike",{method:"POST",body:H});return G?.success}),[ue]),je=se(H=>Fe(void 0,void 0,void 0,function*(){const G=yield ue?.("/customform",{method:"POST",body:H});return G?.success}),[ue]),Ze=se(()=>Fe(void 0,void 0,void 0,function*(){var H,G,re,Ee,xe;if(!(!i||!S))try{const ke=(re=(G=(H=i?.split("&"))===null||H===void 0?void 0:H.filter(De=>{const et=De.split("=")[0];return Wi.includes(et)}))===null||G===void 0?void 0:G.join("&"))!==null&&re!==void 0?re:"",Ie=yield ue?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ke)}});g((xe=(Ee=Ie?.data)===null||Ee===void 0?void 0:Ee.tags)!==null&&xe!==void 0?xe:[])}catch(ke){console.log("e",ke)}}),[ue,i,S]),lt=se((H,G,re,Ee)=>{var xe,ke,Ie,De,et,tt,wt,St,Tt,M,ae,X;const ie=re?.bindCta,me=((xe=G?.video)===null||xe===void 0?void 0:xe.bindProduct)||((ke=G?.video)===null||ke===void 0?void 0:ke.bindProducts)&&((De=(Ie=G?.video)===null||Ie===void 0?void 0:Ie.bindProducts)===null||De===void 0?void 0:De.length)>0;let ye="";Y?ye="hashTagPage":!((et=G?.video)===null||et===void 0)&&et.url?ye="videoPage":!((wt=(tt=G?.video)===null||tt===void 0?void 0:tt.imgUrls)===null||wt===void 0)&&wt.length&&(ye="imagePage"),de?.({eventInfo:Object.assign(Object.assign({},H),{ctaId:(St=ie?.itemId)!==null&&St!==void 0?St:"",ctaName:(Tt=ie?.title)!==null&&Tt!==void 0?Tt:"",contentTags:JSON.stringify(ie?.tags),position:Ee+"",contentId:(ae=(M=G?.video)===null||M===void 0?void 0:M.itemId)!==null&&ae!==void 0?ae:"",productId:me?re?.itemId:"",traceInfo:(X=ie?.traceInfo)!==null&&X!==void 0?X:"",fromKName:ye})})},[de,Y]),Pe=se(()=>{var H,G;const re=location.search.slice(1),Ee=Xt.parse(re.replace(/\+/g,"%2B"));for(const Ie in Ee)Ee[Ie]=Ee[Ie].replace(/%2B/g,"+");const xe=Ie=>{var De;return(De=Ee[Ie])!==null&&De!==void 0?De:""},ke=new Date;te.current=ke,de?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:xe("utm_source"),utmMedium:xe("utm_medium"),utmCampaign:xe("utm_campaign"),utmId:xe("utm_id"),utmContent:xe("utm_content"),enterTime:Math.floor(ke/1e3)+"",requestId:null,enterUrl:(G=(H=window?.location)===null||H===void 0?void 0:H.href)!==null&&G!==void 0?G:"",clSource:xe("cl_source")}})},[de]);Q(()=>{Pe()},[]),Q(()=>{Se||(A(!0),Ze(),He().then(H=>{var G,re;P((G=H?.recList)!==null&&G!==void 0?G:[]),$((re=H?.recList)!==null&&re!==void 0?re:[])}).finally(()=>{de({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),A(!1),L.current=!0}))},[Se]),Q(()=>{L.current&&(A(!0),Ze(),He().then(H=>{var G,re;P((G=H?.recList)!==null&&G!==void 0?G:[]),$((re=H?.recList)!==null&&re!==void 0?re:[])}).finally(()=>{A(!1)}))},[He,Ze]);const Yt=Ye("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return v.createElement($i.Provider,{value:{rtcList:h,setRtcList:P,mutateLike:pe,mutateUnlike:Je,submitForm:je,popupDetailData:B,loadVideos:ve,setPopupDetailData:N,getRecommendVideos:He,bffEventReport:de,utmVal:i,isPreview:r,loading:E,sxpParameter:s,waterFallData:z,setWaterFallData:j,ctaEvent:lt,swiperRef:O,openHashtag:k,setOpenHashtag:q,cacheRtcList:V,setCacheRtcList:$,cacheActiveIndex:K,setCacheActiveIndex:le,isFromHashtag:Y,setIsFromHashtag:be,appDomain:a,hashTagSize:c,loadingImage:d??Yt,isOpenHashTag:p,tagList:I,setLoading:A,videoRef:W,setVideoRef:ce,bffFbReport:Te,isAgreePolicy:F,setIsAgreePolicy:R,curTime:te,h5EnterLink:Pe,themeTag:J}},Se?v.createElement(Zn,Object.assign({},(_=(x=(f=u?.consent)===null||f===void 0?void 0:f[0])===null||x===void 0?void 0:x.item)===null||_===void 0?void 0:_.props)):t({rtcList:h,mutateLike:pe,mutateUnlike:Je,submitForm:je,tagList:I}))};var Yi=he(eo);function we(){return It($i)}var qi;(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"})(qi||(qi={}));const Xi=Ct({$store:{},options:[],configs:[]}),to=({children:t,isSsr:e,enable:i})=>{const[n,o]=U([]),{schema:l}=st(),[r,s]=U(l.__STORE__||{}),[a,c]=U([]);Q(()=>{var m;e||Mi(a,l?.dataSource)||c((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const d=se(()=>Fe(void 0,void 0,void 0,function*(){const{$store:m,idMapName:w}=yield Bi("",a);s(m),p(m,w)}),[a]),p=(m,w)=>{const y=[];Object.entries(m).forEach(([S,C])=>{Object.keys(C).forEach(u=>{const b={label:`${w[S]} - ${u}`,value:`{{ ${S}.${u} }}`};y.push(b)})}),o(y)};return Q(()=>{e||d()},[d,e,l]),i?v.createElement(Xi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:a}},t):t};var io=he(to);const Lt={id:Mt(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},Zt={id:"",duration:0,name:"none"},Ji=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Lt],redoStack:[],popup:Zt,setPopup:()=>{}}),Ki=Ot(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,a]=U(null),[c,d]=U(n||{pointData:[Lt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,m]=U([Lt]),[w,y]=U([[Lt]]),[S,C]=U([]),[u,b]=U(Zt);typeof window<"u"&&(window.sxpPopup=(P,I)=>{b(Object.assign(Object.assign(Object.assign({},Zt),{id:P}),I))}),typeof window<"u"&&(window.getJointUtmLink=P=>P?.indexOf("?")!==-1?P+(l?"&"+l:""):P+(l?"?"+l:"")),Q(()=>{y([c.pointData]),C([])},[c.type]);const f=se(P=>{const I=Et(c);I&&(I.dataSource=P,d?.(I))},[c]),[x,_]=U();ji(r,()=>({loadSchema(P){P&&(y([P.pointData]),d(P))},exportSchema(){return Et(c)},getPageInfoData(){return x},initPageInfoData(P){P&&_(P)}}));const h=ee(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return v.createElement(Ji.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:a,setSchema:d,saveDataSource:f,prePiontData:p,setPrePiontData:m,pageInfoData:x,setPageInfoData:P=>_(Object.assign(Object.assign({},x),P)),undoStack:w,redoStack:S,setRedoStack:C,setUndoStack:y,getCurPageConf:h,popup:u,setPopup:b}},v.createElement(io,{isSsr:i,enable:o},t))});var no=Object.freeze({__proto__:null,EditorCore:Ki}),oo=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ge=[{label:"defalut",value:"appFont"}],ei=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),lo=ei&&ei!==""?JSON.parse(ei):[];var $e={fontOptions:[...ge,...lo]},ti,ii,ni,so=[{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:ge,initialValue:(ti=ge?.[0])===null||ti===void 0?void 0:ti.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:$e?.fontOptions,initialValue:(ni=(ii=$e?.fontOptions)===null||ii===void 0?void 0:ii[0])===null||ni===void 0?void 0:ni.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Ue(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=we(),o=se((s,a,c,d)=>{var p,m,w,y,S,C,u,b,f,x,_,h,P,I;let g="";e&&(!((m=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||m===void 0)&&m.length||!((w=s?.video)===null||w===void 0)&&w.bindProduct)?g="pdpPage":n?g="hashTagPage":!((y=s?.video)===null||y===void 0)&&y.url?g="videoPage":!((S=s?.video)===null||S===void 0)&&S.imgUrls&&(!((u=(C=s?.video)===null||C===void 0?void 0:C.imgUrls)===null||u===void 0)&&u.length)?g="imagePage":s?.product&&(g="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(b=a?.itemId)!==null&&b!==void 0?b:"",productName:(f=a?.title)!==null&&f!==void 0?f:"",price:a?.price?a?.price+"":"0",productCollection:(x=a?.collection)!==null&&x!==void 0?x:"",fromKName:g,fromKPage:location?.href,contentTags:a?.tags?JSON.stringify(a?.tags):"",position:d+"",contentId:(h=(_=s?.video)===null||_===void 0?void 0:_.itemId)!==null&&h!==void 0?h:"",ctatId:(P=c?.itemId)!==null&&P!==void 0?P:"",traceInfo:(I=a?.traceInfo)!==null&&I!==void 0?I:""}})},[t,e,n]),l=se((s,a,c,d,p)=>{var m,w,y,S;let C="";e&&(!((w=(m=s?.video)===null||m===void 0?void 0:m.bindProducts)===null||w===void 0)&&w.length||!((y=s?.video)===null||y===void 0)&&y.bindProduct)?C="pdpPage":s?.product&&(C="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:C,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:p+"",contentId:(S=s?.video)===null||S===void 0?void 0:S.itemId,ctatId:c?.itemId,traceInfo:a?.traceInfo,timeOnSite:Math.floor((new Date-d)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=se((s,a,c)=>{t?.({eventInfo:{lastFeed:s,themeTags:a?`[${a}]`:"",hashTags:c?`[${c}]`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:o,productView:l,backMainFeed:r}}const ao=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:a,isExternalLink:c,isPopup:d,onClick:p,onClose:m,submitButtonStyle:w}=t,y=Le(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:S,popupDetailData:C}=we(),{jumpToWeb:u}=Ue(),b=Z(),[f,x]=U(!1),_=ee(()=>[{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"}],[]),h=ee(()=>{if(a===void 0){const I=Et(e)||_;return I?.map(g=>Object.assign(Object.assign({},g),{title:void 0,fieldProps:{placeholder:g?.title}}))}else return Et(e)||_},[a,e,_]),P=qt(()=>Fe(void 0,void 0,void 0,function*(){var I,g,E,A,T,D;const O=yield(I=b?.current)===null||I===void 0?void 0:I.getFieldsValue();if(!O)return;const L=(E=(g=Object.keys(O))===null||g===void 0?void 0:g.map(R=>{var B;return{name:R,value:(B=O[R])!==null&&B!==void 0?B:""}}))===null||E===void 0?void 0:E.filter(R=>R?.value);if(!L||!L?.length)return;x(!0);const F=yield S?.({attributes:L});if(x(!1),F){if(c){const R=C,B=(A=R?.video)===null||A===void 0?void 0:A.bindProduct,N=(D=(T=R?.video)===null||T===void 0?void 0:T.bindProduct)===null||D===void 0?void 0:D.bindCta,z=C?.index;u(R,B,N,z)}d||m?.(),p?.()}}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${oe(Object.assign({},o))}`},n),v.createElement("div",Object.assign({className:oe(Object.assign({},i))},y),v.createElement("div",{className:"pb-appoint-form-container"},v.createElement(Fn,{columns:h,submitter:!1,layout:a,autoFocusFirstInput:!1,size:"large",formRef:b,className:"panel-reset"}))),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{onClick:P,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},w)},f?v.createElement(v.Fragment,null,"loading..."):s)))};var ro=he(ao);function Ge(t,e){return t.extend=e,t}const co=Ge(ro,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:so,bindableProps:[],interactionRender:oo},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 oi,li,uo=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ge,name:["fontFamily"],initialValue:(oi=ge?.[0])===null||oi===void 0?void 0:oi.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:ge,initialValue:(li=ge?.[0])===null||li===void 0?void 0:li.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Qi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function si(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Qi(e[i])&&Qi(t[i])&&Object.keys(e[i]).length>0&&si(t[i],e[i])})}const Zi={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 Qe(){const t=typeof document<"u"?document:{};return si(t,Zi),t}const po={document:Zi,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 Ve(){const t=typeof window<"u"?window:{};return si(t,po),t}function ct(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function vo(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function gt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function qe(){return Date.now()}function fo(t){const e=Ve();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function mo(t,e){e===void 0&&(e="x");const i=Ve();let n,o,l;const r=fo(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function jt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function ho(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function We(){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&&!ho(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],a=Object.getOwnPropertyDescriptor(n,s);a!==void 0&&a.enumerable&&(jt(t[s])&&jt(n[s])?n[s].__swiper__?t[s]=n[s]:We(t[s],n[s]):!jt(t[s])&&jt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:We(t[s],n[s])):t[s]=n[s])}}}return t}function Nt(t,e,i){t.style.setProperty(e,i)}function en(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Ve(),l=-e.translate;let r=null,s;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(m,w)=>c==="next"&&m>=w||c==="prev"&&m<=w,p=()=>{s=new Date().getTime(),r===null&&(r=s);const m=Math.max(Math.min((s-r)/a,1),0),w=.5-Math.cos(m*Math.PI)/2;let y=l+w*(i-l);if(d(y,i)&&(y=i),e.wrapperEl.scrollTo({[n]:y}),d(y,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:y})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function it(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Bt(t){try{console.warn(t);return}catch{}}function _t(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:ct(e)),i}function go(t){const e=Ve(),i=Qe(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+a-r}}function bo(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 yo(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 ut(t,e){return Ve().getComputedStyle(t,null).getPropertyValue(e)}function zt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function tn(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 ai(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function ri(t,e,i){const n=Ve();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 nt(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function wo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ve();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,s=qe(),a;const c=[];function d(f){let P=0,I=0,g=0,E=0;return"detail"in f&&(I=f.detail),"wheelDelta"in f&&(I=-f.wheelDelta/120),"wheelDeltaY"in f&&(I=-f.wheelDeltaY/120),"wheelDeltaX"in f&&(P=-f.wheelDeltaX/120),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(P=I,I=0),g=P*10,E=I*10,"deltaY"in f&&(E=f.deltaY),"deltaX"in f&&(g=f.deltaX),f.shiftKey&&!g&&(g=E,E=0),(g||E)&&f.deltaMode&&(f.deltaMode===1?(g*=40,E*=40):(g*=800,E*=800)),g&&!P&&(P=g<1?-1:1),E&&!I&&(I=E<1?-1:1),{spinX:P,spinY:I,pixelX:g,pixelY:E}}function p(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function w(f){return e.params.mousewheel.thresholdDelta&&f.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&qe()-s<e.params.mousewheel.thresholdTime?!1:f.delta>=6&&qe()-s<60?!0:(f.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",f.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",f.raw)),s=new l.Date().getTime(),!1)}function y(f){const x=e.params.mousewheel;if(f.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 S(f){let x=f,_=!0;if(!e.enabled||f.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const h=e.params.mousewheel;e.params.cssMode&&x.preventDefault();let P=e.el;e.params.mousewheel.eventsTarget!=="container"&&(P=document.querySelector(e.params.mousewheel.eventsTarget));const I=P&&P.contains(x.target);if(!e.mouseEntered&&!I&&!h.releaseOnEdges)return!0;x.originalEvent&&(x=x.originalEvent);let g=0;const E=e.rtlTranslate?-1:1,A=d(x);if(h.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))g=-A.pixelX*E;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))g=-A.pixelY;else return!0;else g=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*E:-A.pixelY;if(g===0)return!0;h.invert&&(g=-g);let T=e.getTranslate()+g*h.sensitivity;if(T>=e.minTranslate()&&(T=e.minTranslate()),T<=e.maxTranslate()&&(T=e.maxTranslate()),_=e.params.loop?!0:!(T===e.minTranslate()||T===e.maxTranslate()),_&&e.params.nested&&x.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:qe(),delta:Math.abs(g),direction:Math.sign(g),raw:f};c.length>=2&&c.shift();const O=c.length?c[c.length-1]:void 0;if(c.push(D),O?(D.direction!==O.direction||D.delta>O.delta||D.time>O.time+150)&&w(D):w(D),y(D))return!0}else{const D={time:qe(),delta:Math.abs(g),direction:Math.sign(g)},O=a&&D.time<a.time+500&&D.delta<=a.delta&&D.direction===a.direction;if(!O){a=void 0;let L=e.getTranslate()+g*h.sensitivity;const F=e.isBeginning,R=e.isEnd;if(L>=e.minTranslate()&&(L=e.minTranslate()),L<=e.maxTranslate()&&(L=e.maxTranslate()),e.setTransition(0),e.setTranslate(L),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!F&&e.isBeginning||!R&&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,c.length>=15&&c.shift();const B=c.length?c[c.length-1]:void 0,N=c[0];if(c.push(D),B&&(D.delta>B.delta||D.direction!==B.direction))c.splice(0);else if(c.length>=15&&D.time-N.time<500&&N.delta-D.delta>=1&&D.delta<=6){const z=g>0?.8:.2;a=D,c.splice(0),r=gt(()=>{e.slideToClosest(e.params.speed,!0,void 0,z)},0)}r||(r=gt(()=>{a=D,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||o("scroll",x),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),h.releaseOnEdges&&(L===e.minTranslate()||L===e.maxTranslate()))return!0}}return x.preventDefault?x.preventDefault():x.returnValue=!1,!1}function C(f){let x=e.el;e.params.mousewheel.eventsTarget!=="container"&&(x=document.querySelector(e.params.mousewheel.eventsTarget)),x[f]("mouseenter",p),x[f]("mouseleave",m),x[f]("wheel",S)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",S),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,S),!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&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&b()}),Object.assign(e.mousewheel,{enable:u,disable:b})}function nn(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=it(t.el,`.${n[o]}`)[0];l||(l=_t("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function bt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ft(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:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,b){const{bulletActiveClass:f}=e.params.pagination;u&&(u=u[`${b==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${f}-${b}`),u=u[`${b==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${f}-${b}-${b}`)))}function d(u){const b=u.target.closest(bt(e.params.pagination.bulletClass));if(!b)return;u.preventDefault();const f=zt(b)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===f)return;e.slideToLoop(f)}else e.slideTo(f)}function p(){const u=e.rtl,b=e.params.pagination;if(a())return;let f=e.pagination.el;f=nt(f);let x,_;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,P=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(_=e.previousRealIndex||0,x=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(x=e.snapIndex,_=e.previousSnapIndex):(_=e.previousIndex||0,x=e.activeIndex||0),b.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const I=e.pagination.bullets;let g,E,A;if(b.dynamicBullets&&(r=ri(I[0],e.isHorizontal()?"width":"height",!0),f.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${r*(b.dynamicMainBullets+4)}px`}),b.dynamicMainBullets>1&&_!==void 0&&(s+=x-(_||0),s>b.dynamicMainBullets-1?s=b.dynamicMainBullets-1:s<0&&(s=0)),g=Math.max(x-s,0),E=g+(Math.min(I.length,b.dynamicMainBullets)-1),A=(E+g)/2),I.forEach(T=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${b.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();T.classList.remove(...D)}),f.length>1)I.forEach(T=>{const D=zt(T);D===x?T.classList.add(...b.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),b.dynamicBullets&&(D>=g&&D<=E&&T.classList.add(...`${b.bulletActiveClass}-main`.split(" ")),D===g&&c(T,"prev"),D===E&&c(T,"next"))});else{const T=I[x];if(T&&T.classList.add(...b.bulletActiveClass.split(" ")),e.isElement&&I.forEach((D,O)=>{D.setAttribute("part",O===x?"bullet-active":"bullet")}),b.dynamicBullets){const D=I[g],O=I[E];for(let L=g;L<=E;L+=1)I[L]&&I[L].classList.add(...`${b.bulletActiveClass}-main`.split(" "));c(D,"prev"),c(O,"next")}}if(b.dynamicBullets){const T=Math.min(I.length,b.dynamicMainBullets+4),D=(r*T-r)/2-A*r,O=u?"right":"left";I.forEach(L=>{L.style[e.isHorizontal()?O:"top"]=`${D}px`})}}f.forEach((I,g)=>{if(b.type==="fraction"&&(I.querySelectorAll(bt(b.currentClass)).forEach(E=>{E.textContent=b.formatFractionCurrent(x+1)}),I.querySelectorAll(bt(b.totalClass)).forEach(E=>{E.textContent=b.formatFractionTotal(P)})),b.type==="progressbar"){let E;b.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const A=(x+1)/P;let T=1,D=1;E==="horizontal"?T=A:D=A,I.querySelectorAll(bt(b.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${D})`,O.style.transitionDuration=`${e.params.speed}ms`})}b.type==="custom"&&b.renderCustom?(I.innerHTML=b.renderCustom(e,x+1,P),g===0&&o("paginationRender",I)):(g===0&&o("paginationRender",I),o("paginationUpdate",I)),e.params.watchOverflow&&e.enabled&&I.classList[e.isLocked?"add":"remove"](b.lockClass)})}function m(){const u=e.params.pagination;if(a())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 f=e.pagination.el;f=nt(f);let x="";if(u.type==="bullets"){let _=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&_>b&&(_=b);for(let h=0;h<_;h+=1)u.renderBullet?x+=u.renderBullet.call(e,h,u.bulletClass):x+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?x=u.renderFraction.call(e,u.currentClass,u.totalClass):x=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?x=u.renderProgressbar.call(e,u.progressbarFillClass):x=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],f.forEach(_=>{u.type!=="custom"&&(_.innerHTML=x||""),u.type==="bullets"&&e.pagination.bullets.push(..._.querySelectorAll(bt(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",f[0])}function w(){e.params.pagination=nn(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let b;typeof u.el=="string"&&e.isElement&&(b=e.el.querySelector(u.el)),!b&&typeof u.el=="string"&&(b=[...document.querySelectorAll(u.el)]),b||(b=u.el),!(!b||b.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(b)&&b.length>1&&(b=[...e.el.querySelectorAll(u.el)],b.length>1&&(b=b.filter(f=>tn(f,".swiper")[0]===e.el)[0])),Array.isArray(b)&&b.length===1&&(b=b[0]),Object.assign(e.pagination,{el:b}),b=nt(b),b.forEach(f=>{u.type==="bullets"&&u.clickable&&f.classList.add(...(u.clickableClass||"").split(" ")),f.classList.add(u.modifierClass+u.type),f.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(f.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&f.classList.add(u.progressbarOppositeClass),u.clickable&&f.addEventListener("click",d),e.enabled||f.classList.add(u.lockClass)}))}function y(){const u=e.params.pagination;if(a())return;let b=e.pagination.el;b&&(b=nt(b),b.forEach(f=>{f.classList.remove(u.hiddenClass),f.classList.remove(u.modifierClass+u.type),f.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(f.classList.remove(...(u.clickableClass||"").split(" ")),f.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(f=>f.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:b}=e.pagination;b=nt(b),b.forEach(f=>{f.classList.remove(u.horizontalClass,u.verticalClass),f.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?C():(w(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=nt(u),u.forEach(b=>b.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,b)=>{const f=b.target,x=nt(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&x&&x.length>0&&!f.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&f===e.navigation.nextEl||e.navigation.prevEl&&f===e.navigation.prevEl))return;const _=x[0].classList.contains(e.params.pagination.hiddenClass);o(_===!0?"paginationShow":"paginationHide"),x.forEach(h=>h.classList.toggle(e.params.pagination.hiddenClass))}});const S=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=nt(u),u.forEach(b=>b.classList.remove(e.params.pagination.paginationDisabledClass))),w(),m(),p()},C=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=nt(u),u.forEach(b=>b.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:S,disable:C,render:m,update:p,init:w,destroy:y})}function So(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Qe();let r=!1,s=null,a=null,c,d,p,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 w(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T,rtlTranslate:D}=e,{dragEl:O,el:L}=T,F=e.params.scrollbar,R=e.params.loop?e.progressLoop:e.progress;let B=d,N=(p-d)*R;D?(N=-N,N>0?(B=d-N,N=0):-N+d>p&&(B=p+N)):N<0?(B=d+N,N=0):N+d>p&&(B=p-N),e.isHorizontal()?(O.style.transform=`translate3d(${N}px, 0, 0)`,O.style.width=`${B}px`):(O.style.transform=`translate3d(0px, ${N}px, 0)`,O.style.height=`${B}px`),F.hide&&(clearTimeout(s),L.style.opacity=1,s=setTimeout(()=>{L.style.opacity=0,L.style.transitionDuration="400ms"},1e3))}function y(T){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${T}ms`)}function S(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:T}=e,{dragEl:D,el:O}=T;D.style.width="",D.style.height="",p=e.isHorizontal()?O.offsetWidth:O.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=p*m:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${d}px`:D.style.height=`${d}px`,m>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&T.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function C(T){return e.isHorizontal()?T.clientX:T.clientY}function u(T){const{scrollbar:D,rtlTranslate:O}=e,{el:L}=D;let F;F=(C(T)-go(L)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),F=Math.max(Math.min(F,1),0),O&&(F=1-F);const R=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*F;e.updateProgress(R),e.setTranslate(R),e.updateActiveIndex(),e.updateSlidesClasses()}function b(T){const D=e.params.scrollbar,{scrollbar:O,wrapperEl:L}=e,{el:F,dragEl:R}=O;r=!0,c=T.target===R?C(T)-T.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,T.preventDefault(),T.stopPropagation(),L.style.transitionDuration="100ms",R.style.transitionDuration="100ms",u(T),clearTimeout(a),F.style.transitionDuration="0ms",D.hide&&(F.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",T)}function f(T){const{scrollbar:D,wrapperEl:O}=e,{el:L,dragEl:F}=D;r&&(T.preventDefault&&T.cancelable?T.preventDefault():T.returnValue=!1,u(T),O.style.transitionDuration="0ms",L.style.transitionDuration="0ms",F.style.transitionDuration="0ms",o("scrollbarDragMove",T))}function x(T){const D=e.params.scrollbar,{scrollbar:O,wrapperEl:L}=e,{el:F}=O;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",L.style.transitionDuration=""),D.hide&&(clearTimeout(a),a=gt(()=>{F.style.opacity=0,F.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",T),D.snapOnRelease&&e.slideToClosest())}function _(T){const{scrollbar:D,params:O}=e,L=D.el;if(!L)return;const F=L,R=O.passiveListeners?{passive:!1,capture:!1}:!1,B=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const N=T==="on"?"addEventListener":"removeEventListener";F[N]("pointerdown",b,R),l[N]("pointermove",f,R),l[N]("pointerup",x,B)}function h(){!e.params.scrollbar.el||!e.scrollbar.el||_("on")}function P(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function I(){const{scrollbar:T,el:D}=e;e.params.scrollbar=nn(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let L;if(typeof O.el=="string"&&e.isElement&&(L=e.el.querySelector(O.el)),!L&&typeof O.el=="string"){if(L=l.querySelectorAll(O.el),!L.length)return}else L||(L=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&L.length>1&&D.querySelectorAll(O.el).length===1&&(L=D.querySelector(O.el)),L.length>0&&(L=L[0]),L.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let F;L&&(F=L.querySelector(bt(e.params.scrollbar.dragClass)),F||(F=_t("div",e.params.scrollbar.dragClass),L.append(F))),Object.assign(T,{el:L,dragEl:F}),O.draggable&&h(),L&&L.classList[e.enabled?"remove":"add"](...ct(e.params.scrollbar.lockClass))}function g(){const T=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...ct(e.isHorizontal()?T.horizontalClass:T.verticalClass)),P()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const T=e.params.scrollbar;let{el:D}=e.scrollbar;D=nt(D),D.forEach(O=>{O.classList.remove(T.horizontalClass,T.verticalClass),O.classList.add(e.isHorizontal()?T.horizontalClass:T.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(I(),S(),w())}),n("update resize observerUpdate lock unlock changeDirection",()=>{S()}),n("setTranslate",()=>{w()}),n("setTransition",(T,D)=>{y(D)}),n("enable disable",()=>{const{el:T}=e.scrollbar;T&&T.classList[e.enabled?"remove":"add"](...ct(e.params.scrollbar.lockClass))}),n("destroy",()=>{g()});const E=()=>{e.el.classList.remove(...ct(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ct(e.params.scrollbar.scrollbarDisabledClass)),I(),S(),w()},A=()=>{e.el.classList.add(...ct(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ct(e.params.scrollbar.scrollbarDisabledClass)),g()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:S,setTranslate:w,init:I,destroy:g})}function Vt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,a=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),m,w,y,S,C,u,b;function f(B){!e||e.destroyed||!e.wrapperEl||B.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",f),!(b||B.detail&&B.detail.bySwiperTouchMove)&&E())}const x=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(c=d,m=!1);const B=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=B,o("autoplayTimeLeft",B,B/a),s=requestAnimationFrame(()=>{x()})},_=()=>{let B;return e.virtual&&e.params.virtual.enabled?B=e.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:B=e.slides[e.activeIndex],B?parseInt(B.getAttribute("data-swiper-autoplay"),10):void 0},h=B=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),x();let N=typeof B>"u"?e.params.autoplay.delay:B;a=e.params.autoplay.delay,c=e.params.autoplay.delay;const z=_();!Number.isNaN(z)&&z>0&&typeof B>"u"&&(N=z,a=z,c=z),d=N;const j=e.params.speed,k=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(j,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,j,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(j,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,j,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{h()})))};return N>0?(clearTimeout(r),r=setTimeout(()=>{k()},N)):requestAnimationFrame(()=>{k()}),N},P=()=>{p=new Date().getTime(),e.autoplay.running=!0,h(),o("autoplayStart")},I=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},g=(B,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),B||(u=!0);const z=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",f):E()};if(e.autoplay.paused=!0,N){C&&(d=e.params.autoplay.delay),C=!1,z();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),z())},E=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,h(d)):h(),e.autoplay.paused=!1,o("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const B=Qe();B.visibilityState==="hidden"&&(u=!0,g(!0)),B.visibilityState==="visible"&&E()},T=B=>{B.pointerType==="mouse"&&(u=!0,b=!0,!(e.animating||e.autoplay.paused)&&g(!0))},D=B=>{B.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&E())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",T),e.el.addEventListener("pointerleave",D))},L=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",T),e.el.removeEventListener("pointerleave",D))},F=()=>{Qe().addEventListener("visibilitychange",A)},R=()=>{Qe().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(O(),F(),P())}),n("destroy",()=>{L(),R(),e.autoplay.running&&I()}),n("_freeModeStaticRelease",()=>{(y||u)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?I():g(!0,!0)}),n("beforeTransitionStart",(B,N,z)=>{e.destroyed||!e.autoplay.running||(z||!e.params.autoplay.disableOnInteraction?g(!0,!0):I())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){I();return}w=!0,y=!1,u=!1,S=setTimeout(()=>{u=!0,y=!0,g(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!w)){if(clearTimeout(S),clearTimeout(r),e.params.autoplay.disableOnInteraction){y=!1,w=!1;return}y&&e.params.cssMode&&E(),y=!1,w=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(C=!0)}),Object.assign(e.autoplay,{start:P,stop:I,pause:g,resume:E})}function To(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 a=e.getTranslate();e.setTranslate(a),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:a,touches:c}=e;a.velocities.length===0&&a.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:qe()})}function s(a){let{currentPos:c}=a;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:m,snapGrid:w,touchEventsData:y}=e,C=qe()-y.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<w.length?e.slideTo(w.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(y.velocities.length>1){const I=y.velocities.pop(),g=y.velocities.pop(),E=I.position-g.position,A=I.time-g.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(A>150||qe()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,y.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const b=e.velocity*u;let f=e.translate+b;m&&(f=-f);let x=!1,_;const h=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let P;if(f<e.maxTranslate())d.freeMode.momentumBounce?(f+e.maxTranslate()<-h&&(f=e.maxTranslate()-h),_=e.maxTranslate(),x=!0,y.allowMomentumBounce=!0):f=e.maxTranslate(),d.loop&&d.centeredSlides&&(P=!0);else if(f>e.minTranslate())d.freeMode.momentumBounce?(f-e.minTranslate()>h&&(f=e.minTranslate()+h),_=e.minTranslate(),x=!0,y.allowMomentumBounce=!0):f=e.minTranslate(),d.loop&&d.centeredSlides&&(P=!0);else if(d.freeMode.sticky){let I;for(let g=0;g<w.length;g+=1)if(w[g]>-f){I=g;break}Math.abs(w[I]-f)<Math.abs(w[I-1]-f)||e.swipeDirection==="next"?f=w[I]:f=w[I-1],f=-f}if(P&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?u=Math.abs((-f-e.translate)/e.velocity):u=Math.abs((f-e.translate)/e.velocity),d.freeMode.sticky){const I=Math.abs((m?-f:f)-e.translate),g=e.slidesSizesGrid[e.activeIndex];I<g?u=d.speed:I<2*g?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&x?(e.updateProgress(_),e.setTransition(u),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ai(p,()=>{!e||e.destroyed||!y.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(_),ai(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(f),e.setTransition(u),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ai(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(f),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||C>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let di;function xo(){const t=Ve(),e=Qe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function on(){return di||(di=xo()),di}let ci;function Eo(t){let{userAgent:e}=t===void 0?{}:t;const i=on(),n=Ve(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),w=o==="Win32";let y=o==="MacIntel";const S=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&y&&i.touch&&S.indexOf(`${s}x${a}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),y=!1),c&&!w&&(r.os="android",r.android=!0),(d||m||p)&&(r.os="ios",r.ios=!0),r}function ln(t){return t===void 0&&(t={}),ci||(ci=Eo(t)),ci}let ui;function Io(){const t=Ve(),e=ln();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[a,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&c<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 Co(){return ui||(ui=Io()),ui}function _o(t){let{swiper:e,on:i,emit:n}=t;const o=Ve();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{r=o.requestAnimationFrame(()=>{const{width:m,height:w}=e;let y=m,S=w;p.forEach(C=>{let{contentBoxSize:u,contentRect:b,target:f}=C;f&&f!==e.el||(y=b?b.width:(u[0]||u).inlineSize,S=b?b.height:(u[0]||u).blockSize)}),(y!==m||S!==w)&&s()})}),l.observe(e.el))},c=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){a();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function ko(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Ve(),s=function(d,p){p===void 0&&(p={});const m=r.MutationObserver||r.WebkitMutationObserver,w=new m(y=>{if(e.__preventObserver__)return;if(y.length===1){o("observerUpdate",y[0]);return}const S=function(){o("observerUpdate",y[0])};r.requestAnimationFrame?r.requestAnimationFrame(S):r.setTimeout(S,0)});w.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(w)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=tn(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",c)}var Do={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(c=>{c.apply(n,i)})}),t}};function Ao(){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(ut(n,"padding-left")||0,10)-parseInt(ut(n,"padding-right")||0,10),i=i-parseInt(ut(n,"padding-top")||0,10)-parseInt(ut(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 Po(){const t=this;function e(E,A){return parseFloat(E.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,a=t.virtual&&i.virtual.enabled,c=a?t.virtual.slides.length:t.slides.length,d=it(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:d.length;let m=[];const w=[],y=[];let S=i.slidesOffsetBefore;typeof S=="function"&&(S=i.slidesOffsetBefore.call(t));let C=i.slidesOffsetAfter;typeof C=="function"&&(C=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,b=t.slidesGrid.length;let f=i.spaceBetween,x=-S,_=0,h=0;if(typeof l>"u")return;typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*l:typeof f=="string"&&(f=parseFloat(f)),t.virtualSize=-f,d.forEach(E=>{r?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Nt(n,"--swiper-centered-offset-before",""),Nt(n,"--swiper-centered-offset-after",""));const P=i.grid&&i.grid.rows>1&&t.grid;P?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let I;const g=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<p;E+=1){I=0;let A;if(d[E]&&(A=d[E]),P&&t.grid.updateSlide(E,A,d),!(d[E]&&ut(A,"display")==="none")){if(i.slidesPerView==="auto"){g&&(d[E].style[t.getDirectionLabel("width")]="");const T=getComputedStyle(A),D=A.style.transform,O=A.style.webkitTransform;if(D&&(A.style.transform="none"),O&&(A.style.webkitTransform="none"),i.roundLengths)I=t.isHorizontal()?ri(A,"width",!0):ri(A,"height",!0);else{const L=e(T,"width"),F=e(T,"padding-left"),R=e(T,"padding-right"),B=e(T,"margin-left"),N=e(T,"margin-right"),z=T.getPropertyValue("box-sizing");if(z&&z==="border-box")I=L+B+N;else{const{clientWidth:j,offsetWidth:k}=A;I=L+F+R+B+N+(k-j)}}D&&(A.style.transform=D),O&&(A.style.webkitTransform=O),i.roundLengths&&(I=Math.floor(I))}else I=(l-(i.slidesPerView-1)*f)/i.slidesPerView,i.roundLengths&&(I=Math.floor(I)),d[E]&&(d[E].style[t.getDirectionLabel("width")]=`${I}px`);d[E]&&(d[E].swiperSlideSize=I),y.push(I),i.centeredSlides?(x=x+I/2+_/2+f,_===0&&E!==0&&(x=x-l/2-f),E===0&&(x=x-l/2-f),Math.abs(x)<1/1e3&&(x=0),i.roundLengths&&(x=Math.floor(x)),h%i.slidesPerGroup===0&&m.push(x),w.push(x)):(i.roundLengths&&(x=Math.floor(x)),(h-Math.min(t.params.slidesPerGroupSkip,h))%t.params.slidesPerGroup===0&&m.push(x),w.push(x),x=x+I+f),t.virtualSize+=I+f,_=I,h+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+C,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+f}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+f}px`),P&&t.grid.updateWrapperSize(I,m),!i.centeredSlides){const E=[];for(let A=0;A<m.length;A+=1){let T=m[A];i.roundLengths&&(T=Math.floor(T)),m[A]<=t.virtualSize-l&&E.push(T)}m=E,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(a&&i.loop){const E=y[0]+f;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),T=E*i.slidesPerGroup;for(let D=0;D<A;D+=1)m.push(m[m.length-1]+T)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+E),w.push(w[w.length-1]+E),t.virtualSize+=E}if(m.length===0&&(m=[0]),f!==0){const E=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");d.filter((A,T)=>!i.cssMode||i.loop?!0:T!==d.length-1).forEach(A=>{A.style[E]=`${f}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;y.forEach(T=>{E+=T+(f||0)}),E-=f;const A=E-l;m=m.map(T=>T<=0?-S:T>A?A+C:T)}if(i.centerInsufficientSlides){let E=0;y.forEach(T=>{E+=T+(f||0)}),E-=f;const A=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(E+A<l){const T=(l-E-A)/2;m.forEach((D,O)=>{m[O]=D-T}),w.forEach((D,O)=>{w[O]=D+T})}}if(Object.assign(t,{slides:d,snapGrid:m,slidesGrid:w,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Nt(n,"--swiper-centered-offset-before",`${-m[0]}px`),Nt(n,"--swiper-centered-offset-after",`${t.size/2-y[y.length-1]/2}px`);const E=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(T=>T+E),t.slidesGrid=t.slidesGrid.map(T=>T+A)}if(p!==c&&t.emit("slidesLengthChange"),m.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),w.length!==b&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(E);p<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(E):A&&t.el.classList.remove(E)}}function Oo(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Mo(){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()}const sn=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Lo(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),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let a=0;a<n.length;a+=1){const c=n[a];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(r+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),w=-(r-d),y=w+e.slidesSizesGrid[a],S=w>=0&&w<=e.size-e.slidesSizesGrid[a],C=w>=0&&w<e.size-1||y>1&&y<=e.size||w<=0&&y>=e.size;C&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(a)),sn(c,C,i.slideVisibleClass),sn(c,S,i.slideFullyVisibleClass),c.progress=o?-p:p,c.originalProgress=o?-m:m}}function jo(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const a=l,c=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,r=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[d],w=e.slidesGrid[p],y=e.slidesGrid[e.slidesGrid.length-1],S=Math.abs(t);S>=m?s=(S-m)/y:s=(S+y-w)/y,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!a&&e.emit("reachBeginning toEdge"),r&&!c&&e.emit("reachEnd toEdge"),(a&&!l||c&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}const pi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function No(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=p=>it(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];let a,c,d;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),a=s(`[data-swiper-slide-index="${p}"]`)}else a=s(`[data-swiper-slide-index="${o}"]`);else r?(a=e.filter(p=>p.column===o)[0],d=e.filter(p=>p.column===o+1)[0],c=e.filter(p=>p.column===o-1)[0]):a=e[o];a&&(r||(d=yo(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),c=bo(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(p=>{pi(p,p===a,i.slideActiveClass),pi(p,p===d,i.slideNextClass),pi(p,p===c,i.slidePrevClass)}),t.emitSlidesClasses()}const Rt=(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()}},vi=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},fi=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((a,c)=>r+n+c)),t.slides.forEach((a,c)=>{s.includes(a.column)&&vi(t,c)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&vi(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&vi(t,r)};function Bo(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 zo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let a=t,c;const d=w=>{let y=w-e.virtual.slidesBefore;return y<0&&(y=e.virtual.slides.length+y),y>=e.virtual.slides.length&&(y-=e.virtual.slides.length),y};if(typeof a>"u"&&(a=Bo(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const w=Math.min(o.slidesPerGroupSkip,a);c=w+Math.floor((a-w)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),a===l&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const p=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=d(a);else if(p){const w=e.slides.filter(S=>S.column===a)[0];let y=parseInt(w.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(e.slides.indexOf(w),0)),m=Math.floor(y/o.grid.rows)}else if(e.slides[a]){const w=e.slides[a].getAttribute("data-swiper-slide-index");w?m=parseInt(w,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:a}),e.initialized&&fi(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function Fo(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Vo={updateSize:Ao,updateSlides:Po,updateAutoHeight:Oo,updateSlidesOffset:Mo,updateSlidesProgress:Lo,updateProgress:jo,updateSlidesClasses:No,updateActiveIndex:zo,updateClickedSlide:Fo};function Ro(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=mo(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Ho(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,a=0;const c=0;i.isHorizontal()?s=n?-t:t:a=t,o.roundLengths&&(s=Math.floor(s),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:a,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-a:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${a}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Uo(){return-this.snapGrid[0]}function Go(){return-this.snapGrid[this.snapGrid.length-1]}function $o(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const a=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>a?d=a:n&&t<c?d=c:d=t,l.updateProgress(d),r.cssMode){const p=l.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return en({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),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,l.animating=!1,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var Wo={getTranslate:Ro,setTranslate:Ho,minTranslate:Uo,maxTranslate:Go,translateTo:$o};function Yo(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 an(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function qo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),an({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Xo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),an({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Jo={setTransition:Yo,transitionStart:qo,transitionEnd:Xo};function Ko(t,e,i,n,o){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:s,snapGrid:a,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:m,wrapperEl:w,enabled:y}=l;if(!y&&!n&&!o||l.destroyed||l.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const S=Math.min(l.params.slidesPerGroupSkip,r);let C=S+Math.floor((r-S)/l.params.slidesPerGroup);C>=a.length&&(C=a.length-1);const u=-a[C];if(s.normalizeSlideIndex)for(let f=0;f<c.length;f+=1){const x=-Math.floor(u*100),_=Math.floor(c[f]*100),h=Math.floor(c[f+1]*100);typeof c[f+1]<"u"?x>=_&&x<h-(h-_)/2?r=f:x>=_&&x<h&&(r=f+1):x>=_&&(r=f)}if(l.initialized&&r!==p&&(!l.allowSlideNext&&(m?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==r))return!1;r!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let b;if(r>p?b="next":r<p?b="prev":b="reset",m&&-u===l.translate||!m&&u===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(u),b!=="reset"&&(l.transitionStart(i,b),l.transitionEnd(i,b)),!1;if(s.cssMode){const f=l.isHorizontal(),x=m?u:-u;if(e===0){const _=l.virtual&&l.params.virtual.enabled;_&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),_&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{w[f?"scrollLeft":"scrollTop"]=x})):w[f?"scrollLeft":"scrollTop"]=x,_&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return en({swiper:l,targetPosition:x,side:f?"left":"top"}),!0;w.scrollTo({[f?"left":"top"]:x,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),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 Qo(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const m=r*o.params.grid.rows;s=o.slides.filter(w=>w.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(r);const a=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:c}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=a-s<d;if(c&&(p=p||s<Math.ceil(d/2)),n&&c&&o.params.slidesPerView!=="auto"&&!l&&(p=!1),p){const m=c?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-a+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(w=>w.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function Zo(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:s,c=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!c&&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+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function el(t,e,i){e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:a,animating:c}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const d=n.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function m(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const w=m(p),y=l.map(u=>m(u));let S=l[y.indexOf(w)-1];if(typeof S>"u"&&o.cssMode){let u;l.forEach((b,f)=>{w>=b&&(u=f)}),typeof u<"u"&&(S=l[u>0?u-1:u])}let C=0;if(typeof S<"u"&&(C=r.indexOf(S),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 u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,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 tl(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function il(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[s]){const c=o.snapGrid[s],d=o.snapGrid[s+1];a-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[s-1],d=o.snapGrid[s];a-c<=(d-c)*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 nl(){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(it(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),gt(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(it(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),gt(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var ol={slideTo:Ko,slideToLoop:Qo,slideNext:Zo,slidePrev:el,slideReset:tl,slideToClosest:il,slideToClickedSlide:nl};function ll(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{it(n,`.${i.slideClass}, swiper-slide`).forEach((p,m)=>{p.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,a=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const m=e.isElement?_t("swiper-slide",[i.slideBlankClass]):_t("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(s){if(i.loopAddBlankSlides){const d=r-e.slides.length%r;c(d),e.recalcSlides(),e.updateSlides()}else Bt("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(a){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Bt("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 sl(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:m,params:w}=a,{centeredSlides:y}=w;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&w.virtual.enabled){i&&(!w.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):w.centeredSlides&&a.snapIndex<w.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=d,a.allowSlideNext=p,a.emit("loopFix");return}let S=w.slidesPerView;S==="auto"?S=a.slidesPerViewDynamic():(S=Math.ceil(parseFloat(w.slidesPerView,10)),y&&S%2===0&&(S=S+1));const C=w.slidesPerGroupAuto?S:w.slidesPerGroup;let u=C;u%C!==0&&(u+=C-u%C),u+=w.loopAdditionalSlides,a.loopedSlides=u;const b=a.grid&&w.grid&&w.grid.rows>1;c.length<S+u?Bt("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&&w.grid.fill==="row"&&Bt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const f=[],x=[];let _=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(c.filter(D=>D.classList.contains(w.slideActiveClass))[0]):_=l;const h=n==="next"||!n,P=n==="prev"||!n;let I=0,g=0;const E=b?Math.ceil(c.length/w.grid.rows):c.length,T=(b?c[l].column:l)+(y&&typeof o>"u"?-S/2+.5:0);if(T<u){I=Math.max(u-T,C);for(let D=0;D<u-T;D+=1){const O=D-Math.floor(D/E)*E;if(b){const L=E-O-1;for(let F=c.length-1;F>=0;F-=1)c[F].column===L&&f.push(F)}else f.push(E-O-1)}}else if(T+S>E-u){g=Math.max(T-(E-u*2),C);for(let D=0;D<g;D+=1){const O=D-Math.floor(D/E)*E;b?c.forEach((L,F)=>{L.column===O&&x.push(F)}):x.push(O)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),P&&f.forEach(D=>{c[D].swiperLoopMoveDOM=!0,m.prepend(c[D]),c[D].swiperLoopMoveDOM=!1}),h&&x.forEach(D=>{c[D].swiperLoopMoveDOM=!0,m.append(c[D]),c[D].swiperLoopMoveDOM=!1}),a.recalcSlides(),w.slidesPerView==="auto"?a.updateSlides():b&&(f.length>0&&P||x.length>0&&h)&&a.slides.forEach((D,O)=>{a.grid.updateSlide(O,D,a.slides)}),w.watchSlidesProgress&&a.updateSlidesOffset(),i){if(f.length>0&&P){if(typeof e>"u"){const D=a.slidesGrid[_],L=a.slidesGrid[_+I]-D;s?a.setTranslate(a.translate-L):(a.slideTo(_+Math.ceil(I),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-L,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-L))}else if(o){const D=b?f.length/w.grid.rows:f.length;a.slideTo(a.activeIndex+D,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(x.length>0&&h)if(typeof e>"u"){const D=a.slidesGrid[_],L=a.slidesGrid[_-g]-D;s?a.setTranslate(a.translate-L):(a.slideTo(_-g,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-L,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-L))}else{const D=b?x.length/w.grid.rows:x.length;a.slideTo(a.activeIndex-D,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=p,a.controller&&a.controller.control&&!r){const D={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...D,slideTo:O.params.slidesPerView===w.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...D,slideTo:a.controller.control.params.slidesPerView===w.slidesPerView?i:!1})}a.emit("loopFix")}function al(){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 rl={loopCreate:ll,loopFix:sl,loopDestroy:al};function dl(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 cl(){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 ul={setGrabCursor:dl,unsetGrabCursor:cl};function pl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Qe()||n===Ve())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 rn(t,e,i){const n=Ve(),{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 vl(t){const e=this,i=Qe();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"){rn(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(a=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?pl(p,a):a.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const w=r.currentX,y=r.currentY;if(!rn(e,n,w))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=w,r.startY=y,o.touchStartTime=qe(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let S=!0;a.matches(o.focusableElements)&&(S=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const C=S&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||C)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function fl(t){const e=Qe(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let c;if(a.type==="touchmove"){if(c=[...a.changedTouches].filter(h=>h.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=c.pageX,p=c.pageY;if(a.preventedByNestedSwiper){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=qe());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const m=l.currentX-l.startX,w=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+w**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let h;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+w*w>=25&&(h=Math.atan2(Math.abs(w),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?h>o.touchAngle:90-h>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||a.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let y=i.isHorizontal()?m:w,S=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(y=Math.abs(y)*(r?1:-1),S=Math.abs(S)*(r?1:-1)),l.diff=y,y*=o.touchRatio,r&&(y=-y,S=-S);const C=i.touchesDirection;i.swipeDirection=y>0?"prev":"next",i.touchesDirection=S>0?"prev":"next";const u=i.params.loop&&!o.cssMode,b=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&b&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const h=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(h)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let f;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&C!==i.touchesDirection&&u&&b&&Math.abs(y)>=1){Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=y+n.startTranslate;let x=!0,_=o.resistanceRatio;if(o.touchReleaseOnEdges&&(_=0),y>0?(u&&b&&!f&&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+y)**_))):y<0&&(u&&b&&!f&&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-y)**_))),x&&(a.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(y)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function ml(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(_=>_.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:a,slidesGrid:c,enabled:d}=e;if(!d||!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 p=qe(),m=p-i.touchStartTime;if(e.allowClick){const _=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(_&&_[0]||n.target,_),e.emit("tap click",n),m<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=qe(),gt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let w;if(r.followFinger?w=a?e.translate:-e.translate:w=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:w});return}const y=w>=-e.maxTranslate()&&!e.params.loop;let S=0,C=e.slidesSizesGrid[0];for(let _=0;_<c.length;_+=_<r.slidesPerGroupSkip?1:r.slidesPerGroup){const h=_<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof c[_+h]<"u"?(y||w>=c[_]&&w<c[_+h])&&(S=_,C=c[_+h]-c[_]):(y||w>=c[_])&&(S=_,C=c[c.length-1]-c[c.length-2])}let u=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&&(u=0));const f=(w-c[S])/C,x=S<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(f>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?u:S+x):e.slideTo(S)),e.swipeDirection==="prev"&&(f>1-r.longSwipesRatio?e.slideTo(S+x):b!==null&&f<0&&Math.abs(f)>r.longSwipesRatio?e.slideTo(b):e.slideTo(S))}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(S+x):e.slideTo(S):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:S+x),e.swipeDirection==="prev"&&e.slideTo(b!==null?b:S))}}function dn(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function hl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function gl(){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 bl(t){const e=this;Rt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function yl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const cn=(t,e)=>{const i=Qe(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",c=e;!o||typeof o=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[c](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",dn,!0):t[c]("observerUpdate",dn,!0),o[a]("load",t.onLoad,{capture:!0}))};function wl(){const t=this,{params:e}=t;t.onTouchStart=vl.bind(t),t.onTouchMove=fl.bind(t),t.onTouchEnd=ml.bind(t),t.onDocumentTouchStart=yl.bind(t),e.cssMode&&(t.onScroll=gl.bind(t)),t.onClick=hl.bind(t),t.onLoad=bl.bind(t),cn(t,"on")}function Sl(){cn(this,"off")}var Tl={attachEvents:wl,detachEvents:Sl};const un=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function xl(){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 a=(r in l?l[r]:void 0)||t.originalParams,c=un(t,n),d=un(t,a),p=t.params.grabCursor,m=a.grabCursor,w=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),p&&!m?t.unsetGrabCursor():!p&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(f=>{if(typeof a[f]>"u")return;const x=n[f]&&n[f].enabled,_=a[f]&&a[f].enabled;x&&!_&&t[f].disable(),!x&&_&&t[f].enable()});const y=a.direction&&a.direction!==n.direction,S=n.loop&&(a.slidesPerView!==n.slidesPerView||y),C=n.loop;y&&i&&t.changeDirection(),We(t.params,a);const u=t.params.enabled,b=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),w&&!u?t.disable():!w&&u&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",a),i&&(S?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!C&&b?(t.loopCreate(e),t.updateSlides()):C&&!b&&t.loopDestroy()),t.emit("breakpoint",a)}function El(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Ve(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const a=parseFloat(s.substr(1));return{value:l*a,point:s}}return{value:s,point:s}});r.sort((s,a)=>parseInt(s.value,10)-parseInt(a.value,10));for(let s=0;s<r.length;s+=1){const{point:a,value:c}=r[s];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=a):c<=i.clientWidth&&(n=a)}return n||"max"}var Il={setBreakpoint:xl,getBreakpoint:El};function Cl(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 _l(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=Cl(["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 kl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Dl={addClasses:_l,removeClasses:kl};function Al(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Pl={checkOverflow:Al},mi={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 Ol(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){We(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)){We(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),We(e,n)}}const hi={eventsEmitter:Do,update:Vo,translate:Wo,transition:Jo,slide:ol,loop:rl,grabCursor:ul,events:Tl,breakpoints:Il,checkOverflow:Pl,classes:Dl},gi={};let bi=class rt{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=We({},i),e&&!i.el&&(i.el=e);const r=Qe();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const d=[];return r.querySelectorAll(i.el).forEach(p=>{const m=We({},i,{el:p});d.push(new rt(m))}),d}const s=this;s.__swiper__=!0,s.support=on(),s.device=ln({userAgent:i.userAgent}),s.browser=Co(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const a={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:Ol(i,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=We({},mi,a);return s.params=We({},c,gi,i),s.originalParams=We({},s.params),s.passedParams=We({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=it(i,`.${n.slideClass}, swiper-slide`),l=zt(o[0]);return zt(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=it(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[c]?Math.ceil(l[c].swiperSlideSize):0,m;for(let w=c+1;w<l.length;w+=1)l[w]&&!m&&(p+=Math.ceil(l[w].swiperSlideSize),d+=1,p>a&&(m=!0));for(let w=c-1;w>=0;w-=1)l[w]&&!m&&(p+=l[w].swiperSlideSize,d+=1,p>a&&(m=!0))}else if(e==="current")for(let p=c+1;p<l.length;p+=1)(i?r[p]+s[p]-r[c]<a:r[p]-r[c]<a)&&(d+=1);else for(let p=c-1;p>=0;p-=1)r[c]-r[p]<a&&(d+=1);return d}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&&Rt(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):it(n,o())[0];return!r&&i.params.createElements&&(r=_t("div",i.params.wrapperClass),n.append(r),it(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||ut(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||ut(n,"direction")==="rtl"),wrongRTL:ut(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?Rt(i,l):l.addEventListener("load",r=>{Rt(i,r.target)})}),fi(i),i.initialized=!0,fi(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),s&&s.length&&s.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),vo(n)),n.destroyed=!0),null}static extendDefaults(e){We(gi,e)}static get extendedDefaults(){return gi}static get defaults(){return mi}static installModule(e){rt.prototype.__modules__||(rt.prototype.__modules__=[]);const i=rt.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>rt.installModule(i)),rt):(rt.installModule(e),rt)}};Object.keys(hi).forEach(t=>{Object.keys(hi[t]).forEach(e=>{bi.prototype[e]=hi[t][e]})}),bi.use([_o,ko]);const pn=["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 mt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function yt(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]:mt(e[n])&&mt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:yt(t[n],e[n]):t[n]=e[n]})}function vn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function fn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function mn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function hn(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 Ml(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Ll(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:a}=t;const c=o.filter(g=>g!=="children"&&g!=="direction"&&g!=="wrapperClass"),{params:d,pagination:p,navigation:m,scrollbar:w,virtual:y,thumbs:S}=e;let C,u,b,f,x,_,h,P;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(C=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(b=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&w&&!w.el&&(f=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(x=!0);const I=g=>{e[g]&&(e[g].destroy(),g==="navigation"?(e.isElement&&(e[g].prevEl.remove(),e[g].nextEl.remove()),d[g].prevEl=void 0,d[g].nextEl=void 0,e[g].prevEl=void 0,e[g].nextEl=void 0):(e.isElement&&e[g].el.remove(),d[g].el=void 0,e[g].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?_=!0:!d.loop&&n.loop?h=!0:P=!0),c.forEach(g=>{if(mt(d[g])&&mt(n[g]))Object.assign(d[g],n[g]),(g==="navigation"||g==="pagination"||g==="scrollbar")&&"enabled"in n[g]&&!n[g].enabled&&I(g);else{const E=n[g];(E===!0||E===!1)&&(g==="navigation"||g==="pagination"||g==="scrollbar")?E===!1&&I(g):d[g]=n[g]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&y&&d.virtual.enabled?(y.slides=i,y.update(!0)):o.includes("virtual")&&y&&d.virtual.enabled&&(i&&(y.slides=i),y.update(!0)),o.includes("children")&&i&&d.loop&&(P=!0),C&&S.init()&&S.update(!0),u&&(e.controller.control=d.controller.control),b&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),p.init(),p.render(),p.update()),f&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),w.init(),w.updateSize(),w.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&&(d.navigation.nextEl=l),r&&(d.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),(_||P)&&e.loopDestroy(),(h||P)&&e.loopCreate(),e.update()}function jl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};yt(i,mi),i._emitClasses=!0,i.init=!1;const l={},r=pn.map(a=>a.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(a=>{typeof t[a]>"u"||(r.indexOf(a)>=0?mt(t[a])?(i[a]={},o[a]={},yt(i[a],t[a]),yt(o[a],t[a])):(i[a]=t[a],o[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:o,rest:l,events:n}}function Nl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;vn(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),fn(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),mn(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function Bl(t,e,i,n,o){const l=[];if(!e)return l;const r=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(o),c=i.map(o);a.join("")!==c.join("")&&r("children"),n.length!==i.length&&r("children")}return pn.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(mt(t[a])&&mt(e[a])){const c=Object.keys(t[a]),d=Object.keys(e[a]);c.length!==d.length?r(a):(c.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}),d.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}))}else t[a]!==e[a]&&r(a)}),l}const zl=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 Ht(){return Ht=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},Ht.apply(this,arguments)}function gn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function bn(t){const e=[];return v.Children.toArray(t).forEach(i=>{gn(i)?e.push(i):i.props&&i.props.children&&bn(i.props.children).forEach(n=>e.push(n))}),e}function Fl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(gn(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=bn(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 Vl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<a;d+=1)d>=l&&d<=r&&c.push(e[n(d)]);return c.map((d,p)=>v.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function kt(t,e){return typeof window>"u"?Q(t,e):Bn(t,e)}const yi=Ct(null),yn=()=>It(yi),Rl=Ct(null),ht=Ot(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,a=!1;const[c,d]=U("swiper"),[p,m]=U(null),[w,y]=U(!1),S=Z(!1),C=Z(null),u=Z(null),b=Z(null),f=Z(null),x=Z(null),_=Z(null),h=Z(null),P=Z(null),{params:I,passedParams:g,rest:E,events:A}=jl(s),{slides:T,slots:D}=Fl(l),O=()=>{y(!w)};Object.assign(I.on,{_containerClasses(N,z){d(z)}});const L=()=>{Object.assign(I.on,A),a=!0;const N={...I};if(delete N.wrapperClass,u.current=new bi(N),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=T;const z={cache:!1,slides:T,renderExternal:m,renderExternalUpdate:!1};yt(u.current.params.virtual,z),yt(u.current.originalParams.virtual,z)}};C.current||L(),u.current&&u.current.on("_beforeBreakpoint",O);const F=()=>{a||!A||!u.current||Object.keys(A).forEach(N=>{u.current.on(N,A[N])})},R=()=>{!A||!u.current||Object.keys(A).forEach(N=>{u.current.off(N,A[N])})};Q(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",O)}),Q(()=>{!S.current&&u.current&&(u.current.emitSlidesClasses(),S.current=!0)}),kt(()=>{if(e&&(e.current=C.current),!!C.current)return u.current.destroyed&&L(),Nl({el:C.current,nextEl:x.current,prevEl:_.current,paginationEl:h.current,scrollbarEl:P.current,swiper:u.current},I),r&&!u.current.destroyed&&r(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),kt(()=>{F();const N=Bl(g,b.current,T,f.current,z=>z.key);return b.current=g,f.current=T,N.length&&u.current&&!u.current.destroyed&&Ll({swiper:u.current,slides:T,passedParams:g,changedParams:N,nextEl:x.current,prevEl:_.current,scrollbarEl:P.current,paginationEl:h.current}),()=>{R()}}),kt(()=>{zl(u.current)},[p]);function B(){return I.virtual?Vl(u.current,T,p):T.map((N,z)=>v.cloneElement(N,{swiper:u.current,swiperSlideIndex:z}))}return v.createElement(n,Ht({ref:C,className:hn(`${c}${i?` ${i}`:""}`)},E),v.createElement(Rl.Provider,{value:u.current},D["container-start"],v.createElement(o,{className:Ml(I.wrapperClass)},D["wrapper-start"],B(),D["wrapper-end"]),vn(I)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:_,className:"swiper-button-prev"}),v.createElement("div",{ref:x,className:"swiper-button-next"})),mn(I)&&v.createElement("div",{ref:P,className:"swiper-scrollbar"}),fn(I)&&v.createElement("div",{ref:h,className:"swiper-pagination"}),D["container-end"]))});ht.displayName="Swiper";const ot=Ot(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:a,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Z(null),[m,w]=U("swiper-slide"),[y,S]=U(!1);function C(x,_,h){_===p.current&&w(h)}kt(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){m!=="swiper-slide"&&w("swiper-slide");return}return l.on("_slideClass",C),()=>{l&&l.off("_slideClass",C)}}}),kt(()=>{l&&p.current&&!l.destroyed&&w(l.getSlideClasses(p.current))},[l]);const u={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(u):n,f=()=>{S(!0)};return v.createElement(i,Ht({ref:p,className:hn(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:f},d),r&&v.createElement(yi.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},b(),s&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&v.createElement(yi.Provider,{value:u},b(),s&&!y&&v.createElement("div",{className:"swiper-lazy-preloader"})))});ot.displayName="SwiperSlide";const Hl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Ul=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,a]=U(!1),c=Z(null);Q(()=>{const m=document.getElementById("sxp-render"),w=document.getElementById("pb-modal");w?c.current=w:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),m?.appendChild(c.current))},[]);const d=ee(()=>l?.id&&l?.id!==""||t,[t,l]);if(Q(()=>{d?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[d,l]),!c.current)return null;const p=qt(()=>{e?.()},300);return Ni.createPortal(v.createElement(v.Fragment,null,s&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${d?"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()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:Hl,alt:"close",className:"modal-icon"})),i))),c.current)};var Ut=he(Ul);const Gl=(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(" ")+" "},$l=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:a})=>{const[c,d]=U(!1),[p,m]=U(!1),w=Number(i?.lineClamp||2),y=Z(null),S=Z(null),C=se(()=>{d(!c)},[c,a]);return ee(()=>!c&&t.length>e?Gl(t,e)+"...":t,[t,e,c]),Q(()=>{var u,b;((u=S?.current)===null||u===void 0?void 0:u.offsetHeight)>((b=y?.current)===null||b===void 0?void 0:b.offsetHeight)&&s?m(!0):m(!1),S.current.style.display="none"},[s]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:y,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":w,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:S,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??C},c?r||"show less":l||"show more"))};var Gt=he($l);const Wl=Ot((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,a]=U(),{swiperRef:c}=we();return ji(e,()=>({setSrc:d=>{a(d)}})),Q(()=>{var d,p;const m=(p=(d=c?.current)===null||d===void 0?void 0:d.swiper)===null||p===void 0?void 0:p.activeIndex;(m===0||m>0)&&a(i)},[i,c]),Z(null),v.createElement(v.Fragment,null,s?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:s}),v.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),v.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:d=>{n?.(d.target)}})):v.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:d=>{n?.(d.target)}}))});var Re=he(Wl);const Yl=t=>{var e,i,n,o,l,r,s,a,c,{content:d,style:p,bgImg:m,onClick:w,schema:y,isDefault:S,bottom_image:C,tipText:u,isPost:b,viewTime:f,rec:x,swiper:_,commodityStyles:h,buttonStyle:P,index:I}=t,g=Le(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:E}=we(),{popupDetailData:A,bffEventReport:T,isPreview:D,bffFbReport:O}=we(),{jumpToWeb:L,productView:F}=Ue(),R=Z(null),[B,N]=U(!1),z=b?x:A,j=b?z?.product:(e=z?.video)===null||e===void 0?void 0:e.bindProduct,k=b?(i=z?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=z?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,q=b?I:A?.index,V=()=>{j?.link&&(L(z,j,k,q),b||F(z,j,k,f||R.current,q),window.location.href=window.getJointUtmLink(j.link))};Q(()=>{b||O?.({eventName:"ProductView"})},[b,O]),Q(()=>{const W=()=>{R.current=new Date};return W(),window.addEventListener("pageshow",W),()=>{window.removeEventListener("pageshow",W)}},[]);const $=ee(()=>{var W,ce,J,te,Se;return j?.currency&&j?.price?`${(J=(ce=(W=j?.currency)===null||W===void 0?void 0:W.split("-")[1])===null||ce===void 0?void 0:ce.toUpperCase())!==null&&J!==void 0?J:""}${(Se=(te=j?.price)===null||te===void 0?void 0:te.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Se!==void 0?Se:""}`:"$7,000"},[j?.price,j?.currency]),K=D?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,le=({isPost:W})=>{var ce,J,te;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:be(h?.collection),hidden:!!j&&(!j?.collection||j?.collection==="")},(ce=j?.collection)!==null&&ce!==void 0?ce:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:be(h?.title),hidden:!!j&&!j?.title},(J=j?.title)!==null&&J!==void 0?J:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:be(h?.price),hidden:!!j&&!j?.price},$),v.createElement("div",{hidden:!!j&&(!j?.info||j?.info==="")},v.createElement(Gt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>N(!0),isPost:W,text:(te=j?.info)!==null&&te!==void 0?te:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
1
|
+
import{isEmpty as Nt,isEqual as Fi,cloneDeep as At,debounce as ti,throttle as Bt,get as Vi}from"lodash";import{v4 as Rn}from"uuid";import Hn from"pako";import v,{useContext as Pt,useMemo as ee,createContext as Ot,memo as fe,useState as $,useRef as Z,useEffect as te,useCallback as oe,forwardRef as zt,useImperativeHandle as Ri,useLayoutEffect as Un}from"react";import ii from"qs";import Gn from"eventemitter3";import{css as ne}from"@emotion/css";import{BetaSchemaForm as $n}from"@ant-design/pro-components";import*as Hi from"react-dom";function Me(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 Fe(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(d){try{c(n.next(d))}catch(p){r(p)}}function a(d){try{c(n.throw(d))}catch(p){r(p)}}function c(d){d.done?l(d.value):o(d.value).then(s,a)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Wn=/:\w+/g;var Ui=(t,e)=>Fe(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:a,name:c,queryString:d,headers:p,body:m}=e[o];let y=s;a&&Object.entries(a).forEach(([b,T])=>{y=y.replace(Wn,_=>_===b?T:_)}),d&&(y+=d),n[l]=c;try{const b=yield fetch(y,{method:r,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(m)}).then(T=>T.json());i[l]=b}catch(b){console.error("DataSource request error: ",b),i[l]={}}}return{$store:i,idMapName:n}});const Gi="SXP_TOKEN_INFO",Yn=(t,e)=>Fe(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Gi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Gi,JSON.stringify(s))}}return s});function Ft(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 qn=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},Xn=()=>{const t=Rn();return t?.replaceAll?t.replaceAll("-",""):qn(32)};function $i(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=Hn.inflate(n,{to:"string"});return JSON.parse(o)}let ni=null;const Jn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Kn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,ni)return ni;ni=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Jn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let je=null;const Qn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{je||(je=new Kn),n&&je.setApiUrl(n),je.setAppId(t),je.setTenantId(e),je.setEnv(i)},getDetail:t=>{if(!je)return;const e=je.getTenantId(),i=je.getAppId(),n=je.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Fe(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),a=$i((l=s?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:c}=yield Ui(n,(r=a?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=a,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>Fe(void 0,void 0,void 0,function*(){if(!je)return;const e=je.getTenantId(),i=je.getAppId(),n=je.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>Fe(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=$i((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>Fe(void 0,void 0,void 0,function*(){if(!je)return;const e=yield Yn(je,t),i=Ft(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Nt(n)&&(n=Ft(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 lt(){return Pt(nn)}function Zn(){return Pt(tn)}const oi="feRealSessionIdKey",Wi=()=>{const t=Xn();return`${Date.now()}${t}`},eo=()=>{let t=io();return t||(t=Wi(),window.sessionStorage.setItem(oi,t)),t},to=()=>{const t=Wi();window.sessionStorage.setItem(oi,t)},io=()=>window.sessionStorage.getItem(oi),Yi="SXP_FAKE_USER_ID",qi="FAKE_USER_STATE",Xi="AGREE_POLICY",Ji=()=>{let t=window.localStorage.getItem(Yi);return Nt(t)&&(t=Ft(36,62),window.localStorage.setItem(Yi,t)),t},no=()=>{const t=window.localStorage.getItem(qi);return Nt(t)&&window.localStorage.setItem(qi,"true"),Nt(t)};function Xe(t,e){const{appDomain:i}=we();return ee(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const st=new Gn;var Ze;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ze||(Ze={}));const Ki=Ot({rtcList:[],tagList:[]});var li;(function(t){t[t.BFF=5]="BFF"})(li||(li={}));const Qi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Vt="FOR U",oo=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:a,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:m=!1,consentHeight:y,consentWidth:b,isShowTag:T=!0,isOpenConsent:_=!1,globalConfig:u,isEditor:g=!1})=>{const[f,E]=$([]),[k,h]=$([]),[O,C]=$(!1),[x,w]=$({rtc:"",requestId:""}),D=Z(null),S=Z(!1),[I,P]=$(()=>!!window.localStorage.getItem(Xi)),[M,N]=$(),[R,V]=$(),[j,z]=$(p),[L,F]=$([]),[B,G]=$(0),[H,le]=$(!1),[he,ye]=$(null),Y=Z(),q=Z(),[X,Q]=$(Vt),J=ee(()=>{var U,W,ae,xe;return((xe=(ae=(W=(U=u?.consent)===null||U===void 0?void 0:U[0])===null||W===void 0?void 0:W.item)===null||ae===void 0?void 0:ae.props)===null||xe===void 0?void 0:xe.privacy_necessity)&&!I&&!g||_},[I,u,_,g]);te(()=>{const U=W=>{Y.current=W};return st.on(Ze.CHANGE_THEME_TAG,U),()=>{st.off(Ze.CHANGE_THEME_TAG,U)}},[]),te(()=>{z(p)},[p]);const Ie=ee(()=>e?.find(U=>U.type===li.BFF),[e]),se=oe((U,W)=>{if(!Ie)return;const ae=Ie.url,xe=Ji();if(W?.query){const ge=ii.stringify(W.query);U=`${U}?${ge}`}return W.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ae}/api/v1${U}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Ie.headers),{"x-user-id":xe}),W.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ae}/api/v1${U}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":xe},Ie.headers),method:W.method,body:JSON.stringify(W.body)}).then(ge=>ge.json()).catch(ge=>Promise.reject(ge))},[Ie]),Ae=oe(U=>Fe(void 0,void 0,void 0,function*(){var W,ae,xe,ge,ke;if(U={maxSize:(W=U?.maxSize)!==null&&W!==void 0?W:o,defaultSize:(ae=U?.defaultSize)!==null&&ae!==void 0?ae:l,"itemFilter.itemId":U?.["itemFilter.itemId"],"itemFilter.itemType":U?.["itemFilter.itemType"],hashTag:U?.hashTag,traceInfo:U?.traceInfo,themeTag:U?.themeTag},i){const De=(ke=(ge=(xe=i?.split("&"))===null||xe===void 0?void 0:xe.filter(ot=>{const rt=ot.split("=")[0];return Qi.includes(rt)}))===null||ge===void 0?void 0:ge.join("&"))!==null&&ke!==void 0?ke:"";U=Object.assign(Object.assign({},U),{channel:decodeURIComponent(De)})}const Ee=yield se?.("/recommend/list",{method:"GET",query:U});if(Ee?.success)return U?.hashTag||w({rtc:Ee.data.rtc,requestId:Ee.data.requestId}),Ee?.data}),[se,i,o,l]),Le=oe(()=>Fe(void 0,void 0,void 0,function*(){var U,W;if(f.length<=0)return;const ae=yield Ae({hashTag:R?.hashTag,"itemFilter.itemId":R?.itemId,"itemFilter.itemType":R?.itemType,themeTag:Y.current});E(f.concat((U=ae?.recList)!==null&&U!==void 0?U:[])),F(L.concat((W=ae?.recList)!==null&&W!==void 0?W:[]))}),[Ae,f,R,L]),Pe=oe(({userInfo:U,eventInfo:W})=>{if(!n)return;U||(U={});const ae=eo(),xe=Object.assign({sessionID:ae,rtc:x.rtc,requestId:x.requestId},W),ge=Object.entries(U).map(([Ee,De])=>({name:Ee,value:De})),ke=Object.entries(xe).map(([Ee,De])=>De&&{name:Ee,value:De}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",U),console.log("eventInfo:",xe),console.log("========= \u7ED3\u675F ========="),se?.("/event/report",{method:"POST",body:{userInfo:ge,eventInfo:ke},type:"beacon"})},[se,x,n]),ce=oe(U=>{var W,{eventName:ae,actionSource:xe="website",eventSourceUrl:ge=(W=window?.location)===null||W===void 0?void 0:W.href,externalId:ke}=U;if(!n||!m)return;const Ee=Ji();return se?.("/fb/events",{method:"POST",body:{eventName:ae,actionSource:xe,eventSourceUrl:ge,userData:{externalId:Ee}},type:"beacon"})},[se,n,m]),ve=oe(U=>Fe(void 0,void 0,void 0,function*(){const W=yield se?.("/recommend/like",{method:"POST",body:U});return W?.success}),[se]),Se=oe(U=>Fe(void 0,void 0,void 0,function*(){const W=yield se?.("/recommend/unlike",{method:"POST",body:U});return W?.success}),[se]),re=oe(U=>Fe(void 0,void 0,void 0,function*(){const W=yield se?.("/customform",{method:"POST",body:U});return W?.success}),[se]),Ne=oe(()=>Fe(void 0,void 0,void 0,function*(){var U,W,ae,xe,ge;if(!(!i||!T))try{const ke=(ae=(W=(U=i?.split("&"))===null||U===void 0?void 0:U.filter(De=>{const ot=De.split("=")[0];return Qi.includes(ot)}))===null||W===void 0?void 0:W.join("&"))!==null&&ae!==void 0?ae:"",Ee=yield se?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ke)}});h((ge=(xe=Ee?.data)===null||xe===void 0?void 0:xe.tags)!==null&&ge!==void 0?ge:[])}catch(ke){console.log("e",ke)}}),[se,i,T]),Ye=oe((U,W,ae,xe)=>{var ge,ke,Ee,De,ot,rt,_t,dt,kt,mt,Tt,ct;const He=ae?.bindCta,ei=((ge=W?.video)===null||ge===void 0?void 0:ge.bindProduct)||((ke=W?.video)===null||ke===void 0?void 0:ke.bindProducts)&&((De=(Ee=W?.video)===null||Ee===void 0?void 0:Ee.bindProducts)===null||De===void 0?void 0:De.length)>0;let xt="";H?xt="hashTagPage":!((ot=W?.video)===null||ot===void 0)&&ot.url?xt="videoPage":!((_t=(rt=W?.video)===null||rt===void 0?void 0:rt.imgUrls)===null||_t===void 0)&&_t.length&&(xt="imagePage"),Pe?.({eventInfo:Object.assign(Object.assign({},U),{ctaId:(dt=He?.itemId)!==null&&dt!==void 0?dt:"",ctaName:(kt=He?.title)!==null&&kt!==void 0?kt:"",contentTags:JSON.stringify(He?.tags),position:xe+"",contentId:(Tt=(mt=W?.video)===null||mt===void 0?void 0:mt.itemId)!==null&&Tt!==void 0?Tt:"",productId:ei?ae?.itemId:"",traceInfo:(ct=He?.traceInfo)!==null&&ct!==void 0?ct:"",fromKName:xt})})},[Pe,H]),Qe=oe(()=>{var U,W;const ae=location.search.slice(1),xe=ii.parse(ae.replace(/\+/g,"%2B"));for(const Ee in xe)xe[Ee]=xe[Ee].replace(/%2B/g,"+");const ge=Ee=>{var De;return(De=xe[Ee])!==null&&De!==void 0?De:""},ke=new Date;q.current=ke,Pe?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:ge("utm_source"),utmMedium:ge("utm_medium"),utmCampaign:ge("utm_campaign"),utmId:ge("utm_id"),utmContent:ge("utm_content"),enterTime:Math.floor(ke/1e3)+"",requestId:null,enterUrl:(W=(U=window?.location)===null||U===void 0?void 0:U.href)!==null&&W!==void 0?W:"",clSource:ge("cl_source")}})},[Pe]);te(()=>{Qe()},[]),te(()=>{J||(C(!0),Ne(),Ae().then(U=>{var W,ae;E((W=U?.recList)!==null&&W!==void 0?W:[]),F((ae=U?.recList)!==null&&ae!==void 0?ae:[])}).finally(()=>{Pe({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),C(!1),S.current=!0}))},[J]),te(()=>{S.current&&(C(!0),Ne(),Ae().then(U=>{var W,ae;E((W=U?.recList)!==null&&W!==void 0?W:[]),F((ae=U?.recList)!==null&&ae!==void 0?ae:[])}).finally(()=>{C(!1)}))},[Ae,Ne]);const ft=Xe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return v.createElement(Ki.Provider,{value:{rtcList:f,setRtcList:E,mutateLike:ve,mutateUnlike:Se,submitForm:re,popupDetailData:M,loadVideos:Le,setPopupDetailData:N,getRecommendVideos:Ae,bffEventReport:Pe,utmVal:i,isPreview:r,loading:O,sxpParameter:s,waterFallData:R,setWaterFallData:V,ctaEvent:Ye,swiperRef:D,openHashtag:j,setOpenHashtag:z,cacheRtcList:L,setCacheRtcList:F,cacheActiveIndex:B,setCacheActiveIndex:G,isFromHashtag:H,setIsFromHashtag:le,appDomain:a,hashTagSize:c,loadingImage:d??ft,isOpenHashTag:p,tagList:k,setLoading:C,videoRef:he,setVideoRef:ye,bffFbReport:ce,isAgreePolicy:I,setIsAgreePolicy:P,curTime:q,h5EnterLink:Qe,themeTag:Y,isShowConsent:J,selectTag:X,setSelectTag:Q}},t({rtcList:f,mutateLike:ve,mutateUnlike:Se,submitForm:re,tagList:k}))};var Zi=fe(oo);function we(){return Pt(Ki)}var en;(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"})(en||(en={}));const tn=Ot({$store:{},options:[],configs:[]}),lo=({children:t,isSsr:e,enable:i})=>{const[n,o]=$([]),{schema:l}=lt(),[r,s]=$(l.__STORE__||{}),[a,c]=$([]);te(()=>{var m;e||Fi(a,l?.dataSource)||c((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const d=oe(()=>Fe(void 0,void 0,void 0,function*(){const{$store:m,idMapName:y}=yield Ui("",a);s(m),p(m,y)}),[a]),p=(m,y)=>{const b=[];Object.entries(m).forEach(([T,_])=>{Object.keys(_).forEach(u=>{const g={label:`${y[T]} - ${u}`,value:`{{ ${T}.${u} }}`};b.push(g)})}),o(b)};return te(()=>{e||d()},[d,e,l]),i?v.createElement(tn.Provider,{value:{$store:l.__STORE__||r,options:n,configs:a}},t):t};var so=fe(lo);const Rt={id:Ft(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},si={id:"",duration:0,name:"none"},nn=v.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Rt],redoStack:[],popup:si,setPopup:()=>{}}),on=zt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,a]=$(null),[c,d]=$(n||{pointData:[Rt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,m]=$([Rt]),[y,b]=$([[Rt]]),[T,_]=$([]),[u,g]=$(si);typeof window<"u"&&(window.sxpPopup=(O,C)=>{g(Object.assign(Object.assign(Object.assign({},si),{id:O}),C))}),typeof window<"u"&&(window.getJointUtmLink=O=>O?.indexOf("?")!==-1?O+(l?"&"+l:""):O+(l?"?"+l:"")),te(()=>{b([c.pointData]),_([])},[c.type]);const f=oe(O=>{const C=At(c);C&&(C.dataSource=O,d?.(C))},[c]),[E,k]=$();Ri(r,()=>({loadSchema(O){O&&(b([O.pointData]),d(O))},exportSchema(){return At(c)},getPageInfoData(){return E},initPageInfoData(O){O&&k(O)}}));const h=ee(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return v.createElement(nn.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:a,setSchema:d,saveDataSource:f,prePiontData:p,setPrePiontData:m,pageInfoData:E,setPageInfoData:O=>k(Object.assign(Object.assign({},E),O)),undoStack:y,redoStack:T,setRedoStack:_,setUndoStack:b,getCurPageConf:h,popup:u,setPopup:g}},v.createElement(so,{isSsr:i,enable:o},t))});var ao=Object.freeze({__proto__:null,EditorCore:on}),ro=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const me=[{label:"defalut",value:"appFont"}],ai=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),co=ai&&ai!==""?JSON.parse(ai):[];var $e={fontOptions:[...me,...co]},ri,di,ci,uo=[{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:me,initialValue:(ri=me?.[0])===null||ri===void 0?void 0:ri.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:$e?.fontOptions,initialValue:(ci=(di=$e?.fontOptions)===null||di===void 0?void 0:di[0])===null||ci===void 0?void 0:ci.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Ue(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=we(),o=oe((s,a,c,d)=>{var p,m,y,b,T,_,u,g,f,E,k,h,O,C;let x="";e&&(!((m=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||m===void 0)&&m.length||!((y=s?.video)===null||y===void 0)&&y.bindProduct)?x="pdpPage":n?x="hashTagPage":!((b=s?.video)===null||b===void 0)&&b.url?x="videoPage":!((T=s?.video)===null||T===void 0)&&T.imgUrls&&(!((u=(_=s?.video)===null||_===void 0?void 0:_.imgUrls)===null||u===void 0)&&u.length)?x="imagePage":s?.product&&(x="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(g=a?.itemId)!==null&&g!==void 0?g:"",productName:(f=a?.title)!==null&&f!==void 0?f:"",price:a?.price?a?.price+"":"0",productCollection:(E=a?.collection)!==null&&E!==void 0?E:"",fromKName:x,fromKPage:location?.href,contentTags:a?.tags?JSON.stringify(a?.tags):"",position:d+"",contentId:(h=(k=s?.video)===null||k===void 0?void 0:k.itemId)!==null&&h!==void 0?h:"",ctatId:(O=c?.itemId)!==null&&O!==void 0?O:"",traceInfo:(C=a?.traceInfo)!==null&&C!==void 0?C:""}})},[t,e,n]),l=oe((s,a,c,d,p)=>{var m,y,b,T;let _="";e&&(!((y=(m=s?.video)===null||m===void 0?void 0:m.bindProducts)===null||y===void 0)&&y.length||!((b=s?.video)===null||b===void 0)&&b.bindProduct)?_="pdpPage":s?.product&&(_="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:_,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:p+"",contentId:(T=s?.video)===null||T===void 0?void 0:T.itemId,ctatId:c?.itemId,traceInfo:a?.traceInfo,timeOnSite:Math.floor((new Date-d)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=oe((s,a,c,d)=>{a&&a===Vt&&t?.({eventInfo:{lastFeed:s,themeTags:c?`['${c}']`:"",hashTags:d?`['${d}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:o,productView:l,backMainFeed:r}}const po=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:a,isExternalLink:c,isPopup:d,onClick:p,onClose:m,submitButtonStyle:y}=t,b=Me(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:T,popupDetailData:_}=we(),{jumpToWeb:u}=Ue(),g=Z(),[f,E]=$(!1),k=ee(()=>[{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"}],[]),h=ee(()=>{if(a===void 0){const C=At(e)||k;return C?.map(x=>Object.assign(Object.assign({},x),{title:void 0,fieldProps:{placeholder:x?.title}}))}else return At(e)||k},[a,e,k]),O=ti(()=>Fe(void 0,void 0,void 0,function*(){var C,x,w,D,S,I;const P=yield(C=g?.current)===null||C===void 0?void 0:C.getFieldsValue();if(!P)return;const M=(w=(x=Object.keys(P))===null||x===void 0?void 0:x.map(R=>{var V;return{name:R,value:(V=P[R])!==null&&V!==void 0?V:""}}))===null||w===void 0?void 0:w.filter(R=>R?.value);if(!M||!M?.length)return;E(!0);const N=yield T?.({attributes:M});if(E(!1),N){if(c){const R=_,V=(D=R?.video)===null||D===void 0?void 0:D.bindProduct,j=(I=(S=R?.video)===null||S===void 0?void 0:S.bindProduct)===null||I===void 0?void 0:I.bindCta,z=_?.index;u(R,V,j,z)}d||m?.(),p?.()}}),1e3);return v.createElement("div",{className:"pb-appoint-form"},v.createElement("div",{className:`pb-appoint-form-title ${ne(Object.assign({},o))}`},n),v.createElement("div",Object.assign({className:ne(Object.assign({},i))},b),v.createElement("div",{className:"pb-appoint-form-container"},v.createElement($n,{columns:h,submitter:!1,layout:a,autoFocusFirstInput:!1,size:"large",formRef:g,className:"panel-reset"}))),v.createElement("div",{className:"pb-appoint-form-btn-wrapper"},v.createElement("button",{"aria-label":s,onClick:O,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},y)},f?v.createElement(v.Fragment,null,"loading..."):s)))};var vo=fe(po);function Ge(t,e){return t.extend=e,t}const fo=Ge(vo,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:uo,bindableProps:[],interactionRender:ro},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 ui,pi,mo=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:me,name:["fontFamily"],initialValue:(ui=me?.[0])===null||ui===void 0?void 0:ui.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:me,initialValue:(pi=me?.[0])===null||pi===void 0?void 0:pi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function ln(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function vi(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:ln(e[i])&&ln(t[i])&&Object.keys(e[i]).length>0&&vi(t[i],e[i])})}const sn={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 et(){const t=typeof document<"u"?document:{};return vi(t,sn),t}const ho={document:sn,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 Ve(){const t=typeof window<"u"?window:{};return vi(t,ho),t}function pt(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function go(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Et(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Je(){return Date.now()}function bo(t){const e=Ve();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function yo(t,e){e===void 0&&(e="x");const i=Ve();let n,o,l;const r=bo(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function Ht(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function wo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function We(){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&&!wo(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],a=Object.getOwnPropertyDescriptor(n,s);a!==void 0&&a.enumerable&&(Ht(t[s])&&Ht(n[s])?n[s].__swiper__?t[s]=n[s]:We(t[s],n[s]):!Ht(t[s])&&Ht(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:We(t[s],n[s])):t[s]=n[s])}}}return t}function Ut(t,e,i){t.style.setProperty(e,i)}function an(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Ve(),l=-e.translate;let r=null,s;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(m,y)=>c==="next"&&m>=y||c==="prev"&&m<=y,p=()=>{s=new Date().getTime(),r===null&&(r=s);const m=Math.max(Math.min((s-r)/a,1),0),y=.5-Math.cos(m*Math.PI)/2;let b=l+y*(i-l);if(d(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),d(b,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function tt(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Gt(t){try{console.warn(t);return}catch{}}function Mt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:pt(e)),i}function So(t){const e=Ve(),i=et(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+a-r}}function To(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 xo(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 vt(t,e){return Ve().getComputedStyle(t,null).getPropertyValue(e)}function $t(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function rn(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 fi(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function mi(t,e,i){const n=Ve();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 it(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Eo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Ve();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,s=Je(),a;const c=[];function d(f){let O=0,C=0,x=0,w=0;return"detail"in f&&(C=f.detail),"wheelDelta"in f&&(C=-f.wheelDelta/120),"wheelDeltaY"in f&&(C=-f.wheelDeltaY/120),"wheelDeltaX"in f&&(O=-f.wheelDeltaX/120),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(O=C,C=0),x=O*10,w=C*10,"deltaY"in f&&(w=f.deltaY),"deltaX"in f&&(x=f.deltaX),f.shiftKey&&!x&&(x=w,w=0),(x||w)&&f.deltaMode&&(f.deltaMode===1?(x*=40,w*=40):(x*=800,w*=800)),x&&!O&&(O=x<1?-1:1),w&&!C&&(C=w<1?-1:1),{spinX:O,spinY:C,pixelX:x,pixelY:w}}function p(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function y(f){return e.params.mousewheel.thresholdDelta&&f.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Je()-s<e.params.mousewheel.thresholdTime?!1:f.delta>=6&&Je()-s<60?!0:(f.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",f.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",f.raw)),s=new l.Date().getTime(),!1)}function b(f){const E=e.params.mousewheel;if(f.direction<0){if(e.isEnd&&!e.params.loop&&E.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&E.releaseOnEdges)return!0;return!1}function T(f){let E=f,k=!0;if(!e.enabled||f.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const h=e.params.mousewheel;e.params.cssMode&&E.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const C=O&&O.contains(E.target);if(!e.mouseEntered&&!C&&!h.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let x=0;const w=e.rtlTranslate?-1:1,D=d(E);if(h.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))x=-D.pixelX*w;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))x=-D.pixelY;else return!0;else x=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*w:-D.pixelY;if(x===0)return!0;h.invert&&(x=-x);let S=e.getTranslate()+x*h.sensitivity;if(S>=e.minTranslate()&&(S=e.minTranslate()),S<=e.maxTranslate()&&(S=e.maxTranslate()),k=e.params.loop?!0:!(S===e.minTranslate()||S===e.maxTranslate()),k&&e.params.nested&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Je(),delta:Math.abs(x),direction:Math.sign(x),raw:f};c.length>=2&&c.shift();const P=c.length?c[c.length-1]:void 0;if(c.push(I),P?(I.direction!==P.direction||I.delta>P.delta||I.time>P.time+150)&&y(I):y(I),b(I))return!0}else{const I={time:Je(),delta:Math.abs(x),direction:Math.sign(x)},P=a&&I.time<a.time+500&&I.delta<=a.delta&&I.direction===a.direction;if(!P){a=void 0;let M=e.getTranslate()+x*h.sensitivity;const N=e.isBeginning,R=e.isEnd;if(M>=e.minTranslate()&&(M=e.minTranslate()),M<=e.maxTranslate()&&(M=e.maxTranslate()),e.setTransition(0),e.setTranslate(M),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!N&&e.isBeginning||!R&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,c.length>=15&&c.shift();const V=c.length?c[c.length-1]:void 0,j=c[0];if(c.push(I),V&&(I.delta>V.delta||I.direction!==V.direction))c.splice(0);else if(c.length>=15&&I.time-j.time<500&&j.delta-I.delta>=1&&I.delta<=6){const z=x>0?.8:.2;a=I,c.splice(0),r=Et(()=>{e.slideToClosest(e.params.speed,!0,void 0,z)},0)}r||(r=Et(()=>{a=I,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||o("scroll",E),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),h.releaseOnEdges&&(M===e.minTranslate()||M===e.maxTranslate()))return!0}}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function _(f){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[f]("mouseenter",p),E[f]("mouseleave",m),E[f]("wheel",T)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(_("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(_("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:u,disable:g})}function dn(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=tt(t.el,`.${n[o]}`)[0];l||(l=Mt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function It(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Wt(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:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,g){const{bulletActiveClass:f}=e.params.pagination;u&&(u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${f}-${g}`),u=u[`${g==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${f}-${g}-${g}`)))}function d(u){const g=u.target.closest(It(e.params.pagination.bulletClass));if(!g)return;u.preventDefault();const f=$t(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===f)return;e.slideToLoop(f)}else e.slideTo(f)}function p(){const u=e.rtl,g=e.params.pagination;if(a())return;let f=e.pagination.el;f=it(f);let E,k;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,E=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const C=e.pagination.bullets;let x,w,D;if(g.dynamicBullets&&(r=mi(C[0],e.isHorizontal()?"width":"height",!0),f.forEach(S=>{S.style[e.isHorizontal()?"width":"height"]=`${r*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&k!==void 0&&(s+=E-(k||0),s>g.dynamicMainBullets-1?s=g.dynamicMainBullets-1:s<0&&(s=0)),x=Math.max(E-s,0),w=x+(Math.min(C.length,g.dynamicMainBullets)-1),D=(w+x)/2),C.forEach(S=>{const I=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(P=>`${g.bulletActiveClass}${P}`)].map(P=>typeof P=="string"&&P.includes(" ")?P.split(" "):P).flat();S.classList.remove(...I)}),f.length>1)C.forEach(S=>{const I=$t(S);I===E?S.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&S.setAttribute("part","bullet"),g.dynamicBullets&&(I>=x&&I<=w&&S.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),I===x&&c(S,"prev"),I===w&&c(S,"next"))});else{const S=C[E];if(S&&S.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&C.forEach((I,P)=>{I.setAttribute("part",P===E?"bullet-active":"bullet")}),g.dynamicBullets){const I=C[x],P=C[w];for(let M=x;M<=w;M+=1)C[M]&&C[M].classList.add(...`${g.bulletActiveClass}-main`.split(" "));c(I,"prev"),c(P,"next")}}if(g.dynamicBullets){const S=Math.min(C.length,g.dynamicMainBullets+4),I=(r*S-r)/2-D*r,P=u?"right":"left";C.forEach(M=>{M.style[e.isHorizontal()?P:"top"]=`${I}px`})}}f.forEach((C,x)=>{if(g.type==="fraction"&&(C.querySelectorAll(It(g.currentClass)).forEach(w=>{w.textContent=g.formatFractionCurrent(E+1)}),C.querySelectorAll(It(g.totalClass)).forEach(w=>{w.textContent=g.formatFractionTotal(O)})),g.type==="progressbar"){let w;g.progressbarOpposite?w=e.isHorizontal()?"vertical":"horizontal":w=e.isHorizontal()?"horizontal":"vertical";const D=(E+1)/O;let S=1,I=1;w==="horizontal"?S=D:I=D,C.querySelectorAll(It(g.progressbarFillClass)).forEach(P=>{P.style.transform=`translate3d(0,0,0) scaleX(${S}) scaleY(${I})`,P.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(C.innerHTML=g.renderCustom(e,E+1,O),x===0&&o("paginationRender",C)):(x===0&&o("paginationRender",C),o("paginationUpdate",C)),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](g.lockClass)})}function m(){const u=e.params.pagination;if(a())return;const g=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 f=e.pagination.el;f=it(f);let E="";if(u.type==="bullets"){let k=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>g&&(k=g);for(let h=0;h<k;h+=1)u.renderBullet?E+=u.renderBullet.call(e,h,u.bulletClass):E+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?E=u.renderFraction.call(e,u.currentClass,u.totalClass):E=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?E=u.renderProgressbar.call(e,u.progressbarFillClass):E=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],f.forEach(k=>{u.type!=="custom"&&(k.innerHTML=E||""),u.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(It(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",f[0])}function y(){e.params.pagination=dn(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let g;typeof u.el=="string"&&e.isElement&&(g=e.el.querySelector(u.el)),!g&&typeof u.el=="string"&&(g=[...document.querySelectorAll(u.el)]),g||(g=u.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(u.el)],g.length>1&&(g=g.filter(f=>rn(f,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=it(g),g.forEach(f=>{u.type==="bullets"&&u.clickable&&f.classList.add(...(u.clickableClass||"").split(" ")),f.classList.add(u.modifierClass+u.type),f.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(f.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&f.classList.add(u.progressbarOppositeClass),u.clickable&&f.addEventListener("click",d),e.enabled||f.classList.add(u.lockClass)}))}function b(){const u=e.params.pagination;if(a())return;let g=e.pagination.el;g&&(g=it(g),g.forEach(f=>{f.classList.remove(u.hiddenClass),f.classList.remove(u.modifierClass+u.type),f.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(f.classList.remove(...(u.clickableClass||"").split(" ")),f.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(f=>f.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:g}=e.pagination;g=it(g),g.forEach(f=>{f.classList.remove(u.horizontalClass,u.verticalClass),f.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?_():(y(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=it(u),u.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,g)=>{const f=g.target,E=it(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!f.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&f===e.navigation.nextEl||e.navigation.prevEl&&f===e.navigation.prevEl))return;const k=E[0].classList.contains(e.params.pagination.hiddenClass);o(k===!0?"paginationShow":"paginationHide"),E.forEach(h=>h.classList.toggle(e.params.pagination.hiddenClass))}});const T=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=it(u),u.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),y(),m(),p()},_=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=it(u),u.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:T,disable:_,render:m,update:p,init:y,destroy:b})}function Io(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=et();let r=!1,s=null,a=null,c,d,p,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 y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S,rtlTranslate:I}=e,{dragEl:P,el:M}=S,N=e.params.scrollbar,R=e.params.loop?e.progressLoop:e.progress;let V=d,j=(p-d)*R;I?(j=-j,j>0?(V=d-j,j=0):-j+d>p&&(V=p+j)):j<0?(V=d+j,j=0):j+d>p&&(V=p-j),e.isHorizontal()?(P.style.transform=`translate3d(${j}px, 0, 0)`,P.style.width=`${V}px`):(P.style.transform=`translate3d(0px, ${j}px, 0)`,P.style.height=`${V}px`),N.hide&&(clearTimeout(s),M.style.opacity=1,s=setTimeout(()=>{M.style.opacity=0,M.style.transitionDuration="400ms"},1e3))}function b(S){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${S}ms`)}function T(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:S}=e,{dragEl:I,el:P}=S;I.style.width="",I.style.height="",p=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"?d=p*m:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${d}px`:I.style.height=`${d}px`,m>=1?P.style.display="none":P.style.display="",e.params.scrollbar.hide&&(P.style.opacity=0),e.params.watchOverflow&&e.enabled&&S.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function _(S){return e.isHorizontal()?S.clientX:S.clientY}function u(S){const{scrollbar:I,rtlTranslate:P}=e,{el:M}=I;let N;N=(_(S)-So(M)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),N=Math.max(Math.min(N,1),0),P&&(N=1-N);const R=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*N;e.updateProgress(R),e.setTranslate(R),e.updateActiveIndex(),e.updateSlidesClasses()}function g(S){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:M}=e,{el:N,dragEl:R}=P;r=!0,c=S.target===R?_(S)-S.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,S.preventDefault(),S.stopPropagation(),M.style.transitionDuration="100ms",R.style.transitionDuration="100ms",u(S),clearTimeout(a),N.style.transitionDuration="0ms",I.hide&&(N.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",S)}function f(S){const{scrollbar:I,wrapperEl:P}=e,{el:M,dragEl:N}=I;r&&(S.preventDefault&&S.cancelable?S.preventDefault():S.returnValue=!1,u(S),P.style.transitionDuration="0ms",M.style.transitionDuration="0ms",N.style.transitionDuration="0ms",o("scrollbarDragMove",S))}function E(S){const I=e.params.scrollbar,{scrollbar:P,wrapperEl:M}=e,{el:N}=P;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",M.style.transitionDuration=""),I.hide&&(clearTimeout(a),a=Et(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",S),I.snapOnRelease&&e.slideToClosest())}function k(S){const{scrollbar:I,params:P}=e,M=I.el;if(!M)return;const N=M,R=P.passiveListeners?{passive:!1,capture:!1}:!1,V=P.passiveListeners?{passive:!0,capture:!1}:!1;if(!N)return;const j=S==="on"?"addEventListener":"removeEventListener";N[j]("pointerdown",g,R),l[j]("pointermove",f,R),l[j]("pointerup",E,V)}function h(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function O(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function C(){const{scrollbar:S,el:I}=e;e.params.scrollbar=dn(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const P=e.params.scrollbar;if(!P.el)return;let M;if(typeof P.el=="string"&&e.isElement&&(M=e.el.querySelector(P.el)),!M&&typeof P.el=="string"){if(M=l.querySelectorAll(P.el),!M.length)return}else M||(M=P.el);e.params.uniqueNavElements&&typeof P.el=="string"&&M.length>1&&I.querySelectorAll(P.el).length===1&&(M=I.querySelector(P.el)),M.length>0&&(M=M[0]),M.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass);let N;M&&(N=M.querySelector(It(e.params.scrollbar.dragClass)),N||(N=Mt("div",e.params.scrollbar.dragClass),M.append(N))),Object.assign(S,{el:M,dragEl:N}),P.draggable&&h(),M&&M.classList[e.enabled?"remove":"add"](...pt(e.params.scrollbar.lockClass))}function x(){const S=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...pt(e.isHorizontal()?S.horizontalClass:S.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const S=e.params.scrollbar;let{el:I}=e.scrollbar;I=it(I),I.forEach(P=>{P.classList.remove(S.horizontalClass,S.verticalClass),P.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?D():(C(),T(),y())}),n("update resize observerUpdate lock unlock changeDirection",()=>{T()}),n("setTranslate",()=>{y()}),n("setTransition",(S,I)=>{b(I)}),n("enable disable",()=>{const{el:S}=e.scrollbar;S&&S.classList[e.enabled?"remove":"add"](...pt(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const w=()=>{e.el.classList.remove(...pt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...pt(e.params.scrollbar.scrollbarDisabledClass)),C(),T(),y()},D=()=>{e.el.classList.add(...pt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...pt(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:w,disable:D,updateSize:T,setTranslate:y,init:C,destroy:x})}function Yt(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,a=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),m,y,b,T,_,u,g;function f(V){!e||e.destroyed||!e.wrapperEl||V.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",f),!(g||V.detail&&V.detail.bySwiperTouchMove)&&w())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(c=d,m=!1);const V=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=V,o("autoplayTimeLeft",V,V/a),s=requestAnimationFrame(()=>{E()})},k=()=>{let V;return e.virtual&&e.params.virtual.enabled?V=e.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:V=e.slides[e.activeIndex],V?parseInt(V.getAttribute("data-swiper-autoplay"),10):void 0},h=V=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),E();let j=typeof V>"u"?e.params.autoplay.delay:V;a=e.params.autoplay.delay,c=e.params.autoplay.delay;const z=k();!Number.isNaN(z)&&z>0&&typeof V>"u"&&(j=z,a=z,c=z),d=j;const L=e.params.speed,F=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{h()})))};return j>0?(clearTimeout(r),r=setTimeout(()=>{F()},j)):requestAnimationFrame(()=>{F()}),j},O=()=>{p=new Date().getTime(),e.autoplay.running=!0,h(),o("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},x=(V,j)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),V||(u=!0);const z=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",f):w()};if(e.autoplay.paused=!0,j){_&&(d=e.params.autoplay.delay),_=!1,z();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),z())},w=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,h(d)):h(),e.autoplay.paused=!1,o("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const V=et();V.visibilityState==="hidden"&&(u=!0,x(!0)),V.visibilityState==="visible"&&w()},S=V=>{V.pointerType==="mouse"&&(u=!0,g=!0,!(e.animating||e.autoplay.paused)&&x(!0))},I=V=>{V.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&w())},P=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",S),e.el.addEventListener("pointerleave",I))},M=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",S),e.el.removeEventListener("pointerleave",I))},N=()=>{et().addEventListener("visibilitychange",D)},R=()=>{et().removeEventListener("visibilitychange",D)};n("init",()=>{e.params.autoplay.enabled&&(P(),N(),O())}),n("destroy",()=>{M(),R(),e.autoplay.running&&C()}),n("_freeModeStaticRelease",()=>{(b||u)&&w()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():x(!0,!0)}),n("beforeTransitionStart",(V,j,z)=>{e.destroyed||!e.autoplay.running||(z||!e.params.autoplay.disableOnInteraction?x(!0,!0):C())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}y=!0,b=!1,u=!1,T=setTimeout(()=>{u=!0,b=!0,x(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!y)){if(clearTimeout(T),clearTimeout(r),e.params.autoplay.disableOnInteraction){b=!1,y=!1;return}b&&e.params.cssMode&&w(),b=!1,y=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(_=!0)}),Object.assign(e.autoplay,{start:O,stop:C,pause:x,resume:w})}function Co(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 a=e.getTranslate();e.setTranslate(a),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:a,touches:c}=e;a.velocities.length===0&&a.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Je()})}function s(a){let{currentPos:c}=a;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:m,snapGrid:y,touchEventsData:b}=e,_=Je()-b.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<y.length?e.slideTo(y.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(b.velocities.length>1){const C=b.velocities.pop(),x=b.velocities.pop(),w=C.position-x.position,D=C.time-x.time;e.velocity=w/D,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(D>150||Je()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,b.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const g=e.velocity*u;let f=e.translate+g;m&&(f=-f);let E=!1,k;const h=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(f<e.maxTranslate())d.freeMode.momentumBounce?(f+e.maxTranslate()<-h&&(f=e.maxTranslate()-h),k=e.maxTranslate(),E=!0,b.allowMomentumBounce=!0):f=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(f>e.minTranslate())d.freeMode.momentumBounce?(f-e.minTranslate()>h&&(f=e.minTranslate()+h),k=e.minTranslate(),E=!0,b.allowMomentumBounce=!0):f=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let C;for(let x=0;x<y.length;x+=1)if(y[x]>-f){C=x;break}Math.abs(y[C]-f)<Math.abs(y[C-1]-f)||e.swipeDirection==="next"?f=y[C]:f=y[C-1],f=-f}if(O&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?u=Math.abs((-f-e.translate)/e.velocity):u=Math.abs((f-e.translate)/e.velocity),d.freeMode.sticky){const C=Math.abs((m?-f:f)-e.translate),x=e.slidesSizesGrid[e.activeIndex];C<x?u=d.speed:C<2*x?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&E?(e.updateProgress(k),e.setTransition(u),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating=!0,fi(p,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(k),fi(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(f),e.setTransition(u),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,fi(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(f),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||_>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let hi;function _o(){const t=Ve(),e=et();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function cn(){return hi||(hi=_o()),hi}let gi;function ko(t){let{userAgent:e}=t===void 0?{}:t;const i=cn(),n=Ve(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),y=o==="Win32";let b=o==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&b&&i.touch&&T.indexOf(`${s}x${a}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),b=!1),c&&!y&&(r.os="android",r.android=!0),(d||m||p)&&(r.os="ios",r.ios=!0),r}function un(t){return t===void 0&&(t={}),gi||(gi=ko(t)),gi}let bi;function Do(){const t=Ve(),e=un();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[a,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&c<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 Ao(){return bi||(bi=Do()),bi}function Po(t){let{swiper:e,on:i,emit:n}=t;const o=Ve();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{r=o.requestAnimationFrame(()=>{const{width:m,height:y}=e;let b=m,T=y;p.forEach(_=>{let{contentBoxSize:u,contentRect:g,target:f}=_;f&&f!==e.el||(b=g?g.width:(u[0]||u).inlineSize,T=g?g.height:(u[0]||u).blockSize)}),(b!==m||T!==y)&&s()})}),l.observe(e.el))},c=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){a();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function Oo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Ve(),s=function(d,p){p===void 0&&(p={});const m=r.MutationObserver||r.WebkitMutationObserver,y=new m(b=>{if(e.__preventObserver__)return;if(b.length===1){o("observerUpdate",b[0]);return}const T=function(){o("observerUpdate",b[0])};r.requestAnimationFrame?r.requestAnimationFrame(T):r.setTimeout(T,0)});y.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(y)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=rn(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",c)}var Mo={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(c=>{c.apply(n,i)})}),t}};function Lo(){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(vt(n,"padding-left")||0,10)-parseInt(vt(n,"padding-right")||0,10),i=i-parseInt(vt(n,"padding-top")||0,10)-parseInt(vt(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 jo(){const t=this;function e(w,D){return parseFloat(w.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,a=t.virtual&&i.virtual.enabled,c=a?t.virtual.slides.length:t.slides.length,d=tt(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:d.length;let m=[];const y=[],b=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let _=i.slidesOffsetAfter;typeof _=="function"&&(_=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,g=t.slidesGrid.length;let f=i.spaceBetween,E=-T,k=0,h=0;if(typeof l>"u")return;typeof f=="string"&&f.indexOf("%")>=0?f=parseFloat(f.replace("%",""))/100*l:typeof f=="string"&&(f=parseFloat(f)),t.virtualSize=-f,d.forEach(w=>{r?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ut(n,"--swiper-centered-offset-before",""),Ut(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let C;const x=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w<p;w+=1){C=0;let D;if(d[w]&&(D=d[w]),O&&t.grid.updateSlide(w,D,d),!(d[w]&&vt(D,"display")==="none")){if(i.slidesPerView==="auto"){x&&(d[w].style[t.getDirectionLabel("width")]="");const S=getComputedStyle(D),I=D.style.transform,P=D.style.webkitTransform;if(I&&(D.style.transform="none"),P&&(D.style.webkitTransform="none"),i.roundLengths)C=t.isHorizontal()?mi(D,"width",!0):mi(D,"height",!0);else{const M=e(S,"width"),N=e(S,"padding-left"),R=e(S,"padding-right"),V=e(S,"margin-left"),j=e(S,"margin-right"),z=S.getPropertyValue("box-sizing");if(z&&z==="border-box")C=M+V+j;else{const{clientWidth:L,offsetWidth:F}=D;C=M+N+R+V+j+(F-L)}}I&&(D.style.transform=I),P&&(D.style.webkitTransform=P),i.roundLengths&&(C=Math.floor(C))}else C=(l-(i.slidesPerView-1)*f)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),d[w]&&(d[w].style[t.getDirectionLabel("width")]=`${C}px`);d[w]&&(d[w].swiperSlideSize=C),b.push(C),i.centeredSlides?(E=E+C/2+k/2+f,k===0&&w!==0&&(E=E-l/2-f),w===0&&(E=E-l/2-f),Math.abs(E)<1/1e3&&(E=0),i.roundLengths&&(E=Math.floor(E)),h%i.slidesPerGroup===0&&m.push(E),y.push(E)):(i.roundLengths&&(E=Math.floor(E)),(h-Math.min(t.params.slidesPerGroupSkip,h))%t.params.slidesPerGroup===0&&m.push(E),y.push(E),E=E+C+f),t.virtualSize+=C+f,k=C,h+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+_,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+f}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+f}px`),O&&t.grid.updateWrapperSize(C,m),!i.centeredSlides){const w=[];for(let D=0;D<m.length;D+=1){let S=m[D];i.roundLengths&&(S=Math.floor(S)),m[D]<=t.virtualSize-l&&w.push(S)}m=w,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(a&&i.loop){const w=b[0]+f;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),S=w*i.slidesPerGroup;for(let I=0;I<D;I+=1)m.push(m[m.length-1]+S)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+w),y.push(y[y.length-1]+w),t.virtualSize+=w}if(m.length===0&&(m=[0]),f!==0){const w=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");d.filter((D,S)=>!i.cssMode||i.loop?!0:S!==d.length-1).forEach(D=>{D.style[w]=`${f}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;b.forEach(S=>{w+=S+(f||0)}),w-=f;const D=w-l;m=m.map(S=>S<=0?-T:S>D?D+_:S)}if(i.centerInsufficientSlides){let w=0;b.forEach(S=>{w+=S+(f||0)}),w-=f;const D=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(w+D<l){const S=(l-w-D)/2;m.forEach((I,P)=>{m[P]=I-S}),y.forEach((I,P)=>{y[P]=I+S})}}if(Object.assign(t,{slides:d,snapGrid:m,slidesGrid:y,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ut(n,"--swiper-centered-offset-before",`${-m[0]}px`),Ut(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const w=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(S=>S+w),t.slidesGrid=t.slidesGrid.map(S=>S+D)}if(p!==c&&t.emit("slidesLengthChange"),m.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==g&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(w);p<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(w):D&&t.el.classList.remove(w)}}function No(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Bo(){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()}const pn=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function zo(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),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let a=0;a<n.length;a+=1){const c=n[a];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(r+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),y=-(r-d),b=y+e.slidesSizesGrid[a],T=y>=0&&y<=e.size-e.slidesSizesGrid[a],_=y>=0&&y<e.size-1||b>1&&b<=e.size||y<=0&&b>=e.size;_&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(a)),pn(c,_,i.slideVisibleClass),pn(c,T,i.slideFullyVisibleClass),c.progress=o?-p:p,c.originalProgress=o?-m:m}}function Fo(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const a=l,c=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,r=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[d],y=e.slidesGrid[p],b=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=m?s=(T-m)/b:s=(T+b-y)/b,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!a&&e.emit("reachBeginning toEdge"),r&&!c&&e.emit("reachEnd toEdge"),(a&&!l||c&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}const yi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Vo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=p=>tt(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];let a,c,d;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),a=s(`[data-swiper-slide-index="${p}"]`)}else a=s(`[data-swiper-slide-index="${o}"]`);else r?(a=e.filter(p=>p.column===o)[0],d=e.filter(p=>p.column===o+1)[0],c=e.filter(p=>p.column===o-1)[0]):a=e[o];a&&(r||(d=xo(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),c=To(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(p=>{yi(p,p===a,i.slideActiveClass),yi(p,p===d,i.slideNextClass),yi(p,p===c,i.slidePrevClass)}),t.emitSlidesClasses()}const qt=(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()}},wi=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Si=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((a,c)=>r+n+c)),t.slides.forEach((a,c)=>{s.includes(a.column)&&wi(t,c)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&wi(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&wi(t,r)};function Ro(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 Ho(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let a=t,c;const d=y=>{let b=y-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof a>"u"&&(a=Ro(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const y=Math.min(o.slidesPerGroupSkip,a);c=y+Math.floor((a-y)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),a===l&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const p=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=d(a);else if(p){const y=e.slides.filter(T=>T.column===a)[0];let b=parseInt(y.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(y),0)),m=Math.floor(b/o.grid.rows)}else if(e.slides[a]){const y=e.slides[a].getAttribute("data-swiper-slide-index");y?m=parseInt(y,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:a}),e.initialized&&Si(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function Uo(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Go={updateSize:Lo,updateSlides:jo,updateAutoHeight:No,updateSlidesOffset:Bo,updateSlidesProgress:zo,updateProgress:Fo,updateSlidesClasses:Vo,updateActiveIndex:Ho,updateClickedSlide:Uo};function $o(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=yo(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Wo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,a=0;const c=0;i.isHorizontal()?s=n?-t:t:a=t,o.roundLengths&&(s=Math.floor(s),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:a,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-a:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${a}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Yo(){return-this.snapGrid[0]}function qo(){return-this.snapGrid[this.snapGrid.length-1]}function Xo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const a=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>a?d=a:n&&t<c?d=c:d=t,l.updateProgress(d),r.cssMode){const p=l.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return an({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),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,l.animating=!1,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var Jo={getTranslate:$o,setTranslate:Wo,minTranslate:Yo,maxTranslate:qo,translateTo:Xo};function Ko(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 vn(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function Qo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),vn({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Zo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),vn({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var el={setTransition:Ko,transitionStart:Qo,transitionEnd:Zo};function tl(t,e,i,n,o){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:s,snapGrid:a,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:m,wrapperEl:y,enabled:b}=l;if(!b&&!n&&!o||l.destroyed||l.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const T=Math.min(l.params.slidesPerGroupSkip,r);let _=T+Math.floor((r-T)/l.params.slidesPerGroup);_>=a.length&&(_=a.length-1);const u=-a[_];if(s.normalizeSlideIndex)for(let f=0;f<c.length;f+=1){const E=-Math.floor(u*100),k=Math.floor(c[f]*100),h=Math.floor(c[f+1]*100);typeof c[f+1]<"u"?E>=k&&E<h-(h-k)/2?r=f:E>=k&&E<h&&(r=f+1):E>=k&&(r=f)}if(l.initialized&&r!==p&&(!l.allowSlideNext&&(m?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==r))return!1;r!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let g;if(r>p?g="next":r<p?g="prev":g="reset",m&&-u===l.translate||!m&&u===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(u),g!=="reset"&&(l.transitionStart(i,g),l.transitionEnd(i,g)),!1;if(s.cssMode){const f=l.isHorizontal(),E=m?u:-u;if(e===0){const k=l.virtual&&l.params.virtual.enabled;k&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),k&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{y[f?"scrollLeft":"scrollTop"]=E})):y[f?"scrollLeft":"scrollTop"]=E,k&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return an({swiper:l,targetPosition:E,side:f?"left":"top"}),!0;y.scrollTo({[f?"left":"top"]:E,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,g),e===0?l.transitionEnd(i,g):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(E){!l||l.destroyed||E.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,g))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function il(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const m=r*o.params.grid.rows;s=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===m)[0].column}else s=o.getSlideIndexByData(r);const a=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:c}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=a-s<d;if(c&&(p=p||s<Math.ceil(d/2)),n&&c&&o.params.slidesPerView!=="auto"&&!l&&(p=!1),p){const m=c?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-a+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(l){const m=r*o.params.grid.rows;r=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function nl(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:s,c=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!c&&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+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function ol(t,e,i){e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:a,animating:c}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const d=n.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function m(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const y=m(p),b=l.map(u=>m(u));let T=l[b.indexOf(y)-1];if(typeof T>"u"&&o.cssMode){let u;l.forEach((g,f)=>{y>=g&&(u=f)}),typeof u<"u"&&(T=l[u>0?u-1:u])}let _=0;if(typeof T<"u"&&(_=r.indexOf(T),_<0&&(_=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(_=_-n.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(_,t,e,i)}),!0;return n.slideTo(_,t,e,i)}function ll(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function sl(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[s]){const c=o.snapGrid[s],d=o.snapGrid[s+1];a-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[s-1],d=o.snapGrid[s];a-c<=(d-c)*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 al(){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(tt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),Et(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(tt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),Et(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var rl={slideTo:tl,slideToLoop:il,slideNext:nl,slidePrev:ol,slideReset:ll,slideToClosest:sl,slideToClickedSlide:al};function dl(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{tt(n,`.${i.slideClass}, swiper-slide`).forEach((p,m)=>{p.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,a=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const m=e.isElement?Mt("swiper-slide",[i.slideBlankClass]):Mt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(s){if(i.loopAddBlankSlides){const d=r-e.slides.length%r;c(d),e.recalcSlides(),e.updateSlides()}else Gt("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(a){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Gt("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 cl(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:m,params:y}=a,{centeredSlides:b}=y;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&y.virtual.enabled){i&&(!y.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):y.centeredSlides&&a.snapIndex<y.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=d,a.allowSlideNext=p,a.emit("loopFix");return}let T=y.slidesPerView;T==="auto"?T=a.slidesPerViewDynamic():(T=Math.ceil(parseFloat(y.slidesPerView,10)),b&&T%2===0&&(T=T+1));const _=y.slidesPerGroupAuto?T:y.slidesPerGroup;let u=_;u%_!==0&&(u+=_-u%_),u+=y.loopAdditionalSlides,a.loopedSlides=u;const g=a.grid&&y.grid&&y.grid.rows>1;c.length<T+u?Gt("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"):g&&y.grid.fill==="row"&&Gt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const f=[],E=[];let k=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(c.filter(I=>I.classList.contains(y.slideActiveClass))[0]):k=l;const h=n==="next"||!n,O=n==="prev"||!n;let C=0,x=0;const w=g?Math.ceil(c.length/y.grid.rows):c.length,S=(g?c[l].column:l)+(b&&typeof o>"u"?-T/2+.5:0);if(S<u){C=Math.max(u-S,_);for(let I=0;I<u-S;I+=1){const P=I-Math.floor(I/w)*w;if(g){const M=w-P-1;for(let N=c.length-1;N>=0;N-=1)c[N].column===M&&f.push(N)}else f.push(w-P-1)}}else if(S+T>w-u){x=Math.max(S-(w-u*2),_);for(let I=0;I<x;I+=1){const P=I-Math.floor(I/w)*w;g?c.forEach((M,N)=>{M.column===P&&E.push(N)}):E.push(P)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),O&&f.forEach(I=>{c[I].swiperLoopMoveDOM=!0,m.prepend(c[I]),c[I].swiperLoopMoveDOM=!1}),h&&E.forEach(I=>{c[I].swiperLoopMoveDOM=!0,m.append(c[I]),c[I].swiperLoopMoveDOM=!1}),a.recalcSlides(),y.slidesPerView==="auto"?a.updateSlides():g&&(f.length>0&&O||E.length>0&&h)&&a.slides.forEach((I,P)=>{a.grid.updateSlide(P,I,a.slides)}),y.watchSlidesProgress&&a.updateSlidesOffset(),i){if(f.length>0&&O){if(typeof e>"u"){const I=a.slidesGrid[k],M=a.slidesGrid[k+C]-I;s?a.setTranslate(a.translate-M):(a.slideTo(k+Math.ceil(C),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-M,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-M))}else if(o){const I=g?f.length/y.grid.rows:f.length;a.slideTo(a.activeIndex+I,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(E.length>0&&h)if(typeof e>"u"){const I=a.slidesGrid[k],M=a.slidesGrid[k-x]-I;s?a.setTranslate(a.translate-M):(a.slideTo(k-x,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-M,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-M))}else{const I=g?E.length/y.grid.rows:E.length;a.slideTo(a.activeIndex-I,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=p,a.controller&&a.controller.control&&!r){const I={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(P=>{!P.destroyed&&P.params.loop&&P.loopFix({...I,slideTo:P.params.slidesPerView===y.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...I,slideTo:a.controller.control.params.slidesPerView===y.slidesPerView?i:!1})}a.emit("loopFix")}function ul(){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 pl={loopCreate:dl,loopFix:cl,loopDestroy:ul};function vl(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 fl(){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 ml={setGrabCursor:vl,unsetGrabCursor:fl};function hl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===et()||n===Ve())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 fn(t,e,i){const n=Ve(),{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 gl(t){const e=this,i=et();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"){fn(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(a=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?hl(p,a):a.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const y=r.currentX,b=r.currentY;if(!fn(e,n,y))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=y,r.startY=b,o.touchStartTime=Je(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let T=!0;a.matches(o.focusableElements)&&(T=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const _=T&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||_)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function bl(t){const e=et(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let c;if(a.type==="touchmove"){if(c=[...a.changedTouches].filter(h=>h.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=c.pageX,p=c.pageY;if(a.preventedByNestedSwiper){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=Je());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const m=l.currentX-l.startX,y=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+y**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let h;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+y*y>=25&&(h=Math.atan2(Math.abs(y),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?h>o.touchAngle:90-h>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||a.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let b=i.isHorizontal()?m:y,T=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(b=Math.abs(b)*(r?1:-1),T=Math.abs(T)*(r?1:-1)),l.diff=b,b*=o.touchRatio,r&&(b=-b,T=-T);const _=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const u=i.params.loop&&!o.cssMode,g=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&g&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const h=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(h)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let f;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&_!==i.touchesDirection&&u&&g&&Math.abs(b)>=1){Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let E=!0,k=o.resistanceRatio;if(o.touchReleaseOnEdges&&(k=0),b>0?(u&&g&&!f&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(E=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**k))):b<0&&(u&&g&&!f&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(E=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**k))),E&&(a.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(b)>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 yl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(k=>k.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:a,slidesGrid:c,enabled:d}=e;if(!d||!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 p=Je(),m=p-i.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),m<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Je(),Et(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let y;if(r.followFinger?y=a?e.translate:-e.translate:y=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:y});return}const b=y>=-e.maxTranslate()&&!e.params.loop;let T=0,_=e.slidesSizesGrid[0];for(let k=0;k<c.length;k+=k<r.slidesPerGroupSkip?1:r.slidesPerGroup){const h=k<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof c[k+h]<"u"?(b||y>=c[k]&&y<c[k+h])&&(T=k,_=c[k+h]-c[k]):(b||y>=c[k])&&(T=k,_=c[c.length-1]-c[c.length-2])}let u=null,g=null;r.rewind&&(e.isBeginning?g=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const f=(y-c[T])/_,E=T<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(f>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?u:T+E):e.slideTo(T)),e.swipeDirection==="prev"&&(f>1-r.longSwipesRatio?e.slideTo(T+E):g!==null&&f<0&&Math.abs(f)>r.longSwipesRatio?e.slideTo(g):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+E):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:T+E),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:T))}}function mn(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function wl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Sl(){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 Tl(t){const e=this;qt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function xl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const hn=(t,e)=>{const i=et(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",c=e;!o||typeof o=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[c](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",mn,!0):t[c]("observerUpdate",mn,!0),o[a]("load",t.onLoad,{capture:!0}))};function El(){const t=this,{params:e}=t;t.onTouchStart=gl.bind(t),t.onTouchMove=bl.bind(t),t.onTouchEnd=yl.bind(t),t.onDocumentTouchStart=xl.bind(t),e.cssMode&&(t.onScroll=Sl.bind(t)),t.onClick=wl.bind(t),t.onLoad=Tl.bind(t),hn(t,"on")}function Il(){hn(this,"off")}var Cl={attachEvents:El,detachEvents:Il};const gn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function _l(){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 a=(r in l?l[r]:void 0)||t.originalParams,c=gn(t,n),d=gn(t,a),p=t.params.grabCursor,m=a.grabCursor,y=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),p&&!m?t.unsetGrabCursor():!p&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(f=>{if(typeof a[f]>"u")return;const E=n[f]&&n[f].enabled,k=a[f]&&a[f].enabled;E&&!k&&t[f].disable(),!E&&k&&t[f].enable()});const b=a.direction&&a.direction!==n.direction,T=n.loop&&(a.slidesPerView!==n.slidesPerView||b),_=n.loop;b&&i&&t.changeDirection(),We(t.params,a);const u=t.params.enabled,g=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!u?t.disable():!y&&u&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",a),i&&(T?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!_&&g?(t.loopCreate(e),t.updateSlides()):_&&!g&&t.loopDestroy()),t.emit("breakpoint",a)}function kl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Ve(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const a=parseFloat(s.substr(1));return{value:l*a,point:s}}return{value:s,point:s}});r.sort((s,a)=>parseInt(s.value,10)-parseInt(a.value,10));for(let s=0;s<r.length;s+=1){const{point:a,value:c}=r[s];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=a):c<=i.clientWidth&&(n=a)}return n||"max"}var Dl={setBreakpoint:_l,getBreakpoint:kl};function Al(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 Pl(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=Al(["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 Ol(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Ml={addClasses:Pl,removeClasses:Ol};function Ll(){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 jl={checkOverflow:Ll},Ti={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 Nl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){We(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)){We(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),We(e,n)}}const xi={eventsEmitter:Mo,update:Go,translate:Jo,transition:el,slide:rl,loop:pl,grabCursor:ml,events:Cl,breakpoints:Dl,checkOverflow:jl,classes:Ml},Ei={};let Ii=class at{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=We({},i),e&&!i.el&&(i.el=e);const r=et();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const d=[];return r.querySelectorAll(i.el).forEach(p=>{const m=We({},i,{el:p});d.push(new at(m))}),d}const s=this;s.__swiper__=!0,s.support=cn(),s.device=un({userAgent:i.userAgent}),s.browser=Ao(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const a={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:Nl(i,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=We({},Ti,a);return s.params=We({},c,Ei,i),s.originalParams=We({},s.params),s.passedParams=We({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=tt(i,`.${n.slideClass}, swiper-slide`),l=$t(o[0]);return $t(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=tt(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[c]?Math.ceil(l[c].swiperSlideSize):0,m;for(let y=c+1;y<l.length;y+=1)l[y]&&!m&&(p+=Math.ceil(l[y].swiperSlideSize),d+=1,p>a&&(m=!0));for(let y=c-1;y>=0;y-=1)l[y]&&!m&&(p+=l[y].swiperSlideSize,d+=1,p>a&&(m=!0))}else if(e==="current")for(let p=c+1;p<l.length;p+=1)(i?r[p]+s[p]-r[c]<a:r[p]-r[c]<a)&&(d+=1);else for(let p=c-1;p>=0;p-=1)r[c]-r[p]<a&&(d+=1);return d}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&&qt(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):tt(n,o())[0];return!r&&i.params.createElements&&(r=Mt("div",i.params.wrapperClass),n.append(r),tt(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||vt(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||vt(n,"direction")==="rtl"),wrongRTL:vt(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?qt(i,l):l.addEventListener("load",r=>{qt(i,r.target)})}),Si(i),i.initialized=!0,Si(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),s&&s.length&&s.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),go(n)),n.destroyed=!0),null}static extendDefaults(e){We(Ei,e)}static get extendedDefaults(){return Ei}static get defaults(){return Ti}static installModule(e){at.prototype.__modules__||(at.prototype.__modules__=[]);const i=at.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>at.installModule(i)),at):(at.installModule(e),at)}};Object.keys(xi).forEach(t=>{Object.keys(xi[t]).forEach(e=>{Ii.prototype[e]=xi[t][e]})}),Ii.use([Po,Oo]);const bn=["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 wt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Ct(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]:wt(e[n])&&wt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Ct(t[n],e[n]):t[n]=e[n]})}function yn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function wn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Sn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Tn(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 Bl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function zl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:a}=t;const c=o.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:d,pagination:p,navigation:m,scrollbar:y,virtual:b,thumbs:T}=e;let _,u,g,f,E,k,h,O;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(_=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(g=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&y&&!y.el&&(f=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(E=!0);const C=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),d[x].prevEl=void 0,d[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),d[x].el=void 0,e[x].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?k=!0:!d.loop&&n.loop?h=!0:O=!0),c.forEach(x=>{if(wt(d[x])&&wt(n[x]))Object.assign(d[x],n[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in n[x]&&!n[x].enabled&&C(x);else{const w=n[x];(w===!0||w===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?w===!1&&C(x):d[x]=n[x]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&b&&d.virtual.enabled?(b.slides=i,b.update(!0)):o.includes("virtual")&&b&&d.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),o.includes("children")&&i&&d.loop&&(O=!0),_&&T.init()&&T.update(!0),u&&(e.controller.control=d.controller.control),g&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),p.init(),p.render(),p.update()),f&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),y.init(),y.updateSize(),y.setTranslate()),E&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(d.navigation.nextEl=l),r&&(d.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),(k||O)&&e.loopDestroy(),(h||O)&&e.loopCreate(),e.update()}function Fl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};Ct(i,Ti),i._emitClasses=!0,i.init=!1;const l={},r=bn.map(a=>a.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(a=>{typeof t[a]>"u"||(r.indexOf(a)>=0?wt(t[a])?(i[a]={},o[a]={},Ct(i[a],t[a]),Ct(o[a],t[a])):(i[a]=t[a],o[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:o,rest:l,events:n}}function Vl(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;yn(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),wn(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),Sn(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function Rl(t,e,i,n,o){const l=[];if(!e)return l;const r=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(o),c=i.map(o);a.join("")!==c.join("")&&r("children"),n.length!==i.length&&r("children")}return bn.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(wt(t[a])&&wt(e[a])){const c=Object.keys(t[a]),d=Object.keys(e[a]);c.length!==d.length?r(a):(c.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}),d.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}))}else t[a]!==e[a]&&r(a)}),l}const Hl=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 Xt(){return Xt=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},Xt.apply(this,arguments)}function xn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function En(t){const e=[];return v.Children.toArray(t).forEach(i=>{xn(i)?e.push(i):i.props&&i.props.children&&En(i.props.children).forEach(n=>e.push(n))}),e}function Ul(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return v.Children.toArray(t).forEach(n=>{if(xn(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=En(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Gl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<a;d+=1)d>=l&&d<=r&&c.push(e[n(d)]);return c.map((d,p)=>v.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function Lt(t,e){return typeof window>"u"?te(t,e):Un(t,e)}const Ci=Ot(null),In=()=>Pt(Ci),$l=Ot(null),St=zt(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,a=!1;const[c,d]=$("swiper"),[p,m]=$(null),[y,b]=$(!1),T=Z(!1),_=Z(null),u=Z(null),g=Z(null),f=Z(null),E=Z(null),k=Z(null),h=Z(null),O=Z(null),{params:C,passedParams:x,rest:w,events:D}=Fl(s),{slides:S,slots:I}=Ul(l),P=()=>{b(!y)};Object.assign(C.on,{_containerClasses(j,z){d(z)}});const M=()=>{Object.assign(C.on,D),a=!0;const j={...C};if(delete j.wrapperClass,u.current=new Ii(j),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=S;const z={cache:!1,slides:S,renderExternal:m,renderExternalUpdate:!1};Ct(u.current.params.virtual,z),Ct(u.current.originalParams.virtual,z)}};_.current||M(),u.current&&u.current.on("_beforeBreakpoint",P);const N=()=>{a||!D||!u.current||Object.keys(D).forEach(j=>{u.current.on(j,D[j])})},R=()=>{!D||!u.current||Object.keys(D).forEach(j=>{u.current.off(j,D[j])})};te(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",P)}),te(()=>{!T.current&&u.current&&(u.current.emitSlidesClasses(),T.current=!0)}),Lt(()=>{if(e&&(e.current=_.current),!!_.current)return u.current.destroyed&&M(),Vl({el:_.current,nextEl:E.current,prevEl:k.current,paginationEl:h.current,scrollbarEl:O.current,swiper:u.current},C),r&&!u.current.destroyed&&r(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),Lt(()=>{N();const j=Rl(x,g.current,S,f.current,z=>z.key);return g.current=x,f.current=S,j.length&&u.current&&!u.current.destroyed&&zl({swiper:u.current,slides:S,passedParams:x,changedParams:j,nextEl:E.current,prevEl:k.current,scrollbarEl:O.current,paginationEl:h.current}),()=>{R()}}),Lt(()=>{Hl(u.current)},[p]);function V(){return C.virtual?Gl(u.current,S,p):S.map((j,z)=>v.cloneElement(j,{swiper:u.current,swiperSlideIndex:z}))}return v.createElement(n,Xt({ref:_,className:Tn(`${c}${i?` ${i}`:""}`)},w),v.createElement($l.Provider,{value:u.current},I["container-start"],v.createElement(o,{className:Bl(C.wrapperClass)},I["wrapper-start"],V(),I["wrapper-end"]),yn(C)&&v.createElement(v.Fragment,null,v.createElement("div",{ref:k,className:"swiper-button-prev"}),v.createElement("div",{ref:E,className:"swiper-button-next"})),Sn(C)&&v.createElement("div",{ref:O,className:"swiper-scrollbar"}),wn(C)&&v.createElement("div",{ref:h,className:"swiper-pagination"}),I["container-end"]))});St.displayName="Swiper";const nt=zt(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:a,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Z(null),[m,y]=$("swiper-slide"),[b,T]=$(!1);function _(E,k,h){k===p.current&&y(h)}Lt(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){m!=="swiper-slide"&&y("swiper-slide");return}return l.on("_slideClass",_),()=>{l&&l.off("_slideClass",_)}}}),Lt(()=>{l&&p.current&&!l.destroyed&&y(l.getSlideClasses(p.current))},[l]);const u={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},g=()=>typeof n=="function"?n(u):n,f=()=>{T(!0)};return v.createElement(i,Xt({ref:p,className:Tn(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:f},d),r&&v.createElement(Ci.Provider,{value:u},v.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},g(),s&&!b&&v.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&v.createElement(Ci.Provider,{value:u},g(),s&&!b&&v.createElement("div",{className:"swiper-lazy-preloader"})))});nt.displayName="SwiperSlide";const Wl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Yl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,a]=$(!1),c=Z(null);te(()=>{const m=document.getElementById("sxp-render"),y=document.getElementById("pb-modal");y?c.current=y:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),m?.appendChild(c.current))},[]);const d=ee(()=>l?.id&&l?.id!==""||t,[t,l]);if(te(()=>{d?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[d,l]),!c.current)return null;const p=ti(()=>{e?.()},300);return Hi.createPortal(v.createElement(v.Fragment,null,s&&v.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},v.createElement("div",{className:`modal-container ${d?"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()}},v.createElement("div",{onClick:e,className:"modal-icon-wrapper"},v.createElement("img",{src:Wl,alt:"close",className:"modal-icon"})),i))),c.current)};var Jt=fe(Yl);const ql=(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(" ")+" "},Xl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:a})=>{const[c,d]=$(!1),[p,m]=$(!1),y=Number(i?.lineClamp||2),b=Z(null),T=Z(null),_=oe(()=>{d(!c)},[c,a]);return ee(()=>!c&&t.length>e?ql(t,e)+"...":t,[t,e,c]),te(()=>{var u,g;((u=T?.current)===null||u===void 0?void 0:u.offsetHeight)>((g=b?.current)===null||g===void 0?void 0:g.offsetHeight)&&s?m(!0):m(!1),T.current.style.display="none"},[s]),v.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},v.createElement("div",{ref:b,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":y,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),v.createElement("div",{ref:T,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??_},c?r||"show less":l||"show more"))};var Kt=fe(Xl);const Jl=zt((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,a]=$(),{swiperRef:c}=we();return Ri(e,()=>({setSrc:d=>{a(d)}})),te(()=>{var d,p;const m=(p=(d=c?.current)===null||d===void 0?void 0:d.swiper)===null||p===void 0?void 0:p.activeIndex;(m===0||m>0)&&a(i)},[i,c]),Z(null),v.createElement(v.Fragment,null,s?.includes(".avif")?v.createElement("picture",null,v.createElement("source",{type:"image/avif",srcSet:s}),v.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),v.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),v.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:d=>{n?.(d.target)},alt:"image"})):v.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:d=>{n?.(d.target)},alt:"image"}))});var Re=fe(Jl);const Kl=t=>{var e,i,n,o,l,r,s,a,c,{content:d,style:p,bgImg:m,onClick:y,schema:b,isDefault:T,bottom_image:_,tipText:u,isPost:g,viewTime:f,rec:E,swiper:k,commodityStyles:h,buttonStyle:O,index:C}=t,x=Me(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:w}=we(),{popupDetailData:D,bffEventReport:S,isPreview:I,bffFbReport:P}=we(),{jumpToWeb:M,productView:N}=Ue(),R=Z(null),[V,j]=$(!1),z=g?E:D,L=g?z?.product:(e=z?.video)===null||e===void 0?void 0:e.bindProduct,F=g?(i=z?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=z?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,B=g?C:D?.index,G=()=>{L?.link&&(M(z,L,F,B),g||N(z,L,F,f||R.current,B),window.location.href=window.getJointUtmLink(L.link))};te(()=>{g||P?.({eventName:"ProductView"})},[g,P]),te(()=>{const q=()=>{R.current=new Date};return q(),window.addEventListener("pageshow",q),()=>{window.removeEventListener("pageshow",q)}},[]);const H=ee(()=>{var q,X,Q,J,Ie;return L?.currency&&L?.price?`${(Q=(X=(q=L?.currency)===null||q===void 0?void 0:q.split("-")[1])===null||X===void 0?void 0:X.toUpperCase())!==null&&Q!==void 0?Q:""}${(Ie=(J=L?.price)===null||J===void 0?void 0:J.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Ie!==void 0?Ie:""}`:"$7,000"},[L?.price,L?.currency]),le=I?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,he=({isPost:q})=>{var X,Q,J;return v.createElement("div",null,v.createElement("div",{className:"pb-commondity-content-collection",style:Y(h?.collection),hidden:!!L&&(!L?.collection||L?.collection==="")},(X=L?.collection)!==null&&X!==void 0?X:"Tiffany Lock"),v.createElement("div",{className:"pb-commondity-content-title",style:Y(h?.title),hidden:!!L&&!L?.title},(Q=L?.title)!==null&&Q!==void 0?Q:"Pendant in Yellow Gold with Diamonds, Medium"),v.createElement("div",{className:"pb-commondity-content-price",style:Y(h?.price),hidden:!!L&&!L?.price},H),v.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},v.createElement(Kt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>j(!0),isPost:q,text:(J=L?.info)!==null&&J!==void 0?J:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
2
2
|
bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
|
3
3
|
collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
|
4
4
|
necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
|
5
|
-
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:h?.info})))},Y=()=>{var W;return v.createElement(v.Fragment,null,(S||j?.link)&&v.createElement("button",{onClick:V,className:"pb-commondity-btn",style:P},(W=k?.enTitle)!==null&&W!==void 0?W:"Purchase on Website"))},be=se(W=>W?.lineClamp?Object.assign(Object.assign({},W),{overflow:"hidden",WebkitLineClamp:W?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):W,[]);return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:oe(Object.assign({},p))},g),j&&((r=j?.homePage)===null||r===void 0?void 0:r.length)>0&&v.createElement(ht,{height:K,modules:[Ft,Vt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:_?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:_?.delay*1e3}},(s=j?.homePage)===null||s===void 0?void 0:s.map(W=>v.createElement(ot,{key:W},v.createElement("div",{style:{overflow:"hidden",width:K,height:K}},v.createElement(Re,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${_?.translateY?-_?.translateY+50:50}%`},src:W}))))),!(!((a=j?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:oe({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:oe({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=E?.bottom_image)!==null&&c!==void 0?c:C,alt:""})),v.createElement("div",{className:"pb-commondity-content"},le({isPost:b}))),Y(),v.createElement(Ut,{visible:B,onClose:()=>N(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},le({isPost:!1})),Y()))};var ql=he(Yl);const Xl=Ge(ql,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:uo},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var Jl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],wi,Si,Kl=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:$e?.fontOptions,initialValue:(Si=(wi=$e?.fontOptions)===null||wi===void 0?void 0:wi[0])===null||Si===void 0?void 0:Si.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],wn="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 Ql=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}},Zl=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:a,submitButtonStyle:c}=t,d=Le(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=we(),{jumpToWeb:m}=Ue(),w=typeof o=="string"?o:Ql(o),y=()=>{var S,C,u;if(r){const b=p,f=(S=b?.video)===null||S===void 0?void 0:S.bindProduct,x=(u=(C=b?.video)===null||C===void 0?void 0:C.bindProduct)===null||u===void 0?void 0:u.bindCta,_=p?.index;m(b,f,x,_)}l||s?.(),a?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${oe(Object.assign({},n))}`},d),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:w??wn})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{className:"pb-prompt-btn",style:c,onClick:y},i))};var es=he(Zl);const ts=Ge(es,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Kl,bindableProps:[],interactionRender:Jl},defaulSetting:{props:{icon:wn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Ti,xi,is=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ge,name:["fontFamily"],initialValue:(Ti=ge?.[0])===null||Ti===void 0?void 0:Ti.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:ge,initialValue:(xi=ge?.[0])===null||xi===void 0?void 0:xi.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ns=t=>{var e,i,n,o,l,r,s,a,c,d,p,m,{style:w,isDefault:y,rec:S,viewTime:C,isPost:u,bottom_image:b,tipText:f,swiper:x,commodityStyles:_,buttonStyle:h,index:P}=t,I=Le(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);U(!0);const{sxpParameter:g}=we(),{popupDetailData:E,bffEventReport:A,isPreview:T,swiperRef:D,bffFbReport:O}=we(),{jumpToWeb:L,productView:F}=Ue(),R=Z(null);Z(null),Z(null),U(!1),U(!1),U(!0);const[B,N]=U(!1),z=Z(null),j=u?S:E,k=u?j?.product:(e=j?.video)===null||e===void 0?void 0:e.bindProduct,q=u?(i=j?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=j?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,V=u?P:E?.index,$=()=>{k?.link&&(L(j,k,q,V),u||F(j,k,q,C||z.current,V),window.location.href=window.getJointUtmLink(k.link))};Q(()=>{u||O?.({eventName:"ProductView"})},[u,O]),Q(()=>{const W=()=>{z.current=new Date};return W(),window.addEventListener("pageshow",W),()=>{window.removeEventListener("pageshow",W)}},[]);const K=ee(()=>{var W,ce,J,te,Se;return k?.currency&&k?.price?`${(J=(ce=(W=k?.currency)===null||W===void 0?void 0:W.split("-")[1])===null||ce===void 0?void 0:ce.toUpperCase())!==null&&J!==void 0?J:""}${(Se=(te=k?.price)===null||te===void 0?void 0:te.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Se!==void 0?Se:""}`:"\xA3102,300.00"},[k?.price,k?.currency]),le=T?375:(l=w?.width)!==null&&l!==void 0?l:window.innerWidth,Y=({isPost:W})=>v.createElement("div",{hidden:!!k&&(!k?.info||k?.info==="")},v.createElement(Gt,{isPost:W,onClick:()=>N(!0),className:"pb-commondityDiroNew-info",style:_?.info,foldText:f?.foldText,unfoldText:f?.unfoldText,text:k?.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`})),be=se(W=>W?.lineClamp?Object.assign(Object.assign({},W),{overflow:"hidden",WebkitLineClamp:W?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):W,[]);return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:R,className:oe(Object.assign({},w))},I),k&&((r=k?.homePage)===null||r===void 0?void 0:r.length)>0&&v.createElement(ht,{height:le,modules:[Ft,Vt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:x?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:x?.delay*1e3}},(s=k?.homePage)===null||s===void 0?void 0:s.map(W=>v.createElement(ot,{key:W},v.createElement("div",{style:{overflow:"hidden",width:le,height:le}},v.createElement(Re,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${x?.translateY?-x?.translateY+50:50}%`},src:W}))))),!(!((a=k?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:oe({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:oe({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=g?.bottom_image)!==null&&c!==void 0?c:b,alt:""})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:be(_?.title)},(d=k?.title)!==null&&d!==void 0?d:"Large Dior Toujours BagLarge"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!k&&(!k?.collection||k?.collection===""),style:be(_?.collection)},k?.collection||"Black Macrocannage CalfskinLarge")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.price,style:be(_?.price)},K),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!k&&!k?.taxInfo,style:be(_?.taxInfo)},(p=k?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!k||k?.link)&&v.createElement("button",{onClick:$,className:"pb-commondityDiroNew-btn",style:h},(m=q?.enTitle)!==null&&m!==void 0?m:"Shop now"),Y({isPost:u}))),v.createElement(Ut,{visible:B,onClose:()=>N(!1)},Y({isPost:!1})))};var os=he(ns);const ls=Ge(os,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:is},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 Ei,Ii,Xe=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ge,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Ei=ge?.[0])===null||Ei===void 0?void 0:Ei.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:ge,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Ii=ge?.[0])===null||Ii===void 0?void 0:Ii.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"]}]}],ss=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Sn(t){const e=Z(null),[i,n]=U(!1);return Q(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),Q(()=>{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 as=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;Le(t,["rec","children","className","onClick","style","isExternalLink","index"]);const a=Z(null),c=Sn(a),{popup:d}=st(),{setPopupDetailData:p,ctaEvent:m}=we(),{jumpToWeb:w}=Ue();Q(()=>{var S,C;if(c&&a?.current){const u=(C=(S=e?.video)===null||S===void 0?void 0:S.bindProduct)!==null&&C!==void 0?C:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,s)}},[c,a,e,m,s]);const y=Pt(()=>{var S,C,u,b,f,x,_,h;const P=(C=(S=e?.video)===null||S===void 0?void 0:S.bindProduct)!==null&&C!==void 0?C:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,P,s),p?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((b=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||b===void 0)&&b.link){const I=(f=e?.video)===null||f===void 0?void 0:f.bindCta,g=(x=e?.video)===null||x===void 0?void 0:x.bindProduct;w(e,g,I,s),window.location.href=window.getJointUtmLink((h=(_=e?.video)===null||_===void 0?void 0:_.bindProduct)===null||h===void 0?void 0:h.link)}}else o?.()},d?.duration);return v.createElement("div",{ref:a,className:n,style:l,onClick:y},i)};var Dt=he(as),rs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const ds=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:w,ctaTempStyles:y,isExternalLink:S,translateY:C=0}=t,u=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:b}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,x=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:b?.bottom_image)!==null&&l!==void 0?l:w;return v.createElement(Dt,Object.assign({isExternalLink:S,rec:m,className:oe(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:oe(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},y?.img))},v.createElement(Re,{className:oe({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${C?-C+50:50}%`}),src:x})),v.createElement("div",{className:oe({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:rs["tow-line-ellipsis"],style:y?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:oe(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},y?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var cs=he(ds);const us=Ge(cs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:ss,bindableProps:[],settingRender:Xe},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 ps=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const vs=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:a,bottom_image:c,ctaTempStyles:d,isExternalLink:p}=t,m=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:w}=we(),y=(e=a?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(Dt,Object.assign({isExternalLink:p,rec:a,className:oe(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),v.createElement("div",{className:oe(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement("img",{className:oe({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=y?.icon)!==null&&i!==void 0?i:w?.bottom_image)!==null&&n!==void 0?n:c,alt:""})),v.createElement("div",{className:oe(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(o=y?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var fs=he(vs);const ms=Ge(fs,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ps,settingRender:Xe?.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 hs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const gs=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:a,recData:c,bottom_image:d,ctaTempStyles:p,index:m}=t,w=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:y,bffEventReport:S}=we(),{jumpToWeb:C}=Ue(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,b=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,f=()=>{u?.link&&(C(c,b,u,m),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(Dt,Object.assign({index:m,rec:c,className:oe(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},w,{onClick:f}),v.createElement("div",{className:oe(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(Re,{className:oe({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:y?.bottom_image)!==null&&o!==void 0?o:d})),v.createElement("div",{className:oe({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:hs["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var bs=he(gs);const ys=Ge(bs,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Xe?.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 ws=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ss={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Ts=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:w,ctaTempStyles:y,isExternalLink:S,translateY:C=0}=t,u=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:b}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,x=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:b?.bottom_image)!==null&&l!==void 0?l:w;return v.createElement(Dt,Object.assign({isExternalLink:S,rec:m,className:oe(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:oe(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},y?.img))},v.createElement(Re,{className:oe({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${C?-C+50:50}%`}),src:x})),v.createElement("div",{className:oe({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Ss["tow-line-ellipsis"],style:y?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:oe(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},y?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var xs=he(Ts);const Es=Ge(xs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:ws,settingRender:Xe,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var Is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Cs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const _s=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:w,ctaTempStyles:y,isExternalLink:S,translateY:C=0}=t,u=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:b}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,x=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:b?.bottom_image)!==null&&l!==void 0?l:w;return v.createElement(Dt,Object.assign({isExternalLink:S,rec:m,className:oe(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:oe(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},y?.img))},v.createElement(Re,{className:oe({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${C?-C+50:50}%`}),src:x})),v.createElement("div",{className:oe({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Cs["tow-line-ellipsis"],style:y?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:oe(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},y?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop now")))};var ks=he(_s);const Ds=Ge(ks,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Is,bindableProps:[],settingRender:Xe},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:8,width:78,height:78,marginRight:16},title:{fontSize:13,color:"#000",textAlign:"left"},ctaTitle:{textDecoration:"underline",fontSize:14,fontWeight:"bold",color:"#000",textAlign:"left",width:150,height:20}}},style:{borderRadius:4,width:260,height:86,padding:4,backgroundColor:"rgba(255,255,255,0.75)",marginBottom:8}},w:100,h:40,sort:2});var As=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ps=({children:t,isPadding:e=!0})=>v.createElement(ht,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[To,So,wo],style:{padding:e?"0 12px 0 20px":0}},t);var $t=he(Ps);const Os=({src:t,rec:e,item:i,index:n,style:o})=>{const l=Z(null),r=Sn(l),{ctaEvent:s}=we();return Q(()=>{r&&t&&l?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[r,t,l,e,s,i,n]),v.createElement("div",{ref:l,hidden:!t,className:oe({width:"100%",height:"100%"})},v.createElement(Re,{className:oe(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},o)),src:t}))};var Ci=he(Os),Ms={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Ls=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,w=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:S,sxpParameter:C}=we(),{popup:u}=st(),{jumpToWeb:b}=Ue(),[f,x]=U((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=Pt(h=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),S?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(b(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement($t,{isPadding:!!r},f?.map(h=>{var P,I,g,E,A,T,D;return v.createElement(ot,Object.assign({hidden:r&&!h?.bindCta,key:h?.itemId,className:oe(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},w,{onClick:()=>_(h)}),v.createElement("div",{className:oe(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Ci,{src:(E=(g=(P=h?.cover)!==null&&P!==void 0?P:(I=h?.homePage)===null||I===void 0?void 0:I[0])!==null&&g!==void 0?g:C?.bottom_image)!==null&&E!==void 0?E:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:oe({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Ms["two-line-ellipsis"],style:c?.title},(A=h?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:oe(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(D=(T=h?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&D!==void 0?D:"Shop Now")))}))};var js=he(Ls);const Ns=Ge(js,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:As,bindableProps:[],settingRender:Xe},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 Bs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],zs={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Fs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,w=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:y}=we(),{ctaEvent:S,setPopupDetailData:C}=we(),{popup:u}=st(),[b,f]=U((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:x}=Ue(),_=Pt(h=>{S?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),C?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(x(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement($t,{isPadding:!!r},b?.map(h=>{var P,I,g,E,A,T,D;return v.createElement(ot,Object.assign({hidden:r&&!h?.bindCta,key:h.itemId,className:oe(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},w,{onClick:()=>_(h)}),v.createElement("div",{className:oe(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Ci,{src:(E=(g=(P=h?.cover)!==null&&P!==void 0?P:(I=h?.homePage)===null||I===void 0?void 0:I[0])!==null&&g!==void 0?g:y?.bottom_image)!==null&&E!==void 0?E:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:oe({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:zs["two-line-ellipsis"],style:c?.title},(A=h?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:oe(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(D=(T=h?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&D!==void 0?D:"Shop Now")))}))};var Vs=he(Fs);const Rs=Ge(Vs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Bs,settingRender:Xe,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 Hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Us={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Gs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,w=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:y,setPopupDetailData:S,sxpParameter:C}=we(),{popup:u}=st(),{jumpToWeb:b}=Ue(),[f,x]=U((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),_=Pt(h=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),S?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(b(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement($t,{isPadding:!!r},f?.map(h=>{var P,I,g,E,A,T,D;return v.createElement(ot,Object.assign({hidden:r&&!h?.bindCta,key:h?.itemId,className:oe(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},w,{onClick:()=>_(h)}),v.createElement("div",{className:oe(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Ci,{src:(E=(g=(P=h?.cover)!==null&&P!==void 0?P:(I=h?.homePage)===null||I===void 0?void 0:I[0])!==null&&g!==void 0?g:C?.bottom_image)!==null&&E!==void 0?E:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:oe({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:Us["tow-line-ellipsis"],style:c?.title},(A=h?.title)!==null&&A!==void 0?A:"Product Name"),v.createElement("div",{className:oe(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(D=(T=h?.bindCta)===null||T===void 0?void 0:T.enTitle)!==null&&D!==void 0?D:"Shop now")))}))};var $s=he(Gs);const Ws=Ge($s,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Hs,bindableProps:[],settingRender:Xe},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 _i,ki,Ys=[{title:"Banner",child:[{type:"Switch",label:"Banner\u56FE\u5F00\u5173",name:["props","showBanner"]}]},{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"},{type:"Switch",label:"\u56FA\u5B9A\u5BBD\u9AD8",name:["props","openFixedSize"],initialValue:!0}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ge,name:["fontFamily"],initialValue:(_i=ge?.[0])===null||_i===void 0?void 0:_i.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ge,initialValue:(ki=ge?.[0])===null||ki===void 0?void 0:ki.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const qs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=we();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Tn=he(qs),Xs=null,Js="3d989325-e7d6-4a74-8a97-98febdf5b567",Ks=null,Qs=null,Zs={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"},ea=[{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}],ta="Handbags",xn={productUserId:Xs,requestId:Js,channel:Ks,rtc:Qs,tag:Zs,recList:ea,hashTag:ta};const ia=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:o,index:l,showBorder:r,list:s,reportTagsView:a,textStyles:c,space:d}=t,{swiperRef:p,setRtcList:m,setOpenHashtag:w,sxpParameter:y}=we(),[S,C]=U(!1),[u,b]=U(!1),[f,x]=U({height:1,width:1}),_=Z(null),h=Z(null),P=Z(null),I=Z(null),[g,E]=U(""),A=ee(()=>{var B,N,z,j,k,q,V,$,K,le;return!((B=e?.video)===null||B===void 0)&&B.cover?(N=e?.video)===null||N===void 0?void 0:N.cover:!((j=(z=e?.video)===null||z===void 0?void 0:z.imgUrls)===null||j===void 0)&&j.length?(q=(k=e?.video)===null||k===void 0?void 0:k.imgUrls)===null||q===void 0?void 0:q[0]:!(($=(V=e?.product)===null||V===void 0?void 0:V.homePage)===null||$===void 0)&&$.length?(le=(K=e?.product)===null||K===void 0?void 0:K.homePage)===null||le===void 0?void 0:le[0]:y?.bottom_image||""},[e,y?.bottom_image]),T=ee(()=>{var B,N;return((B=e?.product)===null||B===void 0?void 0:B.title)||((N=e?.video)===null||N===void 0?void 0:N.title)||null},[e]),D=ee(()=>{var B;return i.transform?Number((B=i.transform)===null||B===void 0?void 0:B.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]),O=ee(()=>D===void 0?!1:D<=r,[D,r]),L=ee(()=>{var B,N,z,j,k,q,V,$,K;return!((B=e?.product)===null||B===void 0)&&B.currency&&(!((N=e?.product)===null||N===void 0)&&N.price)?`${(q=(k=(j=(z=e?.product)===null||z===void 0?void 0:z.currency)===null||j===void 0?void 0:j.split("-")[1])===null||k===void 0?void 0:k.toUpperCase())!==null&&q!==void 0?q:""}${(K=($=(V=e?.product)===null||V===void 0?void 0:V.price)===null||$===void 0?void 0:$.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&K!==void 0?K:""}`:null},[e]);Q(()=>{if(_.current===null||A==="")return;const B=new Image;S&&g?B.src=g:B.src=A,B.onload=()=>{x({height:B.height,width:B.width}),b(!0)},_.current.setSrc(B.src)},[A,S,g,O]),Q(()=>{const B=f.height*(o/f.width);u&&n(B+56+d,l)},[f,l,o,u,d]);const F=(B,N,z)=>{const j=B/N;return z/j};Q(()=>{const B=P?.current;B===null||A===""||!S||(B.src=A,B.currentTime=1,B.crossOrigin="anonymous",B.onloadeddata=()=>{const N=I?.current;if(!N)return;const z=N.getContext("2d"),j=window?.innerWidth/2,k=F(B.videoWidth,B.videoHeight,j);N.height=k,N.width=j,z?.drawImage(B,0,0,N.width,N.height),E(N.toDataURL()),B.remove(),N.remove()})},[A,S]);const R=()=>{a(),m?.(s),setTimeout(()=>{var B;(B=p?.current)===null||B===void 0||B.swiper.slideTo(l,0,!1),w?.(!1)},0)};return v.createElement("div",{ref:h,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:R},v.createElement("div",{className:"waterFallList-content-listItem-picture"},S&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:P,src:A,crossOrigin:"anonymous",className:"waterFallList-content-listItem-picture-img"}),v.createElement("canvas",{ref:I})),v.createElement(Re,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",ref:_})),v.createElement("div",{className:"waterFallList-content-listItem-info"},v.createElement("div",{className:`waterFallList-content-listItem-info-title ${L?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},c?.title)},T&&T),v.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!L,style:c.price},L)))};function na(t){var e,i,n,o,l,r,s,a,c,d,p,m,w,y,S,C,u,b,f,{reportTagsView:x,showBanner:_}=t,h=Le(t,["reportTagsView","showBanner"]);const{waterFallData:P,getRecommendVideos:I,hashTagSize:g,loadingImage:E,isOpenHashTag:A}=we(),T=Z(null),[D,O]=U(0),[L,F]=U(),R=Z(null),[B,N]=U([]),z=Z(),j=[170,230,300],[k,q]=U(!1),[V,$]=U([]),K=Z(),le=se((ve,de)=>Math.floor(Math.random()*(de-ve+1))+ve,[]),Y=Z([]),[be,W]=U({width:0}),ce=ee(()=>{const ve=be.width||0;return ve>=1200?6:ve>=768&&ve<=1199?4:2},[be]),J=ee(()=>be.width/ce-2,[ce,be]),te=se(()=>{var ve;const de=(ve=z.current)!==null&&ve!==void 0?ve:[],Te=[];for(let pe=0;pe<V?.length;pe++){const Je=Math.floor(pe/ce),je=pe%ce+1;let Ze=0,lt=9999999999;if(Je===0)Te[pe]=pe;else{for(let Pe=0;Pe<Te.length;Pe++)Y.current[Te[Pe]].top+Y.current[Te[Pe]].height<lt&&(Ze=Pe,lt=Y.current[Te[Pe]].top+Y.current[Te[Pe]].height);Te[Ze]=pe}Y.current[pe]===void 0&&(Y.current[pe]={}),Je===0?(je===1?Y.current[pe].left=0:Y.current[pe].left=Y.current[pe-1].left+J+4,Y.current[pe].top=0):(Y.current[pe].left=Y.current[Ze].left,Y.current[pe].top=lt),Y.current[pe].height=Y.current[pe].height||j[le(0,2)],de[pe]={transform:`translate(${Y.current[pe].left}px,${Y.current[pe].top}px)`,width:`${J}px`,height:Y.current[pe].height}}return N([...de]),[...de]},[J,ce,j,le,V]),Se=se((ve,de)=>{Y.current[de]===void 0&&(Y.current[de]={}),Y.current[de].height=ve,z.current=te()},[te]);Q(()=>{z.current=te()},[J,ce,V]),Q(()=>{var ve,de;if(q(!0),P&&I?.({hashTag:P?.hashTag,"itemFilter.itemId":P?.itemId,"itemFilter.itemType":P?.itemType,defaultSize:g,maxSize:g}).then(Te=>{var pe,Je;F(Te),$((Je=(pe=Te?.recList)===null||pe===void 0?void 0:pe.filter(je=>je?.video!==null||je?.product!==null))!==null&&Je!==void 0?Je:[]),q(!1)}),A){const Te=xn;F(Te),$((de=(ve=Te?.recList)===null||ve===void 0?void 0:ve.filter(pe=>pe?.video!==null||pe?.product!==null))!==null&&de!==void 0?de:[]),q(!1)}},[P,I,g,A]);const Ae=se(()=>{R.current!==null&&W({width:R.current.getBoundingClientRect().width})},[]);Q(()=>{if(R.current===null)return;const ve=new ResizeObserver(de=>{Ae()});return ve.observe(R.current),()=>{ve.disconnect()}},[Ae]),se(()=>{q(!0),P&&I?.({hashTag:P?.hashTag,"itemFilter.itemId":P?.itemId,"itemFilter.itemType":P?.itemType}).then(ve=>{var de,Te;$(V?.concat((Te=(de=ve?.recList)===null||de===void 0?void 0:de.filter(pe=>!pe?.video))!==null&&Te!==void 0?Te:[])),q(!1)})},[P,I,V]);const ue=se(()=>{O(T.current.scrollTop)},[]);Q(()=>{var ve;return(ve=T?.current)===null||ve===void 0||ve.addEventListener("scroll",ue),()=>{var de;(de=T?.current)===null||de===void 0||de.removeEventListener("scroll",ue)}},[ue,T]);const He=()=>{var ve,de;!((ve=L?.tag)===null||ve===void 0)&&ve.link&&(x(),window.location.href=(de=L?.tag)===null||de===void 0?void 0:de.link)};return v.createElement(v.Fragment,null,k?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:E,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"waterFallList",ref:R},v.createElement("div",{className:"waterFallList-scroll",ref:T},_&&((e=L?.tag)===null||e===void 0?void 0:e.picture)&&v.createElement("div",{onClick:He},v.createElement(Re,{className:oe({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=L?.tag)===null||i===void 0?void 0:i.picture})),v.createElement("div",{className:"waterFallList-info",style:(n=h?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=L?.tag)===null||o===void 0?void 0:o.info),v.createElement("div",{hidden:!(!((l=L?.tag)===null||l===void 0)&&l.link),className:"waterFallList-collection",style:Object.assign({},(r=h?.textStyles)===null||r===void 0?void 0:r.hashTagLink),onClick:He},((s=L?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),v.createElement("div",{className:"waterFallList-content"},V?.map((ve,de)=>{var Te;return v.createElement(ia,Object.assign({key:de,index:de,rec:ve,list:V,showBorder:D+((Te=T?.current)===null||Te===void 0?void 0:Te.clientHeight),style:B[de],sizeChange:Se,unitWidth:J,reportTagsView:x},h))}),v.createElement("div",{hidden:!(!((a=L?.tag)===null||a===void 0)&&a.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(w=((d=Y?.current[((c=Y?.current)===null||c===void 0?void 0:c.length)-1])===null||d===void 0?void 0:d.top)+((m=Y?.current[((p=Y?.current)===null||p===void 0?void 0:p.length)-1])===null||m===void 0?void 0:m.height))!==null&&w!==void 0?w:0}px)`,height:!((y=L?.tag)===null||y===void 0)&&y.link?((S=K?.current)===null||S===void 0?void 0:S.offsetHeight)||((C=h?.buttonBgStyle)===null||C===void 0?void 0:C.height)||"100px":0}}))),v.createElement("div",{className:"waterFallList-bottom",hidden:!(!((u=L?.tag)===null||u===void 0)&&u.link),style:h?.buttonBgStyle}),v.createElement("div",{ref:K,hidden:!(!((b=L?.tag)===null||b===void 0)&&b.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},h?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{className:"waterFallList-btn",style:h?.buttonStyle,onClick:He},((f=L?.tag)===null||f===void 0?void 0:f.linkTitle)||"Shop the collection"))))}var oa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const la=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:a,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=we(),[m,w]=U(!1),y=Z(null),S=Z(null),C=Z(null),u=Z(null),[b,f]=U(""),x=ee(()=>{var g,E,A,T,D,O,L,F,R,B;return!((g=e?.video)===null||g===void 0)&&g.cover?(E=e?.video)===null||E===void 0?void 0:E.cover:!((T=(A=e?.video)===null||A===void 0?void 0:A.imgUrls)===null||T===void 0)&&T.length?(O=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||O===void 0?void 0:O[0]:!((F=(L=e?.product)===null||L===void 0?void 0:L.homePage)===null||F===void 0)&&F.length?(B=(R=e?.product)===null||R===void 0?void 0:R.homePage)===null||B===void 0?void 0:B[0]:p?.bottom_image||""},[e,p?.bottom_image]),_=ee(()=>{var g,E;return((g=e?.product)===null||g===void 0?void 0:g.title)||((E=e?.video)===null||E===void 0?void 0:E.title)||null},[e]),h=ee(()=>{var g,E,A,T,D,O,L,F,R;return!((g=e?.product)===null||g===void 0)&&g.currency&&(!((E=e?.product)===null||E===void 0)&&E.price)?`${(O=(D=(T=(A=e?.product)===null||A===void 0?void 0:A.currency)===null||T===void 0?void 0:T.split("-")[1])===null||D===void 0?void 0:D.toUpperCase())!==null&&O!==void 0?O:""}${(R=(F=(L=e?.product)===null||L===void 0?void 0:L.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&R!==void 0?R:""}`:null},[e]);Q(()=>{const g=new IntersectionObserver(E=>{E.forEach(A=>{if(A.isIntersecting){if(S.current===null||x==="")return;m&&b?y.current.setSrc(b):y.current.setSrc(x),g.unobserve(S.current)}})});return g.observe(S.current),()=>{g.disconnect()}},[x,m,b]);const P=(g,E,A)=>{const T=g/E;return A/T};Q(()=>{const g=C?.current;g===null||x===""||!m||(g.src=x,g.currentTime=1,g.crossOrigin="anonymous",g.onloadeddata=()=>{const E=u?.current;if(!E)return;const A=E.getContext("2d"),T=window?.innerWidth/2,D=P(g.videoWidth,g.videoHeight,T);E.height=D,E.width=T,A?.drawImage(g,0,0,E.width,E.height),f(E.toDataURL()),g.remove(),E.remove()})},[x,m]);const I=()=>{o(),a?.(n),setTimeout(()=>{var g;(g=s?.current)===null||g===void 0||g.swiper.slideTo(i,0,!1),c?.(!1)},0)};return v.createElement("div",{ref:S,className:"list-content-listItem",key:i,onClick:I,style:{marginBottom:r}},v.createElement("div",{className:"list-content-listItem-picture"},m&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(Re,{loading:"lazy",className:"list-content-listItem-picture-img",ref:y})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${h?"list-content-listItem-info-nowrap":""}`,style:l?.title},_&&_),v.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!h},h)))};function sa(t){var e,i,n,o,l,r,s,a,c,d,p,m,w,y,{reportTagsView:S,showBanner:C}=t,u=Le(t,["reportTagsView","showBanner"]);const{waterFallData:b,getRecommendVideos:f,hashTagSize:x,loadingImage:_,isOpenHashTag:h}=we(),[P,I]=U(),[g,E]=U(),[A,T]=U(!1),D=Z(null),[O,L]=U(!1);se(()=>{O||(L(!0),b&&f?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType}).then(R=>{var B;I(P?.concat((B=R?.recList)!==null&&B!==void 0?B:[])),L(!1)}))},[b,f,P,O]),Q(()=>{var R,B;if(T(!0),b&&f?.({hashTag:b?.hashTag,"itemFilter.itemId":b?.itemId,"itemFilter.itemType":b?.itemType,defaultSize:x,maxSize:x}).then(N=>{var z,j;E(N),I((j=(z=N?.recList)===null||z===void 0?void 0:z.filter(k=>k?.video!==null||k?.product!==null))!==null&&j!==void 0?j:[]),T(!1)}),h){const N=xn;E(N),I((B=(R=N?.recList)===null||R===void 0?void 0:R.filter(z=>z?.video!==null||z?.product!==null))!==null&&B!==void 0?B:[]),T(!1)}},[b,f,x,h]);const F=()=>{var R,B;!((R=g?.tag)===null||R===void 0)&&R.link&&(S(),window.location.href=(B=g?.tag)===null||B===void 0?void 0:B.link)};return v.createElement(v.Fragment,null,A?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:_,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:D},C&&((e=g?.tag)===null||e===void 0?void 0:e.picture)&&v.createElement("div",{onClick:F},v.createElement(Re,{className:oe({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=g?.tag)===null||i===void 0?void 0:i.picture})),v.createElement("div",{className:"list-info",style:(n=u?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=g?.tag)===null||o===void 0?void 0:o.info),v.createElement("div",{hidden:!(!((l=g?.tag)===null||l===void 0)&&l.link),className:"list-collection",onClick:F,style:Object.assign(Object.assign({},(r=u?.textStyles)===null||r===void 0?void 0:r.hashTagLink),{marginBottom:u?.space})},((s=g?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},P?.map((R,B)=>v.createElement(la,Object.assign({key:B,index:B,rec:R,list:P,reportTagsView:S},u)))),v.createElement("div",{hidden:!O,style:{textAlign:"center"}},"loading..."),v.createElement("div",{hidden:!(!((a=g?.tag)===null||a===void 0)&&a.link),style:{height:!((c=g?.tag)===null||c===void 0)&&c.link?((d=u?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((p=u?.buttonStyle)===null||p===void 0?void 0:p.height)||"100px":0}})),v.createElement("div",{className:"list-bottom",hidden:!(!((m=g?.tag)===null||m===void 0)&&m.link),style:u?.buttonBgStyle}),v.createElement("div",{hidden:!(!((w=g?.tag)===null||w===void 0)&&w.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},u?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{className:"list-btn",style:u?.buttonStyle,onClick:F},((y=g?.tag)===null||y===void 0?void 0:y.linkTitle)||"Shop the collection"))))}const aa=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:a,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:m,isFromHashtag:w,bffEventReport:y,themeTag:S}=we(),{backMainFeed:C}=Ue();Z(null);const u=Z(null),[b,f]=U();Q(()=>{const I=document.getElementById("sxp-render"),g=document.getElementById("water-fall");g?u.current=g:(u.current=document.createElement("div"),u.current.setAttribute("id","water-fall"),I?.appendChild(u.current))},[]);const x=()=>{const I=Mi(d,s);!I&&s&&s?.length&&a?.(s),S?.current||C("branch",S?.current,i?.hashTag),P(),r?.(void 0),m?.(!1),setTimeout(()=>{var g,E;I||(E=(g=l?.current)===null||g===void 0?void 0:g.swiper)===null||E===void 0||E.slideTo(c,0,!1),n?.(!1)},0)},[_,h]=U();Q(()=>{i&&h(i)},[i]);const P=se(()=>{var I,g,E,A,T,D;const O=_?.rec;if(!O)return;let L="";w?L="hashTagPage":!((I=O?.video)===null||I===void 0)&&I.url?L="videoPage":!((E=(g=O?.video)===null||g===void 0?void 0:g.imgUrls)===null||E===void 0)&&E.length&&(L="imagePage"),y?.({eventInfo:{contentId:(A=O?.video)===null||A===void 0?void 0:A.itemId,position:c+"",contentTags:JSON.stringify((T=O?.video)===null||T===void 0?void 0:T.tags),traceInfo:(D=O?.video)===null||D===void 0?void 0:D.traceInfo,hashTags:JSON.stringify([_?.hashTag]),fromKName:L,fromKPage:location?.href,timeOnSite:Math.floor((new Date-b)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[_,y,b,w,c]);return Q(()=>{o&&f(new Date)},[o]),Q(()=>{const I=()=>{f(new Date)};return window.addEventListener("pageshow",I),()=>{window.removeEventListener("pageshow",I)}},[]),u.current?Ni.createPortal(v.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},v.createElement(Tn,{icon:oa,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:x}),t?.openFixedSize===!0||t?.openFixedSize===void 0?v.createElement(sa,Object.assign({reportTagsView:P},t)):v.createElement(na,Object.assign({reportTagsView:P},t))),u.current):null};var En=he(aa);const ra=t=>v.createElement(En,Object.assign({},t));var da=he(ra);const ca=Ge(da,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Ys,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var ua=[{title:"\u534F\u8BAE\u8BE6\u60C5",child:[{type:"Switch",label:"\u5FC5\u987B\u540C\u610F\u7528\u6237\u534F\u8BAE",name:["props","privacy_necessity"],extra:"\u5F53\u65B0\u7528\u6237\u8FDB\u5165\u9875\u9762\u65F6\uFF0C\u4F1A\u51FA\u73B0\u7528\u6237\u534F\u8BAE\u5F39\u7A97\uFF0C\u7528\u6237\u9700\u8981\u5148\u540C\u610F\u534F\u8BAE\u540E\u624D\u80FD\u8BBF\u95EE\u5185\u5BB9\u3002"},{type:"Text",label:"\u5F39\u7A97\u6807\u9898",name:["props","privacy_title"]},{type:"TextArea",label:"\u7528\u6237\u534F\u8BAE\u5F39\u7A97\u5185\u5BB9",name:["props","privacy_context"]},{type:"Group",label:"\u9690\u79C1\u653F\u7B56",child:[{type:"Text",name:["props","privacy_policy_title"]},{type:"Text",name:["props","privacy_policy_url"],addonBefore:"https://"}],extra:"\u5F53\u7528\u6237\u70B9\u51FB\u66F4\u591A\u4FE1\u606F\u6309\u94AE\u65F6\uFF0C\u5C06\u4F1A\u8DF3\u8F6C\u81F3\u8BBE\u7F6E\u7684\u94FE\u63A5\u67E5\u770B\u653F\u7B56\u5185\u5BB9"}]}];const In=t=>v.createElement(In,Object.assign({},t));var pa=he(In);const va=Ge(pa,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:ua},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var Di=Object.freeze({__proto__:null,Appoint:ms,AppointForm:co,Commodity:us,CommodityDetail:Xl,CommodityDetailDiroNew:ls,CommodityDiro:Es,CommodityDiroNew:Ds,Consent:va,HashTag:ca,Link:ys,MultiCommodity:Rs,MultiCommodityDiro:Ns,MultiCommodityDiroNew:Ws,Prompt:ts});const fa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ma="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ha=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=Le(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:a,bffEventReport:c}=we(),[d,p]=U(e),m=Ye(ma),w=Ye(fa),y=qt(()=>Fe(void 0,void 0,void 0,function*(){var S,C,u,b,f,x,_,h,P,I,g,E,A,T,D,O,L,F,R,B;if(d){p(!1);const N=(u=yield a?.({videoItemId:(C=(S=o?.video)===null||S===void 0?void 0:S.itemId)!==null&&C!==void 0?C:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(f=(b=o?.video)===null||b===void 0?void 0:b.itemId)!==null&&f!==void 0?f:"",contentName:(_=(x=o?.video)===null||x===void 0?void 0:x.title)!==null&&_!==void 0?_:"",contentTags:JSON.stringify((P=(h=o?.video)===null||h===void 0?void 0:h.tags)!==null&&P!==void 0?P:[]),position:l+"",contentFormat:!((I=o?.video)===null||I===void 0)&&I.url?"video":"image",traceInfo:(g=o?.video)===null||g===void 0?void 0:g.traceInfo}}),N||p(!0)}else{p(!0);const N=(E=yield s?.({content:JSON.stringify(o)}))!==null&&E!==void 0?E:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(T=(A=o?.video)===null||A===void 0?void 0:A.itemId)!==null&&T!==void 0?T:"",contentName:(O=(D=o?.video)===null||D===void 0?void 0:D.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((F=(L=o?.video)===null||L===void 0?void 0:L.tags)!==null&&F!==void 0?F:[]),position:l+"",contentFormat:!((R=o?.video)===null||R===void 0)&&R.url?"video":"image",traceInfo:(B=o?.video)===null||B===void 0?void 0:B.traceInfo}}),N||p(!1)}}),200);return v.createElement("button",Object.assign({},r,{onClick:y}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||m:n||w,alt:"icon"}))};var Cn=he(ha);const ga=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[a,c]=U(!1),{bffEventReport:d,sxpParameter:p,waterFallData:m,openHashtag:w,bffFbReport:y}=we(),S=Z(0),[C,u]=U(!1),[b,f]=U(!0),{isActive:x}=yn(),_=Z(null),[h,P]=U(""),I=`pb-cache-video-${e}`,g=Z(null),E=ee(()=>r?.mode==="2",[r]),A=ee(()=>{var V;return r?.mode==="2"?`translateY(-${50+((V=r?.offsetTop)!==null&&V!==void 0?V:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),T=ee(()=>{var V;return((V=t?.video)===null||V===void 0?void 0:V.cover)||h},[h,t]),D=ee(()=>E?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[E]),O=ee(()=>r?.bgWay==="1",[r]),L=ee(()=>O&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,O]);Q(()=>{s&&s?.muted(o)},[o,s]);const F=se(()=>{s&&s?.play()},[s]),R=Ye("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),B=se(()=>{var V,$,K,le,Y,be,W,ce,J;if(!s)return;u(!0),c(!1);const te=n[e];if(te&&s?.duration()){S.current=s?.currentTime()||0;const Se=((V=s?.duration())!==null&&V!==void 0?V:0).toFixed(2),Ae=(($=s?.currentTime())!==null&&$!==void 0?$:0).toFixed(2),ue=b?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(le=(K=te?.video)===null||K===void 0?void 0:K.itemId)!==null&&le!==void 0?le:"",contentName:(be=(Y=te?.video)===null||Y===void 0?void 0:Y.title)!==null&&be!==void 0?be:"",playType:ue,startTime:Ae,videoDuration:Se,contentTags:JSON.stringify((ce=(W=te?.video)===null||W===void 0?void 0:W.tags)!==null&&ce!==void 0?ce:[]),position:e+"",contentFormat:"video",traceInfo:(J=te?.video)===null||J===void 0?void 0:J.traceInfo}}),f(!1)}},[d,n,e,b,s]),N=se(()=>{var V;if(!s||h||!E)return;const $=document.getElementById("player-container-id_html5_api");if(!$||($.style.objectFit="contain",!((V=t?.video)===null||V===void 0)&&V.cover||!_||!_.current||O))return;const K=()=>{const le=$,Y=_?.current,be=Y.getContext("2d"),W=window?.innerWidth,ce=window?.innerHeight;Y.height=ce,Y.width=W,be?.drawImage(le,0,0,Y.width,Y.height),P(Y.toDataURL())};K(),setTimeout(()=>{K()},500)},[s,O,t,h,E]),z=se(()=>{s&&N()},[s,N]);se(()=>{u(!0)},[]);const j=se(V=>()=>{if(!s||!C)return;const $=s?.paused();switch(V){case"start":if(!$)return;s?.play(),c(!1);break;case"pause":if($)return;s?.pause(),c(!0);break;default:$?s?.play():s?.pause(),c(!$);break}},[C,s]),k=se(()=>{var V,$,K,le,Y,be,W,ce,J;if(!s||l!==e)return;const te=n[e],Se=((V=s?.duration())!==null&&V!==void 0?V:0).toFixed(2),Ae=(($=s?.currentTime())!==null&&$!==void 0?$:0).toFixed(2);if(s?.duration()){const ue=(s?.currentTime()-S.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(le=(K=te?.video)===null||K===void 0?void 0:K.itemId)!==null&&le!==void 0?le:"",contentName:(be=(Y=te?.video)===null||Y===void 0?void 0:Y.title)!==null&&be!==void 0?be:"",endTime:Ae,videoDuration:Se,playDuration:ue,contentTags:JSON.stringify((ce=(W=te?.video)===null||W===void 0?void 0:W.tags)!==null&&ce!==void 0?ce:[]),position:e+"",contentFormat:"video",traceInfo:(J=te?.video)===null||J===void 0?void 0:J.traceInfo}})}},[n,e,d,s,l]);Q(()=>{if(!x||!s)return;const V=t?.video.url;if(!V)return;s?.src(V),c(!1);const $=document.querySelector(`#${I}`),K=document.querySelector("#player-container-id"),le=document.querySelector("#player-container-id-copy");if(!(!K&&!le))return $?.appendChild(K||le),s?.on("loadedmetadata",z),s?.on("loadeddata",N),s?.on("playing",B),s?.on("pause",k),s?.on("ended",F),()=>{le?.appendChild(K),s?.off("loadedmetadata",z),s?.off("loadeddata",N),s?.off("playing",B),s?.off("pause",k),s?.off("ended",F)}},[x,I,t,s]),Q(()=>{!s||!C||(x?(y?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[x,C,s]),Q(()=>{if(!x||!s)return;!s?.paused()&&w?s?.pause():w||s?.play()},[w,x,s]),Q(()=>{if(!x)return;const V=()=>{j("start")(),y?.({eventName:"ViewContent"})},$=j("pause");return at.on(Ke.PAGE_DID_SHOW,V),at.on(Ke.PAGE_DID_HIDE,$),()=>{at.off(Ke.PAGE_DID_SHOW,V),at.off(Ke.PAGE_DID_HIDE,$)}},[j,x]);const q=ee(()=>!p?.placeholder_image||C?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image}),[C,p?.placeholder_image]);return Q(()=>{if(!s)return;const V=()=>{var $;l===e&&(!(($=t?.video)===null||$===void 0)&&$.url)&&s&&!a&&j("pause")()};return window.addEventListener("beforeunload",V),()=>{window.removeEventListener("beforeunload",V)}},[l,e,t,s,j,a]),t?.video?v.createElement(v.Fragment,null,E?v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:j(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},L)},!O&&v.createElement(Re,{src:T,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},D)}),v.createElement("canvas",{ref:_,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:A,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("div",{className:"n-full-screen",ref:g,id:I,style:{width:"100%",height:"100%"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:R}))),q):v.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:j()},v.createElement("div",{className:"n-full-screen",ref:g,id:I,style:{width:"100%",height:"100%"}}),q,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:R}))):null};var ba=he(ga);const ya=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=U(t),s=a=>{a.stopPropagation();const c=!l;r(c),n?.(c)};return v.createElement("button",{style:o,className:"pb-toggle-button",onClick:s},v.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var _n=he(ya);const wa=({imageUrl:t,style:e})=>{const[i,n]=U(!0);st(),Q(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=Ye("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=ee(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return v.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},v.createElement("img",{src:t||o}))},kn=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:o}=t,l=ee(()=>n?.mode==="2",[n]),r=ee(()=>{var d;return n?.mode==="2"?`translateY(-${50+((d=n?.offsetTop)!==null&&d!==void 0?d:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),s=ee(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),a=ee(()=>n?.bgWay==="1",[n]),c=ee(()=>a&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,a]);return v.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},c)},(!l||!a)&&v.createElement(Re,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s),onLoad:o}),l&&v.createElement(Re,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0}}))},Sa=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var a;const c=Z(),{isActive:d}=yn(),{sxpParameter:p,openHashtag:m}=we(),[w,y]=U(!1);Q(()=>{w&&d?(c?.current&&c.current.swiper.autoplay.start(),m?l(n):r(o)):c?.current&&c.current.swiper.autoplay.stop()},[n,d,l,m,o,r,w]);const S=se(()=>{w||y(!0)},[w]);return v.createElement(ht,{ref:c,defaultValue:0,direction:"horizontal",modules:[Ft,Vt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((a=s?.delay)!==null&&a!==void 0?a:3)*1e3}},t?.map((C,u)=>v.createElement(ot,{key:u},v.createElement(kn,{src:!w&&u>0?"":C,height:i,imgUrlsPostConfig:s,onShowFirstImage:S}))))};var Ta=he(Sa);const xa=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=U(!1),{setWaterFallData:a,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:m}=we(),w=y=>{p?m?.(!0):d?.(n),a?.(i?{hashTag:y,itemId:e,itemType:i,rec:o}:{hashTag:y,rec:o}),c?.(!0)};return ee(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement($t,null,t?.map((y,S)=>v.createElement(ot,{key:S,hidden:r?!1:S>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>w(y)},`#${y}`))))};var Dn=he(xa),Ea="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 Wt(t){return he(function(e){const{$store:i}=Yn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=Li(i,d);return r=r.replace(a,p),p}})}),r},o=ee(()=>{var l,r,s;const{bindDatas:a}=e,c=Le(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:m}=d;m.replace(/{{\s*([\w.]+)\s*}}/g,(w,y)=>{var S,C;if(y){const u=(C=(S=Li(i,y))!==null&&S!==void 0?S:e[p])!==null&&C!==void 0?C:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=Et(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(r=c?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return v.createElement(t,Object.assign({},o,o.eventMap))})}const Ia=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=st(),l=ee(()=>{var r,s,a,c,d,p,m,w,y,S,C,u,b,f,x,_,h,P,I,g,E,A,T,D,O,L,F,R,B,N,z;if(!t?.video)return null;let j=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?j="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?j="\u5546\u54C1CTA":j=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const k=i?.[j];if(((p=k?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((w=k?.item)===null||w===void 0?void 0:w.type)==="Commodity"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((S=k?.item)===null||S===void 0?void 0:S.type)==="CommodityDiroNew"&&!(!((C=t?.video)===null||C===void 0)&&C.bindProduct)||((u=k?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((f=(b=t?.video)===null||b===void 0?void 0:b.bindProducts)===null||f===void 0)&&f.length)||((x=k?.item)===null||x===void 0?void 0:x.type)==="MultiCommodityDiro"&&!(!((h=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||h===void 0)&&h.length)||((P=k?.item)===null||P===void 0?void 0:P.type)==="MultiCommodityDiroNew"&&!(!((g=(I=t?.video)===null||I===void 0?void 0:I.bindProducts)===null||g===void 0)&&g.length))return null;if(k&&n){const q=n[(E=k?.item)===null||E===void 0?void 0:E.type],V=Wt(q),$=(A=q?.extend)===null||A===void 0?void 0:A.defaulSetting,K=((O=(D=(T=k?.item)===null||T===void 0?void 0:T.event)===null||D===void 0?void 0:D.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return v.createElement(V,Object.assign({style:Object.assign(Object.assign(Object.assign({},$?.style),(L=k?.item)===null||L===void 0?void 0:L.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},$?.textStyle),(F=k?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(B=(R=k?.item)===null||R===void 0?void 0:R.bindDatas)!==null&&B!==void 0?B:[]},$?.props,(N=k?.item)===null||N===void 0?void 0:N.props,{event:((z=k?.item)===null||z===void 0?void 0:z.event)||{},schema:o,id:k?.id,key:k?.id,recData:t,isExternalLink:K,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var An=he(Ia);const Pn=({nudge:t})=>{var e,i,n,o,l,r,s;return v.createElement(v.Fragment,null,t?.isOpen&&v.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?v.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,v.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},Ai="FOR U",Ca=({tagList:t=[],setActiveIndex:e})=>{const[i,n]=U(Ai),{getRecommendVideos:o,setRtcList:l,setCacheRtcList:r,setCacheActiveIndex:s,setLoading:a,swiperRef:c,waterFallData:d,bffEventReport:p}=we(),{backMainFeed:m}=Ue(),w=ee(()=>[Ai,...t],[t]),y=S=>()=>{if(S===i)return;S!=="FOR U"?p?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`[${S}]`}}):m("theme",i);let C;S!==Ai&&(C=S),a?.(!0),o?.({themeTag:C}).then(u=>{var b,f,x,_;at.emit(Ke.CHANGE_THEME_TAG,C),l?.((b=u?.recList)!==null&&b!==void 0?b:[]),r?.((f=u?.recList)!==null&&f!==void 0?f:[]),e?.(0),s?.(0),(_=(x=c?.current)===null||x===void 0?void 0:x.swiper)===null||_===void 0||_.slideTo(0)}).finally(()=>{a?.(!1)}),n(S)};return d||t.length<=0?null:v.createElement("div",{className:"clc-sxp-tagbar"},v.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},w.map(S=>v.createElement("li",{className:`clc-sxp-tagbar-list-item ${S===i?"clc-sxp-tagbar-list-item-active":""}`,key:S,onClick:y(S)},S))))};var On=he(Ca);const Mn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:a,nudge:c,_schema:d,hashTagStyle:p,tagList:m=[],licenseUrl:w})=>{var y,S,C,u,b,f,x,_,h,P;const{schema:I}=st(),[g,E]=U(0),A=Z(0),[T,D]=U(!1),[O,L]=U(!0),F=Z(),[R,B]=U(!1),[N,z]=U(!1),{loadVideos:j,bffEventReport:k,loading:q,setPopupDetailData:V,ctaEvent:$,swiperRef:K,waterFallData:le,setOpenHashtag:Y,appDomain:be,openHashtag:W,loadingImage:ce,isFromHashtag:J,popupDetailData:te,bffFbReport:Se,curTime:Ae,h5EnterLink:ue}=we(),{backMainFeed:He}=Ue(),[ve,de]=U(null),Te=Z(),{productView:pe}=Ue(),Je=ee(()=>r.length>0&&!q&&Kn(),[r,q]),je=se(()=>{if(r.length<=0)return;Xn();const M=new Date;F.current=M,T&&ue?.(),Se?.({eventName:"PageView"}),D(!0)},[r.length,Se,ue,T]),Ze=Z();Q(()=>{var M,ae,X,ie;if(!Ze.current&&!ve&&Te?.current&&r?.length>0){Ze.current=!0;const me=TCPlayer("player-container-id",{licenseUrl:w,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:!((ae=(M=r?.[0])===null||M===void 0?void 0:M.video)===null||ae===void 0)&&ae.url?[{src:(ie=(X=r?.[0])===null||X===void 0?void 0:X.video)===null||ie===void 0?void 0:ie.url}]:[]});me?.ready(()=>{de(me)})}},[ve,w,r]),Q(()=>{T||je()},[je,T]),Q(()=>{var M;const ae=r?.findIndex(X=>{var ie,me,ye,ne,fe,_e,Be,ze,Ce;return s==="\u591A\u5546\u54C1CTA"?((ie=X?.video)===null||ie===void 0?void 0:ie.bindProducts)&&((ye=(me=X?.video)===null||me===void 0?void 0:me.bindProducts)===null||ye===void 0?void 0:ye.length)>0:s==="\u5546\u54C1CTA"?(ne=X?.video)===null||ne===void 0?void 0:ne.bindProduct:((_e=(fe=X?.video)===null||fe===void 0?void 0:fe.bindCta)===null||_e===void 0?void 0:_e.itemId)===s&&(((Be=X?.video)===null||Be===void 0?void 0:Be.url)||((Ce=(ze=X?.video)===null||ze===void 0?void 0:ze.imgUrls)===null||Ce===void 0?void 0:Ce.length))})||0;(M=K?.current)===null||M===void 0||M.swiper.slideTo(ae)},[s,K]),Q(()=>{const M=r?.[g],ae=()=>{var X,ie,me,ye,ne,fe,_e,Be,ze,Ce,Oe,pt,vt,ft,dt,xt;if(document.visibilityState==="hidden"){W||(at.emit(Ke.PAGE_DID_HIDE,M),ke(M),De(M));let Me="";te&&(!((ie=(X=M?.video)===null||X===void 0?void 0:X.bindProducts)===null||ie===void 0)&&ie.length||!((me=M?.video)===null||me===void 0)&&me.bindProduct)?Me="pdpPage":te&&((_e=o?.[(fe=(ne=(ye=M?.video)===null||ye===void 0?void 0:ye.bindCta)===null||ne===void 0?void 0:ne.itemId)!==null&&fe!==void 0?fe:""].item)===null||_e===void 0?void 0:_e.type)==="Appoint"?Me="formPage":J?Me="hashTagPage":!((Be=M?.video)===null||Be===void 0)&&Be.url?Me="videoPage":!((ze=M?.video)===null||ze===void 0)&&ze.imgUrls&&(!((Oe=(Ce=M?.video)===null||Ce===void 0?void 0:Ce.imgUrls)===null||Oe===void 0)&&Oe.length)?Me="imagePage":M?.product&&(Me="productPage"),k?.({eventInfo:{sessionDuration:Math.floor((new Date-Ae.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(pt=M?.video)===null||pt===void 0?void 0:pt.itemId,productId:(vt=M?.product)===null||vt===void 0?void 0:vt.itemId,position:g+"",fromKName:Me,fromKPage:location?.href,ctatId:(xt=(dt=(ft=M?.video)===null||ft===void 0?void 0:ft.bindCta)===null||dt===void 0?void 0:dt.itemId)!==null&&xt!==void 0?xt:""}})}else document.visibilityState==="visible"&&(je(),W||(et(g),at.emit(Ke.PAGE_DID_SHOW,M)),He("external"))};return document.addEventListener("visibilitychange",ae),()=>{document.removeEventListener("visibilitychange",ae)}},[g,k,r,je,te,J,o,Ae,He,W]),Q(()=>{const M=()=>{He("external")};return window.addEventListener("pageshow",M),()=>{window.removeEventListener("pageshow",M)}},[]);const lt=ee(()=>{let M=0;return m.length>0&&(M+=45,le&&(M-=45)),M},[m,le]),Pe=ee(()=>{let M=0;return t?.logoUrl&&t?.isShowLogo&&(M+=45),i-M-lt},[t,i,lt]),Yt=ee(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),H=se((M,ae)=>{var X,ie,me,ye;return!((X=M?.video)===null||X===void 0)&&X.url?v.createElement(ba,{rec:M,index:ae,muted:O,data:r,height:Pe,activeIndex:g,videoPostConfig:t?.videoPost,videoRef:ve}):!((ie=M?.video)===null||ie===void 0)&&ie.imgUrls?v.createElement(Ta,{key:M?.video.itemId,imgUrls:M?.video.imgUrls,width:n,height:Pe,rec:M,index:ae,onReportViewImageEnd:ke,onViewImageStartEvent:et,imgUrlsPostConfig:t?.imgUrlsPost}):M.product&&Array.isArray(t?.productPost)&&((me=t?.productPost)===null||me===void 0?void 0:me.length)>0?(ye=t?.productPost)===null||ye===void 0?void 0:ye.map((ne,fe)=>{var _e,Be,ze,Ce,Oe,pt,vt,ft;const dt=l[(_e=ne?.item)===null||_e===void 0?void 0:_e.type],xt=Wt(dt),Me=(Be=dt?.extend)===null||Be===void 0?void 0:Be.defaulSetting;return v.createElement(xt,Object.assign({key:`${ae}${fe}`,textStyle:Object.assign(Object.assign({},Me?.textStyle),(ze=ne?.item)===null||ze===void 0?void 0:ze.textStyle),bindDatas:(Oe=(Ce=ne?.item)===null||Ce===void 0?void 0:Ce.bindDatas)!==null&&Oe!==void 0?Oe:[]},Me?.props,(pt=ne?.item)===null||pt===void 0?void 0:pt.props,{event:((vt=ne?.item)===null||vt===void 0?void 0:vt.event)||{},schema:I,id:ne?.id,viewTime:F.current,rec:M,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},Me?.style),(ft=ne?.item)===null||ft===void 0?void 0:ft.style),{height:"100%",overflow:"auto"}),index:ae}))}):null},[n,r,Pe,O,g,t?.productPost,F,a,l,I,ve]),G=se(M=>{z(M)},[]),re=ee(()=>N?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[N]),Ee=se((M,ae)=>{var X,ie,me,ye,ne,fe,_e;return M?.video?v.createElement(v.Fragment,null,((X=M?.video)===null||X===void 0?void 0:X.title)&&!N&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Pn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(An,{rec:M,index:ae,tempMap:o,resolver:l})):null,v.createElement("div",null,v.createElement(Gt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(me=(ie=M?.video)===null||ie===void 0?void 0:ie.title)!==null&&me!==void 0?me:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:G}),v.createElement(Dn,{index:g,tags:(ne=(ye=M?.video)===null||ye===void 0?void 0:ye.hashTags)!==null&&ne!==void 0?ne:[],itemId:(fe=M?.video)===null||fe===void 0?void 0:fe.itemId,itemType:!((_e=M?.video)===null||_e===void 0)&&_e.itemId?"VIDEO":null,rec:M,hashTagStyle:p})))):null},[e,g,o,l,a,c,p,t,G,N,re]),xe=se((M,ae)=>{var X,ie,me,ye;if(!t?.isShowLike)return;let ne=(X=t?.likeIconY)!==null&&X!==void 0?X:400;return le&&ne<40&&(ne+=40),M?.video?v.createElement(Cn,{key:M.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:M.isCollected,recData:M,className:"clc-sxp-like-button",style:{[(ie=t.likeIconXPosit)!==null&&ie!==void 0?ie:"right"]:(me=t.likeIconX)!==null&&me!==void 0?me:0,[(ye=t.likeIconYPosit)!==null&&ye!==void 0?ye:"bottom"]:ne},position:ae}):null},[t,le]),ke=M=>{var ae,X,ie,me,ye,ne;if(!(!((ae=M?.video)===null||ae===void 0)&&ae.url)&&(!((X=M?.video)===null||X===void 0)&&X.imgUrls)){const fe=Date.now(),_e=(fe-A.current)/1e3;k?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(me=(ie=M?.video)===null||ie===void 0?void 0:ie.itemId)!==null&&me!==void 0?me:"",contentName:(ye=M?.video.title)!==null&&ye!==void 0?ye:"",imageEndTime:`${fe}`,playDuration:`${_e}`,contentTags:JSON.stringify((ne=M?.video.tags)!==null&&ne!==void 0?ne:[]),position:g+"",contentFormat:"image",traceInfo:M?.video.traceInfo}})}},Ie=M=>{var ae,X,ie,me,ye,ne,fe,_e,Be,ze;F.current=new Date;const Ce=r[M.previousIndex];if(!Ce)return;M.previousIndex-M.activeIndex<0?(k?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(X=(ae=Ce?.video)===null||ae===void 0?void 0:ae.itemId)!==null&&X!==void 0?X:"",productId:(me=(ie=Ce?.product)===null||ie===void 0?void 0:ie.itemId)!==null&&me!==void 0?me:"",requestId:null}}),ke(Ce)):(k?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(ne=(ye=Ce?.video)===null||ye===void 0?void 0:ye.itemId)!==null&&ne!==void 0?ne:"",productId:(_e=(fe=Ce.product)===null||fe===void 0?void 0:fe.itemId)!==null&&_e!==void 0?_e:"",requestId:null}}),ke(Ce)),De(Ce);const Oe=r[M.activeIndex];!(!((Be=Oe?.video)===null||Be===void 0)&&Be.url)&&!(!((ze=Oe?.video)===null||ze===void 0)&&ze.imgUrls)&&Oe?.product&&Se?.({eventName:"ProductView"})},De=M=>{var ae,X,ie;!(!((ae=M?.video)===null||ae===void 0)&&ae.url)&&!(!((X=M?.video)===null||X===void 0)&&X.imgUrls)&&M?.product&&pe(M,M.product,(ie=M?.product)===null||ie===void 0?void 0:ie.bindCta,F.current,g)};Q(()=>{const M=r[g];W&&De(M)},[W,r,g]);const et=M=>{var ae,X,ie,me,ye,ne;const fe=r[M];if(!(!((ae=fe?.video)===null||ae===void 0)&&ae.url)&&(!((X=fe?.video)===null||X===void 0)&&X.imgUrls)){const _e=Date.now();A.current=_e,k?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(me=(ie=fe?.video)===null||ie===void 0?void 0:ie.itemId)!==null&&me!==void 0?me:"",contentName:(ye=fe?.video.title)!==null&&ye!==void 0?ye:"",imageStartTime:`${_e}`,contentTags:JSON.stringify((ne=fe?.video.tags)!==null&&ne!==void 0?ne:[]),position:M+"",contentFormat:"image",traceInfo:fe?.video.traceInfo}}),Se?.({eventName:"ViewContent"})}},tt=ee(()=>{const M=r?.map((ae,X)=>g===X||X-1===g||X+1===g?ae:null);return le?M:M.concat([{loading:!0}])},[r,g,le]),wt=ee(()=>q?v.createElement("div",{style:{height:Pe,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:ce,alt:"loading...",style:{objectFit:"contain"}})):tt?.map((M,ae)=>v.createElement(ot,{key:ae,virtualIndex:ae},M&&v.createElement(v.Fragment,null,M?.loading?v.createElement("div",{style:{height:Pe,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:ce,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,H(M,ae),Ee(M,ae),xe(M,ae))))),[n,r,Pe,q,Ee,H,tt,ce]),St=Ye("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),Tt=Ye("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},le&&v.createElement(Tn,{icon:Ea,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{Y?.(!0)}}),Yt,v.createElement(On,{tagList:m,setActiveIndex:E}),Je?v.createElement(wa,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((y=t?.swipeTipOffset)!==null&&y!==void 0?y:0)}%`}}):null,v.createElement(ht,{style:{marginTop:lt},ref:K,onSlideChange:()=>{K.current.swiper.allowTouchMove=!1,setTimeout(()=>{K.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:M=>{E(M.activeIndex),!W&&(Ie(M),!le&&M?.activeIndex+2>=r?.length&&(R||(B(!0),j?.(Math.ceil(g/10)+1).then(()=>{B(!1)}))))},direction:"vertical",height:Pe},v.createElement(_n,{style:{position:"fixed",visibility:!((C=(S=r?.[g])===null||S===void 0?void 0:S.video)===null||C===void 0)&&C.url?"visible":"hidden",zIndex:999,[(u=t?.muteIconXPosit)!==null&&u!==void 0?u:"right"]:(b=t?.muteIconX)!==null&&b!==void 0?b:0,[(f=t?.muteIconYPosit)!==null&&f!==void 0?f:"bottom"]:(x=t?.muteIconY)!==null&&x!==void 0?x:23},defaultValue:O,activeIcon:t?.unMuteIcon?t?.unMuteIcon:St,unactiveIcon:t?.muteIcon?t?.muteIcon:Tt,onChange:L}),wt),v.createElement(En,Object.assign({},(P=(h=(_=t?.hashTag)===null||_===void 0?void 0:_[0])===null||h===void 0?void 0:h.item)===null||P===void 0?void 0:P.props)),v.createElement("div",{style:{position:"absolute",zIndex:-100}},v.createElement("video",{ref:Te,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),v.createElement("div",{id:"player-container-id-copy"})))},_a=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>v.createElement(ht,{defaultValue:0,direction:"horizontal",modules:[Ft,Vt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>v.createElement(ot,{key:r},v.createElement(kn,{src:r,height:i,imgUrlsPostConfig:n}))));var ka=he(_a);const Da=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[a,c]=U(!1),d=Z(null),{bffEventReport:p,sxpParameter:m,waterFallData:w,openHashtag:y}=we(),S=Z(0),[C,u]=U(!1),[b,f]=U(!0),x=Z(null),[_,h]=U("");Q(()=>{d.current&&(d.current.muted=o)},[o]);const P=se(()=>{var N;(N=d.current)===null||N===void 0||N.play()},[]),I=Ye("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),g=se(()=>{var N,z,j,k,q,V,$,K,le,Y,be,W,ce;c(!1);const J=n[e];if(J&&(!((N=d?.current)===null||N===void 0)&&N.duration)){S.current=((z=d?.current)===null||z===void 0?void 0:z.currentTime)||0;const te=((k=(j=d.current)===null||j===void 0?void 0:j.duration)!==null&&k!==void 0?k:0).toFixed(2),Se=((V=(q=d.current)===null||q===void 0?void 0:q.currentTime)!==null&&V!==void 0?V:0).toFixed(2),Ae=b?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(K=($=J?.video)===null||$===void 0?void 0:$.itemId)!==null&&K!==void 0?K:"",contentName:(Y=(le=J?.video)===null||le===void 0?void 0:le.title)!==null&&Y!==void 0?Y:"",playType:Ae,startTime:Se,videoDuration:te,contentTags:JSON.stringify((W=(be=J?.video)===null||be===void 0?void 0:be.tags)!==null&&W!==void 0?W:[]),position:e+"",contentFormat:"video",traceInfo:(ce=J?.video)===null||ce===void 0?void 0:ce.traceInfo}}),f(!1)}},[p,n,e,b]),E=se(()=>{u(!0)},[]),A=se(N=>()=>{var z,j,k,q,V;if(!C)return;const $=(z=d.current)===null||z===void 0?void 0:z.paused;switch(N){case"start":if(!$)return;(j=d.current)===null||j===void 0||j.play(),c(!1);break;case"pause":if($)return;(k=d.current)===null||k===void 0||k.pause(),c(!0);break;default:$?(q=d.current)===null||q===void 0||q.play():(V=d.current)===null||V===void 0||V.pause(),c(!$);break}},[C]),T=se(()=>{var N,z,j,k,q,V,$,K,le,Y,be,W,ce;const J=n[e],te=((z=(N=d.current)===null||N===void 0?void 0:N.duration)!==null&&z!==void 0?z:0).toFixed(2),Se=((k=(j=d.current)===null||j===void 0?void 0:j.currentTime)!==null&&k!==void 0?k:0).toFixed(2);if(!((q=d?.current)===null||q===void 0)&&q.duration){const Ae=(((V=d?.current)===null||V===void 0?void 0:V.currentTime)-S.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(K=($=J?.video)===null||$===void 0?void 0:$.itemId)!==null&&K!==void 0?K:"",contentName:(Y=(le=J?.video)===null||le===void 0?void 0:le.title)!==null&&Y!==void 0?Y:"",endTime:Se,videoDuration:te,playDuration:Ae,contentTags:JSON.stringify((W=(be=J?.video)===null||be===void 0?void 0:be.tags)!==null&&W!==void 0?W:[]),position:e+"",contentFormat:"video",traceInfo:(ce=J?.video)===null||ce===void 0?void 0:ce.traceInfo}})}},[n,e,p]),D=ee(()=>r?.mode==="2",[r]),O=ee(()=>{var N;return r?.mode==="2"?`translateY(-${50+((N=r?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),L=ee(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||_},[_,t]),F=se(()=>{if(!x||!d||!d.current||!x.current)return;const N=d?.current,z=x?.current,j=z.getContext("2d"),k=window?.innerWidth,q=window?.innerHeight;z.height=q,z.width=k,j?.drawImage(N,0,0,z.width,z.height),h(z.toDataURL())},[]);Q(()=>{var N,z,j,k;if(d.current){if(c(!1),!d.current.src){const q=t?.video.url;if(q.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const V=new window.Hls;V.loadSource(q),V.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=q;else d.current.src=q;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(N=d.current)===null||N===void 0||N.addEventListener("loadedmetadata",E),(z=d.current)===null||z===void 0||z.addEventListener("canplay",E),(j=d.current)===null||j===void 0||j.addEventListener("playing",g),(k=d.current)===null||k===void 0||k.addEventListener("loadeddata",F),()=>{var q,V,$,K;(q=d.current)===null||q===void 0||q.removeEventListener("loadedmetadata",E),(V=d.current)===null||V===void 0||V.removeEventListener("canplay",E),($=d.current)===null||$===void 0||$.removeEventListener("playing",g),(K=d.current)===null||K===void 0||K.removeEventListener("loadeddata",F)}}},[E,g,t?.video,F]);const R=ee(()=>!m?.placeholder_image||C?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image}),[C,m?.placeholder_image]);Q(()=>{const N=()=>{var z,j;l===e&&(!((z=t?.video)===null||z===void 0)&&z.url)&&(!((j=d?.current)===null||j===void 0)&&j.src)&&!a&&A("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[l,e,t,d,A,a]);const B=ee(()=>D?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[D]);return t?.video?v.createElement(v.Fragment,null,D?v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement(Re,{src:L,style:Object.assign({height:i,width:s,objectFit:"cover"},B)}),v.createElement("canvas",{ref:x,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:O,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:s,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:P,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:I}))),R):v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:P}),R,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:I}))):null};var Aa=he(Da);const Pi={};Object.values(Di).forEach(t=>{Pi[t.extend.type]=t});const Pa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Oa="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ma=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:a=375,appDomain:c,tagList:d=[]})=>{const p=ee(()=>{let h=0;return e?.logoUrl&&e?.isShowLogo&&(h+=45),d.length>0&&(h+=45),s-h},[e,s,d]),m=(h,P)=>{var I,g,E,A;if(!((I=h?.video)===null||I===void 0)&&I.url)return v.createElement(Aa,{rec:h,index:P,muted:!0,width:a,data:t??[],height:p,activeIndex:P,videoPostConfig:e?.videoPost});if(!((g=h?.video)===null||g===void 0)&&g.imgUrls)return v.createElement(ka,{key:h?.video.itemId,imgUrls:h?.video.imgUrls,width:a,height:p,rec:h,index:P,imgUrlsPostConfig:e?.imgUrlsPost});if(h.product&&h.product&&Array.isArray(e?.productPost)&&((E=e?.productPost)===null||E===void 0?void 0:E.length)>0)return(A=e?.productPost)===null||A===void 0?void 0:A.map((T,D)=>{var O,L,F,R,B,N,z,j;const k=Pi[(O=T?.item)===null||O===void 0?void 0:O.type],q=Wt(k),V=(L=k?.extend)===null||L===void 0?void 0:L.defaulSetting;return v.createElement(q,Object.assign({key:`${P}${D}`,textStyle:Object.assign(Object.assign({},V?.textStyle),(F=T?.item)===null||F===void 0?void 0:F.textStyle),bindDatas:(B=(R=T?.item)===null||R===void 0?void 0:R.bindDatas)!==null&&B!==void 0?B:[]},V?.props,(N=T?.item)===null||N===void 0?void 0:N.props,{event:((z=T?.item)===null||z===void 0?void 0:z.event)||{},id:T?.id,rec:h,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},V?.style),(j=T?.item)===null||j===void 0?void 0:j.style),{width:a,height:p,overflow:"auto"}),index:P}))})},w=ee(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),y=(h,P)=>e?.isShowCTA===void 0||e?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(An,{rec:h,index:P,tempMap:o,resolver:Pi})):null,S=(h,P)=>{var I,g,E,A,T,D,O;return h?.video?v.createElement(v.Fragment,null,((I=h?.video)===null||I===void 0?void 0:I.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Pn,{nudge:n}),y(h,P),v.createElement("div",null,v.createElement(Gt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(E=(g=h?.video)===null||g===void 0?void 0:g.title)!==null&&E!==void 0?E:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(Dn,{index:P,tags:(T=(A=h?.video)===null||A===void 0?void 0:A.hashTags)!==null&&T!==void 0?T:[],itemId:(D=h?.video)===null||D===void 0?void 0:D.itemId,itemType:!((O=h?.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:h,hashTagStyle:r}))):null},C=Ye(Oa,c),u=Ye(Pa,c),b=(h,P)=>{var I,g,E,A;if(!e?.isShowLike)return;let T=(I=e?.likeIconY)!==null&&I!==void 0?I:400;return T<40&&(T+=40),h?.video?v.createElement(Cn,{key:h.position,activeIcon:(g=e?.likeIcon)!==null&&g!==void 0?g:C,unActicveIcon:(E=e?.unlikeIcon)!==null&&E!==void 0?E:u,position:P,active:h.isCollected,recData:h,className:"clc-sxp-like-button",style:{top:T,right:(A=e?.likeIconX)!==null&&A!==void 0?A:0}}):null},f=Ye("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),x=Ye("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),_=(h,P)=>{var I,g,E,A;return v.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},w,v.createElement(On,{tagList:d}),v.createElement(_n,{style:{position:"absolute",right:(I=e?.muteIconX)!==null&&I!==void 0?I:0,visibility:!((E=(g=t?.[P])===null||g===void 0?void 0:g.video)===null||E===void 0)&&E.url?"visible":"hidden",bottom:(A=e?.muteIconY)!==null&&A!==void 0?A:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:f,unactiveIcon:e?.muteIcon?e?.muteIcon:x}),m(h,P),S(h,P),b(h,P))};return v.createElement("div",{className:oe({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((h,P)=>_(h,P)))};var La=he(Ma);const ja=()=>{const{schema:t,resolver:e,popup:i}=st(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=we(),{productView:r}=Ue(),[s,a]=U(),c=Z(null);Q(()=>{const m=()=>{c.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),Q(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,a(i))},[i]);const d=()=>{var m,w,y,S;if(!i||i?.id===""||!s||new Date-c.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;a(Object.assign(Object.assign({},i),{id:""}));const C=o,u=(w=C?.video)===null||w===void 0?void 0:w.bindProduct,b=(S=(y=C?.video)===null||y===void 0?void 0:y.bindProduct)===null||S===void 0?void 0:S.bindCta;u&&b&&r(C,u,b,c.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ee(()=>{var m,w,y;return(y=(w=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||w===void 0?void 0:w.popupList)===null||y===void 0?void 0:y.map((S,C)=>{var u,b,f,x,_,h,P,I,g,E,A,T,D,O,L;if(S?.id===i?.id){const F=e[(u=S?.item)===null||u===void 0?void 0:u.type],R=Wt(F),B=((x=(f=(b=S?.item)===null||b===void 0?void 0:b.event)===null||f===void 0?void 0:f.onClick)===null||x===void 0?void 0:x.linkType)==="externalLink",N=((P=(h=(_=S?.item)===null||_===void 0?void 0:_.event)===null||h===void 0?void 0:h.onClick)===null||P===void 0?void 0:P.linkType)==="popup",z=(I=F?.extend)===null||I===void 0?void 0:I.defaulSetting;return v.createElement(R,Object.assign({key:C,style:Object.assign(Object.assign(Object.assign({},z?.style),(g=S?.item)===null||g===void 0?void 0:g.style),{width:(E=window.innerWidth)!==null&&E!==void 0?E:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},z?.textStyle),(A=S?.item)===null||A===void 0?void 0:A.textStyle),bindDatas:(D=(T=S?.item)===null||T===void 0?void 0:T.bindDatas)!==null&&D!==void 0?D:[]},z?.props,(O=S?.item)===null||O===void 0?void 0:O.props,{event:((L=S?.item)===null||L===void 0?void 0:L.event)||{},schema:t,id:S?.id,isExternalLink:B,isPopup:N,onClose:d}))}else return v.createElement(v.Fragment,null)})},[t,i,e,d]);return v.createElement(Ut,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},Oi={};Object.values(Di).forEach(t=>{Oi[t.extend.type]=t});const Na=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var a,c,d,p,m,w,y,S,C,u,b;const f=ee(()=>{var x;return location?.search?(x=location?.search)===null||x===void 0?void 0:x.replace("?",""):""},[]);return v.createElement(Ki,{resolver:Oi,enableDataSource:!1,schema:t?.data,utmVal:f},v.createElement(Yi,{utmVal:f,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(w=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&w!==void 0?w:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(C=(S=(y=t?.data)===null||y===void 0?void 0:y.sxpPageConf)===null||S===void 0?void 0:S.globalConfig)===null||C===void 0?void 0:C.isShowTag,globalConfig:(b=(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf)===null||b===void 0?void 0:b.globalConfig,render:({rtcList:x,tagList:_})=>{var h;return v.createElement(v.Fragment,null,v.createElement(Mn,Object.assign({},(h=t?.data)===null||h===void 0?void 0:h.sxpPageConf,{tagList:_,data:x,resolver:Oi,licenseUrl:r})),v.createElement(ja,null))}}))};var Ba=he(Na);const Ln=Ct({}),za=({children:t,data:e})=>{var i,n,o,l,r,s,a,c,d,p,m,w,y;const[S,C]=U(!1),[u,b]=U(!1);return v.createElement(Ln.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image,privacyContent:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.privacy_context,privacyNecessity:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_necessity,privacyPolicyTitle:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.privacy_policy_title,privacyPolicyUrl:(p=e?.sxp_parameter)===null||p===void 0?void 0:p.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(w=e?.sxp_parameter)===null||w===void 0?void 0:w.template,industry:(y=e?.sxp_parameter)===null||y===void 0?void 0:y.industry},appDomain:e?.appDomain,openHashtag:S,setOpenHashtag:C,openConsent:u,setOpenConsent:b}},t)};function Fa(){return It(Ln)}export{La as DiyPortalPreview,za as EditorDataProvider,Ut as Modal,Yi as SxpDataSourceProvider,Ba as SxpPageCore,Mn as SxpPageRender,no as core,Wn as default,$e as defaultSetting,Di as materials,Fa as useEditorDataProvider};
|
5
|
+
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:h?.info})))},ye=()=>{var q,X;return v.createElement(v.Fragment,null,(T||L?.link)&&v.createElement("button",{"aria-label":(q=F?.enTitle)!==null&&q!==void 0?q:"Purchase on Website",onClick:G,className:"pb-commondity-btn",style:O},(X=F?.enTitle)!==null&&X!==void 0?X:"Purchase on Website"))},Y=oe(q=>q?.lineClamp?Object.assign(Object.assign({},q),{overflow:"hidden",WebkitLineClamp:q?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):q,[]);return v.createElement("div",{className:"pb-commondity"},v.createElement("div",Object.assign({className:ne(Object.assign({},p))},x),L&&((r=L?.homePage)===null||r===void 0?void 0:r.length)>0&&v.createElement(St,{height:le,modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=L?.homePage)===null||s===void 0?void 0:s.map(q=>v.createElement(nt,{key:q},v.createElement("div",{style:{overflow:"hidden",width:le,height:le}},v.createElement(Re,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:q}))))),!(!((a=L?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:ne({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:ne({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=w?.bottom_image)!==null&&c!==void 0?c:_,alt:"pdp image"})),v.createElement("div",{className:"pb-commondity-content"},he({isPost:g}))),ye(),v.createElement(Jt,{visible:V,onClose:()=>j(!1)},v.createElement("div",{style:{paddingBottom:"80px"}},he({isPost:!1})),ye()))};var Ql=fe(Kl);const Zl=Ge(Ql,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:mo},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var es=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],_i,ki,ts=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:$e?.fontOptions,initialValue:(ki=(_i=$e?.fontOptions)===null||_i===void 0?void 0:_i[0])===null||ki===void 0?void 0:ki.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],Cn="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 is=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}},ns=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:a,submitButtonStyle:c}=t,d=Me(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=we(),{jumpToWeb:m}=Ue(),y=typeof o=="string"?o:is(o),b=()=>{var T,_,u;if(r){const g=p,f=(T=g?.video)===null||T===void 0?void 0:T.bindProduct,E=(u=(_=g?.video)===null||_===void 0?void 0:_.bindProduct)===null||u===void 0?void 0:u.bindCta,k=p?.index;m(g,f,E,k)}l||s?.(),a?.()};return v.createElement("div",Object.assign({className:`pb-prompt ${ne(Object.assign({},n))}`},d),v.createElement("div",{className:"pb-prompt-icon"},v.createElement("img",{width:"100%",src:y??Cn,alt:"success image"})),v.createElement("div",{className:"pb-prompt-content"},e),v.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:c,onClick:b},i))};var os=fe(ns);const ls=Ge(os,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:ts,bindableProps:[],interactionRender:es},defaulSetting:{props:{icon:Cn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Di,Ai,ss=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:me,name:["fontFamily"],initialValue:(Di=me?.[0])===null||Di===void 0?void 0:Di.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:me,initialValue:(Ai=me?.[0])===null||Ai===void 0?void 0:Ai.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const as=t=>{var e,i,n,o,l,r,s,a,c,d,p,m,y,{style:b,isDefault:T,rec:_,viewTime:u,isPost:g,bottom_image:f,tipText:E,swiper:k,commodityStyles:h,buttonStyle:O,index:C}=t,x=Me(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);$(!0);const{sxpParameter:w}=we(),{popupDetailData:D,bffEventReport:S,isPreview:I,swiperRef:P,bffFbReport:M}=we(),{jumpToWeb:N,productView:R}=Ue(),V=Z(null);Z(null),Z(null),$(!1),$(!1),$(!0);const[j,z]=$(!1),L=Z(null),F=g?_:D,B=g?F?.product:(e=F?.video)===null||e===void 0?void 0:e.bindProduct,G=g?(i=F?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=F?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,H=g?C:D?.index,le=()=>{B?.link&&(N(F,B,G,H),g||R(F,B,G,u||L.current,H),window.location.href=window.getJointUtmLink(B.link))};te(()=>{g||M?.({eventName:"ProductView"})},[g,M]),te(()=>{const X=()=>{L.current=new Date};return X(),window.addEventListener("pageshow",X),()=>{window.removeEventListener("pageshow",X)}},[]);const he=ee(()=>{var X,Q,J,Ie,se;return B?.currency&&B?.price?`${(J=(Q=(X=B?.currency)===null||X===void 0?void 0:X.split("-")[1])===null||Q===void 0?void 0:Q.toUpperCase())!==null&&J!==void 0?J:""}${(se=(Ie=B?.price)===null||Ie===void 0?void 0:Ie.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&se!==void 0?se:""}`:"\xA3102,300.00"},[B?.price,B?.currency]),ye=I?375:(l=b?.width)!==null&&l!==void 0?l:window.innerWidth,Y=({isPost:X})=>v.createElement("div",{hidden:!!B&&(!B?.info||B?.info==="")},v.createElement(Kt,{isPost:X,onClick:()=>z(!0),className:"pb-commondityDiroNew-info",style:h?.info,foldText:E?.foldText,unfoldText:E?.unfoldText,text:B?.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`})),q=oe(X=>X?.lineClamp?Object.assign(Object.assign({},X),{overflow:"hidden",WebkitLineClamp:X?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):X,[]);return v.createElement("div",{className:"pb-commondityDiroNew"},v.createElement("div",Object.assign({ref:V,className:ne(Object.assign({},b))},x),B&&((r=B?.homePage)===null||r===void 0?void 0:r.length)>0&&v.createElement(St,{height:ye,modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=B?.homePage)===null||s===void 0?void 0:s.map(X=>v.createElement(nt,{key:X},v.createElement("div",{style:{overflow:"hidden",width:ye,height:ye}},v.createElement(Re,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:X}))))),!(!((a=B?.homePage)===null||a===void 0)&&a.length)&&v.createElement("div",{className:ne({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},v.createElement("img",{className:ne({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=w?.bottom_image)!==null&&c!==void 0?c:f,alt:"pdp image"})),v.createElement("div",{className:"pb-commondityDiroNew-content"},v.createElement("div",{className:"pb-commondityDiroNew-content-top"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:q(h?.title)},(d=B?.title)!==null&&d!==void 0?d:"Large Dior Toujours BagLarge"),v.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!B&&(!B?.collection||B?.collection===""),style:q(h?.collection)},B?.collection||"Black Macrocannage CalfskinLarge")),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!B&&!B?.price,style:q(h?.price)},he),v.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!B&&!B?.taxInfo,style:q(h?.taxInfo)},(p=B?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!B||B?.link)&&v.createElement("button",{"aria-label":(m=G?.enTitle)!==null&&m!==void 0?m:"Shop now",onClick:le,className:"pb-commondityDiroNew-btn",style:O},(y=G?.enTitle)!==null&&y!==void 0?y:"Shop now"),Y({isPost:g}))),v.createElement(Jt,{visible:j,onClose:()=>z(!1)},Y({isPost:!1})))};var rs=fe(as);const ds=Ge(rs,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:ss},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 Pi,Oi,Ke=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:me,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Pi=me?.[0])===null||Pi===void 0?void 0:Pi.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:me,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Oi=me?.[0])===null||Oi===void 0?void 0:Oi.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"]}]}],cs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function _n(t){const e=Z(null),[i,n]=$(!1);return te(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),te(()=>{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 us=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;Me(t,["rec","children","className","onClick","style","isExternalLink","index"]);const a=Z(null),c=_n(a),{popup:d}=lt(),{setPopupDetailData:p,ctaEvent:m}=we(),{jumpToWeb:y}=Ue();te(()=>{var T,_;if(c&&a?.current){const u=(_=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&_!==void 0?_:e?.video;m?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,u,s)}},[c,a,e,m,s]);const b=Bt(()=>{var T,_,u,g,f,E,k,h;const O=(_=(T=e?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&_!==void 0?_:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,O,s),p?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((g=(u=e?.video)===null||u===void 0?void 0:u.bindProduct)===null||g===void 0)&&g.link){const C=(f=e?.video)===null||f===void 0?void 0:f.bindCta,x=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;y(e,x,C,s),window.location.href=window.getJointUtmLink((h=(k=e?.video)===null||k===void 0?void 0:k.bindProduct)===null||h===void 0?void 0:h.link)}}else o?.()},d?.duration);return v.createElement("div",{ref:a,className:n,style:l,onClick:b},i)};var jt=fe(us),ps={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const vs=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(jt,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ps["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var fs=fe(vs);const ms=Ge(fs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:cs,bindableProps:[],settingRender:Ke},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 hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const gs=t=>{var e,i,n,o,{content:l,style:r,bgImg:s,recData:a,bottom_image:c,ctaTempStyles:d,isExternalLink:p}=t,m=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink"]);const{sxpParameter:y}=we(),b=(e=a?.video)===null||e===void 0?void 0:e.bindCta;return v.createElement(jt,Object.assign({isExternalLink:p,rec:a,className:ne(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},m),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},v.createElement("img",{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(n=(i=b?.icon)!==null&&i!==void 0?i:y?.bottom_image)!==null&&n!==void 0?n:c,alt:"cta image"})),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(o=b?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var bs=fe(gs);const ys=Ge(bs,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:hs,settingRender:Ke?.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 ws={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const Ss=t=>{var e,i,n,o,l,{content:r,style:s,bgImg:a,recData:c,bottom_image:d,ctaTempStyles:p,index:m}=t,y=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:b,bffEventReport:T}=we(),{jumpToWeb:_}=Ue(),u=(e=c?.video)===null||e===void 0?void 0:e.bindCta,g=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,f=()=>{u?.link&&(_(c,g,u,m),window.location.href=window.getJointUtmLink(u.link))};return v.createElement(jt,Object.assign({index:m,rec:c,className:ne(Object.assign({alignItems:"center"},s)),style:{display:"flex"}},y,{onClick:f}),v.createElement("div",{className:ne(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block"}),src:(o=(n=u?.icon)!==null&&n!==void 0?n:b?.bottom_image)!==null&&o!==void 0?o:d})),v.createElement("div",{className:ne({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:ws["tow-line-ellipsis"],style:p?.ctaTitle},(l=u?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var Ts=fe(Ss);const xs=Ge(Ts,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Ke?.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 Es=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Is={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Cs=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(jt,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Is["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop Now")))};var _s=fe(Cs);const ks=Ge(_s,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Es,settingRender:Ke,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 Ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],As={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Ps=t=>{var e,i,n,o,l,r,s,a,{content:c,style:d,bgImg:p,recData:m,bottom_image:y,ctaTempStyles:b,isExternalLink:T,translateY:_=0}=t,u=Me(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY"]);const{sxpParameter:g}=we(),f=(e=m?.video)===null||e===void 0?void 0:e.bindProduct,E=(l=(o=(i=f?.cover)!==null&&i!==void 0?i:(n=f?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:g?.bottom_image)!==null&&l!==void 0?l:y;return v.createElement(jt,Object.assign({isExternalLink:T,rec:m,className:ne(Object.assign({},d)),style:{display:"flex"}},u),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},b?.img))},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${_?-_+50:50}%`}),src:E})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},v.createElement("div",{className:As["tow-line-ellipsis"],style:b?.title},(r=f?.title)!==null&&r!==void 0?r:"Product Name"),v.createElement("div",{className:ne(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},b?.ctaTitle))},(a=(s=f?.bindCta)===null||s===void 0?void 0:s.enTitle)!==null&&a!==void 0?a:"Shop now")))};var Os=fe(Ps);const Ms=Ge(Os,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Ds,bindableProps:[],settingRender:Ke},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 Ls=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const js=({children:t,isPadding:e=!0})=>v.createElement(St,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Co,Io,Eo],style:{padding:e?"0 12px 0 20px":0}},t);var Qt=fe(js);const Ns=({src:t,rec:e,item:i,index:n,style:o})=>{const l=Z(null),r=_n(l),{ctaEvent:s}=we();return te(()=>{r&&t&&l?.current&&s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[r,t,l,e,s,i,n]),v.createElement("div",{ref:l,hidden:!t,className:ne({width:"100%",height:"100%"})},v.createElement(Re,{className:ne(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block"},o)),src:t}))};var Mi=fe(Ns),Bs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const zs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:_}=we(),{popup:u}=lt(),{jumpToWeb:g}=Ue(),[f,E]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Bt(h=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(g(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(Qt,{isPadding:!!r},f?.map(h=>{var O,C,x,w,D,S,I;return v.createElement(nt,Object.assign({hidden:r&&!h?.bindCta,key:h?.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Mi,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&x!==void 0?x:_?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Bs["two-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var Fs=fe(zs);const Vs=Ge(Fs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ls,bindableProps:[],settingRender:Ke},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 Rs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Hs={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:b}=we(),{ctaEvent:T,setPopupDetailData:_}=we(),{popup:u}=lt(),[g,f]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=Ue(),k=Bt(h=>{T?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),_?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(E(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(Qt,{isPadding:!!r},g?.map(h=>{var O,C,x,w,D,S,I;return v.createElement(nt,Object.assign({hidden:r&&!h?.bindCta,key:h.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Mi,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&x!==void 0?x:b?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},v.createElement("div",{className:Hs["two-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&I!==void 0?I:"Shop Now")))}))};var Gs=fe(Us);const $s=Ge(Gs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Rs,settingRender:Ke,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 Ws=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ys={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const qs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:m=0}=t,y=Me(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:_}=we(),{popup:u}=lt(),{jumpToWeb:g}=Ue(),[f,E]=$((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Bt(h=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,h,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:h}),index:p})),d?h?.link&&(g(r,h,h.bindCta,p),window.location.href=window.getJointUtmLink(h.link)):s?.()},u?.duration);return v.createElement(Qt,{isPadding:!!r},f?.map(h=>{var O,C,x,w,D,S,I;return v.createElement(nt,Object.assign({hidden:r&&!h?.bindCta,key:h?.itemId,className:ne(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(h)}),v.createElement("div",{className:ne(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},v.createElement(Mi,{src:(w=(x=(O=h?.cover)!==null&&O!==void 0?O:(C=h?.homePage)===null||C===void 0?void 0:C[0])!==null&&x!==void 0?x:_?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:h,index:p,style:{objectPosition:`50% ${m?-m+50:50}%`}})),v.createElement("div",{className:ne({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},v.createElement("div",{className:Ys["tow-line-ellipsis"],style:c?.title},(D=h?.title)!==null&&D!==void 0?D:"Product Name"),v.createElement("div",{className:ne(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(I=(S=h?.bindCta)===null||S===void 0?void 0:S.enTitle)!==null&&I!==void 0?I:"Shop now")))}))};var Xs=fe(qs);const Js=Ge(Xs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Ws,bindableProps:[],settingRender:Ke},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 Li,ji,Ks=[{title:"Banner",child:[{type:"Switch",label:"Banner\u56FE\u5F00\u5173",name:["props","showBanner"]}]},{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"},{type:"Switch",label:"\u56FA\u5B9A\u5BBD\u9AD8",name:["props","openFixedSize"],initialValue:!0}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:me,name:["fontFamily"],initialValue:(Li=me?.[0])===null||Li===void 0?void 0:Li.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:me,initialValue:(ji=me?.[0])===null||ji===void 0?void 0:ji.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const Qs=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=we();return v.createElement("div",{className:"clc-sxp-nav",style:e},v.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:n}),v.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var kn=fe(Qs),Zs=null,ea="3d989325-e7d6-4a74-8a97-98febdf5b567",ta=null,ia=null,na={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"},oa=[{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}],la="Handbags",Dn={productUserId:Zs,requestId:ea,channel:ta,rtc:ia,tag:na,recList:oa,hashTag:la};const sa=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:o,index:l,showBorder:r,list:s,reportTagsView:a,textStyles:c,space:d}=t,{swiperRef:p,setRtcList:m,setOpenHashtag:y,sxpParameter:b}=we(),[T,_]=$(!1);$(!1),$({height:1,width:1});const u=Z(null),g=Z(null);Z(null),Z(null);const[f,E]=$(""),k=ee(()=>{var S,I,P,M,N,R,V,j,z,L;return!((S=e?.video)===null||S===void 0)&&S.cover?(I=e?.video)===null||I===void 0?void 0:I.cover:!((M=(P=e?.video)===null||P===void 0?void 0:P.imgUrls)===null||M===void 0)&&M.length?(R=(N=e?.video)===null||N===void 0?void 0:N.imgUrls)===null||R===void 0?void 0:R[0]:!((j=(V=e?.product)===null||V===void 0?void 0:V.homePage)===null||j===void 0)&&j.length?(L=(z=e?.product)===null||z===void 0?void 0:z.homePage)===null||L===void 0?void 0:L[0]:b?.bottom_image||""},[e,b?.bottom_image]),h=ee(()=>{var S,I;return((S=e?.product)===null||S===void 0?void 0:S.title)||((I=e?.video)===null||I===void 0?void 0:I.title)||null},[e]),O=ee(()=>{var S;return i.transform?Number((S=i.transform)===null||S===void 0?void 0:S.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]);ee(()=>O===void 0?!1:O<=r,[O,r]);const C=ee(()=>{var S,I,P,M,N,R,V,j,z;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((I=e?.product)===null||I===void 0)&&I.price)?`${(R=(N=(M=(P=e?.product)===null||P===void 0?void 0:P.currency)===null||M===void 0?void 0:M.split("-")[1])===null||N===void 0?void 0:N.toUpperCase())!==null&&R!==void 0?R:""}${(z=(j=(V=e?.product)===null||V===void 0?void 0:V.price)===null||j===void 0?void 0:j.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&z!==void 0?z:""}`:null},[e]);te(()=>{if(u.current===null||k==="")return;let S=null;T&&f?S=f:S=k,S&&u.current.setSrc(S)},[k,T,f]);const x=Z(),w=oe(S=>{setTimeout(()=>{var I;const P=(I=x?.current)===null||I===void 0?void 0:I.offsetHeight;n(P+56+d,l)},0)},[d,n,l,o,x]),D=()=>{a(),m?.(s),setTimeout(()=>{var S;(S=p?.current)===null||S===void 0||S.swiper.slideTo(l,0,!1),y?.(!1)},0)};return v.createElement("div",{ref:g,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:D},v.createElement("div",{className:"waterFallList-content-listItem-picture",ref:x},v.createElement(Re,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:w,ref:u})),v.createElement("div",{className:"waterFallList-content-listItem-info"},v.createElement("div",{className:`waterFallList-content-listItem-info-title ${C?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},c?.title)},h&&h),v.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!C,style:c.price},C)))};function aa(t){var e,i,n,o,l,r,s,a,c,d,p,m,y,b,T,_,u,g,f,E,{reportTagsView:k,showBanner:h}=t,O=Me(t,["reportTagsView","showBanner"]);const{waterFallData:C,getRecommendVideos:x,hashTagSize:w,loadingImage:D,isOpenHashTag:S}=we(),I=Z(null),[P,M]=$(0),[N,R]=$(),V=Z(null),[j,z]=$([]),L=Z(),F=[170,230,300],[B,G]=$(!1),[H,le]=$([]),he=Z(),ye=oe((ce,ve)=>Math.floor(Math.random()*(ve-ce+1))+ce,[]),Y=Z([]),[q,X]=$({width:0}),Q=ee(()=>{const ce=q.width||0;return ce>=1200?6:ce>=768&&ce<=1199?4:2},[q]),J=ee(()=>q.width/Q-2,[Q,q]),Ie=oe(()=>{var ce;const ve=(ce=L.current)!==null&&ce!==void 0?ce:[],Se=[];for(let re=0;re<H?.length;re++){const Ne=Math.floor(re/Q),Ye=re%Q+1;let Qe=0,ft=9999999999;if(Ne===0)Se[re]=re;else{for(let U=0;U<Se.length;U++)Y.current[Se[U]].top+Y.current[Se[U]].height<ft&&(Qe=U,ft=Y.current[Se[U]].top+Y.current[Se[U]].height);Se[Qe]=re}Y.current[re]===void 0&&(Y.current[re]={}),Ne===0?(Ye===1?Y.current[re].left=0:Y.current[re].left=Y.current[re-1].left+J+4,Y.current[re].top=0):(Y.current[re].left=Y.current[Qe].left,Y.current[re].top=ft),Y.current[re].height=Y.current[re].height||F[ye(0,2)],ve[re]={transform:`translate(${Y.current[re].left}px,${Y.current[re].top}px)`,width:`${J}px`,height:Y.current[re].height}}return z([...ve]),[...ve]},[J,Q,F,ye,H]),se=oe((ce,ve)=>{Y.current[ve]===void 0&&(Y.current[ve]={}),Y.current[ve].height=ce,L.current=Ie()},[Ie]);te(()=>{L.current=Ie()},[J,Q,H]),te(()=>{var ce,ve;if(G(!0),C&&x?.({hashTag:C?.hashTag,"itemFilter.itemId":C?.itemId,"itemFilter.itemType":C?.itemType,defaultSize:w,maxSize:w}).then(Se=>{var re,Ne;R(Se),le((Ne=(re=Se?.recList)===null||re===void 0?void 0:re.filter(Ye=>Ye?.video!==null||Ye?.product!==null))!==null&&Ne!==void 0?Ne:[]),G(!1)}),S){const Se=Dn;R(Se),le((ve=(ce=Se?.recList)===null||ce===void 0?void 0:ce.filter(re=>re?.video!==null||re?.product!==null))!==null&&ve!==void 0?ve:[]),G(!1)}},[C,x,w,S]);const Ae=oe(()=>{V.current!==null&&X({width:V.current.getBoundingClientRect().width})},[]);te(()=>{if(V.current===null)return;const ce=new ResizeObserver(ve=>{Ae()});return ce.observe(V.current),()=>{ce.disconnect()}},[Ae]),oe(()=>{G(!0),C&&x?.({hashTag:C?.hashTag,"itemFilter.itemId":C?.itemId,"itemFilter.itemType":C?.itemType}).then(ce=>{var ve,Se;le(H?.concat((Se=(ve=ce?.recList)===null||ve===void 0?void 0:ve.filter(re=>!re?.video))!==null&&Se!==void 0?Se:[])),G(!1)})},[C,x,H]);const Le=oe(()=>{M(I.current.scrollTop)},[]);te(()=>{var ce;return(ce=I?.current)===null||ce===void 0||ce.addEventListener("scroll",Le),()=>{var ve;(ve=I?.current)===null||ve===void 0||ve.removeEventListener("scroll",Le)}},[Le,I]);const Pe=()=>{var ce,ve;!((ce=N?.tag)===null||ce===void 0)&&ce.link&&(k(),window.location.href=(ve=N?.tag)===null||ve===void 0?void 0:ve.link)};return v.createElement(v.Fragment,null,B?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:D,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"waterFallList",ref:V},v.createElement("div",{className:"waterFallList-scroll",ref:I},h&&((e=N?.tag)===null||e===void 0?void 0:e.picture)&&v.createElement("div",{onClick:Pe},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=N?.tag)===null||i===void 0?void 0:i.picture})),v.createElement("div",{className:"waterFallList-info",style:(n=O?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=N?.tag)===null||o===void 0?void 0:o.info),v.createElement("div",{hidden:!(!((l=N?.tag)===null||l===void 0)&&l.link),className:"waterFallList-collection",style:Object.assign({},(r=O?.textStyles)===null||r===void 0?void 0:r.hashTagLink),onClick:Pe},((s=N?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),v.createElement("div",{className:"waterFallList-content"},H?.map((ce,ve)=>{var Se;return v.createElement(sa,Object.assign({key:ve,index:ve,rec:ce,list:H,showBorder:P+((Se=I?.current)===null||Se===void 0?void 0:Se.clientHeight),style:j[ve],sizeChange:se,unitWidth:J,reportTagsView:k},O))}),v.createElement("div",{hidden:!(!((a=N?.tag)===null||a===void 0)&&a.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(y=((d=Y?.current[((c=Y?.current)===null||c===void 0?void 0:c.length)-1])===null||d===void 0?void 0:d.top)+((m=Y?.current[((p=Y?.current)===null||p===void 0?void 0:p.length)-1])===null||m===void 0?void 0:m.height))!==null&&y!==void 0?y:0}px)`,height:!((b=N?.tag)===null||b===void 0)&&b.link?((T=he?.current)===null||T===void 0?void 0:T.offsetHeight)||((_=O?.buttonBgStyle)===null||_===void 0?void 0:_.height)||"100px":0}}))),v.createElement("div",{className:"waterFallList-bottom",hidden:!(!((u=N?.tag)===null||u===void 0)&&u.link),style:O?.buttonBgStyle}),v.createElement("div",{ref:he,hidden:!(!((g=N?.tag)===null||g===void 0)&&g.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},O?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{"aria-label":((f=N?.tag)===null||f===void 0?void 0:f.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:O?.buttonStyle,onClick:Pe},((E=N?.tag)===null||E===void 0?void 0:E.linkTitle)||"Shop the collection"))))}var ra="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const da=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:a,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=we(),[m,y]=$(!1),b=Z(null),T=Z(null),_=Z(null),u=Z(null),[g,f]=$(""),E=ee(()=>{var x,w,D,S,I,P,M,N,R,V;return!((x=e?.video)===null||x===void 0)&&x.cover?(w=e?.video)===null||w===void 0?void 0:w.cover:!((S=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||S===void 0)&&S.length?(P=(I=e?.video)===null||I===void 0?void 0:I.imgUrls)===null||P===void 0?void 0:P[0]:!((N=(M=e?.product)===null||M===void 0?void 0:M.homePage)===null||N===void 0)&&N.length?(V=(R=e?.product)===null||R===void 0?void 0:R.homePage)===null||V===void 0?void 0:V[0]:p?.bottom_image||""},[e,p?.bottom_image]),k=ee(()=>{var x,w;return((x=e?.product)===null||x===void 0?void 0:x.title)||((w=e?.video)===null||w===void 0?void 0:w.title)||null},[e]),h=ee(()=>{var x,w,D,S,I,P,M,N,R;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((w=e?.product)===null||w===void 0)&&w.price)?`${(P=(I=(S=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||S===void 0?void 0:S.split("-")[1])===null||I===void 0?void 0:I.toUpperCase())!==null&&P!==void 0?P:""}${(R=(N=(M=e?.product)===null||M===void 0?void 0:M.price)===null||N===void 0?void 0:N.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&R!==void 0?R:""}`:null},[e]);te(()=>{const x=new IntersectionObserver(w=>{w.forEach(D=>{if(D.isIntersecting){if(T.current===null||E==="")return;m&&g?b.current.setSrc(g):b.current.setSrc(E),x.unobserve(T.current)}})});return x.observe(T.current),()=>{x.disconnect()}},[E,m,g]);const O=(x,w,D)=>{const S=x/w;return D/S};te(()=>{const x=_?.current;x===null||E===""||!m||(x.src=E,x.currentTime=1,x.crossOrigin="anonymous",x.onloadeddata=()=>{const w=u?.current;if(!w)return;const D=w.getContext("2d"),S=window?.innerWidth/2,I=O(x.videoWidth,x.videoHeight,S);w.height=I,w.width=S,D?.drawImage(x,0,0,w.width,w.height),f(w.toDataURL()),x.remove(),w.remove()})},[E,m]);const C=()=>{o(),a?.(n),setTimeout(()=>{var x;(x=s?.current)===null||x===void 0||x.swiper.slideTo(i,0,!1),c?.(!1)},0)};return v.createElement("div",{ref:T,className:"list-content-listItem",key:i,onClick:C,style:{marginBottom:r}},v.createElement("div",{className:"list-content-listItem-picture"},m&&v.createElement("div",{style:{display:"none"}},v.createElement("video",{ref:_,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),v.createElement("canvas",{ref:u})),v.createElement(Re,{loading:"lazy",className:"list-content-listItem-picture-img",ref:b})),v.createElement("div",{className:"list-content-listItem-info"},v.createElement("div",{className:`list-content-listItem-info-title ${h?"list-content-listItem-info-nowrap":""}`,style:l?.title},k&&k),v.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!h},h)))};function ca(t){var e,i,n,o,l,r,s,a,c,d,p,m,y,b,T,{reportTagsView:_,showBanner:u}=t,g=Me(t,["reportTagsView","showBanner"]);const{waterFallData:f,getRecommendVideos:E,hashTagSize:k,loadingImage:h,isOpenHashTag:O}=we(),[C,x]=$(),[w,D]=$(),[S,I]=$(!1),P=Z(null),[M,N]=$(!1);oe(()=>{M||(N(!0),f&&E?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType}).then(V=>{var j;x(C?.concat((j=V?.recList)!==null&&j!==void 0?j:[])),N(!1)}))},[f,E,C,M]),te(()=>{var V,j;if(I(!0),f&&E?.({hashTag:f?.hashTag,"itemFilter.itemId":f?.itemId,"itemFilter.itemType":f?.itemType,defaultSize:k,maxSize:k}).then(z=>{var L,F;D(z),x((F=(L=z?.recList)===null||L===void 0?void 0:L.filter(B=>B?.video!==null||B?.product!==null))!==null&&F!==void 0?F:[]),I(!1)}),O){const z=Dn;D(z),x((j=(V=z?.recList)===null||V===void 0?void 0:V.filter(L=>L?.video!==null||L?.product!==null))!==null&&j!==void 0?j:[]),I(!1)}},[f,E,k,O]);const R=()=>{var V,j;!((V=w?.tag)===null||V===void 0)&&V.link&&(_(),window.location.href=(j=w?.tag)===null||j===void 0?void 0:j.link)};return v.createElement(v.Fragment,null,S?v.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:h,alt:"loading...",style:{objectFit:"contain"}})):v.createElement("div",{className:"list"},v.createElement("div",{className:"list-scroll",ref:P},u&&((e=w?.tag)===null||e===void 0?void 0:e.picture)&&v.createElement("div",{onClick:R},v.createElement(Re,{className:ne({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=w?.tag)===null||i===void 0?void 0:i.picture})),v.createElement("div",{className:"list-info",style:(n=g?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=w?.tag)===null||o===void 0?void 0:o.info),v.createElement("div",{hidden:!(!((l=w?.tag)===null||l===void 0)&&l.link),className:"list-collection",onClick:R,style:Object.assign(Object.assign({},(r=g?.textStyles)===null||r===void 0?void 0:r.hashTagLink),{marginBottom:g?.space})},((s=w?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),v.createElement("div",{className:"list-content"},C?.map((V,j)=>v.createElement(da,Object.assign({key:j,index:j,rec:V,list:C,reportTagsView:_},g)))),v.createElement("div",{hidden:!M,style:{textAlign:"center"}},"loading..."),v.createElement("div",{hidden:!(!((a=w?.tag)===null||a===void 0)&&a.link),style:{height:!((c=w?.tag)===null||c===void 0)&&c.link?((d=g?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((p=g?.buttonStyle)===null||p===void 0?void 0:p.height)||"100px":0}})),v.createElement("div",{className:"list-bottom",hidden:!(!((m=w?.tag)===null||m===void 0)&&m.link),style:g?.buttonBgStyle}),v.createElement("div",{hidden:!(!((y=w?.tag)===null||y===void 0)&&y.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},g?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},v.createElement("button",{"aria-label":((b=w?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection",className:"list-btn",style:g?.buttonStyle,onClick:R},((T=w?.tag)===null||T===void 0?void 0:T.linkTitle)||"Shop the collection"))))}const ua=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:a,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:m,isFromHashtag:y,bffEventReport:b,themeTag:T,selectTag:_}=we(),{backMainFeed:u}=Ue();Z(null);const g=Z(null),[f,E]=$();te(()=>{const x=document.getElementById("sxp-render"),w=document.getElementById("water-fall");w?g.current=w:(g.current=document.createElement("div"),g.current.setAttribute("id","water-fall"),x?.appendChild(g.current))},[]);const k=()=>{const x=Fi(d,s);!x&&s&&s?.length&&a?.(s),u("branch",_,void 0,i?.hashTag),C(),r?.(void 0),m?.(!1),setTimeout(()=>{var w,D;x||(D=(w=l?.current)===null||w===void 0?void 0:w.swiper)===null||D===void 0||D.slideTo(c,0,!1),n?.(!1)},0)},[h,O]=$();te(()=>{i&&O(i)},[i]);const C=oe(()=>{var x,w,D,S,I,P;const M=h?.rec;if(!M)return;let N="";y?N="hashTagPage":!((x=M?.video)===null||x===void 0)&&x.url?N="videoPage":!((D=(w=M?.video)===null||w===void 0?void 0:w.imgUrls)===null||D===void 0)&&D.length&&(N="imagePage"),b?.({eventInfo:{contentId:(S=M?.video)===null||S===void 0?void 0:S.itemId,position:c+"",contentTags:JSON.stringify((I=M?.video)===null||I===void 0?void 0:I.tags),traceInfo:(P=M?.video)===null||P===void 0?void 0:P.traceInfo,hashTags:JSON.stringify([h?.hashTag]),fromKName:N,fromKPage:location?.href,timeOnSite:Math.floor((new Date-f)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[h,b,f,y,c]);return te(()=>{o&&E(new Date)},[o]),te(()=>{const x=()=>{E(new Date)};return window.addEventListener("pageshow",x),()=>{window.removeEventListener("pageshow",x)}},[]),g.current?Hi.createPortal(v.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},v.createElement(kn,{icon:ra,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:k}),t?.openFixedSize===!0||t?.openFixedSize===void 0?v.createElement(ca,Object.assign({reportTagsView:C},t)):v.createElement(aa,Object.assign({reportTagsView:C},t))),g.current):null};var An=fe(ua);const pa=t=>v.createElement(An,Object.assign({},t));var va=fe(pa);const fa=Ge(va,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Ks,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var ma=[{title:"\u534F\u8BAE\u8BE6\u60C5",child:[{type:"Switch",label:"\u5FC5\u987B\u540C\u610F\u7528\u6237\u534F\u8BAE",name:["props","privacy_necessity"],extra:"\u5F53\u65B0\u7528\u6237\u8FDB\u5165\u9875\u9762\u65F6\uFF0C\u4F1A\u51FA\u73B0\u7528\u6237\u534F\u8BAE\u5F39\u7A97\uFF0C\u7528\u6237\u9700\u8981\u5148\u540C\u610F\u534F\u8BAE\u540E\u624D\u80FD\u8BBF\u95EE\u5185\u5BB9\u3002"},{type:"Text",label:"\u5F39\u7A97\u6807\u9898",name:["props","privacy_title"]},{type:"TextArea",label:"\u7528\u6237\u534F\u8BAE\u5F39\u7A97\u5185\u5BB9",name:["props","privacy_context"]},{type:"Group",label:"\u9690\u79C1\u653F\u7B56",child:[{type:"Text",name:["props","privacy_policy_title"]},{type:"Text",name:["props","privacy_policy_url"],addonBefore:"https://"}],extra:"\u5F53\u7528\u6237\u70B9\u51FB\u66F4\u591A\u4FE1\u606F\u6309\u94AE\u65F6\uFF0C\u5C06\u4F1A\u8DF3\u8F6C\u81F3\u8BBE\u7F6E\u7684\u94FE\u63A5\u67E5\u770B\u653F\u7B56\u5185\u5BB9"}]}];const Pn=t=>v.createElement(Pn,Object.assign({},t));var ha=fe(Pn);const ga=Ge(ha,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:ma},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var Ni=Object.freeze({__proto__:null,Appoint:ys,AppointForm:fo,Commodity:ms,CommodityDetail:Zl,CommodityDetailDiroNew:ds,CommodityDiro:ks,CommodityDiroNew:Ms,Consent:ga,HashTag:fa,Link:xs,MultiCommodity:$s,MultiCommodityDiro:Vs,MultiCommodityDiroNew:Js,Prompt:ls});const ba="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",ya="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",wa=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=Me(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:a,bffEventReport:c}=we(),[d,p]=$(e),m=Xe(ya),y=Xe(ba),b=ti(()=>Fe(void 0,void 0,void 0,function*(){var T,_,u,g,f,E,k,h,O,C,x,w,D,S,I,P,M,N,R,V;if(d){p(!1);const j=(u=yield a?.({videoItemId:(_=(T=o?.video)===null||T===void 0?void 0:T.itemId)!==null&&_!==void 0?_:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(f=(g=o?.video)===null||g===void 0?void 0:g.itemId)!==null&&f!==void 0?f:"",contentName:(k=(E=o?.video)===null||E===void 0?void 0:E.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((O=(h=o?.video)===null||h===void 0?void 0:h.tags)!==null&&O!==void 0?O:[]),position:l+"",contentFormat:!((C=o?.video)===null||C===void 0)&&C.url?"video":"image",traceInfo:(x=o?.video)===null||x===void 0?void 0:x.traceInfo}}),j||p(!0)}else{p(!0);const j=(w=yield s?.({content:JSON.stringify(o)}))!==null&&w!==void 0?w:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(S=(D=o?.video)===null||D===void 0?void 0:D.itemId)!==null&&S!==void 0?S:"",contentName:(P=(I=o?.video)===null||I===void 0?void 0:I.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((N=(M=o?.video)===null||M===void 0?void 0:M.tags)!==null&&N!==void 0?N:[]),position:l+"",contentFormat:!((R=o?.video)===null||R===void 0)&&R.url?"video":"image",traceInfo:(V=o?.video)===null||V===void 0?void 0:V.traceInfo}}),j||p(!1)}}),200);return v.createElement("button",Object.assign({},r,{"aria-label":"like",onClick:b}),v.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||m:n||y,alt:"icon"}))};var On=fe(wa);const Sa=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[a,c]=$(!1),{bffEventReport:d,sxpParameter:p,waterFallData:m,openHashtag:y,bffFbReport:b}=we(),T=Z(0),[_,u]=$(!1),[g,f]=$(!0),{isActive:E}=In(),k=Z(null),[h,O]=$(""),C=`pb-cache-video-${e}`,x=Z(null),w=ee(()=>r?.mode==="2",[r]),D=ee(()=>{var G;return r?.mode==="2"?`translateY(-${50+((G=r?.offsetTop)!==null&&G!==void 0?G:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),S=ee(()=>{var G;return((G=t?.video)===null||G===void 0?void 0:G.cover)||h},[h,t]),I=ee(()=>w?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[w]),P=ee(()=>r?.bgWay==="1",[r]),M=ee(()=>P&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,P]);te(()=>{s&&s?.muted(o)},[o,s]);const N=oe(()=>{s&&s?.play()},[s]),R=Xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),V=oe(()=>{var G,H,le,he,ye,Y,q,X,Q;if(!s)return;u(!0),c(!1);const J=n[e];if(J&&s?.duration()){T.current=s?.currentTime()||0;const Ie=((G=s?.duration())!==null&&G!==void 0?G:0).toFixed(2),se=((H=s?.currentTime())!==null&&H!==void 0?H:0).toFixed(2),Ae=g?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(he=(le=J?.video)===null||le===void 0?void 0:le.itemId)!==null&&he!==void 0?he:"",contentName:(Y=(ye=J?.video)===null||ye===void 0?void 0:ye.title)!==null&&Y!==void 0?Y:"",playType:Ae,startTime:se,videoDuration:Ie,contentTags:JSON.stringify((X=(q=J?.video)===null||q===void 0?void 0:q.tags)!==null&&X!==void 0?X:[]),position:e+"",contentFormat:"video",traceInfo:(Q=J?.video)===null||Q===void 0?void 0:Q.traceInfo}}),f(!1)}},[d,n,e,g,s]),j=oe(()=>{var G;if(!s||h||!w)return;const H=document.getElementById("player-container-id_html5_api");if(!H||(H.style.objectFit="contain",!((G=t?.video)===null||G===void 0)&&G.cover||!k||!k.current||P))return;const le=()=>{const he=H,ye=k?.current,Y=ye.getContext("2d"),q=window?.innerWidth,X=window?.innerHeight;ye.height=X,ye.width=q,Y?.drawImage(he,0,0,ye.width,ye.height),O(ye.toDataURL())};le(),setTimeout(()=>{le()},500)},[s,P,t,h,w]),z=oe(()=>{s&&j()},[s,j]);oe(()=>{u(!0)},[]);const L=oe(G=>()=>{if(!s||!_)return;const H=s?.paused();switch(G){case"start":if(!H)return;s?.play(),c(!1);break;case"pause":if(H)return;s?.pause(),c(!0);break;default:H?s?.play():s?.pause(),c(!H);break}},[_,s]),F=oe(()=>{var G,H,le,he,ye,Y,q,X,Q;if(!s||l!==e)return;const J=n[e],Ie=((G=s?.duration())!==null&&G!==void 0?G:0).toFixed(2),se=((H=s?.currentTime())!==null&&H!==void 0?H:0).toFixed(2);if(s?.duration()){const Ae=(s?.currentTime()-T.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(he=(le=J?.video)===null||le===void 0?void 0:le.itemId)!==null&&he!==void 0?he:"",contentName:(Y=(ye=J?.video)===null||ye===void 0?void 0:ye.title)!==null&&Y!==void 0?Y:"",endTime:se,videoDuration:Ie,playDuration:Ae,contentTags:JSON.stringify((X=(q=J?.video)===null||q===void 0?void 0:q.tags)!==null&&X!==void 0?X:[]),position:e+"",contentFormat:"video",traceInfo:(Q=J?.video)===null||Q===void 0?void 0:Q.traceInfo}})}},[n,e,d,s,l]);te(()=>{if(!E||!s)return;const G=t?.video.url;if(!G)return;s?.src(G),c(!1);const H=document.querySelector(`#${C}`),le=document.querySelector("#player-container-id"),he=document.querySelector("#player-container-id-copy");if(!(!le&&!he))return H?.appendChild(le||he),s?.on("loadedmetadata",z),s?.on("loadeddata",j),s?.on("playing",V),s?.on("pause",F),s?.on("ended",N),()=>{he?.appendChild(le),s?.off("loadedmetadata",z),s?.off("loadeddata",j),s?.off("playing",V),s?.off("pause",F),s?.off("ended",N)}},[E,C,t,s]),te(()=>{!s||!_||(E?(b?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[E,_,s]),te(()=>{if(!E||!s)return;!s?.paused()&&y?s?.pause():y||s?.play()},[y,E,s]),te(()=>{if(!E)return;const G=()=>{L("start")(),b?.({eventName:"ViewContent"})},H=L("pause");return st.on(Ze.PAGE_DID_SHOW,G),st.on(Ze.PAGE_DID_HIDE,H),()=>{st.off(Ze.PAGE_DID_SHOW,G),st.off(Ze.PAGE_DID_HIDE,H)}},[L,E]);const B=ee(()=>!p?.placeholder_image||_?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image,alt:"placeholder image"}),[_,p?.placeholder_image]);return te(()=>{if(!s)return;const G=()=>{var H;l===e&&(!((H=t?.video)===null||H===void 0)&&H.url)&&s&&!a&&L("pause")()};return window.addEventListener("beforeunload",G),()=>{window.removeEventListener("beforeunload",G)}},[l,e,t,s,L,a]),t?.video?v.createElement(v.Fragment,null,w?v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},M)},!P&&v.createElement(Re,{src:S,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},I)}),v.createElement("canvas",{ref:k,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:D,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},v.createElement("div",{className:"n-full-screen",ref:x,id:C,style:{width:"100%",height:"100%"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",alt:"pause",src:R}))),B):v.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},v.createElement("div",{className:"n-full-screen",ref:x,id:C,style:{width:"100%",height:"100%"}}),B,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:R,alt:"pause"}))):null};var Ta=fe(Sa);const xa=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=$(t),s=a=>{a.stopPropagation();const c=!l;r(c),n?.(c)};return v.createElement("button",{style:o,"aria-label":"toggle button",className:"pb-toggle-button",onClick:s},v.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var Mn=fe(xa);const Ea=({imageUrl:t,style:e})=>{const[i,n]=$(!0);lt(),te(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=Xe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=ee(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return v.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},v.createElement("img",{src:t||o,alt:"finger swiper"}))},Ln=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:o}=t,l=ee(()=>n?.mode==="2",[n]),r=ee(()=>{var d;return n?.mode==="2"?`translateY(-${50+((d=n?.offsetTop)!==null&&d!==void 0?d:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),s=ee(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),a=ee(()=>n?.bgWay==="1",[n]),c=ee(()=>a&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,a]);return v.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},c)},(!l||!a)&&v.createElement(Re,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s),onLoad:o}),l&&v.createElement(Re,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0}}))},Ia=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var a;const c=Z(),{isActive:d}=In(),{sxpParameter:p,openHashtag:m}=we(),[y,b]=$(!1);te(()=>{y&&d?(c?.current&&c.current.swiper.autoplay.start(),m?l(n):r(o)):c?.current&&c.current.swiper.autoplay.stop()},[n,d,l,m,o,r,y]);const T=oe(()=>{y||b(!0)},[y]);return v.createElement(St,{ref:c,defaultValue:0,direction:"horizontal",modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((a=s?.delay)!==null&&a!==void 0?a:3)*1e3}},t?.map((_,u)=>v.createElement(nt,{key:u},v.createElement(Ln,{src:!y&&u>0?"":_,height:i,imgUrlsPostConfig:s,onShowFirstImage:T}))))};var Ca=fe(Ia);const _a=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=$(!1),{setWaterFallData:a,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:m}=we(),y=b=>{p?m?.(!0):d?.(n),a?.(i?{hashTag:b,itemId:e,itemType:i,rec:o}:{hashTag:b,rec:o}),c?.(!0)};return ee(()=>t.length<=6?null:v.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),v.createElement("div",{className:"clc-sxp-bottom-hashtag"},v.createElement(Qt,null,t?.map((b,T)=>v.createElement(nt,{key:T,hidden:r?!1:T>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>y(b)},`#${b}`))))};var jn=fe(_a),ka="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 Zt(t){return fe(function(e){const{$store:i}=Zn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=Vi(i,d);return r=r.replace(a,p),p}})}),r},o=ee(()=>{var l,r,s;const{bindDatas:a}=e,c=Me(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:m}=d;m.replace(/{{\s*([\w.]+)\s*}}/g,(y,b)=>{var T,_;if(b){const u=(_=(T=Vi(i,b))!==null&&T!==void 0?T:e[p])!==null&&_!==void 0?_:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=At(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(r=c?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return v.createElement(t,Object.assign({},o,o.eventMap))})}const Da=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=lt(),l=ee(()=>{var r,s,a,c,d,p,m,y,b,T,_,u,g,f,E,k,h,O,C,x,w,D,S,I,P,M,N,R,V,j,z;if(!t?.video)return null;let L=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?L="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?L="\u5546\u54C1CTA":L=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const F=i?.[L];if(((p=F?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((m=t?.video)===null||m===void 0)&&m.bindProduct)||((y=F?.item)===null||y===void 0?void 0:y.type)==="Commodity"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((T=F?.item)===null||T===void 0?void 0:T.type)==="CommodityDiroNew"&&!(!((_=t?.video)===null||_===void 0)&&_.bindProduct)||((u=F?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((f=(g=t?.video)===null||g===void 0?void 0:g.bindProducts)===null||f===void 0)&&f.length)||((E=F?.item)===null||E===void 0?void 0:E.type)==="MultiCommodityDiro"&&!(!((h=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||h===void 0)&&h.length)||((O=F?.item)===null||O===void 0?void 0:O.type)==="MultiCommodityDiroNew"&&!(!((x=(C=t?.video)===null||C===void 0?void 0:C.bindProducts)===null||x===void 0)&&x.length))return null;if(F&&n){const B=n[(w=F?.item)===null||w===void 0?void 0:w.type],G=Zt(B),H=(D=B?.extend)===null||D===void 0?void 0:D.defaulSetting,le=((P=(I=(S=F?.item)===null||S===void 0?void 0:S.event)===null||I===void 0?void 0:I.onClick)===null||P===void 0?void 0:P.linkType)==="externalLink";return v.createElement(G,Object.assign({style:Object.assign(Object.assign(Object.assign({},H?.style),(M=F?.item)===null||M===void 0?void 0:M.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},H?.textStyle),(N=F?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(V=(R=F?.item)===null||R===void 0?void 0:R.bindDatas)!==null&&V!==void 0?V:[]},H?.props,(j=F?.item)===null||j===void 0?void 0:j.props,{event:((z=F?.item)===null||z===void 0?void 0:z.event)||{},schema:o,id:F?.id,key:F?.id,recData:t,isExternalLink:le,index:e}))}else return null},[t,n,i,o]);return v.createElement(v.Fragment,null,l)};var Nn=fe(Da);const Bn=({nudge:t})=>{var e,i,n,o,l,r,s;return v.createElement(v.Fragment,null,t?.isOpen&&v.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?v.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,v.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},Aa=({tagList:t=[],setActiveIndex:e})=>{const{getRecommendVideos:i,setRtcList:n,setCacheRtcList:o,setCacheActiveIndex:l,setLoading:r,swiperRef:s,waterFallData:a,bffEventReport:c,selectTag:d,setSelectTag:p}=we(),{backMainFeed:m}=Ue(),y=ee(()=>[Vt,...t],[t]),b=T=>()=>{if(T===d)return;T!=="FOR U"?c?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${T}']`}}):m("theme",T,d);let _;T!==Vt&&(_=T),r?.(!0),i?.({themeTag:_}).then(u=>{var g,f,E,k;st.emit(Ze.CHANGE_THEME_TAG,_),n?.((g=u?.recList)!==null&&g!==void 0?g:[]),o?.((f=u?.recList)!==null&&f!==void 0?f:[]),e?.(0),l?.(0),(k=(E=s?.current)===null||E===void 0?void 0:E.swiper)===null||k===void 0||k.slideTo(0)}).finally(()=>{r?.(!1)}),p?.(T)};return a||t.length<=0?null:v.createElement("div",{className:"clc-sxp-tagbar"},v.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},y.map(T=>v.createElement("li",{className:`clc-sxp-tagbar-list-item ${T===d?"clc-sxp-tagbar-list-item-active":""}`,key:T,onClick:b(T)},T))))};var zn=fe(Aa);const Pa=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:o,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:s}=we(),a=ee(()=>{const p=location.search.slice(1),m=ii.parse(p.replace(/\+/g,"%2B"));for(const y in m)m[y]=m[y].replace(/%2B/g,"+");return m},[]),c=p=>{var m;return(m=a[p])!==null&&m!==void 0?m:null};te(()=>{s?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmId:c("utm_id"),utmContent:c("utm_content"),clSource:c("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const d=()=>{s?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),r?.(!0),window.localStorage.setItem(Xi,"yes")};return v.createElement("div",{className:"consent-bg"},v.createElement("div",{className:"consent"},v.createElement("div",{className:"consent-col"},v.createElement("div",{className:"consent-title"},i??"Privacy Policy"),v.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),v.createElement("div",{className:"consent-col"},v.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:d},"Agree"),v.createElement("a",{className:"consent-policy",target:"_blank",href:o?`https://${o}`:void 0},l??"More information"))))};var Oa=fe(Pa);const Fn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:a,nudge:c,_schema:d,hashTagStyle:p,tagList:m=[],licenseUrl:y})=>{var b,T,_,u,g,f,E,k,h,O,C,x,w;const{schema:D}=lt(),[S,I]=$(0),P=Z(0),[M,N]=$(!1),[R,V]=$(!0),j=Z(),[z,L]=$(!1),[F,B]=$(!1),{loadVideos:G,bffEventReport:H,loading:le,setPopupDetailData:he,ctaEvent:ye,swiperRef:Y,waterFallData:q,setOpenHashtag:X,appDomain:Q,openHashtag:J,loadingImage:Ie,isFromHashtag:se,popupDetailData:Ae,bffFbReport:Le,curTime:Pe,h5EnterLink:ce,isShowConsent:ve,selectTag:Se}=we(),{backMainFeed:re}=Ue(),[Ne,Ye]=$(null),Qe=Z(),{productView:ft}=Ue(),U=ee(()=>r.length>0&&!le&&no(),[r,le]),W=oe(()=>{if(r.length<=0)return;to();const A=new Date;j.current=A,M&&ce?.(),Le?.({eventName:"PageView"}),N(!0)},[r.length,Le,ce,M]),ae=Z();te(()=>{var A,de,K,ue;if(!ae.current&&!Ne&&Qe?.current&&r?.length>0){ae.current=!0;const be=TCPlayer("player-container-id",{licenseUrl:y,controls:!1,loop:!1,autoplay:!0,muted:!0,preload:"auto",posterImage:!1,bigPlayButton:!0,sources:!((de=(A=r?.[0])===null||A===void 0?void 0:A.video)===null||de===void 0)&&de.url?[{src:(ue=(K=r?.[0])===null||K===void 0?void 0:K.video)===null||ue===void 0?void 0:ue.url}]:[]});be?.ready(()=>{Ye(be)})}},[Ne,y,r]),te(()=>{M||W()},[W,M]),te(()=>{var A;const de=r?.findIndex(K=>{var ue,be,Te,ie,pe,_e,Be,ze,Ce;return s==="\u591A\u5546\u54C1CTA"?((ue=K?.video)===null||ue===void 0?void 0:ue.bindProducts)&&((Te=(be=K?.video)===null||be===void 0?void 0:be.bindProducts)===null||Te===void 0?void 0:Te.length)>0:s==="\u5546\u54C1CTA"?(ie=K?.video)===null||ie===void 0?void 0:ie.bindProduct:((_e=(pe=K?.video)===null||pe===void 0?void 0:pe.bindCta)===null||_e===void 0?void 0:_e.itemId)===s&&(((Be=K?.video)===null||Be===void 0?void 0:Be.url)||((Ce=(ze=K?.video)===null||ze===void 0?void 0:ze.imgUrls)===null||Ce===void 0?void 0:Ce.length))})||0;(A=Y?.current)===null||A===void 0||A.swiper.slideTo(de)},[s,Y]),te(()=>{const A=r?.[S],de=()=>{var K,ue,be,Te,ie,pe,_e,Be,ze,Ce,Oe,ht,gt,bt,ut,Dt;const qe=!J&&!ve;if(document.visibilityState==="hidden"){qe&&(st.emit(Ze.PAGE_DID_HIDE,A),dt(A),mt(A));let yt="";Ae&&(!((ue=(K=A?.video)===null||K===void 0?void 0:K.bindProducts)===null||ue===void 0)&&ue.length||!((be=A?.video)===null||be===void 0)&&be.bindProduct)?yt="pdpPage":Ae&&((_e=o?.[(pe=(ie=(Te=A?.video)===null||Te===void 0?void 0:Te.bindCta)===null||ie===void 0?void 0:ie.itemId)!==null&&pe!==void 0?pe:""].item)===null||_e===void 0?void 0:_e.type)==="Appoint"?yt="formPage":se?yt="hashTagPage":!((Be=A?.video)===null||Be===void 0)&&Be.url?yt="videoPage":!((ze=A?.video)===null||ze===void 0)&&ze.imgUrls&&(!((Oe=(Ce=A?.video)===null||Ce===void 0?void 0:Ce.imgUrls)===null||Oe===void 0)&&Oe.length)?yt="imagePage":A?.product&&(yt="productPage"),H?.({eventInfo:{sessionDuration:Math.floor((new Date-Pe.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(ht=A?.video)===null||ht===void 0?void 0:ht.itemId,productId:(gt=A?.product)===null||gt===void 0?void 0:gt.itemId,position:S+"",fromKName:yt,fromKPage:location?.href,ctatId:(Dt=(ut=(bt=A?.video)===null||bt===void 0?void 0:bt.bindCta)===null||ut===void 0?void 0:ut.itemId)!==null&&Dt!==void 0?Dt:""}})}else document.visibilityState==="visible"&&(W(),qe&&(Tt(S),st.emit(Ze.PAGE_DID_SHOW,A),re("external",Se)))};return document.addEventListener("visibilitychange",de),()=>{document.removeEventListener("visibilitychange",de)}},[S,H,r,W,Ae,se,o,Pe,re,J,ve,Se]);const xe=ee(()=>{let A=0;return m.length>0&&(A+=45,q&&(A-=45)),A},[m,q]),ge=ee(()=>{let A=0;return t?.logoUrl&&t?.isShowLogo&&(A+=45),i-A-xe},[t,i,xe]),ke=ee(()=>t?.logoUrl&&t?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},v.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Ee=oe((A,de)=>{var K,ue,be,Te;return!((K=A?.video)===null||K===void 0)&&K.url?v.createElement(Ta,{rec:A,index:de,muted:R,data:r,height:ge,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:Ne}):!((ue=A?.video)===null||ue===void 0)&&ue.imgUrls?v.createElement(Ca,{key:A?.video.itemId,imgUrls:A?.video.imgUrls,width:n,height:ge,rec:A,index:de,onReportViewImageEnd:dt,onViewImageStartEvent:Tt,imgUrlsPostConfig:t?.imgUrlsPost}):A.product&&Array.isArray(t?.productPost)&&((be=t?.productPost)===null||be===void 0?void 0:be.length)>0?(Te=t?.productPost)===null||Te===void 0?void 0:Te.map((ie,pe)=>{var _e,Be,ze,Ce,Oe,ht,gt,bt;const ut=l[(_e=ie?.item)===null||_e===void 0?void 0:_e.type],Dt=Zt(ut),qe=(Be=ut?.extend)===null||Be===void 0?void 0:Be.defaulSetting;return v.createElement(Dt,Object.assign({key:`${de}${pe}`,textStyle:Object.assign(Object.assign({},qe?.textStyle),(ze=ie?.item)===null||ze===void 0?void 0:ze.textStyle),bindDatas:(Oe=(Ce=ie?.item)===null||Ce===void 0?void 0:Ce.bindDatas)!==null&&Oe!==void 0?Oe:[]},qe?.props,(ht=ie?.item)===null||ht===void 0?void 0:ht.props,{event:((gt=ie?.item)===null||gt===void 0?void 0:gt.event)||{},schema:D,id:ie?.id,viewTime:j.current,rec:A,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},qe?.style),(bt=ie?.item)===null||bt===void 0?void 0:bt.style),{height:"100%",overflow:"auto"}),index:de}))}):null},[n,r,ge,R,S,t?.productPost,j,a,l,D,Ne]),De=oe(A=>{B(A)},[]),ot=ee(()=>F?{background:"linear-gradient( 180deg, rgba(129,129,129,0) 0%, rgba(121,121,121,0.5) 5%, #616161 100%)",paddingTop:20,paddingBottom:20}:{padding:"20px 0"},[F]),rt=oe((A,de)=>{var K,ue,be,Te,ie,pe,_e;return A?.video?v.createElement(v.Fragment,null,((K=A?.video)===null||K===void 0?void 0:K.title)&&!F&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Bn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(Nn,{rec:A,index:de,tempMap:o,resolver:l})):null,v.createElement("div",null,v.createElement(Kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(be=(ue=A?.video)===null||ue===void 0?void 0:ue.title)!==null&&be!==void 0?be:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:De}),v.createElement(jn,{index:S,tags:(ie=(Te=A?.video)===null||Te===void 0?void 0:Te.hashTags)!==null&&ie!==void 0?ie:[],itemId:(pe=A?.video)===null||pe===void 0?void 0:pe.itemId,itemType:!((_e=A?.video)===null||_e===void 0)&&_e.itemId?"VIDEO":null,rec:A,hashTagStyle:p})))):null},[e,S,o,l,a,c,p,t,De,F,ot]),_t=oe((A,de)=>{var K,ue,be,Te;if(!t?.isShowLike)return;let ie=(K=t?.likeIconY)!==null&&K!==void 0?K:400;return q&&ie<40&&(ie+=40),A?.video?v.createElement(On,{key:A.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:A.isCollected,recData:A,className:"clc-sxp-like-button",style:{[(ue=t.likeIconXPosit)!==null&&ue!==void 0?ue:"right"]:(be=t.likeIconX)!==null&&be!==void 0?be:0,[(Te=t.likeIconYPosit)!==null&&Te!==void 0?Te:"bottom"]:ie},position:de}):null},[t,q]),dt=A=>{var de,K,ue,be,Te,ie;if(!(!((de=A?.video)===null||de===void 0)&&de.url)&&(!((K=A?.video)===null||K===void 0)&&K.imgUrls)){const pe=Date.now(),_e=(pe-P.current)/1e3;H?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(be=(ue=A?.video)===null||ue===void 0?void 0:ue.itemId)!==null&&be!==void 0?be:"",contentName:(Te=A?.video.title)!==null&&Te!==void 0?Te:"",imageEndTime:`${pe}`,playDuration:`${_e}`,contentTags:JSON.stringify((ie=A?.video.tags)!==null&&ie!==void 0?ie:[]),position:S+"",contentFormat:"image",traceInfo:A?.video.traceInfo}})}},kt=A=>{var de,K,ue,be,Te,ie,pe,_e,Be,ze;j.current=new Date;const Ce=r[A.previousIndex];if(!Ce)return;A.previousIndex-A.activeIndex<0?(H?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(K=(de=Ce?.video)===null||de===void 0?void 0:de.itemId)!==null&&K!==void 0?K:"",productId:(be=(ue=Ce?.product)===null||ue===void 0?void 0:ue.itemId)!==null&&be!==void 0?be:"",requestId:null}}),dt(Ce)):(H?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(ie=(Te=Ce?.video)===null||Te===void 0?void 0:Te.itemId)!==null&&ie!==void 0?ie:"",productId:(_e=(pe=Ce.product)===null||pe===void 0?void 0:pe.itemId)!==null&&_e!==void 0?_e:"",requestId:null}}),dt(Ce)),mt(Ce);const Oe=r[A.activeIndex];!(!((Be=Oe?.video)===null||Be===void 0)&&Be.url)&&!(!((ze=Oe?.video)===null||ze===void 0)&&ze.imgUrls)&&Oe?.product&&Le?.({eventName:"ProductView"})},mt=A=>{var de,K,ue;!(!((de=A?.video)===null||de===void 0)&&de.url)&&!(!((K=A?.video)===null||K===void 0)&&K.imgUrls)&&A?.product&&ft(A,A.product,(ue=A?.product)===null||ue===void 0?void 0:ue.bindCta,j.current,S)};te(()=>{const A=r[S];J&&mt(A)},[J,r,S]);const Tt=A=>{var de,K,ue,be,Te,ie;const pe=r[A];if(!(!((de=pe?.video)===null||de===void 0)&&de.url)&&(!((K=pe?.video)===null||K===void 0)&&K.imgUrls)){const _e=Date.now();P.current=_e,H?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(be=(ue=pe?.video)===null||ue===void 0?void 0:ue.itemId)!==null&&be!==void 0?be:"",contentName:(Te=pe?.video.title)!==null&&Te!==void 0?Te:"",imageStartTime:`${_e}`,contentTags:JSON.stringify((ie=pe?.video.tags)!==null&&ie!==void 0?ie:[]),position:A+"",contentFormat:"image",traceInfo:pe?.video.traceInfo}}),Le?.({eventName:"ViewContent"})}},ct=ee(()=>{const A=r?.map((de,K)=>S===K||K-1===S||K+1===S?de:null);return q?A:A.concat([{loading:!0}])},[r,S,q]),He=ee(()=>le?v.createElement("div",{style:{height:ge,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:Ie,alt:"loading...",style:{objectFit:"contain"}})):ct?.map((A,de)=>v.createElement(nt,{key:de,virtualIndex:de},A&&v.createElement(v.Fragment,null,A?.loading?v.createElement("div",{style:{height:ge,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},v.createElement("img",{width:64,height:64,src:Ie,alt:"loading...",style:{objectFit:"contain"}})):v.createElement(v.Fragment,null,Ee(A,de),rt(A,de),_t(A,de))))),[n,r,ge,le,rt,Ee,ct,Ie]),ei=Xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),xt=Xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return v.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},ve?v.createElement(Oa,Object.assign({},(_=(T=(b=t?.consent)===null||b===void 0?void 0:b[0])===null||T===void 0?void 0:T.item)===null||_===void 0?void 0:_.props)):v.createElement(v.Fragment,null,q&&v.createElement(kn,{icon:ka,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{X?.(!0)}}),ke,v.createElement(zn,{tagList:m,setActiveIndex:I}),U?v.createElement(Ea,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((u=t?.swipeTipOffset)!==null&&u!==void 0?u:0)}%`}}):null,v.createElement(St,{style:{marginTop:xe},ref:Y,onSlideChange:()=>{Y.current.swiper.allowTouchMove=!1,setTimeout(()=>{Y.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:A=>{I(A.activeIndex),!J&&(kt(A),!q&&A?.activeIndex+2>=r?.length&&(z||(L(!0),G?.(Math.ceil(S/10)+1).then(()=>{L(!1)}))))},direction:"vertical",height:ge},v.createElement(Mn,{style:{position:"fixed",visibility:!((f=(g=r?.[S])===null||g===void 0?void 0:g.video)===null||f===void 0)&&f.url?"visible":"hidden",zIndex:999,[(E=t?.muteIconXPosit)!==null&&E!==void 0?E:"right"]:(k=t?.muteIconX)!==null&&k!==void 0?k:0,[(h=t?.muteIconYPosit)!==null&&h!==void 0?h:"bottom"]:(O=t?.muteIconY)!==null&&O!==void 0?O:23},defaultValue:R,activeIcon:t?.unMuteIcon?t?.unMuteIcon:ei,unactiveIcon:t?.muteIcon?t?.muteIcon:xt,onChange:V}),He)),v.createElement(An,Object.assign({},(w=(x=(C=t?.hashTag)===null||C===void 0?void 0:C[0])===null||x===void 0?void 0:x.item)===null||w===void 0?void 0:w.props)),v.createElement("div",{style:{position:"absolute",zIndex:-100}},v.createElement("video",{ref:Qe,id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),v.createElement("div",{id:"player-container-id-copy"})))},Ma=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>v.createElement(St,{defaultValue:0,direction:"horizontal",modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>v.createElement(nt,{key:r},v.createElement(Ln,{src:r,height:i,imgUrlsPostConfig:n}))));var La=fe(Ma);const ja=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[a,c]=$(!1),d=Z(null),{bffEventReport:p,sxpParameter:m,waterFallData:y,openHashtag:b}=we(),T=Z(0),[_,u]=$(!1),[g,f]=$(!0),E=Z(null),[k,h]=$("");te(()=>{d.current&&(d.current.muted=o)},[o]);const O=oe(()=>{var j;(j=d.current)===null||j===void 0||j.play()},[]),C=Xe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),x=oe(()=>{var j,z,L,F,B,G,H,le,he,ye,Y,q,X;c(!1);const Q=n[e];if(Q&&(!((j=d?.current)===null||j===void 0)&&j.duration)){T.current=((z=d?.current)===null||z===void 0?void 0:z.currentTime)||0;const J=((F=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&F!==void 0?F:0).toFixed(2),Ie=((G=(B=d.current)===null||B===void 0?void 0:B.currentTime)!==null&&G!==void 0?G:0).toFixed(2),se=g?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(le=(H=Q?.video)===null||H===void 0?void 0:H.itemId)!==null&&le!==void 0?le:"",contentName:(ye=(he=Q?.video)===null||he===void 0?void 0:he.title)!==null&&ye!==void 0?ye:"",playType:se,startTime:Ie,videoDuration:J,contentTags:JSON.stringify((q=(Y=Q?.video)===null||Y===void 0?void 0:Y.tags)!==null&&q!==void 0?q:[]),position:e+"",contentFormat:"video",traceInfo:(X=Q?.video)===null||X===void 0?void 0:X.traceInfo}}),f(!1)}},[p,n,e,g]),w=oe(()=>{u(!0)},[]),D=oe(j=>()=>{var z,L,F,B,G;if(!_)return;const H=(z=d.current)===null||z===void 0?void 0:z.paused;switch(j){case"start":if(!H)return;(L=d.current)===null||L===void 0||L.play(),c(!1);break;case"pause":if(H)return;(F=d.current)===null||F===void 0||F.pause(),c(!0);break;default:H?(B=d.current)===null||B===void 0||B.play():(G=d.current)===null||G===void 0||G.pause(),c(!H);break}},[_]),S=oe(()=>{var j,z,L,F,B,G,H,le,he,ye,Y,q,X;const Q=n[e],J=((z=(j=d.current)===null||j===void 0?void 0:j.duration)!==null&&z!==void 0?z:0).toFixed(2),Ie=((F=(L=d.current)===null||L===void 0?void 0:L.currentTime)!==null&&F!==void 0?F:0).toFixed(2);if(!((B=d?.current)===null||B===void 0)&&B.duration){const se=(((G=d?.current)===null||G===void 0?void 0:G.currentTime)-T.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(le=(H=Q?.video)===null||H===void 0?void 0:H.itemId)!==null&&le!==void 0?le:"",contentName:(ye=(he=Q?.video)===null||he===void 0?void 0:he.title)!==null&&ye!==void 0?ye:"",endTime:Ie,videoDuration:J,playDuration:se,contentTags:JSON.stringify((q=(Y=Q?.video)===null||Y===void 0?void 0:Y.tags)!==null&&q!==void 0?q:[]),position:e+"",contentFormat:"video",traceInfo:(X=Q?.video)===null||X===void 0?void 0:X.traceInfo}})}},[n,e,p]),I=ee(()=>r?.mode==="2",[r]),P=ee(()=>{var j;return r?.mode==="2"?`translateY(-${50+((j=r?.offsetTop)!==null&&j!==void 0?j:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),M=ee(()=>{var j;return((j=t?.video)===null||j===void 0?void 0:j.cover)||k},[k,t]),N=oe(()=>{if(!E||!d||!d.current||!E.current)return;const j=d?.current,z=E?.current,L=z.getContext("2d"),F=window?.innerWidth,B=window?.innerHeight;z.height=B,z.width=F,L?.drawImage(j,0,0,z.width,z.height),h(z.toDataURL())},[]);te(()=>{var j,z,L,F;if(d.current){if(c(!1),!d.current.src){const B=t?.video.url;if(B.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const G=new window.Hls;G.loadSource(B),G.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=B;else d.current.src=B;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(j=d.current)===null||j===void 0||j.addEventListener("loadedmetadata",w),(z=d.current)===null||z===void 0||z.addEventListener("canplay",w),(L=d.current)===null||L===void 0||L.addEventListener("playing",x),(F=d.current)===null||F===void 0||F.addEventListener("loadeddata",N),()=>{var B,G,H,le;(B=d.current)===null||B===void 0||B.removeEventListener("loadedmetadata",w),(G=d.current)===null||G===void 0||G.removeEventListener("canplay",w),(H=d.current)===null||H===void 0||H.removeEventListener("playing",x),(le=d.current)===null||le===void 0||le.removeEventListener("loadeddata",N)}}},[w,x,t?.video,N]);const R=ee(()=>!m?.placeholder_image||_?null:v.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image,alt:"video poster"}),[_,m?.placeholder_image]);te(()=>{const j=()=>{var z,L;l===e&&(!((z=t?.video)===null||z===void 0)&&z.url)&&(!((L=d?.current)===null||L===void 0)&&L.src)&&!a&&D("pause")()};return window.addEventListener("beforeunload",j),()=>{window.removeEventListener("beforeunload",j)}},[l,e,t,d,D,a]);const V=ee(()=>I?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[I]);return t?.video?v.createElement(v.Fragment,null,I?v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement(Re,{src:M,style:Object.assign({height:i,width:s,objectFit:"cover"},V)}),v.createElement("canvas",{ref:E,style:{display:"none"}}),v.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:P,left:0,right:0}},v.createElement("div",{style:{position:"relative",width:s,height:"100%"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:S,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:C,alt:"video pause image"}))),R):v.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},v.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:S,onEnded:O}),R,v.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:C,alt:"video pause image"}))):null};var Na=fe(ja);const Bi={};Object.values(Ni).forEach(t=>{Bi[t.extend.type]=t});const Ba="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",za="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Fa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:a=375,appDomain:c,tagList:d=[]})=>{const p=ee(()=>{let h=0;return e?.logoUrl&&e?.isShowLogo&&(h+=45),d.length>0&&(h+=45),s-h},[e,s,d]),m=(h,O)=>{var C,x,w,D;if(!((C=h?.video)===null||C===void 0)&&C.url)return v.createElement(Na,{rec:h,index:O,muted:!0,width:a,data:t??[],height:p,activeIndex:O,videoPostConfig:e?.videoPost});if(!((x=h?.video)===null||x===void 0)&&x.imgUrls)return v.createElement(La,{key:h?.video.itemId,imgUrls:h?.video.imgUrls,width:a,height:p,rec:h,index:O,imgUrlsPostConfig:e?.imgUrlsPost});if(h.product&&h.product&&Array.isArray(e?.productPost)&&((w=e?.productPost)===null||w===void 0?void 0:w.length)>0)return(D=e?.productPost)===null||D===void 0?void 0:D.map((S,I)=>{var P,M,N,R,V,j,z,L;const F=Bi[(P=S?.item)===null||P===void 0?void 0:P.type],B=Zt(F),G=(M=F?.extend)===null||M===void 0?void 0:M.defaulSetting;return v.createElement(B,Object.assign({key:`${O}${I}`,textStyle:Object.assign(Object.assign({},G?.textStyle),(N=S?.item)===null||N===void 0?void 0:N.textStyle),bindDatas:(V=(R=S?.item)===null||R===void 0?void 0:R.bindDatas)!==null&&V!==void 0?V:[]},G?.props,(j=S?.item)===null||j===void 0?void 0:j.props,{event:((z=S?.item)===null||z===void 0?void 0:z.event)||{},id:S?.id,rec:h,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},G?.style),(L=S?.item)===null||L===void 0?void 0:L.style),{width:a,height:p,overflow:"auto"}),index:O}))})},y=ee(()=>e?.logoUrl&&e?.isShowLogo?v.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},v.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(h,O)=>e?.isShowCTA===void 0||e?.isShowCTA?v.createElement("div",{className:"clc-sxp-bottom-card"},v.createElement(Nn,{rec:h,index:O,tempMap:o,resolver:Bi})):null,T=(h,O)=>{var C,x,w,D,S,I,P;return h?.video?v.createElement(v.Fragment,null,((C=h?.video)===null||C===void 0?void 0:C.title)&&v.createElement("div",{className:"clc-sxp-bottom-shadow"}),v.createElement("div",{className:"clc-sxp-bottom"},v.createElement(Bn,{nudge:n}),b(h,O),v.createElement("div",null,v.createElement(Kt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(w=(x=h?.video)===null||x===void 0?void 0:x.title)!==null&&w!==void 0?w:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),v.createElement(jn,{index:O,tags:(S=(D=h?.video)===null||D===void 0?void 0:D.hashTags)!==null&&S!==void 0?S:[],itemId:(I=h?.video)===null||I===void 0?void 0:I.itemId,itemType:!((P=h?.video)===null||P===void 0)&&P.itemId?"VIDEO":null,rec:h,hashTagStyle:r}))):null},_=Xe(za,c),u=Xe(Ba,c),g=(h,O)=>{var C,x,w,D;if(!e?.isShowLike)return;let S=(C=e?.likeIconY)!==null&&C!==void 0?C:400;return S<40&&(S+=40),h?.video?v.createElement(On,{key:h.position,activeIcon:(x=e?.likeIcon)!==null&&x!==void 0?x:_,unActicveIcon:(w=e?.unlikeIcon)!==null&&w!==void 0?w:u,position:O,active:h.isCollected,recData:h,className:"clc-sxp-like-button",style:{top:S,right:(D=e?.likeIconX)!==null&&D!==void 0?D:0}}):null},f=Xe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),E=Xe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),k=(h,O)=>{var C,x,w,D;return v.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},y,v.createElement(zn,{tagList:d}),v.createElement(Mn,{style:{position:"absolute",right:(C=e?.muteIconX)!==null&&C!==void 0?C:0,visibility:!((w=(x=t?.[O])===null||x===void 0?void 0:x.video)===null||w===void 0)&&w.url?"visible":"hidden",bottom:(D=e?.muteIconY)!==null&&D!==void 0?D:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:f,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),m(h,O),T(h,O),g(h,O))};return v.createElement("div",{className:ne({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((h,O)=>k(h,O)))};var Va=fe(Fa);const Ra=()=>{const{schema:t,resolver:e,popup:i}=lt(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=we(),{productView:r}=Ue(),[s,a]=$(),c=Z(null);te(()=>{const m=()=>{c.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),te(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,a(i))},[i]);const d=()=>{var m,y,b,T;if(!i||i?.id===""||!s||new Date-c.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;a(Object.assign(Object.assign({},i),{id:""}));const _=o,u=(y=_?.video)===null||y===void 0?void 0:y.bindProduct,g=(T=(b=_?.video)===null||b===void 0?void 0:b.bindProduct)===null||T===void 0?void 0:T.bindCta;u&&g&&r(_,u,g,c.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ee(()=>{var m,y,b;return(b=(y=(m=t?.sxpPageConf)===null||m===void 0?void 0:m.globalConfig)===null||y===void 0?void 0:y.popupList)===null||b===void 0?void 0:b.map((T,_)=>{var u,g,f,E,k,h,O,C,x,w,D,S,I,P,M;if(T?.id===i?.id){const N=e[(u=T?.item)===null||u===void 0?void 0:u.type],R=Zt(N),V=((E=(f=(g=T?.item)===null||g===void 0?void 0:g.event)===null||f===void 0?void 0:f.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",j=((O=(h=(k=T?.item)===null||k===void 0?void 0:k.event)===null||h===void 0?void 0:h.onClick)===null||O===void 0?void 0:O.linkType)==="popup",z=(C=N?.extend)===null||C===void 0?void 0:C.defaulSetting;return v.createElement(R,Object.assign({key:_,style:Object.assign(Object.assign(Object.assign({},z?.style),(x=T?.item)===null||x===void 0?void 0:x.style),{width:(w=window.innerWidth)!==null&&w!==void 0?w:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},z?.textStyle),(D=T?.item)===null||D===void 0?void 0:D.textStyle),bindDatas:(I=(S=T?.item)===null||S===void 0?void 0:S.bindDatas)!==null&&I!==void 0?I:[]},z?.props,(P=T?.item)===null||P===void 0?void 0:P.props,{event:((M=T?.item)===null||M===void 0?void 0:M.event)||{},schema:t,id:T?.id,isExternalLink:V,isPopup:j,onClose:d}))}else return v.createElement(v.Fragment,null)})},[t,i,e,d]);return v.createElement(Jt,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},zi={};Object.values(Ni).forEach(t=>{zi[t.extend.type]=t});const Ha=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var a,c,d,p,m,y,b,T,_,u,g;const f=ee(()=>{var E;return location?.search?(E=location?.search)===null||E===void 0?void 0:E.replace("?",""):""},[]);return v.createElement(on,{resolver:zi,enableDataSource:!1,schema:t?.data,utmVal:f},v.createElement(Zi,{utmVal:f,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(y=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&y!==void 0?y:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(_=(T=(b=t?.data)===null||b===void 0?void 0:b.sxpPageConf)===null||T===void 0?void 0:T.globalConfig)===null||_===void 0?void 0:_.isShowTag,globalConfig:(g=(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf)===null||g===void 0?void 0:g.globalConfig,render:({rtcList:E,tagList:k})=>{var h;return v.createElement(v.Fragment,null,v.createElement(Fn,Object.assign({},(h=t?.data)===null||h===void 0?void 0:h.sxpPageConf,{tagList:k,data:E,resolver:zi,licenseUrl:r})),v.createElement(Ra,null))}}))};var Ua=fe(Ha);const Vn=Ot({}),Ga=({children:t,data:e})=>{var i,n,o,l,r,s,a,c,d,p,m,y,b;const[T,_]=$(!1),[u,g]=$(!1);return v.createElement(Vn.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image,privacyContent:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.privacy_context,privacyNecessity:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_necessity,privacyPolicyTitle:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.privacy_policy_title,privacyPolicyUrl:(p=e?.sxp_parameter)===null||p===void 0?void 0:p.privacy_policy_url,privacyTitle:(m=e?.sxp_parameter)===null||m===void 0?void 0:m.privacy_title,template:(y=e?.sxp_parameter)===null||y===void 0?void 0:y.template,industry:(b=e?.sxp_parameter)===null||b===void 0?void 0:b.industry},appDomain:e?.appDomain,openHashtag:T,setOpenHashtag:_,openConsent:u,setOpenConsent:g}},t)};function $a(){return Pt(Vn)}export{Va as DiyPortalPreview,Ga as EditorDataProvider,Jt as Modal,Zi as SxpDataSourceProvider,Ua as SxpPageCore,Fn as SxpPageRender,ao as core,Qn as default,$e as defaultSetting,Ni as materials,$a as useEditorDataProvider};
|
7
7
|
//# sourceMappingURL=index.min.js.map
|