PageSourceSearch

https://www.worlddancesport.org/dist/discipline.eb2ea9e0.js

js worlddancesport.org collected 2026-09-24 09:20:25 UTC 8,196 bytes, 18 lines download raw bytes

1"use strict";(self.webpackChunkwdsf_public=self.webpackChunkwdsf_public||[]).push([[1997],{7791:(function(c,r,t){var h=t(8605),p=t(8378),m=t(2949),g=t(2928);t(4130),t(7996),t(8879),(0,p.o)()}),2116:(function(c,r,t){t.d(r,{u:function(){return N}});var h=t(8111),p=t.n(h),m=t(7588),g=t.n(m),C=t(805),y=t.n(C),D=t(3525),P=t.n(D),W=t(1644),O=t(6994),A=t.n(O),I=t(4342),f=t(5764),i=function(d,s,a,o,L){if(o==="m")throw new TypeError("Private method is not writable");if(o==="a"&&!L)throw new TypeError("Private accessor was defined without a setter");if(typeof s=="function"?d!==s||!L:!s.has(d))throw new TypeError("Cannot write private member to an object whose class did not declare it");return o==="a"?L.call(d,a):L?L.value=a:s.set(d,a),a},e=function(d,s,a,o){if(a==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof s=="function"?d!==s||!o:!s.has(d))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?o:a==="a"?o.call(d):o?o.value:s.get(d)},n,_,E,v,T,l,M,R,u,K,B,x,S,F,H,G,U;class N{constructor({container:s,filterProvider:a,nextPageElement:o,showTooltips:L}){n.add(this),_.set(this,void 0),E.set(this,void 0),v.set(this,void 0),T.set(this,void 0),l.set(this,void 0),M.set(this,void 0),R.set(this,void 0),u.set(this,void 0),K.set(this,void 0),B.set(this,void 0),i(this,_,s,"f"),i(this,B,L??!1,"f"),i(this,K,a,"f"),i(this,v,1,"f"),i(this,T,"","f"),i(this,u,0,"f"),i(this,M,o,"f");const j=document.createElement("div");j.style.position="absolute",j.style.left="-9999em",i(this,E,document.body.appendChild(j),"f"),e(this,M,"f")&&e(this,M,"f").addEventListener("click",()=>this.nextPage()),(0,f.Rk)(e(this,_,"f"),"click",".js-show-info",w=>{const z=w.target.closest(".js-show-info");if(!z)return;(0,f.jo)(w);const $=document.createElement("dialog");$.innerHTML=z.querySelector(".mediaitems__info__content").innerHTML,$.classList.add("mediaitems__info__dialog");const b=document.body.appendChild($);b.addEventListener("click",()=>b.close()),b.showModal()}),(0,W.Ts)({})}async load(){i(this,v,1,"f"),e(this,_,"f").innerHTML="",e(this,l,"f")&&e(this,l,"f").layout(),(await e(this,n,"m",x).call(this))?.forEach(a=>e(this,n,"m",S).call(this,a))}async nextPage(){var s;i(this,v,(s=e(this,v,"f"),s++,s),"f");const a=await e(this,n,"m",x).call(this);!a&&e(this,l,"f")&&e(this,l,"f").layout(),a?.forEach(o=>e(this,n,"m",S).call(this,o))}dispose(){e(this,l,"f").destroy(),e(this,E,"f").remove()}}_=new WeakMap,E=new WeakMap,v=new WeakMap,T=new WeakMap,l=new WeakMap,M=new WeakMap,R=new WeakMap,u=new WeakMap,K=new WeakMap,B=new WeakMap,n=new WeakSet,x=async function(){e(this,M,"f")&&(0,f.ME)(e(this,M,"f")),e(this,n,"m",G).call(this);const s=e(this,K,"f").call(this),a=await(0,W.tN)("/api/listitems/media",{PageIndex:e(this,v,"f"),ExclusiveTags:s.exclusiveTags,InclusiveTags:s.inclusiveTags,OptionalTags:s.tags,CollectionId:s.collectionId,Kind:s.kind??["Video","Image"],PrevFilter:e(this,T,"f"),PageSize:s.pageSize??8});if(a.wasAborted)return null;if(!a.success)return e(this,n,"m",U).call(this),e(this,_,"f").innerText="Could not load items ...",null;a.data,i(this,T,a.data.prevFilter,"f");const o=a.data.items;return o.length===0&&e(this,n,"m",U).call(this),o},S=function(s){var a;let o=`<h2>${s.title}</h2>`;s.description&&(o+="<p>"+s.description.replaceAll('"',"'").replaceAll("|","<br>")+"</p>");const L=e(this,B,"f")?`data-bs-toggle="tooltip" data-bs-html="true" title="${o}"`:"",j=`<span class="mediaitems__info js-show-info">
2                            <i class="fal fa-circle-info"></i>
3                            <span class="mediaitems__info__content">${o}</span>
4                    </span>`;s.kind==="Video"?e(this,E,"f").insertAdjacentHTML("beforeend",`<a href="${s.url}" class="mediaitems__container mediaitems__container--video" ${L} >
5                <div class="mediaitems__video">
6                    <img src="${s.thumb}" alt="${s.title}">
7                    <span class="mediaitems__video__playbutton"></span>
8                    ${j}
9                </div>
10            </a>`):s.kind==="Image"?e(this,E,"f").insertAdjacentHTML("beforeend",`<a href="${s.url}" class="mediaitems__container mediaitems__container--image"${L} >
11                <div class="mediaitems__image">
12                    <img src="${s.thumb}" alt="${s.title}">
13                    ${j}
14                </div>
15            </a>`):e(this,E,"f").insertAdjacentHTML("beforeend",`<a href="${s.url}" class="mediaitems__container mediaitems__container--audio" ${L}>
16                <img src="${s.thumb}" alt="${s.title}">
17                    ${j}
18            </a>`);const w=e(this,E,"f").querySelector(".mediaitems__container:last-child img");i(this,u,(a=e(this,u,"f"),a++,a),"f"),w.addEventListener("load",()=>e(this,n,"m",H).call(this,w)),w.addEventListener("error",()=>e(this,n,"m",F).call(this,w))},F=function(s){var a;i(this,u,(a=e(this,u,"f"),a--,a),"f"),e(this,u,"f")==0&&e(this,n,"m",U).c
18all(this),e(this,M,"f")&&e(this,u,"f")===0&&(0,f.lL)(e(this,M,"f")),s.closest(".mediaitems__container").remove()},H=function(s){var a;if(i(this,u,(a=e(this,u,"f"),a--,a),"f"),e(this,u,"f")==0&&e(this,n,"m",U).call(this),e(this,M,"f")&&e(this,u,"f")===0&&(0,f.lL)(e(this,M,"f")),s.classList.contains("loaded"))return;s.classList.add("loaded"),e(this,l,"f")||i(this,l,new O(e(this,_,"f"),{itemSelector:".mediaitems__container",gutter:document.querySelector(".media__container .gutter-sizer"),fitWidth:!1,columnWidth:document.querySelector(".media__container .grid-sizer"),percentPosition:!0}),"f");const o=s.closest(".mediaitems__container");e(this,_,"f").appendChild(o),e(this,l,"f").appended([s.closest(".mediaitems__container")]),e(this,l,"f").layout(),e(this,B,"f")&&(0,I.y)()},G=function(){e(this,n,"m",U).call(this);const s=document.createElement("div");s.classList.add("loading"),e(this,_,"f").after(s),i(this,R,e(this,_,"f").nextElementSibling,"f")},U=function(){e(this,R,"f")&&(e(this,R,"f").remove(),i(this,R,void 0,"f"))}}),2928:(function(c,r,t){var h=t(2522),p=t.n(h);t(7358);const m=document.querySelector(".slideshow_news");
18if(m){const g=new(p())(m,{cellAlign:"left",contain:!0,draggable:!0,setGallerySize:!0,autoPlay:!1,prevNextButtons:!1,groupCells:"100%",pageDots:!1,on:{ready:()=>m.classList.add("flickity-ready")}});document.querySelector(".news__controls__next").addEventListener("click",()=>{g.next()}),document.querySelector(".news__controls__prev").addEventListener("click",()=>{g.previous()})}}),4342:(function(c,r,t){t.d(r,{y:function(){return D}});var h=t(8111),p=t.n(h),m=t(7588),g=t.n(m),C=t(3029),y=t.n(C);document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(P=>new(y())(P));function D(){document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(P=>new(y())(P))}}),2949:(function(c,r,t){var h=t(8111),p=t.n(h),m=t(7588),g=t.n(m),C=t(2116);t(1451);const y=new IntersectionObserver(P,{root:null,rootMargin:"20px",threshold:0}),D=document.querySelector("[data-mediaitems]");D&&y.observe(D);function P(O,A){O.forEach(I=>{if(!I.isIntersecting)return;const f=I.target;window.requestIdleCallback?window.requestIdleCallback(()=>{W(f)},{timeout:100}):W(f),A.unobserve(f)})}function W(O){const A=O.dataset.tags?.split(",")||[],I=O.dataset.excludeTags?.split(",")||[];new C.u({container:O.querySelector(".mediaitems"),filterProvider:()=>({tags:A,exclusiveTags:I})}).load()}}),8879:(function(c,r,t){t.r(r)}),4130:(function(c,r,t){t.r(r)}),7358:(function(c,r,t){t.r(r)}),1451:(function(c,r,t){t.r(r)}),2489:(function(c,r,t){var h=t(6518),p=t(9565),m=t(9306),g=t(8551),C=t(1767),y=t(9462),D=t(6319),P=t(6395),W=t(9539),O=t(684),A=t(4549),I=!P&&!O("filter",function(){}),f=!P&&!I&&A("filter",TypeError),i=P||I||f,e=y(function(){for(var n=this.iterator,_=this.predicate,E=this.next,v,T,l;;){if(v=g(p(E,n)),T=this.done=!!v.done,T)return;if(l=v.value,D(n,_,[l,this.counter++],!0))return l}});h({target:"Iterator",proto:!0,real:!0,forced:i},{filter:function(_){g(this);try{m(_)}catch(E){W(this,"throw",E)}return f?p(f,this,_):new e(C(this),{predicate:_})}})})},function(c){var r=function(h){return c(c.s=h)};c.O(0,[7055,3784,3029,7955,6994,2522,4781,2944,8378],function(){return r(7791)});var t=c.O()}]);

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.