PageSourceSearch

https://www.konferencje.pl/build/facility-panel-conference-pricing.a2739fac.js

js konferencje.pl collected 2026-10-04 02:17:40 UTC 3,529 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6841],{98123(e,t,r){r.d(t,{A:()=>c}),Object.defineProperty(c,"name",{value:"default",configurable:!0});r(18111),r(20116),r(65239);var n=r(74692);let a=null;function c(e){return new Promise((t,r)=>{a=n.fn.dialogue({closeIcon:!0,open:async()=>{const t=await(await fetch(e,{redirect:"error"})).text();a.find(".modal-body").html(t)},submit:e=>{e.preventDefault();const c=a.find("form");n.post(c.attr("action"),c.serialize()).done(()=>{t(),a.modal("hide")}).fail(r)}})})}},15980(e,t,r){r.d(t,{$:()=>a,e:()=>n});const n=e=>e.getFullYear()+"-"+(1+e.getMonth())+"-"+e.getDate(),a=e=>Intl.NumberFormat("pl",{style:"currency",currency:"PLN"}).format(e/100).replace(/,00/,"")},17155(e,t,r){r.r(t);r(44114),r(58335);var n=r(64895),a=r(51836),c=r(41868),o=r(98123),s=r(15980);let l=[],i=0;const d=({text:e},t)=>t("strong",{className:"text-dark"},e),u=e=>({el:t})=>{const r=document.createElement("th");r.setAttribute("class","fc-col-header-cell"),r.setAttribute("width","25%"),t.querySelector(".fc-col-header tr").insertAdjacentElement("afterbegin",r);const n=e.querySelector(".fc-header-toolbar");n.setAttribute("class",n.getAttribute("class")+" sticky-top");for(const t of e.querySelectorAll("button"))t.setAttribute("class","btn btn-primary");for(const t of e.querySelectorAll("button[aria-label]"))t.setAttribute("class","btn btn-outline-primary")},f=({event:e})=>{const{price:t,promo:r,isOverridden:n}=e.extendedProps,a=n?r>t?`<span class='fc-price-up' title="${(0,s.$)(r-t)}">&uarr;</span>`:`<span class='fc-price-down' title="${(0,s.$)(r-t)}">&darr;</span>`:"";return{html:`<span class="fc-room fc-room-price">${r?`<span class="fc-price-new">${(0,s.$)(r)}${a}</span>`:`<span class="fc-price-default">${(0,s.$)(t)}</span>`}</span>`}},p=()=>{if(++i,0!=i%(7*l.length*5))return;i=0;const e=document.querySelector(".fc-scrollgrid-sync-table > tbody");for(const t of e.querySelectorAll("tr")){if(8===t.querySelectorAll("td").length)continue;const e=document.createElement("td");e.setAttribute("class","fc-daygrid-day"),e.setAttribute("width","25%");for(const{name:t}of l){const r=document.createElement("span");r.setAttribute("class","fc-room fc-room-before"),r.setAttribute("title",t),r.innerText=t,e.appendChild(r)}e.insertAdjacentHTML("afterbegin",'<div class="fc-daygrid-day-top fc-daygrid-day-empty"><a class="fc-daygrid-day-number">&nbsp;</a></div>'),t.prepend(e)}},m=(e,t)=>r=>{const[n,a]=r?[e,t]:[t,e];n.setAttribute("data-hidden",""),a.removeAttribute("data-hidden")};((e,t)=>{const r=e.dataset.loadUrl,i=e.dataset.loadFormUrl,b=e.dataset.btnPricesText;l=JSON.parse(e.dataset.rooms);const y=document.createElement("div");e.appendChild(y);const h=new n.VvS(y,{plugins:[a.Ay],locales:[c.A],locale:"pl",initialView:"dayGridMonth",contentHeight:"auto",fixedWeekCount:!1,lazyFetching:!1,customButtons:{setPricesButton:{text:b,click:()=>(0,o.A)(i).then(()=>h.refetchEvents())}},headerToolbar:{left:"setPricesButton prev,next title",right:""},events:(g=r,async({start:e,end:t},r)=>{const n=await fetch(g+"?from="+(0,s.e)(e)+"&to="+(0,s.e)(t)).then(e=>e.json()),a=[];for(const r=e;r<=t;r.setDate(r.getDate()+1))for(const{id:e,price:t}of l){const c=(0,s.e)(r),o=e+"_"+c,l=n[c]||{},i=l[e]||null;a.push({id:o,price:t,promo:i,isOverridden:!!l[e],start:r.valueOf()})}r(a)}),loading:m(y,t),eventDidMount:p,viewDidMount:u(e),dayHeaderContent:d,eventContent:f});var g;h.render()})(document.querySelector("#js-facility-conference-pricing"),document.querySelector("#js-placeholder"))}}]);

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.