@crystaldesign/diva-web-planner-react 25.7.0-rc.2 → 25.7.0-rc.4
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.
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see 8620.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[8620],{8620:(e,n,t)=>{t.r(n),t.d(n,{default:()=>xe});var i=t(9420),r=t(88683),o=t(87363),a=t(47514);function processContentItemLinks(e,n){return e.includes("<")?{type:"html",content:processHtmlContent(e,n)}:{type:"react",content:processPlainTextContent(e,n)}}function processHtmlContent(e,n){return e.replace(/@\[(id|codex):([\w-]+)\](?:\((.*?)\))?/g,(function(e,n,t,i){var r=i||t;return'<a class="content-item-link" data-content-item-'.concat(n,'="').concat(t,'">').concat(r,"</a>")}))}function processPlainTextContent(e,n){for(var t,i=/@\[(id|codex):([\w-]+)\](?:\((.*?)\))?/g,r=[],o=0,s=function _loop(){t.index>o&&r.push(e.substring(o,t.index));var s=t[1],d=t[2],l=t[3]||d;r.push((0,a.jsx)("a",{className:"content-item-link","data-content-item-id":"id"===s?d:void 0,"data-content-item-codex":"codex"===s?d:void 0,onClick:function onClick(e){e.preventDefault(),n({id:"id"===s?d:void 0,codex:"codex"===s?d:void 0})},children:l},t.index)),o=i.lastIndex};null!==(t=i.exec(e));)s();return o<e.length&&r.push(e.substring(o)),r}var s=t(80248),d=t(93379),l=t.n(d),c=t(7795),u=t.n(c),p=t(90569),m=t.n(p),w=t(3565),g=t.n(w),x=t(19216),v=t.n(x),f=t(44589),h=t.n(f),b=t(3842),y={};y.styleTagTransform=h(),y.setAttributes=g(),y.insert=m().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=v();l()(b.Z,y);b.Z&&b.Z.locals&&b.Z.locals;const j=function URL(e){var n=e.item,t=n.url,i=(n.icon,n.text);return t?(0,a.jsx)("a",{className:b.f,href:t,target:"_blank",rel:"noopener",children:null!=i?i:"URL"}):(0,a.jsx)(a.Fragment,{})};var N=t(74787),I={};I.styleTagTransform=h(),I.setAttributes=g(),I.insert=m().bind(null,"head"),I.domAPI=u(),I.insertStyleElement=v();l()(N.ZP,I);N.ZP&&N.ZP.locals&&N.ZP.locals;function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var M=function Image(e){var n=e.item,t=n.image,i=n.cover,o=n.style,s=n.altText,d=n.thumb,l=n.inGallery,c=n.disableFullscreen,u=e.inFullscreen,p={},m=(0,r.useDivaCore)().actions.openFullscreen;if(!t)return(0,a.jsx)(a.Fragment,{});var w=new URL(t),g=!d&&s,x=!(l||u||c||d);i?(p.objectFit="cover",p.minWidth="100%",p.minHeight=g&&l?"calc(100% - 48px)":"100%"):(p.maxWidth="100%",p.maxHeight=g&&l?"calc(100% - 48px)":"100%");var v=(0,a.jsx)("img",{alt:s,style:_objectSpread(_objectSpread({},p),o),src:w.toString()});return x&&(v=(0,a.jsxs)("div",{className:N.tT,style:p,children:[(0,a.jsx)("div",{className:N.yg,onClick:function openFullscreenClick(){m({absoluteFullscreen:!0,overwrittenZIndex:3e6,content:(0,a.jsx)("div",{id:"diva-content-item",className:N.S2,children:(0,a.jsx)(M,{item:{image:t,cover:i,style:o,altText:s,thumb:d,type:"Image"},inFullscreen:!0})})})}}),v]})),g?(0,a.jsxs)("div",{className:N.kW,style:l?{height:"100%"}:void 0,children:[v,(0,a.jsx)("div",{className:N.fL,children:s})]}):v};const C=M;var D=t(91306),L={};L.styleTagTransform=h(),L.setAttributes=g(),L.insert=m().bind(null,"head"),L.domAPI=u(),L.insertStyleElement=v();l()(D.ZP,L);D.ZP&&D.ZP.locals&&D.ZP.locals;const z=function Video(e){var n=e.item,t=n.video,i=n.thumb;if(!t)return(0,a.jsx)(a.Fragment,{});if(t.includes("youtube.com")||t.includes("youtu.be")){if(i)return(0,a.jsx)("div",{className:D.E0});var r=new URL(t);return r.searchParams.set("autoplay","1"),r.searchParams.set("modestbranding","1"),r.searchParams.set("rel","0"),r.searchParams.set("controls","1"),r.searchParams.set("amp",""),(0,a.jsx)("iframe",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},src:r.toString(),referrerPolicy:"strict-origin-when-cross-origin",allow:"autoplay; gyroscope; picture-in-picture"},t)}return(0,a.jsx)("video",{className:D.$s,"aria-disabled":i,disablePictureInPicture:i,controls:!i,playsInline:!0,autoPlay:!i,children:(0,a.jsx)("source",{src:t+(i?"#t=2":""),type:t.includes(".mp4")?"video/mp4":"video/webm"})},t)};var S=t(75048),T={};T.styleTagTransform=h(),T.setAttributes=g(),T.insert=m().bind(null,"head"),T.domAPI=u(),T.insertStyleElement=v();l()(S.Z,T);S.Z&&S.Z.locals&&S.Z.locals;var O=t(12952),k=t(34988);function useContentItemNavigator_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function useContentItemNavigator_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?useContentItemNavigator_ownKeys(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):useContentItemNavigator_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var A=t(5304),P={};P.styleTagTransform=h(),P.setAttributes=g(),P.insert=m().bind(null,"head"),P.domAPI=u(),P.insertStyleElement=v();l()(A.ZP,P);A.ZP&&A.ZP.locals&&A.ZP.locals;var Z=(0,o.createContext)(void 0);function useContentItemNavigation(){var e=(0,o.useContext)(Z);if(!e)throw new Error("useContentItemNavigation must be used within a ContentItemNavigator");return e}function ContentItemNavigator(e){var n=e.initialItemId,t=e.initialItemCodex,i=e.initialItemConfiguration,r=e.children,s=function useContentItemNavigator(e){var n=e.initialItemId,t=e.initialItemCodex,i=e.initialItemConfiguration,r=(0,o.useState)({current:{id:n,codex:t,configuration:i},history:[]}),a=(0,k.Z)(r,2),s=a[0],d=a[1];(0,o.useEffect)((function(){d({current:{id:n,codex:t,configuration:i},history:[]})}),[n,t,i]);var l=(0,o.useCallback)((function(e){(e.id||e.codex)&&d((function(n){return{current:e,history:[].concat((0,O.Z)(n.history),[n.current])}}))}),[]),c=(0,o.useCallback)((function(){d((function(e){return 0===e.history.length?e:{current:e.history[e.history.length-1],history:e.history.slice(0,-1)}}))}),[]),u=(0,o.useCallback)((function(e){d((function(n){return useContentItemNavigator_objectSpread(useContentItemNavigator_objectSpread({},n),{},{current:useContentItemNavigator_objectSpread(useContentItemNavigator_objectSpread({},n.current),{},{title:e})})}))}),[]);return{contextValue:(0,o.useMemo)((function(){return{navigateTo:l,onContentItemLoaded:u,canGoBack:s.history.length>0,currentContentItem:s.current}}),[s.current,s.history.length]),navigateBack:c}}({initialItemId:n,initialItemCodex:t,initialItemConfiguration:i}),d=s.contextValue,l=s.navigateBack;return(0,a.jsx)(Z.Provider,{value:d,children:(0,a.jsxs)("div",{className:A.ry,id:"diva-content-item-navigator",children:[d.canGoBack&&(0,a.jsx)("button",{className:A.Rw,onClick:l,id:"diva-content-item-back-button","aria-label":"Go back"}),r]})})}const E=function Title(e){var n=e.item,t=n.text,i=n.style,r=useContentItemNavigation().navigateTo;if(!t)return(0,a.jsx)(a.Fragment,{});var o=processContentItemLinks(t,r);return(0,a.jsx)("h4",{className:S.T,style:i,children:o.content})};var Q=t(299),U={};U.styleTagTransform=h(),U.setAttributes=g(),U.insert=m().bind(null,"head"),U.domAPI=u(),U.insertStyleElement=v();l()(Q.Z,U);Q.Z&&Q.Z.locals&&Q.Z.locals;var _=t(37707),Y=t(31964),F=t(4010),B={};B.styleTagTransform=h(),B.setAttributes=g(),B.insert=m().bind(null,"head"),B.domAPI=u(),B.insertStyleElement=v();l()(F.ZP,B);F.ZP&&F.ZP.locals&&F.ZP.locals;function Gallery_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Gallery_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Gallery_ownKeys(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gallery_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var G=function Gallery(e){var n=e.item,t=n.content,i=n.wrappingStyle,s=n.disableFullscreen,d=n.initIndex,l=e.inFullscreen,c=(0,o.useState)(null),u=(0,k.Z)(c,2),p=u[0],m=u[1],w=(0,o.useState)(null),g=(0,k.Z)(w,2),x=g[0],v=g[1],f=(0,r.useDivaCore)().actions.openFullscreen;if(0==t.length)return(0,a.jsx)(a.Fragment,{});if(1==t.length)return(0,a.jsx)(V,{item:Gallery_objectSpread(Gallery_objectSpread({},t[0]),{disableFullscreen:s})});return(0,a.jsxs)("div",{id:"DivaContentItemGallery",style:Gallery_objectSpread(Gallery_objectSpread({},i),{},{position:"relative"}),className:"diva-stop-swipe-detection",children:[!l&&!s&&(0,a.jsx)("div",{className:F.yg,onClick:function openFullscreenClick(){f({absoluteFullscreen:!0,overwrittenZIndex:3e6,content:(0,a.jsxs)("div",{id:"diva-content-item",className:F.S2,children:[(0,a.jsx)(G,{item:{content:t,wrappingStyle:i,type:"Gallery",initIndex:null==x?void 0:x.activeIndex},inFullscreen:!0}),","]})})}}),(0,a.jsx)(_.tq,{style:{"--swiper-navigation-color":"#fff","--swiper-pagination-color":"#fff"},spaceBetween:10,navigation:!0,onSwiper:v,thumbs:{swiper:p&&!p.destroyed?p:null},modules:[Y.Rv,Y.W_,Y.o3],initialSlide:d,className:F.wn,children:t.map((function(e,n){return(0,a.jsx)(_.o5,{children:(0,a.jsx)(V,{item:Gallery_objectSpread(Gallery_objectSpread({},e),{},{inGallery:!0})})},n)}))}),(0,a.jsx)(_.tq,{onSwiper:m,spaceBetween:10,slidesPerView:4,freeMode:!0,watchSlidesProgress:!0,modules:[Y.Rv,Y.W_,Y.o3],className:F.pD,children:t.map((function(e,n){return(0,a.jsx)(_.o5,{children:(0,a.jsx)(V,{item:Gallery_objectSpread(Gallery_objectSpread({},e),{},{thumb:!0})})},n)}))})]})};const R=G;const W=function RichText(e){var n=e.item,t=n.text,i=n.style,r=(0,o.useRef)(null),s=useContentItemNavigation().navigateTo,d=processContentItemLinks(t,s);return(0,o.useEffect)((function(){if(r.current){var e=r.current.querySelectorAll(".content-item-link"),n=new Map;return e.forEach((function(e){var t=function event(n){var t,i;n.preventDefault();var r=null!==(t=e.getAttribute("data-content-item-id"))&&void 0!==t?t:void 0,o=null!==(i=e.getAttribute("data-content-item-codex"))&&void 0!==i?i:void 0;(o||r)&&s({id:r,codex:o})};n.set(e,t),e.addEventListener("click",t)})),function(){n.forEach((function(e,n){n.removeEventListener("click",e)}))}}}),[d.content,s]),(0,a.jsx)("div",{ref:r,style:i,dangerouslySetInnerHTML:{__html:d.content}})};const K=function Wrapper(e){var n=e.item,t=n.style,i=n.content;return(0,a.jsx)("div",{style:t,children:i.map((function(e,n){return(0,a.jsx)(V,{item:e},n)}))})};const V=function ContentItem(e){var n=e.item;switch(n.type){case"Gallery":return(0,a.jsx)(R,{item:n});case"Image":return(0,a.jsx)(C,{item:n});case"RichText":return(0,a.jsx)(W,{item:n});case"Title":return(0,a.jsx)(E,{item:n});case"URL":return(0,a.jsx)(j,{item:n});case"Video":return(0,a.jsx)(z,{item:n});case"Wrapper":return(0,a.jsx)(K,{item:n})}throw new Error("unkonwn type: "+n.type)};var H=t(84658),X=t(50747),J=t.n(X),q=t(47714);const $=function useContentItem(e){var n=e.onContentItemLoaded,t=(0,r.useDivaCore)().state,i=t.apiConfig,a=t.jwt,s=(0,r.useTranslation)().i18n,d=useContentItemNavigation(),l=d.currentContentItem,c=l.id,u=l.codex,p=l.configuration,m=d.onContentItemLoaded,w=(0,o.useState)(null!=p?p:{content:[]}),g=(0,k.Z)(w,2),x=g[0],v=g[1],f=(0,o.useDeferredValue)(x),h=(0,o.useTransition)(),b=(0,k.Z)(h,2),y=b[0],j=b[1],N=(0,o.useState)(!0),I=(0,k.Z)(N,2),M=I[0],C=I[1],D=(0,o.useState)(null),L=(0,k.Z)(D,2),z=L[0],S=L[1];return(0,o.useEffect)((function(){(c||u)&&(C(!0),S(null),function getContentItem(e,n,t,i){return _getContentItem.apply(this,arguments)}(i.catalogService,a,null!=c?c:u,s.language).then((function(e){j((function(){v(e);var t=e.content.filter((function(e){return"Title"===e.type&&e.text})).map((function(e){return e.text}));null==n||n(t[0]),m(t[0])}))})).catch((function(e){S(e)})).finally((function(){C(!1)})))}),[c,u]),(0,o.useEffect)((function(){p&&(j((function(){v(p);var e=p.content.filter((function(e){return"Title"===e.type&&e.text})).map((function(e){return e.text}));null==n||n(e[0]),m(e[0])})),S(null),C(!1))}),[p]),{configuration:x,deferredConfiguration:f,loading:M||y,error:z}};function _getContentItem(){return(_getContentItem=(0,H.Z)(J().mark((function _callee(e,n,t,i){var o,a,s,d;return J().wrap((function _callee$(l){for(;;)switch(l.prev=l.next){case 0:return o=e+"/contentItems/"+t+"?language="+i,l.prev=1,l.next=4,q.Z.get(o,{headers:{Authorization:"Bearer "+n}});case 4:if(a=l.sent,s=a.data,200===a.status){l.next=8;break}throw new r.DivaError(s.error||"Failed to get content item");case 8:return l.abrupt("return",s);case 11:if(l.prev=11,l.t0=l.catch(1),!q.Z.isAxiosError(l.t0)){l.next=15;break}throw new r.DivaError((null===(d=l.t0.response)||void 0===d||null===(d=d.data)||void 0===d?void 0:d.error)||"Could not get content item",{cause:l.t0});case 15:throw new r.DivaError("Could not get content item",{cause:l.t0});case 16:case"end":return l.stop()}}),_callee,null,[[1,11]])})))).apply(this,arguments)}var ee=t(28251),ne={};ne.styleTagTransform=h(),ne.setAttributes=g(),ne.insert=m().bind(null,"head"),ne.domAPI=u(),ne.insertStyleElement=v();l()(ee.Z,ne);ee.Z&&ee.Z.locals&&ee.Z.locals;function ErrorBox(e){var n=e.error;return(0,a.jsxs)("div",{className:ee.v,id:"diva-content-item-error-box",children:["Error: ",n.message||"An error occurred"]})}var te=t(9269),ie={};ie.styleTagTransform=h(),ie.setAttributes=g(),ie.insert=m().bind(null,"head"),ie.domAPI=u(),ie.insertStyleElement=v();l()(te.ZP,ie);te.ZP&&te.ZP.locals&&te.ZP.locals;function Loader(){return(0,a.jsx)("div",{className:te._m,id:"diva-content-item-loader",children:(0,a.jsx)("div",{})})}var re=t(65515),oe=t.n(re),ae=t(47950),se={};se.styleTagTransform=h(),se.setAttributes=g(),se.insert=m().bind(null,"head"),se.domAPI=u(),se.insertStyleElement=v();l()(ae.ZP,se);ae.ZP&&ae.ZP.locals&&ae.ZP.locals;const de=function ContentItems(e){var n,t=$(e),i=t.deferredConfiguration,r=t.loading,o=t.error;return(0,a.jsxs)("div",{className:ae.ZC,id:"diva-content-item",children:[r&&(0,a.jsx)(Loader,{}),(0,a.jsxs)("div",{className:oe()(ae.Fh,(0,s.Z)({},ae.V_,r)),children:[o&&(0,a.jsx)(ErrorBox,{error:o}),null===(n=i.content)||void 0===n?void 0:n.map((function(e,n){return(0,a.jsx)(V,{item:e},n)}))]})]})};var le=function ContentItemComponent(e){return(0,a.jsx)(ContentItemNavigator,{initialItemId:e.contentItemId,initialItemCodex:e.contentItemCodex,initialItemConfiguration:e.configuration,children:(0,a.jsx)(de,{onContentItemLoaded:e.onContentItemLoaded,wrapperStyle:e.wrapperStyle})})},ce=t(23987),ue=t(12299),pe={};pe.styleTagTransform=h(),pe.setAttributes=g(),pe.insert=m().bind(null,"head"),pe.domAPI=u(),pe.insertStyleElement=v();l()(ue.ZP,pe);ue.ZP&&ue.ZP.locals&&ue.ZP.locals;var me=t(22976),we=t.n(me),ge=(0,r.getLogger)("Planner","InfoBox");const xe=(0,i.Pi)((function ContentItemWrapper(e){var n,t=e.id,i=e.startPos,s=void 0===i?"left":i,d=e.noWrapper,l=(0,r.useDivaCore)().actions,c=l.openSideMenu,u=l.closeSideMenu,p=(0,o.useRef)(null),m=(0,ce.NP)();if((0,o.useEffect)((function(){t&&m.getIsInMobileView()&&c({side:"left",onClose:function onClose(){m.settingsState.setContentItemId(),u()},open:!0,content:(0,a.jsx)("div",{className:oe()(ue.ai),children:(0,a.jsx)(le,{contentItemId:t,wrapperStyle:{display:"flex",flexDirection:"column",height:"100%"},onContentItemLoaded:function onContentItemLoaded(e){ge.businessEvent("onLoadInfoBox","InfoBox","Lade Infobox",{id:t,title:null!=e?e:void 0})}})})})}),[t]),m.getIsInMobileView())return(0,a.jsx)(a.Fragment,{});if(d)return(0,a.jsx)(le,{contentItemId:t,wrapperStyle:{display:"flex",flexDirection:"column",maxHeight:"inherit"},onContentItemLoaded:function onContentItemLoaded(e){ge.businessEvent("onLoadInfoBox","InfoBox","Lade Infobox",{id:t,title:null!=e?e:void 0})}});var w=null===(n=m.productState.productElement)||void 0===n?void 0:n.getBoundingClientRect();return(0,a.jsx)(we(),{nodeRef:p,handle:".handle",bounds:"parent",defaultPosition:"right"==s?{x:null!=w&&w.width?(null==w?void 0:w.width)-508:0,y:0}:void 0,children:(0,a.jsxs)("div",{ref:p,className:ue.YS,style:{maxHeight:null!=w&&w.height&&w.height<720?(null==w?void 0:w.height)-20:700},children:[(0,a.jsxs)("div",{className:ue.Fs,children:[(0,a.jsx)("div",{className:oe()("handle",ue.pr)}),(0,a.jsx)("div",{className:ue.UF,onClick:function onClick(){return m.settingsState.setContentItemId()}})]}),(0,a.jsx)(le,{contentItemId:t,wrapperStyle:{display:"flex",flexDirection:"column",maxHeight:"inherit"},onContentItemLoaded:function onContentItemLoaded(e){ge.businessEvent("onLoadInfoBox","InfoBox","Lade Infobox",{id:t,title:null!=e?e:void 0})}})]})})}))},5304:(e,n,t)=>{t.d(n,{Rw:()=>d,ZP:()=>l,ry:()=>s});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--eliSU {\n position: relative;\n width: 100%;\n}\n\n.index-module--E0Oqn {\n position: absolute;\n top: 12px;\n left: 8px;\n z-index: 2;\n background: none;\n border: none;\n cursor: pointer;\n font-size: 20px;\n color: #666;\n transition: color 0.2s ease;\n border-radius: 50%;\n width: 34px;\n height: 34px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 4px;\n}\n.index-module--E0Oqn:after {\n content: '←';\n display: block;\n text-align: center;\n}\n\n.index-module--E0Oqn:hover {\n color: #333;\n background-color: rgba(0, 0, 0, 0.05);\n}\n",""]);var s="index-module--eliSU",d="index-module--E0Oqn";const l=a},47950:(e,n,t)=>{t.d(n,{Fh:()=>d,V_:()=>l,ZC:()=>s,ZP:()=>c});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--BscFv {\n min-height: 60px;\n position: relative;\n width: 100%;\n padding-left: 40px;\n}\n\n.index-module--eScDq {\n transition: opacity 0.2s ease-in-out;\n}\n.index-module--eScDq.index-module--IUOxd {\n opacity: 0.5;\n}\n",""]);var s="index-module--BscFv",d="index-module--eScDq",l="index-module--IUOxd";const c=a},28251:(e,n,t)=>{t.d(n,{Z:()=>d,v:()=>s});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--QKTj_ {\n color: red;\n text-align: center;\n padding: 20px;\n border: 1px solid red;\n background-color: #ffeeee;\n border-radius: 4px;\n}\n",""]);var s="index-module--QKTj_";const d=a},4010:(e,n,t)=>{t.d(n,{S2:()=>p,ZP:()=>x,pD:()=>g,wn:()=>w,yg:()=>m});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(60754),t.b),c=a()(r()),u=d()(l);c.push([e.id,"#diva-content-item .swiper {\n width: 100%;\n height: 100%;\n}\n#diva-content-item .swiper-slide {\n text-align: center;\n font-size: 18px;\n background: #fff;\n\n /* Center slide text vertically */\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.index-module--IoD5D {\n display: flex;\n justify-content: center;\n align-items: center;\n background: #fff;\n position: relative;\n height: 100%;\n width: 100%;\n z-index: 2000005;\n}\n\n.index-module--gCweM {\n cursor: pointer;\n position: absolute;\n width: 20px;\n height: 20px;\n top: 16px;\n right: 8px;\n border-radius: 3px;\n z-index: 1000;\n background: center / 75% no-repeat rgba(255,255,255,0.53333) url("+u+");\n}\n\n.mobile #diva-content-item .swiper-slide {\n background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n background: initial;\n}\n\n#diva-content-item .swiper {\n width: 100%;\n height: 350px;\n margin-left: auto;\n margin-right: auto;\n}\n\n.diva-fullscreen #DivaContentItemGallery {\n height: 90% !important;\n width: 90% !important;\n}\n\n.diva-fullscreen #diva-content-item .index-module--OxIZN {\n height: 100%;\n}\n\n#diva-content-item .swiper-slide {\n background-size: cover;\n background-position: center;\n}\n#diva-content-item .index-module--OxIZN {\n height: 80%;\n width: 100%;\n}\n#diva-content-item .index-module--rtXCE {\n height: 20%;\n box-sizing: border-box;\n padding: 10px 0;\n}\n#diva-content-item .index-module--rtXCE .swiper-slide {\n width: 25%;\n height: 100%;\n opacity: 0.4;\n}\n#diva-content-item .index-module--rtXCE .swiper-slide-thumb-active {\n opacity: 1;\n}\n",""]);var p="index-module--IoD5D",m="index-module--gCweM",w="index-module--OxIZN",g="index-module--rtXCE";const x=c},74787:(e,n,t)=>{t.d(n,{S2:()=>x,ZP:()=>v,fL:()=>m,kW:()=>p,tT:()=>w,yg:()=>g});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(60754),t.b),c=a()(r()),u=d()(l);c.push([e.id,".index-module--BWa4l {\n display: flex;\n flex-direction: column;\n gap: 6px;\n justify-content: center;\n position: relative;\n}\n\n.index-module--g4vSg {\n overflow: auto;\n text-align: center;\n font-size: 14px;\n}\n\n.index-module--XtLKV {\n position: relative;\n}\n\n.index-module--ldjKX {\n cursor: pointer;\n position: absolute;\n width: 20px;\n height: 20px;\n top: 16px;\n right: 8px;\n border-radius: 3px;\n z-index: 1000;\n background: center / 75% no-repeat rgba(255,255,255,0.53333) url("+u+");\n}\n\n.index-module--zw0KV {\n display: flex;\n justify-content: center;\n align-items: center;\n background: #fff;\n position: relative;\n height: 100%;\n width: 100%;\n z-index: 2000005;\n}\n",""]);var p="index-module--BWa4l",m="index-module--g4vSg",w="index-module--XtLKV",g="index-module--ldjKX",x="index-module--zw0KV";const v=c},9269:(e,n,t)=>{t.d(n,{ZP:()=>d,_m:()=>s});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--tWTgE {\n width: 100%;\n height: 4px;\n background-color: #f3f3f3;\n position: absolute;\n top: 0;\n left: 0;\n overflow: hidden;\n z-index: 1;\n}\n\n.index-module--tWTgE div {\n position: absolute;\n width: 50%;\n height: 100%;\n background-color: #3498db;\n animation: index-module--FDAPU 1s infinite ease-in-out;\n}\n\n@keyframes index-module--FDAPU {\n 0% {\n transform: translateX(-100%);\n }\n 100% {\n transform: translateX(200%);\n }\n}\n",""]);var s="index-module--tWTgE";const d=a},75048:(e,n,t)=>{t.d(n,{T:()=>s,Z:()=>d});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--uEwKl {\n font-size: 18px;\n font-weight: 500;\n}\n",""]);var s="index-module--uEwKl";const d=a},3842:(e,n,t)=>{t.d(n,{Z:()=>d,f:()=>s});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--JVQuz {\n margin-top: 12px;\n margin-bottom: 12px;\n text-align: right;\n position: relative;\n display: block;\n width: 100%;\n}\n",""]);var s="index-module--JVQuz";const d=a},91306:(e,n,t)=>{t.d(n,{$s:()=>p,E0:()=>m,ZP:()=>w});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(81724),t.b),c=a()(r()),u=d()(l);c.push([e.id,".index-module--dsgPM {\n width: 100%;\n max-height: 100%;\n}\n\n.index-module--zjkX4 {\n background: center / 75% no-repeat url("+u+");\n width: 100%;\n height: 100%;\n}\n",""]);var p="index-module--dsgPM",m="index-module--zjkX4";const w=c},12299:(e,n,t)=>{t.d(n,{Fs:()=>m,UF:()=>g,YS:()=>p,ZP:()=>v,ai:()=>x,pr:()=>w});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(76380),t.b),c=a()(r()),u=d()(l);c.push([e.id,".index-module--iorwa {\n z-index: 1000;\n position: absolute;\n display: flex;\n background: white;\n width: 450px;\n flex-direction: column;\n\n color: #4f4f4f;\n font-size: 15px;\n box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25098);\n border-radius: 5px;\n top: 0;\n margin: 4px;\n}\n\n.index-module--U836J {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n position: absolute;\n z-index: 1100;\n}\n\n.index-module--jHvNX {\n cursor: move;\n flex-grow: 1;\n}\n\n.index-module--XBhn6 {\n padding: 12px;\n z-index: 1002;\n width: -moz-max-content;\n width: max-content;\n width: 36px;\n height: 36px;\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 28%;\n background-image: url("+u+");\n transition: background-size 100ms ease-in;\n cursor: pointer;\n}\n\n.index-module--XBhn6:hover {\n background-size: 36%;\n cursor: pointer;\n}\n\n.index-module--sVOQy {\n height: 100%;\n}\n",""]);var p="index-module--iorwa",m="index-module--U836J",w="index-module--jHvNX",g="index-module--XBhn6",x="index-module--sVOQy";const v=c},299:(e,n,t)=>{t.d(n,{Z:()=>p});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(64197),t.b),c=a()(r()),u=d()(l);c.push([e.id,"/*Free mode*/\n#diva-content-item .swiper-free-mode > .swiper-wrapper {\n transition-timing-function: ease-out;\n margin: 0 auto;\n}\n/*navigation*/\n:root {\n --swiper-navigation-size: 44px;\n}\n#diva-content-item .swiper-button-next,\n#diva-content-item .swiper-button-prev {\n position: absolute;\n top: 50%;\n width: calc(44px / 44 * 27);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: 44px;\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (44px / 2));\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #007aff;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n#diva-content-item .swiper-button-next.swiper-button-disabled,\n#diva-content-item .swiper-button-prev.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n#diva-content-item .swiper-button-next.swiper-button-hidden,\n#diva-content-item .swiper-button-prev.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n#diva-content-item .swiper-navigation-disabled .swiper-button-next,\n#diva-content-item .swiper-navigation-disabled .swiper-button-prev {\n display: none !important;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-button-prev:after {\n text-transform: none !important;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-button-prev:after {\n font-family: swiper-icons;\n font-size: 44px;\n font-size: var(--swiper-navigation-size);\n letter-spacing: 0;\n font-feature-settings: ;\n font-variant: normal;\n font-variant: initial;\n line-height: 1;\n}\n#diva-content-item .swiper-button-prev,\n#diva-content-item .swiper-rtl .swiper-button-next {\n left: 10px;\n right: auto;\n}\n#diva-content-item .swiper-button-prev:after,\n#diva-content-item .swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n#diva-content-item .swiper-button-next,\n#diva-content-item .swiper-rtl .swiper-button-prev {\n right: 10px;\n left: auto;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n#diva-content-item .swiper-button-lock {\n display: none;\n}\n\n/*swiper min css*/\n\n@font-face {\n font-family: swiper-icons;\n src: url("+u+');\n font-weight: 400;\n font-style: normal;\n}\n:root {\n --swiper-theme-color: #007aff;\n}\n#diva-content-item .swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n}\n#diva-content-item .swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n#diva-content-item .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n box-sizing: content-box;\n}\n#diva-content-item .swiper-android .swiper-slide,\n#diva-content-item .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n#diva-content-item .swiper-pointer-events {\n touch-action: pan-y;\n}\n#diva-content-item .swiper-pointer-events.swiper-vertical {\n touch-action: pan-x;\n}\n#diva-content-item .swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n}\n#diva-content-item .swiper-slide-invisible-blank {\n visibility: hidden;\n}\n#diva-content-item .swiper-autoheight,\n#diva-content-item .swiper-autoheight .swiper-slide {\n height: auto;\n}\n#diva-content-item .swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n#diva-content-item .swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n#diva-content-item .swiper-3d,\n#diva-content-item .swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n#diva-content-item .swiper-3d .swiper-cube-shadow,\n#diva-content-item .swiper-3d .swiper-slide,\n#diva-content-item .swiper-3d .swiper-slide-shadow,\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom,\n#diva-content-item .swiper-3d .swiper-slide-shadow-left,\n#diva-content-item .swiper-3d .swiper-slide-shadow-right,\n#diva-content-item .swiper-3d .swiper-slide-shadow-top,\n#diva-content-item .swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow,\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom,\n#diva-content-item .swiper-3d .swiper-slide-shadow-left,\n#diva-content-item .swiper-3d .swiper-slide-shadow-right,\n#diva-content-item .swiper-3d .swiper-slide-shadow-top {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {\n display: none;\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n}\n#diva-content-item .swiper-horizontal.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n}\n#diva-content-item .swiper-vertical.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n}\n#diva-content-item .swiper-centered > .swiper-wrapper::before {\n content: \'\';\n flex-shrink: 0;\n order: 9999;\n}\n[dir="ltr"] #diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-left: var(--swiper-centered-offset-before);\n}\n[dir="rtl"] #diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-right: var(--swiper-centered-offset-before);\n}\n#diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n}\n#diva-content-item .swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {\n margin-top: var(--swiper-centered-offset-before);\n}\n#diva-content-item .swiper-centered.swiper-vertical > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n}\n#diva-content-item .swiper-centered > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n}\n',""]);const p=c},81724:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjgwMHB4IiB3aWR0aD0iODAwcHgiIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgCgkgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cG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uMzUzNTUgMC42NDY0NDdDOS4xNTgyOSAwLjQ1MTE4NCA4Ljg0MTcxIDAuNDUxMTg0IDguNjQ2NDUgMC42NDY0NDdMOS4zNTM1NSAxLjM1MzU1Wk0wLjY0NjQ0NyA4LjY0NjQ1QzAuNDUxMTg1IDguODQxNzEgMC40NTExODUgOS4xNTgyOSAwLjY0NjQ0NyA5LjM1MzU1QzAuODQxNzA5IDkuNTQ4ODEgMS4xNTgyOSA5LjU0ODgxIDEuMzUzNTUgOS4zNTM1NUwwLjY0NjQ0NyA4LjY0NjQ1Wk0wLjY0NjQ0NyAxLjM1MzU1TDguNjQ2NDUgOS4zNTM1NUw5LjM1MzU1IDguNjQ2NDVMMS4zNTM1NSAwLjY0NjQ0N0wwLjY0NjQ0NyAxLjM1MzU1Wk04LjY0NjQ1IDAuNjQ2NDQ3TDAuNjQ2NDQ3IDguNjQ2NDVMMS4zNTM1NSA5LjM1MzU1TDkuMzUzNTUgMS4zNTM1NUw4LjY0NjQ1IDAuNjQ2NDQ3WiIgZmlsbD0iIzRGNEY0RiIvPgo8L3N2Zz4K"}}]);
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[8620],{8620:(e,n,t)=>{t.r(n),t.d(n,{default:()=>xe});var i=t(9420),r=t(88683),o=t(87363),a=t(47514);function processContentItemLinks(e,n){return e.includes("<")?{type:"html",content:processHtmlContent(e,n)}:{type:"react",content:processPlainTextContent(e,n)}}function processHtmlContent(e,n){return e.replace(/@\[(id|codex):([\w-]+)\](?:\((.*?)\))?/g,(function(e,n,t,i){var r=i||t;return'<a class="content-item-link" data-content-item-'.concat(n,'="').concat(t,'">').concat(r,"</a>")}))}function processPlainTextContent(e,n){for(var t,i=/@\[(id|codex):([\w-]+)\](?:\((.*?)\))?/g,r=[],o=0,s=function _loop(){t.index>o&&r.push(e.substring(o,t.index));var s=t[1],d=t[2],l=t[3]||d;r.push((0,a.jsx)("a",{className:"content-item-link","data-content-item-id":"id"===s?d:void 0,"data-content-item-codex":"codex"===s?d:void 0,onClick:function onClick(e){e.preventDefault(),n({id:"id"===s?d:void 0,codex:"codex"===s?d:void 0})},children:l},t.index)),o=i.lastIndex};null!==(t=i.exec(e));)s();return o<e.length&&r.push(e.substring(o)),r}var s=t(80248),d=t(93379),l=t.n(d),c=t(7795),u=t.n(c),p=t(90569),m=t.n(p),w=t(3565),g=t.n(w),x=t(19216),v=t.n(x),f=t(44589),h=t.n(f),b=t(3842),y={};y.styleTagTransform=h(),y.setAttributes=g(),y.insert=m().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=v();l()(b.Z,y);b.Z&&b.Z.locals&&b.Z.locals;const j=function URL(e){var n=e.item,t=n.url,i=(n.icon,n.text);return t?(0,a.jsx)("a",{className:b.f,href:t,target:"_blank",rel:"noopener",children:null!=i?i:"URL"}):(0,a.jsx)(a.Fragment,{})};var N=t(74787),I={};I.styleTagTransform=h(),I.setAttributes=g(),I.insert=m().bind(null,"head"),I.domAPI=u(),I.insertStyleElement=v();l()(N.ZP,I);N.ZP&&N.ZP.locals&&N.ZP.locals;function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var M=function Image(e){var n=e.item,t=n.image,i=n.cover,o=n.style,s=n.altText,d=n.thumb,l=n.inGallery,c=n.disableFullscreen,u=e.inFullscreen,p={},m=(0,r.useDivaCore)().actions.openFullscreen;if(!t)return(0,a.jsx)(a.Fragment,{});var w=new URL(t),g=!d&&s,x=!(l||u||c||d);i?(p.objectFit="cover",p.minWidth="100%",p.minHeight=g&&l?"calc(100% - 48px)":"100%"):(p.maxWidth="100%",p.maxHeight=g&&l?"calc(100% - 48px)":"100%");var v=(0,a.jsx)("img",{alt:s,style:_objectSpread(_objectSpread({},p),o),src:w.toString()});return x&&(v=(0,a.jsxs)("div",{className:N.tT,style:p,children:[(0,a.jsx)("div",{className:N.yg,onClick:function openFullscreenClick(){m({absoluteFullscreen:!0,overwrittenZIndex:3e6,content:(0,a.jsx)("div",{id:"diva-content-item",className:N.S2,children:(0,a.jsx)(M,{item:{image:t,cover:i,style:o,altText:s,thumb:d,type:"Image"},inFullscreen:!0})})})}}),v]})),g?(0,a.jsxs)("div",{className:N.kW,style:l?{height:"100%"}:void 0,children:[v,(0,a.jsx)("div",{className:N.fL,children:s})]}):v};const C=M;var D=t(91306),L={};L.styleTagTransform=h(),L.setAttributes=g(),L.insert=m().bind(null,"head"),L.domAPI=u(),L.insertStyleElement=v();l()(D.ZP,L);D.ZP&&D.ZP.locals&&D.ZP.locals;const z=function Video(e){var n=e.item,t=n.video,i=n.thumb;if(!t)return(0,a.jsx)(a.Fragment,{});if(t.includes("youtube.com")||t.includes("youtu.be")){if(i)return(0,a.jsx)("div",{className:D.E0});var r=new URL(t);return r.searchParams.set("autoplay","1"),r.searchParams.set("modestbranding","1"),r.searchParams.set("rel","0"),r.searchParams.set("controls","1"),r.searchParams.set("amp",""),(0,a.jsx)("iframe",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},src:r.toString(),referrerPolicy:"strict-origin-when-cross-origin",allow:"autoplay; gyroscope; picture-in-picture"},t)}return(0,a.jsx)("video",{className:D.$s,"aria-disabled":i,disablePictureInPicture:i,controls:!i,playsInline:!0,autoPlay:!i,children:(0,a.jsx)("source",{src:t+(i?"#t=2":""),type:t.includes(".mp4")?"video/mp4":"video/webm"})},t)};var S=t(75048),T={};T.styleTagTransform=h(),T.setAttributes=g(),T.insert=m().bind(null,"head"),T.domAPI=u(),T.insertStyleElement=v();l()(S.Z,T);S.Z&&S.Z.locals&&S.Z.locals;var O=t(12952),k=t(34988);function useContentItemNavigator_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function useContentItemNavigator_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?useContentItemNavigator_ownKeys(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):useContentItemNavigator_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var A=t(5304),P={};P.styleTagTransform=h(),P.setAttributes=g(),P.insert=m().bind(null,"head"),P.domAPI=u(),P.insertStyleElement=v();l()(A.ZP,P);A.ZP&&A.ZP.locals&&A.ZP.locals;var Z=(0,o.createContext)(void 0);function useContentItemNavigation(){var e=(0,o.useContext)(Z);if(!e)throw new Error("useContentItemNavigation must be used within a ContentItemNavigator");return e}function ContentItemNavigator(e){var n=e.initialItemId,t=e.initialItemCodex,i=e.initialItemConfiguration,r=e.children,s=function useContentItemNavigator(e){var n=e.initialItemId,t=e.initialItemCodex,i=e.initialItemConfiguration,r=(0,o.useState)({current:{id:n,codex:t,configuration:i},history:[]}),a=(0,k.Z)(r,2),s=a[0],d=a[1];(0,o.useEffect)((function(){d({current:{id:n,codex:t,configuration:i},history:[]})}),[n,t,i]);var l=(0,o.useCallback)((function(e){(e.id||e.codex)&&d((function(n){return{current:e,history:[].concat((0,O.Z)(n.history),[n.current])}}))}),[]),c=(0,o.useCallback)((function(){d((function(e){return 0===e.history.length?e:{current:e.history[e.history.length-1],history:e.history.slice(0,-1)}}))}),[]),u=(0,o.useCallback)((function(e){d((function(n){return useContentItemNavigator_objectSpread(useContentItemNavigator_objectSpread({},n),{},{current:useContentItemNavigator_objectSpread(useContentItemNavigator_objectSpread({},n.current),{},{title:e})})}))}),[]);return{contextValue:(0,o.useMemo)((function(){return{navigateTo:l,onContentItemLoaded:u,canGoBack:s.history.length>0,currentContentItem:s.current}}),[s.current,s.history.length]),navigateBack:c}}({initialItemId:n,initialItemCodex:t,initialItemConfiguration:i}),d=s.contextValue,l=s.navigateBack;return(0,a.jsx)(Z.Provider,{value:d,children:(0,a.jsxs)("div",{className:A.ry,id:"diva-content-item-navigator",children:[d.canGoBack&&(0,a.jsx)("button",{className:A.Rw,onClick:l,id:"diva-content-item-back-button","aria-label":"Go back"}),r]})})}const E=function Title(e){var n=e.item,t=n.text,i=n.style,r=useContentItemNavigation().navigateTo;if(!t)return(0,a.jsx)(a.Fragment,{});var o=processContentItemLinks(t,r);return(0,a.jsx)("h4",{className:S.T,style:i,children:o.content})};var Q=t(299),U={};U.styleTagTransform=h(),U.setAttributes=g(),U.insert=m().bind(null,"head"),U.domAPI=u(),U.insertStyleElement=v();l()(Q.Z,U);Q.Z&&Q.Z.locals&&Q.Z.locals;var _=t(37707),Y=t(31964),F=t(4010),B={};B.styleTagTransform=h(),B.setAttributes=g(),B.insert=m().bind(null,"head"),B.domAPI=u(),B.insertStyleElement=v();l()(F.ZP,B);F.ZP&&F.ZP.locals&&F.ZP.locals;function Gallery_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Gallery_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Gallery_ownKeys(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gallery_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var G=function Gallery(e){var n=e.item,t=n.content,i=n.wrappingStyle,s=n.disableFullscreen,d=n.initIndex,l=e.inFullscreen,c=(0,o.useState)(null),u=(0,k.Z)(c,2),p=u[0],m=u[1],w=(0,o.useState)(null),g=(0,k.Z)(w,2),x=g[0],v=g[1],f=(0,r.useDivaCore)().actions.openFullscreen;if(0==t.length)return(0,a.jsx)(a.Fragment,{});if(1==t.length)return(0,a.jsx)(V,{item:Gallery_objectSpread(Gallery_objectSpread({},t[0]),{disableFullscreen:s})});return(0,a.jsxs)("div",{id:"DivaContentItemGallery",style:Gallery_objectSpread(Gallery_objectSpread({},i),{},{position:"relative"}),className:"diva-stop-swipe-detection",children:[!l&&!s&&(0,a.jsx)("div",{className:F.yg,onClick:function openFullscreenClick(){f({absoluteFullscreen:!0,overwrittenZIndex:3e6,content:(0,a.jsxs)("div",{id:"diva-content-item",className:F.S2,children:[(0,a.jsx)(G,{item:{content:t,wrappingStyle:i,type:"Gallery",initIndex:null==x?void 0:x.activeIndex},inFullscreen:!0}),","]})})}}),(0,a.jsx)(_.tq,{style:{"--swiper-navigation-color":"#fff","--swiper-pagination-color":"#fff"},spaceBetween:10,navigation:!0,onSwiper:v,thumbs:{swiper:p&&!p.destroyed?p:null},modules:[Y.Rv,Y.W_,Y.o3],initialSlide:d,className:F.wn,children:t.map((function(e,n){return(0,a.jsx)(_.o5,{children:(0,a.jsx)(V,{item:Gallery_objectSpread(Gallery_objectSpread({},e),{},{inGallery:!0})})},n)}))}),(0,a.jsx)(_.tq,{onSwiper:m,spaceBetween:10,slidesPerView:4,freeMode:!0,watchSlidesProgress:!0,modules:[Y.Rv,Y.W_,Y.o3],className:F.pD,children:t.map((function(e,n){return(0,a.jsx)(_.o5,{children:(0,a.jsx)(V,{item:Gallery_objectSpread(Gallery_objectSpread({},e),{},{thumb:!0})})},n)}))})]})};const R=G;const W=function RichText(e){var n=e.item,t=n.text,i=n.style,r=(0,o.useRef)(null),s=useContentItemNavigation().navigateTo,d=processContentItemLinks(t,s);return(0,o.useEffect)((function(){if(r.current){var e=r.current.querySelectorAll(".content-item-link"),n=new Map;return e.forEach((function(e){var t=function event(n){var t,i;n.preventDefault();var r=null!==(t=e.getAttribute("data-content-item-id"))&&void 0!==t?t:void 0,o=null!==(i=e.getAttribute("data-content-item-codex"))&&void 0!==i?i:void 0;(o||r)&&s({id:r,codex:o})};n.set(e,t),e.addEventListener("click",t)})),function(){n.forEach((function(e,n){n.removeEventListener("click",e)}))}}}),[d.content,s]),(0,a.jsx)("div",{ref:r,style:i,dangerouslySetInnerHTML:{__html:d.content}})};const K=function Wrapper(e){var n=e.item,t=n.style,i=n.content;return(0,a.jsx)("div",{style:t,children:i.map((function(e,n){return(0,a.jsx)(V,{item:e},n)}))})};const V=function ContentItem(e){var n=e.item;switch(n.type){case"Gallery":return(0,a.jsx)(R,{item:n});case"Image":return(0,a.jsx)(C,{item:n});case"RichText":return(0,a.jsx)(W,{item:n});case"Title":return(0,a.jsx)(E,{item:n});case"URL":return(0,a.jsx)(j,{item:n});case"Video":return(0,a.jsx)(z,{item:n});case"Wrapper":return(0,a.jsx)(K,{item:n})}throw new Error("unkonwn type: "+n.type)};var H=t(84658),X=t(50747),J=t.n(X),q=t(47714);const $=function useContentItem(e){var n=e.onContentItemLoaded,t=(0,r.useDivaCore)().state,i=t.apiConfig,a=t.jwt,s=(0,r.useTranslation)().i18n,d=useContentItemNavigation(),l=d.currentContentItem,c=l.id,u=l.codex,p=l.configuration,m=d.onContentItemLoaded,w=(0,o.useState)(null!=p?p:{content:[]}),g=(0,k.Z)(w,2),x=g[0],v=g[1],f=(0,o.useDeferredValue)(x),h=(0,o.useTransition)(),b=(0,k.Z)(h,2),y=b[0],j=b[1],N=(0,o.useState)(!0),I=(0,k.Z)(N,2),M=I[0],C=I[1],D=(0,o.useState)(null),L=(0,k.Z)(D,2),z=L[0],S=L[1];return(0,o.useEffect)((function(){(c||u)&&(C(!0),S(null),function getContentItem(e,n,t,i){return _getContentItem.apply(this,arguments)}(i.catalogService,a,null!=c?c:u,s.language).then((function(e){j((function(){v(e);var t=e.content.filter((function(e){return"Title"===e.type&&e.text})).map((function(e){return e.text}));null==n||n(t[0]),m(t[0])}))})).catch((function(e){S(e)})).finally((function(){C(!1)})))}),[c,u]),(0,o.useEffect)((function(){p&&(j((function(){v(p);var e=p.content.filter((function(e){return"Title"===e.type&&e.text})).map((function(e){return e.text}));null==n||n(e[0]),m(e[0])})),S(null),C(!1))}),[p]),{configuration:x,deferredConfiguration:f,loading:M||y,error:z}};function _getContentItem(){return(_getContentItem=(0,H.Z)(J().mark((function _callee(e,n,t,i){var o,a,s,d;return J().wrap((function _callee$(l){for(;;)switch(l.prev=l.next){case 0:return o=e+"/contentItems/"+t+"?language="+i,l.prev=1,l.next=4,q.Z.get(o,{headers:{Authorization:"Bearer "+n}});case 4:if(a=l.sent,s=a.data,200===a.status){l.next=8;break}throw new r.DivaError(s.error||"Failed to get content item");case 8:return l.abrupt("return",s);case 11:if(l.prev=11,l.t0=l.catch(1),!q.Z.isAxiosError(l.t0)){l.next=15;break}throw new r.DivaError((null===(d=l.t0.response)||void 0===d||null===(d=d.data)||void 0===d?void 0:d.error)||"Could not get content item",{cause:l.t0});case 15:throw new r.DivaError("Could not get content item",{cause:l.t0});case 16:case"end":return l.stop()}}),_callee,null,[[1,11]])})))).apply(this,arguments)}var ee=t(28251),ne={};ne.styleTagTransform=h(),ne.setAttributes=g(),ne.insert=m().bind(null,"head"),ne.domAPI=u(),ne.insertStyleElement=v();l()(ee.Z,ne);ee.Z&&ee.Z.locals&&ee.Z.locals;function ErrorBox(e){var n=e.error;return(0,a.jsxs)("div",{className:ee.v,id:"diva-content-item-error-box",children:["Error: ",n.message||"An error occurred"]})}var te=t(9269),ie={};ie.styleTagTransform=h(),ie.setAttributes=g(),ie.insert=m().bind(null,"head"),ie.domAPI=u(),ie.insertStyleElement=v();l()(te.ZP,ie);te.ZP&&te.ZP.locals&&te.ZP.locals;function Loader(){return(0,a.jsx)("div",{className:te._m,id:"diva-content-item-loader",children:(0,a.jsx)("div",{})})}var re=t(65515),oe=t.n(re),ae=t(47950),se={};se.styleTagTransform=h(),se.setAttributes=g(),se.insert=m().bind(null,"head"),se.domAPI=u(),se.insertStyleElement=v();l()(ae.ZP,se);ae.ZP&&ae.ZP.locals&&ae.ZP.locals;const de=function ContentItems(e){var n,t=$(e),i=t.deferredConfiguration,r=t.loading,o=t.error;return(0,a.jsxs)("div",{className:ae.ZC,id:"diva-content-item",children:[r&&(0,a.jsx)(Loader,{}),(0,a.jsxs)("div",{className:oe()(ae.Fh,(0,s.Z)({},ae.V_,r)),children:[o&&(0,a.jsx)(ErrorBox,{error:o}),null===(n=i.content)||void 0===n?void 0:n.map((function(e,n){return(0,a.jsx)(V,{item:e},n)}))]})]})};var le=function ContentItemComponent(e){return(0,a.jsx)(ContentItemNavigator,{initialItemId:e.contentItemId,initialItemCodex:e.contentItemCodex,initialItemConfiguration:e.configuration,children:(0,a.jsx)(de,{onContentItemLoaded:e.onContentItemLoaded,wrapperStyle:e.wrapperStyle})})},ce=t(23987),ue=t(12299),pe={};pe.styleTagTransform=h(),pe.setAttributes=g(),pe.insert=m().bind(null,"head"),pe.domAPI=u(),pe.insertStyleElement=v();l()(ue.ZP,pe);ue.ZP&&ue.ZP.locals&&ue.ZP.locals;var me=t(22976),we=t.n(me),ge=(0,r.getLogger)("Planner","InfoBox");const xe=(0,i.Pi)((function ContentItemWrapper(e){var n,t=e.id,i=e.startPos,s=void 0===i?"left":i,d=e.noWrapper,l=(0,r.useDivaCore)().actions,c=l.openSideMenu,u=l.closeSideMenu,p=(0,o.useRef)(null),m=(0,ce.NP)();if((0,o.useEffect)((function(){t&&m.getIsInMobileView()&&c({side:"left",onClose:function onClose(){m.settingsState.setContentItemId(),u()},open:!0,content:(0,a.jsx)("div",{className:oe()(ue.ai),children:(0,a.jsx)(le,{contentItemId:t,wrapperStyle:{display:"flex",flexDirection:"column",height:"100%"},onContentItemLoaded:function onContentItemLoaded(e){ge.businessEvent("onLoadInfoBox","InfoBox","Lade Infobox",{id:t,title:null!=e?e:void 0})}})})})}),[t]),m.getIsInMobileView())return(0,a.jsx)(a.Fragment,{});if(d)return(0,a.jsx)(le,{contentItemId:t,wrapperStyle:{display:"flex",flexDirection:"column",maxHeight:"inherit"},onContentItemLoaded:function onContentItemLoaded(e){ge.businessEvent("onLoadInfoBox","InfoBox","Lade Infobox",{id:t,title:null!=e?e:void 0})}});var w=null===(n=m.productState.productElement)||void 0===n?void 0:n.getBoundingClientRect();return(0,a.jsx)(we(),{nodeRef:p,handle:".handle",bounds:"parent",defaultPosition:"right"==s?{x:null!=w&&w.width?(null==w?void 0:w.width)-508:0,y:0}:void 0,children:(0,a.jsxs)("div",{ref:p,className:ue.YS,style:{maxHeight:null!=w&&w.height&&w.height<720?(null==w?void 0:w.height)-20:700},children:[(0,a.jsxs)("div",{className:ue.Fs,children:[(0,a.jsx)("div",{className:oe()("handle",ue.pr)}),(0,a.jsx)("div",{className:ue.UF,onClick:function onClick(){return m.settingsState.setContentItemId()}})]}),(0,a.jsx)(le,{contentItemId:t,wrapperStyle:{display:"flex",flexDirection:"column",maxHeight:"inherit"},onContentItemLoaded:function onContentItemLoaded(e){ge.businessEvent("onLoadInfoBox","InfoBox","Lade Infobox",{id:t,title:null!=e?e:void 0})}})]})})}))},5304:(e,n,t)=>{t.d(n,{Rw:()=>d,ZP:()=>l,ry:()=>s});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--eliSU {\n position: relative;\n width: 100%;\n}\n\n.index-module--E0Oqn {\n position: absolute;\n top: 12px;\n left: 8px;\n z-index: 2;\n background: none;\n border: none;\n cursor: pointer;\n font-size: 20px;\n color: #666;\n transition: color 0.2s ease;\n border-radius: 50%;\n width: 34px;\n height: 34px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 4px;\n}\n.index-module--E0Oqn:after {\n content: '←';\n display: block;\n text-align: center;\n}\n\n.index-module--E0Oqn:hover {\n color: #333;\n background-color: rgba(0, 0, 0, 0.05);\n}\n",""]);var s="index-module--eliSU",d="index-module--E0Oqn";const l=a},47950:(e,n,t)=>{t.d(n,{Fh:()=>d,V_:()=>l,ZC:()=>s,ZP:()=>c});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--BscFv {\n min-height: 60px;\n position: relative;\n width: calc(100% - 80px);\n padding-left: 40px;\n}\n\n.index-module--eScDq {\n transition: opacity 0.2s ease-in-out;\n}\n.index-module--eScDq.index-module--IUOxd {\n opacity: 0.5;\n}\n",""]);var s="index-module--BscFv",d="index-module--eScDq",l="index-module--IUOxd";const c=a},28251:(e,n,t)=>{t.d(n,{Z:()=>d,v:()=>s});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--QKTj_ {\n color: red;\n text-align: center;\n padding: 20px;\n border: 1px solid red;\n background-color: #ffeeee;\n border-radius: 4px;\n}\n",""]);var s="index-module--QKTj_";const d=a},4010:(e,n,t)=>{t.d(n,{S2:()=>p,ZP:()=>x,pD:()=>g,wn:()=>w,yg:()=>m});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(60754),t.b),c=a()(r()),u=d()(l);c.push([e.id,"#diva-content-item .swiper {\n width: 100%;\n height: 100%;\n}\n#diva-content-item .swiper-slide {\n text-align: center;\n font-size: 18px;\n background: #fff;\n\n /* Center slide text vertically */\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.index-module--IoD5D {\n display: flex;\n justify-content: center;\n align-items: center;\n background: #fff;\n position: relative;\n height: 100%;\n width: 100%;\n z-index: 2000005;\n}\n\n.index-module--gCweM {\n cursor: pointer;\n position: absolute;\n width: 20px;\n height: 20px;\n top: 16px;\n right: 8px;\n border-radius: 3px;\n z-index: 1000;\n background: center / 75% no-repeat rgba(255,255,255,0.53333) url("+u+");\n}\n\n.mobile #diva-content-item .swiper-slide {\n background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n background: initial;\n}\n\n#diva-content-item .swiper {\n width: 100%;\n height: 350px;\n margin-left: auto;\n margin-right: auto;\n}\n\n.diva-fullscreen #DivaContentItemGallery {\n height: 90% !important;\n width: 90% !important;\n}\n\n.diva-fullscreen #diva-content-item .index-module--OxIZN {\n height: 100%;\n}\n\n#diva-content-item .swiper-slide {\n background-size: cover;\n background-position: center;\n}\n#diva-content-item .index-module--OxIZN {\n height: 80%;\n width: 100%;\n}\n#diva-content-item .index-module--rtXCE {\n height: 20%;\n box-sizing: border-box;\n padding: 10px 0;\n}\n#diva-content-item .index-module--rtXCE .swiper-slide {\n width: 25%;\n height: 100%;\n opacity: 0.4;\n}\n#diva-content-item .index-module--rtXCE .swiper-slide-thumb-active {\n opacity: 1;\n}\n",""]);var p="index-module--IoD5D",m="index-module--gCweM",w="index-module--OxIZN",g="index-module--rtXCE";const x=c},74787:(e,n,t)=>{t.d(n,{S2:()=>x,ZP:()=>v,fL:()=>m,kW:()=>p,tT:()=>w,yg:()=>g});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(60754),t.b),c=a()(r()),u=d()(l);c.push([e.id,".index-module--BWa4l {\n display: flex;\n flex-direction: column;\n gap: 6px;\n justify-content: center;\n position: relative;\n}\n\n.index-module--g4vSg {\n overflow: auto;\n text-align: center;\n font-size: 14px;\n}\n\n.index-module--XtLKV {\n position: relative;\n}\n\n.index-module--ldjKX {\n cursor: pointer;\n position: absolute;\n width: 20px;\n height: 20px;\n top: 16px;\n right: 8px;\n border-radius: 3px;\n z-index: 1000;\n background: center / 75% no-repeat rgba(255,255,255,0.53333) url("+u+");\n}\n\n.index-module--zw0KV {\n display: flex;\n justify-content: center;\n align-items: center;\n background: #fff;\n position: relative;\n height: 100%;\n width: 100%;\n z-index: 2000005;\n}\n",""]);var p="index-module--BWa4l",m="index-module--g4vSg",w="index-module--XtLKV",g="index-module--ldjKX",x="index-module--zw0KV";const v=c},9269:(e,n,t)=>{t.d(n,{ZP:()=>d,_m:()=>s});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--tWTgE {\n width: 100%;\n height: 4px;\n background-color: #f3f3f3;\n position: absolute;\n top: 0;\n left: 0;\n overflow: hidden;\n z-index: 1;\n}\n\n.index-module--tWTgE div {\n position: absolute;\n width: 50%;\n height: 100%;\n background-color: #3498db;\n animation: index-module--FDAPU 1s infinite ease-in-out;\n}\n\n@keyframes index-module--FDAPU {\n 0% {\n transform: translateX(-100%);\n }\n 100% {\n transform: translateX(200%);\n }\n}\n",""]);var s="index-module--tWTgE";const d=a},75048:(e,n,t)=>{t.d(n,{T:()=>s,Z:()=>d});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--uEwKl {\n font-size: 18px;\n font-weight: 500;\n}\n",""]);var s="index-module--uEwKl";const d=a},3842:(e,n,t)=>{t.d(n,{Z:()=>d,f:()=>s});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o)()(r());a.push([e.id,".index-module--JVQuz {\n margin-top: 12px;\n margin-bottom: 12px;\n text-align: right;\n position: relative;\n display: block;\n width: 100%;\n}\n",""]);var s="index-module--JVQuz";const d=a},91306:(e,n,t)=>{t.d(n,{$s:()=>p,E0:()=>m,ZP:()=>w});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(81724),t.b),c=a()(r()),u=d()(l);c.push([e.id,".index-module--dsgPM {\n width: 100%;\n max-height: 100%;\n}\n\n.index-module--zjkX4 {\n background: center / 75% no-repeat url("+u+");\n width: 100%;\n height: 100%;\n}\n",""]);var p="index-module--dsgPM",m="index-module--zjkX4";const w=c},12299:(e,n,t)=>{t.d(n,{Fs:()=>m,UF:()=>g,YS:()=>p,ZP:()=>v,ai:()=>x,pr:()=>w});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(76380),t.b),c=a()(r()),u=d()(l);c.push([e.id,".index-module--iorwa {\n z-index: 1000;\n position: absolute;\n display: flex;\n background: white;\n width: 450px;\n flex-direction: column;\n\n color: #4f4f4f;\n font-size: 15px;\n box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25098);\n border-radius: 5px;\n top: 0;\n margin: 4px;\n}\n\n.index-module--U836J {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n position: absolute;\n z-index: 1100;\n}\n\n.index-module--jHvNX {\n cursor: move;\n flex-grow: 1;\n}\n\n.index-module--XBhn6 {\n padding: 12px;\n z-index: 1002;\n width: -moz-max-content;\n width: max-content;\n width: 36px;\n height: 36px;\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 28%;\n background-image: url("+u+");\n transition: background-size 100ms ease-in;\n cursor: pointer;\n}\n\n.index-module--XBhn6:hover {\n background-size: 36%;\n cursor: pointer;\n}\n\n.index-module--sVOQy {\n height: 100%;\n}\n",""]);var p="index-module--iorwa",m="index-module--U836J",w="index-module--jHvNX",g="index-module--XBhn6",x="index-module--sVOQy";const v=c},299:(e,n,t)=>{t.d(n,{Z:()=>p});var i=t(8081),r=t.n(i),o=t(23645),a=t.n(o),s=t(61667),d=t.n(s),l=new URL(t(64197),t.b),c=a()(r()),u=d()(l);c.push([e.id,"/*Free mode*/\n#diva-content-item .swiper-free-mode > .swiper-wrapper {\n transition-timing-function: ease-out;\n margin: 0 auto;\n}\n/*navigation*/\n:root {\n --swiper-navigation-size: 44px;\n}\n#diva-content-item .swiper-button-next,\n#diva-content-item .swiper-button-prev {\n position: absolute;\n top: 50%;\n width: calc(44px / 44 * 27);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: 44px;\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (44px / 2));\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #007aff;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n#diva-content-item .swiper-button-next.swiper-button-disabled,\n#diva-content-item .swiper-button-prev.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n#diva-content-item .swiper-button-next.swiper-button-hidden,\n#diva-content-item .swiper-button-prev.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n#diva-content-item .swiper-navigation-disabled .swiper-button-next,\n#diva-content-item .swiper-navigation-disabled .swiper-button-prev {\n display: none !important;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-button-prev:after {\n text-transform: none !important;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-button-prev:after {\n font-family: swiper-icons;\n font-size: 44px;\n font-size: var(--swiper-navigation-size);\n letter-spacing: 0;\n font-feature-settings: ;\n font-variant: normal;\n font-variant: initial;\n line-height: 1;\n}\n#diva-content-item .swiper-button-prev,\n#diva-content-item .swiper-rtl .swiper-button-next {\n left: 10px;\n right: auto;\n}\n#diva-content-item .swiper-button-prev:after,\n#diva-content-item .swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n#diva-content-item .swiper-button-next,\n#diva-content-item .swiper-rtl .swiper-button-prev {\n right: 10px;\n left: auto;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n#diva-content-item .swiper-button-lock {\n display: none;\n}\n\n/*swiper min css*/\n\n@font-face {\n font-family: swiper-icons;\n src: url("+u+');\n font-weight: 400;\n font-style: normal;\n}\n:root {\n --swiper-theme-color: #007aff;\n}\n#diva-content-item .swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n}\n#diva-content-item .swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n#diva-content-item .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n box-sizing: content-box;\n}\n#diva-content-item .swiper-android .swiper-slide,\n#diva-content-item .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n#diva-content-item .swiper-pointer-events {\n touch-action: pan-y;\n}\n#diva-content-item .swiper-pointer-events.swiper-vertical {\n touch-action: pan-x;\n}\n#diva-content-item .swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n}\n#diva-content-item .swiper-slide-invisible-blank {\n visibility: hidden;\n}\n#diva-content-item .swiper-autoheight,\n#diva-content-item .swiper-autoheight .swiper-slide {\n height: auto;\n}\n#diva-content-item .swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n#diva-content-item .swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n#diva-content-item .swiper-3d,\n#diva-content-item .swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n#diva-content-item .swiper-3d .swiper-cube-shadow,\n#diva-content-item .swiper-3d .swiper-slide,\n#diva-content-item .swiper-3d .swiper-slide-shadow,\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom,\n#diva-content-item .swiper-3d .swiper-slide-shadow-left,\n#diva-content-item .swiper-3d .swiper-slide-shadow-right,\n#diva-content-item .swiper-3d .swiper-slide-shadow-top,\n#diva-content-item .swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow,\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom,\n#diva-content-item .swiper-3d .swiper-slide-shadow-left,\n#diva-content-item .swiper-3d .swiper-slide-shadow-right,\n#diva-content-item .swiper-3d .swiper-slide-shadow-top {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {\n display: none;\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n}\n#diva-content-item .swiper-horizontal.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n}\n#diva-content-item .swiper-vertical.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n}\n#diva-content-item .swiper-centered > .swiper-wrapper::before {\n content: \'\';\n flex-shrink: 0;\n order: 9999;\n}\n[dir="ltr"] #diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-left: var(--swiper-centered-offset-before);\n}\n[dir="rtl"] #diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-right: var(--swiper-centered-offset-before);\n}\n#diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n}\n#diva-content-item .swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {\n margin-top: var(--swiper-centered-offset-before);\n}\n#diva-content-item .swiper-centered.swiper-vertical > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n}\n#diva-content-item .swiper-centered > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n}\n',""]);const p=c},81724:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjgwMHB4IiB3aWR0aD0iODAwcHgiIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgCgkgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMzkuMjU2LDYuNUg5Ljc0NEM0LjM3MSw2LjUsMCwxMC44ODUsMCwxNi4yNzR2MTYuNDUxYzAsNS4zOSw0LjM3MSw5Ljc3NCw5Ljc0NCw5Ljc3NGgyOS41MTIKCQkJYzUuMzczLDAsOS43NDQtNC4zODUsOS43NDQtOS43NzRWMTYuMjc0QzQ5LDEwLjg4NSw0NC42MjksNi41LDM5LjI1Niw2LjV6IE00NywzMi43MjZjMCw0LjI4Ny0zLjQ3NCw3Ljc3NC03Ljc0NCw3Ljc3NEg5Ljc0NAoJCQlDNS40NzQsNDAuNSwyLDM3LjAxMiwyLDMyLjcyNlYxNi4yNzRDMiwxMS45ODgsNS40NzQsOC41LDkuNzQ0LDguNWgyOS41MTJjNC4yNywwLDcuNzQ0LDMuNDg4LDcuNzQ0LDcuNzc0VjMyLjcyNnoiLz4KCQk8cGF0aCBkPSJNMzMuMzYsMjQuMTM4bC0xMy44NTUtOC4xMTVjLTAuMzA4LTAuMTgtMC42OTEtMC4xODMtMS4wMDItMC4wMDVTMTgsMTYuNTI3LDE4LDE2Ljg4NnYxNi4yMjkKCQkJYzAsMC4zNTgsMC4xOTIsMC42OSwwLjUwMiwwLjg2OG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