PageSourceSearch

https://www.yzd.ca/_nuxt/BFFXrVxd.js

js yzd.ca collected 2026-09-28 14:38:46 UTC 11,017 bytes, 24 lines download raw bytes

1import{s as m,n as u,a as b,b as v,g as p,S as y,u as S,c as x,p as l}from"./BkInvZeJ.js";const C=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}",z="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class k{}const h=typeof window>"u"||typeof HTMLElement>"u"?k:HTMLElement,w=`<svg width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>
2    `,c=(r,s)=>{if(typeof CSSStyleSheet<"u"&&r.adoptedStyleSheets){const e=new CSSStyleSheet;e.replaceSync(s),r.adoptedStyleSheets=[e]}else{const e=document.createElement("style");e.rel="stylesheet",e.textContent=s,r.appendChild(e)}};class f extends h{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return w}static get prevButtonSvg(){return w.replace("/></svg>",' transform-origin="center" transform="rotate(180)"/></svg>')}cssStyles(){return[C,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(`
3`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const s=this.slideSlots||0,e=[...this.querySelectorAll("[slot^=slide-]")].map(t=>parseInt(t.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=e.length?Math.max(...e)+1:0,!!this.rendered){if(this.slideSlots>s)for(let t=s;t<this.slideSlots;t+=1){const i=document.createElement("swiper-slide");i.setAttribute("part",`slide slide-${t+1}`);const o=document.createElement("slot");o.setAttribute("name",`slide-${t+1}`),i.appendChild(o),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(i)}else if(this.slideSlots<s){const t=this.swiper.slides;for(let i=t.length-1;i>=0;i-=1)i>this.slideSlots&&t[i].remove()}}}
3render(){if(this.rendered)return;this.calcSlideSlots();let s=this.cssStyles();this.slideSlots>0&&(s=s.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),s.length&&c(this.shadowRoot,s),this.cssLinks().forEach(t=>{if(this.shadowRoot.querySelector(`link[href="${t}"]`))return;const o=document.createElement("link");o.rel="stylesheet",o.href=t,this.shadowRoot.appendChild(o)});const e=document.createElement("div");e.classList.add("swiper"),e.part="container",m(e,`
4      <slot name="container-start"></slot>
5      <div class="swiper-wrapper" part="wrapper">
6        <slot></slot>
7        ${Array.from({length:this.slideSlots}).map((t,i)=>`
8        <swiper-slide part="slide slide-${i}">
9          <slot name="slide-${i}"></slot>
10        </swiper-slide>
11        `).join("")}
12      </div>
13      <slot name="container-end"></slot>
14      ${u(this.passedParams)?`
15        <div part="button-prev" class="swiper-button-prev">${this.constructor.prevButtonSvg}</div>
16        <div part="button-next" class="swiper-button-next">${this.constructor.nextButtonSvg}</div>
17      `:""}
18      ${b(this.passedParams)?`
19        <div part="pagination" class="swiper-pagination"></div>
20      `:""}
21      ${v(this.passedParams)?`
22        <div part="scrollbar" class="swiper-scrollbar"></div>
23      `:""}
24    `),this.shadowRoot.appendChild(e),this.rendered=!0}initialize(){var s=this;if(this.swiper&&this.swiper.initialized)return;const{params:e,passedParams:t}=p(this);this.swiperParams=e,this.passedParams=t,delete this.swiperParams.init,this.render(),this.swiper=new y(this.shadowRoot.querySelector(".swiper"),{...e.virtual?{}:{observer:!0},...e,touchEventsTarget:"container",onAny:function(i){i==="observerUpdate"&&s.calcSlideSlots();const o=e.eventsPrefix?`${e.eventsPrefix}${i.toLowerCase()}`:i.toLowerCase();for(var n=arguments.length,d=new Array(n>1?n-1:0),a=1;a<n;a++)d[a-1]=arguments[a];const g=new CustomEvent(o,{detail:d,bubbles:i!=="hashChange",cancelable:!0});s.dispatchEvent(g)}})}connectedCallback(){this.swiper&&this.swiper.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.init===!1||this.getAttribute("init")==="false"||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(s,e){const{params:t,passedParams:i}=p(this,s,e);this.passedParams=i,this.swiperParams=t,!(this.swiper&&this.swiper.params[s]===e)&&S({swiper:this.swiper,passedParams:this.passedParams,changedParams:[x(s)],...s==="navigation"&&i[s]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},...s==="pagination"&&i[s]?{paginationEl:".swiper-pagination"}:{},...s==="scrollbar"&&i[s]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(s,e,t){this.swiper&&this.swiper.initialized&&(e==="true"&&t===null&&(t=!1),this.updateSwiperOnPropChange(s,t))}static get observedAttributes(){return l.filter(e=>e.includes("_")).map(e=>e.replace(/[A-Z]/g,t=>`-${t}`).replace("_","").toLowerCase())}}l.forEach(r=>{r!=="init"&&(r=r.replace("_",""),Object.defineProperty(f.prototype,r,{configurable:!0,get(){return(this.passedParams||{})[r]},set(s){this.passedParams||(this.passedParams={}),this.passedParams[r]=s,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(r,s)}}))});class E extends h{constructor(){super(),this.attachShadow({mode:"open"})}render(){const s=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(c(this.shadowRoot,z),this.shadowRoot.appendChild(document.createElement("slot")),s){const e=document.createElement("div");e.classList.add("swiper-lazy-preloader"),e.part.add("preloader"),this.shadowRoot.appendChild(e)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}}const L=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",f),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",E))};typeof window<"u"&&(window.SwiperElementRegisterParams=r=>{l.push(...r)});export{f as SwiperContainer,E as SwiperSlide,L as register};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.