pb-sxp-ui 1.0.2 → 1.0.3-alpha.2

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.
Files changed (182) hide show
  1. package/dist/index.cjs +3624 -1460
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +143 -245
  4. package/dist/index.js +3625 -1461
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.cjs +3 -5
  7. package/dist/index.min.cjs.map +1 -1
  8. package/dist/index.min.js +3 -5
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/pb-ui.js +3624 -1460
  11. package/dist/pb-ui.js.map +1 -1
  12. package/dist/pb-ui.min.js +3 -5
  13. package/dist/pb-ui.min.js.map +1 -1
  14. package/es/core/components/SxpPageCore/index.d.ts +1 -0
  15. package/es/core/components/SxpPageCore/index.js +2 -2
  16. package/es/core/components/SxpPageRender/ExpandableText.d.ts +1 -0
  17. package/es/core/components/SxpPageRender/ExpandableText.js +17 -10
  18. package/es/core/components/SxpPageRender/Hashtag/index.d.ts +2 -1
  19. package/es/core/components/SxpPageRender/Hashtag/index.js +3 -3
  20. package/es/core/components/SxpPageRender/Modal/index.d.ts +2 -0
  21. package/es/core/components/SxpPageRender/Modal/index.js +7 -4
  22. package/es/core/components/SxpPageRender/Navbar.d.ts +1 -0
  23. package/es/core/components/SxpPageRender/Navbar.js +3 -2
  24. package/es/core/components/SxpPageRender/Nudge/index.d.ts +24 -0
  25. package/es/core/components/SxpPageRender/Nudge/index.js +13 -0
  26. package/es/core/components/SxpPageRender/PictureGroup/index.js +11 -7
  27. package/es/core/components/SxpPageRender/Popup/index.js +3 -3
  28. package/es/core/components/SxpPageRender/VideoWidget/index.js +30 -21
  29. package/es/core/components/SxpPageRender/WaterFall/List.d.ts +2 -1
  30. package/es/core/components/SxpPageRender/WaterFall/List.js +24 -14
  31. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.d.ts +2 -1
  32. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +17 -14
  33. package/es/core/components/SxpPageRender/WaterFall/index.d.ts +2 -1
  34. package/es/core/components/SxpPageRender/WaterFall/index.js +4 -3
  35. package/es/core/components/SxpPageRender/WaterFall/preview.json +1242 -0
  36. package/es/core/components/SxpPageRender/index.d.ts +22 -1
  37. package/es/core/components/SxpPageRender/index.js +22 -19
  38. package/es/core/components/SxpPageRender/typing.d.ts +1 -0
  39. package/es/core/components/SxpPageRender/useIconLink.d.ts +1 -1
  40. package/es/core/components/SxpPageRender/useIconLink.js +8 -3
  41. package/es/core/context/EditorContext.d.ts +5 -0
  42. package/es/core/context/EditorContext.js +21 -3
  43. package/es/core/context/EditorDataProvider.d.ts +3 -1
  44. package/es/core/context/EditorDataProvider.js +5 -2
  45. package/es/core/context/SxpDataSourceProvider.d.ts +2 -0
  46. package/es/core/context/SxpDataSourceProvider.js +8 -4
  47. package/es/core/create.d.ts +1 -1
  48. package/es/materials/sxp/HashTag/index.d.ts +14 -0
  49. package/es/materials/sxp/HashTag/index.js +6 -0
  50. package/es/materials/sxp/HashTag/material.d.ts +2 -0
  51. package/es/materials/sxp/HashTag/material.js +52 -0
  52. package/es/materials/sxp/HashTag/settingRender.d.ts +122 -0
  53. package/es/materials/sxp/HashTag/settingRender.js +153 -0
  54. package/es/materials/sxp/index.d.ts +1 -0
  55. package/es/materials/sxp/index.js +1 -0
  56. package/es/materials/sxp/popup/CommodityDetail/index.d.ts +20 -1
  57. package/es/materials/sxp/popup/CommodityDetail/index.js +44 -21
  58. package/es/materials/sxp/popup/CommodityDetail/material.js +36 -1
  59. package/es/materials/sxp/popup/CommodityDetail/settingRender.d.ts +134 -0
  60. package/es/materials/sxp/popup/CommodityDetail/settingRender.js +167 -0
  61. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +13 -1
  62. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +20 -17
  63. package/es/materials/sxp/popup/CommodityDetailDiroNew/material.js +46 -1
  64. package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +134 -0
  65. package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +171 -0
  66. package/es/materials/sxp/popup/index.d.ts +0 -1
  67. package/es/materials/sxp/popup/index.js +0 -1
  68. package/es/materials/sxp/template/Appoint/index.d.ts +2 -0
  69. package/es/materials/sxp/template/Appoint/index.js +4 -18
  70. package/es/materials/sxp/template/Appoint/material.js +22 -6
  71. package/es/materials/sxp/template/Commodity/index.d.ts +2 -0
  72. package/es/materials/sxp/template/Commodity/index.js +5 -22
  73. package/es/materials/sxp/template/Commodity/material.js +31 -6
  74. package/es/materials/sxp/template/CommodityDiro/index.d.ts +2 -0
  75. package/es/materials/sxp/template/CommodityDiro/index.js +5 -24
  76. package/es/materials/sxp/template/CommodityDiro/material.js +30 -5
  77. package/es/materials/sxp/template/CommodityDiroNew/index.d.ts +2 -0
  78. package/es/materials/sxp/template/CommodityDiroNew/index.js +5 -24
  79. package/es/materials/sxp/template/CommodityDiroNew/material.js +32 -6
  80. package/es/materials/sxp/template/Link/index.d.ts +2 -0
  81. package/es/materials/sxp/template/Link/index.js +4 -13
  82. package/es/materials/sxp/template/Link/material.js +22 -5
  83. package/es/materials/sxp/template/MultiCommodity/index.d.ts +2 -0
  84. package/es/materials/sxp/template/MultiCommodity/index.js +8 -24
  85. package/es/materials/sxp/template/MultiCommodity/material.js +30 -5
  86. package/es/materials/sxp/template/MultiCommodityDiro/index.d.ts +2 -0
  87. package/es/materials/sxp/template/MultiCommodityDiro/index.js +8 -27
  88. package/es/materials/sxp/template/MultiCommodityDiro/material.js +31 -6
  89. package/es/materials/sxp/template/MultiCommodityDiroNew/index.d.ts +2 -0
  90. package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +8 -25
  91. package/es/materials/sxp/template/MultiCommodityDiroNew/material.js +32 -6
  92. package/es/materials/sxp/template/components/EventProvider.d.ts +2 -1
  93. package/es/materials/sxp/template/components/EventProvider.js +5 -4
  94. package/es/materials/sxp/template/components/settingRender.d.ts +123 -0
  95. package/es/materials/sxp/template/components/settingRender.js +215 -0
  96. package/es/materials/sxp/template/components/typing.d.ts +6 -0
  97. package/es/materials/sxp/template/components/typing.js +1 -0
  98. package/lib/core/components/SxpPageCore/index.d.ts +1 -0
  99. package/lib/core/components/SxpPageCore/index.js +2 -2
  100. package/lib/core/components/SxpPageRender/ExpandableText.d.ts +1 -0
  101. package/lib/core/components/SxpPageRender/ExpandableText.js +17 -10
  102. package/lib/core/components/SxpPageRender/Hashtag/index.d.ts +2 -1
  103. package/lib/core/components/SxpPageRender/Hashtag/index.js +3 -3
  104. package/lib/core/components/SxpPageRender/Modal/index.d.ts +2 -0
  105. package/lib/core/components/SxpPageRender/Modal/index.js +7 -4
  106. package/lib/core/components/SxpPageRender/Navbar.d.ts +1 -0
  107. package/lib/core/components/SxpPageRender/Navbar.js +3 -2
  108. package/lib/core/components/SxpPageRender/Nudge/index.d.ts +24 -0
  109. package/lib/core/components/SxpPageRender/Nudge/index.js +16 -0
  110. package/lib/core/components/SxpPageRender/PictureGroup/index.js +10 -6
  111. package/lib/core/components/SxpPageRender/Popup/index.js +3 -3
  112. package/lib/core/components/SxpPageRender/VideoWidget/index.js +30 -21
  113. package/lib/core/components/SxpPageRender/WaterFall/List.d.ts +2 -1
  114. package/lib/core/components/SxpPageRender/WaterFall/List.js +23 -14
  115. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.d.ts +2 -1
  116. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +15 -13
  117. package/lib/core/components/SxpPageRender/WaterFall/index.d.ts +2 -1
  118. package/lib/core/components/SxpPageRender/WaterFall/index.js +4 -3
  119. package/lib/core/components/SxpPageRender/WaterFall/preview.json +1242 -0
  120. package/lib/core/components/SxpPageRender/index.d.ts +22 -1
  121. package/lib/core/components/SxpPageRender/index.js +22 -19
  122. package/lib/core/components/SxpPageRender/typing.d.ts +1 -0
  123. package/lib/core/components/SxpPageRender/useIconLink.d.ts +1 -1
  124. package/lib/core/components/SxpPageRender/useIconLink.js +8 -3
  125. package/lib/core/context/EditorContext.d.ts +5 -0
  126. package/lib/core/context/EditorContext.js +21 -3
  127. package/lib/core/context/EditorDataProvider.d.ts +3 -1
  128. package/lib/core/context/EditorDataProvider.js +4 -1
  129. package/lib/core/context/SxpDataSourceProvider.d.ts +2 -0
  130. package/lib/core/context/SxpDataSourceProvider.js +8 -4
  131. package/lib/core/create.d.ts +1 -1
  132. package/lib/materials/sxp/HashTag/index.d.ts +14 -0
  133. package/lib/materials/sxp/HashTag/index.js +9 -0
  134. package/lib/materials/sxp/HashTag/material.d.ts +2 -0
  135. package/lib/materials/sxp/HashTag/material.js +56 -0
  136. package/lib/materials/sxp/HashTag/settingRender.d.ts +122 -0
  137. package/lib/materials/sxp/HashTag/settingRender.js +155 -0
  138. package/lib/materials/sxp/index.d.ts +1 -0
  139. package/lib/materials/sxp/index.js +1 -0
  140. package/lib/materials/sxp/popup/CommodityDetail/index.d.ts +20 -1
  141. package/lib/materials/sxp/popup/CommodityDetail/index.js +43 -20
  142. package/lib/materials/sxp/popup/CommodityDetail/material.js +36 -1
  143. package/lib/materials/sxp/popup/CommodityDetail/settingRender.d.ts +134 -0
  144. package/lib/materials/sxp/popup/CommodityDetail/settingRender.js +169 -0
  145. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +13 -1
  146. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +20 -17
  147. package/lib/materials/sxp/popup/CommodityDetailDiroNew/material.js +46 -1
  148. package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +134 -0
  149. package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +173 -0
  150. package/lib/materials/sxp/popup/index.d.ts +0 -1
  151. package/lib/materials/sxp/popup/index.js +0 -1
  152. package/lib/materials/sxp/template/Appoint/index.d.ts +2 -0
  153. package/lib/materials/sxp/template/Appoint/index.js +4 -18
  154. package/lib/materials/sxp/template/Appoint/material.js +22 -6
  155. package/lib/materials/sxp/template/Commodity/index.d.ts +2 -0
  156. package/lib/materials/sxp/template/Commodity/index.js +5 -22
  157. package/lib/materials/sxp/template/Commodity/material.js +31 -6
  158. package/lib/materials/sxp/template/CommodityDiro/index.d.ts +2 -0
  159. package/lib/materials/sxp/template/CommodityDiro/index.js +5 -24
  160. package/lib/materials/sxp/template/CommodityDiro/material.js +30 -5
  161. package/lib/materials/sxp/template/CommodityDiroNew/index.d.ts +2 -0
  162. package/lib/materials/sxp/template/CommodityDiroNew/index.js +5 -24
  163. package/lib/materials/sxp/template/CommodityDiroNew/material.js +32 -6
  164. package/lib/materials/sxp/template/Link/index.d.ts +2 -0
  165. package/lib/materials/sxp/template/Link/index.js +4 -13
  166. package/lib/materials/sxp/template/Link/material.js +22 -5
  167. package/lib/materials/sxp/template/MultiCommodity/index.d.ts +2 -0
  168. package/lib/materials/sxp/template/MultiCommodity/index.js +7 -23
  169. package/lib/materials/sxp/template/MultiCommodity/material.js +30 -5
  170. package/lib/materials/sxp/template/MultiCommodityDiro/index.d.ts +2 -0
  171. package/lib/materials/sxp/template/MultiCommodityDiro/index.js +7 -26
  172. package/lib/materials/sxp/template/MultiCommodityDiro/material.js +31 -6
  173. package/lib/materials/sxp/template/MultiCommodityDiroNew/index.d.ts +2 -0
  174. package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +7 -24
  175. package/lib/materials/sxp/template/MultiCommodityDiroNew/material.js +32 -6
  176. package/lib/materials/sxp/template/components/EventProvider.d.ts +2 -1
  177. package/lib/materials/sxp/template/components/EventProvider.js +4 -3
  178. package/lib/materials/sxp/template/components/settingRender.d.ts +123 -0
  179. package/lib/materials/sxp/template/components/settingRender.js +217 -0
  180. package/lib/materials/sxp/template/components/typing.d.ts +6 -0
  181. package/lib/materials/sxp/template/components/typing.js +2 -0
  182. package/package.json +1 -1
package/dist/index.min.js CHANGED
@@ -1,9 +1,7 @@
1
- import{isEmpty as Bt,isEqual as zt,cloneDeep as Xe,debounce as gt,throttle as tt,get as jt}from"lodash";import{v4 as Pi}from"uuid";import Di from"pako";import p,{useContext as Ye,useMemo as oe,createContext as Qe,memo as te,useState as G,useRef as Q,useCallback as le,useEffect as q,forwardRef as wt,useImperativeHandle as Oi,useLayoutEffect as Mi}from"react";import $t from"qs";import{css as W}from"@emotion/css";import{BetaSchemaForm as Li}from"@ant-design/pro-components";import*as Gt from"react-dom";import Ni from"eventemitter3";function ge(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 ye(t,e,i,n){function o(l){return l instanceof i?l:new i(function(a){a(l)})}return new(i||(i=Promise))(function(l,a){function r(d){try{c(n.next(d))}catch(v){a(v)}}function s(d){try{c(n.throw(d))}catch(v){a(v)}}function c(d){d.done?l(d.value):o(d.value).then(r,s)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const ki=/:\w+/g;var Vt=(t,e)=>ye(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:a,url:r,urlParams:s,name:c,queryString:d,headers:v,body:f}=e[o];let m=r;s&&Object.entries(s).forEach(([w,g])=>{m=m.replace(ki,S=>S===w?g:S)}),d&&(m+=d),n[l]=c;try{const w=yield fetch(m,{method:a,headers:Object.assign({"Content-Type":"application/json"},v),body:JSON.stringify(f)}).then(g=>g.json());i[l]=w}catch(w){console.error("DataSource request error: ",w),i[l]={}}}return{$store:i,idMapName:n}});const Ht="SXP_TOKEN_INFO",Ri=(t,e)=>ye(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),a=window.localStorage.getItem(Ht);let r=JSON.parse(a||"{}");if(Date.now()>((i=r?.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;r=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Ht,JSON.stringify(r))}}return r});function it(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 Fi=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},Bi=()=>{const t=Pi();return t?.replaceAll?t.replaceAll("-",""):Fi(32)};function Ut(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=Di.inflate(n,{to:"string"});return JSON.parse(o)}let bt=null;const zi={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class ji{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,bt)return bt;bt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?zi[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let we=null;const $i={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{we||(we=new ji),n&&we.setApiUrl(n),we.setAppId(t),we.setTenantId(e),we.setEnv(i)},getDetail:t=>{if(!we)return;const e=we.getTenantId(),i=we.getAppId(),n=we.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ye(void 0,void 0,void 0,function*(){var l,a;const r=yield o.json(),s=Ut((l=r?.data)===null||l===void 0?void 0:l.data);if(s){const{$store:c}=yield Vt(n,(a=s?.dataSource)!==null&&a!==void 0?a:[]);r.data.data=s,Object.assign(r.data.data,{__STORE__:c})}return r}))},getSxpDetailByPageId:t=>ye(void 0,void 0,void 0,function*(){if(!we)return;const e=we.getTenantId(),i=we.getAppId(),n=we.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ye(void 0,void 0,void 0,function*(){var l;const a=yield o.json();if(!a.success)return;const r=Ut((l=a?.data)===null||l===void 0?void 0:l.data);return a.data.data=r,a.data}))}),getSxpRecommendVideoData:t=>ye(void 0,void 0,void 0,function*(){if(!we)return;const e=yield Ri(we,t),i=it(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Bt(n)&&(n=it(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 Be(){return Ye(Kt)}function Gi(){return Ye(Jt)}const yt="feRealSessionIdKey",Wt=()=>{const t=Bi();return`${Date.now()}${t}`},Vi=()=>{let t=Ui();return t||(t=Wt(),window.sessionStorage.setItem(yt,t)),t},Hi=()=>{const t=Wt();window.sessionStorage.setItem(yt,t)},Ui=()=>window.sessionStorage.getItem(yt),Xt="SXP_FAKE_USER_ID",Wi=()=>{let t=window.localStorage.getItem(Xt);return Bt(t)&&(t=it(36,62),window.localStorage.setItem(Xt,t)),t};function ze(t){const{appDomain:e}=Z();return oe(()=>e?`https://${e}${t}`:`${window.location.origin}${t}`,[e,t])}const Yt=Qe({rtcList:[]});var Et;(function(t){t[t.BFF=5]="BFF"})(Et||(Et={}));const Xi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],Yi=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:a=!1,sxpParameter:r,appDomain:s,hashTagSize:c,loadingImage:d})=>{const[v,f]=G([]),[m,w]=G(!1),[g,S]=G({rtc:"",requestId:""}),u=Q(null),y=Q(!1),[h,x]=G(),[C,A]=G(),[L,T]=G(!1),[I,E]=G([]),[D,b]=G(0),[P,O]=G(!1),M=oe(()=>e?.find(j=>j.type===Et.BFF),[e]),_=le((j,z)=>{if(!M)return;const K=M.url,ue=Wi();if(z?.query){const de=$t.stringify(z.query);j=`${j}?${de}`}return z.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${K}/api/v1${j}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},M.headers),{"x-user-id":ue}),z.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${K}/api/v1${j}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ue},M.headers),method:z.method,body:JSON.stringify(z.body)}).then(de=>de.json()).catch(de=>Promise.reject(de))},[M]),B=le(j=>ye(void 0,void 0,void 0,function*(){var z,K,ue,de;if(j={maxSize:o,defaultSize:(z=j?.defaultSize)!==null&&z!==void 0?z:l,"itemFilter.itemId":j?.["itemFilter.itemId"],"itemFilter.itemType":j?.["itemFilter.itemType"],hashTag:j?.hashTag,traceInfo:j?.traceInfo},i){const Y=(de=(ue=(K=i?.split("&"))===null||K===void 0?void 0:K.filter(ie=>{const pe=ie.split("=")[0];return Xi.includes(pe)}))===null||ue===void 0?void 0:ue.join("&"))!==null&&de!==void 0?de:"";j=Object.assign(Object.assign({},j),{channel:decodeURIComponent(Y)})}const ve=yield _?.("/recommend/list",{method:"GET",query:j});if(ve?.success)return j?.hashTag||S({rtc:ve.data.rtc,requestId:ve.data.requestId}),ve?.data}),[_,i,o,l]),N=le(()=>ye(void 0,void 0,void 0,function*(){var j,z;if(v.length<=0)return;const K=yield B({hashTag:C?.hashTag,"itemFilter.itemId":C?.itemId,"itemFilter.itemType":C?.itemType});f(v.concat((j=K?.recList)!==null&&j!==void 0?j:[])),E(I.concat((z=K?.recList)!==null&&z!==void 0?z:[]))}),[B,v,C,I]),F=le(({userInfo:j,eventInfo:z})=>{if(!n)return;j||(j={});const K=Vi(),ue=Object.assign({sessionID:K,rtc:g.rtc,requestId:g.requestId},z),de=Object.entries(j).map(([Y,ie])=>({name:Y,value:ie})),ve=Object.entries(ue).map(([Y,ie])=>ie&&{name:Y,value:ie}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",j),console.log("eventInfo:",ue),console.log("========= \u7ED3\u675F ========="),_?.("/event/report",{method:"POST",body:{userInfo:de,eventInfo:ve},type:"beacon"})},[_,g,n]),V=le(j=>ye(void 0,void 0,void 0,function*(){const z=yield _?.("/recommend/like",{method:"POST",body:j});return z?.success}),[_]),U=le(j=>ye(void 0,void 0,void 0,function*(){const z=yield _?.("/recommend/unlike",{method:"POST",body:j});return z?.success}),[_]),J=le(j=>ye(void 0,void 0,void 0,function*(){const z=yield _?.("/customform",{method:"POST",body:j});return z?.success}),[_]),R=le((j,z,K)=>{var ue,de,ve,Y,ie,pe,me,fe,Ne,Pe,We,k;const H=K?.bindCta,$=((ue=z?.video)===null||ue===void 0?void 0:ue.bindProduct)||((de=z?.video)===null||de===void 0?void 0:de.bindProducts)&&((Y=(ve=z?.video)===null||ve===void 0?void 0:ve.bindProducts)===null||Y===void 0?void 0:Y.length)>0;let X="";P?X="hashTagPage":!((ie=z?.video)===null||ie===void 0)&&ie.url?X="videoPage":!((me=(pe=z?.video)===null||pe===void 0?void 0:pe.imgUrls)===null||me===void 0)&&me.length&&(X="imagePage"),F?.({eventInfo:Object.assign(Object.assign({},j),{ctaId:(fe=H?.itemId)!==null&&fe!==void 0?fe:"",ctaName:(Ne=H?.title)!==null&&Ne!==void 0?Ne:"",contentTags:JSON.stringify(H?.tags),position:z?.position,relatedContentId:(We=(Pe=z?.video)===null||Pe===void 0?void 0:Pe.itemId)!==null&&We!==void 0?We:"",relatedProductId:$?K?.itemId:"",traceInfo:(k=H?.traceInfo)!==null&&k!==void 0?k:"",fromKName:X})})},[F,P]);q(()=>{w(!0),B().then(j=>{var z,K;f((z=j?.recList)!==null&&z!==void 0?z:[]),E((K=j?.recList)!==null&&K!==void 0?K:[])}).finally(()=>{w(!1),y.current=!0})},[]),q(()=>{y.current&&(w(!0),B().then(j=>{var z,K;f((z=j?.recList)!==null&&z!==void 0?z:[]),E((K=j?.recList)!==null&&K!==void 0?K:[])}).finally(()=>{w(!1)}))},[B]);const ae=ze("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif");return p.createElement(Yt.Provider,{value:{rtcList:v,setRtcList:f,mutateLike:V,mutateUnlike:U,submitForm:J,popupDetailData:h,loadVideos:N,setPopupDetailData:x,getRecommendVideos:B,bffEventReport:F,utmVal:i,isPreview:a,loading:m,sxpParameter:r,waterFallData:C,setWaterFallData:A,ctaEvent:R,swiperRef:u,openHashtag:L,setOpenHashtag:T,cacheRtcList:I,setCacheRtcList:E,cacheActiveIndex:D,setCacheActiveIndex:b,isFromHashtag:P,setIsFromHashtag:O,appDomain:s,hashTagSize:c,loadingImage:d??ae}},t({rtcList:v,mutateLike:V,mutateUnlike:U,submitForm:J}))};var Qt=te(Yi);function Z(){return Ye(Yt)}var qt;(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"})(qt||(qt={}));const Jt=Qe({$store:{},options:[],configs:[]}),Qi=({children:t,isSsr:e,enable:i})=>{const[n,o]=G([]),{schema:l}=Be(),[a,r]=G(l.__STORE__||{}),[s,c]=G([]);q(()=>{var f;e||zt(s,l?.dataSource)||c((f=l?.dataSource)!==null&&f!==void 0?f:[])},[l?.dataSource,e]);const d=le(()=>ye(void 0,void 0,void 0,function*(){const{$store:f,idMapName:m}=yield Vt("",s);r(f),v(f,m)}),[s]),v=(f,m)=>{const w=[];Object.entries(f).forEach(([g,S])=>{Object.keys(S).forEach(u=>{const y={label:`${m[g]} - ${u}`,value:`{{ ${g}.${u} }}`};w.push(y)})}),o(w)};return q(()=>{e||d()},[d,e,l]),i?p.createElement(Jt.Provider,{value:{$store:l.__STORE__||a,options:n,configs:s}},t):t};var qi=te(Qi);const nt={id:it(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},Kt=p.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[nt],redoStack:[],popup:"",setPopup:()=>{}}),Zt=wt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},a)=>{const[r,s]=G(null),[c,d]=G(n||{pointData:[nt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[v,f]=G([nt]),[m,w]=G([[nt]]),[g,S]=G([]),[u,y]=G("");typeof window<"u"&&(window.sxpPopup=L=>{y(L)}),typeof window<"u"&&(window.getJointUtmLink=L=>L?.indexOf("?")!==-1?L+(l?"&"+l:""):L+(l?"?"+l:"")),q(()=>{w([c.pointData]),S([])},[c.type]);const h=le(L=>{const T=Xe(c);T&&(T.dataSource=L,d?.(T))},[c]),[x,C]=G();Oi(a,()=>({loadSchema(L){L&&(w([L.pointData]),d(L))},exportSchema(){return Xe(c)},getPageInfoData(){return x},initPageInfoData(L){L&&C(L)}}));const A=oe(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return p.createElement(Kt.Provider,{value:{resolver:e,currentNode:r,schema:c,setCurrentNode:s,setSchema:d,saveDataSource:h,prePiontData:v,setPrePiontData:f,pageInfoData:x,setPageInfoData:L=>C(Object.assign(Object.assign({},x),L)),undoStack:m,redoStack:g,setRedoStack:S,setUndoStack:w,getCurPageConf:A,popup:u,setPopup:y}},p.createElement(qi,{isSsr:i,enable:o},t))});var Ji=Object.freeze({__proto__:null,EditorCore:Zt}),Ki=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Zi=[{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:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}]},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const en=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:a,submitText:r,layoutType:s,onClick:c}=t,d=ge(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);Be();const{submitForm:v}=Z(),f=Q(),[m,w]=G(!1),g=oe(()=>[{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"}],[]),S=oe(()=>{if(s===void 0){const y=Xe(e)||g;return y?.map(h=>Object.assign(Object.assign({},h),{title:void 0,fieldProps:{placeholder:h?.title}}))}else return Xe(e)||g},[s,e,g]),u=gt(()=>ye(void 0,void 0,void 0,function*(){var y,h,x;w(!0);const C=yield(y=f?.current)===null||y===void 0?void 0:y.getFieldsValue(),A=(x=(h=Object.keys(C))===null||h===void 0?void 0:h.map(T=>({name:T,value:C[T]})))===null||x===void 0?void 0:x.filter(T=>T?.value);if(!A||!A?.length)return;const L=yield v?.({attributes:A});w(!1),L&&(window?.sxpPopup(""),L&&c?.())}),1e3);return p.createElement("div",{className:"pb-appoint-form"},p.createElement("div",{className:`pb-appoint-form-title ${W(Object.assign({},o))}`},n),p.createElement("div",Object.assign({className:W(Object.assign({},i))},d),p.createElement("div",{className:"pb-appoint-form-container"},p.createElement(Li,{columns:S,submitter:!1,layout:s,autoFocusFirstInput:!1,size:"large",formRef:f,className:"panel-reset"}))),p.createElement("div",{className:"pb-appoint-form-btn-wrapper"},p.createElement("button",{onClick:u,className:"pb-appoint-form-btn",style:{color:a,background:l}},m?p.createElement(p.Fragment,null,"loading..."):r)))};var tn=te(en);function Ee(t,e){return t.extend=e,t}const nn=Ee(tn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:Zi,bindableProps:[],interactionRender:Ki},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",fontFamily:"\u9ED1\u4F53",textAlign:"center"}},w:100,h:40,sort:2});function ei(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function St(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:ei(e[i])&&ei(t[i])&&Object.keys(e[i]).length>0&&St(t[i],e[i])})}const ti={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 xe(){const t=typeof document<"u"?document:{};return St(t,ti),t}const on={document:ti,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 be(){const t=typeof window<"u"?window:{};return St(t,on),t}function De(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function ln(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Ge(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Te(){return Date.now()}function sn(t){const e=be();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function rn(t,e){e===void 0&&(e="x");const i=be();let n,o,l;const a=sn(t);return i.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(r=>r.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.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 ot(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function an(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Se(){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&&!an(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,a=o.length;l<a;l+=1){const r=o[l],s=Object.getOwnPropertyDescriptor(n,r);s!==void 0&&s.enumerable&&(ot(t[r])&&ot(n[r])?n[r].__swiper__?t[r]=n[r]:Se(t[r],n[r]):!ot(t[r])&&ot(n[r])?(t[r]={},n[r].__swiper__?t[r]=n[r]:Se(t[r],n[r])):t[r]=n[r])}}}return t}function lt(t,e,i){t.style.setProperty(e,i)}function ii(t){let{swiper:e,targetPosition:i,side:n}=t;const o=be(),l=-e.translate;let a=null,r;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(f,m)=>c==="next"&&f>=m||c==="prev"&&f<=m,v=()=>{r=new Date().getTime(),a===null&&(a=r);const f=Math.max(Math.min((r-a)/s,1),0),m=.5-Math.cos(f*Math.PI)/2;let w=l+m*(i-l);if(d(w,i)&&(w=i),e.wrapperEl.scrollTo({[n]:w}),d(w,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:w})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(v)};v()}function _e(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function st(t){try{console.warn(t);return}catch{}}function qe(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:De(e)),i}function dn(t){const e=be(),i=xe(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,a=t.clientLeft||o.clientLeft||0,r=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:n.top+r-l,left:n.left+s-a}}function cn(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 un(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Oe(t,e){return be().getComputedStyle(t,null).getPropertyValue(e)}function rt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function ni(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 Tt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function xt(t,e,i){const n=be();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 Ie(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function vn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=be();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 a,r=Te(),s;const c=[];function d(h){let L=0,T=0,I=0,E=0;return"detail"in h&&(T=h.detail),"wheelDelta"in h&&(T=-h.wheelDelta/120),"wheelDeltaY"in h&&(T=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(L=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(L=T,T=0),I=L*10,E=T*10,"deltaY"in h&&(E=h.deltaY),"deltaX"in h&&(I=h.deltaX),h.shiftKey&&!I&&(I=E,E=0),(I||E)&&h.deltaMode&&(h.deltaMode===1?(I*=40,E*=40):(I*=800,E*=800)),I&&!L&&(L=I<1?-1:1),E&&!T&&(T=E<1?-1:1),{spinX:L,spinY:T,pixelX:I,pixelY:E}}function v(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function m(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Te()-r<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&Te()-r<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",h.raw)),r=new l.Date().getTime(),!1)}function w(h){const x=e.params.mousewheel;if(h.direction<0){if(e.isEnd&&!e.params.loop&&x.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&x.releaseOnEdges)return!0;return!1}function g(h){let x=h,C=!0;if(!e.enabled||h.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const A=e.params.mousewheel;e.params.cssMode&&x.preventDefault();let L=e.el;e.params.mousewheel.eventsTarget!=="container"&&(L=document.querySelector(e.params.mousewheel.eventsTarget));const T=L&&L.contains(x.target);if(!e.mouseEntered&&!T&&!A.releaseOnEdges)return!0;x.originalEvent&&(x=x.originalEvent);let I=0;const E=e.rtlTranslate?-1:1,D=d(x);if(A.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))I=-D.pixelX*E;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))I=-D.pixelY;else return!0;else I=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*E:-D.pixelY;if(I===0)return!0;A.invert&&(I=-I);let b=e.getTranslate()+I*A.sensitivity;if(b>=e.minTranslate()&&(b=e.minTranslate()),b<=e.maxTranslate()&&(b=e.maxTranslate()),C=e.params.loop?!0:!(b===e.minTranslate()||b===e.maxTranslate()),C&&e.params.nested&&x.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const P={time:Te(),delta:Math.abs(I),direction:Math.sign(I),raw:h};c.length>=2&&c.shift();const O=c.length?c[c.length-1]:void 0;if(c.push(P),O?(P.direction!==O.direction||P.delta>O.delta||P.time>O.time+150)&&m(P):m(P),w(P))return!0}else{const P={time:Te(),delta:Math.abs(I),direction:Math.sign(I)},O=s&&P.time<s.time+500&&P.delta<=s.delta&&P.direction===s.direction;if(!O){s=void 0;let M=e.getTranslate()+I*A.sensitivity;const _=e.isBeginning,B=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(),(!_&&e.isBeginning||!B&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:P.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const N=c.length?c[c.length-1]:void 0,F=c[0];if(c.push(P),N&&(P.delta>N.delta||P.direction!==N.direction))c.splice(0);else if(c.length>=15&&P.time-F.time<500&&F.delta-P.delta>=1&&P.delta<=6){const V=I>0?.8:.2;s=P,c.splice(0),a=Ge(()=>{e.slideToClosest(e.params.speed,!0,void 0,V)},0)}a||(a=Ge(()=>{s=P,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(),A.releaseOnEdges&&(M===e.minTranslate()||M===e.maxTranslate()))return!0}}return x.preventDefault?x.preventDefault():x.returnValue=!1,!1}function S(h){let x=e.el;e.params.mousewheel.eventsTarget!=="container"&&(x=document.querySelector(e.params.mousewheel.eventsTarget)),x[h]("mouseenter",v),x[h]("mouseleave",f),x[h]("wheel",g)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",g),!0):e.mousewheel.enabled?!1:(S("addEventListener"),e.mousewheel.enabled=!0,!0)}function y(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,g),!0):e.mousewheel.enabled?(S("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&y(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&y()}),Object.assign(e.mousewheel,{enable:u,disable:y})}function oi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=_e(t.el,`.${n[o]}`)[0];l||(l=qe("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function Ve(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Je(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 a,r=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,y){const{bulletActiveClass:h}=e.params.pagination;u&&(u=u[`${y==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${h}-${y}`),u=u[`${y==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${h}-${y}-${y}`)))}function d(u){const y=u.target.closest(Ve(e.params.pagination.bulletClass));if(!y)return;u.preventDefault();const h=rt(y)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===h)return;e.slideToLoop(h)}else e.slideTo(h)}function v(){const u=e.rtl,y=e.params.pagination;if(s())return;let h=e.pagination.el;h=Ie(h);let x,C;const A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,L=e.params.loop?Math.ceil(A/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(C=e.previousRealIndex||0,x=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(x=e.snapIndex,C=e.previousSnapIndex):(C=e.previousIndex||0,x=e.activeIndex||0),y.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const T=e.pagination.bullets;let I,E,D;if(y.dynamicBullets&&(a=xt(T[0],e.isHorizontal()?"width":"height",!0),h.forEach(b=>{b.style[e.isHorizontal()?"width":"height"]=`${a*(y.dynamicMainBullets+4)}px`}),y.dynamicMainBullets>1&&C!==void 0&&(r+=x-(C||0),r>y.dynamicMainBullets-1?r=y.dynamicMainBullets-1:r<0&&(r=0)),I=Math.max(x-r,0),E=I+(Math.min(T.length,y.dynamicMainBullets)-1),D=(E+I)/2),T.forEach(b=>{const P=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${y.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();b.classList.remove(...P)}),h.length>1)T.forEach(b=>{const P=rt(b);P===x?b.classList.add(...y.bulletActiveClass.split(" ")):e.isElement&&b.setAttribute("part","bullet"),y.dynamicBullets&&(P>=I&&P<=E&&b.classList.add(...`${y.bulletActiveClass}-main`.split(" ")),P===I&&c(b,"prev"),P===E&&c(b,"next"))});else{const b=T[x];if(b&&b.classList.add(...y.bulletActiveClass.split(" ")),e.isElement&&T.forEach((P,O)=>{P.setAttribute("part",O===x?"bullet-active":"bullet")}),y.dynamicBullets){const P=T[I],O=T[E];for(let M=I;M<=E;M+=1)T[M]&&T[M].classList.add(...`${y.bulletActiveClass}-main`.split(" "));c(P,"prev"),c(O,"next")}}if(y.dynamicBullets){const b=Math.min(T.length,y.dynamicMainBullets+4),P=(a*b-a)/2-D*a,O=u?"right":"left";T.forEach(M=>{M.style[e.isHorizontal()?O:"top"]=`${P}px`})}}h.forEach((T,I)=>{if(y.type==="fraction"&&(T.querySelectorAll(Ve(y.currentClass)).forEach(E=>{E.textContent=y.formatFractionCurrent(x+1)}),T.querySelectorAll(Ve(y.totalClass)).forEach(E=>{E.textContent=y.formatFractionTotal(L)})),y.type==="progressbar"){let E;y.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const D=(x+1)/L;let b=1,P=1;E==="horizontal"?b=D:P=D,T.querySelectorAll(Ve(y.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${b}) scaleY(${P})`,O.style.transitionDuration=`${e.params.speed}ms`})}y.type==="custom"&&y.renderCustom?(T.innerHTML=y.renderCustom(e,x+1,L),I===0&&o("paginationRender",T)):(I===0&&o("paginationRender",T),o("paginationUpdate",T)),e.params.watchOverflow&&e.enabled&&T.classList[e.isLocked?"add":"remove"](y.lockClass)})}function f(){const u=e.params.pagination;if(s())return;const y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let h=e.pagination.el;h=Ie(h);let x="";if(u.type==="bullets"){let C=e.params.loop?Math.ceil(y/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&C>y&&(C=y);for(let A=0;A<C;A+=1)u.renderBullet?x+=u.renderBullet.call(e,A,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=[],h.forEach(C=>{u.type!=="custom"&&(C.innerHTML=x||""),u.type==="bullets"&&e.pagination.bullets.push(...C.querySelectorAll(Ve(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",h[0])}function m(){e.params.pagination=oi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let y;typeof u.el=="string"&&e.isElement&&(y=e.el.querySelector(u.el)),!y&&typeof u.el=="string"&&(y=[...document.querySelectorAll(u.el)]),y||(y=u.el),!(!y||y.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(y)&&y.length>1&&(y=[...e.el.querySelectorAll(u.el)],y.length>1&&(y=y.filter(h=>ni(h,".swiper")[0]===e.el)[0])),Array.isArray(y)&&y.length===1&&(y=y[0]),Object.assign(e.pagination,{el:y}),y=Ie(y),y.forEach(h=>{u.type==="bullets"&&u.clickable&&h.classList.add(...(u.clickableClass||"").split(" ")),h.classList.add(u.modifierClass+u.type),h.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(h.classList.add(`${u.modifierClass}${u.type}-dynamic`),r=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&h.classList.add(u.progressbarOppositeClass),u.clickable&&h.addEventListener("click",d),e.enabled||h.classList.add(u.lockClass)}))}function w(){const u=e.params.pagination;if(s())return;let y=e.pagination.el;y&&(y=Ie(y),y.forEach(h=>{h.classList.remove(u.hiddenClass),h.classList.remove(u.modifierClass+u.type),h.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(h.classList.remove(...(u.clickableClass||"").split(" ")),h.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(h=>h.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:y}=e.pagination;y=Ie(y),y.forEach(h=>{h.classList.remove(u.horizontalClass,u.verticalClass),h.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?S():(m(),f(),v())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&v()}),n("snapIndexChange",()=>{v()}),n("snapGridLengthChange",()=>{f(),v()}),n("destroy",()=>{w()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=Ie(u),u.forEach(y=>y.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{v()}),n("click",(u,y)=>{const h=y.target,x=Ie(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&x&&x.length>0&&!h.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&h===e.navigation.nextEl||e.navigation.prevEl&&h===e.navigation.prevEl))return;const C=x[0].classList.contains(e.params.pagination.hiddenClass);o(C===!0?"paginationShow":"paginationHide"),x.forEach(A=>A.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ie(u),u.forEach(y=>y.classList.remove(e.params.pagination.paginationDisabledClass))),m(),f(),v()},S=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Ie(u),u.forEach(y=>y.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:g,disable:S,render:f,update:v,init:m,destroy:w})}function pn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=xe();let a=!1,r=null,s=null,c,d,v,f;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 m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:b,rtlTranslate:P}=e,{dragEl:O,el:M}=b,_=e.params.scrollbar,B=e.params.loop?e.progressLoop:e.progress;let N=d,F=(v-d)*B;P?(F=-F,F>0?(N=d-F,F=0):-F+d>v&&(N=v+F)):F<0?(N=d+F,F=0):F+d>v&&(N=v-F),e.isHorizontal()?(O.style.transform=`translate3d(${F}px, 0, 0)`,O.style.width=`${N}px`):(O.style.transform=`translate3d(0px, ${F}px, 0)`,O.style.height=`${N}px`),_.hide&&(clearTimeout(r),M.style.opacity=1,r=setTimeout(()=>{M.style.opacity=0,M.style.transitionDuration="400ms"},1e3))}function w(b){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${b}ms`)}function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:b}=e,{dragEl:P,el:O}=b;P.style.width="",P.style.height="",v=e.isHorizontal()?O.offsetWidth:O.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=v*f:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?P.style.width=`${d}px`:P.style.height=`${d}px`,f>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&b.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function S(b){return e.isHorizontal()?b.clientX:b.clientY}function u(b){const{scrollbar:P,rtlTranslate:O}=e,{el:M}=P;let _;_=(S(b)-dn(M)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(v-d),_=Math.max(Math.min(_,1),0),O&&(_=1-_);const B=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*_;e.updateProgress(B),e.setTranslate(B),e.updateActiveIndex(),e.updateSlidesClasses()}function y(b){const P=e.params.scrollbar,{scrollbar:O,wrapperEl:M}=e,{el:_,dragEl:B}=O;a=!0,c=b.target===B?S(b)-b.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,b.preventDefault(),b.stopPropagation(),M.style.transitionDuration="100ms",B.style.transitionDuration="100ms",u(b),clearTimeout(s),_.style.transitionDuration="0ms",P.hide&&(_.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",b)}function h(b){const{scrollbar:P,wrapperEl:O}=e,{el:M,dragEl:_}=P;a&&(b.preventDefault?b.preventDefault():b.returnValue=!1,u(b),O.style.transitionDuration="0ms",M.style.transitionDuration="0ms",_.style.transitionDuration="0ms",o("scrollbarDragMove",b))}function x(b){const P=e.params.scrollbar,{scrollbar:O,wrapperEl:M}=e,{el:_}=O;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",M.style.transitionDuration=""),P.hide&&(clearTimeout(s),s=Ge(()=>{_.style.opacity=0,_.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",b),P.snapOnRelease&&e.slideToClosest())}function C(b){const{scrollbar:P,params:O}=e,M=P.el;if(!M)return;const _=M,B=O.passiveListeners?{passive:!1,capture:!1}:!1,N=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!_)return;const F=b==="on"?"addEventListener":"removeEventListener";_[F]("pointerdown",y,B),l[F]("pointermove",h,B),l[F]("pointerup",x,N)}function A(){!e.params.scrollbar.el||!e.scrollbar.el||C("on")}function L(){!e.params.scrollbar.el||!e.scrollbar.el||C("off")}function T(){const{scrollbar:b,el:P}=e;e.params.scrollbar=oi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let M;if(typeof O.el=="string"&&e.isElement&&(M=e.el.querySelector(O.el)),!M&&typeof O.el=="string"){if(M=l.querySelectorAll(O.el),!M.length)return}else M||(M=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&M.length>1&&P.querySelectorAll(O.el).length===1&&(M=P.querySelector(O.el)),M.length>0&&(M=M[0]),M.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let _;M&&(_=M.querySelector(Ve(e.params.scrollbar.dragClass)),_||(_=qe("div",e.params.scrollbar.dragClass),M.append(_))),Object.assign(b,{el:M,dragEl:_}),O.draggable&&A(),M&&M.classList[e.enabled?"remove":"add"](...De(e.params.scrollbar.lockClass))}function I(){const b=e.params.scrollbar,P=e.scrollbar.el;P&&P.classList.remove(...De(e.isHorizontal()?b.horizontalClass:b.verticalClass)),L()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const b=e.params.scrollbar;let{el:P}=e.scrollbar;P=Ie(P),P.forEach(O=>{O.classList.remove(b.horizontalClass,b.verticalClass),O.classList.add(e.isHorizontal()?b.horizontalClass:b.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?D():(T(),g(),m())}),n("update resize observerUpdate lock unlock changeDirection",()=>{g()}),n("setTranslate",()=>{m()}),n("setTransition",(b,P)=>{w(P)}),n("enable disable",()=>{const{el:b}=e.scrollbar;b&&b.classList[e.enabled?"remove":"add"](...De(e.params.scrollbar.lockClass))}),n("destroy",()=>{I()});const E=()=>{e.el.classList.remove(...De(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...De(e.params.scrollbar.scrollbarDisabledClass)),T(),g(),m()},D=()=>{e.el.classList.add(...De(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...De(e.params.scrollbar.scrollbarDisabledClass)),I()};Object.assign(e.scrollbar,{enable:E,disable:D,updateSize:g,setTranslate:m,init:T,destroy:I})}function Ke(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 a,r,s=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,v=new Date().getTime(),f,m,w,g,S,u,y;function h(N){!e||e.destroyed||!e.wrapperEl||N.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!y&&E())}const x=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(c=d,f=!1);const N=e.autoplay.paused?d:v+c-new Date().getTime();e.autoplay.timeLeft=N,o("autoplayTimeLeft",N,N/s),r=requestAnimationFrame(()=>{x()})},C=()=>{let N;return e.virtual&&e.params.virtual.enabled?N=e.slides.filter(V=>V.classList.contains("swiper-slide-active"))[0]:N=e.slides[e.activeIndex],N?parseInt(N.getAttribute("data-swiper-autoplay"),10):void 0},A=N=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(r),x();let F=typeof N>"u"?e.params.autoplay.delay:N;s=e.params.autoplay.delay,c=e.params.autoplay.delay;const V=C();!Number.isNaN(V)&&V>0&&typeof N>"u"&&(F=V,s=V,c=V),d=F;const U=e.params.speed,J=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(U,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,U,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(U,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,U,!0,!0),o("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{A()})))};return F>0?(clearTimeout(a),a=setTimeout(()=>{J()},F)):requestAnimationFrame(()=>{J()}),F},L=()=>{v=new Date().getTime(),e.autoplay.running=!0,A(),o("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(r),o("autoplayStop")},I=(N,F)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),N||(u=!0);const V=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};if(e.autoplay.paused=!0,F){S&&(d=e.params.autoplay.delay),S=!1,V();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-v),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),V())},E=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),u?(u=!1,A(d)):A(),e.autoplay.paused=!1,o("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const N=xe();N.visibilityState==="hidden"&&(u=!0,I(!0)),N.visibilityState==="visible"&&E()},b=N=>{N.pointerType==="mouse"&&(u=!0,y=!0,!(e.animating||e.autoplay.paused)&&I(!0))},P=N=>{N.pointerType==="mouse"&&(y=!1,e.autoplay.paused&&E())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",b),e.el.addEventListener("pointerleave",P))},M=()=>{e.el.removeEventListener("pointerenter",b),e.el.removeEventListener("pointerleave",P)},_=()=>{xe().addEventListener("visibilitychange",D)},B=()=>{xe().removeEventListener("visibilitychange",D)};n("init",()=>{e.params.autoplay.enabled&&(O(),_(),L())}),n("destroy",()=>{M(),B(),e.autoplay.running&&T()}),n("_freeModeStaticRelease",()=>{(w||u)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():I(!0,!0)}),n("beforeTransitionStart",(N,F,V)=>{e.destroyed||!e.autoplay.running||(V||!e.params.autoplay.disableOnInteraction?I(!0,!0):T())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}m=!0,w=!1,u=!1,g=setTimeout(()=>{u=!0,w=!0,I(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!m)){if(clearTimeout(g),clearTimeout(a),e.params.autoplay.disableOnInteraction){w=!1,m=!1;return}w&&e.params.cssMode&&E(),w=!1,m=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(S=!0)}),Object.assign(e.autoplay,{start:L,stop:T,pause:I,resume:E})}function fn(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const s=e.getTranslate();e.setTranslate(s),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:s,touches:c}=e;s.velocities.length===0&&s.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Te()})}function r(s){let{currentPos:c}=s;if(e.params.cssMode)return;const{params:d,wrapperEl:v,rtlTranslate:f,snapGrid:m,touchEventsData:w}=e,S=Te()-w.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<m.length?e.slideTo(m.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(w.velocities.length>1){const T=w.velocities.pop(),I=w.velocities.pop(),E=T.position-I.position,D=T.time-I.time;e.velocity=E/D,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(D>150||Te()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,w.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const y=e.velocity*u;let h=e.translate+y;f&&(h=-h);let x=!1,C;const A=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let L;if(h<e.maxTranslate())d.freeMode.momentumBounce?(h+e.maxTranslate()<-A&&(h=e.maxTranslate()-A),C=e.maxTranslate(),x=!0,w.allowMomentumBounce=!0):h=e.maxTranslate(),d.loop&&d.centeredSlides&&(L=!0);else if(h>e.minTranslate())d.freeMode.momentumBounce?(h-e.minTranslate()>A&&(h=e.minTranslate()+A),C=e.minTranslate(),x=!0,w.allowMomentumBounce=!0):h=e.minTranslate(),d.loop&&d.centeredSlides&&(L=!0);else if(d.freeMode.sticky){let T;for(let I=0;I<m.length;I+=1)if(m[I]>-h){T=I;break}Math.abs(m[T]-h)<Math.abs(m[T-1]-h)||e.swipeDirection==="next"?h=m[T]:h=m[T-1],h=-h}if(L&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(f?u=Math.abs((-h-e.translate)/e.velocity):u=Math.abs((h-e.translate)/e.velocity),d.freeMode.sticky){const T=Math.abs((f?-h:h)-e.translate),I=e.slidesSizesGrid[e.activeIndex];T<I?u=d.speed:T<2*I?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&x?(e.updateProgress(C),e.setTransition(u),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Tt(v,()=>{!e||e.destroyed||!w.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(C),Tt(v,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(u),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Tt(v,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||S>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:a,onTouchEnd:r}})}let Ct;function mn(){const t=be(),e=xe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function li(){return Ct||(Ct=mn()),Ct}let _t;function hn(t){let{userAgent:e}=t===void 0?{}:t;const i=li(),n=be(),o=n.navigator.platform,l=e||n.navigator.userAgent,a={ios:!1,android:!1},r=n.screen.width,s=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const v=l.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=o==="Win32";let w=o==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&w&&i.touch&&g.indexOf(`${r}x${s}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),w=!1),c&&!m&&(a.os="android",a.android=!0),(d||f||v)&&(a.os="ios",a.ios=!0),a}function si(t){return t===void 0&&(t={}),_t||(_t=hn(t)),_t}let It;function gn(){const t=be(),e=si();let i=!1;function n(){const r=t.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(t.navigator.userAgent);if(r.includes("Version/")){const[s,c]=r.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=s<16||s===16&&c<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),a=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:a,isWebView:o}}function wn(){return It||(It=gn()),It}function bn(t){let{swiper:e,on:i,emit:n}=t;const o=be();let l=null,a=null;const r=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(v=>{a=o.requestAnimationFrame(()=>{const{width:f,height:m}=e;let w=f,g=m;v.forEach(S=>{let{contentBoxSize:u,contentRect:y,target:h}=S;h&&h!==e.el||(w=y?y.width:(u[0]||u).inlineSize,g=y?y.height:(u[0]||u).blockSize)}),(w!==f||g!==m)&&r()})}),l.observe(e.el))},c=()=>{a&&o.cancelAnimationFrame(a),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"){s();return}o.addEventListener("resize",r),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",r),o.removeEventListener("orientationchange",d)})}function yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],a=be(),r=function(d,v){v===void 0&&(v={});const f=a.MutationObserver||a.WebkitMutationObserver,m=new f(w=>{if(e.__preventObserver__)return;if(w.length===1){o("observerUpdate",w[0]);return}const g=function(){o("observerUpdate",w[0])};a.requestAnimationFrame?a.requestAnimationFrame(g):a.setTimeout(g,0)});m.observe(d,{attributes:typeof v.attributes>"u"?!0:v.attributes,childList:typeof v.childList>"u"?!0:v.childList,characterData:typeof v.characterData>"u"?!0:v.characterData}),l.push(m)},s=()=>{if(e.params.observer){if(e.params.observeParents){const d=ni(e.hostEl);for(let v=0;v<d.length;v+=1)r(d[v])}r(e.hostEl,{childList:e.params.observeSlideChildren}),r(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",s),n("destroy",c)}var En={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,a=new Array(l),r=0;r<l;r++)a[r]=arguments[r];e.apply(n,a)}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),a=0;a<o;a++)l[a]=arguments[a];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[s,...i])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(c=>{c.apply(n,i)})}),t}};function Sn(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(Oe(n,"padding-left")||0,10)-parseInt(Oe(n,"padding-right")||0,10),i=i-parseInt(Oe(n,"padding-top")||0,10)-parseInt(Oe(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Tn(){const t=this;function e(E,D){return parseFloat(E.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:a,wrongRTL:r}=t,s=t.virtual&&i.virtual.enabled,c=s?t.virtual.slides.length:t.slides.length,d=_e(o,`.${t.params.slideClass}, swiper-slide`),v=s?t.virtual.slides.length:d.length;let f=[];const m=[],w=[];let g=i.slidesOffsetBefore;typeof g=="function"&&(g=i.slidesOffsetBefore.call(t));let S=i.slidesOffsetAfter;typeof S=="function"&&(S=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,y=t.slidesGrid.length;let h=i.spaceBetween,x=-g,C=0,A=0;if(typeof l>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*l:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,d.forEach(E=>{a?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(lt(n,"--swiper-centered-offset-before",""),lt(n,"--swiper-centered-offset-after",""));const L=i.grid&&i.grid.rows>1&&t.grid;L?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let T;const I=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(E=>typeof i.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<v;E+=1){T=0;let D;if(d[E]&&(D=d[E]),L&&t.grid.updateSlide(E,D,d),!(d[E]&&Oe(D,"display")==="none")){if(i.slidesPerView==="auto"){I&&(d[E].style[t.getDirectionLabel("width")]="");const b=getComputedStyle(D),P=D.style.transform,O=D.style.webkitTransform;if(P&&(D.style.transform="none"),O&&(D.style.webkitTransform="none"),i.roundLengths)T=t.isHorizontal()?xt(D,"width",!0):xt(D,"height",!0);else{const M=e(b,"width"),_=e(b,"padding-left"),B=e(b,"padding-right"),N=e(b,"margin-left"),F=e(b,"margin-right"),V=b.getPropertyValue("box-sizing");if(V&&V==="border-box")T=M+N+F;else{const{clientWidth:U,offsetWidth:J}=D;T=M+_+B+N+F+(J-U)}}P&&(D.style.transform=P),O&&(D.style.webkitTransform=O),i.roundLengths&&(T=Math.floor(T))}else T=(l-(i.slidesPerView-1)*h)/i.slidesPerView,i.roundLengths&&(T=Math.floor(T)),d[E]&&(d[E].style[t.getDirectionLabel("width")]=`${T}px`);d[E]&&(d[E].swiperSlideSize=T),w.push(T),i.centeredSlides?(x=x+T/2+C/2+h,C===0&&E!==0&&(x=x-l/2-h),E===0&&(x=x-l/2-h),Math.abs(x)<1/1e3&&(x=0),i.roundLengths&&(x=Math.floor(x)),A%i.slidesPerGroup===0&&f.push(x),m.push(x)):(i.roundLengths&&(x=Math.floor(x)),(A-Math.min(t.params.slidesPerGroupSkip,A))%t.params.slidesPerGroup===0&&f.push(x),m.push(x),x=x+T+h),t.virtualSize+=T+h,C=T,A+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+S,a&&r&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+h}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+h}px`),L&&t.grid.updateWrapperSize(T,f),!i.centeredSlides){const E=[];for(let D=0;D<f.length;D+=1){let b=f[D];i.roundLengths&&(b=Math.floor(b)),f[D]<=t.virtualSize-l&&E.push(b)}f=E,Math.floor(t.virtualSize-l)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-l)}if(s&&i.loop){const E=w[0]+h;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),b=E*i.slidesPerGroup;for(let P=0;P<D;P+=1)f.push(f[f.length-1]+b)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&f.push(f[f.length-1]+E),m.push(m[m.length-1]+E),t.virtualSize+=E}if(f.length===0&&(f=[0]),h!==0){const E=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");d.filter((D,b)=>!i.cssMode||i.loop?!0:b!==d.length-1).forEach(D=>{D.style[E]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;w.forEach(b=>{E+=b+(h||0)}),E-=h;const D=E-l;f=f.map(b=>b<=0?-g:b>D?D+S:b)}if(i.centerInsufficientSlides){let E=0;if(w.forEach(D=>{E+=D+(h||0)}),E-=h,E<l){const D=(l-E)/2;f.forEach((b,P)=>{f[P]=b-D}),m.forEach((b,P)=>{m[P]=b+D})}}if(Object.assign(t,{slides:d,snapGrid:f,slidesGrid:m,slidesSizesGrid:w}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){lt(n,"--swiper-centered-offset-before",`${-f[0]}px`),lt(n,"--swiper-centered-offset-after",`${t.size/2-w[w.length-1]/2}px`);const E=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(b=>b+E),t.slidesGrid=t.slidesGrid.map(b=>b+D)}if(v!==c&&t.emit("slidesLengthChange"),f.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==y&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(E);v<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(E):D&&t.el.classList.remove(E)}}function xn(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 a=r=>n?e.slides[e.getSlideIndexByData(r)]:e.slides[r];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(r=>{i.push(r)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const r=e.activeIndex+l;if(r>e.slides.length&&!n)break;i.push(a(r))}else i.push(a(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const r=i[l].offsetHeight;o=r>o?r:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Cn(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function _n(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 a=-t;o&&(a=t),n.forEach(s=>{s.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let r=i.spaceBetween;typeof r=="string"&&r.indexOf("%")>=0?r=parseFloat(r.replace("%",""))/100*e.size:typeof r=="string"&&(r=parseFloat(r));for(let s=0;s<n.length;s+=1){const c=n[s];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const v=(a+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+r),f=(a-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+r),m=-(a-d),w=m+e.slidesSizesGrid[s],g=m>=0&&m<=e.size-e.slidesSizesGrid[s];(m>=0&&m<e.size-1||w>1&&w<=e.size||m<=0&&w>=e.size)&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(s),n[s].classList.add(i.slideVisibleClass)),g&&n[s].classList.add(i.slideFullyVisibleClass),c.progress=o?-v:v,c.originalProgress=o?-f:f}}function In(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:a,progressLoop:r}=e;const s=l,c=a;if(n===0)o=0,l=!0,a=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,v=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,a=v||o>=1,d&&(o=0),v&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),v=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[d],m=e.slidesGrid[v],w=e.slidesGrid[e.slidesGrid.length-1],g=Math.abs(t);g>=f?r=(g-f)/w:r=(g+w-m)/w,r>1&&(r-=1)}Object.assign(e,{progress:o,progressLoop:r,isBeginning:l,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!s&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(s&&!l||c&&!a)&&e.emit("fromEdge"),e.emit("progress",o)}function An(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,r=v=>_e(n,`.${i.slideClass}${v}, swiper-slide${v}`)[0];e.forEach(v=>{v.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let s,c,d;if(l)if(i.loop){let v=o-t.virtual.slidesBefore;v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),s=r(`[data-swiper-slide-index="${v}"]`)}else s=r(`[data-swiper-slide-index="${o}"]`);else a?(s=e.filter(v=>v.column===o)[0],d=e.filter(v=>v.column===o+1)[0],c=e.filter(v=>v.column===o-1)[0]):s=e[o];s&&(s.classList.add(i.slideActiveClass),a?(d&&d.classList.add(i.slideNextClass),c&&c.classList.add(i.slidePrevClass)):(d=un(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),d&&d.classList.add(i.slideNextClass),c=cn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]),c&&c.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const at=(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()}},At=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Pt=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 a=o,r=[a-e];r.push(...Array.from({length:e}).map((s,c)=>a+n+c)),t.slides.forEach((s,c)=>{r.includes(s.column)&&At(t,c)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let a=o-e;a<=l+e;a+=1){const r=(a%i+i)%i;(r<o||r>l)&&At(t,r)}else for(let a=Math.max(o-e,0);a<=Math.min(l+e,i-1);a+=1)a!==o&&(a>l||a<o)&&At(t,a)};function Pn(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 Dn(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:a,snapIndex:r}=e;let s=t,c;const d=m=>{let w=m-e.virtual.slidesBefore;return w<0&&(w=e.virtual.slides.length+w),w>=e.virtual.slides.length&&(w-=e.virtual.slides.length),w};if(typeof s>"u"&&(s=Pn(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const m=Math.min(o.slidesPerGroupSkip,s);c=m+Math.floor((s-m)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),s===l&&!e.params.loop){c!==r&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(s===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(s);return}const v=e.grid&&o.grid&&o.grid.rows>1;let f;if(e.virtual&&o.virtual.enabled&&o.loop)f=d(s);else if(v){const m=e.slides.filter(g=>g.column===s)[0];let w=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(w)&&(w=Math.max(e.slides.indexOf(m),0)),f=Math.floor(w/o.grid.rows)}else if(e.slides[s]){const m=e.slides[s].getAttribute("data-swiper-slide-index");m?f=parseInt(m,10):f=s}else f=s;Object.assign(e,{previousSnapIndex:r,snapIndex:c,previousRealIndex:a,realIndex:f,previousIndex:l,activeIndex:s}),e.initialized&&Pt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function On(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(r=>{!o&&r.matches&&r.matches(`.${n.slideClass}, swiper-slide`)&&(o=r)});let l=!1,a;if(o){for(let r=0;r<i.slides.length;r+=1)if(i.slides[r]===o){l=!0,a=r;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=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Mn={updateSize:Sn,updateSlides:Tn,updateAutoHeight:xn,updateSlidesOffset:Cn,updateSlidesProgress:_n,updateProgress:In,updateSlidesClasses:An,updateActiveIndex:Dn,updateClickedSlide:On};function Ln(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 a=rn(l,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Nn(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:a}=i;let r=0,s=0;const c=0;i.isHorizontal()?r=n?-t:t:s=t,o.roundLengths&&(r=Math.floor(r),s=Math.floor(s)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?r:s,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-r:-s:o.virtualTranslate||(i.isHorizontal()?r-=i.cssOverflowAdjustment():s-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${r}px, ${s}px, ${c}px)`);let d;const v=i.maxTranslate()-i.minTranslate();v===0?d=0:d=(t-i.minTranslate())/v,d!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function kn(){return-this.snapGrid[0]}function Rn(){return-this.snapGrid[this.snapGrid.length-1]}function Fn(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:a,wrapperEl:r}=l;if(l.animating&&a.preventInteractionOnTransition)return!1;const s=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>s?d=s:n&&t<c?d=c:d=t,l.updateProgress(d),a.cssMode){const v=l.isHorizontal();if(e===0)r[v?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return ii({swiper:l,targetPosition:-d,side:v?"left":"top"}),!0;r.scrollTo({[v?"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(f){!l||l.destroyed||f.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var Bn={getTranslate:Ln,setTranslate:Nn,minTranslate:kn,maxTranslate:Rn,translateTo:Fn};function zn(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 ri(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:a}=e;let r=n;if(r||(l>a?r="next":l<a?r="prev":r="reset"),e.emit(`transition${o}`),i&&l!==a){if(r==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),r==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function jn(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),ri({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function $n(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),ri({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Gn={setTransition:zn,transitionStart:jn,transitionEnd:$n};function Vn(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let a=t;a<0&&(a=0);const{params:r,snapGrid:s,slidesGrid:c,previousIndex:d,activeIndex:v,rtlTranslate:f,wrapperEl:m,enabled:w}=l;if(l.animating&&r.preventInteractionOnTransition||!w&&!n&&!o||l.destroyed)return!1;const g=Math.min(l.params.slidesPerGroupSkip,a);let S=g+Math.floor((a-g)/l.params.slidesPerGroup);S>=s.length&&(S=s.length-1);const u=-s[S];if(r.normalizeSlideIndex)for(let h=0;h<c.length;h+=1){const x=-Math.floor(u*100),C=Math.floor(c[h]*100),A=Math.floor(c[h+1]*100);typeof c[h+1]<"u"?x>=C&&x<A-(A-C)/2?a=h:x>=C&&x<A&&(a=h+1):x>=C&&(a=h)}if(l.initialized&&a!==v&&(!l.allowSlideNext&&(f?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(v||0)!==a))return!1;a!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let y;if(a>v?y="next":a<v?y="prev":y="reset",f&&-u===l.translate||!f&&u===l.translate)return l.updateActiveIndex(a),r.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),r.effect!=="slide"&&l.setTranslate(u),y!=="reset"&&(l.transitionStart(i,y),l.transitionEnd(i,y)),!1;if(r.cssMode){const h=l.isHorizontal(),x=f?u:-u;if(e===0){const C=l.virtual&&l.params.virtual.enabled;C&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),C&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[h?"scrollLeft":"scrollTop"]=x})):m[h?"scrollLeft":"scrollTop"]=x,C&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return ii({swiper:l,targetPosition:x,side:h?"left":"top"}),!0;m.scrollTo({[h?"left":"top"]:x,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(a),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,y),e===0?l.transitionEnd(i,y):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,y))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Hn(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a=a+o.virtual.slidesBefore;else{let r;if(l){const f=a*o.params.grid.rows;r=o.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else r=o.getSlideIndexByData(a);const s=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 v=s-r<d;if(c&&(v=v||r<Math.ceil(d/2)),v){const f=c?r<o.activeIndex?"prev":"next":r-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:f,slideTo:!0,activeSlideIndex:f==="next"?r+1:r-s+1,slideRealIndex:f==="next"?o.realIndex:void 0})}if(l){const f=a*o.params.grid.rows;a=o.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,e,i,n)}),o}function Un(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:a}=n;if(!o||n.destroyed)return n;let r=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(r=Math.max(n.slidesPerViewDynamic("current",!0),1));const s=n.activeIndex<l.slidesPerGroupSkip?1:r,c=n.virtual&&l.virtual.enabled;if(l.loop){if(a&&!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+s,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+s,t,e,i)}function Wn(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:a,rtlTranslate:r,enabled:s,animating:c}=n;if(!s||n.destroyed)return n;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 v=r?n.translate:-n.translate;function f(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const m=f(v),w=l.map(u=>f(u));let g=l[w.indexOf(m)-1];if(typeof g>"u"&&o.cssMode){let u;l.forEach((y,h)=>{m>=y&&(u=h)}),typeof u<"u"&&(g=l[u>0?u-1:u])}let S=0;if(typeof g<"u"&&(S=a.indexOf(g),S<0&&(S=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(S=S-n.slidesPerViewDynamic("previous",!0)+1,S=Math.max(S,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(S,t,e,i)}),!0;return n.slideTo(S,t,e,i)}function Xn(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function Yn(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,l),r=a+Math.floor((l-a)/o.params.slidesPerGroup),s=o.rtlTranslate?o.translate:-o.translate;if(s>=o.snapGrid[r]){const c=o.snapGrid[r],d=o.snapGrid[r+1];s-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[r-1],d=o.snapGrid[r];s-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 Qn(){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 a=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(_e(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),Ge(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(_e(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),Ge(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var qn={slideTo:Vn,slideToLoop:Hn,slideNext:Un,slidePrev:Wn,slideReset:Xn,slideToClosest:Yn,slideToClickedSlide:Qn};function Jn(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{_e(n,`.${i.slideClass}, swiper-slide`).forEach((v,f)=>{v.setAttribute("data-swiper-slide-index",f)})},l=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(l?i.grid.rows:1),r=e.slides.length%a!==0,s=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let v=0;v<d;v+=1){const f=e.isElement?qe("swiper-slide",[i.slideBlankClass]):qe("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(f)}};if(r){if(i.loopAddBlankSlides){const d=a-e.slides.length%a;c(d),e.recalcSlides(),e.updateSlides()}else st("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(s){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else st("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 Kn(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:a,byMousewheel:r}=t===void 0?{}:t;const s=this;if(!s.params.loop)return;s.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:v,slidesEl:f,params:m}=s,{centeredSlides:w}=m;if(s.allowSlidePrev=!0,s.allowSlideNext=!0,s.virtual&&m.virtual.enabled){i&&(!m.centeredSlides&&s.snapIndex===0?s.slideTo(s.virtual.slides.length,0,!1,!0):m.centeredSlides&&s.snapIndex<m.slidesPerView?s.slideTo(s.virtual.slides.length+s.snapIndex,0,!1,!0):s.snapIndex===s.snapGrid.length-1&&s.slideTo(s.virtual.slidesBefore,0,!1,!0)),s.allowSlidePrev=d,s.allowSlideNext=v,s.emit("loopFix");return}let g=m.slidesPerView;g==="auto"?g=s.slidesPerViewDynamic():(g=Math.ceil(parseFloat(m.slidesPerView,10)),w&&g%2===0&&(g=g+1));const S=m.slidesPerGroupAuto?g:m.slidesPerGroup;let u=S;u%S!==0&&(u+=S-u%S),u+=m.loopAdditionalSlides,s.loopedSlides=u;const y=s.grid&&m.grid&&m.grid.rows>1;c.length<g+u?st("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"):y&&m.grid.fill==="row"&&st("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const h=[],x=[];let C=s.activeIndex;typeof l>"u"?l=s.getSlideIndex(c.filter(P=>P.classList.contains(m.slideActiveClass))[0]):C=l;const A=n==="next"||!n,L=n==="prev"||!n;let T=0,I=0;const E=y?Math.ceil(c.length/m.grid.rows):c.length,b=(y?c[l].column:l)+(w&&typeof o>"u"?-g/2+.5:0);if(b<u){T=Math.max(u-b,S);for(let P=0;P<u-b;P+=1){const O=P-Math.floor(P/E)*E;if(y){const M=E-O-1;for(let _=c.length-1;_>=0;_-=1)c[_].column===M&&h.push(_)}else h.push(E-O-1)}}else if(b+g>E-u){I=Math.max(b-(E-u*2),S);for(let P=0;P<I;P+=1){const O=P-Math.floor(P/E)*E;y?c.forEach((M,_)=>{M.column===O&&x.push(_)}):x.push(O)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),L&&h.forEach(P=>{c[P].swiperLoopMoveDOM=!0,f.prepend(c[P]),c[P].swiperLoopMoveDOM=!1}),A&&x.forEach(P=>{c[P].swiperLoopMoveDOM=!0,f.append(c[P]),c[P].swiperLoopMoveDOM=!1}),s.recalcSlides(),m.slidesPerView==="auto"?s.updateSlides():y&&(h.length>0&&L||x.length>0&&A)&&s.slides.forEach((P,O)=>{s.grid.updateSlide(O,P,s.slides)}),m.watchSlidesProgress&&s.updateSlidesOffset(),i){if(h.length>0&&L){if(typeof e>"u"){const P=s.slidesGrid[C],M=s.slidesGrid[C+T]-P;r?s.setTranslate(s.translate-M):(s.slideTo(C+Math.ceil(T),0,!1,!0),o&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-M,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-M))}else if(o){const P=y?h.length/m.grid.rows:h.length;s.slideTo(s.activeIndex+P,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(x.length>0&&A)if(typeof e>"u"){const P=s.slidesGrid[C],M=s.slidesGrid[C-I]-P;r?s.setTranslate(s.translate-M):(s.slideTo(C-I,0,!1,!0),o&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-M,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-M))}else{const P=y?x.length/m.grid.rows:x.length;s.slideTo(s.activeIndex-P,0,!1,!0)}}if(s.allowSlidePrev=d,s.allowSlideNext=v,s.controller&&s.controller.control&&!a){const P={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...P,slideTo:O.params.slidesPerView===m.slidesPerView?i:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...P,slideTo:s.controller.control.params.slidesPerView===m.slidesPerView?i:!1})}s.emit("loopFix")}function Zn(){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 eo={loopCreate:Jn,loopFix:Kn,loopDestroy:Zn};function to(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 io(){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 no={setGrabCursor:to,unsetGrabCursor:io};function oo(t,e){e===void 0&&(e=this);function i(n){if(!n||n===xe()||n===be())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 ai(t,e,i){const n=be(),{params:o}=t,l=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return l&&(i<=a||i>=n.innerWidth-a)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function lo(t){const e=this,i=xe();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"){ai(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:a,enabled:r}=e;if(!r||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let s=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(s=d[0]);const v=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,f=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(f?oo(v,s):s.closest(v))){e.allowClick=!0;return}if(l.swipeHandler&&!s.closest(l.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const m=a.currentX,w=a.currentY;if(!ai(e,n,m))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=m,a.startY=w,o.touchStartTime=Te(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let g=!0;s.matches(o.focusableElements)&&(g=!1,s.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==s&&i.activeElement.blur();const S=g&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||S)&&!s.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function so(t){const e=xe(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:a,enabled:r}=i;if(!r||!o.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(n.touchId!==null||s.pointerId!==n.pointerId))return;let c;if(s.type==="touchmove"){if(c=[...s.changedTouches].filter(A=>A.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=s;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",s);return}const d=c.pageX,v=c.pageY;if(s.preventedByNestedSwiper){l.startX=d,l.startY=v;return}if(!i.allowTouchMove){s.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:v,currentX:d,currentY:v}),n.touchStartTime=Te());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(v<l.startY&&i.translate<=i.maxTranslate()||v>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&s.target===e.activeElement&&s.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",s),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=v;const f=l.currentX-l.startX,m=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(f**2+m**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let A;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:f*f+m*m>=25&&(A=Math.atan2(Math.abs(m),Math.abs(f))*180/Math.PI,n.isScrolling=i.isHorizontal()?A>o.touchAngle:90-A>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",s),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&s.cancelable&&s.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&s.stopPropagation();let w=i.isHorizontal()?f:m,g=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(w=Math.abs(w)*(a?1:-1),g=Math.abs(g)*(a?1:-1)),l.diff=w,w*=o.touchRatio,a&&(w=-w,g=-g);const S=i.touchesDirection;i.swipeDirection=w>0?"prev":"next",i.touchesDirection=g>0?"prev":"next";const u=i.params.loop&&!o.cssMode,y=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&y&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const A=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(A)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",s)}let h;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&S!==i.touchesDirection&&u&&y&&Math.abs(w)>=1){Object.assign(l,{startX:d,startY:v,currentX:d,currentY:v,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",s),n.isMoved=!0,n.currentTranslate=w+n.startTranslate;let x=!0,C=o.resistanceRatio;if(o.touchReleaseOnEdges&&(C=0),w>0?(u&&y&&!h&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(x=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+w)**C))):w<0&&(u&&y&&!h&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(x=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-w)**C))),x&&(s.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(w)>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 ro(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(C=>C.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:a,touches:r,rtlTranslate:s,slidesGrid:c,enabled:d}=e;if(!d||!a.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const v=Te(),f=v-i.touchStartTime;if(e.allowClick){const C=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(C&&C[0]||n.target,C),e.emit("tap click",n),f<300&&v-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Te(),Ge(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||r.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 m;if(a.followFinger?m=s?e.translate:-e.translate:m=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const w=m>=-e.maxTranslate()&&!e.params.loop;let g=0,S=e.slidesSizesGrid[0];for(let C=0;C<c.length;C+=C<a.slidesPerGroupSkip?1:a.slidesPerGroup){const A=C<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[C+A]<"u"?(w||m>=c[C]&&m<c[C+A])&&(g=C,S=c[C+A]-c[C]):(w||m>=c[C])&&(g=C,S=c[c.length-1]-c[c.length-2])}let u=null,y=null;a.rewind&&(e.isBeginning?y=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const h=(m-c[g])/S,x=g<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?u:g+x):e.slideTo(g)),e.swipeDirection==="prev"&&(h>1-a.longSwipesRatio?e.slideTo(g+x):y!==null&&h<0&&Math.abs(h)>a.longSwipesRatio?e.slideTo(y):e.slideTo(g))}else{if(!a.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(g+x):e.slideTo(g):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:g+x),e.swipeDirection==="prev"&&e.slideTo(y!==null?y:g))}}function di(){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,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const r=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!r?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?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 ao(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function co(){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 uo(t){const e=this;at(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function vo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const ci=(t,e)=>{const i=xe(),{params:n,el:o,wrapperEl:l,device:a}=t,r=!!n.nested,s=e==="on"?"addEventListener":"removeEventListener",c=e;i[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:r}),o[s]("touchstart",t.onTouchStart,{passive:!1}),o[s]("pointerdown",t.onTouchStart,{passive:!1}),i[s]("touchmove",t.onTouchMove,{passive:!1,capture:r}),i[s]("pointermove",t.onTouchMove,{passive:!1,capture:r}),i[s]("touchend",t.onTouchEnd,{passive:!0}),i[s]("pointerup",t.onTouchEnd,{passive:!0}),i[s]("pointercancel",t.onTouchEnd,{passive:!0}),i[s]("touchcancel",t.onTouchEnd,{passive:!0}),i[s]("pointerout",t.onTouchEnd,{passive:!0}),i[s]("pointerleave",t.onTouchEnd,{passive:!0}),i[s]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[s]("click",t.onClick,!0),n.cssMode&&l[s]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",di,!0):t[c]("observerUpdate",di,!0),o[s]("load",t.onLoad,{capture:!0})};function po(){const t=this,{params:e}=t;t.onTouchStart=lo.bind(t),t.onTouchMove=so.bind(t),t.onTouchEnd=ro.bind(t),t.onDocumentTouchStart=vo.bind(t),e.cssMode&&(t.onScroll=co.bind(t)),t.onClick=ao.bind(t),t.onLoad=uo.bind(t),ci(t,"on")}function fo(){ci(this,"off")}var mo={attachEvents:po,detachEvents:fo};const ui=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ho(){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 a=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const s=(a in l?l[a]:void 0)||t.originalParams,c=ui(t,n),d=ui(t,s),v=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(u=>{if(typeof s[u]>"u")return;const y=n[u]&&n[u].enabled,h=s[u]&&s[u].enabled;y&&!h&&t[u].disable(),!y&&h&&t[u].enable()});const f=s.direction&&s.direction!==n.direction,m=n.loop&&(s.slidesPerView!==n.slidesPerView||f),w=n.loop;f&&i&&t.changeDirection(),Se(t.params,s);const g=t.params.enabled,S=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),v&&!g?t.disable():!v&&g&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",s),i&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!w&&S?(t.loopCreate(e),t.updateSlides()):w&&!S&&t.loopDestroy()),t.emit("breakpoint",s)}function go(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=be(),l=e==="window"?o.innerHeight:i.clientHeight,a=Object.keys(t).map(r=>{if(typeof r=="string"&&r.indexOf("@")===0){const s=parseFloat(r.substr(1));return{value:l*s,point:r}}return{value:r,point:r}});a.sort((r,s)=>parseInt(r.value,10)-parseInt(s.value,10));for(let r=0;r<a.length;r+=1){const{point:s,value:c}=a[r];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=s):c<=i.clientWidth&&(n=s)}return n||"max"}var wo={setBreakpoint:ho,getBreakpoint:go};function bo(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 yo(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,a=bo(["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(...a),o.classList.add(...e),t.emitContainerClasses()}function Eo(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var So={addClasses:yo,removeClasses:Eo};function To(){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 xo={checkOverflow:To},Dt={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 Co(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Se(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)){Se(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Se(e,n)}}const Ot={eventsEmitter:En,update:Mn,translate:Bn,transition:Gn,slide:qn,loop:eo,grabCursor:no,events:mo,breakpoints:wo,checkOverflow:xo,classes:So},Mt={};let Lt=class Ae{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=Se({},i),e&&!i.el&&(i.el=e);const a=xe();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const d=[];return a.querySelectorAll(i.el).forEach(v=>{const f=Se({},i,{el:v});d.push(new Ae(f))}),d}const r=this;r.__swiper__=!0,r.support=li(),r.device=si({userAgent:i.userAgent}),r.browser=wn(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],i.modules&&Array.isArray(i.modules)&&r.modules.push(...i.modules);const s={};r.modules.forEach(d=>{d({params:i,swiper:r,extendParams:Co(i,s),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const c=Se({},Dt,s);return r.params=Se({},c,Mt,i),r.originalParams=Se({},r.params),r.passedParams=Se({},i),r.params&&r.params.on&&Object.keys(r.params.on).forEach(d=>{r.on(d,r.params.on[d])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.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:r.params.allowSlideNext,allowSlidePrev:r.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:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}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=_e(i,`.${n.slideClass}, swiper-slide`),l=rt(o[0]);return rt(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=_e(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(),a=(n.maxTranslate()-o)*e+o;n.translateTo(a,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:a,slidesSizesGrid:r,size:s,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let v=l[c]?Math.ceil(l[c].swiperSlideSize):0,f;for(let m=c+1;m<l.length;m+=1)l[m]&&!f&&(v+=Math.ceil(l[m].swiperSlideSize),d+=1,v>s&&(f=!0));for(let m=c-1;m>=0;m-=1)l[m]&&!f&&(v+=l[m].swiperSlideSize,d+=1,v>s&&(f=!0))}else if(e==="current")for(let v=c+1;v<l.length;v+=1)(i?a[v]+r[v]-a[c]<s:a[v]-a[c]<s)&&(d+=1);else for(let v=c-1;v>=0;v-=1)a[c]-a[v]<s&&(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(a=>{a.complete&&at(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const a=e.rtlTranslate?e.translate*-1:e.translate,r=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(r),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 a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(a.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 a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):_e(n,o())[0];return!a&&i.params.createElements&&(a=qe("div",i.params.wrapperClass),n.append(a),_e(n,`.${i.params.slideClass}`).forEach(r=>{a.append(r)})),Object.assign(i,{el:n,wrapperEl:a,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Oe(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Oe(n,"direction")==="rtl"),wrongRTL:Oe(a,"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?at(i,l):l.addEventListener("load",a=>{at(i,a.target)})}),Pt(i),i.initialized=!0,Pt(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:a,slides:r}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),a.removeAttribute("style"),r&&r.length&&r.forEach(s=>{s.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(s=>{n.off(s)}),e!==!1&&(n.el.swiper=null,ln(n)),n.destroyed=!0),null}static extendDefaults(e){Se(Mt,e)}static get extendedDefaults(){return Mt}static get defaults(){return Dt}static installModule(e){Ae.prototype.__modules__||(Ae.prototype.__modules__=[]);const i=Ae.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>Ae.installModule(i)),Ae):(Ae.installModule(e),Ae)}};Object.keys(Ot).forEach(t=>{Object.keys(Ot[t]).forEach(e=>{Lt.prototype[e]=Ot[t][e]})}),Lt.use([bn,yn]);const vi=["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 je(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function He(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]:je(e[n])&&je(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:He(t[n],e[n]):t[n]=e[n]})}function pi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function fi(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function mi(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function hi(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 _o(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Io(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:a,scrollbarEl:r,paginationEl:s}=t;const c=o.filter(I=>I!=="children"&&I!=="direction"&&I!=="wrapperClass"),{params:d,pagination:v,navigation:f,scrollbar:m,virtual:w,thumbs:g}=e;let S,u,y,h,x,C,A,L;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(S=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(d.pagination||d.pagination===!1)&&v&&!v.el&&(y=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||r)&&(d.scrollbar||d.scrollbar===!1)&&m&&!m.el&&(h=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(x=!0);const T=I=>{e[I]&&(e[I].destroy(),I==="navigation"?(e.isElement&&(e[I].prevEl.remove(),e[I].nextEl.remove()),d[I].prevEl=void 0,d[I].nextEl=void 0,e[I].prevEl=void 0,e[I].nextEl=void 0):(e.isElement&&e[I].el.remove(),d[I].el=void 0,e[I].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?C=!0:!d.loop&&n.loop?A=!0:L=!0),c.forEach(I=>{if(je(d[I])&&je(n[I]))Object.assign(d[I],n[I]),(I==="navigation"||I==="pagination"||I==="scrollbar")&&"enabled"in n[I]&&!n[I].enabled&&T(I);else{const E=n[I];(E===!0||E===!1)&&(I==="navigation"||I==="pagination"||I==="scrollbar")?E===!1&&T(I):d[I]=n[I]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&w&&d.virtual.enabled?(w.slides=i,w.update(!0)):o.includes("virtual")&&w&&d.virtual.enabled&&(i&&(w.slides=i),w.update(!0)),o.includes("children")&&i&&d.loop&&(L=!0),S&&g.init()&&g.update(!0),u&&(e.controller.control=d.controller.control),y&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(d.pagination.el=s),v.init(),v.render(),v.update()),h&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-scrollbar"),r.part.add("scrollbar"),e.el.appendChild(r)),r&&(d.scrollbar.el=r),m.init(),m.updateSize(),m.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)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),l&&(d.navigation.nextEl=l),a&&(d.navigation.prevEl=a),f.init(),f.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(C||L)&&e.loopDestroy(),(A||L)&&e.loopCreate(),e.update()}function Ao(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};He(i,Dt),i._emitClasses=!0,i.init=!1;const l={},a=vi.map(s=>s.replace(/_/,"")),r=Object.assign({},t);return Object.keys(r).forEach(s=>{typeof t[s]>"u"||(a.indexOf(s)>=0?je(t[s])?(i[s]={},o[s]={},He(i[s],t[s]),He(o[s],t[s])):(i[s]=t[s],o[s]=t[s]):s.search(/on[A-Z]/)===0&&typeof t[s]=="function"?e?n[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:i.on[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:l[s]=t[s])}),["navigation","pagination","scrollbar"].forEach(s=>{i[s]===!0&&(i[s]={}),i[s]===!1&&delete i[s]}),{params:i,passedParams:o,rest:l,events:n}}function Po(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:a,swiper:r}=t;pi(e)&&n&&o&&(r.params.navigation.nextEl=n,r.originalParams.navigation.nextEl=n,r.params.navigation.prevEl=o,r.originalParams.navigation.prevEl=o),fi(e)&&l&&(r.params.pagination.el=l,r.originalParams.pagination.el=l),mi(e)&&a&&(r.params.scrollbar.el=a,r.originalParams.scrollbar.el=a),r.init(i)}function Do(t,e,i,n,o){const l=[];if(!e)return l;const a=s=>{l.indexOf(s)<0&&l.push(s)};if(i&&n){const s=n.map(o),c=i.map(o);s.join("")!==c.join("")&&a("children"),n.length!==i.length&&a("children")}return vi.filter(s=>s[0]==="_").map(s=>s.replace(/_/,"")).forEach(s=>{if(s in t&&s in e)if(je(t[s])&&je(e[s])){const c=Object.keys(t[s]),d=Object.keys(e[s]);c.length!==d.length?a(s):(c.forEach(v=>{t[s][v]!==e[s][v]&&a(s)}),d.forEach(v=>{t[s][v]!==e[s][v]&&a(s)}))}else t[s]!==e[s]&&a(s)}),l}const Oo=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 dt(){return dt=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},dt.apply(this,arguments)}function gi(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function wi(t){const e=[];return p.Children.toArray(t).forEach(i=>{gi(i)?e.push(i):i.props&&i.props.children&&wi(i.props.children).forEach(n=>e.push(n))}),e}function Mo(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return p.Children.toArray(t).forEach(n=>{if(gi(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=wi(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 Lo(t,e,i){if(!i)return null;const n=d=>{let v=d;return d<0?v=e.length+d:v>=e.length&&(v=v-e.length),v},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:a}=i,r=t.params.loop?-e.length:0,s=t.params.loop?e.length*2:e.length,c=[];for(let d=r;d<s;d+=1)d>=l&&d<=a&&c.push(e[n(d)]);return c.map((d,v)=>p.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${v}`}))}function Ze(t,e){return typeof window>"u"?q(t,e):Mi(t,e)}const Nt=Qe(null),bi=()=>Ye(Nt),No=Qe(null),Me=wt(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:a,...r}=t===void 0?{}:t,s=!1;const[c,d]=G("swiper"),[v,f]=G(null),[m,w]=G(!1),g=Q(!1),S=Q(null),u=Q(null),y=Q(null),h=Q(null),x=Q(null),C=Q(null),A=Q(null),L=Q(null),{params:T,passedParams:I,rest:E,events:D}=Ao(r),{slides:b,slots:P}=Mo(l),O=()=>{w(!m)};Object.assign(T.on,{_containerClasses(F,V){d(V)}});const M=()=>{Object.assign(T.on,D),s=!0;const F={...T};if(delete F.wrapperClass,u.current=new Lt(F),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=b;const V={cache:!1,slides:b,renderExternal:f,renderExternalUpdate:!1};He(u.current.params.virtual,V),He(u.current.originalParams.virtual,V)}};S.current||M(),u.current&&u.current.on("_beforeBreakpoint",O);const _=()=>{s||!D||!u.current||Object.keys(D).forEach(F=>{u.current.on(F,D[F])})},B=()=>{!D||!u.current||Object.keys(D).forEach(F=>{u.current.off(F,D[F])})};q(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",O)}),q(()=>{!g.current&&u.current&&(u.current.emitSlidesClasses(),g.current=!0)}),Ze(()=>{if(e&&(e.current=S.current),!!S.current)return u.current.destroyed&&M(),Po({el:S.current,nextEl:x.current,prevEl:C.current,paginationEl:A.current,scrollbarEl:L.current,swiper:u.current},T),a&&!u.current.destroyed&&a(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),Ze(()=>{_();const F=Do(I,y.current,b,h.current,V=>V.key);return y.current=I,h.current=b,F.length&&u.current&&!u.current.destroyed&&Io({swiper:u.current,slides:b,passedParams:I,changedParams:F,nextEl:x.current,prevEl:C.current,scrollbarEl:L.current,paginationEl:A.current}),()=>{B()}}),Ze(()=>{Oo(u.current)},[v]);function N(){return T.virtual?Lo(u.current,b,v):b.map((F,V)=>p.cloneElement(F,{swiper:u.current,swiperSlideIndex:V}))}return p.createElement(n,dt({ref:S,className:hi(`${c}${i?` ${i}`:""}`)},E),p.createElement(No.Provider,{value:u.current},P["container-start"],p.createElement(o,{className:_o(T.wrapperClass)},P["wrapper-start"],N(),P["wrapper-end"]),pi(T)&&p.createElement(p.Fragment,null,p.createElement("div",{ref:C,className:"swiper-button-prev"}),p.createElement("div",{ref:x,className:"swiper-button-next"})),mi(T)&&p.createElement("div",{ref:L,className:"swiper-scrollbar"}),fi(T)&&p.createElement("div",{ref:A,className:"swiper-pagination"}),P["container-end"]))});Me.displayName="Swiper";const Ce=wt(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:a,lazy:r,virtualIndex:s,swiperSlideIndex:c,...d}=t===void 0?{}:t;const v=Q(null),[f,m]=G("swiper-slide"),[w,g]=G(!1);function S(x,C,A){C===v.current&&m(A)}Ze(()=>{if(typeof c<"u"&&(v.current.swiperSlideIndex=c),e&&(e.current=v.current),!(!v.current||!l)){if(l.destroyed){f!=="swiper-slide"&&m("swiper-slide");return}return l.on("_slideClass",S),()=>{l&&l.off("_slideClass",S)}}}),Ze(()=>{l&&v.current&&!l.destroyed&&m(l.getSlideClasses(v.current))},[l]);const u={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},y=()=>typeof n=="function"?n(u):n,h=()=>{g(!0)};return p.createElement(i,dt({ref:v,className:hi(`${f}${o?` ${o}`:""}`),"data-swiper-slide-index":s,onLoad:h},d),a&&p.createElement(Nt.Provider,{value:u},p.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},y(),r&&!w&&p.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&p.createElement(Nt.Provider,{value:u},y(),r&&!w&&p.createElement("div",{className:"swiper-lazy-preloader"})))});Ce.displayName="SwiperSlide";function $e(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=Z(),o=le((a,r,s)=>{var c,d,v,f,m,w,g,S,u,y,h,x,C,A;let L="";e&&(!((d=(c=a?.video)===null||c===void 0?void 0:c.bindProducts)===null||d===void 0)&&d.length||!((v=a?.video)===null||v===void 0)&&v.bindProduct)?L="pdpPage":n?L="hashTagPage":!((f=a?.video)===null||f===void 0)&&f.url?L="videoPage":!((m=a?.video)===null||m===void 0)&&m.imgUrls&&(!((g=(w=a?.video)===null||w===void 0?void 0:w.imgUrls)===null||g===void 0)&&g.length)?L="imagePage":a?.product&&(L="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(S=r?.itemId)!==null&&S!==void 0?S:"",productName:(u=r?.title)!==null&&u!==void 0?u:"",price:r?.price?r?.price+"":"0",productCollection:(y=r?.collection)!==null&&y!==void 0?y:"",fromKName:L,fromKPage:location?.href,contentTags:r?.tags?JSON.stringify(r?.tags):"",position:a?.position+"",relatedContentId:(x=(h=a?.video)===null||h===void 0?void 0:h.itemId)!==null&&x!==void 0?x:"",relatedCtatId:(C=s?.itemId)!==null&&C!==void 0?C:"",traceInfo:(A=r?.traceInfo)!==null&&A!==void 0?A:""}})},[t,e,n]),l=le((a,r,s,c)=>{var d,v,f,m;let w="";e&&(!((v=(d=a?.video)===null||d===void 0?void 0:d.bindProducts)===null||v===void 0)&&v.length||!((f=a?.video)===null||f===void 0)&&f.bindProduct)?w="pdpPage":a?.product&&(w="productPage"),t?.({eventInfo:{productId:r?.itemId,productName:r?.title,price:r?.price+"",productCollection:r?.collection,fromKName:w,fromKPage:location?.href,contentTags:JSON.stringify(r?.tags),position:a?.position+"",relatedContentId:(m=a?.video)===null||m===void 0?void 0:m.itemId,relatedCtatId:s?.itemId,traceInfo:r?.traceInfo,timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const ko=t=>{var e,i,n,o,l,a,r,s,c,d,v,{content:f,style:m,bgImg:w,onClick:g,schema:S,isDefault:u,bottom_image:y}=t,h=ge(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image"]);const{sxpParameter:x}=Z(),{popupDetailData:C,bffEventReport:A,isPreview:L,waterFallData:T}=Z(),{jumpToWeb:I,productView:E}=$e(),D=Q(null),b=(e=C?.video)===null||e===void 0?void 0:e.bindProduct,P=(n=(i=C?.video)===null||i===void 0?void 0:i.bindProduct)===null||n===void 0?void 0:n.bindCta,O=()=>{b?.link&&(I(C,b,P),E(C,b,P,D.current),window.location.href=window.getJointUtmLink(b.link))};q(()=>{const B=()=>{D.current=new Date};return B(),window.addEventListener("pageshow",B),()=>{window.removeEventListener("pageshow",B)}},[]);const M=oe(()=>{var B,N,F,V,U;return b?.currency&&b?.price?`${(F=(N=(B=b?.currency)===null||B===void 0?void 0:B.split("-")[1])===null||N===void 0?void 0:N.toUpperCase())!==null&&F!==void 0?F:""}${(U=(V=b?.price)===null||V===void 0?void 0:V.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&U!==void 0?U:""}`:"$7,000"},[b?.price,b?.currency]),_=L?375:window.innerWidth;return p.createElement("div",{className:"pb-commondity"},p.createElement("div",Object.assign({className:W(Object.assign({},m))},h),b&&((o=b?.homePage)===null||o===void 0?void 0:o.length)>0&&p.createElement(Me,{height:_,modules:[Je,Ke],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},loop:!0,autoplay:{delay:3e3}},(l=b?.homePage)===null||l===void 0?void 0:l.map(B=>p.createElement(Ce,{key:B},p.createElement("div",{style:{overflow:"hidden",width:_,height:_}},p.createElement("img",{src:B,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),!(!((a=b?.homePage)===null||a===void 0)&&a.length)&&p.createElement("div",{className:W({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},p.createElement("img",{className:W({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(r=x?.bottom_image)!==null&&r!==void 0?r:y,alt:""})),p.createElement("div",{className:"pb-commondity-content"},p.createElement("div",{className:"pb-commondity-content-collection"},(s=b?.collection)!==null&&s!==void 0?s:"Tiffany Lock"),p.createElement("div",{className:"pb-commondity-content-title"},(c=b?.title)!==null&&c!==void 0?c:"Pendant in Yellow Gold with Diamonds, Medium"),p.createElement("div",{className:"pb-commondity-content-price"},M),p.createElement("div",{className:"pb-commondity-content-info"},(d=b?.info)!==null&&d!==void 0?d:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
1
+ import{isEmpty as Wt,isEqual as $t,cloneDeep as et,debounce as Tt,throttle as at,get as qt}from"lodash";import{v4 as Ni}from"uuid";import Ri from"pako";import g,{useContext as tt,useMemo as ae,createContext as it,memo as Z,useState as H,useRef as J,useEffect as Y,useCallback as se,forwardRef as St,useImperativeHandle as Bi,useLayoutEffect as ji}from"react";import Xt from"qs";import{css as G}from"@emotion/css";import{BetaSchemaForm as zi}from"@ant-design/pro-components";import*as Yt from"react-dom";import Vi from"eventemitter3";function ve(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 ge(t,e,i,n){function o(l){return l instanceof i?l:new i(function(a){a(l)})}return new(i||(i=Promise))(function(l,a){function r(d){try{c(n.next(d))}catch(p){a(p)}}function s(d){try{c(n.throw(d))}catch(p){a(p)}}function c(d){d.done?l(d.value):o(d.value).then(r,s)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Fi=/:\w+/g;var Jt=(t,e)=>ge(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:a,url:r,urlParams:s,name:c,queryString:d,headers:p,body:h}=e[o];let f=r;s&&Object.entries(s).forEach(([b,C])=>{f=f.replace(Fi,y=>y===b?C:y)}),d&&(f+=d),n[l]=c;try{const b=yield fetch(f,{method:a,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(h)}).then(C=>C.json());i[l]=b}catch(b){console.error("DataSource request error: ",b),i[l]={}}}return{$store:i,idMapName:n}});const Qt="SXP_TOKEN_INFO",Hi=(t,e)=>ge(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),a=window.localStorage.getItem(Qt);let r=JSON.parse(a||"{}");if(Date.now()>((i=r?.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;r=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Qt,JSON.stringify(r))}}return r});function rt(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const Ui=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},Gi=()=>{const t=Ni();return t?.replaceAll?t.replaceAll("-",""):Ui(32)};function Kt(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=Ri.inflate(n,{to:"string"});return JSON.parse(o)}let xt=null;const Wi={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class $i{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,xt)return xt;xt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Wi[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let me=null;const qi={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{me||(me=new $i),n&&me.setApiUrl(n),me.setAppId(t),me.setTenantId(e),me.setEnv(i)},getDetail:t=>{if(!me)return;const e=me.getTenantId(),i=me.getAppId(),n=me.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ge(void 0,void 0,void 0,function*(){var l,a;const r=yield o.json(),s=Kt((l=r?.data)===null||l===void 0?void 0:l.data);if(s){const{$store:c}=yield Jt(n,(a=s?.dataSource)!==null&&a!==void 0?a:[]);r.data.data=s,Object.assign(r.data.data,{__STORE__:c})}return r}))},getSxpDetailByPageId:t=>ge(void 0,void 0,void 0,function*(){if(!me)return;const e=me.getTenantId(),i=me.getAppId(),n=me.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ge(void 0,void 0,void 0,function*(){var l;const a=yield o.json();if(!a.success)return;const r=Kt((l=a?.data)===null||l===void 0?void 0:l.data);return a.data.data=r,a.data}))}),getSxpRecommendVideoData:t=>ge(void 0,void 0,void 0,function*(){if(!me)return;const e=yield Hi(me,t),i=rt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Wt(n)&&(n=rt(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 Te(){return tt(li)}function Xi(){return tt(oi)}const Ct="feRealSessionIdKey",Zt=()=>{const t=Gi();return`${Date.now()}${t}`},Yi=()=>{let t=Qi();return t||(t=Zt(),window.sessionStorage.setItem(Ct,t)),t},Ji=()=>{const t=Zt();window.sessionStorage.setItem(Ct,t)},Qi=()=>window.sessionStorage.getItem(Ct),ei="SXP_FAKE_USER_ID",Ki=()=>{let t=window.localStorage.getItem(ei);return Wt(t)&&(t=rt(36,62),window.localStorage.setItem(ei,t)),t};function Fe(t,e){const{appDomain:i}=ee();return ae(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const ti=it({rtcList:[]});var Et;(function(t){t[t.BFF=5]="BFF"})(Et||(Et={}));const Zi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],en=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:a=!1,sxpParameter:r,appDomain:s,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1})=>{const[h,f]=H([]),[b,C]=H(!1),[y,u]=H({rtc:"",requestId:""}),v=J(null),m=J(!1),[S,D]=H(),[P,R]=H(),[T,w]=H(p),[E,A]=H([]),[x,I]=H(0),[_,L]=H(!1);Y(()=>{w(p)},[p]);const B=ae(()=>e?.find(j=>j.type===Et.BFF),[e]),V=se((j,z)=>{if(!B)return;const W=B.url,ie=Ki();if(z?.query){const te=Xt.stringify(z.query);j=`${j}?${te}`}return z.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${W}/api/v1${j}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},B.headers),{"x-user-id":ie}),z.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${W}/api/v1${j}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":ie},B.headers),method:z.method,body:JSON.stringify(z.body)}).then(te=>te.json()).catch(te=>Promise.reject(te))},[B]),k=se(j=>ge(void 0,void 0,void 0,function*(){var z,W,ie,te;if(j={maxSize:o,defaultSize:(z=j?.defaultSize)!==null&&z!==void 0?z:l,"itemFilter.itemId":j?.["itemFilter.itemId"],"itemFilter.itemType":j?.["itemFilter.itemType"],hashTag:j?.hashTag,traceInfo:j?.traceInfo},i){const ce=(te=(ie=(W=i?.split("&"))===null||W===void 0?void 0:W.filter(we=>{const Me=we.split("=")[0];return Zi.includes(Me)}))===null||ie===void 0?void 0:ie.join("&"))!==null&&te!==void 0?te:"";j=Object.assign(Object.assign({},j),{channel:decodeURIComponent(ce)})}const fe=yield V?.("/recommend/list",{method:"GET",query:j});if(fe?.success)return j?.hashTag||u({rtc:fe.data.rtc,requestId:fe.data.requestId}),fe?.data}),[V,i,o,l]),M=se(()=>ge(void 0,void 0,void 0,function*(){var j,z;if(h.length<=0)return;const W=yield k({hashTag:P?.hashTag,"itemFilter.itemId":P?.itemId,"itemFilter.itemType":P?.itemType});f(h.concat((j=W?.recList)!==null&&j!==void 0?j:[])),A(E.concat((z=W?.recList)!==null&&z!==void 0?z:[]))}),[k,h,P,E]),O=se(({userInfo:j,eventInfo:z})=>{if(!n)return;j||(j={});const W=Yi(),ie=Object.assign({sessionID:W,rtc:y.rtc,requestId:y.requestId},z),te=Object.entries(j).map(([ce,we])=>({name:ce,value:we})),fe=Object.entries(ie).map(([ce,we])=>we&&{name:ce,value:we}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",j),console.log("eventInfo:",ie),console.log("========= \u7ED3\u675F ========="),V?.("/event/report",{method:"POST",body:{userInfo:te,eventInfo:fe},type:"beacon"})},[V,y,n]),U=se(j=>ge(void 0,void 0,void 0,function*(){const z=yield V?.("/recommend/like",{method:"POST",body:j});return z?.success}),[V]),oe=se(j=>ge(void 0,void 0,void 0,function*(){const z=yield V?.("/recommend/unlike",{method:"POST",body:j});return z?.success}),[V]),de=se(j=>ge(void 0,void 0,void 0,function*(){const z=yield V?.("/customform",{method:"POST",body:j});return z?.success}),[V]),pe=se((j,z,W)=>{var ie,te,fe,ce,we,Me,Ue,Qe,Oe,Ke,Be,Ge;const ue=W?.bindCta,bt=((ie=z?.video)===null||ie===void 0?void 0:ie.bindProduct)||((te=z?.video)===null||te===void 0?void 0:te.bindProducts)&&((ce=(fe=z?.video)===null||fe===void 0?void 0:fe.bindProducts)===null||ce===void 0?void 0:ce.length)>0;let We="";_?We="hashTagPage":!((we=z?.video)===null||we===void 0)&&we.url?We="videoPage":!((Ue=(Me=z?.video)===null||Me===void 0?void 0:Me.imgUrls)===null||Ue===void 0)&&Ue.length&&(We="imagePage"),O?.({eventInfo:Object.assign(Object.assign({},j),{ctaId:(Qe=ue?.itemId)!==null&&Qe!==void 0?Qe:"",ctaName:(Oe=ue?.title)!==null&&Oe!==void 0?Oe:"",contentTags:JSON.stringify(ue?.tags),position:z?.position,relatedContentId:(Be=(Ke=z?.video)===null||Ke===void 0?void 0:Ke.itemId)!==null&&Be!==void 0?Be:"",relatedProductId:bt?W?.itemId:"",traceInfo:(Ge=ue?.traceInfo)!==null&&Ge!==void 0?Ge:"",fromKName:We})})},[O,_]);Y(()=>{C(!0),k().then(j=>{var z,W;f((z=j?.recList)!==null&&z!==void 0?z:[]),A((W=j?.recList)!==null&&W!==void 0?W:[])}).finally(()=>{C(!1),m.current=!0})},[]),Y(()=>{m.current&&(C(!0),k().then(j=>{var z,W;f((z=j?.recList)!==null&&z!==void 0?z:[]),A((W=j?.recList)!==null&&W!==void 0?W:[])}).finally(()=>{C(!1)}))},[k]);const Ce=Fe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",s);return g.createElement(ti.Provider,{value:{rtcList:h,setRtcList:f,mutateLike:U,mutateUnlike:oe,submitForm:de,popupDetailData:S,loadVideos:M,setPopupDetailData:D,getRecommendVideos:k,bffEventReport:O,utmVal:i,isPreview:a,loading:b,sxpParameter:r,waterFallData:P,setWaterFallData:R,ctaEvent:pe,swiperRef:v,openHashtag:T,setOpenHashtag:w,cacheRtcList:E,setCacheRtcList:A,cacheActiveIndex:x,setCacheActiveIndex:I,isFromHashtag:_,setIsFromHashtag:L,appDomain:s,hashTagSize:c,loadingImage:d??Ce,isOpenHashTag:p}},t({rtcList:h,mutateLike:U,mutateUnlike:oe,submitForm:de}))};var ii=Z(en);function ee(){return tt(ti)}var ni;(function(t){t.STRING="string",t.NUMBER="number",t.ARRAY="array",t.OBJECT="object",t.BOOLEAN="boolean",t.ARRAY_OBJECT="array-object",t.ARRAY_STRING="array-string",t.ARRAY_NUMBER="array-number"})(ni||(ni={}));const oi=it({$store:{},options:[],configs:[]}),tn=({children:t,isSsr:e,enable:i})=>{const[n,o]=H([]),{schema:l}=Te(),[a,r]=H(l.__STORE__||{}),[s,c]=H([]);Y(()=>{var h;e||$t(s,l?.dataSource)||c((h=l?.dataSource)!==null&&h!==void 0?h:[])},[l?.dataSource,e]);const d=se(()=>ge(void 0,void 0,void 0,function*(){const{$store:h,idMapName:f}=yield Jt("",s);r(h),p(h,f)}),[s]),p=(h,f)=>{const b=[];Object.entries(h).forEach(([C,y])=>{Object.keys(y).forEach(u=>{const v={label:`${f[C]} - ${u}`,value:`{{ ${C}.${u} }}`};b.push(v)})}),o(b)};return Y(()=>{e||d()},[d,e,l]),i?g.createElement(oi.Provider,{value:{$store:l.__STORE__||a,options:n,configs:s}},t):t};var nn=Z(tn);const dt={id:rt(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},li=g.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[dt],redoStack:[],popup:"",setPopup:()=>{},popupAni:{name:"none",duration:0}}),si=St(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},a)=>{const[r,s]=H(null),[c,d]=H(n||{pointData:[dt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,h]=H([dt]),[f,b]=H([[dt]]),[C,y]=H([]),[u,v]=H(""),[m,S]=H({name:"none",duration:0});typeof window<"u"&&(window.sxpPopup=(w,E)=>{v(w),E&&E?.name!=="none"?S(Object.assign(Object.assign({},m),E)):S({name:"none",duration:0})}),typeof window<"u"&&(window.getJointUtmLink=w=>w?.indexOf("?")!==-1?w+(l?"&"+l:""):w+(l?"?"+l:"")),Y(()=>{b([c.pointData]),y([])},[c.type]);const D=se(w=>{const E=et(c);E&&(E.dataSource=w,d?.(E))},[c]),[P,R]=H();Bi(a,()=>({loadSchema(w){w&&(b([w.pointData]),d(w))},exportSchema(){return et(c)},getPageInfoData(){return P},initPageInfoData(w){w&&R(w)}}));const T=ae(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return g.createElement(li.Provider,{value:{resolver:e,currentNode:r,schema:c,setCurrentNode:s,setSchema:d,saveDataSource:D,prePiontData:p,setPrePiontData:h,pageInfoData:P,setPageInfoData:w=>R(Object.assign(Object.assign({},P),w)),undoStack:f,redoStack:C,setRedoStack:y,setUndoStack:b,getCurPageConf:T,popup:u,setPopup:v,popupAni:m}},g.createElement(nn,{isSsr:i,enable:o},t))});var on=Object.freeze({__proto__:null,EditorCore:si}),ln=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],sn=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}]},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{label:"\u63D0\u4EA4\u6587\u672C\u989C\u8272",type:"Color",name:["props","submitColor"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];const an=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:a,submitText:r,layoutType:s,onClick:c}=t,d=ve(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","onClick"]);Te();const{submitForm:p}=ee(),h=J(),[f,b]=H(!1),C=ae(()=>[{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"}],[]),y=ae(()=>{if(s===void 0){const v=et(e)||C;return v?.map(m=>Object.assign(Object.assign({},m),{title:void 0,fieldProps:{placeholder:m?.title}}))}else return et(e)||C},[s,e,C]),u=Tt(()=>ge(void 0,void 0,void 0,function*(){var v,m,S;b(!0);const D=yield(v=h?.current)===null||v===void 0?void 0:v.getFieldsValue(),P=(S=(m=Object.keys(D))===null||m===void 0?void 0:m.map(T=>({name:T,value:D[T]})))===null||S===void 0?void 0:S.filter(T=>T?.value);if(!P||!P?.length)return;const R=yield p?.({attributes:P});b(!1),R&&(window?.sxpPopup(""),R&&c?.())}),1e3);return g.createElement("div",{className:"pb-appoint-form"},g.createElement("div",{className:`pb-appoint-form-title ${G(Object.assign({},o))}`},n),g.createElement("div",Object.assign({className:G(Object.assign({},i))},d),g.createElement("div",{className:"pb-appoint-form-container"},g.createElement(zi,{columns:y,submitter:!1,layout:s,autoFocusFirstInput:!1,size:"large",formRef:h,className:"panel-reset"}))),g.createElement("div",{className:"pb-appoint-form-btn-wrapper"},g.createElement("button",{onClick:u,className:"pb-appoint-form-btn",style:{color:a,background:l}},f?g.createElement(g.Fragment,null,"loading..."):r)))};var rn=Z(an);function be(t,e){return t.extend=e,t}const dn=be(rn,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:sn,bindableProps:[],interactionRender:ln},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",fontFamily:"\u9ED1\u4F53",textAlign:"center"}},w:100,h:40,sort:2});var cn=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}],name:["fontFamily"]},{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:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}]},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function ai(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function It(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:ai(e[i])&&ai(t[i])&&Object.keys(e[i]).length>0&&It(t[i],e[i])})}const ri={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 De(){const t=typeof document<"u"?document:{};return It(t,ri),t}const un={document:ri,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 he(){const t=typeof window<"u"?window:{};return It(t,un),t}function Le(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function pn(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function $e(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Se(){return Date.now()}function fn(t){const e=he();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function vn(t,e){e===void 0&&(e="x");const i=he();let n,o,l;const a=fn(t);return i.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(r=>r.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(l=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.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 ct(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function mn(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function ye(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!mn(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,a=o.length;l<a;l+=1){const r=o[l],s=Object.getOwnPropertyDescriptor(n,r);s!==void 0&&s.enumerable&&(ct(t[r])&&ct(n[r])?n[r].__swiper__?t[r]=n[r]:ye(t[r],n[r]):!ct(t[r])&&ct(n[r])?(t[r]={},n[r].__swiper__?t[r]=n[r]:ye(t[r],n[r])):t[r]=n[r])}}}return t}function ut(t,e,i){t.style.setProperty(e,i)}function di(t){let{swiper:e,targetPosition:i,side:n}=t;const o=he(),l=-e.translate;let a=null,r;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(h,f)=>c==="next"&&h>=f||c==="prev"&&h<=f,p=()=>{r=new Date().getTime(),a===null&&(a=r);const h=Math.max(Math.min((r-a)/s,1),0),f=.5-Math.cos(h*Math.PI)/2;let b=l+f*(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 Ae(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function pt(t){try{console.warn(t);return}catch{}}function nt(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Le(e)),i}function hn(t){const e=he(),i=De(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,a=t.clientLeft||o.clientLeft||0,r=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:n.top+r-l,left:n.left+s-a}}function gn(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function bn(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Ne(t,e){return he().getComputedStyle(t,null).getPropertyValue(e)}function ft(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function ci(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function Dt(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function At(t,e,i){const n=he();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 Pe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function yn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=he();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 a,r=Se(),s;const c=[];function d(m){let R=0,T=0,w=0,E=0;return"detail"in m&&(T=m.detail),"wheelDelta"in m&&(T=-m.wheelDelta/120),"wheelDeltaY"in m&&(T=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(R=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(R=T,T=0),w=R*10,E=T*10,"deltaY"in m&&(E=m.deltaY),"deltaX"in m&&(w=m.deltaX),m.shiftKey&&!w&&(w=E,E=0),(w||E)&&m.deltaMode&&(m.deltaMode===1?(w*=40,E*=40):(w*=800,E*=800)),w&&!R&&(R=w<1?-1:1),E&&!T&&(T=E<1?-1:1),{spinX:R,spinY:T,pixelX:w,pixelY:E}}function p(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function f(m){return e.params.mousewheel.thresholdDelta&&m.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Se()-r<e.params.mousewheel.thresholdTime?!1:m.delta>=6&&Se()-r<60?!0:(m.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",m.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",m.raw)),r=new l.Date().getTime(),!1)}function b(m){const S=e.params.mousewheel;if(m.direction<0){if(e.isEnd&&!e.params.loop&&S.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&S.releaseOnEdges)return!0;return!1}function C(m){let S=m,D=!0;if(!e.enabled||m.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const P=e.params.mousewheel;e.params.cssMode&&S.preventDefault();let R=e.el;e.params.mousewheel.eventsTarget!=="container"&&(R=document.querySelector(e.params.mousewheel.eventsTarget));const T=R&&R.contains(S.target);if(!e.mouseEntered&&!T&&!P.releaseOnEdges)return!0;S.originalEvent&&(S=S.originalEvent);let w=0;const E=e.rtlTranslate?-1:1,A=d(S);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))w=-A.pixelX*E;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))w=-A.pixelY;else return!0;else w=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*E:-A.pixelY;if(w===0)return!0;P.invert&&(w=-w);let x=e.getTranslate()+w*P.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),D=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),D&&e.params.nested&&S.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const I={time:Se(),delta:Math.abs(w),direction:Math.sign(w),raw:m};c.length>=2&&c.shift();const _=c.length?c[c.length-1]:void 0;if(c.push(I),_?(I.direction!==_.direction||I.delta>_.delta||I.time>_.time+150)&&f(I):f(I),b(I))return!0}else{const I={time:Se(),delta:Math.abs(w),direction:Math.sign(w)},_=s&&I.time<s.time+500&&I.delta<=s.delta&&I.direction===s.direction;if(!_){s=void 0;let L=e.getTranslate()+w*P.sensitivity;const B=e.isBeginning,V=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(),(!B&&e.isBeginning||!V&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:I.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,c.length>=15&&c.shift();const k=c.length?c[c.length-1]:void 0,M=c[0];if(c.push(I),k&&(I.delta>k.delta||I.direction!==k.direction))c.splice(0);else if(c.length>=15&&I.time-M.time<500&&M.delta-I.delta>=1&&I.delta<=6){const O=w>0?.8:.2;s=I,c.splice(0),a=$e(()=>{e.slideToClosest(e.params.speed,!0,void 0,O)},0)}a||(a=$e(()=>{s=I,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(_||o("scroll",S),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(L===e.minTranslate()||L===e.maxTranslate()))return!0}}return S.preventDefault?S.preventDefault():S.returnValue=!1,!1}function y(m){let S=e.el;e.params.mousewheel.eventsTarget!=="container"&&(S=document.querySelector(e.params.mousewheel.eventsTarget)),S[m]("mouseenter",p),S[m]("mouseleave",h),S[m]("wheel",C)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",C),!0):e.mousewheel.enabled?!1:(y("addEventListener"),e.mousewheel.enabled=!0,!0)}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,C),!0):e.mousewheel.enabled?(y("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&v()}),Object.assign(e.mousewheel,{enable:u,disable:v})}function ui(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=Ae(t.el,`.${n[o]}`)[0];l||(l=nt("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function qe(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Pt(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 a,r=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,v){const{bulletActiveClass:m}=e.params.pagination;u&&(u=u[`${v==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${m}-${v}`),u=u[`${v==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${m}-${v}-${v}`)))}function d(u){const v=u.target.closest(qe(e.params.pagination.bulletClass));if(!v)return;u.preventDefault();const m=ft(v)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===m)return;e.slideToLoop(m)}else e.slideTo(m)}function p(){const u=e.rtl,v=e.params.pagination;if(s())return;let m=e.pagination.el;m=Pe(m);let S,D;const P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,R=e.params.loop?Math.ceil(P/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(D=e.previousRealIndex||0,S=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(S=e.snapIndex,D=e.previousSnapIndex):(D=e.previousIndex||0,S=e.activeIndex||0),v.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const T=e.pagination.bullets;let w,E,A;if(v.dynamicBullets&&(a=At(T[0],e.isHorizontal()?"width":"height",!0),m.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${a*(v.dynamicMainBullets+4)}px`}),v.dynamicMainBullets>1&&D!==void 0&&(r+=S-(D||0),r>v.dynamicMainBullets-1?r=v.dynamicMainBullets-1:r<0&&(r=0)),w=Math.max(S-r,0),E=w+(Math.min(T.length,v.dynamicMainBullets)-1),A=(E+w)/2),T.forEach(x=>{const I=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(_=>`${v.bulletActiveClass}${_}`)].map(_=>typeof _=="string"&&_.includes(" ")?_.split(" "):_).flat();x.classList.remove(...I)}),m.length>1)T.forEach(x=>{const I=ft(x);I===S?x.classList.add(...v.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),v.dynamicBullets&&(I>=w&&I<=E&&x.classList.add(...`${v.bulletActiveClass}-main`.split(" ")),I===w&&c(x,"prev"),I===E&&c(x,"next"))});else{const x=T[S];if(x&&x.classList.add(...v.bulletActiveClass.split(" ")),e.isElement&&T.forEach((I,_)=>{I.setAttribute("part",_===S?"bullet-active":"bullet")}),v.dynamicBullets){const I=T[w],_=T[E];for(let L=w;L<=E;L+=1)T[L]&&T[L].classList.add(...`${v.bulletActiveClass}-main`.split(" "));c(I,"prev"),c(_,"next")}}if(v.dynamicBullets){const x=Math.min(T.length,v.dynamicMainBullets+4),I=(a*x-a)/2-A*a,_=u?"right":"left";T.forEach(L=>{L.style[e.isHorizontal()?_:"top"]=`${I}px`})}}m.forEach((T,w)=>{if(v.type==="fraction"&&(T.querySelectorAll(qe(v.currentClass)).forEach(E=>{E.textContent=v.formatFractionCurrent(S+1)}),T.querySelectorAll(qe(v.totalClass)).forEach(E=>{E.textContent=v.formatFractionTotal(R)})),v.type==="progressbar"){let E;v.progressbarOpposite?E=e.isHorizontal()?"vertical":"horizontal":E=e.isHorizontal()?"horizontal":"vertical";const A=(S+1)/R;let x=1,I=1;E==="horizontal"?x=A:I=A,T.querySelectorAll(qe(v.progressbarFillClass)).forEach(_=>{_.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${I})`,_.style.transitionDuration=`${e.params.speed}ms`})}v.type==="custom"&&v.renderCustom?(T.innerHTML=v.renderCustom(e,S+1,R),w===0&&o("paginationRender",T)):(w===0&&o("paginationRender",T),o("paginationUpdate",T)),e.params.watchOverflow&&e.enabled&&T.classList[e.isLocked?"add":"remove"](v.lockClass)})}function h(){const u=e.params.pagination;if(s())return;const v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let m=e.pagination.el;m=Pe(m);let S="";if(u.type==="bullets"){let D=e.params.loop?Math.ceil(v/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&D>v&&(D=v);for(let P=0;P<D;P+=1)u.renderBullet?S+=u.renderBullet.call(e,P,u.bulletClass):S+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?S=u.renderFraction.call(e,u.currentClass,u.totalClass):S=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?S=u.renderProgressbar.call(e,u.progressbarFillClass):S=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],m.forEach(D=>{u.type!=="custom"&&(D.innerHTML=S||""),u.type==="bullets"&&e.pagination.bullets.push(...D.querySelectorAll(qe(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",m[0])}function f(){e.params.pagination=ui(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let v;typeof u.el=="string"&&e.isElement&&(v=e.el.querySelector(u.el)),!v&&typeof u.el=="string"&&(v=[...document.querySelectorAll(u.el)]),v||(v=u.el),!(!v||v.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(v)&&v.length>1&&(v=[...e.el.querySelectorAll(u.el)],v.length>1&&(v=v.filter(m=>ci(m,".swiper")[0]===e.el)[0])),Array.isArray(v)&&v.length===1&&(v=v[0]),Object.assign(e.pagination,{el:v}),v=Pe(v),v.forEach(m=>{u.type==="bullets"&&u.clickable&&m.classList.add(...(u.clickableClass||"").split(" ")),m.classList.add(u.modifierClass+u.type),m.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(m.classList.add(`${u.modifierClass}${u.type}-dynamic`),r=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&m.classList.add(u.progressbarOppositeClass),u.clickable&&m.addEventListener("click",d),e.enabled||m.classList.add(u.lockClass)}))}function b(){const u=e.params.pagination;if(s())return;let v=e.pagination.el;v&&(v=Pe(v),v.forEach(m=>{m.classList.remove(u.hiddenClass),m.classList.remove(u.modifierClass+u.type),m.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(m.classList.remove(...(u.clickableClass||"").split(" ")),m.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(m=>m.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:v}=e.pagination;v=Pe(v),v.forEach(m=>{m.classList.remove(u.horizontalClass,u.verticalClass),m.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?y():(f(),h(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{h(),p()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=Pe(u),u.forEach(v=>v.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,v)=>{const m=v.target,S=Pe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&S&&S.length>0&&!m.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&m===e.navigation.nextEl||e.navigation.prevEl&&m===e.navigation.prevEl))return;const D=S[0].classList.contains(e.params.pagination.hiddenClass);o(D===!0?"paginationShow":"paginationHide"),S.forEach(P=>P.classList.toggle(e.params.pagination.hiddenClass))}});const C=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Pe(u),u.forEach(v=>v.classList.remove(e.params.pagination.paginationDisabledClass))),f(),h(),p()},y=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=Pe(u),u.forEach(v=>v.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:C,disable:y,render:h,update:p,init:f,destroy:b})}function wn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=De();let a=!1,r=null,s=null,c,d,p,h;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:I}=e,{dragEl:_,el:L}=x,B=e.params.scrollbar,V=e.params.loop?e.progressLoop:e.progress;let k=d,M=(p-d)*V;I?(M=-M,M>0?(k=d-M,M=0):-M+d>p&&(k=p+M)):M<0?(k=d+M,M=0):M+d>p&&(k=p-M),e.isHorizontal()?(_.style.transform=`translate3d(${M}px, 0, 0)`,_.style.width=`${k}px`):(_.style.transform=`translate3d(0px, ${M}px, 0)`,_.style.height=`${k}px`),B.hide&&(clearTimeout(r),L.style.opacity=1,r=setTimeout(()=>{L.style.opacity=0,L.style.transitionDuration="400ms"},1e3))}function b(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function C(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:I,el:_}=x;I.style.width="",I.style.height="",p=e.isHorizontal()?_.offsetWidth:_.offsetHeight,h=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=p*h:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?I.style.width=`${d}px`:I.style.height=`${d}px`,h>=1?_.style.display="none":_.style.display="",e.params.scrollbar.hide&&(_.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function y(x){return e.isHorizontal()?x.clientX:x.clientY}function u(x){const{scrollbar:I,rtlTranslate:_}=e,{el:L}=I;let B;B=(y(x)-hn(L)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),B=Math.max(Math.min(B,1),0),_&&(B=1-B);const V=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*B;e.updateProgress(V),e.setTranslate(V),e.updateActiveIndex(),e.updateSlidesClasses()}function v(x){const I=e.params.scrollbar,{scrollbar:_,wrapperEl:L}=e,{el:B,dragEl:V}=_;a=!0,c=x.target===V?y(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),L.style.transitionDuration="100ms",V.style.transitionDuration="100ms",u(x),clearTimeout(s),B.style.transitionDuration="0ms",I.hide&&(B.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function m(x){const{scrollbar:I,wrapperEl:_}=e,{el:L,dragEl:B}=I;a&&(x.preventDefault?x.preventDefault():x.returnValue=!1,u(x),_.style.transitionDuration="0ms",L.style.transitionDuration="0ms",B.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function S(x){const I=e.params.scrollbar,{scrollbar:_,wrapperEl:L}=e,{el:B}=_;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",L.style.transitionDuration=""),I.hide&&(clearTimeout(s),s=$e(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),I.snapOnRelease&&e.slideToClosest())}function D(x){const{scrollbar:I,params:_}=e,L=I.el;if(!L)return;const B=L,V=_.passiveListeners?{passive:!1,capture:!1}:!1,k=_.passiveListeners?{passive:!0,capture:!1}:!1;if(!B)return;const M=x==="on"?"addEventListener":"removeEventListener";B[M]("pointerdown",v,V),l[M]("pointermove",m,V),l[M]("pointerup",S,k)}function P(){!e.params.scrollbar.el||!e.scrollbar.el||D("on")}function R(){!e.params.scrollbar.el||!e.scrollbar.el||D("off")}function T(){const{scrollbar:x,el:I}=e;e.params.scrollbar=ui(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const _=e.params.scrollbar;if(!_.el)return;let L;if(typeof _.el=="string"&&e.isElement&&(L=e.el.querySelector(_.el)),!L&&typeof _.el=="string"){if(L=l.querySelectorAll(_.el),!L.length)return}else L||(L=_.el);e.params.uniqueNavElements&&typeof _.el=="string"&&L.length>1&&I.querySelectorAll(_.el).length===1&&(L=I.querySelector(_.el)),L.length>0&&(L=L[0]),L.classList.add(e.isHorizontal()?_.horizontalClass:_.verticalClass);let B;L&&(B=L.querySelector(qe(e.params.scrollbar.dragClass)),B||(B=nt("div",e.params.scrollbar.dragClass),L.append(B))),Object.assign(x,{el:L,dragEl:B}),_.draggable&&P(),L&&L.classList[e.enabled?"remove":"add"](...Le(e.params.scrollbar.lockClass))}function w(){const x=e.params.scrollbar,I=e.scrollbar.el;I&&I.classList.remove(...Le(e.isHorizontal()?x.horizontalClass:x.verticalClass)),R()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:I}=e.scrollbar;I=Pe(I),I.forEach(_=>{_.classList.remove(x.horizontalClass,x.verticalClass),_.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(T(),C(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{C()}),n("setTranslate",()=>{f()}),n("setTransition",(x,I)=>{b(I)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Le(e.params.scrollbar.lockClass))}),n("destroy",()=>{w()});const E=()=>{e.el.classList.remove(...Le(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Le(e.params.scrollbar.scrollbarDisabledClass)),T(),C(),f()},A=()=>{e.el.classList.add(...Le(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Le(e.params.scrollbar.scrollbarDisabledClass)),w()};Object.assign(e.scrollbar,{enable:E,disable:A,updateSize:C,setTranslate:f,init:T,destroy:w})}function _t(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 a,r,s=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),h,f,b,C,y,u,v;function m(k){!e||e.destroyed||!e.wrapperEl||k.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!v&&E())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?h=!0:h&&(c=d,h=!1);const k=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=k,o("autoplayTimeLeft",k,k/s),r=requestAnimationFrame(()=>{S()})},D=()=>{let k;return e.virtual&&e.params.virtual.enabled?k=e.slides.filter(O=>O.classList.contains("swiper-slide-active"))[0]:k=e.slides[e.activeIndex],k?parseInt(k.getAttribute("data-swiper-autoplay"),10):void 0},P=k=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(r),S();let M=typeof k>"u"?e.params.autoplay.delay:k;s=e.params.autoplay.delay,c=e.params.autoplay.delay;const O=D();!Number.isNaN(O)&&O>0&&typeof k>"u"&&(M=O,s=O,c=O),d=M;const U=e.params.speed,oe=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(U,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,U,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(U,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,U,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return M>0?(clearTimeout(a),a=setTimeout(()=>{oe()},M)):requestAnimationFrame(()=>{oe()}),M},R=()=>{p=new Date().getTime(),e.autoplay.running=!0,P(),o("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(r),o("autoplayStop")},w=(k,M)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),k||(u=!0);const O=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):E()};if(e.autoplay.paused=!0,M){y&&(d=e.params.autoplay.delay),y=!1,O();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),O())},E=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,P(d)):P(),e.autoplay.paused=!1,o("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const k=De();k.visibilityState==="hidden"&&(u=!0,w(!0)),k.visibilityState==="visible"&&E()},x=k=>{k.pointerType==="mouse"&&(u=!0,v=!0,!(e.animating||e.autoplay.paused)&&w(!0))},I=k=>{k.pointerType==="mouse"&&(v=!1,e.autoplay.paused&&E())},_=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",I))},L=()=>{e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",I)},B=()=>{De().addEventListener("visibilitychange",A)},V=()=>{De().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(_(),B(),R())}),n("destroy",()=>{L(),V(),e.autoplay.running&&T()}),n("_freeModeStaticRelease",()=>{(b||u)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():w(!0,!0)}),n("beforeTransitionStart",(k,M,O)=>{e.destroyed||!e.autoplay.running||(O||!e.params.autoplay.disableOnInteraction?w(!0,!0):T())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}f=!0,b=!1,u=!1,C=setTimeout(()=>{u=!0,b=!0,w(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(C),clearTimeout(a),e.params.autoplay.disableOnInteraction){b=!1,f=!1;return}b&&e.params.cssMode&&E(),b=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(y=!0)}),Object.assign(e.autoplay,{start:R,stop:T,pause:w,resume:E})}function Tn(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const s=e.getTranslate();e.setTranslate(s),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:s,touches:c}=e;s.velocities.length===0&&s.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Se()})}function r(s){let{currentPos:c}=s;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:h,snapGrid:f,touchEventsData:b}=e,y=Se()-b.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(b.velocities.length>1){const T=b.velocities.pop(),w=b.velocities.pop(),E=T.position-w.position,A=T.time-w.time;e.velocity=E/A,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(A>150||Se()-T.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 v=e.velocity*u;let m=e.translate+v;h&&(m=-m);let S=!1,D;const P=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let R;if(m<e.maxTranslate())d.freeMode.momentumBounce?(m+e.maxTranslate()<-P&&(m=e.maxTranslate()-P),D=e.maxTranslate(),S=!0,b.allowMomentumBounce=!0):m=e.maxTranslate(),d.loop&&d.centeredSlides&&(R=!0);else if(m>e.minTranslate())d.freeMode.momentumBounce?(m-e.minTranslate()>P&&(m=e.minTranslate()+P),D=e.minTranslate(),S=!0,b.allowMomentumBounce=!0):m=e.minTranslate(),d.loop&&d.centeredSlides&&(R=!0);else if(d.freeMode.sticky){let T;for(let w=0;w<f.length;w+=1)if(f[w]>-m){T=w;break}Math.abs(f[T]-m)<Math.abs(f[T-1]-m)||e.swipeDirection==="next"?m=f[T]:m=f[T-1],m=-m}if(R&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(h?u=Math.abs((-m-e.translate)/e.velocity):u=Math.abs((m-e.translate)/e.velocity),d.freeMode.sticky){const T=Math.abs((h?-m:m)-e.translate),w=e.slidesSizesGrid[e.activeIndex];T<w?u=d.speed:T<2*w?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&S?(e.updateProgress(D),e.setTransition(u),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Dt(p,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(D),Dt(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(m),e.setTransition(u),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Dt(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(m),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||y>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:a,onTouchEnd:r}})}let kt;function Sn(){const t=he(),e=De();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function pi(){return kt||(kt=Sn()),kt}let Mt;function xn(t){let{userAgent:e}=t===void 0?{}:t;const i=pi(),n=he(),o=n.navigator.platform,l=e||n.navigator.userAgent,a={ios:!1,android:!1},r=n.screen.width,s=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_]+))?/),h=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=o==="Win32";let b=o==="MacIntel";const C=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&b&&i.touch&&C.indexOf(`${r}x${s}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),b=!1),c&&!f&&(a.os="android",a.android=!0),(d||h||p)&&(a.os="ios",a.ios=!0),a}function fi(t){return t===void 0&&(t={}),Mt||(Mt=xn(t)),Mt}let Ot;function Cn(){const t=he(),e=fi();let i=!1;function n(){const r=t.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(t.navigator.userAgent);if(r.includes("Version/")){const[s,c]=r.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=s<16||s===16&&c<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),a=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:a,isWebView:o}}function En(){return Ot||(Ot=Cn()),Ot}function In(t){let{swiper:e,on:i,emit:n}=t;const o=he();let l=null,a=null;const r=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{a=o.requestAnimationFrame(()=>{const{width:h,height:f}=e;let b=h,C=f;p.forEach(y=>{let{contentBoxSize:u,contentRect:v,target:m}=y;m&&m!==e.el||(b=v?v.width:(u[0]||u).inlineSize,C=v?v.height:(u[0]||u).blockSize)}),(b!==h||C!==f)&&r()})}),l.observe(e.el))},c=()=>{a&&o.cancelAnimationFrame(a),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"){s();return}o.addEventListener("resize",r),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",r),o.removeEventListener("orientationchange",d)})}function Dn(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],a=he(),r=function(d,p){p===void 0&&(p={});const h=a.MutationObserver||a.WebkitMutationObserver,f=new h(b=>{if(e.__preventObserver__)return;if(b.length===1){o("observerUpdate",b[0]);return}const C=function(){o("observerUpdate",b[0])};a.requestAnimationFrame?a.requestAnimationFrame(C):a.setTimeout(C,0)});f.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(f)},s=()=>{if(e.params.observer){if(e.params.observeParents){const d=ci(e.hostEl);for(let p=0;p<d.length;p+=1)r(d[p])}r(e.hostEl,{childList:e.params.observeSlideChildren}),r(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",s),n("destroy",c)}var An={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,a=new Array(l),r=0;r<l;r++)a[r]=arguments[r];e.apply(n,a)}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),a=0;a<o;a++)l[a]=arguments[a];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[s,...i])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(c=>{c.apply(n,i)})}),t}};function Pn(){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(Ne(n,"padding-left")||0,10)-parseInt(Ne(n,"padding-right")||0,10),i=i-parseInt(Ne(n,"padding-top")||0,10)-parseInt(Ne(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 _n(){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:a,wrongRTL:r}=t,s=t.virtual&&i.virtual.enabled,c=s?t.virtual.slides.length:t.slides.length,d=Ae(o,`.${t.params.slideClass}, swiper-slide`),p=s?t.virtual.slides.length:d.length;let h=[];const f=[],b=[];let C=i.slidesOffsetBefore;typeof C=="function"&&(C=i.slidesOffsetBefore.call(t));let y=i.slidesOffsetAfter;typeof y=="function"&&(y=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,v=t.slidesGrid.length;let m=i.spaceBetween,S=-C,D=0,P=0;if(typeof l>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*l:typeof m=="string"&&(m=parseFloat(m)),t.virtualSize=-m,d.forEach(E=>{a?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(ut(n,"--swiper-centered-offset-before",""),ut(n,"--swiper-centered-offset-after",""));const R=i.grid&&i.grid.rows>1&&t.grid;R?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let T;const w=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){T=0;let A;if(d[E]&&(A=d[E]),R&&t.grid.updateSlide(E,A,d),!(d[E]&&Ne(A,"display")==="none")){if(i.slidesPerView==="auto"){w&&(d[E].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(A),I=A.style.transform,_=A.style.webkitTransform;if(I&&(A.style.transform="none"),_&&(A.style.webkitTransform="none"),i.roundLengths)T=t.isHorizontal()?At(A,"width",!0):At(A,"height",!0);else{const L=e(x,"width"),B=e(x,"padding-left"),V=e(x,"padding-right"),k=e(x,"margin-left"),M=e(x,"margin-right"),O=x.getPropertyValue("box-sizing");if(O&&O==="border-box")T=L+k+M;else{const{clientWidth:U,offsetWidth:oe}=A;T=L+B+V+k+M+(oe-U)}}I&&(A.style.transform=I),_&&(A.style.webkitTransform=_),i.roundLengths&&(T=Math.floor(T))}else T=(l-(i.slidesPerView-1)*m)/i.slidesPerView,i.roundLengths&&(T=Math.floor(T)),d[E]&&(d[E].style[t.getDirectionLabel("width")]=`${T}px`);d[E]&&(d[E].swiperSlideSize=T),b.push(T),i.centeredSlides?(S=S+T/2+D/2+m,D===0&&E!==0&&(S=S-l/2-m),E===0&&(S=S-l/2-m),Math.abs(S)<1/1e3&&(S=0),i.roundLengths&&(S=Math.floor(S)),P%i.slidesPerGroup===0&&h.push(S),f.push(S)):(i.roundLengths&&(S=Math.floor(S)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&h.push(S),f.push(S),S=S+T+m),t.virtualSize+=T+m,D=T,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+y,a&&r&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+m}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+m}px`),R&&t.grid.updateWrapperSize(T,h),!i.centeredSlides){const E=[];for(let A=0;A<h.length;A+=1){let x=h[A];i.roundLengths&&(x=Math.floor(x)),h[A]<=t.virtualSize-l&&E.push(x)}h=E,Math.floor(t.virtualSize-l)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-l)}if(s&&i.loop){const E=b[0]+m;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=E*i.slidesPerGroup;for(let I=0;I<A;I+=1)h.push(h[h.length-1]+x)}for(let A=0;A<t.virtual.slidesBefore+t.virtual.slidesAfter;A+=1)i.slidesPerGroup===1&&h.push(h[h.length-1]+E),f.push(f[f.length-1]+E),t.virtualSize+=E}if(h.length===0&&(h=[0]),m!==0){const E=t.isHorizontal()&&a?"marginLeft":t.getDirectionLabel("marginRight");d.filter((A,x)=>!i.cssMode||i.loop?!0:x!==d.length-1).forEach(A=>{A.style[E]=`${m}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let E=0;b.forEach(x=>{E+=x+(m||0)}),E-=m;const A=E-l;h=h.map(x=>x<=0?-C:x>A?A+y:x)}if(i.centerInsufficientSlides){let E=0;if(b.forEach(A=>{E+=A+(m||0)}),E-=m,E<l){const A=(l-E)/2;h.forEach((x,I)=>{h[I]=x-A}),f.forEach((x,I)=>{f[I]=x+A})}}if(Object.assign(t,{slides:d,snapGrid:h,slidesGrid:f,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){ut(n,"--swiper-centered-offset-before",`${-h[0]}px`),ut(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const E=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+E),t.slidesGrid=t.slidesGrid.map(x=>x+A)}if(p!==c&&t.emit("slidesLengthChange"),h.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==v&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const E=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(E);p<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(E):A&&t.el.classList.remove(E)}}function kn(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 a=r=>n?e.slides[e.getSlideIndexByData(r)]:e.slides[r];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(r=>{i.push(r)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const r=e.activeIndex+l;if(r>e.slides.length&&!n)break;i.push(a(r))}else i.push(a(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const r=i[l].offsetHeight;o=r>o?r:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Mn(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}function On(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-t;o&&(a=t),n.forEach(s=>{s.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let r=i.spaceBetween;typeof r=="string"&&r.indexOf("%")>=0?r=parseFloat(r.replace("%",""))/100*e.size:typeof r=="string"&&(r=parseFloat(r));for(let s=0;s<n.length;s+=1){const c=n[s];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(a+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+r),h=(a-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+r),f=-(a-d),b=f+e.slidesSizesGrid[s],C=f>=0&&f<=e.size-e.slidesSizesGrid[s];(f>=0&&f<e.size-1||b>1&&b<=e.size||f<=0&&b>=e.size)&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(s),n[s].classList.add(i.slideVisibleClass)),C&&n[s].classList.add(i.slideFullyVisibleClass),c.progress=o?-p:p,c.originalProgress=o?-h:h}}function Ln(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:a,progressLoop:r}=e;const s=l,c=a;if(n===0)o=0,l=!0,a=!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,a=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[d],f=e.slidesGrid[p],b=e.slidesGrid[e.slidesGrid.length-1],C=Math.abs(t);C>=h?r=(C-h)/b:r=(C+b-f)/b,r>1&&(r-=1)}Object.assign(e,{progress:o,progressLoop:r,isBeginning:l,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!s&&e.emit("reachBeginning toEdge"),a&&!c&&e.emit("reachEnd toEdge"),(s&&!l||c&&!a)&&e.emit("fromEdge"),e.emit("progress",o)}function Nn(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,a=t.grid&&i.grid&&i.grid.rows>1,r=p=>Ae(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];e.forEach(p=>{p.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let s,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),s=r(`[data-swiper-slide-index="${p}"]`)}else s=r(`[data-swiper-slide-index="${o}"]`);else a?(s=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]):s=e[o];s&&(s.classList.add(i.slideActiveClass),a?(d&&d.classList.add(i.slideNextClass),c&&c.classList.add(i.slidePrevClass)):(d=bn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),d&&d.classList.add(i.slideNextClass),c=gn(s,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]),c&&c.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const vt=(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()}},Lt=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Nt=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 a=o,r=[a-e];r.push(...Array.from({length:e}).map((s,c)=>a+n+c)),t.slides.forEach((s,c)=>{r.includes(s.column)&&Lt(t,c)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let a=o-e;a<=l+e;a+=1){const r=(a%i+i)%i;(r<o||r>l)&&Lt(t,r)}else for(let a=Math.max(o-e,0);a<=Math.min(l+e,i-1);a+=1)a!==o&&(a>l||a<o)&&Lt(t,a)};function Rn(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function Bn(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:a,snapIndex:r}=e;let s=t,c;const d=f=>{let b=f-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 s>"u"&&(s=Rn(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const f=Math.min(o.slidesPerGroupSkip,s);c=f+Math.floor((s-f)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),s===l&&!e.params.loop){c!==r&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(s===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(s);return}const p=e.grid&&o.grid&&o.grid.rows>1;let h;if(e.virtual&&o.virtual.enabled&&o.loop)h=d(s);else if(p){const f=e.slides.filter(C=>C.column===s)[0];let b=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(f),0)),h=Math.floor(b/o.grid.rows)}else if(e.slides[s]){const f=e.slides[s].getAttribute("data-swiper-slide-index");f?h=parseInt(f,10):h=s}else h=s;Object.assign(e,{previousSnapIndex:r,snapIndex:c,previousRealIndex:a,realIndex:h,previousIndex:l,activeIndex:s}),e.initialized&&Nt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function jn(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(r=>{!o&&r.matches&&r.matches(`.${n.slideClass}, swiper-slide`)&&(o=r)});let l=!1,a;if(o){for(let r=0;r<i.slides.length;r+=1)if(i.slides[r]===o){l=!0,a=r;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=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var zn={updateSize:Pn,updateSlides:_n,updateAutoHeight:kn,updateSlidesOffset:Mn,updateSlidesProgress:On,updateProgress:Ln,updateSlidesClasses:Nn,updateActiveIndex:Bn,updateClickedSlide:jn};function Vn(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 a=vn(l,t);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function Fn(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:a}=i;let r=0,s=0;const c=0;i.isHorizontal()?r=n?-t:t:s=t,o.roundLengths&&(r=Math.floor(r),s=Math.floor(s)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?r:s,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-r:-s:o.virtualTranslate||(i.isHorizontal()?r-=i.cssOverflowAdjustment():s-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${r}px, ${s}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==a&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Hn(){return-this.snapGrid[0]}function Un(){return-this.snapGrid[this.snapGrid.length-1]}function Gn(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:a,wrapperEl:r}=l;if(l.animating&&a.preventInteractionOnTransition)return!1;const s=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>s?d=s:n&&t<c?d=c:d=t,l.updateProgress(d),a.cssMode){const p=l.isHorizontal();if(e===0)r[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return di({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;r.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(h){!l||l.destroyed||h.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var Wn={getTranslate:Vn,setTranslate:Fn,minTranslate:Hn,maxTranslate:Un,translateTo:Gn};function $n(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function vi(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:a}=e;let r=n;if(r||(l>a?r="next":l<a?r="prev":r="reset"),e.emit(`transition${o}`),i&&l!==a){if(r==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),r==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function qn(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),vi({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Xn(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),vi({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Yn={setTransition:$n,transitionStart:qn,transitionEnd:Xn};function Jn(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let a=t;a<0&&(a=0);const{params:r,snapGrid:s,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:h,wrapperEl:f,enabled:b}=l;if(l.animating&&r.preventInteractionOnTransition||!b&&!n&&!o||l.destroyed)return!1;const C=Math.min(l.params.slidesPerGroupSkip,a);let y=C+Math.floor((a-C)/l.params.slidesPerGroup);y>=s.length&&(y=s.length-1);const u=-s[y];if(r.normalizeSlideIndex)for(let m=0;m<c.length;m+=1){const S=-Math.floor(u*100),D=Math.floor(c[m]*100),P=Math.floor(c[m+1]*100);typeof c[m+1]<"u"?S>=D&&S<P-(P-D)/2?a=m:S>=D&&S<P&&(a=m+1):S>=D&&(a=m)}if(l.initialized&&a!==p&&(!l.allowSlideNext&&(h?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==a))return!1;a!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let v;if(a>p?v="next":a<p?v="prev":v="reset",h&&-u===l.translate||!h&&u===l.translate)return l.updateActiveIndex(a),r.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),r.effect!=="slide"&&l.setTranslate(u),v!=="reset"&&(l.transitionStart(i,v),l.transitionEnd(i,v)),!1;if(r.cssMode){const m=l.isHorizontal(),S=h?u:-u;if(e===0){const D=l.virtual&&l.params.virtual.enabled;D&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),D&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[m?"scrollLeft":"scrollTop"]=S})):f[m?"scrollLeft":"scrollTop"]=S,D&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return di({swiper:l,targetPosition:S,side:m?"left":"top"}),!0;f.scrollTo({[m?"left":"top"]:S,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(a),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,v),e===0?l.transitionEnd(i,v):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(S){!l||l.destroyed||S.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,v))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Qn(t,e,i,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a=a+o.virtual.slidesBefore;else{let r;if(l){const h=a*o.params.grid.rows;r=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===h)[0].column}else r=o.getSlideIndexByData(a);const s=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=s-r<d;if(c&&(p=p||r<Math.ceil(d/2)),p){const h=c?r<o.activeIndex?"prev":"next":r-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?r+1:r-s+1,slideRealIndex:h==="next"?o.realIndex:void 0})}if(l){const h=a*o.params.grid.rows;a=o.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===h)[0].column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,e,i,n)}),o}function Kn(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:a}=n;if(!o||n.destroyed)return n;let r=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(r=Math.max(n.slidesPerViewDynamic("current",!0),1));const s=n.activeIndex<l.slidesPerGroupSkip?1:r,c=n.virtual&&l.virtual.enabled;if(l.loop){if(a&&!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+s,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+s,t,e,i)}function Zn(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:a,rtlTranslate:r,enabled:s,animating:c}=n;if(!s||n.destroyed)return n;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=r?n.translate:-n.translate;function h(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const f=h(p),b=l.map(u=>h(u));let C=l[b.indexOf(f)-1];if(typeof C>"u"&&o.cssMode){let u;l.forEach((v,m)=>{f>=v&&(u=m)}),typeof u<"u"&&(C=l[u>0?u-1:u])}let y=0;if(typeof C<"u"&&(y=a.indexOf(C),y<0&&(y=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(y=y-n.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,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(y,t,e,i)}),!0;return n.slideTo(y,t,e,i)}function eo(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const n=this;if(!n.destroyed)return n.slideTo(n.activeIndex,t,e,i)}function to(t,e,i,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;let l=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,l),r=a+Math.floor((l-a)/o.params.slidesPerGroup),s=o.rtlTranslate?o.translate:-o.translate;if(s>=o.snapGrid[r]){const c=o.snapGrid[r],d=o.snapGrid[r+1];s-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[r-1],d=o.snapGrid[r];s-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 io(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const a=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(Ae(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),$e(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(Ae(i,`${a}[data-swiper-slide-index="${l}"]`)[0]),$e(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var no={slideTo:Jn,slideToLoop:Qn,slideNext:Kn,slidePrev:Zn,slideReset:eo,slideToClosest:to,slideToClickedSlide:io};function oo(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{Ae(n,`.${i.slideClass}, swiper-slide`).forEach((p,h)=>{p.setAttribute("data-swiper-slide-index",h)})},l=e.grid&&i.grid&&i.grid.rows>1,a=i.slidesPerGroup*(l?i.grid.rows:1),r=e.slides.length%a!==0,s=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const h=e.isElement?nt("swiper-slide",[i.slideBlankClass]):nt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(h)}};if(r){if(i.loopAddBlankSlides){const d=a-e.slides.length%a;c(d),e.recalcSlides(),e.updateSlides()}else pt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(s){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else pt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function lo(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:a,byMousewheel:r}=t===void 0?{}:t;const s=this;if(!s.params.loop)return;s.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:h,params:f}=s,{centeredSlides:b}=f;if(s.allowSlidePrev=!0,s.allowSlideNext=!0,s.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&s.snapIndex===0?s.slideTo(s.virtual.slides.length,0,!1,!0):f.centeredSlides&&s.snapIndex<f.slidesPerView?s.slideTo(s.virtual.slides.length+s.snapIndex,0,!1,!0):s.snapIndex===s.snapGrid.length-1&&s.slideTo(s.virtual.slidesBefore,0,!1,!0)),s.allowSlidePrev=d,s.allowSlideNext=p,s.emit("loopFix");return}let C=f.slidesPerView;C==="auto"?C=s.slidesPerViewDynamic():(C=Math.ceil(parseFloat(f.slidesPerView,10)),b&&C%2===0&&(C=C+1));const y=f.slidesPerGroupAuto?C:f.slidesPerGroup;let u=y;u%y!==0&&(u+=y-u%y),u+=f.loopAdditionalSlides,s.loopedSlides=u;const v=s.grid&&f.grid&&f.grid.rows>1;c.length<C+u?pt("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"):v&&f.grid.fill==="row"&&pt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const m=[],S=[];let D=s.activeIndex;typeof l>"u"?l=s.getSlideIndex(c.filter(I=>I.classList.contains(f.slideActiveClass))[0]):D=l;const P=n==="next"||!n,R=n==="prev"||!n;let T=0,w=0;const E=v?Math.ceil(c.length/f.grid.rows):c.length,x=(v?c[l].column:l)+(b&&typeof o>"u"?-C/2+.5:0);if(x<u){T=Math.max(u-x,y);for(let I=0;I<u-x;I+=1){const _=I-Math.floor(I/E)*E;if(v){const L=E-_-1;for(let B=c.length-1;B>=0;B-=1)c[B].column===L&&m.push(B)}else m.push(E-_-1)}}else if(x+C>E-u){w=Math.max(x-(E-u*2),y);for(let I=0;I<w;I+=1){const _=I-Math.floor(I/E)*E;v?c.forEach((L,B)=>{L.column===_&&S.push(B)}):S.push(_)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),R&&m.forEach(I=>{c[I].swiperLoopMoveDOM=!0,h.prepend(c[I]),c[I].swiperLoopMoveDOM=!1}),P&&S.forEach(I=>{c[I].swiperLoopMoveDOM=!0,h.append(c[I]),c[I].swiperLoopMoveDOM=!1}),s.recalcSlides(),f.slidesPerView==="auto"?s.updateSlides():v&&(m.length>0&&R||S.length>0&&P)&&s.slides.forEach((I,_)=>{s.grid.updateSlide(_,I,s.slides)}),f.watchSlidesProgress&&s.updateSlidesOffset(),i){if(m.length>0&&R){if(typeof e>"u"){const I=s.slidesGrid[D],L=s.slidesGrid[D+T]-I;r?s.setTranslate(s.translate-L):(s.slideTo(D+Math.ceil(T),0,!1,!0),o&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-L,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-L))}else if(o){const I=v?m.length/f.grid.rows:m.length;s.slideTo(s.activeIndex+I,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(S.length>0&&P)if(typeof e>"u"){const I=s.slidesGrid[D],L=s.slidesGrid[D-w]-I;r?s.setTranslate(s.translate-L):(s.slideTo(D-w,0,!1,!0),o&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-L,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-L))}else{const I=v?S.length/f.grid.rows:S.length;s.slideTo(s.activeIndex-I,0,!1,!0)}}if(s.allowSlidePrev=d,s.allowSlideNext=p,s.controller&&s.controller.control&&!a){const I={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(_=>{!_.destroyed&&_.params.loop&&_.loopFix({...I,slideTo:_.params.slidesPerView===f.slidesPerView?i:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...I,slideTo:s.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}s.emit("loopFix")}function so(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var ao={loopCreate:oo,loopFix:lo,loopDestroy:so};function ro(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function co(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var uo={setGrabCursor:ro,unsetGrabCursor:co};function po(t,e){e===void 0&&(e=this);function i(n){if(!n||n===De()||n===he())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function mi(t,e,i){const n=he(),{params:o}=t,l=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return l&&(i<=a||i>=n.innerWidth-a)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function fo(t){const e=this,i=De();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){mi(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:a,enabled:r}=e;if(!r||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let s=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(s=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,h=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(h?po(p,s):s.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!s.closest(l.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;const f=a.currentX,b=a.currentY;if(!mi(e,n,f))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=f,a.startY=b,o.touchStartTime=Se(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let C=!0;s.matches(o.focusableElements)&&(C=!1,s.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==s&&i.activeElement.blur();const y=C&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||y)&&!s.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function vo(t){const e=De(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:a,enabled:r}=i;if(!r||!o.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(n.touchId!==null||s.pointerId!==n.pointerId))return;let c;if(s.type==="touchmove"){if(c=[...s.changedTouches].filter(P=>P.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=s;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",s);return}const d=c.pageX,p=c.pageY;if(s.preventedByNestedSwiper){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){s.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=Se());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&&s.target===e.activeElement&&s.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",s),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const h=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(h**2+f**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let P;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:h*h+f*f>=25&&(P=Math.atan2(Math.abs(f),Math.abs(h))*180/Math.PI,n.isScrolling=i.isHorizontal()?P>o.touchAngle:90-P>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",s),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&s.cancelable&&s.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&s.stopPropagation();let b=i.isHorizontal()?h:f,C=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(b=Math.abs(b)*(a?1:-1),C=Math.abs(C)*(a?1:-1)),l.diff=b,b*=o.touchRatio,a&&(b=-b,C=-C);const y=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=C>0?"prev":"next";const u=i.params.loop&&!o.cssMode,v=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&v&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(P)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",s)}let m;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&y!==i.touchesDirection&&u&&v&&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",s),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let S=!0,D=o.resistanceRatio;if(o.touchReleaseOnEdges&&(D=0),b>0?(u&&v&&!m&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(S=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**D))):b<0&&(u&&v&&!m&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(S=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**D))),S&&(s.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(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 mo(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(D=>D.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:a,touches:r,rtlTranslate:s,slidesGrid:c,enabled:d}=e;if(!d||!a.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const p=Se(),h=p-i.touchStartTime;if(e.allowClick){const D=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(D&&D[0]||n.target,D),e.emit("tap click",n),h<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Se(),$e(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||r.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 f;if(a.followFinger?f=s?e.translate:-e.translate:f=-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const b=f>=-e.maxTranslate()&&!e.params.loop;let C=0,y=e.slidesSizesGrid[0];for(let D=0;D<c.length;D+=D<a.slidesPerGroupSkip?1:a.slidesPerGroup){const P=D<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof c[D+P]<"u"?(b||f>=c[D]&&f<c[D+P])&&(C=D,y=c[D+P]-c[D]):(b||f>=c[D])&&(C=D,y=c[c.length-1]-c[c.length-2])}let u=null,v=null;a.rewind&&(e.isBeginning?v=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const m=(f-c[C])/y,S=C<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(h>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?u:C+S):e.slideTo(C)),e.swipeDirection==="prev"&&(m>1-a.longSwipesRatio?e.slideTo(C+S):v!==null&&m<0&&Math.abs(m)>a.longSwipesRatio?e.slideTo(v):e.slideTo(C))}else{if(!a.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(C+S):e.slideTo(C):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:C+S),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:C))}}function hi(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,a=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const r=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!r?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!a?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function ho(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function go(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function bo(t){const e=this;vt(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function yo(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const gi=(t,e)=>{const i=De(),{params:n,el:o,wrapperEl:l,device:a}=t,r=!!n.nested,s=e==="on"?"addEventListener":"removeEventListener",c=e;i[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:r}),o[s]("touchstart",t.onTouchStart,{passive:!1}),o[s]("pointerdown",t.onTouchStart,{passive:!1}),i[s]("touchmove",t.onTouchMove,{passive:!1,capture:r}),i[s]("pointermove",t.onTouchMove,{passive:!1,capture:r}),i[s]("touchend",t.onTouchEnd,{passive:!0}),i[s]("pointerup",t.onTouchEnd,{passive:!0}),i[s]("pointercancel",t.onTouchEnd,{passive:!0}),i[s]("touchcancel",t.onTouchEnd,{passive:!0}),i[s]("pointerout",t.onTouchEnd,{passive:!0}),i[s]("pointerleave",t.onTouchEnd,{passive:!0}),i[s]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[s]("click",t.onClick,!0),n.cssMode&&l[s]("scroll",t.onScroll),n.updateOnWindowResize?t[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",hi,!0):t[c]("observerUpdate",hi,!0),o[s]("load",t.onLoad,{capture:!0})};function wo(){const t=this,{params:e}=t;t.onTouchStart=fo.bind(t),t.onTouchMove=vo.bind(t),t.onTouchEnd=mo.bind(t),t.onDocumentTouchStart=yo.bind(t),e.cssMode&&(t.onScroll=go.bind(t)),t.onClick=ho.bind(t),t.onLoad=bo.bind(t),gi(t,"on")}function To(){gi(this,"off")}var So={attachEvents:wo,detachEvents:To};const bi=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function xo(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const a=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const s=(a in l?l[a]:void 0)||t.originalParams,c=bi(t,n),d=bi(t,s),p=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(u=>{if(typeof s[u]>"u")return;const v=n[u]&&n[u].enabled,m=s[u]&&s[u].enabled;v&&!m&&t[u].disable(),!v&&m&&t[u].enable()});const h=s.direction&&s.direction!==n.direction,f=n.loop&&(s.slidesPerView!==n.slidesPerView||h),b=n.loop;h&&i&&t.changeDirection(),ye(t.params,s);const C=t.params.enabled,y=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!C?t.disable():!p&&C&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",s),i&&(f?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&y?(t.loopCreate(e),t.updateSlides()):b&&!y&&t.loopDestroy()),t.emit("breakpoint",s)}function Co(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=he(),l=e==="window"?o.innerHeight:i.clientHeight,a=Object.keys(t).map(r=>{if(typeof r=="string"&&r.indexOf("@")===0){const s=parseFloat(r.substr(1));return{value:l*s,point:r}}return{value:r,point:r}});a.sort((r,s)=>parseInt(r.value,10)-parseInt(s.value,10));for(let r=0;r<a.length;r+=1){const{point:s,value:c}=a[r];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=s):c<=i.clientWidth&&(n=s)}return n||"max"}var Eo={setBreakpoint:xo,getBreakpoint:Co};function Io(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function Do(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,a=Io(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...a),o.classList.add(...e),t.emitContainerClasses()}function Ao(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var Po={addClasses:Do,removeClasses:Ao};function _o(){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 ko={checkOverflow:_o},Rt={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Mo(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){ye(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)){ye(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),ye(e,n)}}const Bt={eventsEmitter:An,update:zn,translate:Wn,transition:Yn,slide:no,loop:ao,grabCursor:uo,events:So,breakpoints:Eo,checkOverflow:ko,classes:Po},jt={};let zt=class ke{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=ye({},i),e&&!i.el&&(i.el=e);const a=De();if(i.el&&typeof i.el=="string"&&a.querySelectorAll(i.el).length>1){const d=[];return a.querySelectorAll(i.el).forEach(p=>{const h=ye({},i,{el:p});d.push(new ke(h))}),d}const r=this;r.__swiper__=!0,r.support=pi(),r.device=fi({userAgent:i.userAgent}),r.browser=En(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],i.modules&&Array.isArray(i.modules)&&r.modules.push(...i.modules);const s={};r.modules.forEach(d=>{d({params:i,swiper:r,extendParams:Mo(i,s),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const c=ye({},Rt,s);return r.params=ye({},c,jt,i),r.originalParams=ye({},r.params),r.passedParams=ye({},i),r.params&&r.params.on&&Object.keys(r.params.on).forEach(d=>{r.on(d,r.params.on[d])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.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:r.params.allowSlideNext,allowSlidePrev:r.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:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}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=Ae(i,`.${n.slideClass}, swiper-slide`),l=ft(o[0]);return ft(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=Ae(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(),a=(n.maxTranslate()-o)*e+o;n.translateTo(a,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:a,slidesSizesGrid:r,size:s,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,h;for(let f=c+1;f<l.length;f+=1)l[f]&&!h&&(p+=Math.ceil(l[f].swiperSlideSize),d+=1,p>s&&(h=!0));for(let f=c-1;f>=0;f-=1)l[f]&&!h&&(p+=l[f].swiperSlideSize,d+=1,p>s&&(h=!0))}else if(e==="current")for(let p=c+1;p<l.length;p+=1)(i?a[p]+r[p]-a[c]<s:a[p]-a[c]<s)&&(d+=1);else for(let p=c-1;p>=0;p-=1)a[c]-a[p]<s&&(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(a=>{a.complete&&vt(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const a=e.rtlTranslate?e.translate*-1:e.translate,r=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(r),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 a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(a.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 a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):Ae(n,o())[0];return!a&&i.params.createElements&&(a=nt("div",i.params.wrapperClass),n.append(a),Ae(n,`.${i.params.slideClass}`).forEach(r=>{a.append(r)})),Object.assign(i,{el:n,wrapperEl:a,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Ne(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Ne(n,"direction")==="rtl"),wrongRTL:Ne(a,"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?vt(i,l):l.addEventListener("load",a=>{vt(i,a.target)})}),Nt(i),i.initialized=!0,Nt(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:a,slides:r}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttribute("style"),a.removeAttribute("style"),r&&r.length&&r.forEach(s=>{s.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(s=>{n.off(s)}),e!==!1&&(n.el.swiper=null,pn(n)),n.destroyed=!0),null}static extendDefaults(e){ye(jt,e)}static get extendedDefaults(){return jt}static get defaults(){return Rt}static installModule(e){ke.prototype.__modules__||(ke.prototype.__modules__=[]);const i=ke.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>ke.installModule(i)),ke):(ke.installModule(e),ke)}};Object.keys(Bt).forEach(t=>{Object.keys(Bt[t]).forEach(e=>{zt.prototype[e]=Bt[t][e]})}),zt.use([In,Dn]);const yi=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function He(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Xe(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:He(e[n])&&He(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Xe(t[n],e[n]):t[n]=e[n]})}function wi(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Ti(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Si(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function xi(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function Oo(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Lo(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:a,scrollbarEl:r,paginationEl:s}=t;const c=o.filter(w=>w!=="children"&&w!=="direction"&&w!=="wrapperClass"),{params:d,pagination:p,navigation:h,scrollbar:f,virtual:b,thumbs:C}=e;let y,u,v,m,S,D,P,R;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(y=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(v=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||r)&&(d.scrollbar||d.scrollbar===!1)&&f&&!f.el&&(m=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&h&&!h.prevEl&&!h.nextEl&&(S=!0);const T=w=>{e[w]&&(e[w].destroy(),w==="navigation"?(e.isElement&&(e[w].prevEl.remove(),e[w].nextEl.remove()),d[w].prevEl=void 0,d[w].nextEl=void 0,e[w].prevEl=void 0,e[w].nextEl=void 0):(e.isElement&&e[w].el.remove(),d[w].el=void 0,e[w].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?D=!0:!d.loop&&n.loop?P=!0:R=!0),c.forEach(w=>{if(He(d[w])&&He(n[w]))Object.assign(d[w],n[w]),(w==="navigation"||w==="pagination"||w==="scrollbar")&&"enabled"in n[w]&&!n[w].enabled&&T(w);else{const E=n[w];(E===!0||E===!1)&&(w==="navigation"||w==="pagination"||w==="scrollbar")?E===!1&&T(w):d[w]=n[w]}}),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&&(R=!0),y&&C.init()&&C.update(!0),u&&(e.controller.control=d.controller.control),v&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(d.pagination.el=s),p.init(),p.render(),p.update()),m&&(e.isElement&&(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-scrollbar"),r.part.add("scrollbar"),e.el.appendChild(r)),r&&(d.scrollbar.el=r),f.init(),f.updateSize(),f.setTranslate()),S&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=e.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),e.el.appendChild(a))),l&&(d.navigation.nextEl=l),a&&(d.navigation.prevEl=a),h.init(),h.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(D||R)&&e.loopDestroy(),(P||R)&&e.loopCreate(),e.update()}function No(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};Xe(i,Rt),i._emitClasses=!0,i.init=!1;const l={},a=yi.map(s=>s.replace(/_/,"")),r=Object.assign({},t);return Object.keys(r).forEach(s=>{typeof t[s]>"u"||(a.indexOf(s)>=0?He(t[s])?(i[s]={},o[s]={},Xe(i[s],t[s]),Xe(o[s],t[s])):(i[s]=t[s],o[s]=t[s]):s.search(/on[A-Z]/)===0&&typeof t[s]=="function"?e?n[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:i.on[`${s[2].toLowerCase()}${s.substr(3)}`]=t[s]:l[s]=t[s])}),["navigation","pagination","scrollbar"].forEach(s=>{i[s]===!0&&(i[s]={}),i[s]===!1&&delete i[s]}),{params:i,passedParams:o,rest:l,events:n}}function Ro(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:a,swiper:r}=t;wi(e)&&n&&o&&(r.params.navigation.nextEl=n,r.originalParams.navigation.nextEl=n,r.params.navigation.prevEl=o,r.originalParams.navigation.prevEl=o),Ti(e)&&l&&(r.params.pagination.el=l,r.originalParams.pagination.el=l),Si(e)&&a&&(r.params.scrollbar.el=a,r.originalParams.scrollbar.el=a),r.init(i)}function Bo(t,e,i,n,o){const l=[];if(!e)return l;const a=s=>{l.indexOf(s)<0&&l.push(s)};if(i&&n){const s=n.map(o),c=i.map(o);s.join("")!==c.join("")&&a("children"),n.length!==i.length&&a("children")}return yi.filter(s=>s[0]==="_").map(s=>s.replace(/_/,"")).forEach(s=>{if(s in t&&s in e)if(He(t[s])&&He(e[s])){const c=Object.keys(t[s]),d=Object.keys(e[s]);c.length!==d.length?a(s):(c.forEach(p=>{t[s][p]!==e[s][p]&&a(s)}),d.forEach(p=>{t[s][p]!==e[s][p]&&a(s)}))}else t[s]!==e[s]&&a(s)}),l}const jo=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 mt(){return mt=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},mt.apply(this,arguments)}function Ci(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function Ei(t){const e=[];return g.Children.toArray(t).forEach(i=>{Ci(i)?e.push(i):i.props&&i.props.children&&Ei(i.props.children).forEach(n=>e.push(n))}),e}function zo(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return g.Children.toArray(t).forEach(n=>{if(Ci(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=Ei(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Vo(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:a}=i,r=t.params.loop?-e.length:0,s=t.params.loop?e.length*2:e.length,c=[];for(let d=r;d<s;d+=1)d>=l&&d<=a&&c.push(e[n(d)]);return c.map((d,p)=>g.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function ot(t,e){return typeof window>"u"?Y(t,e):ji(t,e)}const Vt=it(null),Ii=()=>tt(Vt),Fo=it(null),Ye=St(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:a,...r}=t===void 0?{}:t,s=!1;const[c,d]=H("swiper"),[p,h]=H(null),[f,b]=H(!1),C=J(!1),y=J(null),u=J(null),v=J(null),m=J(null),S=J(null),D=J(null),P=J(null),R=J(null),{params:T,passedParams:w,rest:E,events:A}=No(r),{slides:x,slots:I}=zo(l),_=()=>{b(!f)};Object.assign(T.on,{_containerClasses(M,O){d(O)}});const L=()=>{Object.assign(T.on,A),s=!0;const M={...T};if(delete M.wrapperClass,u.current=new zt(M),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=x;const O={cache:!1,slides:x,renderExternal:h,renderExternalUpdate:!1};Xe(u.current.params.virtual,O),Xe(u.current.originalParams.virtual,O)}};y.current||L(),u.current&&u.current.on("_beforeBreakpoint",_);const B=()=>{s||!A||!u.current||Object.keys(A).forEach(M=>{u.current.on(M,A[M])})},V=()=>{!A||!u.current||Object.keys(A).forEach(M=>{u.current.off(M,A[M])})};Y(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",_)}),Y(()=>{!C.current&&u.current&&(u.current.emitSlidesClasses(),C.current=!0)}),ot(()=>{if(e&&(e.current=y.current),!!y.current)return u.current.destroyed&&L(),Ro({el:y.current,nextEl:S.current,prevEl:D.current,paginationEl:P.current,scrollbarEl:R.current,swiper:u.current},T),a&&!u.current.destroyed&&a(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),ot(()=>{B();const M=Bo(w,v.current,x,m.current,O=>O.key);return v.current=w,m.current=x,M.length&&u.current&&!u.current.destroyed&&Lo({swiper:u.current,slides:x,passedParams:w,changedParams:M,nextEl:S.current,prevEl:D.current,scrollbarEl:R.current,paginationEl:P.current}),()=>{V()}}),ot(()=>{jo(u.current)},[p]);function k(){return T.virtual?Vo(u.current,x,p):x.map((M,O)=>g.cloneElement(M,{swiper:u.current,swiperSlideIndex:O}))}return g.createElement(n,mt({ref:y,className:xi(`${c}${i?` ${i}`:""}`)},E),g.createElement(Fo.Provider,{value:u.current},I["container-start"],g.createElement(o,{className:Oo(T.wrapperClass)},I["wrapper-start"],k(),I["wrapper-end"]),wi(T)&&g.createElement(g.Fragment,null,g.createElement("div",{ref:D,className:"swiper-button-prev"}),g.createElement("div",{ref:S,className:"swiper-button-next"})),Si(T)&&g.createElement("div",{ref:R,className:"swiper-scrollbar"}),Ti(T)&&g.createElement("div",{ref:P,className:"swiper-pagination"}),I["container-end"]))});Ye.displayName="Swiper";const _e=St(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:a,lazy:r,virtualIndex:s,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=J(null),[h,f]=H("swiper-slide"),[b,C]=H(!1);function y(S,D,P){D===p.current&&f(P)}ot(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){h!=="swiper-slide"&&f("swiper-slide");return}return l.on("_slideClass",y),()=>{l&&l.off("_slideClass",y)}}}),ot(()=>{l&&p.current&&!l.destroyed&&f(l.getSlideClasses(p.current))},[l]);const u={isActive:h.indexOf("swiper-slide-active")>=0,isVisible:h.indexOf("swiper-slide-visible")>=0,isPrev:h.indexOf("swiper-slide-prev")>=0,isNext:h.indexOf("swiper-slide-next")>=0},v=()=>typeof n=="function"?n(u):n,m=()=>{C(!0)};return g.createElement(i,mt({ref:p,className:xi(`${h}${o?` ${o}`:""}`),"data-swiper-slide-index":s,onLoad:m},d),a&&g.createElement(Vt.Provider,{value:u},g.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof a=="number"?a:void 0},v(),r&&!b&&g.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&g.createElement(Vt.Provider,{value:u},v(),r&&!b&&g.createElement("div",{className:"swiper-lazy-preloader"})))});_e.displayName="SwiperSlide";function lt(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=ee(),o=se((a,r,s)=>{var c,d,p,h,f,b,C,y,u,v,m,S,D,P;let R="";e&&(!((d=(c=a?.video)===null||c===void 0?void 0:c.bindProducts)===null||d===void 0)&&d.length||!((p=a?.video)===null||p===void 0)&&p.bindProduct)?R="pdpPage":n?R="hashTagPage":!((h=a?.video)===null||h===void 0)&&h.url?R="videoPage":!((f=a?.video)===null||f===void 0)&&f.imgUrls&&(!((C=(b=a?.video)===null||b===void 0?void 0:b.imgUrls)===null||C===void 0)&&C.length)?R="imagePage":a?.product&&(R="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(y=r?.itemId)!==null&&y!==void 0?y:"",productName:(u=r?.title)!==null&&u!==void 0?u:"",price:r?.price?r?.price+"":"0",productCollection:(v=r?.collection)!==null&&v!==void 0?v:"",fromKName:R,fromKPage:location?.href,contentTags:r?.tags?JSON.stringify(r?.tags):"",position:a?.position+"",relatedContentId:(S=(m=a?.video)===null||m===void 0?void 0:m.itemId)!==null&&S!==void 0?S:"",relatedCtatId:(D=s?.itemId)!==null&&D!==void 0?D:"",traceInfo:(P=r?.traceInfo)!==null&&P!==void 0?P:""}})},[t,e,n]),l=se((a,r,s,c)=>{var d,p,h,f;let b="";e&&(!((p=(d=a?.video)===null||d===void 0?void 0:d.bindProducts)===null||p===void 0)&&p.length||!((h=a?.video)===null||h===void 0)&&h.bindProduct)?b="pdpPage":a?.product&&(b="productPage"),t?.({eventInfo:{productId:r?.itemId,productName:r?.title,price:r?.price+"",productCollection:r?.collection,fromKName:b,fromKPage:location?.href,contentTags:JSON.stringify(r?.tags),position:a?.position+"",relatedContentId:(f=a?.video)===null||f===void 0?void 0:f.itemId,relatedCtatId:s?.itemId,traceInfo:r?.traceInfo,timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]);return{jumpToWeb:o,productView:l}}const Ho="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Uo=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popupAniData:l})=>{const{popupAni:a}=Te(),r=l??a,[s,c]=H(!1),d=J(null);if(Y(()=>{const h=document.getElementById("sxp-render"),f=document.getElementById("pb-modal");f?d.current=f:(d.current=document.createElement("div"),d.current.setAttribute("id","pb-modal"),h?.appendChild(d.current))},[]),Y(()=>{t?c(!0):setTimeout(()=>{c(!1)},r?.duration)},[t,r]),!d.current)return null;const p=Tt(()=>{e?.()},300);return Yt.createPortal(g.createElement("div",{className:"modal-bg",style:Object.assign({display:s?"flex":"none",backgroundColor:t?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},g.createElement("div",{className:`modal-container ${t?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:r?.duration/1e3+"s"},onClick:h=>{h.stopPropagation(),h.preventDefault()}},g.createElement("div",{onClick:e,className:"modal-icon-wrapper"},g.createElement("img",{src:Ho,alt:"close",className:"modal-icon"})),i)),d.current)};var ht=Z(Uo);const Go=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let a=0;a<n.length&&(o.push(n[a]),!(o.join(" ").length>=e));a++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},Wo=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:a,isPost:r})=>{const[s,c]=H(!0),[d,p]=H(!1),h=Number(i?.lineClamp||2),f=J(null),b=se(()=>{c(!s)},[s]);return ae(()=>!s&&t.length>e?Go(t,e)+"...":t,[t,e,s]),Y(()=>{f.current&&r&&(c(!0),setTimeout(()=>{var C;p(!1);try{const y=(C=window?.getComputedStyle)===null||C===void 0?void 0:C.call(window,f.current),u=parseFloat(y?.height),v=parseFloat(y?.lineHeight),m=parseFloat(y?.fontSize)+4,S=isNaN(v)?m:v;t&&u>S*h&&(c(!1),p(!0))}catch{}},100))},[f,t,h,i,r]),g.createElement("div",{className:n,style:Object.assign({},i),hidden:!t||t===""},g.createElement("div",{ref:f,style:{overflow:"hidden",WebkitLineClamp:s?"":h,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),d&&t&&g.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??b},s?a||"show less":l||"show more"))};var Ft=Z(Wo);const $o=t=>{var e,i,n,o,l,a,r,s,{content:c,style:d,bgImg:p,onClick:h,schema:f,isDefault:b,bottom_image:C,tipText:y,isPost:u,viewTime:v,rec:m,swiper:S,commodityStyles:D,buttonStyle:P}=t,R=ve(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle"]);const{sxpParameter:T}=ee(),{popupDetailData:w,bffEventReport:E,isPreview:A,waterFallData:x}=ee(),{jumpToWeb:I,productView:_}=lt(),L=J(null),[B,V]=H(!1),k=u?m:w,M=u?k?.product:(e=k?.video)===null||e===void 0?void 0:e.bindProduct,O=u?(i=k?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=k?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,U=()=>{M?.link&&(I(w,M,O),u||_(k,M,O,v||L.current),window.location.href=window.getJointUtmLink(M.link))};Y(()=>{const j=()=>{L.current=new Date};return j(),window.addEventListener("pageshow",j),()=>{window.removeEventListener("pageshow",j)}},[]);const oe=ae(()=>{var j,z,W,ie,te;return M?.currency&&M?.price?`${(W=(z=(j=M?.currency)===null||j===void 0?void 0:j.split("-")[1])===null||z===void 0?void 0:z.toUpperCase())!==null&&W!==void 0?W:""}${(te=(ie=M?.price)===null||ie===void 0?void 0:ie.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&te!==void 0?te:""}`:"$7,000"},[M?.price,M?.currency]),de=A?375:window.innerWidth,pe=({isPost:j})=>{var z,W,ie;return g.createElement("div",{className:"pb-commondity-content"},g.createElement("div",{className:"pb-commondity-content-collection",style:D?.collection},(z=M?.collection)!==null&&z!==void 0?z:"Tiffany Lock"),g.createElement("div",{className:"pb-commondity-content-title",style:D?.title},(W=M?.title)!==null&&W!==void 0?W:"Pendant in Yellow Gold with Diamonds, Medium"),g.createElement("div",{className:"pb-commondity-content-price",style:D?.price},oe),g.createElement(Ft,{foldText:y?.foldText,unfoldText:y?.unfoldText,onClick:()=>V(!0),isPost:j,text:(ie=M?.info)!==null&&ie!==void 0?ie:`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.`))),(u||b?.link)&&p.createElement("button",{onClick:O,className:"pb-commondity-btn"},(v=P?.enTitle)!==null&&v!==void 0?v:"Purchase on Website"))};var Ro=te(ko);const Fo=Ee(Ro,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var Bo=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],zo=[{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"]}],yi="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 jo=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}},$o=t=>{var{content:e,btnText:i,style:n,icon:o,onClick:l}=t,a=ge(t,["content","btnText","style","icon","onClick"]);Be();const r=typeof o=="string"?o:jo(o),s=()=>{window?.sxpPopup(""),l?.()};return p.createElement("div",Object.assign({className:`pb-prompt ${W(Object.assign({},n))}`},a),p.createElement("div",{className:"pb-prompt-icon"},p.createElement("img",{width:"100%",src:r??yi})),p.createElement("div",{className:"pb-prompt-content"},e),p.createElement("button",{className:"pb-prompt-btn",onClick:s},i))};var Go=te($o);const Vo=Ee(Go,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:zo,bindableProps:[],interactionRender:Bo},defaulSetting:{props:{icon:yi,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var Ho="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAmhJREFUeF7t2dFKFFEcx/HvPkE3XvcA9hpedS2JhlioISKSEqESWkhUSISIiIomWiFCl973EvYM3XTnA7QHdmEb5sz8d+b8z+xh/guCwjj7/33md2bWY4eWvzotz48BWANaLmBLoOUFsJugLQFbAi0XsCXQ8gLYU8CWgC2BfIEHwBowCdwD34GDxLCeAzPAQ+AIuAL+ZjP4lsBj4DZz8A0wlQjCW2AnM6sDuZACfAWe5YS9BqZHHCEvvBv5Z6/R/43va8AicOIJ+gN4OqIIvvBu3E3go7QBY8Av4JEn6DdgdsQQisLfARPAHymAO268++XWvQ/hEpgbEYSy8E+A33mzln0OKENwNxV3c2nyVTm8G7oMQNKEc2C+IYFa4aUAEoQzYCEyQu3wwwBIEE6BF5EQgoQfFkCCcNy90y4pIwQLXwVAguA+di4rIQQNXxVAgnAIrARGCB6+DoAEwf3xtBoIQSV8XQAJwj7wsiaCWvgQABKEL8B6RQTV8KEAJAifu/sKr4ZEUA8fEkCCsAe8FiJECR8aQILwCdgoQYgWXgNAgvAB2PIgRA2vBSBBeA+8ySBED68JIEHYBbZ7CI2E1waQILzrAWQ3MPvlcDs53s0M4Q218DDJfkDd9ynbVPGdXz18jAb0ww2LECV8TADJcohW+8HKxVgCg+9X1oRoV74/VGyAoiZEDx97CRQ1oZHwTQIMNsF9r/qoK3qMNbEEsk1wP+f+06Lu81fy+00DSGZUPcYAVHkTOLk1IIGLpDqiNUCVN4GTWwMSuEiqI1oDVHkTOLk1IIGLpDqiNUCVN4GTWwMSuEiqI/4DSCuFQaIHE+8AAAAASUVORK5CYII=";const Uo=t=>{var e,i,n,o,l,a,r,s,c,d,{style:v,isDefault:f,rec:m,viewTime:w,isPost:g,bottom_image:S}=t,u=ge(t,["style","isDefault","rec","viewTime","isPost","bottom_image"]);const[y,h]=G(!0),{sxpParameter:x}=Z(),{popupDetailData:C,bffEventReport:A,isPreview:L,swiperRef:T,waterFallData:I}=Z(),{jumpToWeb:E,productView:D}=$e(),b=Q(null),P=Q(null),O=Q(null),[M,_]=G(!1),[B,N]=G(!1),[F,V]=G(!0),U=Q(null),J=g?m:C,R=g?J?.product:(e=J?.video)===null||e===void 0?void 0:e.bindProduct,ae=g?(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,j=()=>{R?.link&&(E(J,R,ae),g||D(J,R,ae,w||U.current),window.location.href=window.getJointUtmLink(R.link))};q(()=>{const Y=()=>{U.current=new Date};return Y(),window.addEventListener("pageshow",Y),()=>{window.removeEventListener("pageshow",Y)}},[]);const z=oe(()=>{var Y,ie,pe,me,fe;return R?.currency&&R?.price?`${(pe=(ie=(Y=R?.currency)===null||Y===void 0?void 0:Y.split("-")[1])===null||ie===void 0?void 0:ie.toUpperCase())!==null&&pe!==void 0?pe:""}${(fe=(me=R?.price)===null||me===void 0?void 0:me.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&fe!==void 0?fe:""}`:"$7,000"},[R?.price,R?.currency]),K=L?375:window.innerWidth,ue=()=>{h(!y)};q(()=>{var Y,ie;console.log((Y=b?.current)===null||Y===void 0?void 0:Y.scrollHeight,window.innerHeight),b?.current&&((ie=b?.current)===null||ie===void 0?void 0:ie.scrollHeight)>window.innerHeight&&_(!0)},[b]),q(()=>{const Y=()=>{if(b?.current){const{scrollTop:ie,scrollHeight:pe,clientHeight:me}=b.current,fe=ie+me===pe;N(!!fe),V(ie===0)}};return b.current&&b.current.addEventListener("scroll",Y),()=>{b.current&&b.current.removeEventListener("scroll",Y)}},[b]);const de=Y=>{Y.stopPropagation(),P.current=Y.touches[0].clientY,O.current=!0},ve=Y=>{var ie,pe,me,fe;if(O.current){O.current=!1;const Ne=Y.touches[0].clientY,Pe=P.current-Ne;Pe>0&&(B||!M)?(pe=(ie=T?.current)===null||ie===void 0?void 0:ie.swiper)===null||pe===void 0||pe.slideNext():Pe<0&&(F||!M)&&((fe=(me=T?.current)===null||me===void 0?void 0:me.swiper)===null||fe===void 0||fe.slidePrev())}};return p.createElement("div",{className:"pb-commondityDiro"},p.createElement("div",Object.assign({ref:b,className:W(Object.assign({},v))},u,{onTouchStart:de,onTouchMove:Y=>{Y.stopPropagation(),ve(Y)}}),R&&((l=R?.homePage)===null||l===void 0?void 0:l.length)>0&&p.createElement(Me,{height:K,modules:[Je,Ke],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},loop:!0,autoplay:{delay:3e3}},(a=R?.homePage)===null||a===void 0?void 0:a.map(Y=>p.createElement(Ce,{key:Y},p.createElement("div",{style:{overflow:"hidden",width:K,height:K}},p.createElement("img",{src:Y,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),!(!((r=R?.homePage)===null||r===void 0)&&r.length)&&p.createElement("div",{className:W({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},p.createElement("img",{className:W({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(s=x?.bottom_image)!==null&&s!==void 0?s:S,alt:""})),p.createElement("div",{className:"pb-commondityDiro-content"},p.createElement("div",{className:"pb-commondityDiro-content-title"},(c=R?.title)!==null&&c!==void 0?c:"MEDIUM LADY D-LITE BAG"),p.createElement("div",{className:"pb-commondityDiro-content-collection",hidden:!!R&&(!R?.collection||R?.collection==="")},R?.collection||"Gold-Tone and White Butterfly Zodiac Embroidery"),p.createElement("div",{className:"pb-commondityDiro-content-scrollRef",hidden:!!R&&!R?.itemId},R?.itemId?`Reference: ${R?.itemId}`:"Reference: M0565OESU_M01E"),p.createElement("div",{className:"pb-commondityDiro-content-line"}),p.createElement("div",{className:"pb-commondityDiro-content-price"},z)),p.createElement("div",{className:"pb-commondityDiro-desc",hidden:!!R&&(!R?.info||R?.info==="")},p.createElement("div",{className:"pb-commondityDiro-desc-collapse",onClick:ue},p.createElement("div",{className:"pb-commondityDiro-desc-collapse-title"},"DESCRIPTION"),p.createElement("img",{className:`pb-commondityDiro-desc-collapse-icon ${y?"pb-commondityDiro-desc-collapse-iconActive":""}`,src:Ho,alt:""})),p.createElement("div",{className:"pb-commondityDiro-desc-info",hidden:!y},R?.info||"The Lady D-Lite bag combines classic elegance with House modernity. The style is fully embroidered with a gold-tone and white Butterfly Zodiac motif by Pietro Ruffo, showcasing a constellation enhanced by astrological signs and adorned with butterflies. A Christian Dior Paris signature adorns the front, while D.I.O.R. charms in pale gold-finish metal further enhance and highlight the silhouette. Featuring a wide, removable embroidered shoulder strap, the medium Lady D-Lite bag can be carried by hand or worn crossbody.")),(!R||R?.link)&&p.createElement(p.Fragment,null,p.createElement("div",{className:"pb-commondityDiro-h90"}),p.createElement("div",{className:"pb-commondityDiro-bottom"},p.createElement("button",{onClick:j,className:"pb-commondityDiro-bottom-btn"},(d=ae?.enTitle)!==null&&d!==void 0?d:"SHOP NOW")))))};var Wo=te(Uo);const Xo=Ee(Wo,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiro",defaulSetting:{props:{},style:{}},w:100,h:40,sort:1}),Yo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Qo=({visible:t,onClose:e,children:i,modalStyle:n,padding:o})=>{const[l,a]=G(!1),r=Q(null);if(q(()=>{const c=document.getElementById("sxp-render"),d=document.getElementById("pb-modal");d?r.current=d:(r.current=document.createElement("div"),r.current.setAttribute("id","pb-modal"),c?.appendChild(r.current))},[]),q(()=>{t?a(!0):setTimeout(()=>{a(!1)},1200)},[t]),!r.current)return null;const s=gt(()=>{e?.()},300);return Gt.createPortal(p.createElement("div",{className:"modal-bg",style:Object.assign({display:l?"flex":"none",backgroundColor:t?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:s},p.createElement("div",{className:`modal-container ${t?"modal-popIn":"modal-popOut"}`,style:{padding:o},onClick:c=>{c.stopPropagation(),c.preventDefault()}},p.createElement("div",{onClick:e,className:"modal-icon-wrapper"},p.createElement("img",{src:Yo,alt:"close",className:"modal-icon"})),i)),r.current)};var ct=te(Qo);const qo=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let a=0;a<n.length&&(o.push(n[a]),!(o.join(" ").length>=e));a++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},Jo=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:a})=>{const[r,s]=G(!0),[c,d]=G(!1),v=Number(i?.lineClamp||2),f=Q(null),m=le(()=>{s(!r)},[r]);return oe(()=>!r&&t.length>e?qo(t,e)+"...":t,[t,e,r]),q(()=>{f.current&&(s(!0),setTimeout(()=>{d(!1);const w=parseInt(getComputedStyle(f.current).height),g=parseInt(getComputedStyle(f?.current).lineHeight);t&&w>g*v&&(s(!1),d(!0))},100))},[f,t,v,i]),p.createElement("div",{className:n,style:Object.assign({},i)},p.createElement("div",{ref:f,style:{overflow:"hidden",WebkitLineClamp:r?"":v,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"}},t),c&&t&&p.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??m},r?a||"show less":l||"show more"))};var kt=te(Jo);const Ko=t=>{var e,i,n,o,l,a,r,s,c,d,{style:v,isDefault:f,rec:m,viewTime:w,isPost:g,bottom_image:S,tipText:u}=t,y=ge(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText"]);G(!0);const{sxpParameter:h}=Z(),{popupDetailData:x,bffEventReport:C,isPreview:A,swiperRef:L,waterFallData:T}=Z(),{jumpToWeb:I,productView:E}=$e(),D=Q(null);Q(null),Q(null),G(!1),G(!1),G(!0);const[b,P]=G(!1),O=Q(null),M=g?m:x,_=g?M?.product:(e=M?.video)===null||e===void 0?void 0:e.bindProduct,B=g?(i=M?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=M?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,N=()=>{_?.link&&(I(M,_,B),g||E(M,_,B,w||O.current),window.location.href=window.getJointUtmLink(_.link))};q(()=>{const U=()=>{O.current=new Date};return U(),window.addEventListener("pageshow",U),()=>{window.removeEventListener("pageshow",U)}},[]);const F=oe(()=>{var U,J,R,ae,j;return _?.currency&&_?.price?`${(R=(J=(U=_?.currency)===null||U===void 0?void 0:U.split("-")[1])===null||J===void 0?void 0:J.toUpperCase())!==null&&R!==void 0?R:""}${(j=(ae=_?.price)===null||ae===void 0?void 0:ae.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&j!==void 0?j:""}`:"\xA3102,300.00"},[_?.price,_?.currency]),V=A?375:window.innerWidth;return p.createElement("div",{className:"pb-commondityDiroNew"},p.createElement("div",Object.assign({ref:D,className:W(Object.assign({},v))},y),_&&((l=_?.homePage)===null||l===void 0?void 0:l.length)>0&&p.createElement(Me,{height:V,modules:[Je,Ke],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:"commondityDiroNew-swiper-clickable"},loop:!0,autoplay:{delay:3e3}},(a=_?.homePage)===null||a===void 0?void 0:a.map(U=>p.createElement(Ce,{key:U},p.createElement("div",{style:{overflow:"hidden",width:V,height:V}},p.createElement("img",{src:U,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),!(!((r=_?.homePage)===null||r===void 0)&&r.length)&&p.createElement("div",{className:W({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},p.createElement("img",{className:W({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(s=h?.bottom_image)!==null&&s!==void 0?s:S,alt:""})),p.createElement("div",{className:"pb-commondityDiroNew-content"},p.createElement("div",{className:"pb-commondityDiroNew-content-top"},p.createElement("div",{className:"pb-commondityDiroNew-content-top-title"},(c=_?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),p.createElement("div",{className:"pb-commondityDiroNew-content-top-price",hidden:!!_&&!_?.price},F)),p.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!_&&(!_?.collection||_?.collection==="")},_?.collection||"Black Macrocannage Calfskin"),(!_||_?.link)&&p.createElement("button",{onClick:N,className:"pb-commondityDiroNew-btn"},(d=B?.enTitle)!==null&&d!==void 0?d:"Shop now"),p.createElement("div",{hidden:!!_&&(!_?.info||_?.info==="")},g?p.createElement(kt,{onClick:()=>P(!0),className:"pb-commondityDiroNew-info",foldText:u?.foldText,unfoldText:u?.unfoldText,text:_?.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`}):p.createElement("div",{className:"pb-commondityDiroNew-info"},_?.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
7
- Made in Italy`)))),p.createElement(ct,{visible:b,onClose:()=>P(!1)},p.createElement("div",{className:"pb-commondityDiroNew-info",hidden:!!_&&(!_?.info||_?.info==="")},_?.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
8
- Made in Italy`)))};var Ei=te(Ko);const Zo=Ee(Ei,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var el=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Si(t){const e=Q(null),[i,n]=G(!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 tl=t=>{var{rec:e,children:i,className:n,onClick:o}=t;ge(t,["rec","children","className","onClick"]);const l=Q(null),a=Si(l),{setPopupDetailData:r,ctaEvent:s}=Z();q(()=>{var d,v;if(a&&l?.current){const f=(v=(d=e?.video)===null||d===void 0?void 0:d.bindProduct)!==null&&v!==void 0?v:e?.video;s?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,f)}},[a,l,e,s]);const c=tt(()=>{var d,v;const f=(v=(d=e?.video)===null||d===void 0?void 0:d.bindProduct)!==null&&v!==void 0?v:e?.video;s?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,f),r?.(e),o?.()},1200);return p.createElement("div",{ref:l,className:n,onClick:c},i)};var et=te(tl),il={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const nl=t=>{var e,i,n,o,l,a,r,{content:s,style:c,bgImg:d,recData:v,bottom_image:f}=t,m=ge(t,["content","style","bgImg","recData","bottom_image"]);const{sxpParameter:w}=Z(),g=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,S=(o=(n=(i=g?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:w?.bottom_image)!==null&&o!==void 0?o:f;return p.createElement(et,Object.assign({rec:v,className:W(Object.assign(Object.assign({},c),{maxWidth:"236px",width:"100%"}))},m),p.createElement("div",{className:W({width:"60px",height:"60px",marginRight:"8px",borderRadius:"3px",overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"})},p.createElement("img",{className:W({width:"100%",objectFit:"cover",height:"100%"}),src:S,hidden:!S,alt:""})),p.createElement("div",{className:W({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},p.createElement("div",{className:il["tow-line-ellipsis"]},(l=g?.title)!==null&&l!==void 0?l:"Product Name"),p.createElement("div",{className:W({background:"rgba(0,0,0,.5)",fontSize:"10px",padding:"2px 7px",width:"auto",textAlign:"center",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})},(r=(a=g?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var ol=te(nl);const ll=Ee(ol,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:el,bindableProps:[]},defaulSetting:{props:{},style:{padding:"7px",display:"flex",background:"rgba(0,0,0,.3)",borderRadius:"3px"}},w:100,h:40,sort:1});var sl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const rl=t=>{var e,i,n,o,{content:l,style:a,bgImg:r,recData:s,bottom_image:c}=t,d=ge(t,["content","style","bgImg","recData","bottom_image"]);const{sxpParameter:v}=Z(),f=(e=s?.video)===null||e===void 0?void 0:e.bindCta;return p.createElement(et,Object.assign({rec:s,className:W(Object.assign(Object.assign({},a),{maxWidth:"236px",width:"100%"}))},d),p.createElement("div",{className:W({width:"30px",height:"30px",marginRight:"8px",borderRadius:"3px",overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"})},p.createElement("img",{className:W({width:"100%",objectFit:"cover",height:"100%"}),src:(n=(i=f?.icon)!==null&&i!==void 0?i:v?.bottom_image)!==null&&n!==void 0?n:c,alt:""})),p.createElement("div",{className:W({color:"#fff",width:"100%",overflow:"hidden",fontSize:"12px",textOverflow:"ellipsis"})},(o=f?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var al=te(rl);const dl=Ee(al,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:sl,bindableProps:[]},defaulSetting:{props:{content:"\u6309\u94AE"},style:{padding:"7px",display:"flex",alignItems:"center",background:"rgba(0,0,0,.3)",borderRadius:"3px"}},w:100,h:40,sort:6});var cl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const ul=t=>{var e,i,n,o,l,{content:a,style:r,bgImg:s,recData:c,bottom_image:d}=t,v=ge(t,["content","style","bgImg","recData","bottom_image"]);const{sxpParameter:f,bffEventReport:m}=Z(),{jumpToWeb:w}=$e(),g=(e=c?.video)===null||e===void 0?void 0:e.bindCta,S=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,u=()=>{g?.link&&(w(c,S,g),window.location.href=window.getJointUtmLink(g.link))};return p.createElement(et,Object.assign({rec:c,className:W(Object.assign(Object.assign({},r),{maxWidth:"236px",width:"100%"}))},v,{onClick:u}),p.createElement("div",{className:W({width:"60px",height:"60px",marginRight:"8px",borderRadius:"3px",backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0})},p.createElement("img",{className:W({width:"100%",objectFit:"cover",height:"100%"}),src:(o=(n=g?.icon)!==null&&n!==void 0?n:f?.bottom_image)!==null&&o!==void 0?o:d,alt:""})),p.createElement("div",{className:W({color:"#fff",display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},p.createElement("div",{className:cl["tow-line-ellipsis"]},(l=g?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var vl=te(ul);const pl=Ee(vl,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{bindableProps:[]},defaulSetting:{props:{content:"\u6309\u94AE"},style:{padding:"7px",display:"flex",background:"rgba(0,0,0,.3)",borderRadius:"3px"}},w:100,h:40,sort:5});var fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ml={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const hl=t=>{var e,i,n,o,l,a,r,{content:s,style:c,bgImg:d,recData:v,bottom_image:f}=t,m=ge(t,["content","style","bgImg","recData","bottom_image"]);const{sxpParameter:w}=Z(),g=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,S=(o=(n=(i=g?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:w?.bottom_image)!==null&&o!==void 0?o:f;return p.createElement(et,Object.assign({rec:v,className:W(Object.assign(Object.assign({},c),{maxWidth:"236px",width:"100%"}))},m),p.createElement("div",{className:W({width:"60px",height:"60px",marginRight:"8px",borderRadius:"3px",overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"})},p.createElement("img",{className:W({width:"100%",objectFit:"cover",height:"100%"}),src:S,hidden:!S,alt:""})),p.createElement("div",{className:W({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},p.createElement("div",{className:ml["tow-line-ellipsis"]},(l=g?.title)!==null&&l!==void 0?l:"Product Name"),p.createElement("div",{className:W({background:"rgba(0,0,0,1)",fontSize:"10px",padding:"2px 7px",textAlign:"center",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",width:"fit-content",maxWidth:"100%",whiteSpace:"nowrap"})},(r=(a=g?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var gl=te(hl);const wl=Ee(gl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:fl,bindableProps:[]},defaulSetting:{props:{},style:{padding:"7px",display:"flex",borderRadius:"3px",background:"#fff"}},w:100,h:40,sort:2});var bl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],yl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const El=t=>{var e,i,n,o,l,a,r,{content:s,style:c,bgImg:d,recData:v,bottom_image:f}=t,m=ge(t,["content","style","bgImg","recData","bottom_image"]);const{sxpParameter:w}=Z(),g=(e=v?.video)===null||e===void 0?void 0:e.bindProduct,S=(o=(n=(i=g?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:w?.bottom_image)!==null&&o!==void 0?o:f;return p.createElement(et,Object.assign({rec:v,className:W(Object.assign(Object.assign({},c),{maxWidth:"260px",width:"100%",padding:"4px",background:"rgba(255,255,255,0.75)"}))},m),p.createElement("div",{className:W({width:"78px",height:"78px",marginRight:"16px",borderRadius:"8px",overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"})},p.createElement("img",{className:W({width:"100%",objectFit:"cover",height:"100%"}),src:S,hidden:!S,alt:""})),p.createElement("div",{className:W({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},p.createElement("div",{className:yl["tow-line-ellipsis"]},(l=g?.title)!==null&&l!==void 0?l:"Product Name"),p.createElement("div",{className:W({fontSize:"13px",fontWeight:"bold",textOverflow:"ellipsis",overflow:"hidden",width:"fit-content",maxWidth:"100%",whiteSpace:"nowrap",textDecoration:"underline",color:"#000",lineHeight:"20px"})},(r=(a=g?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop now")))};var Sl=te(El);const Tl=Ee(Sl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:bl,bindableProps:[]},defaulSetting:{props:{},style:{padding:"7px",display:"flex",borderRadius:"3px",background:"#fff"}},w:100,h:40,sort:2});var xl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Cl=({children:t})=>p.createElement(Me,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[fn,pn,vn],style:{paddingRight:"20px"}},t);var ut=te(Cl);const _l=({src:t,rec:e,item:i})=>{const n=Q(null),o=Si(n),{ctaEvent:l}=Z();return q(()=>{o&&t&&n?.current&&l?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i)},[o,t,n,e,l,i]),p.createElement("img",{ref:n,hidden:!t,className:W({width:"100%",objectFit:"cover",height:"100%"}),src:t,alt:""})};var Rt=te(_l),Il={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Al=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:r,bottom_image:s}=t,c=ge(t,["content","style","bgImg","recData","onClick","bottom_image"]);const{ctaEvent:d,setPopupDetailData:v,sxpParameter:f}=Z(),[m,w]=G((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),g=tt(S=>{d?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,S),v?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:S})})),r?.()},1200);return p.createElement(ut,null,m?.map(S=>{var u,y,h,x,C,A;return p.createElement(Ce,Object.assign({hidden:a&&!S?.bindCta,key:S?.itemId,className:W(Object.assign(Object.assign({},o),{maxWidth:"236px",width:"100%",flexShrink:0}))},c,{onClick:()=>g(S)}),p.createElement("div",{className:W({width:"60px",height:"60px",marginRight:"8px",borderRadius:"3px",overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"})},p.createElement(Rt,{src:(h=(y=(u=S?.homePage)===null||u===void 0?void 0:u[0])!==null&&y!==void 0?y:f?.bottom_image)!==null&&h!==void 0?h:s,rec:a,item:S})),p.createElement("div",{className:W({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},p.createElement("div",{className:Il["two-line-ellipsis"]},(x=S?.title)!==null&&x!==void 0?x:"Product Name"),p.createElement("div",{className:W({background:"rgba(0,0,0,1)",fontSize:"10px",padding:"2px 7px",textAlign:"center",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",width:"fit-content",maxWidth:"100%",color:"#fff",whiteSpace:"nowrap"})},(A=(C=S?.bindCta)===null||C===void 0?void 0:C.enTitle)!==null&&A!==void 0?A:"Shop Now")))}))};var Pl=te(Al);const Dl=Ee(Pl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:xl,bindableProps:[]},defaulSetting:{props:{},style:{padding:"7px",display:"flex",background:"#fff",borderRadius:"3px"}},w:100,h:40,sort:4});var Ol=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ml={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Ll=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:r,bottom_image:s}=t,c=ge(t,["content","style","bgImg","recData","onClick","bottom_image"]);const{sxpParameter:d}=Z(),{ctaEvent:v,setPopupDetailData:f}=Z(),[m,w]=G((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),g=tt(S=>{v?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,S),f?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:S})})),r?.()},1200);return p.createElement(ut,null,m?.map(S=>{var u,y,h,x,C,A;return p.createElement(Ce,Object.assign({hidden:a&&!S?.bindCta,key:S.itemId,className:W(Object.assign(Object.assign({},o),{maxWidth:"236px",width:"100%",flexShrink:0}))},c,{onClick:()=>g(S)}),p.createElement("div",{className:W({width:"60px",height:"60px",marginRight:"8px",borderRadius:"3px",overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"})},p.createElement(Rt,{src:(h=(y=(u=S?.homePage)===null||u===void 0?void 0:u[0])!==null&&y!==void 0?y:d?.bottom_image)!==null&&h!==void 0?h:s,rec:a,item:S})),p.createElement("div",{className:W({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},p.createElement("div",{className:Ml["two-line-ellipsis"]},(x=S?.title)!==null&&x!==void 0?x:"Product Name"),p.createElement("div",{className:W({background:"rgba(0,0,0,.5)",fontSize:"10px",padding:"2px 7px",width:"auto",textAlign:"center",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"})},(A=(C=S?.bindCta)===null||C===void 0?void 0:C.enTitle)!==null&&A!==void 0?A:"Shop Now")))}))};var Nl=te(Ll);const kl=Ee(Nl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Ol,bindableProps:[]},defaulSetting:{props:{},style:{padding:"7px",display:"flex",background:"rgba(0,0,0,.3)",borderRadius:"3px"}},w:100,h:40,sort:3});var Rl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Fl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Bl=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:r,bottom_image:s}=t,c=ge(t,["content","style","bgImg","recData","onClick","bottom_image"]);const{ctaEvent:d,setPopupDetailData:v,sxpParameter:f}=Z(),[m,w]=G((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),g=tt(S=>{d?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,S),v?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:S})})),r?.()},1200);return p.createElement(ut,null,m?.map(S=>{var u,y,h,x,C,A;return p.createElement(Ce,Object.assign({hidden:a&&!S?.bindCta,key:S?.itemId,className:W(Object.assign(Object.assign({},o),{maxWidth:"260px",width:"100%",flexShrink:0,padding:"4px",background:"rgba(255,255,255,0.75)"}))},c,{onClick:()=>g(S)}),p.createElement("div",{className:W({width:"78px",height:"78px",marginRight:"16px",borderRadius:"8px",overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"})},p.createElement(Rt,{src:(h=(y=(u=S?.homePage)===null||u===void 0?void 0:u[0])!==null&&y!==void 0?y:f?.bottom_image)!==null&&h!==void 0?h:s,rec:a,item:S})),p.createElement("div",{className:W({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},p.createElement("div",{className:Fl["tow-line-ellipsis"]},(x=S?.title)!==null&&x!==void 0?x:"Product Name"),p.createElement("div",{className:W({fontSize:"13px",fontWeight:"bold",textOverflow:"ellipsis",overflow:"hidden",width:"fit-content",maxWidth:"100%",whiteSpace:"nowrap",textDecoration:"underline",color:"#000"})},(A=(C=S?.bindCta)===null||C===void 0?void 0:C.enTitle)!==null&&A!==void 0?A:"Shop now")))}))};var zl=te(Bl);const jl=Ee(zl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Rl,bindableProps:[]},defaulSetting:{props:{},style:{padding:"7px",display:"flex",background:"#fff",borderRadius:"3px"}},w:100,h:40,sort:4});var Ti=Object.freeze({__proto__:null,Appoint:dl,AppointForm:nn,Commodity:ll,CommodityDetail:Fo,CommodityDetailDiro:Xo,CommodityDetailDiroNew:Zo,CommodityDiro:wl,CommodityDiroNew:Tl,Link:pl,MultiCommodity:kl,MultiCommodityDiro:Dl,MultiCommodityDiroNew:jl,Prompt:Vo});const $l="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Gl="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Vl=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o}=t,l=ge(t,["active","activeIcon","unActicveIcon","recData"]);const{mutateLike:a,mutateUnlike:r,bffEventReport:s}=Z(),[c,d]=G(e),v=ze(Gl),f=ze($l),m=gt(()=>ye(void 0,void 0,void 0,function*(){var w,g,S,u,y,h,x,C,A,L,T,I,E,D,b,P,O,M,_,B;if(c){d(!1);const N=(S=yield r?.({videoItemId:(g=(w=o.video)===null||w===void 0?void 0:w.itemId)!==null&&g!==void 0?g:""}))!==null&&S!==void 0?S:!1;s?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(y=(u=o.video)===null||u===void 0?void 0:u.itemId)!==null&&y!==void 0?y:"",contentName:(x=(h=o.video)===null||h===void 0?void 0:h.title)!==null&&x!==void 0?x:"",contentTags:JSON.stringify((A=(C=o.video)===null||C===void 0?void 0:C.tags)!==null&&A!==void 0?A:[]),position:o.position,contentFormat:!((L=o.video)===null||L===void 0)&&L.url?"video":"image",traceInfo:(T=o.video)===null||T===void 0?void 0:T.traceInfo}}),N||d(!0)}else{d(!0);const N=(I=yield a?.({content:JSON.stringify(o)}))!==null&&I!==void 0?I:!1;s?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(D=(E=o.video)===null||E===void 0?void 0:E.itemId)!==null&&D!==void 0?D:"",contentName:(P=(b=o.video)===null||b===void 0?void 0:b.title)!==null&&P!==void 0?P:"",contentTags:JSON.stringify((M=(O=o.video)===null||O===void 0?void 0:O.tags)!==null&&M!==void 0?M:[]),position:o.position,contentFormat:!((_=o.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(B=o.video)===null||B===void 0?void 0:B.traceInfo}}),N||d(!1)}}),200);return p.createElement("button",Object.assign({},l,{onClick:m}),p.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||v:n||f,alt:"icon"}))};var Hl=te(Vl);const Ue=new Ni;var Le;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Le||(Le={}));const Ul=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l})=>{const[a,r]=G(!1),s=Q(null),{bffEventReport:c,sxpParameter:d,waterFallData:v,openHashtag:f}=Z(),m=Q(0),[w,g]=G(!1),{isActive:S}=bi();q(()=>{s.current&&(s.current.muted=o)},[o]);const u=le(()=>{var T;(T=s.current)===null||T===void 0||T.play()},[]),y=ze("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),h=le(()=>{var T,I,E,D,b,P,O,M,_,B,N,F,V;r(!1);const U=n[e];if(U&&w&&(!((T=s?.current)===null||T===void 0)&&T.duration)){m.current=((I=s?.current)===null||I===void 0?void 0:I.currentTime)||0;const J=((D=(E=s.current)===null||E===void 0?void 0:E.duration)!==null&&D!==void 0?D:0).toFixed(2),R=((P=(b=s.current)===null||b===void 0?void 0:b.currentTime)!==null&&P!==void 0?P:0).toFixed(2);c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(M=(O=U.video)===null||O===void 0?void 0:O.itemId)!==null&&M!==void 0?M:"",contentName:(B=(_=U.video)===null||_===void 0?void 0:_.title)!==null&&B!==void 0?B:"",playType:"1",startTime:R,videoDuration:J,contentTags:JSON.stringify((F=(N=U.video)===null||N===void 0?void 0:N.tags)!==null&&F!==void 0?F:[]),position:U.position,contentFormat:"video",traceInfo:(V=U.video)===null||V===void 0?void 0:V.traceInfo}})}w||g(!0)},[c,n,e,w]),x=le(()=>{var T,I,E,D,b,P,O,M,_,B,N,F,V;const U=n[e];if(U&&!w&&(!((T=s?.current)===null||T===void 0)&&T.duration)){m.current=((I=s?.current)===null||I===void 0?void 0:I.currentTime)||0;const J=((D=(E=s.current)===null||E===void 0?void 0:E.duration)!==null&&D!==void 0?D:0).toFixed(2),R=((P=(b=s.current)===null||b===void 0?void 0:b.currentTime)!==null&&P!==void 0?P:0).toFixed(2);c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(M=(O=U.video)===null||O===void 0?void 0:O.itemId)!==null&&M!==void 0?M:"",contentName:(B=(_=U.video)===null||_===void 0?void 0:_.title)!==null&&B!==void 0?B:"",playType:"0",startTime:R,videoDuration:J,contentTags:JSON.stringify((F=(N=U.video)===null||N===void 0?void 0:N.tags)!==null&&F!==void 0?F:[]),position:U.position,contentFormat:"video",traceInfo:(V=U.video)===null||V===void 0?void 0:V.traceInfo}})}setTimeout(()=>{var J;(J=s.current)===null||J===void 0||J.play()},0)},[e,c,n,w]),C=le(T=>()=>{var I,E,D,b,P,O,M,_,B;if(!w)return;n[e],((E=(I=s.current)===null||I===void 0?void 0:I.duration)!==null&&E!==void 0?E:0).toFixed(2),((b=(D=s.current)===null||D===void 0?void 0:D.currentTime)!==null&&b!==void 0?b:0).toFixed(2);const N=(P=s.current)===null||P===void 0?void 0:P.paused;switch(T){case"start":if(!N)return;(O=s.current)===null||O===void 0||O.play(),r(!1);break;case"pause":if(N)return;(M=s.current)===null||M===void 0||M.pause(),r(!0);break;default:N?(_=s.current)===null||_===void 0||_.play():(B=s.current)===null||B===void 0||B.pause(),r(!N);break}},[n,e,w]),A=le(()=>{var T,I,E,D,b,P,O,M,_,B,N,F,V;const U=n[e],J=((I=(T=s.current)===null||T===void 0?void 0:T.duration)!==null&&I!==void 0?I:0).toFixed(2),R=((D=(E=s.current)===null||E===void 0?void 0:E.currentTime)!==null&&D!==void 0?D:0).toFixed(2);if(!((b=s?.current)===null||b===void 0)&&b.duration){const ae=(((P=s?.current)===null||P===void 0?void 0:P.currentTime)-m.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(M=(O=U.video)===null||O===void 0?void 0:O.itemId)!==null&&M!==void 0?M:"",contentName:(B=(_=U.video)===null||_===void 0?void 0:_.title)!==null&&B!==void 0?B:"",endTime:R,videoDuration:J,playDuration:ae,contentTags:JSON.stringify((F=(N=U.video)===null||N===void 0?void 0:N.tags)!==null&&F!==void 0?F:[]),position:U.position,contentFormat:"video",traceInfo:(V=U.video)===null||V===void 0?void 0:V.traceInfo}})}},[n,e,c]);q(()=>{var T,I,E;if(!(n.length<=0)&&s.current){if(r(!1),!S){(T=s.current)===null||T===void 0||T.pause();return}if(s.current.src)s.current.play();else{const D=t.video.url;s.current.src=D,s.current.setAttribute("x5-playsinline","true"),s.current.setAttribute("webkit-playsinline","true")}return(I=s.current)===null||I===void 0||I.addEventListener("canplay",x),(E=s.current)===null||E===void 0||E.addEventListener("playing",h),()=>{var D,b;(D=s.current)===null||D===void 0||D.removeEventListener("canplay",x),(b=s.current)===null||b===void 0||b.removeEventListener("playing",h)}}},[n,x,h,S,w,t.video]),q(()=>{var T,I,E;const D=(T=s.current)===null||T===void 0?void 0:T.paused;S&&(!D&&f?(I=s.current)===null||I===void 0||I.pause():f||(E=s.current)===null||E===void 0||E.play())},[f,S]),q(()=>{if(!S)return;const T=C("start"),I=C("pause");return Ue.on(Le.PAGE_DID_SHOW,T),Ue.on(Le.PAGE_DID_HIDE,I),()=>{Ue.off(Le.PAGE_DID_SHOW,T),Ue.off(Le.PAGE_DID_HIDE,I)}},[C,S]);const L=oe(()=>d?.placeholder_image?p.createElement("img",{hidden:w,style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:d?.placeholder_image}):null,[w,d?.placeholder_image]);return q(()=>{const T=()=>{var I,E;l===e&&(!((I=t?.video)===null||I===void 0)&&I.url)&&(!((E=s?.current)===null||E===void 0)&&E.src)&&!a&&C("pause")()};return window.addEventListener("beforeunload",T),()=>{window.removeEventListener("beforeunload",T)}},[l,e,t,s,C,a]),t.video?p.createElement("div",{className:"video-container",key:t.video.itemId,onClick:C(),style:{position:"relative",width:"100%",height:i}},p.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:s,poster:d?.placeholder_image,muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:A,onEnded:u}),L,p.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:y})):null};var Wl=te(Ul);const Xl=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,a]=G(t),r=s=>{s.stopPropagation();const c=!l;a(c),n?.(c)};return p.createElement("button",{style:o,className:"pb-toggle-button",onClick:r},p.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var Yl=te(Xl);const Ql=({imageUrl:t})=>{const[e,i]=G(!0);Be(),q(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=ze("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=oe(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return p.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},p.createElement("img",{src:t||n}))},ql=t=>{const{src:e,height:i,width:n}=t,o=Q(null),{sxpParameter:l}=Z();return p.createElement("div",{style:{overflow:"hidden",height:i,width:"100%",position:"relative"}},p.createElement("img",{ref:o,loading:"lazy",src:e??l?.placeholder_image,style:{height:"100%",width:"100%",objectFit:"cover"}}))},Jl=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:a})=>{const{isActive:r}=bi(),{sxpParameter:s,openHashtag:c}=Z();return q(()=>{r&&(c?l(n):a(o))},[n,r,l,c,o,a]),r?p.createElement(Me,{defaultValue:0,direction:"horizontal",modules:[Je,Ke],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:3e3}},t?.map(d=>p.createElement(Ce,{key:d},p.createElement(ql,{src:d,width:e,height:i})))):p.createElement("img",{src:s?.placeholder_image,style:{width:e,height:i,objectFit:"cover"}})};var Kl=te(Jl);const Zl=({data:t,height:e,width:i,viewTime:n,tipText:o})=>{var l,a;const r=t?.product,s=(l=t?.product)===null||l===void 0?void 0:l.bindCta,[c,d]=G(!1),{jumpToWeb:v}=$e(),f=oe(()=>{var w,g,S,u,y;return r?.currency&&r?.price?`${(S=(g=(w=r?.currency)===null||w===void 0?void 0:w.split("-")[1])===null||g===void 0?void 0:g.toUpperCase())!==null&&S!==void 0?S:""}${(y=(u=r?.price)===null||u===void 0?void 0:u.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&y!==void 0?y:""}`:"$7,000"},[r?.price,r?.currency]),m=w=>{w&&(v(t,r,s),window.location.href=window.getJointUtmLink(w))};return p.createElement("div",{style:{height:e,width:"100%"}},p.createElement(Me,{height:e*.5,modules:[Je,Ke],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},loop:!0,autoplay:{delay:3e3}},(a=r?.homePage)===null||a===void 0?void 0:a.map(w=>p.createElement(Ce,{key:w},p.createElement("div",{style:{overflow:"hidden",width:i,height:e*.5}},p.createElement("img",{src:w,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),p.createElement("div",{className:"product-info"},p.createElement("div",{className:"collection"},r?.collection),p.createElement("div",{className:"title"},r?.title),p.createElement("div",{className:"price"},f),p.createElement(kt,{foldText:o?.foldText,unfoldText:o?.unfoldText,onClick:()=>d(!0),className:"info",text:r?.info||"",maxStr:79}),p.createElement("a",{target:"_blank",className:"pb-modal-btn",onClick:()=>m(r?.link)},s?.enTitle)),p.createElement(ct,{visible:c,onClose:()=>d(!1)},p.createElement("div",{className:"modal-collection"},r?.collection),p.createElement("div",{className:"modal-title"},r?.title),p.createElement("div",{className:"modal-price"},f),p.createElement("div",{className:"modal-info"},r?.info),r?.link&&p.createElement("a",{target:"_blank",className:"pb-modal-btn",onClick:()=>m(r?.link)},s?.enTitle)))};var xi=p.memo(Zl);const es=({tags:t,itemId:e,itemType:i,index:n,rec:o})=>{const[l,a]=G(!1),{setWaterFallData:r,setOpenHashtag:s,setCacheRtcList:c,setCacheActiveIndex:d,waterFallData:v,setIsFromHashtag:f}=Z(),m=w=>{v?f?.(!0):d?.(n),r?.(i?{hashTag:w,itemId:e,itemType:i,rec:o}:{hashTag:w,rec:o}),s?.(!0)};return oe(()=>t.length<=6?null:p.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>a(!l)},l?"show less":"show more"),[l,t]),p.createElement("div",{className:"clc-sxp-bottom-hashtag"},p.createElement(ut,null,t?.map((w,g)=>p.createElement(Ce,{key:g,hidden:l?!1:g>=6,className:"clc-sxp-bottom-hashtag-item",onClick:()=>m(w)},`#${w}`))))};var ts=te(es);const is=({icon:t,styles:e,onClose:i})=>{const{waterFallData:n,setOpenHashtag:o}=Z();return p.createElement("div",{className:"clc-sxp-nav",style:e},p.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:i}),p.createElement("div",{className:"clc-sxp-nav-title"},`#${n?.hashTag}`))};var Ci=te(is),ns="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 _i(t){return te(function(e){const{$store:i}=Gi(),n=l=>{let a=l;const r=l.match(/{{.*?}}/g);return r?.length&&r.forEach(s=>{s.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const v=jt(i,d);return a=a.replace(s,v),v}})}),a},o=oe(()=>{var l,a,r;const{bindDatas:s}=e,c=ge(e,["bindDatas"]);if((l=s?.forEach)===null||l===void 0||l.call(s,d=>{if(d?.propKey&&d?.dataPath){const{propKey:v,dataPath:f}=d;f.replace(/{{\s*([\w.]+)\s*}}/g,(m,w)=>{var g,S;if(w){const u=(S=(g=jt(i,w))!==null&&g!==void 0?g:e[v])!==null&&S!==void 0?S:"";return c[v]=u,u}})}}),c){c.eventMap={};const d=Xe(c.event)||{};for(const v in d)if(Object.prototype.hasOwnProperty.call(d,v))try{d[v].value=n(d[v].value),c.eventMap[v]=new Function(d[v].value)}catch{}}return!((r=(a=c?.event)===null||a===void 0?void 0:a.onClick)===null||r===void 0)&&r.linkType&&(c.style.cursor="pointer"),c},[i,e]);return p.createElement(t,Object.assign({},o,o.eventMap))})}const os=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Be(),l=oe(()=>{var a,r,s,c,d,v,f,m,w,g,S,u,y,h,x,C,A,L,T,I,E,D,b,P,O,M,_;if(!t?.video)return null;let B=null;!((r=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||r===void 0)&&r.length?B="\u591A\u5546\u54C1CTA":!((s=t?.video)===null||s===void 0)&&s.bindProduct?B="\u5546\u54C1CTA":B=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const N=i?.[B];if(((v=N?.item)===null||v===void 0?void 0:v.type)==="CommodityDiro"&&!(!((f=t?.video)===null||f===void 0)&&f.bindProduct)||((m=N?.item)===null||m===void 0?void 0:m.type)==="Commodity"&&!(!((w=t?.video)===null||w===void 0)&&w.bindProduct)||((g=N?.item)===null||g===void 0?void 0:g.type)==="CommodityDiroNew"&&!(!((S=t?.video)===null||S===void 0)&&S.bindProduct)||((u=N?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((h=(y=t?.video)===null||y===void 0?void 0:y.bindProducts)===null||h===void 0)&&h.length)||((x=N?.item)===null||x===void 0?void 0:x.type)==="MultiCommodityDiro"&&!(!((A=(C=t?.video)===null||C===void 0?void 0:C.bindProducts)===null||A===void 0)&&A.length)||((L=N?.item)===null||L===void 0?void 0:L.type)==="MultiCommodityDiroNew"&&!(!((I=(T=t?.video)===null||T===void 0?void 0:T.bindProducts)===null||I===void 0)&&I.length))return null;if(N&&n){const F=_i(n[(E=N?.item)===null||E===void 0?void 0:E.type]);return p.createElement(F,Object.assign({style:Object.assign(Object.assign({},(D=N?.item)===null||D===void 0?void 0:D.style),{zIndex:50,marginLeft:"20px"}),textStyle:(b=N?.item)===null||b===void 0?void 0:b.textStyle,bindDatas:(O=(P=N?.item)===null||P===void 0?void 0:P.bindDatas)!==null&&O!==void 0?O:[]},(M=N?.item)===null||M===void 0?void 0:M.props,{event:((_=N?.item)===null||_===void 0?void 0:_.event)||{},schema:o,id:N?.id,key:N?.id,recData:t}))}else return null},[t,n,i,o]);return p.createElement(p.Fragment,null,l)};var ls=te(os);const ss=t=>{const{rec:e,index:i,list:n,reportTagsView:o}=t,{swiperRef:l,setRtcList:a,setOpenHashtag:r,bffEventReport:s,sxpParameter:c}=Z(),[d,v]=G(!1),f=Q(null),m=Q(null),w=Q(null),[g,S]=G(""),u=oe(()=>{var A,L,T,I,E,D,b,P,O,M,_,B;return!((A=e?.video)===null||A===void 0)&&A.cover?(L=e?.video)===null||L===void 0?void 0:L.cover:!((T=e?.video)===null||T===void 0)&&T.url?(v(!0),(I=e?.video)===null||I===void 0?void 0:I.url):!((D=(E=e?.video)===null||E===void 0?void 0:E.imgUrls)===null||D===void 0)&&D.length?(P=(b=e?.video)===null||b===void 0?void 0:b.imgUrls)===null||P===void 0?void 0:P[0]:!((M=(O=e?.product)===null||O===void 0?void 0:O.homePage)===null||M===void 0)&&M.length?(B=(_=e?.product)===null||_===void 0?void 0:_.homePage)===null||B===void 0?void 0:B[0]:c?.bottom_image||""},[e,c?.bottom_image]),y=oe(()=>{var A,L;return((A=e?.product)===null||A===void 0?void 0:A.title)||((L=e?.video)===null||L===void 0?void 0:L.title)||null},[e]),h=oe(()=>{var A,L,T,I,E,D,b,P,O;return!((A=e?.product)===null||A===void 0)&&A.currency&&(!((L=e?.product)===null||L===void 0)&&L.price)?`${(D=(E=(I=(T=e?.product)===null||T===void 0?void 0:T.currency)===null||I===void 0?void 0:I.split("-")[1])===null||E===void 0?void 0:E.toUpperCase())!==null&&D!==void 0?D:""}${(O=(P=(b=e?.product)===null||b===void 0?void 0:b.price)===null||P===void 0?void 0:P.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&O!==void 0?O:""}`:null},[e]);q(()=>{const A=new IntersectionObserver(L=>{L.forEach(T=>{if(T.isIntersecting){if(f.current===null||u==="")return;d&&g?f.current.src=g:f.current.src=u,A.unobserve(f.current)}})});return A.observe(f.current),()=>{A.disconnect()}},[u,d,g]);const x=(A,L,T)=>{const I=A/L;return T/I};q(()=>{const A=m?.current;A===null||u===""||!d||(A.src=u,A.currentTime=1,A.crossOrigin="anonymous",A.onloadeddata=()=>{const L=w?.current;if(!L)return;const T=L.getContext("2d"),I=window?.innerWidth/2,E=x(A.videoWidth,A.videoHeight,I);L.height=E,L.width=I,T?.drawImage(A,0,0,L.width,L.height),S(L.toDataURL()),A.remove(),L.remove()})},[u,d]);const C=()=>{o(),a?.(n),setTimeout(()=>{var A;(A=l?.current)===null||A===void 0||A.swiper.slideTo(i,0,!1),r?.(!1)},0)};return p.createElement("div",{className:"list-content-listItem",key:i,onClick:C},p.createElement("div",{className:"list-content-listItem-picture"},d&&p.createElement("div",{style:{display:"none"}},p.createElement("video",{ref:m,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),p.createElement("canvas",{ref:w})),p.createElement("img",{className:"list-content-listItem-picture-img",loading:"lazy",ref:f})),p.createElement("div",{className:"list-content-listItem-info"},p.createElement("div",{className:`list-content-listItem-info-title ${h?"list-content-listItem-info-nowrap":""}`},y&&y),p.createElement("div",{className:"list-content-listItem-info-price",hidden:!h},h)))};function rs({reportTagsView:t}){var e,i,n,o,l,a;const{waterFallData:r,getRecommendVideos:s,hashTagSize:c,loadingImage:d}=Z(),[v,f]=G(),[m,w]=G(),[g,S]=G(!1),u=Q(null),[y,h]=G(!1);le(()=>{y||(h(!0),r&&s?.({hashTag:r?.hashTag,"itemFilter.itemId":r?.itemId,"itemFilter.itemType":r?.itemType}).then(C=>{var A;f(v?.concat((A=C?.recList)!==null&&A!==void 0?A:[])),h(!1)}))},[r,s,v,y]),q(()=>{S(!0),r&&s?.({hashTag:r?.hashTag,"itemFilter.itemId":r?.itemId,"itemFilter.itemType":r?.itemType,defaultSize:c}).then(C=>{var A,L;w(C),f((L=(A=C?.recList)===null||A===void 0?void 0:A.filter(T=>T?.video!==null||T?.product!==null))!==null&&L!==void 0?L:[]),S(!1)})},[r,s,c]);const x=()=>{var C,A;!((C=m?.tag)===null||C===void 0)&&C.link&&(t(),window.location.href=(A=m?.tag)===null||A===void 0?void 0:A.link)};return p.createElement(p.Fragment,null,g?p.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},p.createElement("img",{width:64,height:64,src:d,alt:"loading...",style:{objectFit:"contain"}})):p.createElement("div",{className:"list"},p.createElement("div",{className:"list-scroll",ref:u,style:{bottom:!((e=m?.tag)===null||e===void 0)&&e.link?"100px":0}},p.createElement("div",{className:"list-info"},(i=m?.tag)===null||i===void 0?void 0:i.info),p.createElement("div",{hidden:!(!((n=m?.tag)===null||n===void 0)&&n.link),className:"list-collection",onClick:x},((o=m?.tag)===null||o===void 0?void 0:o.linkTitle)||"Shop the collection"),p.createElement("div",{className:"list-content"},v?.map((C,A)=>p.createElement(ss,{key:A,index:A,rec:C,list:v,reportTagsView:t}))),p.createElement("div",{hidden:!y,style:{textAlign:"center"}},"loading...")),p.createElement("div",{className:"list-bottom",hidden:!(!((l=m?.tag)===null||l===void 0)&&l.link)},p.createElement("button",{className:"list-bottom-btn",onClick:x},((a=m?.tag)===null||a===void 0?void 0:a.linkTitle)||"Shop the collection"))))}var as="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const ds=()=>{const{waterFallData:t,setOpenHashtag:e,openHashtag:i,swiperRef:n,setWaterFallData:o,cacheRtcList:l,setRtcList:a,cacheActiveIndex:r,rtcList:s,setCacheRtcList:c,setIsFromHashtag:d,isFromHashtag:v,bffEventReport:f}=Z();Q(null);const m=Q(null),[w,g]=G();q(()=>{const x=document.getElementById("sxp-render"),C=document.getElementById("water-fall");C?m.current=C:(m.current=document.createElement("div"),m.current.setAttribute("id","water-fall"),x?.appendChild(m.current))},[]);const S=()=>{const x=zt(s,l);!x&&l&&l?.length&&a?.(l),h(),o?.(void 0),d?.(!1),setTimeout(()=>{var C,A;x||(A=(C=n?.current)===null||C===void 0?void 0:C.swiper)===null||A===void 0||A.slideTo(r,0,!1),e?.(!1)},0)},[u,y]=G();q(()=>{t&&y(t)},[t]);const h=le(()=>{var x,C,A,L,T,I;const E=u?.rec;if(!E)return;let D="";v?D="hashTagPage":!((x=E?.video)===null||x===void 0)&&x.url?D="videoPage":!((A=(C=E?.video)===null||C===void 0?void 0:C.imgUrls)===null||A===void 0)&&A.length&&(D="imagePage"),f?.({eventInfo:{relatedContentId:(L=E?.video)===null||L===void 0?void 0:L.itemId,position:E?.position,contentTags:JSON.stringify((T=E?.video)===null||T===void 0?void 0:T.tags),traceInfo:JSON.stringify((I=E?.video)===null||I===void 0?void 0:I.traceInfo),hashTags:JSON.stringify([u?.hashTag]),fromKName:D,fromKPage:location?.href,timeOnSite:Math.floor((new Date-w)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[u,f,w,v]);return q(()=>{i&&g(new Date)},[i]),q(()=>{const x=()=>{g(new Date)};return window.addEventListener("pageshow",x),()=>{window.removeEventListener("pageshow",x)}},[]),m.current?Gt.createPortal(p.createElement("div",{className:"waterfall",style:{display:i?"block":"none"}},p.createElement(Ci,{icon:as,styles:{top:"32px"},onClose:S}),p.createElement(rs,{reportTagsView:h})),m.current):null};var cs=te(ds);const Ii=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:a=[],ctaType:r,tipText:s,_schema:c})=>{var d,v,f,m;Be();const[w,g]=G(0),S=Q(0),[u,y]=G(!1),[h,x]=G(!0),C=Q(),A=Q(),[L,T]=G(!1),{loadVideos:I,bffEventReport:E,loading:D,setPopupDetailData:b,ctaEvent:P,swiperRef:O,waterFallData:M,setOpenHashtag:_,appDomain:B,openHashtag:N,loadingImage:F,isFromHashtag:V,popupDetailData:U}=Z(),{productView:J}=$e(),R=oe(()=>a.length>0&&!D,[a,D]),ae=le(()=>{if(a.length<=0)return;j();const k=location.search.slice(1),H=$t.parse(k.replace(/\+/g,"%2B"));for(const X in H)H[X]=H[X].replace(/%2B/g,"+");const $=X=>{var ne;return(ne=H[X])!==null&&ne!==void 0?ne:""};E?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:$("utm_source"),utmMedium:$("utm_medium"),utmCampaign:$("utm_campaign"),utmId:$("utm_id"),utmContent:$("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),y(!0)},[E,a.length]),j=()=>{C.current=new Date,A.current=new Date,Hi()};q(()=>{u||ae()},[ae,u]),q(()=>{var k;const H=a?.findIndex($=>{var X,ne,se,re,ee,ce,he,ke,Re;return r==="\u591A\u5546\u54C1CTA"?((X=$?.video)===null||X===void 0?void 0:X.bindProducts)&&((se=(ne=$?.video)===null||ne===void 0?void 0:ne.bindProducts)===null||se===void 0?void 0:se.length)>0:r==="\u5546\u54C1CTA"?(re=$?.video)===null||re===void 0?void 0:re.bindProduct:((ce=(ee=$?.video)===null||ee===void 0?void 0:ee.bindCta)===null||ce===void 0?void 0:ce.itemId)===r&&(((he=$?.video)===null||he===void 0?void 0:he.url)||((Re=(ke=$?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||Re===void 0?void 0:Re.length))})||0;(k=O?.current)===null||k===void 0||k.swiper.slideTo(H)},[r,O]),q(()=>{const k=a?.[w],H=()=>{var $,X,ne,se,re,ee,ce,he,ke,Re,vt,pt,ft,mt,ht;if(document.visibilityState==="hidden"){Ue.emit(Le.PAGE_DID_HIDE,k),Y(k),pe(k);let Fe="";U&&(!((X=($=k?.video)===null||$===void 0?void 0:$.bindProducts)===null||X===void 0)&&X.length||!((ne=k?.video)===null||ne===void 0)&&ne.bindProduct)?Fe="pdpPage":U&&o?.[(ee=(re=(se=k.video)===null||se===void 0?void 0:se.bindCta)===null||re===void 0?void 0:re.itemId)!==null&&ee!==void 0?ee:""].item.type==="Appoint"?Fe="formPage":V?Fe="hashTagPage":!((ce=k?.video)===null||ce===void 0)&&ce.url?Fe="videoPage":!((he=k?.video)===null||he===void 0)&&he.imgUrls&&(!((Re=(ke=k?.video)===null||ke===void 0?void 0:ke.imgUrls)===null||Re===void 0)&&Re.length)?Fe="imagePage":k?.product&&(Fe="productPage"),E?.({eventInfo:{sessionDuration:Math.floor((new Date-C.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",relatedContentId:(vt=k?.video)===null||vt===void 0?void 0:vt.itemId,relatedProductId:(pt=k?.product)===null||pt===void 0?void 0:pt.itemId,position:k?.position,fromKName:Fe,fromKPage:location?.href,relatedCtatId:(ht=(mt=(ft=k.video)===null||ft===void 0?void 0:ft.bindCta)===null||mt===void 0?void 0:mt.itemId)!==null&&ht!==void 0?ht:""}})}else document.visibilityState==="visible"&&(ae(),me(w),Ue.emit(Le.PAGE_DID_SHOW,k))};return document.addEventListener("visibilitychange",H),()=>{document.removeEventListener("visibilitychange",H)}},[w,E,C,a,ae,U,V,o]);const z=oe(()=>t?.logoUrl&&t?.isShowLogo?i-45:i,[t,i]),K=oe(()=>t?.logoUrl&&t?.isShowLogo?p.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},p.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),ue=le((k,H)=>{var $,X;if(!(($=k.video)===null||$===void 0)&&$.url)return p.createElement(Wl,{rec:k,index:H,muted:h,data:a,height:z,activeIndex:w});if(!((X=k.video)===null||X===void 0)&&X.imgUrls)return p.createElement(Kl,{key:k.video.itemId,imgUrls:k.video.imgUrls,width:n,height:z,rec:k,index:H,onReportViewImageEnd:Y,onViewImageStartEvent:me});if(k.product)switch(t?.productPost){case"CommodityDetailDiroNew":return p.createElement(Ei,{key:k.product.itemId,viewTime:A.current,rec:k,isPost:!0,tipText:s,style:{height:"100%",overflow:"auto"}});case"CommodityDetail":return p.createElement(xi,{key:k.product.itemId,viewTime:A.current,data:k,height:z,tipText:s,width:n});default:return p.createElement(xi,{key:k.product.itemId,viewTime:A.current,data:k,height:z,tipText:s,width:n})}return null},[n,a,z,h,w,t?.productPost,A,s]),de=le((k,H)=>{var $,X,ne,se,re,ee,ce;return k.video?p.createElement(p.Fragment,null,(($=k.video)===null||$===void 0?void 0:$.title)&&p.createElement("div",{className:"clc-sxp-bottom-shadow"}),p.createElement("div",{className:"clc-sxp-bottom"},p.createElement("div",{className:"clc-sxp-bottom-card"},p.createElement(ls,{rec:k,index:H,tempMap:o,resolver:l})),p.createElement("div",{className:"clc-sxp-bottom-text"},p.createElement(kt,{foldText:s?.foldText,unfoldText:s?.unfoldText,text:(ne=(X=k.video)===null||X===void 0?void 0:X.title)!==null&&ne!==void 0?ne:"",style:e})),p.createElement(ts,{index:w,tags:(re=(se=k?.video)===null||se===void 0?void 0:se.hashTags)!==null&&re!==void 0?re:[],itemId:(ee=k?.video)===null||ee===void 0?void 0:ee.itemId,itemType:!((ce=k.video)===null||ce===void 0)&&ce.url?"VIDEO":null,rec:k}))):null},[e,w,o,l,s]),ve=le(k=>{var H,$;if(!t?.isShowLike)return;let X=(H=t?.likeIconY)!==null&&H!==void 0?H:400;return M&&X<40&&(X+=40),k.video?p.createElement(Hl,{key:k.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:k.isCollected,recData:k,className:"clc-sxp-like-button",style:{top:X,right:($=t?.likeIconX)!==null&&$!==void 0?$:0}}):null},[t,M]),Y=k=>{var H,$,X,ne,se,re;if(!(!((H=k.video)===null||H===void 0)&&H.url)&&(!(($=k.video)===null||$===void 0)&&$.imgUrls)){const ee=Date.now(),ce=(ee-S.current)/1e3;E?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ne=(X=k.video)===null||X===void 0?void 0:X.itemId)!==null&&ne!==void 0?ne:"",contentName:(se=k.video.title)!==null&&se!==void 0?se:"",imageEndTime:`${ee}`,playDuration:`${ce}`,contentTags:JSON.stringify((re=k.video.tags)!==null&&re!==void 0?re:[]),position:k.position,contentFormat:"image",traceInfo:k.video.traceInfo}})}},ie=k=>{var H,$,X,ne,se,re,ee,ce;A.current=new Date;const he=a[k.previousIndex];he&&(k.previousIndex-k.activeIndex<0?(E?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",relatedContentId:($=(H=he.video)===null||H===void 0?void 0:H.itemId)!==null&&$!==void 0?$:"",relatedProductId:(ne=(X=he.product)===null||X===void 0?void 0:X.itemId)!==null&&ne!==void 0?ne:"",requestId:null}}),Y(he)):(E?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",relatedContentId:(re=(se=he.video)===null||se===void 0?void 0:se.itemId)!==null&&re!==void 0?re:"",relatedProductId:(ce=(ee=he.product)===null||ee===void 0?void 0:ee.itemId)!==null&&ce!==void 0?ce:"",requestId:null}}),Y(he)),pe(he))},pe=k=>{var H,$,X;!(!((H=k?.video)===null||H===void 0)&&H.url)&&!(!(($=k?.video)===null||$===void 0)&&$.imgUrls)&&k?.product&&J(k,k.product,(X=k?.product)===null||X===void 0?void 0:X.bindCta,A.current)},me=k=>{var H,$,X,ne,se,re;const ee=a[k];if(!(!((H=ee?.video)===null||H===void 0)&&H.url)&&(!(($=ee?.video)===null||$===void 0)&&$.imgUrls)){const ce=Date.now();S.current=ce,E?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ne=(X=ee.video)===null||X===void 0?void 0:X.itemId)!==null&&ne!==void 0?ne:"",contentName:(se=ee.video.title)!==null&&se!==void 0?se:"",imageStartTime:`${ce}`,contentTags:JSON.stringify((re=ee.video.tags)!==null&&re!==void 0?re:[]),position:ee.position,contentFormat:"image",traceInfo:ee.video.traceInfo}})}},fe=oe(()=>{const k=a?.map((H,$)=>w===$||$-1===w||$+1===w?H:null);return M?k:k.concat([{loading:!0}])},[a,w,M]),Ne=oe(()=>D?p.createElement("div",{style:{height:z,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},p.createElement("img",{width:64,height:64,src:F,alt:"loading...",style:{objectFit:"contain"}})):fe?.map((k,H)=>p.createElement(Ce,{key:H,virtualIndex:H},k&&p.createElement(p.Fragment,null,k?.loading?p.createElement("div",{style:{height:z,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},p.createElement("img",{width:64,height:64,src:F,alt:"loading...",style:{objectFit:"contain"}})):p.createElement(p.Fragment,null,ue(k,H),de(k,H),ve(k))))),[n,a,z,D,de,ue,fe,F]),Pe=ze("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),We=ze("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return p.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},M&&p.createElement(Ci,{icon:ns,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{_?.(!0)}}),K,R?p.createElement(Ql,{imageUrl:t?.swipeTipIcon}):null,p.createElement(Me,{ref:O,onActiveIndexChange:k=>{g(k.activeIndex),!N&&(ie(k),!M&&k?.activeIndex+2>=a?.length&&(L||(T(!0),I?.(Math.ceil(w/10)+1).then(()=>{T(!1)}))))},direction:"vertical",height:z},p.createElement(Yl,{style:{position:"fixed",right:(d=t?.muteIconX)!==null&&d!==void 0?d:0,visibility:!((f=(v=a?.[w])===null||v===void 0?void 0:v.video)===null||f===void 0)&&f.url?"visible":"hidden",bottom:(m=t?.muteIconY)!==null&&m!==void 0?m:23,zIndex:999},defaultValue:h,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Pe,unactiveIcon:t?.muteIcon?t?.muteIcon:We,onChange:x}),Ne),p.createElement(cs,null))},us=()=>{const{schema:t,resolver:e,popup:i}=Be(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=Z(),{productView:a}=$e(),[r,s]=G(!1),c=Q(null);q(()=>{const f=()=>{c.current=new Date};return f(),window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),q(()=>{i&&i!==""&&(c.current=new Date,s(!0))},[i]);const d=()=>{var f,m,w;if(!i||i===""||!r||new Date-c.current<1200)return;s(!1);const g=o,S=(f=g?.video)===null||f===void 0?void 0:f.bindProduct,u=(w=(m=g?.video)===null||m===void 0?void 0:m.bindProduct)===null||w===void 0?void 0:w.bindCta;S&&u&&a(g,S,u,c.current),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},1200)},v=oe(()=>{var f,m,w;return(w=(m=(f=t?.sxpPageConf)===null||f===void 0?void 0:f.globalConfig)===null||m===void 0?void 0:m.popupList)===null||w===void 0?void 0:w.map((g,S)=>{var u,y,h,x,C,A,L;if(g?.id===i){const T=_i(e[(u=g?.item)===null||u===void 0?void 0:u.type]);return p.createElement(T,Object.assign({key:S,style:Object.assign(Object.assign({},(y=g?.item)===null||y===void 0?void 0:y.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:(h=g?.item)===null||h===void 0?void 0:h.textStyle,bindDatas:(C=(x=g?.item)===null||x===void 0?void 0:x.bindDatas)!==null&&C!==void 0?C:[]},(A=g?.item)===null||A===void 0?void 0:A.props,{event:((L=g?.item)===null||L===void 0?void 0:L.event)||{},schema:t,id:g?.id}))}else return p.createElement(p.Fragment,null)})},[t,i,e]);return p.createElement(ct,{visible:!!r,onClose:d,padding:0,modalStyle:{position:"fixed"}},v)},Ft={};Object.values(Ti).forEach(t=>{Ft[t.extend.type]=t});const vs=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o})=>{var l,a,r,s,c,d;const v=oe(()=>{var f;return location?.search?(f=location?.search)===null||f===void 0?void 0:f.replace("?",""):""},[]);return p.createElement(Zt,{resolver:Ft,enableDataSource:!1,schema:t?.data,utmVal:v},p.createElement(Qt,{utmVal:v,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(a=(l=t?.sxp_parameter)===null||l===void 0?void 0:l.personalized_recommend)!==null&&a!==void 0?a:e,defaultSize:(s=(r=t?.sxp_parameter)===null||r===void 0?void 0:r.default_recommend)!==null&&s!==void 0?s:i,hashTagSize:(d=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.hash_tag_size)!==null&&d!==void 0?d:n,loadingImage:o,render:({rtcList:f})=>{var m;return p.createElement(p.Fragment,null,p.createElement(Ii,Object.assign({},(m=t?.data)===null||m===void 0?void 0:m.sxpPageConf,{data:f,resolver:Ft})),p.createElement(us,null))}}))};var ps=te(vs);const Ai=Qe({}),fs=({children:t,data:e})=>{var i,n,o,l,a,r;return p.createElement(Ai.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:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.loading_image},appDomain:e?.appDomain}},t)};function ms(){return Ye(Ai)}export{fs as EditorDataProvider,ct as Modal,Qt as SxpDataSourceProvider,ps as SxpPageCore,Ii as SxpPageRender,Ji as core,$i as default,Ti as materials,ms as useEditorDataProvider};
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:D?.info}))},Ce=()=>{var j;return g.createElement(g.Fragment,null,(b||M?.link)&&g.createElement("button",{onClick:U,className:"pb-commondity-btn",style:P},(j=O?.enTitle)!==null&&j!==void 0?j:"Purchase on Website"))};return g.createElement("div",{className:"pb-commondity"},g.createElement("div",Object.assign({className:G(Object.assign({},d))},R),M&&((l=M?.homePage)===null||l===void 0?void 0:l.length)>0&&g.createElement(Ye,{height:de,modules:[Pt,_t],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:S?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:S?.delay*1e3}},(a=M?.homePage)===null||a===void 0?void 0:a.map(j=>g.createElement(_e,{key:j},g.createElement("div",{style:{overflow:"hidden",width:de,height:de}},g.createElement("img",{src:j,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),!(!((r=M?.homePage)===null||r===void 0)&&r.length)&&g.createElement("div",{className:G({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},g.createElement("img",{className:G({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(s=T?.bottom_image)!==null&&s!==void 0?s:C,alt:""})),pe({isPost:u})),Ce(),g.createElement(ht,{visible:B,onClose:()=>V(!1)},pe({isPost:!1}),Ce()))};var qo=Z($o);const Xo=be(qo,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:cn},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000"},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var Yo=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Jo=[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]}],Di="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHBJREFUeF7lmzuoFkcYhp/TihdIl0JBESubSCCCih4NXgJeUphCjyKmEEVtLRSjooWtShILRRJtgpCoeLzgLUZBQbTwAoooqLWoCWIXeZdd3bP++8/st7OX33+ac2Dn8r3Pvzv7zcy7A9RT5gDjgQnx3/T/iuA58Cz+m/7/StXhDVQ0gATOBhYCi4GxxnHeAKeAs8DfMSBjV52bhQTwBbApFj4YNMqPnV0GrgL7gJchxggFQMI3A5NDBOXRx+MYwn6Pul2rlAWwMv7VvykbiLH9TUAQjhnbYwUwA9gKLLIOHLjdGWAPcL1ovxYAG4G9wKiig1Vc/y2wBThQZJyiAA4Ba4sM0EDdw8CPvuMWAXAb+Mq344br3QGm+cTgC+B/n85aWMepz1kBOBknMy3U5wxJSdSSbrVcAPR+V9LRy0X5SW6+0A3AMuDPXlaeiv174K9OWvIAfA1cAMZ9JgBeA98Ct7J68gAMtyjJCfUbKFn6zgeA0tujoUZtWT9D2bS50x1wA2gqt6+al9YO09ODZAF8DrO+C+KIt0IagNbzIlTXktYVaKfr9+PNkSklchMtpXWHR/sJaQA7gJ8sUdXURuJ/AB7E4/0BLDeOvROQ3hEA/gFmGjusullWfDKeFcI1YFYawETgSdUqjP3niS8LYRLwNHkE1gM/GwOssplLfBkIG4BfEgBKE5dWqcTQt694da1td22YFikngGUJgH+B0UVaV1y3iHiFYpnA/wPGCICFXpX66xCfxD8oAKuA3wIpegToHW0tdYpXjKsFQLu7u60Rx+3exSCPG29HdVO3eI25TQB+BdaVAKCMSneRVpBJKfpMNiFesR4UgNOdlomeQF4AWj3quCpbfCE0JV7xDgvAXWCqp+B0tYfACkC7xXnFBaFJ8Yr5ngC8Mu78KHnS4+MqeRCaFq+4X5cB8MnmQoE7oQ3iPwCwPgJWEdZ2rjvNcj16BMpMghYxWsElS1pX0K45xNXedT2aBMu+BotCcAVlfZX69puuF70GQyRCoSFU/csnEKJEKFQqHApCXeIFIUqFQy6GykKoU7wARIuh6HVQwsmVffasEOoWLwfauASADkKU0oYqRSHULV465SsaSgAoqfk9lPq4H18ITYhXiJr7jiYAZGyUUzN0cUFoSrx0yrX6PH0ucEmTQmgCXdb5TYrX/uFcaa3rYCR7JzQpXro1vg5HRgCo+mhMEOT3/RKQYaGpkns0poD6+nA0+UX6+nhcEPreICEIfW2REQCZoc+30A9snTjlI57fyUzdzSYnU3RpP7414sDtNLl3NFG7jJK9YI52sepqnnYBUOe9ZJLOwnCapn0AqNO+NksnVHvJNO00SSeifO+ApH4vZIpdzdHZZ6QoALWXifqI8TTJNWGVua5drTV5pui8ji0A1JfM1Lta5CeWD3h7JzO0i6gVQNJv3342lwXbtx9OpkFoP0ET0LwKDZcyOF5s46ez2TtCxkt9OL0gBmJ1oMnJJcHnYo/wU9czXfR62TnAd7zWfj7/HrAAAKDnDZ8VAAAAAElFTkSuQmCC";const Qo=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}},Ko=t=>{var{content:e,btnText:i,style:n,icon:o,onClick:l}=t,a=ve(t,["content","btnText","style","icon","onClick"]);Te();const r=typeof o=="string"?o:Qo(o),s=()=>{window?.sxpPopup(""),l?.()};return g.createElement("div",Object.assign({className:`pb-prompt ${G(Object.assign({},n))}`},a),g.createElement("div",{className:"pb-prompt-icon"},g.createElement("img",{width:"100%",src:r??Di})),g.createElement("div",{className:"pb-prompt-content"},e),g.createElement("button",{className:"pb-prompt-btn",onClick:s},i))};var Zo=Z(Ko);const el=be(Zo,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Jo,bindableProps:[],interactionRender:Yo},defaulSetting:{props:{icon:Di,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var tl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}],name:["fontFamily"]},{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:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}]},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const il=t=>{var e,i,n,o,l,a,r,s,c,d,p,{style:h,isDefault:f,rec:b,viewTime:C,isPost:y,bottom_image:u,tipText:v,swiper:m,commodityStyles:S,buttonStyle:D}=t,P=ve(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle"]);H(!0);const{sxpParameter:R}=ee(),{popupDetailData:T,bffEventReport:w,isPreview:E,swiperRef:A,waterFallData:x}=ee(),{jumpToWeb:I,productView:_}=lt(),L=J(null);J(null),J(null),H(!1),H(!1),H(!0);const[B,V]=H(!1),k=J(null),M=y?b:T,O=y?M?.product:(e=M?.video)===null||e===void 0?void 0:e.bindProduct,U=y?(i=M?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=M?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,oe=()=>{O?.link&&(I(M,O,U),y||_(M,O,U,C||k.current),window.location.href=window.getJointUtmLink(O.link))};Y(()=>{const j=()=>{k.current=new Date};return j(),window.addEventListener("pageshow",j),()=>{window.removeEventListener("pageshow",j)}},[]);const de=ae(()=>{var j,z,W,ie,te;return O?.currency&&O?.price?`${(W=(z=(j=O?.currency)===null||j===void 0?void 0:j.split("-")[1])===null||z===void 0?void 0:z.toUpperCase())!==null&&W!==void 0?W:""}${(te=(ie=O?.price)===null||ie===void 0?void 0:ie.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&te!==void 0?te:""}`:"\xA3102,300.00"},[O?.price,O?.currency]),pe=E?375:window.innerWidth,Ce=({isPost:j})=>g.createElement("div",{hidden:!!O&&(!O?.info||O?.info==="")},g.createElement(Ft,{isPost:j,onClick:()=>V(!0),className:"pb-commondityDiroNew-info",style:S?.info,foldText:v?.foldText,unfoldText:v?.unfoldText,text:O?.info||`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
6
+ Made in Italy`}));return g.createElement("div",{className:"pb-commondityDiroNew"},g.createElement("div",Object.assign({ref:L,className:G(Object.assign({},h))},P),O&&((l=O?.homePage)===null||l===void 0?void 0:l.length)>0&&g.createElement(Ye,{height:pe,modules:[Pt,_t],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:m?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:m?.delay*1e3}},(a=O?.homePage)===null||a===void 0?void 0:a.map(j=>g.createElement(_e,{key:j},g.createElement("div",{style:{overflow:"hidden",width:pe,height:pe}},g.createElement("img",{src:j,style:{height:"100%",width:"100%",objectFit:"cover"}}))))),!(!((r=O?.homePage)===null||r===void 0)&&r.length)&&g.createElement("div",{className:G({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},g.createElement("img",{className:G({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(s=R?.bottom_image)!==null&&s!==void 0?s:u,alt:""})),g.createElement("div",{className:"pb-commondityDiroNew-content"},g.createElement("div",{className:"pb-commondityDiroNew-content-top"},g.createElement("div",{className:"pb-commondityDiroNew-content-top-title",style:S?.title},(c=O?.title)!==null&&c!==void 0?c:"Large Dior Toujours Bag"),g.createElement("div",{className:""},g.createElement("div",{className:"pb-commondityDiroNew-content-top-price",hidden:!!O&&!O?.price,style:S?.price},de),g.createElement("div",{className:"pb-commondityDiroNew-content-top-price",hidden:!!O&&!O?.taxInfo,style:S?.taxInfo},(d=O?.taxInfo)!==null&&d!==void 0?d:"\u7A0E\u8D39"))),g.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!O&&(!O?.collection||O?.collection===""),style:S?.collection},O?.collection||"Black Macrocannage Calfskin"),(!O||O?.link)&&g.createElement("button",{onClick:oe,className:"pb-commondityDiroNew-btn",style:D},(p=U?.enTitle)!==null&&p!==void 0?p:"Shop now"),Ce({isPost:y}))),g.createElement(ht,{visible:B,onClose:()=>V(!1)},Ce({isPost:!1})))};var nl=Z(il);const ol=be(nl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:tl},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:18},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 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"]}]},{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:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}],name:["props","ctaTempStyles","title","fontFamily"]},{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:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}],name:["props","ctaTempStyles","ctaTitle","fontFamily"]},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],ll=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];function Ai(t){const e=J(null),[i,n]=H(!1);return Y(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),Y(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const sl=t=>{var{rec:e,children:i,className:n,onClick:o,style:l}=t;ve(t,["rec","children","className","onClick","style"]);const a=J(null),r=Ai(a),{popupAni:s}=Te(),{setPopupDetailData:c,ctaEvent:d}=ee();Y(()=>{var h,f;if(r&&a?.current){const b=(f=(h=e?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&f!==void 0?f:e?.video;d?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,b)}},[r,a,e,d]);const p=at(()=>{var h,f;const b=(f=(h=e?.video)===null||h===void 0?void 0:h.bindProduct)!==null&&f!==void 0?f:e?.video;d?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,b),c?.(e),o?.()},s?.duration);return g.createElement("div",{ref:a,className:n,style:l,onClick:p},i)};var st=Z(sl),al={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const rl=t=>{var e,i,n,o,l,a,r,{content:s,style:c,bgImg:d,recData:p,bottom_image:h,ctaTempStyles:f}=t,b=ve(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles"]);const{sxpParameter:C}=ee(),y=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,u=(o=(n=(i=y?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:h;return g.createElement(st,Object.assign({rec:p,className:G(Object.assign({},c)),style:{display:"flex"}},b),g.createElement("div",{className:G(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},g.createElement("img",{className:G({width:"100%",objectFit:"cover",height:"100%"}),src:u,hidden:!u,alt:""})),g.createElement("div",{className:G({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},g.createElement("div",{className:al["tow-line-ellipsis"],style:f?.title},(l=y?.title)!==null&&l!==void 0?l:"Product Name"),g.createElement("div",{className:G(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(a=y?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var dl=Z(rl);const cl=be(dl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:ll,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)"}},w:100,h:40,sort:1});var ul=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const pl=t=>{var e,i,n,o,{content:l,style:a,bgImg:r,recData:s,bottom_image:c,ctaTempStyles:d}=t,p=ve(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles"]);const{sxpParameter:h}=ee(),f=(e=s?.video)===null||e===void 0?void 0:e.bindCta;return g.createElement(st,Object.assign({rec:s,className:G(Object.assign({alignItems:"center"},a)),style:{display:"flex"}},p),g.createElement("div",{className:G(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},d?.img))},g.createElement("img",{className:G({width:"100%",objectFit:"cover",height:"100%"}),src:(n=(i=f?.icon)!==null&&i!==void 0?i:h?.bottom_image)!==null&&n!==void 0?n:c,alt:""})),g.createElement("div",{className:G(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},d?.ctaTitle))},(o=f?.enTitle)!==null&&o!==void 0?o:"Product Name"))};var fl=Z(pl);const vl=be(fl,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ul,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)"}},w:100,h:40,sort:6});var ml={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const hl=t=>{var e,i,n,o,l,{content:a,style:r,bgImg:s,recData:c,bottom_image:d,ctaTempStyles:p}=t,h=ve(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles"]);const{sxpParameter:f,bffEventReport:b}=ee(),{jumpToWeb:C}=lt(),y=(e=c?.video)===null||e===void 0?void 0:e.bindCta,u=(i=c?.video)===null||i===void 0?void 0:i.bindProduct,v=()=>{y?.link&&(C(c,u,y),window.location.href=window.getJointUtmLink(y.link))};return g.createElement(st,Object.assign({rec:c,className:G(Object.assign({alignItems:"center"},r)),style:{display:"flex"}},h,{onClick:v}),g.createElement("div",{className:G(Object.assign({backgroundColor:"#f2f2f2",overflow:"hidden",flexShrink:0},p?.img))},g.createElement("img",{className:G({width:"100%",objectFit:"cover",height:"100%"}),src:(o=(n=y?.icon)!==null&&n!==void 0?n:f?.bottom_image)!==null&&o!==void 0?o:d,alt:""})),g.createElement("div",{className:G({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},g.createElement("div",{className:ml["tow-line-ellipsis"],style:p?.ctaTitle},(l=y?.enTitle)!==null&&l!==void 0?l:"Product Name")))};var gl=Z(hl);const bl=be(gl,{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)"}},w:100,h:40,sort:5});var yl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],wl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Tl=t=>{var e,i,n,o,l,a,r,{content:s,style:c,bgImg:d,recData:p,bottom_image:h,ctaTempStyles:f}=t,b=ve(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles"]);const{sxpParameter:C}=ee(),y=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,u=(o=(n=(i=y?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:h;return g.createElement(st,Object.assign({rec:p,className:G(Object.assign({},c)),style:{display:"flex"}},b),g.createElement("div",{className:G(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},g.createElement("img",{className:G({width:"100%",objectFit:"cover",height:"100%"}),src:u,hidden:!u,alt:""})),g.createElement("div",{className:G({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},g.createElement("div",{className:wl["tow-line-ellipsis"],style:f?.title},(l=y?.title)!==null&&l!==void 0?l:"Product Name"),g.createElement("div",{className:G(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(a=y?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop Now")))};var Sl=Z(Tl);const xl=be(Sl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:yl,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"}},w:100,h:40,sort:2});var Cl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],El={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Il=t=>{var e,i,n,o,l,a,r,{content:s,style:c,bgImg:d,recData:p,bottom_image:h,ctaTempStyles:f}=t,b=ve(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles"]);const{sxpParameter:C}=ee(),y=(e=p?.video)===null||e===void 0?void 0:e.bindProduct,u=(o=(n=(i=y?.homePage)===null||i===void 0?void 0:i[0])!==null&&n!==void 0?n:C?.bottom_image)!==null&&o!==void 0?o:h;return g.createElement(st,Object.assign({rec:p,className:G(Object.assign({},c)),style:{display:"flex"}},b),g.createElement("div",{className:G(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},f?.img))},g.createElement("img",{className:G({width:"100%",objectFit:"cover",height:"100%"}),src:u,hidden:!u,alt:""})),g.createElement("div",{className:G({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},g.createElement("div",{className:El["tow-line-ellipsis"],style:f?.title},(l=y?.title)!==null&&l!==void 0?l:"Product Name"),g.createElement("div",{className:G(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},f?.ctaTitle))},(r=(a=y?.bindCta)===null||a===void 0?void 0:a.enTitle)!==null&&r!==void 0?r:"Shop now")))};var Dl=Z(Il);const Al=be(Dl,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Cl,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)"}},w:100,h:40,sort:2});var Pl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const _l=({children:t})=>g.createElement(Ye,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Tn,wn,yn],style:{paddingRight:"20px"}},t);var gt=Z(_l);const kl=({src:t,rec:e,item:i})=>{const n=J(null),o=Ai(n),{ctaEvent:l}=ee();return Y(()=>{o&&t&&n?.current&&l?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i)},[o,t,n,e,l,i]),g.createElement("img",{ref:n,hidden:!t,className:G({width:"100%",objectFit:"cover",height:"100%"}),src:t,alt:""})};var Ht=Z(kl),Ml={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Ol=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:r,bottom_image:s,ctaTempStyles:c}=t,d=ve(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles"]);const{ctaEvent:p,setPopupDetailData:h,sxpParameter:f}=ee(),{popupAni:b}=Te(),[C,y]=H((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),u=at(v=>{p?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,v),h?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:v})})),r?.()},b?.duration);return g.createElement(gt,null,C?.map(v=>{var m,S,D,P,R,T;return g.createElement(_e,Object.assign({hidden:a&&!v?.bindCta,key:v?.itemId,className:G(Object.assign({flexShrink:0},o)),style:{display:"flex"}},d,{onClick:()=>u(v)}),g.createElement("div",{className:G(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},g.createElement(Ht,{src:(D=(S=(m=v?.homePage)===null||m===void 0?void 0:m[0])!==null&&S!==void 0?S:f?.bottom_image)!==null&&D!==void 0?D:s,rec:a,item:v})),g.createElement("div",{className:G({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},g.createElement("div",{className:Ml["two-line-ellipsis"],style:c?.title},(P=v?.title)!==null&&P!==void 0?P:"Product Name"),g.createElement("div",{className:G(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(T=(R=v?.bindCta)===null||R===void 0?void 0:R.enTitle)!==null&&T!==void 0?T:"Shop Now")))}))};var Ll=Z(Ol);const Nl=be(Ll,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Pl,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"}},w:100,h:40,sort:4});var Rl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Bl={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const jl=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:r,bottom_image:s,ctaTempStyles:c}=t,d=ve(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles"]);const{sxpParameter:p}=ee(),{ctaEvent:h,setPopupDetailData:f}=ee(),{popupAni:b}=Te(),[C,y]=H((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),u=at(v=>{h?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,v),f?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:v})})),r?.()},b?.duration);return g.createElement(gt,null,C?.map(v=>{var m,S,D,P,R,T;return g.createElement(_e,Object.assign({hidden:a&&!v?.bindCta,key:v.itemId,className:G(Object.assign({flexShrink:0},o)),style:{display:"flex"}},d,{onClick:()=>u(v)}),g.createElement("div",{className:G(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},g.createElement(Ht,{src:(D=(S=(m=v?.homePage)===null||m===void 0?void 0:m[0])!==null&&S!==void 0?S:p?.bottom_image)!==null&&D!==void 0?D:s,rec:a,item:v})),g.createElement("div",{className:G({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},g.createElement("div",{className:Bl["two-line-ellipsis"],style:c?.title},(P=v?.title)!==null&&P!==void 0?P:"Product Name"),g.createElement("div",{className:G(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(T=(R=v?.bindCta)===null||R===void 0?void 0:R.enTitle)!==null&&T!==void 0?T:"Shop Now")))}))};var zl=Z(jl);const Vl=be(zl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Rl,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)"}},w:100,h:40,sort:3});var Fl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Hl={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Ul=t=>{var e,i,{content:n,style:o,bgImg:l,recData:a,onClick:r,bottom_image:s,ctaTempStyles:c}=t,d=ve(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles"]);const{ctaEvent:p,setPopupDetailData:h,sxpParameter:f}=ee(),{popupAni:b}=Te(),[C,y]=H((i=(e=a?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),u=at(v=>{p?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},a,v),h?.(Object.assign(Object.assign({},a),{video:Object.assign(Object.assign({},a?.video),{bindProduct:v})})),r?.()},b?.duration);return g.createElement(gt,null,C?.map(v=>{var m,S,D,P,R,T;return g.createElement(_e,Object.assign({hidden:a&&!v?.bindCta,key:v?.itemId,className:G(Object.assign({flexShrink:0},o)),style:{display:"flex"}},d,{onClick:()=>u(v)}),g.createElement("div",{className:G(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},c?.img))},g.createElement(Ht,{src:(D=(S=(m=v?.homePage)===null||m===void 0?void 0:m[0])!==null&&S!==void 0?S:f?.bottom_image)!==null&&D!==void 0?D:s,rec:a,item:v})),g.createElement("div",{className:G({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},g.createElement("div",{className:Hl["tow-line-ellipsis"],style:c?.title},(P=v?.title)!==null&&P!==void 0?P:"Product Name"),g.createElement("div",{className:G(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(T=(R=v?.bindCta)===null||R===void 0?void 0:R.enTitle)!==null&&T!==void 0?T:"Shop now")))}))};var Gl=Z(Ul);const Wl=be(Gl,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Fl,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)"}},w:100,h:40,sort:4});var $l=[{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u6587\u672C\u884C\u6570",name:["props","lineClamp"]},{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}],name:["fontFamily"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:[{label:"\u9ED1\u4F53",value:"\u9ED1\u4F53"}]},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ql=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:a}=ee();return g.createElement("div",{className:"clc-sxp-nav",style:e},g.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"",onClick:n}),g.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Pi=Z(ql),Xl=null,Yl="3d989325-e7d6-4a74-8a97-98febdf5b567",Jl=null,Ql=null,Kl={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"},Zl=[{position:"0",isCollected:null,video:{itemId:"VIDEOY2BMu1710323630175",title:"A symbol of excellence, the Dior Toujours bag is reinterpreted in an unprecedented version. For the Dior spring-summer 2024 ready-to-wear collection, this exceptional accessory, dreamed up by Maria Grazia Chiuri, is dressed in irresistible crinkled leather featuring the iconic macrocannage motif. A new emblem of the virtuoso, perpetually reinvented savoir-faire of the Dior Ateliers.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOY2BMu1710323630175:default:3::branch:Handbags:0",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:0",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:0",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fswbY3wT0hCmrYkrqDzFKnHb3NMux1710323481052.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs3Ifqv7fk2Tn9nPtwOTO2YjxAuRO1710323470472.mp4",imgUrls:null,hashTags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"]},product:null,cta:null},{position:"1",isCollected:null,video:{itemId:"VIDEO6JCOb1710323364018",title:"Maria grazia chiuri's hallmark dior book tote offers an original take on elegance. Unveiled at the cruise 2024 fashion show, the refined style showcases the iconic blue dior oblique embroidery and calfskin. Designed to keep all the daily essentials organized, the interior is equipped with a zipped pocket and patch pockets.",tags:["Handbags","Manufacturing Craftsmanship","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO6JCOb1710323364018:default:3::branch:Handbags:1",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:1",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:1",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsAHlkdbqYj5F84o2faRzU1E3AvG11710323339209.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs7KIGk2IB0MsoDL1ANWB1Mb2hqu41710323314146.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"2",isCollected:null,video:null,product:{itemId:"M2820OTKVM911",title:"Large Dior Toujours Bag Black Cannage Tweed",tags:["Black","Women","Handbags","Bucket Bag","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2820OTKVM911:default:3::branch:Handbags:2",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:2",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsJTjyFchOFEJSTRYxXvL2XPU1dP61710238469418.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fstdFA1dFT55QjtQPU2qHNENo5peF1710836061716.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fs9xf8AlIApbHezVL3BsxjUGIrN231710836061181.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs9iZ20MjLAPkXmFKvD8HzhLaBJ671710238470272.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsSSodev3wicDfE1DYNWPQVeRjErt1710238464035.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fs3YAOuN6Pd9NFvH1Rdooj6eLI18S1710238465296.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240312/fsBwIEp6OzI49isvHgiKD0cPSFtrD1710238459007.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M2820OTKV_M911-large-dior-toujours-bag",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Fully embroidered with black textured tweed, it is accented by a blend of threads displaying the cannage motif. It showcases a spacious interior compartment with a matching pouch to organize the essentials, while a leather strap closure keeps items secure and the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4200,currency:"USD-$"},cta:null},{position:"3",isCollected:null,video:{itemId:"VIDEOOL1qU1709616182569",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Shoulder","Crossbody","Cross-body & Shoulder Bags","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOOL1qU1709616182569:default:3::branch:Handbags:3",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:3",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:3",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:null,url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsvbBN3IRfwctVIhdqgq3doWmhbb21710399187965.jpg"],hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"4",isCollected:null,video:null,product:{itemId:"S5909CTZQM928",title:"Saddle Shoulder Pouch Blue Dior Oblique Jacquard ",tags:["Saddle Bags","Handbags","Small-Leather-Goods","Small","Mini Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:S5909CTZQM928:default:3::branch:Handbags:4",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:4",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fs34CpwKJOyjEDgoHypoLYakF8oR31710316280669.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsLOSOEf9pmz7wKnFaifWNw3TZ7Gy1710316287874.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsWHmVcrzHKKj6EfhfnQkxYIOt20a1710316295683.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fslyBNMyQwjpjY4EKzyrqzTMlOGRQ1710316313161.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/S5909CTZQ",linkTitle:null,linkType:"WEB",info:null,price:4900,currency:"USD-$"},cta:null},{position:"5",isCollected:null,video:{itemId:"VIDEOrZguC1710324513737",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOrZguC1710324513737:default:3::branch:Handbags:5",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:5",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:5",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fstXNWStczbY8HbIKEqMwfCkv5CI51710324494939.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOqu34FxaJTdascLcj6DHoYIIAs01710324439851.mp4",imgUrls:null,hashTags:["Handbags","Dior Book Tote"]},product:null,cta:null},{position:"6",isCollected:null,video:null,product:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:6",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:6",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},cta:null},{position:"7",isCollected:null,video:{itemId:"VIDEOEtr621710300614047",title:"Unveiled at the spring-summer 2023 fashion show, the dior toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette. T",tags:["Handbags","Leather Strap","Spring-Summer 2024 Fashion Show","Backstage","Dior Toujours Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOEtr621710300614047:default:3::branch:Handbags:7",bindCta:null,bindProduct:null,bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fshkOldZwfsSqTgvxHJzNBwS66ySc1710300910103.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsryDXTtPWXjYFWoSUEBUi48RHZCh1710398617300.jpg"],hashTags:["Backstage","Handbags","Spring-Summer 2024 Fashion Show","Dior Toujours Bag"]},product:null,cta:null},{position:"8",isCollected:null,video:{itemId:"VIDEOO8Zjt1709616802987",title:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",tags:["Blue","Medium","Shoulder","Hand","Handbags","Dior Book Tote"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOO8Zjt1709616802987:default:3::branch:Handbags:8",bindCta:null,bindProduct:{itemId:"M1296ZRIWM828",title:"Medium Dior Book Tote",tags:["Maria Grazia Chiuri","Hand","Shoulder","Handbags","Blue","Women"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1296ZRIWM828:default:3::branch:Handbags:8",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:8",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fs69g46K9wPCwi5VRAP2QAgRHM0Pc1709696901624.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsAIliGV0ZJP8MNa8DECYtwsK4ker1709696900761.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsMJ4JfZ0Vhzq6H71NdIPg6YozbIz1709696897845.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240306/fsWXI06zGOmACXn9wD3EegRLkB7dg1709696911033.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"Introduced by Maria Grazia Chiuri, Creative Director of Christian Dior, the Dior Book Tote has become a staple of the Dior aesthetic. Designed to hold all the daily essentials, the style is fully embroidered with the ecru and blue Dior Oblique motif. Adorned with the Christian Dior Paris signature on the front, the medium tote exemplifies the House's signature savoir-faire and may be carried by hand or worn over the shoulder.",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsmS72zfInwmblYTnuYzRuZKAOlhr1709616742898.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsU2gDw28XFd1nOAqlUjb1r1h6mpT1710400349981.jpg"],hashTags:["Dior Book Tote","Handbags"]},product:null,cta:null},{position:"9",isCollected:null,video:null,product:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:9",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:9",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},cta:null},{position:"10",isCollected:null,video:{itemId:"VIDEOesZlV1710323980494",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOesZlV1710323980494:default:3::branch:Handbags:10",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:10",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:10",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsiwMQ88zO5Xdnl939krMyBMbz7Js1710323763013.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsxyS8nr7nn0LMe7EqOt3ETXqLu7d1710323753073.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"11",isCollected:null,video:{itemId:"VIDEOdvsXq1710324342942",title:"New for summer 2024, the lady d-sire my abcdior bag draws inspiration from the signature elegance of the lady dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal d.i.o.r. Charms that highlight the silhouette.",tags:["Summer 2024","Lady Dior","Casual","Lightweight","Medium","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOdvsXq1710324342942:default:3::branch:Handbags:11",bindCta:null,bindProduct:{itemId:"M1151OTRLM900",title:"Medium Lady D-Sire My ABCDior Bag",tags:["Handbags","Summer 2024","Lady Dior","Black","Medium","Women","Lady D-Sire"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M1151OTRLM900:default:3::branch:Handbags:11",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:11",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBvqPYhaE9Ct1JzBd4gm8g9YOiAZ1710499102900.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6sf9nB7WpJuLNIZT3c8O8Fmf3Gu1710499102936.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsSxYBxyVx2yRrUgEaYmarWhlUbk41710499102531.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsyhykK1B7W9613MAfipfIuE1foim1710499102345.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs6FXJdaXib8lP0NPloe1XQGpoiKc1710499103268.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsCRx7T4ejNvgKNensH6LT4dPt6251710499103615.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M1151OTRL_M900-medium-lady-d-sire-my-abcdior-bag-black-bull-leather?objectID=M1151OTRL_M900&query=M1151OTRLM900&queryID=e82938220687c425c75277a7c526b932",linkTitle:null,linkType:"WEB",info:"New for Summer 2024, the Lady D-Sire My ABCDior bag draws inspiration from the signature elegance of the Lady Dior design. Reimagined with a casual style for an urban look, the lightweight black grained bull leather feels soft to the touch yet offers excellent durability. The medium bag is embellished with pale gold-finish metal D.I.O.R. charms that highlight the silhouette. Showcasing a shoulder strap that can be personalized by adding symbolic badges, the unique bag can be carried by hand or w",price:6100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsOsdUSXr57U5Twhhkv17th3yHqBJ1710324292456.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsZyr3slVtlsParX6D0DqsM0QEx8d1710324283147.mp4",imgUrls:null,hashTags:["Summer 2024","Lady Dior","Handbags"]},product:null,cta:null},{position:"12",isCollected:null,video:{itemId:"VIDEOy76Fr1710324746846",title:"Maria grazia chiuri brings a fresh update to the iconic saddle bag. Crafted in black grained calfskin, the legendary design features a saddle flap with a d stirrup clasp on a magnetic strap, as well as an antique gold-finish metal cd signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the saddle bag may be carried by hand, worn over the shoulder or crossbody.. Saddle bag with strap Black grained calfskin",tags:["Maria Grazia Chiuri","Saddle Bags","Removable Shoulder Strap","Hand","Shoulder","Crossbody","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOy76Fr1710324746846:default:3::branch:Handbags:12",bindCta:null,bindProduct:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:12",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:12",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsqwogfFahvNml7vmATxwfKLcNlh91710324602536.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsVRd4z4V8UScNc7Wc96xv4xDVByb1710324589932.mp4",imgUrls:null,hashTags:["Maria Grazia Chiuri","Saddle Bags","Handbags"]},product:null,cta:null},{position:"13",isCollected:null,video:{itemId:"VIDEOvqhF71709609258469",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Thin","Removable Shoulder Strap","Medium","Lady Dior","Crossbody","Handbags","Cross-body & Shoulder Bags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOvqhF71709609258469:default:3::branch:Handbags:13",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:13",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:13",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsHmNyOcNdgB9Y8aIFYWCHlEZVl4x1709608981919.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fslhMX6mwCM4i5XFY6dpcMZdPocYv1710398865153.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJQCe9rZmsEjuIUpdck9Hs2gpNU81710398856427.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsnHUJufSHptF88bNsyUGmSSKYH4A1710398855734.jpg"],hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"14",isCollected:null,video:null,product:{itemId:"M0455CBAAM900",title:"Saddle Bag with Strap",tags:["Saddle Bags","Handbags","Maria Grazia Chiuri"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0455CBAAM900:default:3::branch:Handbags:14",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:14",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsiwfgnCrVBGcGPh6gaFsvbYBIpxX1709285334896.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsXpilTgUS4u4oFWr0hUew8DQITi11709285353202.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsWxJm6YIeRYmDtDoB5WtYMjRX8bm1709285366208.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsj69PxKh1SAZ6p0902FbBT0vg2at1709285373714.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fs78nKueByU2cNulReOw8gJ1ZsieF1709285412981.png","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240301/fsmAEriTIohZAUMUE6gUCWvXwbbRE1709285429332.png"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0455CBAA_M900-saddle-bag-with-strap-black-grained-calfskin?objectID=M0455CBAA_M900&query=M0455CBAAM900&queryID=c171c63e69d6d109953e2de631718496",linkTitle:null,linkType:"WEB",info:"Maria Grazia Chiuri brings a fresh update to the iconic Saddle bag. Crafted in black grained calfskin, the legendary design features a Saddle flap with a D stirrup clasp on a magnetic strap, as well as an antique gold-finish metal CD signature on either side of the strap. Equipped with a thin, adjustable and removable shoulder strap, the Saddle bag may be carried by hand, worn over the shoulder or crossbody.",price:4400,currency:"USD-$"},cta:null},{position:"15",isCollected:null,video:{itemId:"VIDEO693hq1709628690318",title:"New for the summer 2024 season, the dior caro top handle camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal cd signature.",tags:["Ready-To-Wear","Handbags","Signature Hardware Design","Monogram/Logo Print","Calfskin Leather","Summer 2024","Black"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO693hq1709628690318:default:3::branch:Handbags:15",bindCta:null,bindProduct:{itemId:"M3352UBHMM900",title:"Small Dior Caro Top Handle Camera Bag Black Macrocannage Calfskin ",tags:["Summer 2024","Black","Women","Handbags","Dior Caro"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M3352UBHMM900:default:3::branch:Handbags:15",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:15",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsx3wufMP9P6ovvCrXL58eVVA61gI1710499528917.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs82a414vXXhbgMXsw3Zm8TWyDMvI1710499528543.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJaZoFhur3jfMEciQdk5GMV8O2un1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fstO8CRKfBzpJUmAMyCDHDo23ji9N1710499528346.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsagaUiox7KECRhbPn6MScg3s4Nwd1710499528602.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsBsyFADiYBLWHaAIQfNRsgweVOWj1710499529947.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqJEwfvOLpXQ6nQt76o92XdLwzs11710499529939.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M3352UBHM_M900",linkTitle:null,linkType:"WEB",info:"New for the Summer 2024 season, the Dior Caro Top Handle Camera bag is a sophisticated and practical design. Crafted in black calfskin, the small model is elevated by the originality of the Macrocannage stitching's quilted effect. The bag features a zip closure and an antique gold-tone metal CD signature. ",price:3350,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsZhMDVzP6kuh9Qt86c11whAMglMU1709628656988.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsWrEKA6oRWUmOY14D1POTJjgiks51710401973577.jpg"],hashTags:["Ready-To-Wear"]},product:null,cta:null},{position:"16",isCollected:null,video:{itemId:"VIDEO2rUuG1709617832960",title:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",tags:["Dior Toujours Bag","Casual","Leather Strap","Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEO2rUuG1709617832960:default:3::branch:Handbags:16",bindCta:null,bindProduct:{itemId:"M2821SNIOM900",title:"Medium Dior Toujours Bag Black Macrocannage Crinkled Leather",tags:["Medium","Black","Women","Handbags","Bucket Bag"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M2821SNIOM900:default:3::branch:Handbags:16",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:16",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsy6AN0OWw3rj8Luw3RTSP9n2kDLq1710497237677.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fszTc3uEUrtppdN9QVVU2XBnaaaBY1710497237986.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKbBMTRa0tTTX661wu7DzLw9OP0r1710497237980.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsOYHlYCwgzalxzmIJcsZmIsJ2L3g1710497237145.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsKJqNVm1ZBlrgZ8XLC0YAaO6ws2F1710497237650.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsm2VoVancBQ20nDHceESUPNLyrUy1710497238312.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs2B5YYmv8OztP3d9rlM2a9KmYswl1710497237339.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M1296ZRIW_M828-medium-dior-book-tote-ecru-and-blue-dior-oblique-embroidery-36-x-27.5-x-16.5-cm",linkTitle:null,linkType:"WEB",info:"The dior toujours bag is distinguished by a casual and practical design. Crafted in black crinkled calfskin with macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize the essentials. Its leather strap closure keeps items secure while the d of the cd lock closure twists to adjust the sides and enhance the bag's silhouette.",price:4400,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fs0BUtn8TYp4l8gWsg5WD9Ht8AP7R1709617796077.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsmecPfhI3OtZwJmKAXLv8scBSSdK1710399333565.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsfsWBLxbC36B7Pm7Ae1uL98EmoaH1710399333017.jpg"],hashTags:["Handbags","Dior Toujours Bag"]},product:null,cta:null},{position:"17",isCollected:null,video:{itemId:"VIDEOGZGZI1709629679782",title:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. A",tags:["Handbags"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOGZGZI1709629679782:default:3::branch:Handbags:17",bindCta:null,bindProduct:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:17",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:17",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240305/fsG1IT2gcB5iabcTL89Xs9bRHISMb1709629659698.jpg",url:null,imgUrls:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240314/fsJB1txgzSsQLBBJSTzqGI40BvLkr1710399454552.jpg"],hashTags:["Handbags"]},product:null,cta:null},{position:"18",isCollected:null,video:{itemId:"VIDEOC2IMa1710324169054",title:"The lady dior bag embodies dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the house's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic cannage topstitching, while the ultra-matte metal d.i.o.r. Charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium lady dior bag can be carried by hand or worn crossbody.",tags:["Lady Dior","Removable Shoulder Strap","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:VIDEO:VIDEOC2IMa1710324169054:default:3::branch:Handbags:18",bindCta:null,bindProduct:{itemId:"M0565SDBRM900",title:"Medium Lady Dior Bag",tags:["Women","Black","Handbags","Hand","Lady Dior","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565SDBRM900:default:3::branch:Handbags:18",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:18",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsnyiCm9oirbXLqmqY7231O8O2Yhb1710498970982.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fskwIRRKCtuw9cb9btuubt2D5bXfB1710498970676.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsqXFTCyhxspeYCD3uo4UiuN5vQ7w1710498970671.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8rDRSKJmWUNI42MjrMWVlI0D9Fz1710498970729.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsca9Cjqo3WMJVU0OL0OjQo8xOoMx1710498972076.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsjl1bxi56X0QrKwfvl8YocBVJ2N81710498971352.jpg"],collection:null,link:"https://www.dior.com/en_us/fashion/products/M0565SDBR_M900-medium-lady-dior-bag-black-patent-to-matte-gradient-cannage-lambskin?objectID=M0565SDBR_M900&query=M0565SDBRM900&queryID=14cc52b35774a9a42e78fd9ba199860e",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless style demonstrates the House's exceptional savoir-faire. The black patent-to-matte gradient lambskin style is embellished with iconic Cannage topstitching, while the ultra-matte metal D.I.O.R. charms lend a modern touch. Featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or worn crossbody.",price:7100,currency:"USD-$"},bindProducts:[],cover:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsuF6sqlC9LCBLTgxHwMRinXwB6bF1710324135846.png",url:"https://dior-sxp-cdn.chatlabs.net/prod/sound/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240313/fsFwNsGElWR2SXQ2tWwHkaiqMZN5H1710324095954.mp4",imgUrls:null,hashTags:["Lady Dior","Handbags"]},product:null,cta:null},{position:"19",isCollected:null,video:null,product:{itemId:"M0565OZEDM928",title:"Medium Lady Dior Bag",tags:["Lady Dior","Medium","Handbags","Crossbody"],weight:null,traceInfo:"VECTOReVssi1704360966770:PRODUCT:M0565OZEDM928:default:3::branch:Handbags:19",bindCta:{itemId:"CTAzgoPn1709005149328",title:"\u7ACB\u5373\u8D2D\u4E70",tags:[],weight:null,traceInfo:"VECTOReVssi1704360966770:CTA:CTAzgoPn1709005149328:default:3::branch:Handbags:19",enTitle:"Shop now",icon:"https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240227/fsIkhOh3SihCkTDQ3oI41kwCsjq6A1709005134510.png",link:null,linkTitle:null,linkType:null,menuCategoryId:"65966478d19caa37afe3603f"},homePage:["https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsbVwOx4grEmqCNmvOnKpIS0vTPPc1710499656033.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsJrpY9R8uGenvzM7NnzI4lPMCF8g1710836215790.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsYQG9gipUNt6UbzFPXTwLTNgj5BF1710836214937.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240319/fsqPEXjWl7l3wPAxJIZbnnhZPXDCw1710836216838.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsNHlPmAsNYPsGDJ5w0G213wJkwFf1710499654946.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fs8dAObnEoAYe1V6pwJOGTs4vCBJO1710499655963.jpg","https://dior-sxp-cdn.chatlabs.net/prod/img/edc1a0de-330e-40e4-bdf3-17d57d57c19b/sxp-portal/20240315/fsJpaBPC8OxQ4aYwxsMcqZpGtPWnq1710499655730.jpg"],collection:"Et\xE9 2024",link:"https://www.dior.com/en_us/fashion/products/M0565OZED_M928",linkTitle:null,linkType:"WEB",info:"The Lady Dior bag embodies Dior's vision of elegance and beauty. Sleek and refined, the timeless white and navy blue calfskin style offers a new take on the iconic House motif with this season's signature Toile de Jouy Soleil, layering suns and crescent moons into a floral design representing the four seasons. Accented by pale gold-finish metal D.I.O.R. charms illuminating the silhouette and featuring a thin, removable leather shoulder strap, the medium Lady Dior bag can be carried by hand or wo",price:6500,currency:"USD-$"},cta:null}],es="Handbags",ts={productUserId:Xl,requestId:Yl,channel:Jl,rtc:Ql,tag:Kl,recList:Zl,hashTag:es};const is=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:a}=t,{swiperRef:r,setRtcList:s,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=ee(),[h,f]=H(!1),b=J(null),C=J(null),y=J(null),[u,v]=H(""),m=ae(()=>{var T,w,E,A,x,I,_,L,B,V,k,M;return!((T=e?.video)===null||T===void 0)&&T.cover?(w=e?.video)===null||w===void 0?void 0:w.cover:!((E=e?.video)===null||E===void 0)&&E.url?(f(!0),(A=e?.video)===null||A===void 0?void 0:A.url):!((I=(x=e?.video)===null||x===void 0?void 0:x.imgUrls)===null||I===void 0)&&I.length?(L=(_=e?.video)===null||_===void 0?void 0:_.imgUrls)===null||L===void 0?void 0:L[0]:!((V=(B=e?.product)===null||B===void 0?void 0:B.homePage)===null||V===void 0)&&V.length?(M=(k=e?.product)===null||k===void 0?void 0:k.homePage)===null||M===void 0?void 0:M[0]:p?.bottom_image||""},[e,p?.bottom_image]),S=ae(()=>{var T,w;return((T=e?.product)===null||T===void 0?void 0:T.title)||((w=e?.video)===null||w===void 0?void 0:w.title)||null},[e]),D=ae(()=>{var T,w,E,A,x,I,_,L,B;return!((T=e?.product)===null||T===void 0)&&T.currency&&(!((w=e?.product)===null||w===void 0)&&w.price)?`${(I=(x=(A=(E=e?.product)===null||E===void 0?void 0:E.currency)===null||A===void 0?void 0:A.split("-")[1])===null||x===void 0?void 0:x.toUpperCase())!==null&&I!==void 0?I:""}${(B=(L=(_=e?.product)===null||_===void 0?void 0:_.price)===null||L===void 0?void 0:L.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&B!==void 0?B:""}`:null},[e]);Y(()=>{const T=new IntersectionObserver(w=>{w.forEach(E=>{if(E.isIntersecting){if(b.current===null||m==="")return;h&&u?b.current.src=u:b.current.src=m,T.unobserve(b.current)}})});return T.observe(b.current),()=>{T.disconnect()}},[m,h,u]);const P=(T,w,E)=>{const A=T/w;return E/A};Y(()=>{const T=C?.current;T===null||m===""||!h||(T.src=m,T.currentTime=1,T.crossOrigin="anonymous",T.onloadeddata=()=>{const w=y?.current;if(!w)return;const E=w.getContext("2d"),A=window?.innerWidth/2,x=P(T.videoWidth,T.videoHeight,A);w.height=x,w.width=A,E?.drawImage(T,0,0,w.width,w.height),v(w.toDataURL()),T.remove(),w.remove()})},[m,h]);const R=()=>{o(),s?.(n),setTimeout(()=>{var T;(T=r?.current)===null||T===void 0||T.swiper.slideTo(i,0,!1),c?.(!1)},0)};return g.createElement("div",{className:"list-content-listItem",key:i,onClick:R,style:{marginBottom:a}},g.createElement("div",{className:"list-content-listItem-picture"},h&&g.createElement("div",{style:{display:"none"}},g.createElement("video",{ref:C,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),g.createElement("canvas",{ref:y})),g.createElement("img",{className:"list-content-listItem-picture-img",loading:"lazy",ref:b})),g.createElement("div",{className:"list-content-listItem-info"},g.createElement("div",{className:`list-content-listItem-info-title ${D?"list-content-listItem-info-nowrap":""}`,style:l?.title},S&&S),g.createElement("div",{className:"list-content-listItem-info-price",style:l.price,hidden:!D},D)))};function ns(t){var e,i,n,o,l,a,r,{reportTagsView:s}=t,c=ve(t,["reportTagsView"]);const{waterFallData:d,getRecommendVideos:p,hashTagSize:h,loadingImage:f,isOpenHashTag:b}=ee(),[C,y]=H(),[u,v]=H(),[m,S]=H(!1),D=J(null),[P,R]=H(!1);se(()=>{P||(R(!0),d&&p?.({hashTag:d?.hashTag,"itemFilter.itemId":d?.itemId,"itemFilter.itemType":d?.itemType}).then(w=>{var E;y(C?.concat((E=w?.recList)!==null&&E!==void 0?E:[])),R(!1)}))},[d,p,C,P]),Y(()=>{var w,E;if(S(!0),d&&p?.({hashTag:d?.hashTag,"itemFilter.itemId":d?.itemId,"itemFilter.itemType":d?.itemType,defaultSize:h}).then(A=>{var x,I;v(A),y((I=(x=A?.recList)===null||x===void 0?void 0:x.filter(_=>_?.video!==null||_?.product!==null))!==null&&I!==void 0?I:[]),S(!1)}),b){const A=ts;v(A),y((E=(w=A?.recList)===null||w===void 0?void 0:w.filter(x=>x?.video!==null||x?.product!==null))!==null&&E!==void 0?E:[]),S(!1)}},[d,p,h,b]);const T=()=>{var w,E;!((w=u?.tag)===null||w===void 0)&&w.link&&(s(),window.location.href=(E=u?.tag)===null||E===void 0?void 0:E.link)};return g.createElement(g.Fragment,null,m?g.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},g.createElement("img",{width:64,height:64,src:f,alt:"loading...",style:{objectFit:"contain"}})):g.createElement("div",{className:"list"},g.createElement("div",{className:"list-scroll",ref:D,style:{bottom:!((e=u?.tag)===null||e===void 0)&&e.link?"100px":0}},g.createElement("div",{className:"list-info",style:(i=c?.textStyles)===null||i===void 0?void 0:i.hashTagDesc},(n=u?.tag)===null||n===void 0?void 0:n.info),g.createElement("div",{hidden:!(!((o=u?.tag)===null||o===void 0)&&o.link),className:"list-collection",onClick:T,style:{marginBottom:c?.space}},((l=u?.tag)===null||l===void 0?void 0:l.linkTitle)||"Shop the collection"),g.createElement("div",{className:"list-content"},C?.map((w,E)=>g.createElement(is,Object.assign({key:E,index:E,rec:w,list:C,reportTagsView:s},c)))),g.createElement("div",{hidden:!P,style:{textAlign:"center"}},"loading...")),g.createElement("div",{className:"list-bottom",hidden:!(!((a=u?.tag)===null||a===void 0)&&a.link)},g.createElement("button",{className:"list-bottom-btn",style:c?.buttonStyle,onClick:T},((r=u?.tag)===null||r===void 0?void 0:r.linkTitle)||"Shop the collection"))))}var os="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const ls=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:a,cacheRtcList:r,setRtcList:s,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:h,isFromHashtag:f,bffEventReport:b}=ee();J(null);const C=J(null),[y,u]=H();Y(()=>{const P=document.getElementById("sxp-render"),R=document.getElementById("water-fall");R?C.current=R:(C.current=document.createElement("div"),C.current.setAttribute("id","water-fall"),P?.appendChild(C.current))},[]);const v=()=>{const P=$t(d,r);!P&&r&&r?.length&&s?.(r),D(),a?.(void 0),h?.(!1),setTimeout(()=>{var R,T;P||(T=(R=l?.current)===null||R===void 0?void 0:R.swiper)===null||T===void 0||T.slideTo(c,0,!1),n?.(!1)},0)},[m,S]=H();Y(()=>{i&&S(i)},[i]);const D=se(()=>{var P,R,T,w,E,A;const x=m?.rec;if(!x)return;let I="";f?I="hashTagPage":!((P=x?.video)===null||P===void 0)&&P.url?I="videoPage":!((T=(R=x?.video)===null||R===void 0?void 0:R.imgUrls)===null||T===void 0)&&T.length&&(I="imagePage"),b?.({eventInfo:{relatedContentId:(w=x?.video)===null||w===void 0?void 0:w.itemId,position:x?.position,contentTags:JSON.stringify((E=x?.video)===null||E===void 0?void 0:E.tags),traceInfo:JSON.stringify((A=x?.video)===null||A===void 0?void 0:A.traceInfo),hashTags:JSON.stringify([m?.hashTag]),fromKName:I,fromKPage:location?.href,timeOnSite:Math.floor((new Date-y)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[m,b,y,f]);return Y(()=>{o&&u(new Date)},[o]),Y(()=>{const P=()=>{u(new Date)};return window.addEventListener("pageshow",P),()=>{window.removeEventListener("pageshow",P)}},[]),C.current?Yt.createPortal(g.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},g.createElement(Pi,{icon:os,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:v}),g.createElement(ns,Object.assign({reportTagsView:D},t))),C.current):null};var _i=Z(ls);const ss=t=>g.createElement(_i,Object.assign({},t));var as=Z(ss);const rs=be(as,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:$l,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25}}},w:100,h:40,sort:2});var ki=Object.freeze({__proto__:null,Appoint:vl,AppointForm:dn,Commodity:cl,CommodityDetail:Xo,CommodityDetailDiroNew:ol,CommodityDiro:xl,CommodityDiroNew:Al,HashTag:rs,Link:bl,MultiCommodity:Vl,MultiCommodityDiro:Nl,MultiCommodityDiroNew:Wl,Prompt:el});const ds="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",cs="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",us=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o}=t,l=ve(t,["active","activeIcon","unActicveIcon","recData"]);const{mutateLike:a,mutateUnlike:r,bffEventReport:s}=ee(),[c,d]=H(e),p=Fe(cs),h=Fe(ds),f=Tt(()=>ge(void 0,void 0,void 0,function*(){var b,C,y,u,v,m,S,D,P,R,T,w,E,A,x,I,_,L,B,V;if(c){d(!1);const k=(y=yield r?.({videoItemId:(C=(b=o.video)===null||b===void 0?void 0:b.itemId)!==null&&C!==void 0?C:""}))!==null&&y!==void 0?y:!1;s?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(v=(u=o.video)===null||u===void 0?void 0:u.itemId)!==null&&v!==void 0?v:"",contentName:(S=(m=o.video)===null||m===void 0?void 0:m.title)!==null&&S!==void 0?S:"",contentTags:JSON.stringify((P=(D=o.video)===null||D===void 0?void 0:D.tags)!==null&&P!==void 0?P:[]),position:o.position,contentFormat:!((R=o.video)===null||R===void 0)&&R.url?"video":"image",traceInfo:(T=o.video)===null||T===void 0?void 0:T.traceInfo}}),k||d(!0)}else{d(!0);const k=(w=yield a?.({content:JSON.stringify(o)}))!==null&&w!==void 0?w:!1;s?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(A=(E=o.video)===null||E===void 0?void 0:E.itemId)!==null&&A!==void 0?A:"",contentName:(I=(x=o.video)===null||x===void 0?void 0:x.title)!==null&&I!==void 0?I:"",contentTags:JSON.stringify((L=(_=o.video)===null||_===void 0?void 0:_.tags)!==null&&L!==void 0?L:[]),position:o.position,contentFormat:!((B=o.video)===null||B===void 0)&&B.url?"video":"image",traceInfo:(V=o.video)===null||V===void 0?void 0:V.traceInfo}}),k||d(!1)}}),200);return g.createElement("button",Object.assign({},l,{onClick:f}),g.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c?i||p:n||h,alt:"icon"}))};var ps=Z(us);const Je=new Vi;var Re;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide"})(Re||(Re={}));const fs=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l})=>{const[a,r]=H(!1),s=J(null),{bffEventReport:c,sxpParameter:d,waterFallData:p,openHashtag:h}=ee(),f=J(0),[b,C]=H(!1),{isActive:y}=Ii();Y(()=>{s.current&&(s.current.muted=o)},[o]);const u=se(()=>{var T,w;!s?.current||((T=s?.current)===null||T===void 0?void 0:T.readyState)<2||(w=s.current)===null||w===void 0||w.play()},[]),v=Fe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),m=se(()=>{var T,w,E,A,x,I,_,L,B,V,k,M,O;r(!1);const U=n[e];if(U&&b&&(!((T=s?.current)===null||T===void 0)&&T.duration)){f.current=((w=s?.current)===null||w===void 0?void 0:w.currentTime)||0;const oe=((A=(E=s.current)===null||E===void 0?void 0:E.duration)!==null&&A!==void 0?A:0).toFixed(2),de=((I=(x=s.current)===null||x===void 0?void 0:x.currentTime)!==null&&I!==void 0?I:0).toFixed(2);c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(L=(_=U.video)===null||_===void 0?void 0:_.itemId)!==null&&L!==void 0?L:"",contentName:(V=(B=U.video)===null||B===void 0?void 0:B.title)!==null&&V!==void 0?V:"",playType:"1",startTime:de,videoDuration:oe,contentTags:JSON.stringify((M=(k=U.video)===null||k===void 0?void 0:k.tags)!==null&&M!==void 0?M:[]),position:U.position,contentFormat:"video",traceInfo:(O=U.video)===null||O===void 0?void 0:O.traceInfo}})}b||C(!0)},[c,n,e,b]),S=se(()=>{var T,w,E,A,x,I,_,L,B,V,k,M,O;const U=n[e];if(U&&!b&&(!((T=s?.current)===null||T===void 0)&&T.duration)){f.current=((w=s?.current)===null||w===void 0?void 0:w.currentTime)||0;const oe=((A=(E=s.current)===null||E===void 0?void 0:E.duration)!==null&&A!==void 0?A:0).toFixed(2),de=((I=(x=s.current)===null||x===void 0?void 0:x.currentTime)!==null&&I!==void 0?I:0).toFixed(2);c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(L=(_=U.video)===null||_===void 0?void 0:_.itemId)!==null&&L!==void 0?L:"",contentName:(V=(B=U.video)===null||B===void 0?void 0:B.title)!==null&&V!==void 0?V:"",playType:"0",startTime:de,videoDuration:oe,contentTags:JSON.stringify((M=(k=U.video)===null||k===void 0?void 0:k.tags)!==null&&M!==void 0?M:[]),position:U.position,contentFormat:"video",traceInfo:(O=U.video)===null||O===void 0?void 0:O.traceInfo}})}setTimeout(()=>{var oe,de;!s?.current||((oe=s?.current)===null||oe===void 0?void 0:oe.readyState)<2||(de=s.current)===null||de===void 0||de.play()},0)},[e,c,n,b]),D=se(T=>()=>{var w,E,A,x,I,_;if(!s?.current||((w=s?.current)===null||w===void 0?void 0:w.readyState)<2||!b)return;const L=(E=s.current)===null||E===void 0?void 0:E.paused;switch(T){case"start":if(!L)return;(A=s.current)===null||A===void 0||A.play(),r(!1);break;case"pause":if(L)return;(x=s.current)===null||x===void 0||x.pause(),r(!0);break;default:L?(I=s.current)===null||I===void 0||I.play():(_=s.current)===null||_===void 0||_.pause(),r(!L);break}},[n,e,b]),P=se(()=>{var T,w,E,A,x,I,_,L,B,V,k,M,O;const U=n[e],oe=((w=(T=s.current)===null||T===void 0?void 0:T.duration)!==null&&w!==void 0?w:0).toFixed(2),de=((A=(E=s.current)===null||E===void 0?void 0:E.currentTime)!==null&&A!==void 0?A:0).toFixed(2);if(!((x=s?.current)===null||x===void 0)&&x.duration){const pe=(((I=s?.current)===null||I===void 0?void 0:I.currentTime)-f.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(L=(_=U.video)===null||_===void 0?void 0:_.itemId)!==null&&L!==void 0?L:"",contentName:(V=(B=U.video)===null||B===void 0?void 0:B.title)!==null&&V!==void 0?V:"",endTime:de,videoDuration:oe,playDuration:pe,contentTags:JSON.stringify((M=(k=U.video)===null||k===void 0?void 0:k.tags)!==null&&M!==void 0?M:[]),position:U.position,contentFormat:"video",traceInfo:(O=U.video)===null||O===void 0?void 0:O.traceInfo}})}},[n,e,c]);Y(()=>{var T,w,E,A,x,I;if(n.length<=0||!s.current)return;const _=(T=s.current)===null||T===void 0?void 0:T.paused;if(r(!1),!y){!_&&((w=s?.current)===null||w===void 0?void 0:w.readyState)>=2&&((E=s.current)===null||E===void 0||E.pause());return}if(s.current.src){if(((A=s?.current)===null||A===void 0?void 0:A.readyState)<2)return;s.current.play()}else{const L=t.video.url;s.current.src=L,s.current.setAttribute("x5-playsinline","true"),s.current.setAttribute("webkit-playsinline","true")}return(x=s.current)===null||x===void 0||x.addEventListener("canplay",S),(I=s.current)===null||I===void 0||I.addEventListener("playing",m),()=>{var L,B;(L=s.current)===null||L===void 0||L.removeEventListener("canplay",S),(B=s.current)===null||B===void 0||B.removeEventListener("playing",m)}},[n,S,m,y,b,t.video]),Y(()=>{var T,w,E,A;if(!s?.current||((T=s?.current)===null||T===void 0?void 0:T.readyState)<2)return;const x=(w=s.current)===null||w===void 0?void 0:w.paused;y&&(!x&&h?(E=s.current)===null||E===void 0||E.pause():h||(A=s.current)===null||A===void 0||A.play())},[h,y]),Y(()=>{if(!y)return;const T=D("start"),w=D("pause");return Je.on(Re.PAGE_DID_SHOW,T),Je.on(Re.PAGE_DID_HIDE,w),()=>{Je.off(Re.PAGE_DID_SHOW,T),Je.off(Re.PAGE_DID_HIDE,w)}},[D,y]);const R=ae(()=>d?.placeholder_image?g.createElement("img",{hidden:b,style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:d?.placeholder_image}):null,[b,d?.placeholder_image]);return Y(()=>{const T=()=>{var w,E;l===e&&(!((w=t?.video)===null||w===void 0)&&w.url)&&(!((E=s?.current)===null||E===void 0)&&E.src)&&!a&&D("pause")()};return window.addEventListener("beforeunload",T),()=>{window.removeEventListener("beforeunload",T)}},[l,e,t,s,D,a]),t.video?g.createElement("div",{className:"video-container",key:t.video.itemId,onClick:D(),style:{position:"relative",width:"100%",height:i}},g.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:s,poster:d?.placeholder_image,muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:P,onEnded:u}),R,g.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:v})):null};var vs=Z(fs);const ms=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,a]=H(t),r=s=>{s.stopPropagation();const c=!l;a(c),n?.(c)};return g.createElement("button",{style:o,className:"pb-toggle-button",onClick:r},g.createElement("img",{className:"pb-toggle-button-icon",src:l?e:i}))};var hs=Z(ms);const gs=({imageUrl:t})=>{const[e,i]=H(!0);Te(),Y(()=>{setTimeout(()=>{i(!1)},2e3)},[]);const n=Fe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),o=ae(()=>e?"pb-fadeIn":"pb-fadeOut",[e]);return g.createElement("div",{hidden:!e,className:`pb-finger-wrap ${o}`},g.createElement("img",{src:t||n}))},bs=t=>{const{src:e,height:i,width:n}=t,o=J(null),{sxpParameter:l}=ee();return g.createElement("div",{style:{overflow:"hidden",height:i,width:"100%",position:"relative"}},g.createElement("img",{ref:o,loading:"lazy",src:e??l?.placeholder_image,style:{height:"100%",width:"100%",objectFit:"cover"}}))},ys=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:a})=>{const{isActive:r}=Ii(),{sxpParameter:s,openHashtag:c}=ee(),[d,p]=H(!1);return Y(()=>{d&&r?c?l(n):a(o):p(!0)},[n,r,l,c,o,a,d]),r?g.createElement(Ye,{defaultValue:0,direction:"horizontal",modules:[Pt,_t],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:3e3}},t?.map(h=>g.createElement(_e,{key:h},g.createElement(bs,{src:h,width:e,height:i})))):g.createElement("img",{src:s?.placeholder_image,style:{width:e,height:i,objectFit:"cover"}})};var ws=Z(ys);const Ts=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[a,r]=H(!1),{setWaterFallData:s,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:h}=ee(),f=b=>{p?h?.(!0):d?.(n),s?.(i?{hashTag:b,itemId:e,itemType:i,rec:o}:{hashTag:b,rec:o}),c?.(!0)};return ae(()=>t.length<=6?null:g.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>r(!a)},a?"show less":"show more"),[a,t]),g.createElement("div",{className:"clc-sxp-bottom-hashtag"},g.createElement(gt,null,t?.map((b,C)=>g.createElement(_e,{key:C,hidden:a?!1:C>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>f(b)},`#${b}`))))};var Ss=Z(Ts),xs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Ut(t){return Z(function(e){const{$store:i}=Xi(),n=l=>{let a=l;const r=l.match(/{{.*?}}/g);return r?.length&&r.forEach(s=>{s.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=qt(i,d);return a=a.replace(s,p),p}})}),a},o=ae(()=>{var l,a,r;const{bindDatas:s}=e,c=ve(e,["bindDatas"]);if((l=s?.forEach)===null||l===void 0||l.call(s,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:h}=d;h.replace(/{{\s*([\w.]+)\s*}}/g,(f,b)=>{var C,y;if(b){const u=(y=(C=qt(i,b))!==null&&C!==void 0?C:e[p])!==null&&y!==void 0?y:"";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!((r=(a=c?.event)===null||a===void 0?void 0:a.onClick)===null||r===void 0)&&r.linkType&&(c.style.cursor="pointer"),c},[i,e]);return g.createElement(t,Object.assign({},o,o.eventMap))})}const Cs=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=Te(),l=ae(()=>{var a,r,s,c,d,p,h,f,b,C,y,u,v,m,S,D,P,R,T,w,E,A,x,I,_,L,B;if(!t?.video)return null;let V=null;!((r=(a=t?.video)===null||a===void 0?void 0:a.bindProducts)===null||r===void 0)&&r.length?V="\u591A\u5546\u54C1CTA":!((s=t?.video)===null||s===void 0)&&s.bindProduct?V="\u5546\u54C1CTA":V=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const k=i?.[V];if(((p=k?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((h=t?.video)===null||h===void 0)&&h.bindProduct)||((f=k?.item)===null||f===void 0?void 0:f.type)==="Commodity"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((C=k?.item)===null||C===void 0?void 0:C.type)==="CommodityDiroNew"&&!(!((y=t?.video)===null||y===void 0)&&y.bindProduct)||((u=k?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((m=(v=t?.video)===null||v===void 0?void 0:v.bindProducts)===null||m===void 0)&&m.length)||((S=k?.item)===null||S===void 0?void 0:S.type)==="MultiCommodityDiro"&&!(!((P=(D=t?.video)===null||D===void 0?void 0:D.bindProducts)===null||P===void 0)&&P.length)||((R=k?.item)===null||R===void 0?void 0:R.type)==="MultiCommodityDiroNew"&&!(!((w=(T=t?.video)===null||T===void 0?void 0:T.bindProducts)===null||w===void 0)&&w.length))return null;if(k&&n){const M=Ut(n[(E=k?.item)===null||E===void 0?void 0:E.type]);return g.createElement(M,Object.assign({style:Object.assign(Object.assign({},(A=k?.item)===null||A===void 0?void 0:A.style),{zIndex:50,marginLeft:"20px"}),textStyle:(x=k?.item)===null||x===void 0?void 0:x.textStyle,bindDatas:(_=(I=k?.item)===null||I===void 0?void 0:I.bindDatas)!==null&&_!==void 0?_:[]},(L=k?.item)===null||L===void 0?void 0:L.props,{event:((B=k?.item)===null||B===void 0?void 0:B.event)||{},schema:o,id:k?.id,key:k?.id,recData:t}))}else return null},[t,n,i,o]);return g.createElement(g.Fragment,null,l)};var Es=Z(Cs);const Is=({nudge:t})=>g.createElement("div",{hidden:!t?.isOpen,className:"clc-sxp-bottom-nudge",style:{marginBottom:t?.marginBottom,width:t?.size.width,height:t?.size.height,backgroundColor:t?.backgroundColor,borderRadius:t?.borderRadius}},t?.icon?g.createElement("img",{src:t.icon,style:{height:"100%",objectFit:"cover"}}):null,g.createElement("p",{style:Object.assign({},t?.textStyle)},t?.content)),Mi=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:a=[],ctaType:r,tipText:s,nudge:c,_schema:d,hashTagStyle:p})=>{var h,f,b,C,y,u,v;const{schema:m}=Te(),[S,D]=H(0),P=J(0),[R,T]=H(!1),[w,E]=H(!0),A=J(),x=J(),[I,_]=H(!1),{loadVideos:L,bffEventReport:B,loading:V,setPopupDetailData:k,ctaEvent:M,swiperRef:O,waterFallData:U,setOpenHashtag:oe,appDomain:de,openHashtag:pe,loadingImage:Ce,isFromHashtag:j,popupDetailData:z}=ee(),{productView:W}=lt(),ie=ae(()=>a.length>0&&!V,[a,V]),te=se(()=>{if(a.length<=0)return;fe();const N=location.search.slice(1),q=Xt.parse(N.replace(/\+/g,"%2B"));for(const X in q)q[X]=q[X].replace(/%2B/g,"+");const F=X=>{var K;return(K=q[X])!==null&&K!==void 0?K:""};B?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:F("utm_source"),utmMedium:F("utm_medium"),utmCampaign:F("utm_campaign"),utmId:F("utm_id"),utmContent:F("utm_content"),enterTime:`${Date.now()}`,requestId:null}}),T(!0)},[B,a.length]),fe=()=>{A.current=new Date,x.current=new Date,Ji()};Y(()=>{R||te()},[te,R]),Y(()=>{var N;const q=a?.findIndex(F=>{var X,K,ne,$,Q,le,re,Ee,Ie;return r==="\u591A\u5546\u54C1CTA"?((X=F?.video)===null||X===void 0?void 0:X.bindProducts)&&((ne=(K=F?.video)===null||K===void 0?void 0:K.bindProducts)===null||ne===void 0?void 0:ne.length)>0:r==="\u5546\u54C1CTA"?($=F?.video)===null||$===void 0?void 0:$.bindProduct:((le=(Q=F?.video)===null||Q===void 0?void 0:Q.bindCta)===null||le===void 0?void 0:le.itemId)===r&&(((re=F?.video)===null||re===void 0?void 0:re.url)||((Ie=(Ee=F?.video)===null||Ee===void 0?void 0:Ee.imgUrls)===null||Ie===void 0?void 0:Ie.length))})||0;(N=O?.current)===null||N===void 0||N.swiper.slideTo(q)},[r,O]),Y(()=>{const N=a?.[S],q=()=>{var F,X,K,ne,$,Q,le,re,Ee,Ie,je,ze,Ze,yt,wt;if(document.visibilityState==="hidden"){Je.emit(Re.PAGE_DID_HIDE,N),Oe(N),Be(N);let Ve="";z&&(!((X=(F=N?.video)===null||F===void 0?void 0:F.bindProducts)===null||X===void 0)&&X.length||!((K=N?.video)===null||K===void 0)&&K.bindProduct)?Ve="pdpPage":z&&o?.[(Q=($=(ne=N.video)===null||ne===void 0?void 0:ne.bindCta)===null||$===void 0?void 0:$.itemId)!==null&&Q!==void 0?Q:""].item.type==="Appoint"?Ve="formPage":j?Ve="hashTagPage":!((le=N?.video)===null||le===void 0)&&le.url?Ve="videoPage":!((re=N?.video)===null||re===void 0)&&re.imgUrls&&(!((Ie=(Ee=N?.video)===null||Ee===void 0?void 0:Ee.imgUrls)===null||Ie===void 0)&&Ie.length)?Ve="imagePage":N?.product&&(Ve="productPage"),B?.({eventInfo:{sessionDuration:Math.floor((new Date-A.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",relatedContentId:(je=N?.video)===null||je===void 0?void 0:je.itemId,relatedProductId:(ze=N?.product)===null||ze===void 0?void 0:ze.itemId,position:N?.position,fromKName:Ve,fromKPage:location?.href,relatedCtatId:(wt=(yt=(Ze=N.video)===null||Ze===void 0?void 0:Ze.bindCta)===null||yt===void 0?void 0:yt.itemId)!==null&&wt!==void 0?wt:""}})}else document.visibilityState==="visible"&&(te(),Ge(S),Je.emit(Re.PAGE_DID_SHOW,N))};return document.addEventListener("visibilitychange",q),()=>{document.removeEventListener("visibilitychange",q)}},[S,B,A,a,te,z,j,o]);const ce=ae(()=>t?.logoUrl&&t?.isShowLogo?i-45:i,[t,i]),we=ae(()=>t?.logoUrl&&t?.isShowLogo?g.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},g.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),Me=se((N,q)=>{var F,X,K,ne;return!((F=N.video)===null||F===void 0)&&F.url?g.createElement(vs,{rec:N,index:q,muted:w,data:a,height:ce,activeIndex:S}):!((X=N.video)===null||X===void 0)&&X.imgUrls?g.createElement(ws,{key:N.video.itemId,imgUrls:N.video.imgUrls,width:n,height:ce,rec:N,index:q,onReportViewImageEnd:Oe,onViewImageStartEvent:Ge}):N.product&&Array.isArray(t?.productPost)&&((K=t?.productPost)===null||K===void 0?void 0:K.length)>0?(ne=t?.productPost)===null||ne===void 0?void 0:ne.map(($,Q)=>{var le,re,Ee,Ie,je,ze;const Ze=Ut(l[(le=$?.item)===null||le===void 0?void 0:le.type]);return g.createElement(Ze,Object.assign({key:Q,textStyle:(re=$?.item)===null||re===void 0?void 0:re.textStyle,bindDatas:(Ie=(Ee=$?.item)===null||Ee===void 0?void 0:Ee.bindDatas)!==null&&Ie!==void 0?Ie:[]},(je=$?.item)===null||je===void 0?void 0:je.props,{event:((ze=$?.item)===null||ze===void 0?void 0:ze.event)||{},schema:m,id:$?.id,viewTime:x.current,rec:N,isPost:!0,tipText:s,style:{height:"100%",overflow:"auto"}}))}):null},[n,a,ce,w,S,t?.productPost,x,s,l,m]),Ue=se((N,q)=>{var F,X,K,ne,$,Q,le;return N.video?g.createElement(g.Fragment,null,((F=N.video)===null||F===void 0?void 0:F.title)&&g.createElement("div",{className:"clc-sxp-bottom-shadow"}),g.createElement("div",{className:"clc-sxp-bottom"},g.createElement(Is,{nudge:c}),g.createElement("div",{className:"clc-sxp-bottom-card"},g.createElement(Es,{rec:N,index:q,tempMap:o,resolver:l})),g.createElement("div",{className:"clc-sxp-bottom-text"},g.createElement(Ft,{isPost:!0,foldText:s?.foldText,unfoldText:s?.unfoldText,text:(K=(X=N.video)===null||X===void 0?void 0:X.title)!==null&&K!==void 0?K:"",style:e})),g.createElement(Ss,{index:S,tags:($=(ne=N?.video)===null||ne===void 0?void 0:ne.hashTags)!==null&&$!==void 0?$:[],itemId:(Q=N?.video)===null||Q===void 0?void 0:Q.itemId,itemType:!((le=N.video)===null||le===void 0)&&le.url?"VIDEO":null,rec:N,hashTagStyle:p}))):null},[e,S,o,l,s,c,p]),Qe=se(N=>{var q,F;if(!t?.isShowLike)return;let X=(q=t?.likeIconY)!==null&&q!==void 0?q:400;return U&&X<40&&(X+=40),N.video?g.createElement(ps,{key:N.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:N.isCollected,recData:N,className:"clc-sxp-like-button",style:{top:X,right:(F=t?.likeIconX)!==null&&F!==void 0?F:0}}):null},[t,U]),Oe=N=>{var q,F,X,K,ne,$;if(!(!((q=N.video)===null||q===void 0)&&q.url)&&(!((F=N.video)===null||F===void 0)&&F.imgUrls)){const Q=Date.now(),le=(Q-P.current)/1e3;B?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(K=(X=N.video)===null||X===void 0?void 0:X.itemId)!==null&&K!==void 0?K:"",contentName:(ne=N.video.title)!==null&&ne!==void 0?ne:"",imageEndTime:`${Q}`,playDuration:`${le}`,contentTags:JSON.stringify(($=N.video.tags)!==null&&$!==void 0?$:[]),position:N.position,contentFormat:"image",traceInfo:N.video.traceInfo}})}},Ke=N=>{var q,F,X,K,ne,$,Q,le;x.current=new Date;const re=a[N.previousIndex];re&&(N.previousIndex-N.activeIndex<0?(B?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",relatedContentId:(F=(q=re.video)===null||q===void 0?void 0:q.itemId)!==null&&F!==void 0?F:"",relatedProductId:(K=(X=re.product)===null||X===void 0?void 0:X.itemId)!==null&&K!==void 0?K:"",requestId:null}}),Oe(re)):(B?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",relatedContentId:($=(ne=re.video)===null||ne===void 0?void 0:ne.itemId)!==null&&$!==void 0?$:"",relatedProductId:(le=(Q=re.product)===null||Q===void 0?void 0:Q.itemId)!==null&&le!==void 0?le:"",requestId:null}}),Oe(re)),Be(re))},Be=N=>{var q,F,X;!(!((q=N?.video)===null||q===void 0)&&q.url)&&!(!((F=N?.video)===null||F===void 0)&&F.imgUrls)&&N?.product&&W(N,N.product,(X=N?.product)===null||X===void 0?void 0:X.bindCta,x.current)};Y(()=>{const N=a[S];pe&&Be(N)},[pe,a,S]);const Ge=N=>{var q,F,X,K,ne,$;const Q=a[N];if(!(!((q=Q?.video)===null||q===void 0)&&q.url)&&(!((F=Q?.video)===null||F===void 0)&&F.imgUrls)){const le=Date.now();P.current=le,B?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(K=(X=Q.video)===null||X===void 0?void 0:X.itemId)!==null&&K!==void 0?K:"",contentName:(ne=Q.video.title)!==null&&ne!==void 0?ne:"",imageStartTime:`${le}`,contentTags:JSON.stringify(($=Q.video.tags)!==null&&$!==void 0?$:[]),position:Q.position,contentFormat:"image",traceInfo:Q.video.traceInfo}})}},ue=ae(()=>{const N=a?.map((q,F)=>S===F||F-1===S||F+1===S?q:null);return U?N:N.concat([{loading:!0}])},[a,S,U]),bt=ae(()=>V?g.createElement("div",{style:{height:ce,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},g.createElement("img",{width:64,height:64,src:Ce,alt:"loading...",style:{objectFit:"contain"}})):ue?.map((N,q)=>g.createElement(_e,{key:q,virtualIndex:q},N&&g.createElement(g.Fragment,null,N?.loading?g.createElement("div",{style:{height:ce,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},g.createElement("img",{width:64,height:64,src:Ce,alt:"loading...",style:{objectFit:"contain"}})):g.createElement(g.Fragment,null,Me(N,q),Ue(N,q),Qe(N))))),[n,a,ce,V,Ue,Me,ue,Ce]),We=Fe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),Li=Fe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return g.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},U&&g.createElement(Pi,{icon:xs,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{oe?.(!0)}}),we,ie?g.createElement(gs,{imageUrl:t?.swipeTipIcon}):null,g.createElement(Ye,{ref:O,onActiveIndexChange:N=>{D(N.activeIndex),!pe&&(Ke(N),!U&&N?.activeIndex+2>=a?.length&&(I||(_(!0),L?.(Math.ceil(S/10)+1).then(()=>{_(!1)}))))},direction:"vertical",height:ce},g.createElement(hs,{style:{position:"fixed",right:(h=t?.muteIconX)!==null&&h!==void 0?h:0,visibility:!((b=(f=a?.[S])===null||f===void 0?void 0:f.video)===null||b===void 0)&&b.url?"visible":"hidden",bottom:(C=t?.muteIconY)!==null&&C!==void 0?C:23,zIndex:999},defaultValue:w,activeIcon:t?.unMuteIcon?t?.unMuteIcon:We,unactiveIcon:t?.muteIcon?t?.muteIcon:Li,onChange:E}),bt),g.createElement(_i,Object.assign({},(v=(u=(y=t?.hashTag)===null||y===void 0?void 0:y[0])===null||u===void 0?void 0:u.item)===null||v===void 0?void 0:v.props)))},Ds=()=>{const{schema:t,resolver:e,popup:i,popupAni:n}=Te(),{setPopupDetailData:o,popupDetailData:l,bffEventReport:a}=ee(),{productView:r}=lt(),[s,c]=H(!1),d=J(null);Y(()=>{const f=()=>{d.current=new Date};return f(),window.addEventListener("pageshow",f),()=>{window.removeEventListener("pageshow",f)}},[]),Y(()=>{i&&i!==""&&(d.current=new Date,c(!0))},[i]);const p=()=>{var f,b,C;if(!i||i===""||!s||new Date-d.current<n?.duration)return;c(!1);const y=l,u=(f=y?.video)===null||f===void 0?void 0:f.bindProduct,v=(C=(b=y?.video)===null||b===void 0?void 0:b.bindProduct)===null||C===void 0?void 0:C.bindCta;u&&v&&r(y,u,v,d.current),setTimeout(()=>{window?.sxpPopup(""),o?.(null)},n?.duration)},h=ae(()=>{var f,b,C;return(C=(b=(f=t?.sxpPageConf)===null||f===void 0?void 0:f.globalConfig)===null||b===void 0?void 0:b.popupList)===null||C===void 0?void 0:C.map((y,u)=>{var v,m,S,D,P,R,T;if(y?.id===i){const w=Ut(e[(v=y?.item)===null||v===void 0?void 0:v.type]);return g.createElement(w,Object.assign({key:u,style:Object.assign(Object.assign({},(m=y?.item)===null||m===void 0?void 0:m.style),{width:"100%",height:"80vh",overflow:"auto"}),textStyle:(S=y?.item)===null||S===void 0?void 0:S.textStyle,bindDatas:(P=(D=y?.item)===null||D===void 0?void 0:D.bindDatas)!==null&&P!==void 0?P:[]},(R=y?.item)===null||R===void 0?void 0:R.props,{event:((T=y?.item)===null||T===void 0?void 0:T.event)||{},schema:t,id:y?.id}))}else return g.createElement(g.Fragment,null)})},[t,i,e]);return g.createElement(ht,{visible:!!s,onClose:p,padding:0,modalStyle:{position:"fixed"}},h)},Gt={};Object.values(ki).forEach(t=>{Gt[t.extend.type]=t});const As=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l})=>{var a,r,s,c,d,p;const h=ae(()=>{var f;return location?.search?(f=location?.search)===null||f===void 0?void 0:f.replace("?",""):""},[]);return g.createElement(si,{resolver:Gt,enableDataSource:!1,schema:t?.data,utmVal:h},g.createElement(ii,{utmVal:h,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(r=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend)!==null&&r!==void 0?r:e,defaultSize:(c=(s=t?.sxp_parameter)===null||s===void 0?void 0:s.default_recommend)!==null&&c!==void 0?c:i,hashTagSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.hash_tag_size)!==null&&p!==void 0?p:n,loadingImage:o,appDomain:l,render:({rtcList:f})=>{var b;return g.createElement(g.Fragment,null,g.createElement(Mi,Object.assign({},(b=t?.data)===null||b===void 0?void 0:b.sxpPageConf,{data:f,resolver:Gt})),g.createElement(Ds,null))}}))};var Ps=Z(As);const Oi=it({}),_s=({children:t,data:e})=>{var i,n,o,l,a,r;const[s,c]=H(!1);return g.createElement(Oi.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.hash_tag_size,loadingImage:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.loading_image},appDomain:e?.appDomain,openHashtag:s,setOpenHashtag:c}},t)};function ks(){return tt(Oi)}export{_s as EditorDataProvider,ht as Modal,ii as SxpDataSourceProvider,Ps as SxpPageCore,Mi as SxpPageRender,on as core,qi as default,ki as materials,ks as useEditorDataProvider};
9
7
  //# sourceMappingURL=index.min.js.map