PageSourceSearch

https://www.skorzana.com/gfx/pol/common_shop.js.gzip?r=1787052818

js skorzana.com collected 2026-09-26 11:31:43 UTC 574,834 bytes, 31 lines download raw bytes

1app_shop.graphql||(app_shop.graphql={}),app_shop.graphql.getLowestPrice=async e=>{const t=JSON.stringify({query:`query {\n      getLastLowestProductPrices(${e}) {\n        id\n        sizes {\n          id\n          price {\n            ${app_shop?.vars?.priceType||"gross"} {\n              value\n              currency\n              formatted\n            }\n          }\n        }\n      }\n    }`});try{const e=app_shop?.urls?.graphql?`${app_shop?.urls?.graphql}?getLastLowestProductPrices`:"/graphql/v1/?getLastLowestProductPrices",i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:t});return await i.json()}catch(e){return console.error("AJAX fetchLastLowestProductPrices() Error:",e),!1}};class VanillaCalendar{constructor(e,t){this.HTMLElement="object"==typeof e?e:document.querySelector(e),this.HTMLElement&&(this.type=t?.type??"default",this.date={min:t?.date?.min??"1970-01-01",max:t?.date?.max??"2470-12-31",today:t?.date?.today??new Date},this.info={top:t?.info?.top??!1,bottom:t?.info?.bottom??!1},this.customDayNames=t?.customDayNames??[],this.settings={lang:t?.settings?.lang??app_shop?.vars?.language?.symbol??"pl",iso8601:t?.settings?.iso8601??!0,workingDays:t?.settings?.workingDays??null,disabled:{weekDay:t?.settings?.disabled?.weekDay??null,weekends:t?.settings?.disabled?.weekends??!1},range:{min:t?.settings?.range?.min??this.date.min,max:t?.settings?.range?.max??this.date.max,disabled:t?.settings?.range?.disabled??null,enabled:t?.settings?.range?.enabled??null},selection:{day:t?.settings?.selection?.day??"single",month:t?.settings?.selection?.month??!0,year:t?.settings?.selection?.year??!0,time:t?.settings?.selection?.time??!1,controlTime:t?.settings?.selection?.controlTime??"all",stepHours:t?.settings?.selection?.stepHours??1,stepMinutes:t?.settings?.selection?.stepMinutes??1},selected:{dates:t?.settings?.selected?.dates??null,month:t?.settings?.selected?.month??null,year:t?.settings?.selected?.year??null,holidays:t?.settings?.selected?.holidays??null,time:t?.settings?.selected?.time??null},visibility:{templateHeader:t?.settings?.visibility?.templateHeader??"%M %Y",monthShort:t?.settings?.visibility?.monthShort??!0,weekNumbers:t?.settings?.visibility?.weekNumbers??!1,weekend:t?.settings?.visibility?.weekend??!0,today:t?.settings?.visibility?.today??!0,disabled:t?.settings?.visibility?.disabled??!1}},this.locale={months:t?.locale?.months??[],weekday:t?.locale?.weekday??[]},this.actions={clickDay:t?.actions?.clickDay??null,clickMonth:t?.actions?.clickMonth??null,clickYear:t?.actions?.clickYear??null,changeTime:t?.actions?.changeTime??null,afterRender:t?.actions?.afterRender??null,afterFocus:t?.actions?.afterFocus??null},this.popups=t?.popups??null,this.currentType=this.type,this.selectedKeeping=null,this.userTime=!1)}generateDate(e){const t=e.getUTCFullYear();let i=e.getUTCMonth()+1,n=e.getUTCDate();return i=i<10?`0${i}`:i,n=n<10?`0${n}`:n,`${t}-${i}-${n}`}transformTime12(e){const t=Number(e);let i=t;return 0===t?i="12":13===t?i="01":14===t?i="02":15===t?i="03":16===t?i="04":17===t?i="05":18===t?i="06":19===t?i="07":20===t?i="08":21===t?i="09":22===t?i="10":23===t&&(i="11"),i}transformTime24(e,t){const i=Number(e);let n=i;return"AM"===t?12===i&&(n="00"):"PM"===t&&(1===i?n="13":2===i?n="14":3===i?n="15":4===i?n="16":5===i?n="17":6===i?n="18":7===i?n="19":8===i?n="20":9===i?n="21":10===i?n="22":11===i&&(n="23")),n}setVariablesDates(){null!==this.settings.selected.dates?this.selectedDates=this.settings.selected.dates:this.selectedDates=[],null!==this.settings.selected.month&&this.settings.selected.month>=0&&this.settings.selected.month<12?this.selectedMonth=this.settings.selected.month:this.selectedMonth=this.date.today.getUTCMonth(),null!==this.settings.selected.year&&this.settings.selected.year>=0&&this.settings.selected.year<=9999?this.selectedYear=this.settings.selected.year:this.selectedYear=this.date.today.getUTCFullYear(),this.viewYear=this.selectedYear,this.dateMin=this.settings.visibility.disabled?new Date(this.date.min):new Date(this.settings.range.min),this.dateMax=this.settings.visibility.disabled?new Date(this.date.max):new Date(this.settings.range.max);const e=!0===this.settings.selection.time||12===this.settings.selection.time;if(e||24===this.settings.selection.time){if("string"==typeof this.settings.selected.time){const t=e?/^([0-9]|0[1-9]|1[0-2]):([0-5][0-9])|(AM|PM)/g:/^([0-1]?[0-9]|2[0-3]):([0-5][0-9])/g;this.settings.selected.time.replace(t,((t,i,n,r)=>{i&&n&&(this.userTime=!0,this.selectedHours=i,this.selectedMinutes=n),r&&e?this.selectedKeeping=r:e&&(this.selectedKeeping="AM")}))}!this.userTime&&e?(this.selectedHours=this.transformTime12(this.date.today.getHours()),this.selectedMinutes=this.date.today.getMinutes(),this.selectedKeeping=Number(this.date.today.getHours())>12?"PM":"AM"):this.userTime||(this.selectedHours=this.date.today.getHours(),this.selectedMinutes=this.date.today.getMinutes()),this.selectedHours=Number(this.selectedHours)<10?`0${Number(this.selectedHours)}`:`${this.selectedHours}`,this.selectedMinutes=Number(this.selectedMinutes)<10?`0${Number(this.selectedMinutes)}`:`${this.selectedMinutes}`,this.selectedTime=`${this.selectedHours}:${this.selectedMinutes}${this.selectedKeeping?` ${this.selectedKeeping}`:""}`}else this.settings.selection.time&&(this.settings.selection.time=null,console.error("The value of the time property can be: false, true, 12 or 24."))}createDOM(){"default"===this.currentType?(this.HTMLElement.classList.add("vanilla-calendar_default"),this.HTMLElement.classList.remove("vanilla-calendar_month"),this.HTMLElement.classList.remove("vanilla-calendar_year"),this.HTMLElement.innerHTML=`\n      ${this.info.top?'\n      <div class="vanilla-calendar-info --top"></div>\n      ':""}\n      <div class="vanilla-calendar-header">\n        <button type="button"\n          class="vanilla-calendar-arrow vanilla-calendar-arrow_prev"\n          data-calendar-arrow="prev"\n          title="Prev">\n        </button>\n        <div class="vanilla-calendar-header__content"></div>\n        <button type="button"\n          class="vanilla-calendar-arrow vanilla-calendar-arrow_next"\n          data-calendar-arrow="next"\n          title="Next">\n        </button>\n      </div>\n      ${this.settings.visibility.weekNumbers?'\n      <div class="vanilla-calendar-column">\n        <b class="vanilla-calendar-column__title">#</b>\n        <div class="vanilla-calendar-column__content vanilla-calendar-week-numbers"></div>\n      </div>\n      ':""}\n      <div class="vanilla-calendar-content">\n        <div class="vanilla-calendar-week"></div>\n        <div class="vanilla-calendar-days"></div>\n        ${this.settings.selection.time?'\n        <div class="vanilla-calendar-time"></div>\n        ':""}\n      </div>\n      ${this.info.bottom?'\n      <div class="vanilla-calendar-info --bottom"></div>\n      ':""}\n    `):"month"===this.currentType?(this.HTMLElement.classList.remove("vanilla-calendar_default"),this.HTMLElement.classList.add("vanilla-calendar_month"),this.HTMLElement.classList.remove("vanilla-calendar_year"),this.HTMLElement.innerHTML='\n      <div class="vanilla-calendar-header">\n        <div class="vanilla-calendar-header__content"></div>\n      </div>\n      <div class="vanilla-calendar-content">\n        <div class="vanilla-calendar-months"></div>\n      </div>'):"year"===this.currentType&&(this.HTMLElement.classList.remove("vanilla-calendar_default"),this.HTMLElement.classList.remove("vanilla-calendar_month"),this.HTMLElement.classList.add("vanilla-calendar_year"),this.HTMLElement.innerHTML='\n      <div class="vanilla-calendar-header">\n        <button type="button"\n          class="vanilla-calendar-arrow vanilla-calendar-arrow_prev"\n          title="prev">\n        </button>\n        <div class="vanilla-calendar-header__content"></div>\n        <button type="button"\n          class="vanilla-calendar-arrow vanilla-calendar-arrow_next"\n          title="next">\n        </button>\n      </div>\n      <div class="vanilla-calendar-content">\n        <div class="vanilla-calendar-years"></div>\n      </div>')}createHeader(){const e=this.HTMLElement.querySelector(".vanilla-calendar-header__content"),t=this.settings.selection.month?"":" vanilla-calendar-month_disabled",i=this.settings.selection.year?"":" vanilla-calendar-year_disabled",n=`\n    <button type="button"\n      class="vanilla-calendar-month${t}"\n      ${t?' tabindex="-1" ':""}\n      data-calendar-selected-month="${this.selectedMonth}">\n      ${this.locale.months[this.selectedMonth]}\n    </button>`.replace(/[\n\t]/g,""),r=`\n    <button type="button"\n      class="vanilla-calendar-year${i}"\n      ${i?' tabindex="-1" ':""}\n      data-calendar-selected-year="${this.selectedYear}">\n      ${this.selectedYear}\n    </button>`.replace(/[\n\t]/g,"");let a=this.settings.visibility.templateHeader.replace("%M",n);a=a.replace("%Y",r),e.innerHTML=a}controlArrows(){if(!["default","year"].includes(this.currentType))return;const e=this.HTMLElement.querySelector(".vanilla-calendar-arrow_prev"),t=this.HTMLElement.querySelector(".vanilla-calendar-arrow_next");(()=>{if("default"!==this.currentType)return;const i=this.selectedMonth===this.dateMin.getUTCMonth(),n=this.selectedMonth===this.dateMax.getUTCMonth(),r=!this.settings.selection.year||this.selectedYear===this.dateMin.getUTCFullYear(),a=!this.settings.selection.year||this.selectedYear===this.dateMax.getUTCFullYear();i&&r||!this.settings.selection.month?e.style.visibility="hidden":e.style.visibility=null,n&&a||!this.settings.selection.month?t.style.visibility="hidden":t.style.visibility=null})(),(()=>{"year"===this.currentType&&(this.dateMin.getUTCFullYear()&&this.viewYear-7<=this.dateMin.getUTCFullYear()?e.style.visibility="hidden":e.style.visibility=null,this.dateMax.getUTCFullYear()&&this.viewYear+7>=this.dateMax.getUTCFullYear()?t.style.visibility="hidden":t.style.visibility=null)})()}createWeek(){const e=this.HTMLElement.querySelector(".vanilla-calendar-week"),t=document.createElement("b");t.className="vanilla-calendar-week__day";const i=[...this.locale.weekday];this.settings.iso8601&&i.push(i.shift()),e.innerHTML="";for(let n=0;n<i.length;n++){const r=i[n],a=t.cloneNode(!0);this.settings.visibility.weekend&&this.settings.iso8601?5!==n&&6!==n||a.classList.add("vanilla-calendar-week__day_weekend"):this.settings.visibility.weekend&&!this.settings.iso8601&&(0!==n&&6!==n||a.classList.add("vanilla-calendar-week__day_weekend")),a.innerText=`${r}`,e.append(a)}}getWeekNumber(e){const t=new Date(e).getUTCDate(),i=new Date(e).getUTCMonth(),n=new Date(e).getUTCFullYear(),r=new Date(n,i,t),a=new Date(Date.UTC(r.getUTCFullYear(),0,1)),s=Math.ceil(((r-a)/864e5+1)/7);return{year:r.getUTCFullYear(),week:s}}createWeekNumbers(e,t){if(!this.settings.visibility.weekNumbers)return;const i=this.HTMLElement.querySelector(".vanilla-calendar-week-numbers"),n=this.HTMLElement.querySelectorAll(".vanilla-calendar-day__btn"),r=Math.ceil((e+t)/7),a=document.createElement("span");a.className="vanilla-calendar-week-number",i.innerHTML="";for(let e=0;e<r;e++){const t=this.getWeekNumber(n[7*e].dataset.calendarDay),r=a.cloneNode(!0);r.innerText=`${t.week}`,r.dataset.calendarYearWeek=`${t.year}`,i.append(r)}}createPopup(e){if(this.popups)for(const t in this.popups)if(Object.hasOwnProperty.call(this.popups,t)){const i=e.querySelector(`[data-calendar-day="${t}"]`);if(i){const e=this.popups[t];i.classList.add(e.modifier),i.parentNode.innerHTML+=`<div class="vanilla-calendar-day__popup">${e.html}</div>`}}}createDays(){const e=new Date(Date.UTC(this.selectedYear,this.selectedMonth,1)),t=new Date(Date.UTC(this.selectedYear,this.selectedMonth+1,0)).getUTCDate();let i=Number(e.getUTCDay());this.settings.iso8601&&(i=Number((0!==e.getUTCDay()?e.getUTCDay():7)-1));const n=this.HTMLElement.querySelector(".vanilla-calendar-days"),r=document.createElement("div"),a=document.createElement("button");r.className="vanilla-calendar-day",a.className="vanilla-calendar-day__btn",a.type="button",["single","multiple","multiple-ranged"].includes(this.settings.selection.day)&&n.classList.add("vanilla-calendar-days_selecting"),n.innerHTML="";const s=(e,t,i,n)=>{!this.settings.visibility.weekend||0!==t&&6!==t||e.classList.add("vanilla-calendar-day__btn_weekend"),Array.isArray(this.settings.selected.holidays)&&this.settings.selected.holidays.forEach((t=>{t===i&&e.classList.add("vanilla-calendar-day__btn_holiday")}));let r=this.date.today.getUTCDate(),a=this.date.today.getUTCMonth()+1;r=r<10?`0${r}`:r,a=a<10?`0${a}`:a;const s=`${this.date.today.getUTCFullYear()}-${a}-${r}`;if(this.settings.visibility.today&&e.dataset.calendarDay===s&&e.classList.add("vanilla-calendar-day__btn_today"),0===this.selectedDates.indexOf(i)||this.selectedDates[0]&&this.selectedDates.indexOf(i)===this.selectedDates.length-1?e.classList.add("vanilla-calendar-day__btn_selected"):"multiple-ranged"===this.settings.selection.day&&this.selectedDates.indexOf(i)>0?(e.classList.add("vanilla-calendar-day__btn_selected"),e.classList.add("vanilla-calendar-day__btn_intermediate")):this.selectedDates.indexOf(i)>0&&e.classList.add("vanilla-calendar-day__btn_selected"),(this.settings.range.min>i||this.settings.range.max<i)&&(e.classList.add("vanilla-calendar-day__btn_disabled"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true")),this.settings.selection.month||n||(e.classList.add("vanilla-calendar-day__btn_disabled"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true")),this.settings.selection.year||new Date(i).getFullYear()===this.selectedYear||(e.classList.add("vanilla-calendar-day__btn_disabled"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true")),Array.isArray(this.settings.range.disabled)?this.settings.range.disabled.forEach((t=>{t===i&&(e.classList.add("vanilla-calendar-day__btn_disabled"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"))})):Array.isArray(this.settings.range.enabled)&&(e.classList.add("vanilla-calendar-day__btn_disabled"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"),this.settings.range.enabled.forEach((t=>{t===i&&(e.classList.remove("vanilla-calendar-day__btn_disabled"),e.removeAttribute("tabindex"),e.removeAttribute("aria-hidden"))}))),!this.settings.disabled.weekends||0!==t&&6!==t||(e.classList.add("vanilla-calendar-day__btn_disabled"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true")),Array.isArray(this.settings.disabled.weekDay)&&this.settings.disabled.weekDay.forEach((i=>{i===t&&(e.classList.add("vanilla-calendar-day__btn_disabled"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"))})),Array.isArray(this.settings.workingDays)&&(this.settings.workingDays.includes(t)||(e.classList.add("vanilla-calendar-day__btn_disabled"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"))),this.customDayNames?.length){const t=this.customDayNames.find((e=>e.date===i));if(t){const{class:i="",name:n}=t||{};e.classList.add(i),n&&(e.innerHTML=n)}}},o=(e,t,i,o,l)=>{const c=r.cloneNode(!0),d=a.cloneNode(!0);l&&d.classList.add(l),d.innerText=e,d.dataset.calendarDay=i,s(d,t,i,o),c.append(d),n.append(c)};(()=>{let e=new Date(Date.UTC(this.selectedYear,this.selectedMonth,0)).getUTCDate()-i,t=this.selectedYear,n=this.selectedMonth;0===this.selectedMonth?(n=this.locale.months.length,t=this.selectedYear-1):this.selectedMonth<10&&(n=`0${this.selectedMonth}`);for(let r=0;r<i;r++){e+=1;const i=`${t}-${n}-${e}`,r=new Date(Date.UTC(this.selectedYear,this.selectedMonth,e-1)).getUTCMonth()-1,a=new Date(Date.UTC(this.selectedYear,r,e)).getUTCDay();o(e,a,i,!1,"vanilla-calendar-day__btn_prev")}})(),(()=>{for(let e=1;e<=t;e++){const t=new Date(Date.UTC(this.selectedYear,this.selectedMonth,e)),i=this.generateDate(t),n=t.getUTCDay();o(e,n,i,!0)}})(),(()=>{const e=i+t,n=Math.ceil(e/this.locale.weekday.length),r=this.locale.weekday.length*n-e;let a=this.selectedYear,s=this.selectedMonth+2;this.selectedMonth+1===this.locale.months.length?(s="01",a=this.selectedYear+1):this.selectedMonth+2<10&&(s=`0${this.selectedMonth+2}`);for(let e=1;e<=r;e++){const t=`${a}-${s}-${e<10?`0${e}`:e}`,i=new Date(Date.UTC(this.selectedYear,this.selectedMonth,e)).getUTCMonth()+1,n=new Date(Date.UTC(this.selectedYear,i,e)).getUTCDay();o(e,n,t,!1,"vanilla-calendar-day
1__btn_next")}})(),this.createPopup(n),this.createWeekNumbers(i,t),this.actions.afterRender&&this.actions.afterRender(this)}changeMonth(e){const t=this.locale.months.length-1;switch(e){case"prev":0!==this.selectedMonth?this.selectedMonth-=1:this.settings.selection.year&&(this.selectedYear-=1,this.selectedMonth=t);break;case"next":this.selectedMonth!==t?this.selectedMonth+=1:this.settings.selection.year&&(this.selectedYear+=1,this.selectedMonth=0)}this.settings.selected.month=this.selectedMonth,this.settings.selected.year=this.selectedYear,this.createHeader(),this.controlArrows(),this.createDays()}createYears(){this.currentType="year",this.createDOM(),this.createHeader(),this.controlArrows();const e=this.HTMLElement.querySelector(".vanilla-calendar-years");this.settings.selection.year&&e.classList.add("vanilla-calendar-years_selecting");const t=document.createElement("button");t.type="button",t.className="vanilla-calendar-years__year";for(let i=this.viewYear-7;i<this.viewYear+8;i++){const n=i,r=t.cloneNode(!0);n===this.selectedYear&&r.classList.add("vanilla-calendar-years__year_selected"),n<this.dateMin.getUTCFullYear()&&(r.classList.add("vanilla-calendar-years__year_disabled"),r.setAttribute("tabindex","-1"),r.setAttribute("aria-hidden","true")),n>this.dateMax.getUTCFullYear()&&(r.classList.add("vanilla-calendar-years__year_disabled"),r.setAttribute("tabindex","-1"),r.setAttribute("aria-hidden","true")),r.dataset.calendarYear=n,r.innerText=`${n}`,e.append(r)}this.actions.afterRender&&this.actions.afterRender(this)}createMonths(){this.currentType="month",this.createDOM(),this.createHeader();const e=this.HTMLElement.querySelector(".vanilla-calendar-months");this.settings.selection.month&&e.classList.add("vanilla-calendar-months_selecting");const t=document.createElement("button");t.type="button",t.className="vanilla-calendar-months__month";for(let i=0;i<this.locale.months.length;i++){const n=this.locale.months[i],r=t.cloneNode(!0);i===this.selectedMonth&&r.classList.add("vanilla-calendar-months__month_selected"),i<this.dateMin.getUTCMonth()&&this.selectedYear===this.dateMin.getUTCFullYear()&&(r.classList.add("vanilla-calendar-months__month_disabled"),r.setAttribute("tabindex","-1"),r.setAttribute("aria-hidden","true")),i>this.dateMax.getUTCMonth()&&this.selectedYear===this.dateMax.getUTCFullYear()&&(r.classList.add("vanilla-calendar-months__month_disabled"),r.setAttribute("tabindex","-1"),r.setAttribute("aria-hidden","true")),r.dataset.calendarMonth=i,r.title=`${n}`,r.innerText=`${this.settings.visibility.monthShort?n.substring(0,3):n}`,e.append(r)}this.actions.afterRender&&this.actions.afterRender(this)}controlTime(e){const t=this.HTMLElement.querySelector('.vanilla-calendar-time__range input[name="hours"]'),i=this.HTMLElement.querySelector('.vanilla-calendar-time__range input[name="minutes"]'),n=this.HTMLElement.querySelector('.vanilla-calendar-time__hours input[name="hours"]'),r=this.HTMLElement.querySelector('.vanilla-calendar-time__minutes input[name="minutes"]'),a=this.HTMLElement.querySelector(".vanilla-calendar-time__keeping"),s=(e,t)=>{e.addEventListener("mouseover",(()=>t.classList.add("is-focus")))},o=(e,t)=>{e.addEventListener("mouseout",(()=>t.classList.remove("is-focus")))},l=(e,t,i)=>{"hours"===i?this.selectedHours=`${t}`:"minutes"===i&&(this.selectedMinutes=`${t}`),this.selectedTime=`${this.selectedHours}:${this.selectedMinutes}${this.selectedKeeping?` ${this.selectedKeeping}`:""}`,this.settings.selected.time=this.selectedTime,this.actions.changeTime&&this.actions.changeTime(e,this.selectedTime,this.selectedHours,this.selectedMinutes,this.selectedKeeping)},c=(e,t,i,n)=>{e.addEventListener("input",(e=>{let r=Number(e.target.value);r=r<10?`0${r}`:`${r}`,"hours"===i&&12===n?Number(e.target.value)<n&&Number(e.target.value)>0?(t.value=r,this.selectedKeeping="AM",a.innerText=this.selectedKeeping,l(e,r,i)):(0===Number(e.target.value)?(this.selectedKeeping="AM",a.innerText="AM"):(this.selectedKeeping="PM",a.innerText="PM"),t.value=this.transformTime12(e.target.value),l(e,this.transformTime12(e.target.value),i)):(t.value=r,l
1(e,r,i))}))},d=(e,t,i,n)=>{t.addEventListener("change",(t=>{let r=Number(t.target.value);r=r<10?`0${r}`:`${r}`,"hours"===i&&12===n?t.target.value&&Number(t.target.value)<=n&&Number(t.target.value)>0?(t.target.value=r,e.value=this.transformTime24(r,this.selectedKeeping),l(t,r,i)):t.target.value&&Number(t.target.value)<24&&(Number(t.target.value)>n||0===Number(t.target.value))?(0===Number(t.target.value)?(this.selectedKeeping="AM",a.innerText="AM"):(this.selectedKeeping="PM",a.innerText="PM"),t.target.value=this.transformTime12(t.target.value),e.value=r,l(t,this.transformTime12(t.target.value),i)):t.target.value=this.selectedHours:t.target.value&&Number(t.target.value)<=n&&Number(t.target.value)>=0?(t.target.value=r,e.value=r,l(t,r,i)):"hours"===i?t.target.value=this.selectedHours:"minutes"===i&&(t.target.value=this.selectedMinutes)}))};s(t,n),s(i,r),o(t,n),o(i,r),c(t,n,"hours",24===e?23:e),c(i,r,"minutes"),d(t,n,"hours",24===e?23:e),d(i,r,"minutes",59),a&&a.addEventListener("click",(e=>{a.innerText.includes("AM")?this.selectedKeeping="PM":this.selectedKeeping="AM",t.value=this.transformTime24(this.selectedHours,this.selectedKeeping),l(e,this.selectedHours,"hours"),a.innerText=this.selectedKeeping}))}createTime(){const e=this.HTMLElement.querySelector(".vanilla-calendar-time");if(!e)return;const t=!0===this.settings.selection.time?12:this.settings.selection.time,i="range"===this.settings.selection.controlTime;e.innerHTML=`\n    <div class="vanilla-calendar-time__content">\n      <label class="vanilla-calendar-time__hours">\n        <input type="text"\n          name="hours"\n          maxlength="2"\n          value="${this.selectedHours}"\n          ${i?"disabled":""}>\n      </label>\n      <label class="vanilla-calendar-time__minutes">\n        <input type="text"\n          name="minutes"\n          maxlength="2"\n          value="${this.selectedMinutes}"\n          ${i?"disabled":""}>\n      </label>\n      ${12===t?`\n      <button type="button"\n        class="vanilla-calendar-time__keeping"\n        ${i?"disabled":""}>${this.selectedKeeping}</button>\n      `:""}\n    </div>\n    <div class="vanilla-calendar-time__ranges">\n      <label class="vanilla-calendar-time__range">\n        <input type="range"\n          name="hours"\n          min="0"\n          max="23"\n          step="${this.settings.selection.stepHours}"\n          value="${this.selectedKeeping?this.transformTime24(this.selectedHours,this.selectedKeeping):this.selectedHours}">\n      </label>\n      <label class="vanilla-calendar-time__range">\n        <input type="range"\n          name="minutes"\n          min="0"\n          max="59"\n          step="${this.settings.selection.stepMinutes}"\n          value="${this.selectedMinutes}">\n      </label>\n    </div>`,this.controlTime(t)}getLocale(){if("define"!==this.settings.lang){this.locale.weekday=[];for(let e=0;e<7;e++){let t=new Date(0,0,e).toLocaleString(this.settings.lang,{weekday:"short"});t=`${t.charAt(0).toUpperCase()}${t.substring(1,t.length)}`,t=t.replace(/\./,""),this.locale.weekday.push(t)}this.locale.months=[];for(let e=0;e<12;e++){let t=new Date(0,e).toLocaleString(this.settings.lang,{month:"long"});t=`${t.charAt(0).toUpperCase()}${t.substring(1,t.length)}`,t=t.replace(/\./,""),this.locale.months.push(t)}}}createInfo(){if(this.info.top){this.HTMLElement.querySelector(".vanilla-calendar-info.--top").innerHTML=this.info.top}if(this.info.bottom){this.HTMLElement.querySelector(".vanilla-calendar-info.--bottom").innerHTML=this.info.bottom}}update(){this.setVariablesDates(),this.getLocale(),this.createDOM(),this.createHeader(),this.controlArrows(),this.createTime(),this.createInfo(),"default"===this.currentType?(this.createWeek(),this.createDays()):"month"===this.currentType?this.createMonths():"year"===this.currentType&&this.createYears(),this.actions.afterRender&&this.actions.afterRender(this)}focusElement({type:e="day"}){const t=this.HTMLElement.querySelector(".vanilla-calendar-day__btn_selected:not(.disabled)");if("day"===e&&t)return t.focus(),void(this.actions.afterFocus&&this.actions.afterFocus(this,e));const i=Array.from(this.HTMLElement.querySelectorAll(".vanilla-calendar-content button"));i.find((e=>-1===e?.className.indexOf("disabled")&&-1===e?.className.indexOf("prev")))?.focus?.(),this.actions.afterFocus&&this.actions.afterFocus(this,e)}click(){this.HTMLElement.addEventListener("click",(e=>{const t=e.target.closest(".vanilla-calendar-arrow"),i=e.target.closest(".vanilla-calendar-arrow_prev"),n=e.target.closest(".vanilla-calendar-arrow_next"),r=e.target.closest(".vanilla-calendar-day__btn"),a=e.target.closest(".vanilla-calendar-day__btn_prev"),s=e.target.closest(".vanilla-calendar-day__btn_next"),o=e.target.closest(".vanilla-calendar-year"),l=e.target.closest(".vanilla-calendar-years__year"),c=e.target.closest(".vanilla-calendar-month"),d=e.target.closest(".vanilla-calendar-months__month"),p=()=>{r.classList.contains("vanilla-calendar-day__btn_selected")?this.selectedDates.splice(this.selectedDates.indexOf(r.dataset.calendarDay),1):(this.selectedDates=[],this.selectedDates.push(r.dataset.calendarDay))},u=()=>{r.classList.contains("vanilla-calendar-day__btn_selected")?this.selectedDates.splice(this.selectedDates.indexOf(r.dataset.calendarDay),1):this.selectedDates.push(r.dataset.calendarDay)},h=()=>
1{if(this.selectedDates.length>1&&(this.selectedDates=[]),this.selectedDates.push(r.dataset.calendarDay),!this.selectedDates[1])return;const e=new Date(Date.UTC(new Date(this.selectedDates[0]).getUTCFullYear(),new Date(this.selectedDates[0]).getUTCMonth(),new Date(this.selectedDates[0]).getUTCDate())),t=new Date(Date.UTC(new Date(this.selectedDates[1]).getUTCFullYear(),new Date(this.selectedDates[1]).getUTCMonth(),new Date(this.selectedDates[1]).getUTCDate())),i=e=>{const t=this.generateDate(e);this.settings.range.disabled&&this.settings.range.disabled.includes(t)||this.selectedDates.push(t)};if(this.selectedDates=[],t>e)for(let n=e;n<=t;n.setUTCDate(n.getUTCDate()+1))i(n);else for(let n=e;n>=t;n.setUTCDate(n.getUTCDate()-1))i(n)};(()=>{t&&"year"!==this.currentType&&"month"!==this.currentType&&(this.changeMonth(e.target.dataset.calendarArrow),this.focusElement({type:"arrow"}))})(),(()=>{if(["single","multiple","multiple-ranged"].includes(this.settings.selection.day)&&r){switch(this.settings.selection.day){case"single":p();break;case"multiple":u();break;case"multiple-ranged":h()}this.actions.clickDay&&this.actions.clickDay(e,this.selectedDates),this.settings.selected.dates=this.selectedDates,a?this.changeMonth("prev"):s?this.changeMonth("next"):this.createDays(),this.focusElement({type:"day"})}})(),(()=>{this.settings.selection.year&&(t&&"year"===this.currentType?(n?this.viewYear+=15:i&&(this.viewYear-=15),this.createYears(),this.focusElement({type:"year"})):"year"!==this.currentType&&o?(this.createYears(),this.focusElement({type:"year"})):"year"===this.currentType&&o?(this.currentType=this.type,this.update(),this.focusElement({type:"year"})):l&&(this.selectedYear=Number(l.dataset.calendarYear),this.currentType=this.type,this.selectedMonth<this.dateMin.getUTCMonth()&&this.selectedYear===this.dateMin.getUTCFullYear()&&(this.settings.selected.month=this.dateMin.getUTCMonth()),this.selectedMonth>this.dateMax.getUTCMonth()&&this.selectedYear===this.dateMax.getUTCFullYear()&&(this.settings.selected.month=this.dateMax.getUTCMonth()),this.actions.clickYear&&this.actions.clickYear(e,this.selectedYear),this.settings.selected.year=this.selectedYear,this.update(),this.focusElement({type:"year"})))})(),(()=>{this.settings.selection.month&&("month"!==this.currentType&&c?(this.createMonths(),this.focusElement({type:"month"})):"month"===this.currentType&&c?(this.currentType=this.type,this.update(),this.focusElement({type:"month"})):d&&(this.selectedMonth=Number(d.dataset.calendarMonth),this.currentType=this.type,this.actions.clickMonth&&this.actions.clickMonth(e,this.selectedMonth),this.settings.selected.month=this.selectedMonth,this.update(),this.focusElement({type:"month"})))})()}))}init(){this.HTMLElement&&(this.update(),this.click())}}function FormValidation(e){const{form:t,formSelector:i,afterValidate:n,afterValidateForm:r}=e||{};this.debounce=(e,t=500)=>{let i;return(...n)=>{clearTimeout(i),i=setTimeout((()=>e(...n)),t)}},this.fetchData=async e=>{try{const t=await fetch(`${app_shop?.urls?.graphql||"/graphql/v1/"}?query=validateClientData`,{method:"POST",body:JSON.stringify({query:`query {${e}}`})});return await t.json()}catch(e){return console.error("AJAX FormValidation() validateClientData Error:",e),!1}},this.vars={passwordLengthMin:6,passwordLengthMax:30,changedInputs:[]},this.callbacks={validate:n,validateAll:r},this.errorCode={birth_date:app_shop?.txt?.errorCode?.birth_date||"Wpisz poprawną datę urodzenia w formacie RRRR-MM-DD",illegal_characters_client_city:app_shop?.txt?.errorCode?.illegal_characters_client_city||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_client_firm:app_shop?.txt?.errorCode?.illegal_characters_client_firm||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_client_firstname:app_shop?.txt?.errorCode?.illegal_characters_client_firstname||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_client_lastname:app_shop?.txt?.errorCode?.illegal_characters_client_lastname||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_client_nip:app_shop?.txt?.errorCode?.illegal_characters_client_nip||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_client_phone:app_shop?.txt?.errorCode?.illegal_characters_client_phone||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_client_phone2:app_shop?.txt?.errorCode?.illegal_characters_client_phone2||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_client_street:app_shop?.txt?.errorCode?.illegal_characters_client_street||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_delivery_additional:app_shop?.txt?.errorCode?.illegal_characters_delivery_additional||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_delivery_city:app_shop?.txt?.errorCode?.illegal_characters_delivery_city||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_delivery_firstname:app_shop?.txt?.errorCode?.illegal_characters_delivery_firstname||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_delivery_lastname:app_shop?.txt?.errorCode?.illegal_characters_delivery_lastname||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_delivery_phone:app_shop?.txt?.errorCode?.illegal_characters_delivery_phone||"Jeden z użytych znaków jest niedozwolony.",illegal_characters_delivery_street:
1app_shop?.txt?.errorCode?.illegal_characters_delivery_street||"Jeden z użytych znaków jest niedozwolony.",incorect_delivery_region:app_shop?.txt?.errorCode?.incorect_delivery_region||"Wybierz kraj odbiorcy przesyłki.",incorect_delivery_zipcode:app_shop?.txt?.errorCode?.incorect_delivery_zipcode||"Wpisz kod pocztowy odbiorcy przesyłki.",incorect_email:app_shop?.txt?.errorCode?.incorect_email||"Błędnie wpisany e-mail. Wpisz pełny adres e-mail, np. [email protected]",incorect_invoice_phone:app_shop?.txt?.errorCode?.incorect_invoice_phone||"Wpisz telefon klienta.",incorect_invoice_zipcode:app_shop?.txt?.errorCode?.incorect_invoice_zipcode||"Wpisz kod pocztowy klienta.",incorect_login:app_shop?.txt?.errorCode?.incorect_login||"Błędnie wpisany login. Login musi mieć minimum 3, a maksimum 40 znaków. Możesz użyć liter i cyfr oraz symboli @ . - _.",incorect_nip:app_shop?.txt?.errorCode?.incorect_nip||"Niepoprawny NIP dla wybranego kraju.",incorect_phone:app_shop?.txt?.errorCode?.incorect_phone||"Wpisz swój telefon.",incorect_shops:app_shop?.txt?.errorCode?.incorect_shops||"Wybierz sklep z listy.",incorect_zipcode:app_shop?.txt?.errorCode?.incorect_zipcode||"Błędnie wpisany kod pocztowy.",incorrect_region:app_shop?.txt?.errorCode?.incorrect_region||"Błędnie wybrany region.",invalid_format:app_shop?.txt?.errorCode?.invalid_format||"Nieprawidłowy format. Pole musi zawierać przynajmniej jedną literę.",login_equals_password:app_shop?.txt?.errorCode?.login_equals_password||"Hasło jest takie samo jak login. Wpisz inne hasło.",login_taken:app_shop?.txt?.errorCode?.login_taken||"Podany login jest już zajęty",login_taken_login_propose:app_shop?.txt?.errorCode?.login_taken_login_propose||"Podany login jest już zajęty.<br/><br/>Proponowany login: ",no_city:app_shop?.txt?.errorCode?.no_city||"Wpisz w to pole nazwę miasta.",no_delivery_city:app_shop?.txt?.errorCode?.no_delivery_city||"Wpisz miejscowość odbiorcy przesyłki.",no_delivery_firstname:app_shop?.txt?.errorCode?.no_delivery_firstname||"Wpisz imię odbiorcy przesyłki.",no_delivery_lastname:app_shop?.txt?.errorCode?.no_delivery_lastname||"Wpisz nazwisko odbiorcy przesyłki.",no_delivery_street:app_shop?.txt?.errorCode?.no_delivery_street||"Wpisz ulicę i numer domu odbiorcy przesyłki.",no_firmname:app_shop?.txt?.errorCode?.no_firmname||"Błędnie wpisana nazwa firmy.",no_firstname:app_shop?.txt?.errorCode?.no_firstname||"Wpisz w to pole swoje imię.",no_invoice_city:app_shop?.txt?.errorCode?.no_invoice_city||"Wpisz miejscowość klienta.",no_invoice_firmname:app_shop?.txt?.errorCode?.no_invoice_firmname||"Wpisz nazwę firmy klienta.",no_invoice_firstname:app_shop?.txt?.errorCode?.no_invoice_firstname||"Wpisz imię klienta.",no_invoice_lastname:app_shop?.txt?.errorCode?.no_invoice_lastname||"Wpisz nazwisko klienta.",no_invoice_street:app_shop?.txt?.errorCode?.no_invoice_street||"Wpisz ulicę i numer domu klienta.",no_invoice_street_number:app_shop?.txt?.errorCode?.no_invoice_street_number||"Wpisz ulicę i numer domu klienta.",no_login:app_shop?.txt?.errorCode?.no_login||"Wpisz w to pole swój login.",no_name:app_shop?.txt?.errorCode?.no_name||"Wpisz w to pole swoje nazwisko.",no_password:app_shop?.txt?.errorCode?.no_password||"Wpisz w to pole swoje hasło.",no_street:app_shop?.txt?.errorCode?.no_street||"Wpisz nazwę ulicy lub miejscowości.",no_street_number:app_shop?.txt?.errorCode?.no_street_number||"Podaj nr domu.",no_street_number_uk:app_shop?.txt?.errorCode?.no_street_number_uk||"Brakuje numeru domu.",not_equal_passwords:app_shop?.txt?.errorCode?.not_equal_passwords||"Wpisane hasła nie są takie same. Wpisz ponownie hasło i potwierdzenie.",password_to_long:app_shop?.txt?.errorCode?.password_to_long||"Za długie hasło. Wpisz krótsze hasło (maksimum",password_to_short:app_shop?.txt?.errorCode?.password_to_short||"Zbyt krótkie hasło. Wpisz dłuższe hasło (minimum",used_login:app_shop?.txt?.errorCode?.used_login||"Podany login jest już zajęty",incorrect_iban:app_shop?.txt?.errorCode?.incorrect_iban||app_shop.txt.txt_validation5||"Format numeru konta bankowego jest niepoprawny"},this.passwordErrorCodes=["no_password","not_equal_passwords","password_to_long","password_to_short","login_equals_password"],this.loginErrorCodes=["incorect_login","login_taken","login_taken_login_propose","no_login","used_login"],this.txt={mandatoryField:app_shop?.txt?.formValidation?.mandatoryField||"Proszę wypełnić to pole.",zipcodeFormat:app_shop?.txt?.formValidation?.z
1ipcodeFormat||"Poprawne formaty kodu pocztowego dla wybranego kraju to [X - cyfra; Y - litera]:",characters:app_shop?.txt?.formValidation?.characters||"znaków).",noOptionSelected:app_shop?.txt?.formValidation?.noOptionSelected||"Proszę wybrać opcję.",minimalCharacters:app_shop?.txt?.formValidation?.minimalCharacters||app_shop.txt?.txt_validation1||"Minimalna liczba znaków dla tego pola to ",maximumCharacters:app_shop?.txt?.formValidation?.maximumCharacters||app_shop.txt?.txt_validation2||"Maksymalna liczba znaków dla tego pola to ",onlyDigital:app_shop?.txt?.formValidation?.onlyDigital||"Pole nie może zawierać cyfr."},this.queries={VALIDATE_FIRSTNAME_QUERY:e=>`validateClientData(ClientDataInput: { clientData: {\n      clientBillingData: {\n        firstname: "${e?.replace?.(/"/g,'\\"')}"\n      }\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_LASTNAME_QUERY:e=>`validateClientData(ClientDataInput: { clientData: {\n      clientBillingData: {\n        lastname: "${e?.replace?.(/"/g,'\\"')}"\n      }\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_ADDITIONAL_QUERY:e=>`validateClientData(ClientDataInput: { clientData: {\n      clientBillingData: {\n        companyName: "${e?.replace?.(/"/g,'\\"')}"\n      }\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_NIP_QUERY:(e,t)=>`validateClientData(ClientDataInput: { clientData: {\n      clientBillingData: {\n        country: ${t}\n      }\n      taxNumber: "${e?.replace?.(/"/g,'\\"')}"\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_STREET_QUERY:(e,t)=>`validateClientData(ClientDataInput: { clientData: {\n      clientBillingData: {\n        street: "${e?.replace?.(/"/g,'\\"')}"\n        country: ${t}\n      }\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_ZIPCODE_QUERY:(e,t)=>`validateClientData(ClientDataInput: { clientData: {\n      clientBillingData: {\n        zipcode: "${e?.replace?.(/"/g,'\\"')}"\n        country: ${t}\n      }\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_CITY_QUERY:e=>`validateClientData(ClientDataInput: { clientData: {\n      clientBillingData: {\n        city: "${e?.replace?.(/"/g,'\\"')}"\n      }\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_PHONE_QUERY:(e,t)=>`validateClientData(ClientDataInput: { clientData: {\n      clientBillingData: {\n        phone: "${e?.replace?.(/"/g,'\\"')}"\n        country: ${t}\n      }\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_EMAIL_QUERY:e=>`validateClientData(ClientDataInput: {clientData: {\n      email: "${e?.replace?.(/"/g,'\\"')}"\n    }}) {\n      messages {\n        code\n        message\n      }\n      clientExists\n    }`,VALIDATE_BIRTHDATE_QUERY:e=>`validateClientData(ClientDataInput: {clientData: {\n      birthDate: "${e?.replace?.(/"/g,'\\"')}"\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_LOGIN_QUERY:(e,t)=>`validateClientData(ClientDataInput: {loginAndPassword: {\n      login: "${e?.replace?.(/"/g,'\\"')}"\n      ${t?`password: "${t?.replace?.(/"/g,'\\"')}"`:""}\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_PASSWORD_QUERY:(e,t)=>`validateClientData(ClientDataInput: {loginAndPassword: {\n      ${t?`login: "${t?.replace?.(/"/g,'\\"')}"`:""}\n      password: "${e?.replace?.(/"/g,'\\"')}"\n    }}) {\n      messages {\n        code\n        message\n      }\n    }`,VALIDATE_INPUTS_QUERY:e=>JSON.stringify({query:`query {\n        validateClientData(${e}) {\n          messages {\n            code\n            message\n          }\n        }\n      }`})},this.events={onInput:e=>{const{target:t}=e;this.vars.changedInputs.push(t),this.debounces.validateInput(t)},onChange:e=>{const{target:t}=e;this.validateCheckbox(t)},onSubmit:async e=>{if("true"===this.form.dataset.handled)return void delete this.form.dataset.handled;e.preventDefault();await this.validateForm()?(this.form.classList.remove("--fail-validation"),this.form.dataset.handled="true",this.form.submit()):this.form.classList.add("--fail-validation")}},this.concatErrorMessages=e=>{const{code:t}=e[0];switch(t){case"incorect_zipcode":return`${this.errorCode[t]} ${this.txt.zipcodeFormat} ${e[1]?.message}`;case"password_to_short":return`${this.errorCode[t]} ${this.vars.passwordLengthMin} ${this.txt.characters}`;case"password_to_long":return`${this.errorCode[t]} ${this.vars.passwordLengthMax} ${this.txt.characters}`;default:return this.errorCode[t]}},this.checkDigital=e=>!!/\d/.test(e),this.validateFirstnameGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,a=this.queries.VALIDATE_FIRSTNAME_QUERY(r);if(i)return this.queries.VALIDATE_FIRSTNAME_QUERY(r);const s=n||await this.fetchData(a),{messages:o}=s?.data?.validateClientData||s;return this.checkDigital(r)?this.txt.onlyDigital:o?.length?this.concatErrorMessages(o):""},this.validateLastnameGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,a=this.queries.VALIDATE_LASTNAME_QUERY(r);if(i)return this.queries.VALIDATE_LASTNAME_QUERY(r);const s=n||await this.fetchData(a),{messages:o}=s?.data?.validateClientData||s;return this.checkDigital(r)?this.txt.onlyDigital:o?.length?this.concatErrorMessages(o):""},this.validateAdditionalGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,a=this.queries.VALIDATE_ADDITIONAL_QUERY(r);if(i)return a;const s=n||await this.fetchData(a),{messages:o}=s?.data?.validateClientData||s;return o?.length?this.concatErrorMessages(o):""},this.validateNipGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,{region:a}=t.dataset,s=this.queries.VALIDATE_NIP_QUERY(r,a);if(i)return s;const o=n||await this.fetchData(s),{messages:l}=o?.data?.validateClientData||o;return l?.length?this.concatErrorMessages(l):""},this.validateStreetGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,{concatFrom:a,region:s}=t.dataset,o=this.form?.querySelector(a),l=`${r} ${o?.value||""}`,c=this.queries.VALIDATE_STREET_QUERY(l,s);if(i)return c;const d=n||await this.fetchData(c),{messages:p}=d?.data?.validateClientData||d;
1return p?.length?o&&"no_street_number"===p[0].code?(this.setValidityState(o,this.concatErrorMessages(p)),""):this.concatErrorMessages(p):(o&&this.setValidityState(o,""),"")},this.validateZipcodeGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,{region:a}=t.dataset,s=this.queries.VALIDATE_ZIPCODE_QUERY(r,a);if(i)return s;const o=n||await this.fetchData(s),{messages:l}=o?.data?.validateClientData||o;return l?.length?this.concatErrorMessages(l):""},this.validateCityGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,a=this.queries.VALIDATE_CITY_QUERY(r);if(i)return a;const s=n||await this.fetchData(a),{messages:o}=s?.data?.validateClientData||s;return o?.length?this.concatErrorMessages(o):""},this.validatePhone=e=>{const{input:t,getQuery:i}=e;if(i)return"";const{value:n}=t;return n.length>=9?"":this.concatErrorMessages([{code:"incorect_phone"}])},this.validatePhoneGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,{concatFrom:a,region:s}=t.dataset,o=this.form?.querySelector(a),l=o?.value||"",c=l?`${l}${r}`:r;if(!s)return this.validatePhone(e);const d=this.queries.VALIDATE_PHONE_QUERY(c,s);if(i)return d;const p=n||await this.fetchData(d),{messages:u}=p?.data?.validateClientData||p;return u?.length?this.concatErrorMessages(u):""},this.validateEmailGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,a=this.queries.VALIDATE_EMAIL_QUERY(r);if(i)return a;const s=n||await this.fetchData(a),{messages:o}=s?.data?.validateClientData||s;return o?.length?this.concatErrorMessages(o):""},this.validateBirthdateGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,a=this.queries.VALIDATE_BIRTHDATE_QUERY(r);if(i)return a;const s=n||await this.fetchData(a),{messages:o}=s?.data?.validateClientData||s;return o?.length?this.concatErrorMessages(o):""},this.setPasswordState=({element:e,messages:t})=>{if(!t.length)return void this.removeValidityState(e);const i=t.filter((e=>this.passwordErrorCodes.includes(e.code)));if(!i.length)return void this.removeValidityState(e);const n=this.concatErrorMessages(i);this.setValidityState(e,n)},this.validateLoginGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,{concatPassword:a}=t.dataset,s=this.form?.querySelector(a),o=s?.value||"",l=this.queries.VALIDATE_LOGIN_QUERY(r,o);if(i)return l;const c=n||await this.fetchData(l),{messages:d}=c?.data?.validateClientData||c;if(o&&this.setPasswordState({element:s,messages:d}),!d?.length)return"";const p=d.filter((e=>!this.passwordErrorCodes.includes(e.code)));return p.length?this.concatErrorMessages(p):""},this.validatePasswordGQL=async e=>{const{input:t,getQuery:i,response:n}=e,{value:r}=t,{concatLogin:a}=t.dataset,s=this.form?.querySelector(a),o=s?.value||"",l=this.queries.VALIDATE_PASSWORD_QUERY(r,o);if(i)return l;const c=n||await this.fetchData(l),{messages:d}=c?.data?.validateClientData||c;if(!d?.length)return"";const p=d.filter((e=>!this.loginErrorCodes.includes(e.code)));return p.length?this.concatErrorMessages(p):""},this.validateIBANGQL=async e=>{const{input:t,getQuery:i}=e,{value:n}=t;if(i)return"";const r=await fetch(`/ajax/payments.php?action=verify_iban&bankAccount=${n}`),a=await r.json(),{errno:s}=a||{};return s?this.concatErrorMessages([{code:"incorrect_iban"}]):""},this.getInputQueries=async e=>(await Promise.all(e.map((async e=>{const t=await this.validateGraphQL({input:e,getQuery:!0});return`${e.id}:${t}`})))).join(""),this.validateInputsGQL=async e=>{const t=await this.getInputQueries(e),i=await this.fetchData(t);i?.data&&Object.keys(i.data).forEach((async t=>{const[n]=e.filter((e=>e.id===t));if(!n)return;const r=await this.validateGraphQL({input:n,response:i.data[t]});this.setValidityState(n,r)}))},this.clientExists=async e=>{const t=this.queries.VALIDATE_EMAIL_QUERY(e),i=await this.fetchData(t),{clientExists:n}=i?.data?.validateClientData||i;return n},this.validateMinLength=e=>{const t=e.getAttribute("minlength");return t?+t<=e.value.length?"":`${this.txt.minimalCharacters}${t}`:""},this.validateMaxLength=e=>{const t=e.getAttribute("maxlength");return t?+t>=e.value.length?"":`${this.txt.maximumCharacters}${t}`:""},this.validateInputs=async e=>{e.forEach((e=>{const t=this.validateNotEmpty(e)||this.validateMinLength(e)||this.validateMaxLength(e);""!==t&&this.setValidityState(e,t)}));const t=[...e].filter((e=>e.closest(".f-feedback:not(.--error)")));if(!t.length)return;[...t].filter((e=>
1!e.hasAttribute("data-graphql"))).forEach((e=>{this.setValidityState(e,"")}));const i=[...t].filter((e=>e.hasAttribute("data-graphql")));if(!i.length)return;const n=i.findIndex((e=>"iban"===e.dataset.graphql));-1!==n&&(await this.validateInput(i[n]),i.splice(n,1)),i.length&&await this.validateInputsGQL(i)},this.isPhoneNumber=e=>new RegExp("^[0-9*#+() ]+$").test(e),this.getGQLType=e=>{const{graphql:t}=e.dataset,i=t.split(" ");if(2===i.filter((e=>"phone"===e||"email"===e)).length){return this.isPhoneNumber(e.value)?"phone":"email"}return i[0]},this.validateGraphQL=async e=>{const{input:t,getQuery:i,response:n}=e,{graphql:r}=t.dataset;if(!r)return!1;const a=r.split(" ");switch(1===a.length?a[0]:this.getGQLType(t)){case"firstname":return await this.validateFirstnameGQL({input:t,getQuery:i,response:n});case"lastname":return await this.validateLastnameGQL({input:t,getQuery:i,response:n});case"additional":case"firm":return await this.validateAdditionalGQL({input:t,getQuery:i,response:n});case"nip":return await this.validateNipGQL({input:t,getQuery:i,response:n});case"street":return await this.validateStreetGQL({input:t,getQuery:i,response:n});case"zipcode":return await this.validateZipcodeGQL({input:t,getQuery:i,response:n});case"city":return await this.validateCityGQL({input:t,getQuery:i,response:n});case"phone":return await this.validatePhoneGQL({input:t,getQuery:i,response:n});case"email":return await this.validateEmailGQL({input:t,getQuery:i,response:n});case"birthdate":return await this.validateBirthdateGQL({input:t,getQuery:i,response:n});case"login":return await this.validateLoginGQL({input:t,getQuery:i,response:n});case"password":return await this.validatePasswordGQL({input:t,getQuery:i,response:n});case"iban":return await this.validateIBANGQL({input:t,getQuery:i,response:n});default:return console.warn(`No support for validation '${r}' in validateClientData GraphQL`),this.setValidityState(t,"")}},this.validateInput=async e=>{const t=[...new Set(this.vars.changedInputs)].filter((e=>"username"!==e.autocomplete&&"current-password"!==e.autocomplete));if(this.vars.changedInputs=[],t.length>1)return this.removeAllValidityState(),this.validateForm(),!1;const{concatTo:i}=e.dataset;if(i)return this.validateInput(this.form.querySelector(i));let n=this.validateNotEmpty(e)||this.validateMinLength(e)||this.validateMaxLength(e);if(""!==n)return this.setValidityState(e,n);return e.getAttribute("data-graphql")?(n=await this.validateGraphQL({input:e}),this.setValidityState(e,n)):this.setValidityState(e,n)},this.validateSelects=e=>{e.forEach((e=>{this.validateSelect(e)}))},this.validateSelect=e=>{if(!e)return!0;let t="";return e.closest(".--placeholder")&&e.selectedIndex<1?(t=this.txt.noOptionSelected,this.setValidityState(e,t)):this.setValidityState(e,t)},this.validateCheckboxes=e=>{e.forEach((e=>{this.validateCheckbox(e)}))},this.validateCheckbox=e=>!e||(e.checked?this.setValidityState(e,"",!0):this.setValidityState(e,"error",!0)),this.validateObjectGQL=async(e={})=>{let t="";for(const[i,n]of Object.entries(e)){const r={dataset:{}};r.value="street"===i&&e.streetNumber?`${n} ${e.streetNumber}`:n,r.dataset.region=e.region,r.dataset.graphql=i;const a=await this.validateGraphQL({input:r,getQuery:!0});a&&(t+=`${i}:${a}`)}if(""===t)return!0;const i=await this.fetchData(t);if(!i?.data)return!0;const n=[];for(const[t,r]of Object.entries(i.data)){const a={dataset:{}};a.value="street"===t&&e.streetNumber?`${r} ${e.streetNumber}`:r,a.dataset.region=e.region,a.dataset.graphql=t,n.push(await this.validateGraphQL({input:a,response:i.data[t]}))}return!n.filter((e=>""!==e)).length},this.validateObjectRequired=(e={},t=[])=>{if(!t.length)return!0;for(const[i,n]of Object.entries(e))if(t.includes(i)&&""===n)return validRequired=!1,!1;return!0},this.validateObject=async(e={},t)=>{if(!this.validateObjectRequired(e,t))return!1;return!!await this.validateObjectGQL(e,t)},this.validateForm=async e=>{const t=e||this.form,i=t.querySelectorAll('.f-control.--validate:not(:disabled):not([type="checkbox"])'),n=[...i].filter((e=>e.closest(".f-feedback:not(.--error):not(.--success)")));await this.validateInputs(n);const r=t.querySelectorAll("select.f-select.--validate:not(:disabled), div.f-select.--validate select:not(:disabled)"),a=[...r].filter((e=>e.closest(".f-feedback:not(.--error):not(.--success)")));this.validateSelects(a);const s=t.querySelectorAll('.f-control.--validate[type="checkbox"]:not(:disabled)'),o=[...s].filter((e=>e.closest(".--checkbox:not(.--error):not(.--success), .--switch:not(.--error):not(.--success)")));this.validateCheckboxes(o);const l=[...i].filter((e=>e.closest(".f-feedback.--error"))),c=[...r].filter((e=>e.closest(".f-feedback.--error"))),d=[...s].filter((e=>e.closest(".--checkbox.--error, .--switch.--error, .f-feedback.--error")));return l.length||c.length||d.length?("function"==typeof this.callbacks.validateAll&&this.callbacks.validateAll(e,!1),!1):("function"==typeof this.callbacks.validateAll&&this.callbacks.validateAll(e,!0),!0)},this.validateNotEmpty=e=>e.required||0!==e.value.length?e.value.length>0?"":this.txt.mandatoryField:"",this.createMessageElement=e=>{const t=document.createElement("div");return t.classList.add("f-message"),t.setAttribute("aria-live","polite"),e.append(t),t},this.setValidityState=(e,t,i)=>{if(!(e&&e instanceof HTMLElement))return!1;const n=e.closest(".f-feedback")||e.parentNode;n.classList.remove("--success","--error");const r=!i&&(n.querySelector(".f-message")||this.createMessageElement(n));return n.classList.toggle("--empty",""===e.value),""===t?(n.classList.add("--success"),r&&(r.textContent=""),"function"==typeof this.callbacks.validate&&this.callbacks.validate(e,!0),!0):(n.classList.add("--error"),r&&(r.textContent=t),"function"==typeof this.callbacks.validate&&this.callbacks.validate(e,!1),!1)},this.getValidityState=e=>{if(!e)return"";const t=e.closest(".f-feedback")||e.parentNode;return t.classList.contains("--success")?"success":t.classList.contains("--error")?"error":""},this.removeAllValidityState=e=>{(e||this.form).querySelectorAll(".f-control.--validate").forEach((e=>{this.removeValidityState(e)}))},this.removeValidityState=e=>{const t=e.closest(".f-feedback")||e.parentNode;t.classList.remove("--success","--error");const i=t.querySelector(".f-message");i&&(i.textContent="")},this.removeEvents=()=>{this.form&&(this.form.querySelectorAll(".f-control.--validate").forEach((e=>{"checkbox"!==e.type?e.removeEventListener("input",this.events.onInput):e.removeEventListener("change",this.events.onChange)})),"FORM"===this.form.tagName&&this.form.removeEventListener("submit",this.events.onSubmit))},this.initEvents=()=>{this.form&&(this.form.querySelectorAll(".f-control.--validate").forEach((e=>{"checkbox"!==e.type?e.addEventListener("input",this.events.onInput):e.addEventListener("change",this.events.onChange)})),"FORM"===this.form.tagName&&this.form.addEventListener("submit",this.events.onSubmit))},this.init=()=>{this.form=t||document.querySelector(i)||document,this.initEvents()},this.destroy=()=>{this.removeEvents()},this.reInit=()=>{this.destroy(),this.init()},this.debounces={validateInput:this.debounce(this.validateInput)}}app_shop.graphql||(app_shop.graphql={}),app_shop.graphql.trackingEvents=async e=>{const{headers:t}=e||{};if(!t)return!1;const i=t.get("x-iai-tracking-events");if(!i||+i<1)return!1;const n=JSON.stringify({query:"query {\n      trackingEvents\n    }"});try{const e=await fetch(`${app_shop?.urls?.graphql||"/graphql/v1/"}?trackingEvents`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:n}),t=await e.json();return t.data.trackingEvents?.forEach((e=>{const t=new Function(e);try{t()}catch(t){console.error("AJAX getTrackingEvents() Event-Error: ",e,t)}})),t.data.trackingEvents}catch(e){return console.error("AJAX getTrackingEvents() Error:",e),[]}},app_shop.fn.ajaxLoadSite=function(e){if((()=>{const e=document.getElementById("ajaxLoadSite"),t=document.getElementById("ajaxLoadSite_cover");e&&e.remove(),t&&t.remove()})(),!e)return;const t=`\n    <div id="ajaxLoadSite_cover" style="height:${document.body.scrollHeight}px;width:100%;position:absolute;
1left:0;top:0;"></div>\n    <div id="ajaxLoadSite" style="left:50%;transform:translateX(-50%);"></div>\n  `;document.body.insertAdjacentHTML("beforeend",t)},app_shop.fn.ajaxLoadSiteMessage=function(e){const t=document.getElementById("ajaxLoadSite");t&&t.append(e)};class WebAuthn{constructor(e={}){this.IAIAccountsUrl=e.IAIAccountsUrl||"https://accounts.idosell.com/",this.urls=e.urls||{generateRegister:`${this.IAIAccountsUrl}webAuthn/generateRegisterRequest.php`,register:`${this.IAIAccountsUrl}webAuthn/register.php`,generateLogin:`${this.IAIAccountsUrl}webAuthn/generateLoginRequest.php`,login:`${this.IAIAccountsUrl}webAuthn/login.php`,gql:"/graphql/v1/"},this.supportMac=e.supportMac??!0,this.supportIos=e.supportIos??!0,this.supportSafari=e.supportSafari??!0,this.supportOpera=e.supportOpera??!0}async fetchDataGQL(e={}){const{data:t,url:i,urlParameter:n=""}=e;if(!t)return!1;const r=`${i||this.urls.gql||"/graphql/v1/"}${n}`;try{const e=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:t});if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);return await e.json()}catch(e){throw new Error(`A connection error occurred. It was not possible to retrieve data from ${r}`)}}async fetchData(e={}){const{data:t,url:i}=e;if(!t||!i)return!1;try{const e=await fetch(i,{method:"POST",body:t,credentials:"include",cache:"no-cache"});if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);return await e.json()}catch(e){throw new Error(`A connection error occurred. It was not possible to retrieve data from ${i}`)}}browserNotSupported(){const e=new Error("Browser not supported.");throw e.code=1,e}isOpera(){const{browser:e}=document.documentElement.dataset;return!!e&&("Opera"===e||"Safari"===e&&navigator.userAgent.indexOf("OP")>-1)}isNotSupportedSafari(){const{browser:e,browserVersion:t}=document.documentElement.dataset;return!(!e||!t)&&("Safari"===e&&+t<15)}async checkBrowserSupport(){return!(!window.fetch||!navigator.credentials||!navigator.credentials.create||!window.PublicKeyCredential?.isUserVerifyingPlatformAuthenticatorAvailable||!await(window.PublicKeyCredential?.isUserVerifyingPlatformAuthenticatorAvailable())||!this.supportMac&&app_shop.vars.isMac||!this.supportIos&&app_shop.vars.isIos||!this.supportSafari&&app_shop.vars.isSafari||!this.supportOpera&&this.isOpera()||this.isNotSupportedSafari())}checkResponse(e){if(!e)throw new Error("Failed to retrieve data.");if("error"===e.status)throw new Error(e.errorMsg||"Unknown error occured.")}recursiveBase64StrToArrayBuffer(e){const t="=?BINARY?B?";let i={};if(Array.isArray(e))i=e.map((e=>this.recursiveBase64StrToArrayBuffer(e)));else{if("object"!=typeof e)return e;Object.keys(e).forEach((n=>{if("string"==typeof e[n]){let r=e[n];if(r.startsWith(t)&&r.endsWith("?=")){r=r.slice(11,-2);const e=window.atob(r),t=new Uint8Array(e.length);for(let i=0;i<e.length;i++)t[i]=e.charCodeAt(i);i[n]=t.buffer}else i[n]=e[n]}else i[n]=this.recursiveBase64StrToArrayBuffer(e[n])}))}return i}arrayBufferToBase64(e){const t=new Uint8Array(e),i=Array.from(t,(e=>String.fromCharCode(e))).join("");return window.btoa(i)}async registration({userLogin:e="",authorizeToken:t=""}){if(await this.checkBrowserSupport()||this.browserNotSupported(),!e)throw new Error('"userLogin" is required.');if(!t)throw new Error('"authorizeToken" is required. GraphQL expressCheckoutVerifyOtp > verificationToken.');const i=await this.fetchData({data:t,url:this.urls.generateRegister});this.checkResponse(i);const n=JSON.parse(i.data),r=this.recursiveBase64StrToArrayBuffer(n),a=await navigator.credentials.create(r),{clientDataJSON:s,attestationObject:o}=a?.response||{},l={userLogin:e,domain:window.location.hostname,authenticatorTransportMethods:a.response.getTransports?a.response.getTransports():[],clientDataJSONBase64:s?this.arrayBufferToBase64(s):"",attestationObjectBase64:o?this.arrayBufferToBase64(o):""},c=await this.fetchData({data:JSON.stringify(l),url:this.urls.register});this.checkResponse(c),console.log(c)}async login(){await this.checkBrowserSupport()||this.browserNotSupported();const e={domain:window.location.hostname},t=await this.fetchData({data:JSON.stringify(e),url:this.urls.generateLogin});this.checkResponse(t);const i=JSON.parse(t.data),n=this.recursiveBase64StrToArrayBuffer(i),r=await navigator.credentials.get(n),{rawId:a,response:{clientDataJSON:s,authenticatorData:o,signature:l,userHandle:c}}=r||{},d={domain:window.location.hostname,publicKeyCredentialBinRawId:a?this.arrayBufferToBase64(a):null,clientDataJSONBase64:s?this.arrayBufferToBase64(s):null,authenticatorDataBase64:o?this.arrayBufferToBase64(o):null,
vendor: 10,806 bytes, lines 1-2
1signatureBase64:l?this.arrayBufferToBase64(l):null,userHandleBinBase64:c?this.arrayBufferToBase64(c):null},p=await this.fetchData({data:JSON.stringify(d),url:this.urls.login});if(this.checkResponse(p),"success"!==p.status)throw new Error(p.ms);return await this.loginToShop(p.loginToken)}async loginToShop(e){if(!e)throw new Error('"loginToken" is invalid.');const t=JSON.stringify({query:`mutation{\n        loginByIAIAccountsToken(token: "${e}") {\n          status\n          login\n        }\n      }`}),i=await this.fetchDataGQL({data:t,urlParameter:"?mutation=loginByToken"});return i?.data?.loginByIAIAccountsToken}}
2/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var i=[],n=Object.getPrototypeOf,r=i.slice,a=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},s=i.push,o=i.indexOf,l={},c=l.toString,d=l.hasOwnProperty,p=d.toString,u=p.call(Object),h={},f=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},m=function(e){return null!=e&&e===e.window},_=e.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function v(e,t,i){var n,r,a=(i=i||_).createElement("script");if(a.text=e,t)for(n in g)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&a.setAttribute(n,r);i.head.appendChild(a).parentNode.removeChild(a)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.5.1",x=function(e,t){return new x.fn.init(e,t)};function w(e){var t=!!e&&"length"in e&&e.length,i=y(e);return!f(e)&&!m(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}x.fn=x.prototype={jquery:b,constructor:x,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,i){return e.call(t,i,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(0<=i&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:i.sort,splice:i.splice},x.extend=x.fn.extend=function(){var e,t,i,n,r,a,s=arguments[0]||{},o=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[o]||{},o++),"object"==typeof s||f(s)||(s={}),o===l&&(s=this,o--);o<l;o++)if(null!=(e=arguments[o]))for(t in e)n=e[t],"__proto__"!==t&&s!==n&&(c&&n&&(x.isPlainObject(n)||(r=Array.isArray(n)))?(i=s[t],a=r&&!Array.isArray(i)?[]:r||x.isPlainObject(i)?i:{},r=!1,s[t]=x.extend(c,a,n)):void 0!==n&&(s[t]=n));return s},x.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==c.call(e)||(t=n(e))&&("function"!=typeof(i=d.call(t,"constructor")&&t.constructor)||p.call(i)!==u))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){v(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(w(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var i=t||[];return null!=e&&(w(Object(e))?x.merge(i,"string"==typeof e?[e]:e):s.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:o.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;n<i;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,i){for(var n=[],r=0,a=e.length,s=!i;r<a;r++)!t(e[r],r)!==s&&n.push(e[r]);return n},map:function(e,t,i){var n,r,s=0,o=[];if(w(e))for(n=e.length;s<n;s++)null!=(r=t(e[s],s,i))&&o.push(r);else for(s in e)null!=(r=t(e[s],s,i))&&o.push(r);return a(o)},guid:1,support:h}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=i[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));var k=function(e){var t,i,n,r,a,s,o,l,c,d,p,u,h,f,m,_,g,v,y,b="sizzle"+1*new Date,x=e.document,w=0,k=0,S=le(),$=le(),C=le(),T=le(),E=function(e,t){return e===t&&(p=!0),0},D={}.hasOwnProperty,I=[],j=I.pop,N=I.push,A=I.push,L=I.slice,F=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",W="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\["+M+"*("+W+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+M+"*\\]",B=":("+W+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",O=new RegExp(M+"+","g"),q=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),P=new RegExp("^"+M+"*,"+M+"*"),Y=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),G=new RegExp(M+"|>"),R=new RegExp(B),V=new RegExp("^"+W+"$"),Z={ID:new RegExp("^#("+W+")"),CLASS:new RegExp("^\\.("+W+")"),TAG:new RegExp("^("+W+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},U=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ie=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){u()},se=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{A.apply(I=L.call(x.childNodes),x.childNodes),I[x.childNodes.length].nodeType}catch(t){A={apply:I.length?function(e,t){N.apply(e,L.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function oe(e,t,n,r){var a,o,c,d,p,f,g,v=t&&t.ownerDocument,x=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return n;if(!r&&(u(t),t=t||h,m)){if(11!==x&&(p=K.exec(e)))if(a=p[1]){if(9===x){if(!(c=t.getElementById(a)))return n;if(c.id===a)return n.push(c),n}else if(v&&(c=v.getElementById(a))&&y(t,c)&&c.id===a)return n.push(c),n}else{if(p[2])return A.apply(n,t.getElementsByTagName(e)),n;if((a=p[3])&&i.getElementsByClassName&&t.getElementsByClassName)return A.apply(n,t.getElementsByClassName(a)),n}if(i.qsa&&!T[e+" "]&&(!_||!_.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(g=e,v=t,1===x&&(G.test(e)||Y.test(e))){for((v=ee.test(e)&&ge(t.parentNode)||t)===t&&i.scope||((d=t.getAttribute("id"))?d=d.replace(ne,re):t.setAttribute("id",d=b)),o=(f=s(e)).length;o--;)f[o]=(d?"#"+d:":scope")+" "+ye(f[o]);g=f.join(",")}try{return A.apply(n,v.querySelectorAll(g)),n}catch(t){T(e,!0)}finally{d===b&&t.removeAttribute("id")}}}return l(e.replace(q,"$1"),t,n,r)}function le(){var e=[];return function t(i,r){return e.push(i+" ")>n.cacheLength&&delete t[e.shift()],t[i+" "]=r}}function ce(e){return e[b]=!0,e}function de(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var i=e.split("|"),r=i.length;r--;)n.attrHandle[i[r]]=t}function ue(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function _e(e){return ce((function(t){return t=+t,ce((function(i,n){for(var r,a=e([],i.length,t),s=a.length;s--;)i[r=a[s]]&&(i[r]=!(n[r]=i[r]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in i=oe.support={},a=oe.isXML=function(e){var t=e.namespaceURI,i=(e.ownerDocument||e).documentElement;return!U.test(t||i&&i.nodeName||"HTML")},u=oe.setDocument=function(e){var t,r,s=e?e.ownerDocument||e:x;return s!=h&&9===s.nodeType&&s.documentElement&&(f=(h=s).documentElement,m=!a(h),x!=h&&(r=h.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ae,!1):r.attachEvent&&r.attachEvent("onunload",ae)),i.scope=de((function(e){return f.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),i.attributes=de((function(e){return e.className="i",!e.getAttribute("className")})),i.getElementsByTagName=de((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),i.getElementsByClassName=Q.test(h.getElementsByClassName),i.getById=de((function(e){return f.appendChild(e).id=b,!h.getElementsByName||!h.getElementsByName(b).length})),i.getById?(n.filter.ID=function(e){var t=e.replace(te,ie);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var i=t.getElementById(e);return i?[i]:[]}}):(n.filter.ID=function(e){var t=e.replace(te,ie);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var i,n,r,a=t.getElementById(e);if(a){if((i=a.getAttributeNode("id"))&&i.value===e)return[a];for(r=t.getElementsByName(e),n=0;a=r[n++];)if((i=a.getAttributeNode("id"))&&i.value===e)return[a]}return[]}}),n.find.TAG=i.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):i.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],r=0,a=t.getElementsByTagName(e);
vendor: 9,682 bytes, line 2
2if("*"===e){for(;i=a[r++];)1===i.nodeType&&n.push(i);return n}return a},n.find.CLASS=i.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],_=[],(i.qsa=Q.test(h.querySelectorAll))&&(de((function(e){var t;f.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||_.push("\\["+M+"*(?:value|"+H+")"),e.querySelectorAll("[id~="+b+"-]").length||_.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||_.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||_.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||_.push(".#.+[+~]"),e.querySelectorAll("\\\f"),_.push("[\\r\\n\\f]")})),de((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&_.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&_.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&_.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),_.push(",.*:")}))),(i.matchesSelector=Q.test(v=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&de((function(e){i.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),g.push("!=",B)})),_=_.length&&new RegExp(_.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(f.compareDocumentPosition),y=t||Q.test(f.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return p=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!i.sortDetached&&t.compareDocumentPosition(e)===n?e==h||e.ownerDocument==x&&y(x,e)?-1:t==h||t.ownerDocument==x&&y(x,t)?1:d?F(d,e)-F(d,t):0:4&n?-1:1)}:function(e,t){if(e===t)return p=!0,0;var i,n=0,r=e.parentNode,a=t.parentNode,s=[e],o=[t];if(!r||!a)return e==h?-1:t==h?1:r?-1:a?1:d?F(d,e)-F(d,t):0;if(r===a)return ue(e,t);for(i=e;i=i.parentNode;)s.unshift(i);for(i=t;i=i.parentNode;)o.unshift(i);for(;s[n]===o[n];)n++;return n?ue(s[n],o[n]):s[n]==x?-1:o[n]==x?1:0}),h},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if(u(e),i.matchesSelector&&m&&!T[t+" "]&&(!g||!g.test(t))&&(!_||!_.test(t)))try{var n=v.call(e,t);if(n||i.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){T(t,!0)}return 0<oe(t,h,null,[e]).length},oe.contains=function(e,t){return(e.ownerDocument||e)!=h&&u(e),y(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!=h&&u(e);var r=n.attrHandle[t.toLowerCase()],a=r&&D.call(n.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==a?a:i.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},oe.escape=function(e){return(e+"").replace(ne,re)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,n=[],r=0,a=0;if(p=!i.detectDuplicates,d=!i.sortStable&&e.slice(0),e.sort(E),p){for(;t=e[a++];)t===e[a]&&(r=n.push(a));for(;r--;)e.splice(n[r],1)}return d=null,e},r=oe.getText=function(e){var t,i="",n=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=r(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[n++];)i+=r(t);return i},(n=oe.selectors={cacheLength:50,createPseudo:ce,match:Z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ie),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ie),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return Z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&R.test(i)&&(t=s(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ie).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,i){return function(n){var r=oe.attr(n,e);return null==r?"!="===t:!t||(r+="","="===t?r===i:"!="===t?r!==i:"^="===t?i&&0===r.indexOf(i):"*="===t?i&&-1<r.indexOf(i):"$="===t?i&&r.slice(-i.length)===i:"~="===t?-1<(" "+r.replace(O," ")+" ").indexOf(i):"|="===t&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,n,r){var a="nth"!==e.slice(0,3),s="last"!==e.slice(-4),o="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,i,l){var c,d,p,u,h,f,m=a!==s?"nextSibling":"previousSibling",_=t.parentNode,g=o&&t.nodeName.toLowerCase(),v=!l&&!o,y=!1;if(_){if(a){for(;m;){for(u=t;u=u[m];)if(o?u.nodeName.toLowerCase()===g:1===u.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?_.firstChild:_.lastChild],s&&v){for(y=(h=(c=(d=(p=(u=_)[b]||(u[b]={}))[u.uniqueID]||(p[u.uniqueID]={}))[e]||[])[0]===w&&c[1])&&c[2],u=h&&_.childNodes[h];u=++h&&u&&u[m]||(y=h=0)||f.pop();)if(1===u.nodeType&&++y&&u===t){d[e]=[w,h,y];break}}else if(v&&(y=h=(c=(d=(p=(u=t)[b]||(u[b]={}))[u.uniqueID]||(p[u.uniqueID]={}))[e]||[])[0]===w&&c[1]),!1===y)for(;(u=++h&&u&&u[m]||(y=h=0)||f.pop())&&((o?u.nodeName.toLowerCase()!==g:1!==u.nodeType)||!++y||(v&&((d=(p=u[b]||(u[b]={}))[u.uniqueID]||(p[u.uniqueID]={}))[e]=[w,y]),u!==t)););return(y-=r)===n||y%n==0&&0<=y/n}}},PSEUDO:function(e,t){var i,r=n.pseudos[e]||n.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return r[b]?r(t):1<r.length?(i=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,i){for(var n,a=r(e,t),s=a.length;s--;)e[n=F(e,a[s])]=!(i[n]=a[s])})):function(e){return r(e,0,i)}):r}},pseudos:{not:ce((function(e){var t=[],i=[],n=o(e.replace(q,"$1"));return n[b]?ce((function(e,t,i,r){for(var a,s=n(e,null,r,[]),o=e.length;o--;)(a=s[o])&&(e[o]=!(t[o]=a))})):function(e,r,a){return t[0]=e,n(t,null,a,i),t[0]=null,!i.pop()}})),has:ce((function(e){return function(t){return 0<oe(e,t).length}})),contains:ce((function(e){return e=e.replace(te,ie),function(t){return-1<(t.textContent||r(t)).indexOf(e)}})),lang:ce((function(e){return V.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(te,ie).toLowerCase(),function(t){var i;do{if(i=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:_e((function(){return[0]})),last:_e((function(e,t){return[t-1]})),eq:_e((function(e,t,i){return[i<0?i+t:i]})),even:_e((function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e})),odd:_e((function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e})),lt:_e((function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e})),gt:_e((function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e}))}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=fe(t);function ve(){}function ye(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function be(e,t,i){var n=t.dir,r=t.next,a=r||n,s=i&&"parentNode"===a,o=k++;return t.first?function(t,i,r){for(;t=t[n];)if(1===t.nodeType||s)return e(t,i,r);return!1}:function(t,i,l){var c,d,p,u=[w,o];if(l){for(;t=t[n];)if((1===t.nodeType||s)&&e(t,i,l))return!0}else for(;t=t[n];)if(1===t.nodeType||s)if(d=(p=t[b]||(t[b]={}))[t.uniqueID]||(p[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[n]||t;else{if((c=d[a])&&c[0]===w&&c[1]===o)return u[2]=c[2];if((d[a]=u)[2]=e(t,i,l))return!0}return!1}}function xe(e){return 1<e.length?function(t,i,n){for(var r=e.length;r--;)if(!e[r](t,i,n))return!1;return!0}:e[0]}function we(e,t,i,n,r){for(var a,s=[],o=0,l=e.length,c=null!=t;o<l;
vendor: 4,399 bytes, line 2
2o++)(a=e[o])&&(i&&!i(a,n,r)||(s.push(a),c&&t.push(o)));return s}function ke(e,t,i,n,r,a){return n&&!n[b]&&(n=ke(n)),r&&!r[b]&&(r=ke(r,a)),ce((function(a,s,o,l){var c,d,p,u=[],h=[],f=s.length,m=a||function(e,t,i){for(var n=0,r=t.length;n<r;n++)oe(e,t[n],i);return i}(t||"*",o.nodeType?[o]:o,[]),_=!e||!a&&t?m:we(m,u,e,o,l),g=i?r||(a?e:f||n)?[]:s:_;if(i&&i(_,g,o,l),n)for(c=we(g,h),n(c,[],o,l),d=c.length;d--;)(p=c[d])&&(g[h[d]]=!(_[h[d]]=p));if(a){if(r||e){if(r){for(c=[],d=g.length;d--;)(p=g[d])&&c.push(_[d]=p);r(null,g=[],c,l)}for(d=g.length;d--;)(p=g[d])&&-1<(c=r?F(a,p):u[d])&&(a[c]=!(s[c]=p))}}else g=we(g===s?g.splice(f,g.length):g),r?r(null,s,g,l):A.apply(s,g)}))}function Se(e){for(var t,i,r,a=e.length,s=n.relative[e[0].type],o=s||n.relative[" "],l=s?1:0,d=be((function(e){return e===t}),o,!0),p=be((function(e){return-1<F(t,e)}),o,!0),u=[function(e,i,n){var r=!s&&(n||i!==c)||((t=i).nodeType?d(e,i,n):p(e,i,n));return t=null,r}];l<a;l++)if(i=n.relative[e[l].type])u=[be(xe(u),i)];else{if((i=n.filter[e[l].type].apply(null,e[l].matches))[b]){for(r=++l;r<a&&!n.relative[e[r].type];r++);return ke(1<l&&xe(u),1<l&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(q,"$1"),i,l<r&&Se(e.slice(l,r)),r<a&&Se(e=e.slice(r)),r<a&&ye(e))}u.push(i)}return xe(u)}return ve.prototype=n.filters=n.pseudos,n.setFilters=new ve,s=oe.tokenize=function(e,t){var i,r,a,s,o,l,c,d=$[e+" "];if(d)return t?0:d.slice(0);for(o=e,l=[],c=n.preFilter;o;){for(s in i&&!(r=P.exec(o))||(r&&(o=o.slice(r[0].length)||o),l.push(a=[])),i=!1,(r=Y.exec(o))&&(i=r.shift(),a.push({value:i,type:r[0].replace(q," ")}),o=o.slice(i.length)),n.filter)!(r=Z[s].exec(o))||c[s]&&!(r=c[s](r))||(i=r.shift(),a.push({value:i,type:s,matches:r}),o=o.slice(i.length));if(!i)break}return t?o.length:o?oe.error(e):$(e,l).slice(0)},o=oe.compile=function(e,t){var i,r,a,o,l,d,p=[],f=[],_=C[e+" "];if(!_){for(t||(t=s(e)),i=t.length;i--;)(_=Se(t[i]))[b]?p.push(_):f.push(_);(_=C(e,(r=f,o=0<(a=p).length,l=0<r.length,d=function(e,t,i,s,d){var p,f,_,g=0,v="0",y=e&&[],b=[],x=c,k=e||l&&n.find.TAG("*",d),S=w+=null==x?1:Math.random()||.1,$=k.length;for(d&&(c=t==h||t||d);v!==$&&null!=(p=k[v]);v++){if(l&&p){for(f=0,t||p.ownerDocument==h||(u(p),i=!m);_=r[f++];)if(_(p,t||h,i)){s.push(p);break}d&&(w=S)}o&&((p=!_&&p)&&g--,e&&y.push(p))}if(g+=v,o&&v!==g){for(f=0;_=a[f++];)_(y,b,t,i);if(e){if(0<g)for(;v--;)y[v]||b[v]||(b[v]=j.call(s));b=we(b)}A.apply(s,b),d&&!e&&0<b.length&&1<g+a.length&&oe.uniqueSort(s)}return d&&(w=S,c=x),y},o?ce(d):d))).selector=e}return _},l=oe.select=function(e,t,i,r){var a,l,c,d,p,u="function"==typeof e&&e,h=!r&&s(e=u.selector||e);if(i=i||[],1===h.length){if(2<(l=h[0]=h[0].slice(0)).length&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&n.relative[l[1].type]){if(!(t=(n.find.ID(c.matches[0].replace(te,ie),t)||[])[0]))return i;u&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(a=Z.needsContext.test(e)?0:l.length;a--&&(c=l[a],!n.relative[d=c.type]);)if((p=n.find[d])&&(r=p(c.matches[0].replace(te,ie),ee.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(a,1),!(e=r.length&&ye(l)))return A.apply(i,r),i;break}}return(u||o(e,h))(r,t,!m,i,!t||ee.test(e)&&ge(t.parentNode)||t),i},i.sortStable=b.split("").sort(E).join("")===b,i.detectDuplicates=!!p,u(),i.sortDetached=de((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),de((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||pe("type|href|height|width",(function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),i.attributes&&de((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||pe("value",(function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute("disabled")}))||pe(H,(function(e,t,i){var n;if(!i)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),oe}(e);x.find=k,x.expr=k.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=k.uniqueSort,x.text=k.getText,x.isXMLDoc=k.isXML,x.contains=k.contains,x.escapeSelector=k.escape;var S=function(e,t,i){for(var n=[],r=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&x(e).is(i))break;n.push(e)}return n},$=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},C=x.expr.match.needsContext;
vendor: 5,768 bytes, line 2
2function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,i){return f(t)?x.grep(e,(function(e,n){return!!t.call(e,n,e)!==i})):t.nodeType?x.grep(e,(function(e){return e===t!==i})):"string"!=typeof t?x.grep(e,(function(e){return-1<o.call(t,e)!==i})):x.filter(t,e,i)}x.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?x.find.matchesSelector(n,e)?[n]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,i,n=this.length,r=this;if("string"!=typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t<n;t++)if(x.contains(r[t],this))return!0})));for(i=this.pushStack([]),t=0;t<n;t++)x.find(e,r[t],i);return 1<n?x.uniqueSort(i):i},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&C.test(e)?x(e):e||[],!1).length}});var I,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,i){var n,r;if(!e)return this;if(i=i||I,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:j.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),E.test(n[1])&&x.isPlainObject(t))for(n in t)f(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=_.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==i.ready?i.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,I=x(_);var N=/^(?:parents|prev(?:Until|All))/,A={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),i=t.length;return this.filter((function(){for(var e=0;e<i;e++)if(x.contains(this,t[e]))return!0}))},closest:function(e,t){var i,n=0,r=this.length,a=[],s="string"!=typeof e&&x(e);if(!C.test(e))for(;n<r;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(s?-1<s.index(i):1===i.nodeType&&x.find.matchesSelector(i,e))){a.push(i);break}return this.pushStack(1<a.length?x.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?o.call(x(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,i){return S(e,"parentNode",i)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,i){return S(e,"nextSibling",i)},prevUntil:function(e,t,i){return S(e,"previousSibling",i)},siblings:function(e){return $((e.parentNode||{}).firstChild,e)},children:function(e){return $(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(i,n){var r=x.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=x.filter(n,r)),1<this.length&&(A[e]||x.uniqueSort(r),N.test(e)&&r.reverse()),this.pushStack(r)}}));var F=/[^\x20\t\r\n\f]+/g;function H(e){return e}function M(e){throw e}function W(e,t,i,n){var r;try{e&&f(r=e.promise)?r.call(e).done(t).fail(i):e&&f(r=e.then)?r.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}x.Callbacks=function(e){var t,i;e="string"==typeof e?(t=e,i={},x.each(t.match(F)||[],(function(e,t){i[t]=!0})),i):x.extend({},e);var n,r,a,s,o=[],l=[],c=-1,d=function(){for(s=s||e.once,a=n=!0;l.length;c=-1)for(r=l.shift();++c<o.length;)!1===o[c].apply(r[0],r[1])&&e.stopOnFalse&&(c=o.length,r=!1);e.memory||(r=!1),n=!1,s&&(o=r?[]:"")},p={add:function(){return o&&(r&&!n&&(c=o.length-1,l.push(r)),function t(i){x.each(i,(function(i,n){f(n)?e.unique&&p.has(n)||o.push(n):n&&n.length&&"string"!==y(n)&&t(n)}))}(arguments),r&&!n&&d()),this},remove:function(){return x.each(arguments,(function(e,t){for(var i;-1<(i=x.inArray(t,o,i));)o.splice(i,1),i<=c&&c--})),this},has:function(e){return e?-1<x.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return s=l=[],o=r="",this},disabled:function(){return!o},lock:function(){return s=l=[],r||n||(o=r=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),n||d()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!a}};return p},x.extend({Deferred:function(t){var i=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(t){x.each(i,(function(i,n){var r=f(e[n[4]])&&e[n[4]];a[n[1]]((function(){var e=r&&r.apply(this,arguments);e&&f(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[n[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(t,n,r){var a=0;function s(t,i,n,r){return function(){var o=this,l=arguments,c=function(){var e,c;
vendor: 5,963 bytes, line 2
2if(!(t<a)){if((e=n.apply(o,l))===i.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,f(c)?r?c.call(e,s(a,i,H,r),s(a,i,M,r)):(a++,c.call(e,s(a,i,H,r),s(a,i,M,r),s(a,i,H,i.notifyWith))):(n!==H&&(o=void 0,l=[e]),(r||i.resolveWith)(o,l))}},d=r?c:function(){try{c()}catch(e){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(e,d.stackTrace),a<=t+1&&(n!==M&&(o=void 0,l=[e]),i.rejectWith(o,l))}};t?d():(x.Deferred.getStackHook&&(d.stackTrace=x.Deferred.getStackHook()),e.setTimeout(d))}}return x.Deferred((function(e){i[0][3].add(s(0,e,f(r)?r:H,e.notifyWith)),i[1][3].add(s(0,e,f(t)?t:H)),i[2][3].add(s(0,e,f(n)?n:M))})).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},a={};return x.each(i,(function(e,t){var s=t[2],o=t[5];r[t[1]]=s.add,o&&s.add((function(){n=o}),i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),s.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=s.fireWith})),r.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,i=t,n=Array(i),a=r.call(arguments),s=x.Deferred(),o=function(e){return function(i){n[e]=this,a[e]=1<arguments.length?r.call(arguments):i,--t||s.resolveWith(n,a)}};if(t<=1&&(W(e,s.done(o(i)).resolve,s.reject,!t),"pending"===s.state()||f(a[i]&&a[i].then)))return s.then();for(;i--;)W(a[i],o(i),s.reject);return s.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,i){e.console&&e.console.warn&&t&&z.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)},x.readyException=function(t){e.setTimeout((function(){throw t}))};var B=x.Deferred();function O(){_.removeEventListener("DOMContentLoaded",O),e.removeEventListener("load",O),x.ready()}x.fn.ready=function(e){return B.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0)!==e&&0<--x.readyWait||B.resolveWith(_,[x])}}),x.ready.then=B.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?e.setTimeout(x.ready):(_.addEventListener("DOMContentLoaded",O),e.addEventListener("load",O));var q=function(e,t,i,n,r,a,s){var o=0,l=e.length,c=null==i;if("object"===y(i))for(o in r=!0,i)q(e,t,o,i[o],!0,a,s);else if(void 0!==n&&(r=!0,f(n)||(s=!0),c&&(s?(t.call(e,n),t=null):(c=t,t=function(e,t,i){return c.call(x(e),i)})),t))for(;o<l;o++)t(e[o],i,s?n:n.call(e[o],o,t(e[o],i)));return r?e:c?t.call(e):l?t(e[0],i):a},P=/^-ms-/,Y=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function R(e){return e.replace(P,"ms-").replace(Y,G)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Z(){this.expando=x.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,r=this.cache(e);if("string"==typeof t)r[R(t)]=i;else for(n in t)r[R(n)]=t[n];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][R(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(R):(t=R(t))in n?[t]:t.match(F)||[]).length;for(;i--;)delete n[t[i]]}(void 0===t||x.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var U=new Z,J=new Z,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function K(e,t,i){var n,r;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(Q,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:X.test(r)?JSON.parse(r):r)}catch(e){}J.set(e,t,i)}else i=void 0;return i}x.extend({hasData:function(e){return J.hasData(e)||U.hasData(e)},data:function(e,t,i){return J.access(e,t,i)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,i){return U.access(e,t,i)},_removeData:function(e,t){U.remove(e,t)}}),x.fn.extend({data:function(e,t){var i,n,r,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(r=J.get(a),1===a.nodeType&&!U.get(a,"hasDataAttrs"))){for(i=s.length;i--;)s[i]&&0===(n=s[i].name).indexOf("data-")&&(n=R(n.slice(5)),K(a,n,r[n]));U.set(a,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){J.set(this,e)})):q(this,(function(t){var i;if(a&&void 0===t)return void 0!==(i=J.get(a,e))||void 0!==(i=K(a,e))?i:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),x.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=U.get(e,t),i&&(!n||Array.isArray(i)?n=U.access(e,t,x.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=x.queue(e,t),n=i.length,r=i.shift(),a=x._queueHooks(e,t);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete a.stop,r.call(e,(function(){x.dequeue(e,t)}),a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return U.get(e,i)||U.access(e,i,{empty:x.Callbacks("once memory").add((function(){U.remove(e,[t+"queue",i])}))})}}),x.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?x.queue(this[0],e):void 0===t?this:this.each((function(){var i=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&x.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){x.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,r=x.Deferred(),a=this,s=this.length,o=function(){--n||r.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;
vendor: 10,392 bytes, line 2
2)(i=U.get(a[s],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(o));return o(),r.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ne=_.documentElement,re=function(e){return x.contains(e.ownerDocument,e)},ae={composed:!0};ne.getRootNode&&(re=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(ae)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&re(e)&&"none"===x.css(e,"display")};function oe(e,t,i,n){var r,a,s=20,o=n?function(){return n.cur()}:function(){return x.css(e,t,"")},l=o(),c=i&&i[3]||(x.cssNumber[t]?"":"px"),d=e.nodeType&&(x.cssNumber[t]||"px"!==c&&+l)&&te.exec(x.css(e,t));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;s--;)x.style(e,t,d+c),(1-a)*(1-(a=o()/l||.5))<=0&&(s=0),d/=a;d*=2,x.style(e,t,d+c),i=i||[]}return i&&(d=+d||+l||0,r=i[1]?d+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=d,n.end=r)),r}var le={};function ce(e,t){for(var i,n,r,a,s,o,l,c=[],d=0,p=e.length;d<p;d++)(n=e[d]).style&&(i=n.style.display,t?("none"===i&&(c[d]=U.get(n,"display")||null,c[d]||(n.style.display="")),""===n.style.display&&se(n)&&(c[d]=(l=s=a=void 0,s=(r=n).ownerDocument,o=r.nodeName,(l=le[o])||(a=s.body.appendChild(s.createElement(o)),l=x.css(a,"display"),a.parentNode.removeChild(a),"none"===l&&(l="block"),le[o]=l)))):"none"!==i&&(c[d]="none",U.set(n,"display",i)));for(d=0;d<p;d++)null!=c[d]&&(e[d].style.display=c[d]);return e}x.fn.extend({show:function(){return ce(this,!0)},hide:function(){return ce(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){se(this)?x(this).show():x(this).hide()}))}});var de,pe,ue=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i;de=_.createDocumentFragment().appendChild(_.createElement("div")),(pe=_.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),de.appendChild(pe),h.checkClone=de.cloneNode(!0).cloneNode(!0).lastChild.checked,de.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!de.cloneNode(!0).lastChild.defaultValue,de.innerHTML="<option></option>",h.option=!!de.lastChild;var me={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _e(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?x.merge([e],i):i}function ge(e,t){for(var i=0,n=e.length;i<n;i++)U.set(e[i],"globalEval",!t||U.get(t[i],"globalEval"))}me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,h.option||(me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]);var ve=/<|&#?\w+;/;function ye(e,t,i,n,r){for(var a,s,o,l,c,d,p=t.createDocumentFragment(),u=[],h=0,f=e.length;h<f;h++)if((a=e[h])||0===a)if("object"===y(a))x.merge(u,a.nodeType?[a]:a);else if(ve.test(a)){for(s=s||p.appendChild(t.createElement("div")),o=(he.exec(a)||["",""])[1].toLowerCase(),l=me[o]||me._default,s.innerHTML=l[1]+x.htmlPrefilter(a)+l[2],d=l[0];d--;)s=s.lastChild;x.merge(u,s.childNodes),(s=p.firstChild).textContent=""}else u.push(t.createTextNode(a));for(p.textContent="",h=0;a=u[h++];)if(n&&-1<x.inArray(a,n))r&&r.push(a);else if(c=re(a),s=_e(p.appendChild(a),"script"),c&&ge(s),i)for(d=0;a=s[d++];)fe.test(a.type||"")&&i.push(a);return p}var be=/^key/,xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,we=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function $e(e,t){return e===function(){try{return _.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,i,n,r,a){var s,o;if("object"==typeof t){for(o in"string"!=typeof i&&(n=n||i,i=void 0),t)Ce(e,o,i,n,t[o],a);return e}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=Se;else if(!r)return e;return 1===a&&(s=r,(r=function(e){return x().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=x.guid++)),e.each((function(){x.event.add(this,t,r,n,i)}))}function Te(e,t,i){i?(U.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var n,a,s=U.get(this,t);if(1&e.isTrigger&&this[t]){if(s.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=r.call(arguments),U.set(this,t,s),n=i(this,t),this[t](),s!==(a=U.get(this,t))||n?U.set(this,t,!1):a={},s!==a)return e.stopImmediatePropagation(),e.preventDefault(),a.value}else s.length&&(U.set(this,t,{value:x.event.trigger(x.extend(s[0],x.Event.prototype),s.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===U.get(e,t)&&x.event.add(e,t,ke)}x.event={global:{},add:function(e,t,i,n,r){var a,s,o,l,c,d,p,u,h,f,m,_=U.get(e);if(V(e))for(i.handler&&(i=(a=i).handler,r=a.selector),r&&x.find.matchesSelector(ne,r),i.guid||(i.guid=x.guid++),(l=_.events)||(l=_.events=Object.create(null)),(s=_.handle)||(s=_.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(F)||[""]).length;c--;)h=m=(o=we.exec(t[c])||[])[1],f=(o[2]||"").split(".").sort(),h&&(p=x.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,p=x.event.special[h]||{},d=x.extend({type:h,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:f.join(".")},a),(u=l[h])||((u=l[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,n,f,s)||e.addEventListener&&e.addEventListener(h,s)),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=i.guid)),r?u.splice(u.delegateCount++,0,d):u.push(d),x.event.global[h]=!0)},remove:function(e,t,i,n,r){var a,s,o,l,c,d,p,u,h,f,m,_=U.hasData(e)&&U.get(e);if(_&&(l=_.events)){for(c=(t=(t||"").match(F)||[""]).length;c--;)if(h=m=(o=we.exec(t[c])||[])[1],f=(o[2]||"").split(".").sort(),h){for(p=x.event.special[h]||{},u=l[h=(n?p.delegateType:p.bindType)||h]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=a=u.length;a--;)d=u[a],!r&&m!==d.origType||i&&i.guid!==d.guid||o&&!o.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(u.splice(a,1),d.selector&&u.delegateCount--,p.remove&&p.remove.call(e,d));s&&!u.length&&(p.teardown&&!1!==p.teardown.call(e,f,_.handle)||x.removeEvent(e,h,_.handle),delete l[h])}else for(h in l)x.event.remove(e,h+t[c],i,n,!0);x.isEmptyObject(l)&&U.remove(e,"handle events")}},dispatch:function(e){var t,i,n,r,a,s,o=new Array(arguments.length),l=x.event.fix(e),c=(U.get(this,"events")||Object.create(null))[l.type]||[],d=x.event.special[l.type]||{};for(o[0]=l,t=1;t<arguments.length;t++)o[t]=arguments[t];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(s=x.event.handlers.call(this,l,c),t=0;(r=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,i=0;(a=r.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(n=((x.event.special[a.origType]||{}).handle||a.handler).apply(r.elem,o))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(e,t){var i,n,r,a,s,o=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],s={},i=0;i<l;i++)void 0===s[r=(n=t[i]).selector+" "]&&(s[r]=n.needsContext?-1<x(r,this).index(c):x.find(r,this,null,[c]).length),s[r]&&a.push(n);a.length&&o.push({elem:c,handlers:a})}return c=this,l<t.length&&o.push({elem:c,handlers:t.slice(l)}),o},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:f(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ue.test(t.type)&&t.click&&T(t,"input")&&Te(t,"click",ke),!1},trigger:function(e){var t=this||e;return ue.test(t.type)&&t.click&&T(t,"input")&&Te(t,"click"),!0},_default:function(e){var t=e.target;return ue.test(t.type)&&t.click&&T(t,"input")&&U.get(t,"click")||T(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&xe.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},(function(e,t){x.event.special[e]={setup:function(){return Te(this,e,$e),!1},trigger:function(){return Te(this,e),!0},delegateType:t}}
vendor: 5,906 bytes, line 2
2)),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||x.contains(this,n))||(e.type=r.origType,i=r.handler.apply(this,arguments),e.type=t),i}}})),x.fn.extend({on:function(e,t,i,n){return Ce(this,e,t,i,n)},one:function(e,t,i,n){return Ce(this,e,t,i,n,1)},off:function(e,t,i){var n,r;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,x(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=Se),this.each((function(){x.event.remove(this,e,i,t)}))}});var Ee=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function je(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ae(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var i,n,r,a,s,o;if(1===t.nodeType){if(U.hasData(e)&&(o=U.get(e).events))for(r in U.remove(t,"handle events"),o)for(i=0,n=o[r].length;i<n;i++)x.event.add(t,r,o[r][i]);J.hasData(e)&&(a=J.access(e),s=x.extend({},a),J.set(t,s))}}function Fe(e,t,i,n){t=a(t);var r,s,o,l,c,d,p=0,u=e.length,m=u-1,_=t[0],g=f(_);if(g||1<u&&"string"==typeof _&&!h.checkClone&&De.test(_))return e.each((function(r){var a=e.eq(r);g&&(t[0]=_.call(this,r,a.html())),Fe(a,t,i,n)}));if(u&&(s=(r=ye(t,e[0].ownerDocument,!1,e,n)).firstChild,1===r.childNodes.length&&(r=s),s||n)){for(l=(o=x.map(_e(r,"script"),Ne)).length;p<u;p++)c=r,p!==m&&(c=x.clone(c,!0,!0),l&&x.merge(o,_e(c,"script"))),i.call(e[p],c,p);if(l)for(d=o[o.length-1].ownerDocument,x.map(o,Ae),p=0;p<l;p++)c=o[p],fe.test(c.type||"")&&!U.access(c,"globalEval")&&x.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?x._evalUrl&&!c.noModule&&x._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},d):v(c.textContent.replace(Ie,""),c,d))}return e}function He(e,t,i){for(var n,r=t?x.filter(t,e):e,a=0;null!=(n=r[a]);a++)i||1!==n.nodeType||x.cleanData(_e(n)),n.parentNode&&(i&&re(n)&&ge(_e(n,"script")),n.parentNode.removeChild(n));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,r,a,s,o,l,c,d=e.cloneNode(!0),p=re(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(s=_e(d),n=0,r=(a=_e(e)).length;n<r;n++)o=a[n],"input"===(c=(l=s[n]).nodeName.toLowerCase())&&ue.test(o.type)?l.checked=o.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=o.defaultValue);if(t)if(i)for(a=a||_e(e),s=s||_e(d),n=0,r=a.length;n<r;n++)Le(a[n],s[n]);else Le(e,d);return 0<(s=_e(d,"script")).length&&ge(s,!p&&_e(e,"script")),d},cleanData:function(e){for(var t,i,n,r=x.event.special,a=0;void 0!==(i=e[a]);a++)if(V(i)){if(t=i[U.expando]){if(t.events)for(n in t.events)r[n]?x.event.remove(i,n):x.removeEvent(i,n,t.handle);i[U.expando]=void 0}i[J.expando]&&(i[J.expando]=void 0)}}}),x.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return q(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Fe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)}))},prepend:function(){return Fe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return q(this,(function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!me[(he.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(x.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Fe(this,arguments,(function(t){var i=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(_e(this)),i&&i.replaceChild(t,this))}),e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){x.fn[e]=function(e){for(var i,n=[],r=x(e),a=r.length-1,o=0;o<=a;o++)i=o===a?this:this.clone(!0),x(r[o])[t](i),s.apply(n,i.get());return this.pushStack(n)}}));var Me=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),We=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=e),i.getComputedStyle(t)},ze=function(e,t,i){var n,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];for(r in n=i.call(e),t)e.style[r]=a[r];return n},Be=new RegExp(ie.join("|"),"i");function Oe(e,t,i){var n,r,a,s,o=e.style;return(i=i||We(e))&&(""!==(s=i.getPropertyValue(t)||i[t])||re(e)||(s=x.style(e,t)),!h.pixelBoxStyles()&&Me.test(s)&&Be.test(t)&&(n=o.width,r=o.minWidth,a=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=i.width,o.width=n,o.minWidth=r,o.maxWidth=a)),void 0!==s?s+"":s}function qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(d){c.style.cssText="position:absolute;
2left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ne.appendChild(c).appendChild(d);var t=e.getComputedStyle(d);n="1%"!==t.top,l=12===i(t.marginLeft),d.style.right="60%",s=36===i(t.right),r=36===i(t.width),d.style.position="absolute",a=12===i(d.offsetWidth/3),ne.removeChild(c),d=null}}function i(e){return Math.round(parseFloat(e))}var n,r,a,s,o,l,c=_.createElement("div"),d=_.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===d.style.backgroundClip,x.extend(h,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),a},reliableTrDimensions:function(){var t,i,n,r;return null==o&&(t=_.createElement("table"),i=_.createElement("tr"),n=_.createElement("div"),t.style.cssText="position:absolute;left:-11111px",i.style.height="1px",n.style.height="9px",ne.appendChild(t).appendChild(i).appendChild(n),r=e.getComputedStyle(i),o=3<parseInt(r.height),ne.removeChild(t)),o}}))}();var Pe=["Webkit","Moz","ms"],Ye=_.createElement("div").style,Ge={};function Re(e){return x.cssProps[e]||Ge[e]||(e in Ye?e:Ge[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=Pe.length;i--;)if((e=Pe[i]+t)in Ye)return e}(e)||e)}var Ve=/^(none|table(?!-c[ea]).+)/,Ze=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function Xe(e,t,i){var n=te.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function Qe(e,t,i,n,r,a){var s="width"===t?1:0,o=0,l=0;if(i===(n?"border":"content"))return 0;for(;s<4;s+=2)"margin"===i&&(l+=x.css(e,i+ie[s],!0,r)),n?("content"===i&&(l-=x.css(e,"padding"+ie[s],!0,r)),"margin"!==i&&(l-=x.css(e,"border"+ie[s]+"Width",!0,r))):(l+=x.css(e,"padding"+ie[s],!0,r),"padding"!==i?l+=x.css(e,"border"+ie[s]+"Width",!0,r):o+=x.css(e,"border"+ie[s]+"Width",!0,r));return!n&&0<=a&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-o-.5))||0),l}function Ke(e,t,i){var n=We(e),r=(!h.boxSizingReliable()||i)&&"border-box"===x.css(e,"boxSizing",!1,n),a=r,s=Oe(e,t,n),o="offset"+t[0].toUpperCase()+t.slice(1);if(Me.test(s)){if(!i)return s;s="auto"}return(!h.boxSizingReliable()&&r||!h.reliableTrDimensions()&&T(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===x.css(e,"display",!1,n))&&e.getClientRects().length&&(r="border-box"===x.css(e,"boxSizing",!1,n),(a=o in e)&&(s=e[o])),(s=parseFloat(s)||0)+Qe(e,t,i||(r?"border":"content"),a,n,s)+"px"}function et(e,t,i,n,r){return new et.prototype.init(e,t,i,n,r)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=Oe(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,s,o=R(t),l=Ze.test(t),c=e.style;if(l||(t=Re(o)),s=x.cssHooks[t]||x.cssHooks[o],void 0===i)return s&&"get"in s&&void 0!==(r=s.get(e,!1,n))?r:c[t];"string"==(a=typeof i)&&(r=te.exec(i))&&r[1]&&(i=oe(e,t,r),a="number"),null!=i&&i==i&&("number"!==a||l||(i+=r&&r[3]||(x.cssNumber[o]?"":"px")),h.clearCloneStyle||""!==i||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(i=s.set(e,i,n))||(l?c.setProperty(t,i):c[t]=i))}},css:function(e,t,i,n){var r,a,s,o=R(t);return Ze.test(t)||(t=Re(o)),(s=x.cssHooks[t]||x.cssHooks[o])&&"get"in s&&(r=s.get(e,!0,i)),void 0===r&&(r=Oe(e,t,n)),"normal"===r&&t in Je&&(r=Je[t]),""===i||i?(a=parseFloat(r),!0===i||isFinite(a)?a||0:r):r}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,i,n){if(i)return!Ve.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ke(e,t,n):ze(e,Ue,(function(){return Ke(e,t,n)}))},set:function(e,i,n){var r,a=We(e),s=!h.scrollboxSize()&&"absolute"===a.position,o=(s||n)&&"border-box"===x.css(e,"boxSizing",!1,a),l=n?Qe(e,t,n,o,a):0;return o&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-Qe(e,t,"border",!1,a)-.5)),l&&(r=te.exec(i))&&"px"!==(r[3]||"px")&&(e.style[t]=i,i=x.css(e,t)),Xe(0,i,l)}}})),x.cssHooks.marginLeft=qe(h.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Oe(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(i){for(var n=0,r={},a="string"==typeof i?i.split(" "):[i];n<4;n++)r[e+ie[n]+t]=a[n]||a[n-2]||a[0];return r}},"margin"!==e&&(x.cssHooks[e+t].set=Xe)})),x.fn.extend({css:function(e,t){return q(this,(function(e,t,i){var n,r,a={},s=0;if(Array.isArray(t)){for(n=We(e),r=t.length;s<r;s++)a[t[s]]=x.css(e,t[s],!1,n);return a}return void 0!==i?x.style(e,t,i):x.css(e,t)}),e,t,1<arguments.length)}}),((x.Tween=et).prototype={constructor:et,init:function(e,t,i,n,r,a){this.elem=e,this.prop=i,this.easing=r||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(x.cssNumber[i]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,i=et.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Re(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=et.prototype.init,x.fx.step={};var tt,it,nt,rt,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ot(){it&&(!1===_.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ot):e.setTimeout(ot,x.fx.interval),x.fx.tick())}function lt(){return e.setTimeout((function(){tt=void 0})),tt=Date.now()}function ct(e,t){var i,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(i=ie[n])]=r["padding"+i]=e;return t&&(r.opacity=r.width=e),r}
vendor: 4,865 bytes, line 2
2function dt(e,t,i){for(var n,r=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),a=0,s=r.length;a<s;a++)if(n=r[a].call(i,t,e))return n}function pt(e,t,i){var n,r,a=0,s=pt.prefilters.length,o=x.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=tt||lt(),i=Math.max(0,c.startTime+c.duration-t),n=1-(i/c.duration||0),a=0,s=c.tweens.length;a<s;a++)c.tweens[a].run(n);return o.notifyWith(e,[c,n,i]),n<1&&s?i:(s||o.notifyWith(e,[c,1,0]),o.resolveWith(e,[c]),!1)},c=o.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},i),originalProperties:t,originalOptions:i,startTime:tt||lt(),duration:i.duration,tweens:[],createTween:function(t,i){var n=x.Tween(e,c.opts,t,i,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var i=0,n=t?c.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)c.tweens[i].run(1);return t?(o.notifyWith(e,[c,1,0]),o.resolveWith(e,[c,t])):o.rejectWith(e,[c,t]),this}}),d=c.props;for(function(e,t){var i,n,r,a,s;for(i in e)if(r=t[n=R(i)],a=e[i],Array.isArray(a)&&(r=a[1],a=e[i]=a[0]),i!==n&&(e[n]=a,delete e[i]),(s=x.cssHooks[n])&&"expand"in s)for(i in a=s.expand(a),delete e[n],a)i in e||(e[i]=a[i],t[i]=r);else t[n]=r}(d,c.opts.specialEasing);a<s;a++)if(n=pt.prefilters[a].call(c,e,d,c.opts))return f(n.stop)&&(x._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return x.map(d,dt,c),f(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),x.fx.timer(x.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}x.Animation=x.extend(pt,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return oe(i.elem,e,te.exec(t),i),i}]},tweener:function(e,t){f(e)?(t=e,e=["*"]):e=e.match(F);for(var i,n=0,r=e.length;n<r;n++)i=e[n],pt.tweeners[i]=pt.tweeners[i]||[],pt.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,r,a,s,o,l,c,d,p="width"in t||"height"in t,u=this,h={},f=e.style,m=e.nodeType&&se(e),_=U.get(e,"fxshow");for(n in i.queue||(null==(s=x._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,o=s.empty.fire,s.empty.fire=function(){s.unqueued||o()}),s.unqueued++,u.always((function(){u.always((function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()}))}))),t)if(r=t[n],at.test(r)){if(delete t[n],a=a||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!_||void 0===_[n])continue;m=!0}h[n]=_&&_[n]||x.style(e,n)}if((l=!x.isEmptyObject(t))||!x.isEmptyObject(h))for(n in p&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=_&&_.display)&&(c=U.get(e,"display")),"none"===(d=x.css(e,"display"))&&(c?d=c:(ce([e],!0),c=e.style.display||c,d=x.css(e,"display"),ce([e]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===x.css(e,"float")&&(l||(u.done((function(){f.display=c})),null==c&&(d=f.display,c="none"===d?"":d)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",u.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,h)l||(_?"hidden"in _&&(m=_.hidden):_=U.access(e,"fxshow",{display:c}),a&&(_.hidden=!m),m&&ce([e],!0),u.done((function(){for(n in m||ce([e]),U.remove(e,"fxshow"),h)x.style(e,n,h[n])}))),l=dt(m?_[n]:0,n,u),n in _||(_[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),x.speed=function(e,t,i){var n=e&&"object"==typeof e?x.extend({},e):{complete:i||!i&&t||f(e)&&e,duration:e,easing:i&&t||t&&!f(t)&&t};return x.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in x.fx.speeds?n.duration=x.fx.speeds[n.duration]:n.duration=x.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){f(n.old)&&n.old.call(this),n.queue&&x.dequeue(this,n.queue)},n},x.fn.extend({fadeTo:function(e,t,i,n){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var r=x.isEmptyObject(e),a=x.speed(t,i,n),s=function(){var t=pt(this,x.extend({},e),a);(r||U.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",a=x.timers,s=U.get(this);if(r)s[r]&&s[r].stop&&n(s[r]);else for(r in s)s[r]&&s[r].stop&&st.test(r)&&n(s[r]);for(r=a.length;r--;)a[r].elem!==this||null!=e&&a[r].queue!==e||(a[r].anim.stop(i),t=!1,a.splice(r,1));!t&&i||x.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,i=U.get(this),n=i[e+"queue"],r=i[e+"queueHooks"],a=x.timers,s=n?n.length:0;for(i.finish=!0,x.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1)
vendor: 5,991 bytes, line 2
2);for(t=0;t<s;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish}))}}),x.each(["toggle","show","hide"],(function(e,t){var i=x.fn[t];x.fn[t]=function(e,n,r){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(ct(t,!0),e,n,r)}})),x.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){x.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}})),x.timers=[],x.fx.tick=function(){var e,t=0,i=x.timers;for(tt=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||x.fx.stop(),tt=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){it||(it=!0,ot())},x.fx.stop=function(){it=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(t,i){return t=x.fx&&x.fx.speeds[t]||t,i=i||"fx",this.queue(i,(function(i,n){var r=e.setTimeout(i,t);n.stop=function(){e.clearTimeout(r)}}))},nt=_.createElement("input"),rt=_.createElement("select").appendChild(_.createElement("option")),nt.type="checkbox",h.checkOn=""!==nt.value,h.optSelected=rt.selected,(nt=_.createElement("input")).value="t",nt.type="radio",h.radioValue="t"===nt.value;var ut,ht=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return q(this,x.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,i){var n,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?x.prop(e,t,i):(1===a&&x.isXMLDoc(e)||(r=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ut:void 0)),void 0!==i?null===i?void x.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:(e.setAttribute(t,i+""),i):r&&"get"in r&&null!==(n=r.get(e,t))?n:null==(n=x.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&T(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,r=t&&t.match(F);if(r&&1===e.nodeType)for(;i=r[n++];)e.removeAttribute(i)}}),ut={set:function(e,t,i){return!1===t?x.removeAttr(e,i):e.setAttribute(i,i),i}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var i=ht[t]||x.find.attr;ht[t]=function(e,t,n){var r,a,s=t.toLowerCase();return n||(a=ht[s],ht[s]=r,r=null!=i(e,t,n)?s:null,ht[s]=a),r}}));var ft=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function _t(e){return(e.match(F)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}x.fn.extend({prop:function(e,t){return q(this,x.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,i){var n,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&x.isXMLDoc(e)||(t=x.propFix[t]||t,r=x.propHooks[t]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:e[t]=i:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,i,n,r,a,s,o,l=0;if(f(e))return this.each((function(t){x(this).addClass(e.call(this,t,gt(this)))}));if((t=vt(e)).length)for(;i=this[l++];)if(r=gt(i),n=1===i.nodeType&&" "+_t(r)+" "){for(s=0;a=t[s++];)n.indexOf(" "+a+" ")<0&&(n+=a+" ");r!==(o=_t(n))&&i.setAttribute("class",o)}return this},removeClass:function(e){var t,i,n,r,a,s,o,l=0;if(f(e))return this.each((function(t){x(this).removeClass(e.call(this,t,gt(this)))}));if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;i=this[l++];)if(r=gt(i),n=1===i.nodeType&&" "+_t(r)+" "){for(s=0;a=t[s++];)for(;-1<n.indexOf(" "+a+" ");)n=n.replace(" "+a+" "," ");r!==(o=_t(n))&&i.setAttribute("class",o)}return this},toggleClass:function(e,t){var i=typeof e,n="string"===i||Array.isArray(e);return"boolean"==typeof t&&n?t?this.addClass(e):this.removeClass(e):f(e)?this.each((function(i){x(this).toggleClass(e.call(this,i,gt(this),t),t)})):this.each((function(){var t,r,a,s;if(n)for(r=0,a=x(this),s=vt(e);t=s[r++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==i||((t=gt(this))&&U.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":U.get(this,"__className__")||""))}))},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&-1<(" "+_t(gt(i))+" ").indexOf(t))return!0;return!1}});var yt=/\r/g;x.fn.extend({val:function(e){var t,i,n,r=this[0];return arguments.length?(n=f(e),this.each((function(i){var r;1===this.nodeType&&(null==(r=n?e.call(this,i,x(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=x.map(r,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=x.valHooks[r.type]||x.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(yt,""):null==i?"":i:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:_t(x.text(e))}},select:{get:function(e){var t,i,n,r=e.options,a=e.selectedIndex,s="select-one"===e.type,o=s?null:[],l=s?a+1:r.length;for(n=a<0?l:s?a:0;n<l;n++)if(((i=r[n]).selected||n===a)&&!i.disabled&&(!i.parentNode.disabled||!T(i.parentNode,"optgroup"))){if(t=x(i).val(),s)return t;o.push(t)}return o}
vendor: 5,480 bytes, line 2
2,set:function(e,t){for(var i,n,r=e.options,a=x.makeArray(t),s=r.length;s--;)((n=r[s]).selected=-1<x.inArray(x.valHooks.option.get(n),a))&&(i=!0);return i||(e.selectedIndex=-1),a}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<x.inArray(x(e).val(),t)}},h.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),h.focusin="onfocusin"in e;var bt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(t,i,n,r){var a,s,o,l,c,p,u,h,g=[n||_],v=d.call(t,"type")?t.type:t,y=d.call(t,"namespace")?t.namespace.split("."):[];if(s=h=o=n=n||_,3!==n.nodeType&&8!==n.nodeType&&!bt.test(v+x.event.triggered)&&(-1<v.indexOf(".")&&(v=(y=v.split(".")).shift(),y.sort()),c=v.indexOf(":")<0&&"on"+v,(t=t[x.expando]?t:new x.Event(v,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),i=null==i?[t]:x.makeArray(i,[t]),u=x.event.special[v]||{},r||!u.trigger||!1!==u.trigger.apply(n,i))){if(!r&&!u.noBubble&&!m(n)){for(l=u.delegateType||v,bt.test(l+v)||(s=s.parentNode);s;s=s.parentNode)g.push(s),o=s;o===(n.ownerDocument||_)&&g.push(o.defaultView||o.parentWindow||e)}for(a=0;(s=g[a++])&&!t.isPropagationStopped();)h=s,t.type=1<a?l:u.bindType||v,(p=(U.get(s,"events")||Object.create(null))[t.type]&&U.get(s,"handle"))&&p.apply(s,i),(p=c&&s[c])&&p.apply&&V(s)&&(t.result=p.apply(s,i),!1===t.result&&t.preventDefault());return t.type=v,r||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(g.pop(),i)||!V(n)||c&&f(n[v])&&!m(n)&&((o=n[c])&&(n[c]=null),x.event.triggered=v,t.isPropagationStopped()&&h.addEventListener(v,xt),n[v](),t.isPropagationStopped()&&h.removeEventListener(v,xt),x.event.triggered=void 0,o&&(n[c]=o)),t.result}},simulate:function(e,t,i){var n=x.extend(new x.Event,i,{type:e,isSimulated:!0});x.event.trigger(n,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var i=this[0];if(i)return x.event.trigger(e,t,i,!0)}}),h.focusin||x.each({focus:"focusin",blur:"focusout"},(function(e,t){var i=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,r=U.access(n,t);r||n.addEventListener(e,i,!0),U.access(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=U.access(n,t)-1;r?U.access(n,t,r):(n.removeEventListener(e,i,!0),U.remove(n,t))}}}));var wt=e.location,kt={guid:Date.now()},St=/\?/;x.parseXML=function(t){var i;if(!t||"string"!=typeof t)return null;try{i=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){i=void 0}return i&&!i.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+t),i};var $t=/\[\]$/,Ct=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,i,n){var r;if(Array.isArray(t))x.each(t,(function(t,r){i||$t.test(e)?n(e,r):Dt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,i,n)}));else if(i||"object"!==y(t))n(e,t);else for(r in t)Dt(e+"["+r+"]",t[r],i,n)}x.param=function(e,t){var i,n=[],r=function(e,t){var i=f(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){r(this.name,this.value)}));else for(i in e)Dt(i,e[i],t,r);return n.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Et.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!ue.test(e))})).map((function(e,t){var i=x(this).val();return null==i?null:Array.isArray(i)?x.map(i,(function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}})):{name:t.name,value:i.replace(Ct,"\r\n")}})).get()}});var It=/%20/g,jt=/#.*$/,Nt=/([?&])_=[^&]*/,At=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Ft=/^\/\//,Ht={},Mt={},Wt="*/".concat("*"),zt=_.createElement("a");function Bt(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,r=0,a=t.toLowerCase().match(F)||[];if(f(i))for(;n=a[r++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function Ot(e,t,i,n){var r={},a=e===Mt;function s(o){var l;return r[o]=!0,x.each(e[o]||[],(function(e,o){var c=o(t,i,n);return"string"!=typeof c||a||r[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)})),l}return s(t.dataTypes[0])||!r["*"]&&s("*")}function qt(e,t){var i,n,r=x.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&x.extend(!0,e,n),e}zt.href=wt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML}
vendor: 7,781 bytes, line 2
2,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,x.ajaxSettings),t):qt(x.ajaxSettings,e)},ajaxPrefilter:Bt(Ht),ajaxTransport:Bt(Mt),ajax:function(t,i){"object"==typeof t&&(i=t,t=void 0),i=i||{};var n,r,a,s,o,l,c,d,p,u,h=x.ajaxSetup({},i),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?x(f):x.event,g=x.Deferred(),v=x.Callbacks("once memory"),y=h.statusCode||{},b={},w={},k="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=At.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return n&&n.abort(t),$(0,t),this}};if(g.promise(S),h.url=((t||h.url||wt.href)+"").replace(Ft,wt.protocol+"//"),h.type=i.method||i.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(F)||[""],null==h.crossDomain){l=_.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=zt.protocol+"//"+zt.host!=l.protocol+"//"+l.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),Ot(Ht,h,i,S),c)return S;for(p in(d=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Lt.test(h.type),r=h.url.replace(jt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(It,"+")):(u=h.url.slice(r.length),h.data&&(h.processData||"string"==typeof h.data)&&(r+=(St.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace(Nt,"$1"),u=(St.test(r)?"&":"?")+"_="+kt.guid+++u),h.url=r+u),h.ifModified&&(x.lastModified[r]&&S.setRequestHeader("If-Modified-Since",x.lastModified[r]),x.etag[r]&&S.setRequestHeader("If-None-Match",x.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||i.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Wt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(f,S,h)||c))return S.abort();if(k="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),n=Ot(Mt,h,i,S)){if(S.readyState=1,d&&m.trigger("ajaxSend",[S,h]),c)return S;h.async&&0<h.timeout&&(o=e.setTimeout((function(){S.abort("timeout")}),h.timeout));try{c=!1,n.send(b,$)}catch(t){if(c)throw t;$(-1,t)}}else $(-1,"No Transport");function $(t,i,s,l){var p,u,_,b,w,k=i;c||(c=!0,o&&e.clearTimeout(o),n=void 0,a=l||"",S.readyState=0<t?4:0,p=200<=t&&t<300||304===t,s&&(b=function(e,t,i){for(var n,r,a,s,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in o)if(o[r]&&o[r].test(n)){l.unshift(r);break}if(l[0]in i)a=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){a=r;break}s||(s=r)}a=a||s}if(a)return a!==l[0]&&l.unshift(a),i[a]}(h,S,s)),!p&&-1<x.inArray("script",h.dataTypes)&&(h.converters["text script"]=function(){}),b=function(e,t,i,n){var r,a,s,o,l,c={},d=e.dataTypes.slice();if(d[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(a=d.shift();a;)if(e.responseFields[a]&&(i[e.responseFields[a]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=d.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(s=c[l+" "+a]||c["* "+a]))for(r in c)if((o=r.split(" "))[1]===a&&(s=c[l+" "+o[0]]||c["* "+o[0]])){!0===s?s=c[r]:!0!==c[r]&&(a=o[0],d.unshift(o[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(h,b,S,p),p?(h.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(x.lastModified[r]=w),(w=S.getResponseHeader("etag"))&&(x.etag[r]=w)),204===t||"HEAD"===h.type?k="nocontent":304===t?k="notmodified":(k=b.state,u=b.data,p=!(_=b.error))):(_=k,!t&&k||(k="error",t<0&&(t=0))),S.status=t,S.statusText=(i||k)+"",p?g.resolveWith(f,[u,k,S]):g.rejectWith(f,[S,k,_]),S.statusCode(y),y=void 0,d&&m.trigger(p?"ajaxSuccess":"ajaxError",[S,h,p?u:_]),v.fireWith(f,[S,k]),d&&(m.trigger("ajaxComplete",[S,h]),--x.active||x.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,i){return x.get(e,t,i,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,i,n,r){return f(i)&&(r=r||n,n=i,i=void 0),x.ajax(x.extend({url:e,type:t,dataType:r,data:i,success:n},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,i){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,i)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return f(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(i){x(this).wrapAll(t?e.call(this,i):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Pt={0:200,1223:204},Yt=x.ajaxSettings.xhr();h.cors=!!Yt&&"withCredentials"in Yt,h.ajax=Yt=!!Yt,x.ajaxTransport((function(t){var i,n;if(h.cors||Yt&&!t.crossDomain)return{send:function(r,a){var s,o=t.xhr();if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)o[s]=t.xhrFields[s];for(s in t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)o.setRequestHeader(s,r[s]);i=function(e){return function(){i&&(i=n=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?a(0,"error"):a(o.status,o.statusText):a(Pt[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=i(),n=o.onerror=o.ontimeout=i("error"),void 0!==o.onabort?o.onabort=n:o.onreadystatechange=function(){4===o.readyState&&e.setTimeout((function(){i&&n()}))},i=i("abort");try{o.send(t.hasContent&&t.data||null)}catch(r){if(i)throw r}},abort:function(){i&&i()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,i;if(e.crossDomain||e.scriptAttrs)return{send:function(n,r){t=x("<script>").attr(e.scriptAttrs||{}
vendor: 2,210 bytes, line 2
2).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&r("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){i&&i()}}}));var Gt,Rt=[],Vt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Rt.pop()||x.expando+"_"+kt.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",(function(t,i,n){var r,a,s,o=!1!==t.jsonp&&(Vt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=f(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Vt,"$1"+r):!1!==t.jsonp&&(t.url+=(St.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||x.error(r+" was not called"),s[0]},t.dataTypes[0]="json",a=e[r],e[r]=function(){s=arguments},n.always((function(){void 0===a?x(e).removeProp(r):e[r]=a,t[r]&&(t.jsonpCallback=i.jsonpCallback,Rt.push(r)),s&&f(a)&&a(s[0]),s=a=void 0})),"script"})),h.createHTMLDocument=((Gt=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),x.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(h.createHTMLDocument?((n=(t=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,t.head.appendChild(n)):t=_),a=!i&&[],(r=E.exec(e))?[t.createElement(r[1])]:(r=ye([e],t,a),a&&a.length&&x(a).remove(),x.merge([],r.childNodes)));var n,r,a},x.fn.load=function(e,t,i){var n,r,a,s=this,o=e.indexOf(" ");return-1<o&&(n=_t(e.slice(o)),e=e.slice(0,o)),f(t)?(i=t,t=void 0):t&&"object"==typeof t&&(r="POST"),0<s.length&&x.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){a=arguments,s.html(n?x("<div>").append(x.parseHTML(e)).find(n):e)})).always(i&&function(e,t){s.each((function(){i.apply(this,a||[e.responseText,t,e])}))}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,(function(t){return e===t.elem})).length},x.offset={setOffset:function(e,t,i){var n,r,a,s,o,l,c=x.css(e,"position"),d=x(e),p={};"static"===c&&(e.style.position="relative"),o=d.offset(),a=x.css(e,"to
2p"),l=x.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(a+l).indexOf("auto")?(s=(n=d.position()).top,r=n.left):(s=parseFloat(a)||0,r=parseFloat(l)||0),f(t)&&(t=t.call(e,i,x.extend({},o))),null!=t.top&&(p.top=t.top-o.top+s),null!=t.left&&(p.left=t.left-o.left+r),"using"in t?t.using.call(e,p):("number"==typeof p.top&&(p.top+="px"),"number"==typeof p.left&&(p.left+="px"),d.css(p))}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){x.offset.setOffset(this,e,t)}));var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],r={top:0,left:0};if("fixed"===x.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((r=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),r.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-x.css(n,"marginTop",!0),left:t.left-r.left-x.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||ne}))}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var i="pageYOffset"===t;x.fn[e]=function(n){return q(this,(function(e,n,r){var a;if(m(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===r)return a?a[t]:e[n];a?a.scrollTo(i?a.pageXOffset:r,i?r:a.pageYOffset):e[n]=r}),e,n,arguments.length)}})),x.each(["top","left"],(function(e,t){x.cssHooks[t]=qe(h.pixelPosition,(function(e,i){if(i)return i=Oe(e,t),Me.test(i)?x(e).position()[t]+"px":i}))})),x.each({Height:"height",Width:"width"},(function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},(function(i,n){x.fn[n]=function(r,a){var s=arguments.length&&(i||"boolean"!=typeof r),o=i||(!0===r||!0===a?"margin":"border");return q(this,(function(t,i,r){var a;return m(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===r?x.css(t,i,o):x.style(t,i,r,o)}),t,s?r:void 0,s)}}))})),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){x.fn[t]=function(e){return this.on(t,e)}})),x.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){x.fn[t]=function(e,i){return 0<arguments.length?this.on(t,null,e,i):this.trigger(t)}}));var Zt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var i,n,a;if("string"==typeof t&&(i=e[t],t=e,e=i),f(e))return n=r.call(arguments,2),(a=function(){return e.apply(t||this,n.concat(r.call(arguments)))}).guid=e.guid=e.guid||x.guid++,a},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=T,x.isFunction=f,x.isWindow=m,x.camelCase=R,x.type=y,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Zt,"")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return x}));var Ut=e.jQuery,Jt=e.$;return x.noConflict=function(t){return e.$===x&&(e.$=Jt),t&&e.jQuery===x&&(e.jQuery=Ut),x},void 0===t&&(e.jQuery=e.$=x),x})),jQuery.fn.size=function(){return this.length},$.curCSS=function(e,t,i){$(e).css(t,i)},
3/*!
4 * jQuery Migrate - v3.3.1 - 2020-06-25T01:07Z
5 * Copyright OpenJS Foundation and other contributors
6 */
7function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],(function(t){return e(t,window)})):"object"==typeof module&&module.exports?module.exports=e(require("jquery"),window):e(jQuery,window)}((function(e,t){"use strict";function i(t){return function(e,t){var i,n=/^(\d+)\.(\d+)\.(\d+)/,r=n.exec(e)||[],a=n.exec(t)||[];for(i=1;i<=3;i++){if(+r[i]>+a[i])return 1;if(+r[i]<+a[i])return-1}return 0}(e.fn.jquery,t)>=0}e.migrateVersion="3.3.1";function n(e,t,i,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return i},set:function(e){i=e}})}function r(e,t,i,n){e[t]=function(){return i.apply(this,arguments)}}e.migrateDeduplicateWarnings=!0,e.migrateWarnings=[],void 0===e.migrateTrace&&(e.migrateTrace=!0),e.migrateReset=function(){e.migrateWarnings.length=0},t.document.compatMode;var a,s={},o=e.fn.init,l=e.find,c=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,d=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;for(a in e.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(t[0]=[]),o.apply(this,t)},e.fn.init.prototype=e.fn,e.find=function(e){var i=Array.prototype.slice.call(arguments);if("string"==typeof e&&c.test(e))try{t.document.querySelector(e)}catch(n){e=e.replace(d,(function(e,t,i,n){return"["+t+i+'"'+n+'"]'}));try{t.document.querySelector(e),i[0],i[0]=e}catch(e){i[0]}}return l.apply(this,i)},l)Object.prototype.hasOwnProperty.call(l,a)&&(e.find[a]=l[a]);if(r(e.fn,"size",(function(){return this.length})),r(e,"parseJSON",(function(){return JSON.parse.apply(null,arguments)})),r(e,"holdReady",e.holdReady),r(e,"unique",e.uniqueSort),n(e.expr,"filters",e.expr.pseudos),n(e.expr,":",e.expr.pseudos),i("3.1.1")&&r(e,"trim",(function(e){return null==e?"":(e+"").replace(p,"")}
7)),i("3.2.0")&&r(e,"nodeName",(function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()})),i("3.3.0")&&(r(e,"isNumeric",(function(e){var t=typeof e;return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))})),e.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){s["[object "+t+"]"]=t.toLowerCase()})),r(e,"type",(function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?s[Object.prototype.toString.call(e)]||"object":typeof e})),r(e,"isFunction",(function(e){return"function"==typeof e})),r(e,"isWindow",(function(e){return null!=e&&e===e.window})),r(e,"isArray",Array.isArray)),e.ajax){var u=e.ajax;e.ajax=function(){var e=u.apply(this,arguments);return e.promise&&(r(e,"success",e.done),r(e,"error",e.fail),r(e,"complete",e.always)),e}}var h=e.fn.removeAttr,f=e.fn.toggleClass,m=/\S+/g;function _(e){return e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))}e.fn.removeAttr=function(t){var i=this;return e.each(t.match(m),(function(t,n){e.expr.match.bool.test(n)&&i.prop(n,!1)})),h.apply(this,arguments)},e.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?f.apply(this,arguments):this.each((function(){var i=this.getAttribute&&this.getAttribute("class")||"";i&&e.data(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":e.data(this,"__className__")||"")}))};var g,v=/^[a-z]/,y=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;e.swap&&e.each(["height","width","reliableMarginRight"],(function(t,i){var n=e.cssHooks[i]&&e.cssHooks[i].get;n&&(e.cssHooks[i].get=function(){var e;return e=n.apply(this,arguments),e})})),e.swap=function(e,t,i,n){var r,a,s={};for(a in t)s[a]=e.style[a],e.style[a]=t[a];for(a in r=i.apply(e,n||[]),t)e.style[a]=s[a];return r},i("3.4.0")&&"undefined"!=typeof Proxy&&(e.cssProps=new Proxy(e.cssProps||{},{set:function(){return Reflect.set.apply(this,arguments)}})),e.cssNumber||(e.cssNumber={}),g=e.fn.css,e.fn.css=function(t,i){var n,r,a=this;return t&&"object"==typeof t&&!Array.isArray(t)&&e.each(t,(function(t,i){e.fn.css.call(a,t,i)})),"number"==typeof i&&(n=_(t),r=n,v.test(r)&&y.test(r[0].toUpperCase()+r.slice(1))||e.cssNumber[n]),g.apply(this,arguments)};var b=e.data;if(e.data=function(t,i,n){var r,a,s;if(i&&"object"==typeof i&&2===arguments.length){for(s in r=e.hasData(t)&&b.call(this,t),a={},i)s!==_(s)?r[s]=i[s]:a[s]=i[s];return b.call(this,t,a),i}return i&&"string"==typeof i&&i!==_(i)&&(r=e.hasData(t)&&b.call(this,t))&&i in r?(arguments.length>2&&(r[i]=n),r[i]):b.apply(this,arguments)},e.fx){var x,w=e.Tween.prototype.run,k=function(e){return e};e.Tween.prototype.run=function(){e.easing[this.easing].length>1&&(this.easing.toString(),e.easing[this.easing]=k),w.apply(this,arguments)},x=e.fx.interval||13,t.requestAnimationFrame&&Object.defineProperty(e.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return t.document.hidden,x},set:function(e){x=e}})}var S=e.fn.load,$=e.event.add,C=e.event.fix;e.event.props=[],e.event.fixHooks={},n(e.event.props,"concat",e.event.props.concat),e.event.fix=function(t){var i,n=t.type,r=this.fixHooks[n],a=e.event.props;if(a.length)for(a.join();a.length;)e.event.addProp(a.pop());if(r&&!r._migrated_&&(r._migrated_=!0,(a=r.props)&&a.length))for(;a.length;)e.event.addProp(a.pop());return i=C.call(this,t),r&&r.filter?r.filter(i,t):i},e.event.add=function(e,i){return e===t&&"load"===i&&t.document.readyState,$.apply(this,arguments)},e.each(["load","unload","error"],(function(t,i){e.fn[i]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===i&&"string"==typeof e[0]?S.apply(this,e):(e.splice(0,0,i),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}})),e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,i){e.fn[i]=function(e,t){return arguments.length>0?this.on(i,null,e,t):this.trigger(i)}})),e((function(){e(t.document).triggerHandler("ready")})),e.event.special.ready={setup:function(){t.document}},e.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}});var T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,E=e.htmlPrefilter,D=function(e){var i=t.document.implementation.createHTMLDocument("");return i.body.innerHTML=e,i.body&&i.body.innerHTML},I=function(e){var t=e.replace(T,"<$1></$2>");t!==e&&(D(e),D(t))};e.UNSAFE_restoreLegacyHtmlPrefilter=function(){e.htmlPrefilter=function(e){return I(e),e.replace(T,"<$1></$2>")}},e.htmlPrefilter=function(e){return I(e),E(e)};var j=e.fn.offset;if(e.fn.offset=function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?j.apply(this,arguments):arguments.length?this:void 0},e.ajax){var N=e.param;e.param=function(t,i){var n=e.ajaxSettings&&e.ajaxSettings.traditional;return void 0===i&&n&&(i=n),N.call(this,t,i)}}var A=e.fn.andSelf||e.fn.addBack;if(e.fn.andSelf=function(){return A.apply(this,arguments)},e.Deferred){var L=e.Deferred,F=[["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory"),e.Callbacks("memory")]];e.Deferred=function(t){var i=L(),n=i.promise();return i.pipe=n.pipe=function(){var t=arguments;return e.Deferred((function(r){e.each(F,(function(e,a){var s="function"==typeof t[e]&&t[e];i[a[1]]((function(){var e=s&&s.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[a[0]+"With"](this===n?r.promise():this,s?[e]:arguments)}))})),t=null})).promise()},t&&t.call(i,i),i},e.Deferred.exceptionHook=L.exceptionHook}return e})),jQuery.event.special.touchstart={setup:function(e,t,i){this.addEventListener("touchstart",i,{passive:!1})}},jQuery.event.special.touchmove={setup:function(e,t,i){this.addEventListener("touchmove",i,{passive:!1})}},jQuery.event.special.wheel={setup:function(e,t,i){this.addEventListener("wheel",i,{passive:!0})}},jQuery.event.special.mousewheel={setup:function(e,t,i){this.addEventListener("mousewheel",i,{passive:!0})}},
8/*! jQuery v1.7.2 jquery.com | jquery.org/license */
9function(e,t){function i(e){return j.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}function n(e){if(!ut[e]){var t=E.body,i=j("<"+e+">").appendTo(t),n=i.css("display");i.remove(),"none"!==n&&""!==n||(lt||((lt=E.createElement("iframe")).frameBorder=lt.width=lt.height=0),t.appendChild(lt),ct&&lt.createElement||((ct=(lt.contentWindow||lt.contentDocument).document).write((j.support.boxModel?"<!doctype html>":"")+"<html><body>"),ct.close()),i=ct.createElement(e),ct.body.appendChild(i),n=j.css(i,"dis
9play"),t.removeChild(lt)),ut[e]=n}return ut[e]}function r(e,t){var i={};return j.each(mt.concat.apply([],mt.slice(0,t)),(function(){i[this]=e})),i}function a(){pt=t}function s(){return setTimeout(a,0),pt=j.now()}function o(){try{return new e.XMLHttpRequest}catch(e){}}function l(e,t,i,n){if(j.isArray(t))j.each(t,(function(t,r){i||Be.test(e)?n(e,r):l(e+"["+("object"==typeof r?t:"")+"]",r,i,n)}));else if(i||"object"!==j.type(t))n(e,t);else for(var r in t)l(e+"["+r+"]",t[r],i,n)}function c(e,i){var n,r,a=j.ajaxSettings.flatOptions||{};for(n in i)i[n]!==t&&((a[n]?e:r||(r={}))[n]=i[n]);r&&j.extend(!0,e,r)}function d(e,i,n,r,a,s){(s=s||{})[a=a||i.dataTypes[0]]=!0;for(var o,l=e[a],c=0,p=l?l.length:0,u=e===et;c<p&&(u||!o);c++)"string"==typeof(o=l[c](i,n,r))&&(!u||s[o]?o=t:(i.dataTypes.unshift(o),o=d(e,i,n,r,o,s)));return(u||!o)&&!s["*"]&&(o=d(e,i,n,r,"*",s)),o}function p(e){return function(t,i){if("string"!=typeof t&&(i=t,t="*"),j.isFunction(i))for(var n,r,a=t.toLowerCase().split(Je),s=0,o=a.length;s<o;s++)n=a[s],(r=/^\+/.test(n))&&(n=n.substr(1)||"*"),(e[n]=e[n]||[])[r?"unshift":"push"](i)}}function u(e,t,i){var n="width"===t?e.offsetWidth:e.offsetHeight,r="width"===t?1:0;if(n>0){if("border"!==i)for(;r<4;r+=2)i||(n-=parseFloat(j.css(e,"padding"+He[r]))||0),"margin"===i?n+=parseFloat(j.css(e,i+He[r]))||0:n-=parseFloat(j.css(e,"border"+He[r]+"Width"))||0;return n+"px"}if(((n=$e(e,t))<0||null==n)&&(n=e.style[t]),Ne.test(n))return n;if(n=parseFloat(n)||0,i)for(;r<4;r+=2)n+=parseFloat(j.css(e,"padding"+He[r]))||0,"padding"!==i&&(n+=parseFloat(j.css(e,"border"+He[r]+"Width"))||0),"margin"===i&&(n+=parseFloat(j.css(e,i+He[r]))||0);return n+"px"}function h(e){var t=E.createElement("div");return Se.appendChild(t),t.innerHTML=e.outerHTML,t.firstChild}function f(e){var t=(e.nodeName||"").toLowerCase();"input"===t?m(e):"script"!==t&&void 0!==e.getElementsByTagName&&j.grep(e.getElementsByTagName("input"),m)}function m(e){"checkbox"!==e.type&&"radio"!==e.type||(e.defaultChecked=e.checked)}function _(e){return void 0!==e.getElementsByTagName?e.getElementsByTagName("*"):void 0!==e.querySelectorAll?e.querySelectorAll("*"):[]}function g(e,t){var i;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),"object"===(i=t.nodeName.toLowerCase())?t.outerHTML=e.outerHTML:"input"!==i||"checkbox"!==e.type&&"radio"!==e.type?"option"===i?t.selected=e.defaultSelected:"input"===i||"textarea"===i?t.defaultValue=e.defaultValue:"script"===i&&t.text!==e.text&&(t.text=e.text):(e.checked&&(t.defaultChecked=t.checked=e.checked),t.value!==e.value&&(t.value=e.value)),t.removeAttribute(j.expando),t.removeAttribute("_submit_attached"),t.removeAttribute("_change_attached"))}function v(e,t){if(1===t.nodeType&&j.hasData(e)){var i,n,r,a=j._data(e),s=j._data(t,a),o=a.events;if(o)for(i in delete s.handle,s.events={},o)for(n=0,r=o[i].length;n<r;n++)j.event.add(t,i,o[i][n]);s.data&&(s.data=j.extend({},s.data))}}function y(e,t){return j.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function b(e){var t=de.split("|"),i=e.createDocumentFragment();if(i.createElement)for(;t.length;)i.createElement(t.pop());return i}function x(e,t,i){if(t=t||0,j.isFunction(t))return j.grep(e,(function(e,n){return!!t.call(e,n,e)===i}));if(t.nodeType)return j.grep(e,(function(e,n){return e===t===i}));if("string"==typeof t){var n=j.grep(e,(function(e){return 1===e.nodeType}));if(se.test(t))return j.filter(t,n,!i);t=j.filter(t,n)}return j.grep(e,(function(e,n){return j.inArray(e,t)>=0===i}))}function w(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function k(){return!0}function S(){return!1}function $(e,t,i){var n=t+"defer",r=t+"queue",a=t+"mark",s=j._data(e,n);s&&("queue"===i||!j._data(e,r))&&("mark"===i||!j._data(e,a))&&setTimeout((function(){!j._data(e,r)&&!j._data(e,a)&&(j.removeData(e,n,!0),s.fire())}),0)}function C(e){for(var t in e)if(("data"!==t||!j.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function T(e,i,n){if(n===t&&1===e.nodeType){var r="data-"+i.replace(F,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:j.isNumeric(n)?+n:L.test(n)?j.parseJSON(n):n)}catch(e){}j.data(e,i,n)}else n=t}return n}var E=e.document,D=e.navigator,I=e.location,j=function(){function i(){if(!o.isReady){try{E.documentElement.doScroll("left")}catch(e){return void setTimeout(i,1)}o.ready()}}var n,r,a,s,o=function(e,t){return new o.fn.init(e,t,n)},l=e.jQuery,c=e.$,d=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,p=/\S/,u=/^\s+/,h=/\s+$/,f=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,m=/^[\],:{}\s]*$/,_=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,g=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,v=/(?:^|:|,)(?:\s*\[)+/g,y=/(webkit)[ \/]([\w.]+)/,b=/(opera)(?:.*version)?[ \/]([\w.]+)/,x=/(msie) ([\w.]+)/,w=/(mozilla)(?:.*? rv:([\w.]+))?/,k=/-([a-z]|[0-9])/gi,S=/^-ms-/,$=function(e,t){return(t+"").toUpperCase()},C=D.userAgent,T=Object.prototype.toString,I=Object.prototype.hasOwnProperty,j=Array.prototype.push,N=Array.prototype.slice,A=String.prototype.trim,L=Array.prototype.indexOf,F={};return o.fn=o.prototype={constructor:o,init:function(e,i,n){var r,a,s,l;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!i&&E.body)return this.context=E,this[0]=E.body,this.selector=e,this.length=1,this;if("string"==typeof e){if((r="<"!==e.charAt(0)||">"!==e.charAt(e.length-1)||e.length<3?d.exec(e):[null,e,null])&&(r[1]||!i)){if
vendor: 37,949 bytes, line 9
9(r[1])return l=(i=i instanceof o?i[0]:i)?i.ownerDocument||i:E,(s=f.exec(e))?o.isPlainObject(i)?(e=[E.createElement(s[1])],o.fn.attr.call(e,i,!0)):e=[l.createElement(s[1])]:e=((s=o.buildFragment([r[1]],[l])).cacheable?o.clone(s.fragment):s.fragment).childNodes,o.merge(this,e);if((a=E.getElementById(r[2]))&&a.parentNode){if(a.id!==r[2])return n.find(e);this.length=1,this[0]=a}return this.context=E,this.selector=e,this}return!i||i.jquery?(i||n).find(e):this.constructor(i).find(e)}return o.isFunction(e)?n.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),o.makeArray(e,this))},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return N.call(this,0)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,i){var n=this.constructor();return o.isArray(e)?j.apply(n,e):o.merge(n,e),n.prevObject=this,n.context=this.context,"find"===t?n.selector=this.selector+(this.selector?" ":"")+i:t&&(n.selector=this.selector+"."+t+"("+i+")"),n},each:function(e,t){return o.each(this,e,t)},ready:function(e){return o.bindReady(),a.add(e),this},eq:function(e){return-1===(e=+e)?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(e){return this.pushStack(o.map(this,(function(t,i){return e.call(t,i,t)})))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},o.fn.init.prototype=o.fn,o.extend=o.fn.extend=function(){var e,i,n,r,a,s,l=arguments[0]||{},c=1,d=arguments.length,p=!1;for("boolean"==typeof l&&(p=l,l=arguments[1]||{},c=2),"object"!=typeof l&&!o.isFunction(l)&&(l={}),d===c&&(l=this,--c);c<d;c++)if(null!=(e=arguments[c]))for(i in e)n=l[i],l!==(r=e[i])&&(p&&r&&(o.isPlainObject(r)||(a=o.isArray(r)))?(a?(a=!1,s=n&&o.isArray(n)?n:[]):s=n&&o.isPlainObject(n)?n:{},l[i]=o.extend(p,s,r)):r!==t&&(l[i]=r));return l},o.extend({noConflict:function(t){return e.$===o&&(e.$=c),t&&e.jQuery===o&&(e.jQuery=l),o},isReady:!1,readyWait:1,holdReady:function(e){e?o.readyWait++:o.ready(!0)},ready:function(e){if(!0===e&&! --o.readyWait||!0!==e&&!o.isReady){if(!E.body)return setTimeout(o.ready,1);if(o.isReady=!0,!0!==e&&--o.readyWait>0)return;a.fireWith(E,[o]),o.fn.trigger&&o(E).trigger("ready").off("ready")}},bindReady:function(){if(!a){if(a=o.Callbacks("once memory"),"complete"===E.readyState)return setTimeout(o.ready,1);if(E.addEventListener)E.addEventListener("DOMContentLoaded",s,!1),e.addEventListener("load",o.ready,!1);else if(E.attachEvent){E.attachEvent("onreadystatechange",s),e.attachEvent("onload",o.ready);var t=!1;try{t=null==e.frameElement}catch(e){}E.documentElement.doScroll&&t&&i()}}},isFunction:function(e){return"function"===o.type(e)},isArray:Array.isArray||function(e){return"array"===o.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):F[T.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==o.type(e)||e.nodeType||o.isWindow(e))return!1;try{if(e.constructor&&!I.call(e,"constructor")&&!I.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}var i;for(i in e);return i===t||I.call(e,i)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw new Error(e)},parseJSON:function(t){return"string"==typeof t&&t?(t=o.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):m.test(t.replace(_,"@").replace(g,"]").replace(v,""))?new Function("return "+t)():void o.error("Invalid JSON: "+t)):null},parseXML:function(i){if("string"!=typeof i||!i)return null;var n;try{e.DOMParser?n=(new DOMParser).parseFromString(i,"text/xml"):((n=new ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(i))}catch(e){n=t}return(!n||!n.documentElement||n.getElementsByTagName("parsererror").length)&&o.error("Invalid XML: "+i),n},noop:function(){},globalEval:function(t){t&&p.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(S,"ms-").replace(k,$)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,i,n){var r,a=0,s=e.length,l=s===t||o.isFunction(e);if(n)if(l){for(r in e)if(!1===i.apply(e[r],n))break}else for(;a<s&&!1!==i.apply(e[a++],n););else if(l){for(r in e)if(!1===i.call(e[r],r,e[r]))break}else for(;a<s&&!1!==i.call(e[a],a,e[a++]););return e},trim:A?function(e){return null==e?"":A.call(e)}:function(e){return null==e?"":(e+"").replace(u,"").replace(h,"")},makeArray:function(e,t){var i=t||[];if(null!=e){var n=o.type(e);null==e.length||"string"===n||"function"===n||"regexp"===n||o.isWindow(e)?j.call(i,e):o.merge(i,e)}return i},inArray:function(e,t,i){var n;if(t){if(L)return L.call(t,e,i);for(n=t.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in t&&t[i]===e)return i}return-1},merge:function(e,i){var n=e.length,r=0;if("number"==typeof i.length)for(var a=i.length;r<a;r++)e[n++]=i[r];else for(;i[r]!==t;)e[n++]=i[r++];return e.length=n,e},grep:function(e,t,i){var n=[];i=!!i;for(var r=0,a=e.length;r<a;r++)i!==!!t(e[r],r)&&n.push(e[r]);return n},map:function(e,i,n){var r,a,s=[],l=0,c=e.length;if(e instanceof o||c!==t&&"number"==typeof c&&(c>0&&e[0]&&e[c-1]||0===c||o.isArray(e)))for(;l<c;l++)null!=(r=i(e[l],l,n))&&(s[s.length]=r);else for(a in e)null!=(r=i(e[a],a,n))&&(s[s.length]=r);return s.concat.apply([],s)},guid:1,proxy:function(e,i){if("string"==typeof i){var n=e[i];i=e,e=n}if(!o.isFunction(e))return t;var r=N.call(arguments,2),a=function(){return e.apply(i,r.concat(N.call(arguments)))};return a.guid=e.guid=e.guid||a.guid||o.guid++,a},access:function(e,i,n,r,a,s,l){var c,d=null==n,p=0,u=e.length;if(n&&"object"==typeof n){for(p in n)o.access(e,i,p,n[p],1,s,r);a=1}else if(r!==t){if(c=l===t&&o.isFunction(r),d&&(c?(c=i,i=function(e,t,i){return c.call(o(e),i)}):(i.call(e,r),i=null)),i)for(;p<u;p++)i(e[p],n,c?r.call(e[p],p,i(e[p],n)):r,l);a=1}return a?e:d?i.call(e):u?i(e[0],n):s},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var t=y.exec(e)||b.exec(e)||x.exec(e)||e.indexOf("compatible")<0&&w.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},sub:function(){function e(t,i){return new e.fn.init(t,i)}o.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(i,n){return n&&n instanceof o&&!(n instanceof e)&&(n=e(n)),o.fn.init.call(this,i,n,t)},e.fn.init.prototype=e.fn;var t=e(E);return e},browser:{}}),o.each("Boolean Number String Function Array Date RegExp Object".split(" "),(function(e,t){F["[object "+t+"]"]=t.toLowerCase()})),(r=o.uaMatch(C)).browser&&(o.browser[r.browser]=!0,o.browser.version=r.version),o.browser.webkit&&(o.browser.safari=!0),p.test(" ")&&(u=/^[\s\xA0]+/,h=/[\s\xA0]+$/),n=o(E),E.addEventListener?s=function(){E.removeEventListener("DOMContentLoaded",s,!1),o.ready()}:E.attachEvent&&(s=function(){"complete"===E.readyState&&(E.detachEvent("onreadystatechange",s),o.ready())}),o}(),N={};j.Callbacks=function(e){e=e?N[e]||function(e){var t,i,n=N[e]={};for(t=0,i=(e=e.split(/\s+/)).length;t<i;t++)n[e[t]]=!0;return n}(e):{};var i,n,r,a,s,o,l=[],c=[],d=function(t){var i,n,r,a;for(i=0,n=t.length;i<n;i++)r=t[i],"array"===(a=j.type(r))?d(r):"function"===a&&(!e.unique||!u.has(r))&&l.push(r)},p=function(t,d){for(d=d||[],i=!e.memory||[t,d],n=!0,r=!0,o=a||0,a=0,s=l.length;l&&o<s;o++)if(!1===l[o].apply(t,d)&&e.stopOnFalse){i=!0;break}r=!1,l&&(e.once?!0===i?u.disable():l=[]:c&&c.length&&(i=c.shift(),u.fireWith(i[0],i[1])))},u={add:function(){if(l){var e=l.length;d(arguments),r?s=l.length:i&&!0!==i&&(a=e,p(i[0],i[1]))}return this},remove:function(){if(l)for(var t=arguments,i=0,n=t.length;i<n;i++)for(var a=0;a<l.length&&(t[i]!==l[a]||(r&&a<=s&&(s--,a<=o&&o--),l.splice(a--,1),!e.unique));a++);return this},has:function(e){if(l)for(var t=0,i=l.length;t<i;t++)if(e===l[t])return!0;return!1},empty:function(){return l=[],this},disable:function(){return l=c=i=t,this},disabled:function(){return!l},lock:function(){return c=t,(!i||!0===i)&&u.disable(),this},locked:function(){return!c},fireWith:function(t,n){return c&&(r?e.once||c.push([t,n]):(!e.once||!i)&&p(t,n)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u};var A=[].slice;j.extend({Deferred:function(e){var t,i=j.Callbacks("once memory"),n=j.Callbacks("once memory"),r=j.Callbacks("memory"),a="pending",s={resolve:i,reject:n,notify:r},o={done:i.add,fail:n.add,progress:r.add,state:function(){return a},isResolved:i.fired,isRejected:n.fired,then:function(e,t,i){return l.done(e).fail(t).progress(i),this},always:function(){return l.done.apply(l,arguments).fail.apply(l,arguments),this},pipe:function(e,t,i){return j.Deferred((function(n){j.each({done:[e,"resolve"],fail:[t,"reject"],progress:[i,"notify"]},(function(e,t){var i,r=t[0],a=t[1];j.isFunction(r)?l[e]((function(){(i=r.apply(this,arguments))&&j.isFunction(i.promise)?i.promise().then(n.resolve,n.reject,n.notify):n[a+"With"](this===l?n:this,[i])})):l[e](n[a])}))})).promise()},promise:function(e){if(null==e)e=o;else for(var t in o)e[t]=o[t];return e}},l=o.promise({});for(t in s)l[t]=s[t].fire,l[t+"With"]=s[t].fireWith;return l.done((function(){a="resolved"}),n.disable,r.lock).fail((function(){a="rejected"}),i.disable,r.lock),e&&e.call(l,l),l},when:function(e){function t(e){return function(t){s[e]=arguments.length>1?A.call(arguments,0):t,l.notifyWith(c,s)}}function i(e){return function(t){n[e]=arguments.length>1?A.call(arguments,0):t,--o||l.resolveWith(l,n)}}var n=A.call(arguments,0),r=0,a=n.length,s=Array(a),o=a,l=a<=1&&e&&j.isFunction(e.promise)?e:j.Deferred(),c=l.promise();if(a>1){for(;r<a;r++)n[r]&&n[r].promise&&j.isFunction(n[r].promise)?n[r].promise().then(i(r),l.reject,t(r)):--o;o||l.resolveWith(l,n)}else l!==e&&l.resolveWith(l,a?[e]:[]);return c}}),j.support=function(){var t,i,n,r,a,s,o,l,c,d,p,u=E.createElement("div");E.documentElement;if(u.setAttribute("className","t"),u.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",i=u.getElementsByTagName("*"),n=u.getElementsByTagName("a")[0],!i||!i.length||!n)return{};a=(r=E.createElement("select")).appendChild(E.createElement("option")),s=u.getElementsByTagName("input")[0],t={leadingWhitespace:3===u.firstChild.nodeType,tbody:!u.getElementsByTagName("tbody").length,htmlSerialize:!!u.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.55/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===s.value,optSelected:a.selected,getSetAttribute:"t"!==u.className,enctype:!!E.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==E.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},j.boxModel=t.boxModel="CSS1Compat"===E.compatMode,s.checked=!0,t.noCloneChecked=s.cloneNode(!0).checked,r.disabled=!0,t.optDisabled=!a.disabled;try{delete u.test}catch(e){t.deleteExpando=!1}if(!u.addEventListener&&u.attachEvent&&u.fireEvent&&(u.attachEvent("onclick",(function(){t.noCloneEvent=!1})),u.cloneNode(!0).fireEvent("onclick")),(s=E.createElement("input")).value="t",s.setAttribute("type","radio"),t.radioValue="t"===s.value,s.setAttribute("checked","checked"),s.setAttribute("name","t"),u.appendChild(s),(o=E.createDocumentFragment()).appendChild(u.lastChild),t.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=s.checked,o.removeChild(s),o.appendChild(u),u.attachEvent)for(d in{submit:1,change:1,focusin:1})(p=(c="on"+d)in u)||(u.setAttribute(c,"return;"),p="function"==typeof u[c]),t[d+"Bubbles"]=p;return o.removeChild(u),o=r=a=u=s=null,j((function(){var i,n,r,a,s,o,c,d,h,f,m,_=E.getElementsByTagName("body")[0];!_||(f=(m="padding:0;margin:0;border:")+"0;visibility:hidden;",d="<div "+(c="style='"+(h="position:absolute;top:0;left:0;width:1px;height:1px;")+m+"5px solid #000;")+"display:block;'><div style='"+m+"0;display:block;overflow:hidden;'></div></div><table "+c+"' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",(i=E.createElement("div")).style.cssText=f+"width:0;height:0;position:static;top:0;margin-top:1px",_.insertBefore(i,_.firstChild),u=E.createElement("div"),i.appendChild(u),u.innerHTML="<table><tr><td style='"+m+"0;display:none'></td><td>t</td></tr></table>",l=u.getElementsByTagName("td"),p=0===l[0].offsetHeight,l[0].style.display="",l[1].style.display="none",t.reliableHiddenOffsets=p&&0===l[0].offsetHeight,e.getComputedStyle&&(u.innerHTML="",(o=E.createElement("div")).style.width="0",o.style.marginRight="0",u.style.width="2px",u.appendChild(o),t.reliableMarginRight=0===(parseInt((e.getComputedStyle(o,null)||{marginRight:0}).marginRight,10)||0)),void 0!==u.style.zoom&&(u.innerHTML="",u.style.width=u.style.padding="1px",u.style.border=0,u.style.overflow="hidden",u.style.display="inline",u.style.zoom=1,t.inlineBlockNeedsLayout=3===u.offsetWidth,u.style.display="block",u.style.overflow="visible",u.innerHTML="<div style='width:5px;'></div>",t.shrinkWrapBlocks=3!==u.offsetWidth),u.style.cssText=h+f,u.innerHTML=d,r=(n=u.firstChild).firstChild,a=n.nextSibling.firstChild.firstChild,s={doesNotAddBorder:5!==r.offsetTop,doesAddBorderForTableAndCells:5===a.offsetTop},r.style.position="fixed",r.style.top="20px",s.fixedPosition=20===r.offsetTop||15===r.offsetTop,r.style.position=r.style.top="",n.style.overflow="hidden",n.style.position="relative",s.subtractsBorderForOverflowNotVisible=-5===r.offsetTop,s.doesNotIncludeMarginInBodyOffset=1!==_.offsetTop,e.getComputedStyle&&(u.style.marginTop="1%",t.pixelMargin="1%"!==(e.getComputedStyle(u,null)||{marginTop:0}).marginTop),void 0!==i.style.zoom&&(i.style.zoom=1),_.removeChild(i),o=u=i=null,j.extend(t,s))})),t}();var L=/^(?:\{.*\}|\[.*\])$/,F=/([A-Z])/g;j.extend({cache:{},uuid:0,expando:"jQuery"+(j.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return!!(e=e.nodeType?j.cache[e[j.expando]]:e[j.expando])&&!C(e)},data:function(e,i,n,r){if(j.acceptData(e)){var a,s,o,l=j.expando,c="string"==typeof i,d=e.nodeType,p=d?j.cache:e,u=d?e[l]:e[l]&&l,h="events"===i;if((!u||!p[u]||!h&&!r&&!p[u].data)&&c&&n===t)return;return u||(d?e[l]=u=++j.uuid:u=l),p[u]||(p[u]={},d||(p[u].toJSON=j.noop)),"object"!=typeof i&&"function"!=typeof i||(r?p[u]=j.extend(p[u],i):p[u].data=j.extend(p[u].data,i)),a=s=p[u],r||(s.data||(s.data={}),s=s.data),n!==t&&(s[j.camelCase(i)]=n),h&&!s[i]?a.events:(c?null==(o=s[i])&&(o=s[j.camelCase(i)]):o=s,o)}},removeData:function(e,t,i){if(j.acceptData(e)){var n,r,a,s=j.expando,o=e.nodeType,l=o?j.cache:e,c=o?e[s]:s;if(!l[c])return;if(t&&(n=i?l[c]:l[c].data)){j.isArray(t)||(t in n?t=[t]:t=(t=j.camelCase(t))in n?[t]:t.split(" "));for(r=0,a=t.length;r<a;r++)delete n[t[r]];if(!(i?C:j.isEmptyObject)(n))return}if(!i&&(delete l[c].data,!C(l[c])))return;j.support.deleteExpando||!l.setInterval?delete l[c]:l[c]=null,o&&(j.support.deleteExpando?delete e[s]:e.removeAttribute?e.removeAttribute(s):e[s]=null)}},_data:function(e,t,i){return j.data(e,t,i,!0)},acceptData:function(e){if(e.nodeName){var t=j.noData[e.nodeName.toLowerCase()];if(t)return!0!==t&&e.getAttribute("classid")===t}return!0}}),j.fn.extend({data:function(e,i){var n,r,a,s,o,l=this[0],c=0,d=null;if(e===t){if(this.length&&(d=j.data(l),1===l.nodeType&&!j._data(l,"parsedAttrs"))){for(o=(a=l.attributes).length;c<o;c++)0===(s=a[c].name).indexOf("data-")&&(s=j.camelCase(s.substring(5)),T(l,s,d[s]));j._data(l,"parsedAttrs",!0)}return d}return"object"==typeof e?this.each((function(){j.data(this,e)})):((n=e.split(".",2))[1]=n[1]?"."+n[1]:"",r=n[1]+"!",j.access(this,(function(i){if(i===t)return(d=this.triggerHandler("getData"+r,[n[0]]))===t&&l&&(d=j.data(l,e),d=T(l,e,d)),d===t&&n[1]?this.data(n[0]):d;n[1]=i,this.each((function(){var t=j(this);t.triggerHandler("setData"+r,n),j.data(this,e,i),t.triggerHandler("changeData"+r,n)}))}),null,i,arguments.length>1,null,!1))},removeData:function(e){return this.each((function(){j.removeData(this,e)}))}}),j.extend({_mark:function(e,t){e&&(t=(t||"fx")+"mark",j._data(e,t,(j._data(e,t)||0)+1))},_unmark:function(e,t,i){if(!0!==e&&(i=t,t=e,e=!1),t){var n=(i=i||"fx")+"mark",r=e?0:(j._data(t,n)||1)-1;r?j._data(t,n,r):(j.removeData(t,n,!0),$(t,i,"mark"))}},queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=j._data(e,t),i&&(!n||j.isArray(i)?n=j._data(e,t,j.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=j.queue(e,t),n=i.shift(),r={};"inprogress"===n&&(n=i.shift()),n&&("fx"===t&&i.unshift("inprogress"),j._data(e,t+".run",r),n.call(e,(function(){j.dequeue(e,t)}),r)),i.length||(j.removeData(e,t+"queue "+t+".run",!0),$(e,t,"queue"))}}),j.fn.extend({queue:function(e,i){var n=2;return"string"!=typeof e&&(i=e,e="fx",n--),arguments.length<n?j.queue(this[0],e):i===t?this:this.each((function(){var t=j.queue(this,e,i);"fx"===e&&"inprogress"!==t[0]&&j.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){j.dequeue(this,e)}))},delay:function(e,t){return e=j.fx&&j.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,i){var n=setTimeout(t,e);i.stop=function(){clearTimeout(n)}}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,i){function n(){--l||a.resolveWith(s,[s])}"string"!=typeof e&&(i=e,e=t),e=e||"fx";for(var r,a=j.Deferred(),s=this,o=s.length,l=1,c=e+"defer",d=e+"queue",p=e+"mark";o--;)(r=j.data(s[o],c,t,!0)||(j.data(s[o],d,t,!0)||j.data(s[o],p,t,!0))&&j.data(s[o],c,j.Callbacks("once memory"),!0))&&(l++,r.add(n));return n(),a.promise(i)}});var H,M,W,z=/[\n\t\r]/g,B=/\s+/,O=/\r/g,q=/^(?:button|input)$/i,P=/^(?:button|input|object|select|textarea)$/i,Y=/^a(?:rea)?$/i,G=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,R=j.support.getSetAttribute;j.fn.extend({attr:function(e,t){return j.access(this,j.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){j.removeAttr(this,e)}))},prop:function(e,t){return j.access(this,j.prop,e,t,arguments.length>1)},removeProp:function(e){return e=j.propFix[e]||e,this.each((function(){try{this[e]=t,delete this[e]}catch(e){}}))},addClass:function(e){var t,i,n,r,a,s,o;if(j.isFunction(e))return this.each((function(t){j(this).addClass(e.call(this,t,this.className))}));if(e&&"string"==typeof e)for(t=e.split(B),i=0,n=this.length;i<n;i++)if(1===(r=this[i]).nodeType)if(r.className||1!==t.length){for(a=" "+r.className+" ",s=0,o=t.length;s<o;s++)~a.indexOf(" "+t[s]+" ")||(a+=t[s]+" ");r.className=j.trim(a)}else r.className=e;return this},removeClass:function(e){var i,n,r,a,s,o,l;if(j.isFunction(e))return this.each((function(t){j(this).removeClass(e.call(this,t,this.className))}));if(e&&"string"==typeof e||e===t)for(i=(e||"").split(B),n=0,r=this.length;n<r;n++)if(1===(a=this[n]).nodeType&&a.className)if(e){for(s=(" "+a.className+" ").replace(z," "),o=0,l=i.length;o<l;o++)s=s.replace(" "+i[o]+" "," ");a.className=j.trim(s)}else a.className="";return this},toggleClass:function(e,t){var i=typeof e,n="boolean"==typeof t;return j.isFunction(e)?this.each((function(i){j(this).toggleClass(e.call(this,i,this.className,t),t)})):this.each((function(){if("string"===i)for(var r,a=0,s=j(this),o=t,l=e.split(B);r=l[a++];)o=n?o:!s.hasClass(r),s[o?"addClass":"removeClass"](r);else"undefined"!==i&&"boolean"!==i||(this.className&&j._data(this,"__className__",this.className),this.className=this.className||!1===e?"":j._data(this,"__className__")||"")}))},hasClass:function(e){for(var t=" "+e+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(z," ").indexOf(t)>-1)return!0;return!1},val:function(e){var i,n,r,a=this[0];return arguments.length?(r=j.isFunction(e),this.each((function(n){var a,s=j(this);1===this.nodeType&&(null==(a=r?e.call(this,n,s.val()):e)?a="":"number"==typeof a?a+="":j.isArray(a)&&(a=j.map(a,(function(e){return null==e?"":e+""}))),(i=j.valHooks[this.type]||j.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,a,"value")!==t||(this.value=a))}))):a?(i=j.valHooks[a.type]||j.valHooks[a.nodeName.toLowerCase()])&&"get"in i&&(n=i.get(a,"value"))!==t?n:"string"==typeof(n=a.value)?n.replace(O,""):null==n?"":n:void 0}}),j.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,i,n,r,a=e.selectedIndex,s=[],o=e.options,l="select-one"===e.type;if(a<0)return null;for(i=l?a:0,n=l?a+1:o.length;i<n;i++)if((r=o[i]).selected&&(j.support.optDisabled?!r.disabled:null===r.getAttribute("disabled"))&&(!r.parentNode.disabled||!j.nodeName(r.parentNode,"optgroup"))){if(t=j(r).val(),l)return t;s.push(t)}return l&&!s.length&&o.length?j(o[a]).val():s},set:function(e,t){var i=j.makeArray(t);return j(e).find("option").each((function(){this.selected=j.inArray(j(this).val(),i)>=0})),i.length||(e.selectedIndex=-1),i}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,i,n,r){var a,s,o,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return r&&i in j.attrFn?j(e)[i](n):void 0===e.getAttribute?j.prop(e,i,n):((o=1!==l||!j.isXMLDoc(e))&&(i=i.toLowerCase(),s=j.attrHooks[i]||(G.test(i)?M:H)),n!==t?null===n?void j.removeAttr(e,i):s&&"set"in s&&o&&(a=s.set(e,n,i))!==t?a:(e.setAttribute(i,""+n),n):s&&"get"in s&&o&&null!==(a=s.get(e,i))?a:null===(a=e.getAttribute(i))?t:a)},removeAttr:function(e,t){var i,n,r,a,s,o=0;if(t&&1===e.nodeType)for(a=(n=t.toLowerCase().split(B)).length;o<a;o++)(r=n[o])&&(i=j.propFix[r]||r,(s=G.test(r))||j.attr(e,r,""),e.removeAttribute(R?r:i),s&&i in e&&(e[i]=!1))},attrHooks:{type:{set:function(e,t){if(q.test(e.nodeName)&&e.parentNode)j.error("type property can't be changed");else if(!j.support.radioValue&&"radio"===t&&j.nodeName(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}},value:{get:function(e,t){return H&&j.nodeName(e,"button")?H.get(e,t):t in e?e.value:null},set:function(e,t,i){if(H&&j.nodeName(e,"button"))return H.set(e,t,i);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,i,n){var r,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return(1!==s||!j.isXMLDoc(e))&&(i=j.propFix[i]||i,a=j.propHooks[i]),n!==t?a&&"set"in a&&(r=a.set(e,n,i))!==t?r:e[i]=n:a&&"get"in a&&null!==(r=a.get(e,i))?r:e[i]},propHooks:{tabIndex:{get:function(e){var i=e.getAttributeNode("tabindex");return i&&i.specified?parseInt(i.value,10):P.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),j.attrHooks.tabindex=j.propHooks.tabIndex,M={get:function(e,i){var n,r=j.prop(e,i);return!0===r||"boolean"!=typeof r&&(n=e.getAttributeNode(i))&&!1!==n.nodeValue?i.toLowerCase():t},set:function(e,t,i){var n;return!1===t?j.removeAttr(e,i):((n=j.propFix[i]||i)in e&&(e[n]=!0),e.setAttribute(i,i.toLowerCase())),i}},R||(W={name:!0,id:!0,coords:!0},H=j.valHooks.button={get:function(e,i){var n;return(n=e.getAttributeNode(i))&&(W[i]?""!==n.nodeValue:n.specified)?n.nodeValue:t},set:function(e,t,i){var n=e.getAttributeNode(i);return n||(n=E.createAttribute(i),e.setAttributeNode(n)),n.nodeValue=t+""}},j.attrHooks.tabindex.set=H.set,j.each(["width","height"],(function(e,t){j.attrHooks[t]=j.extend(j.attrHooks[t],{set:function(e,i){if(""===i)return e.setAttribute(t,"auto"),i}})})),j.attrHooks.contenteditable={get:H.get,set:function(e,t,i){""===t&&(t="false"),H.set(e,t,i)}}),j.support.hrefNormalized||j.each(["href","src","width","height"],(function(e,i){j.attrHooks[i]=j.extend(j.attrHooks[i],{get:function(e){var n=e.getAttribute(i,2);return null===n?t:n}})})),j.support.style||(j.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),j.support.optSelected||(j.propHooks.selected=j.extend(j.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),j.support.enctype||(j.propFix.enctype="encoding"),j.support.checkOn||j.each(["radio","checkbox"],(function(){j.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}})),j.each(["radio","checkbox"],(function(){j.valHooks[this]=j.extend(j.valHooks[this],{set:function(e,t){if(j.isArray(t))return e.checked=j.inArray(j(e).val(),t)>=0}})}));var V=/^(?:textarea|input|select)$/i,Z=/^([^\.]*)?(?:\.(.+))?$/,U=/(?:^|\s)hover(\.\S+)?\b/,J=/^key/,X=/^(?:mouse|contextmenu)|click/,Q=/^(?:focusinfocus|focusoutblur)$/,K=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,ee=function(e){var t=K.exec(e);return t&&(t[1]=(t[1]||"").toLowerCase(),t[3]=t[3]&&new RegExp("(?:^|\\s)"+t[3]+"(?:\\s|$)")),t},te=function(e,t){var i=e.attributes||{};return(!t[1]||e.nodeName.toLowerCase()===t[1])&&(!t[2]||(i.id||{}).value===t[2])&&(!t[3]||t[3].test((i.class||{}).value))},ie=function(e){return j.event.special.hover?e:e.replace(U,"mouseenter$1 mouseleave$1")};j.event={add:function(e,i,n,r,a){var s,o,l,c,d,p,u,h,f,m,_;if(3!==e.nodeType&&8!==e.nodeType&&i&&n&&(s=j._data(e))){for(n.handler&&(n=(f=n).handler,a=f.selector),n.guid||(n.guid=j.guid++),(l=s.events)||(s.events=l={}),(o=s.handle)||(s.handle=o=function(e){return void 0===j||e&&j.event.triggered===e.type?t:j.event.dispatch.apply(o.elem,arguments)},o.elem=e),i=j.trim(ie(i)).split(" "),c=0;c<i.length;c++)p=(d=Z.exec(i[c])||[])[1],u=(d[2]||"").split(".").sort(),_=j.event.special[p]||{},p=(a?_.delegateType:_.bindType)||p,_=j.event.special[p]||{},h=j.extend({type:p,origType:d[1],data:r,handler:n,guid:n.guid,selector:a,quick:a&&ee(a),namespace:u.join(".")},f),(m=l[p])||((m=l[p]=[]).delegateCount=0,_.setup&&!1!==_.setup.call(e,r,u,o)||(e.addEventListener?e.addEventListener(p,o,!1):e.attachEvent&&e.attachEvent("on"+p,o))),_.add&&(_.add.call(e,h),h.handler.guid||(h.handler.guid=n.guid)),a?m.splice(m.delegateCount++,0,h):m.push(h),j.event.global[p]=!0;e=null}},global:{},remove:function(e,t,i,n,r){var a,s,o,l,c,d,p,u,h,f,m,_,g=j.hasData(e)&&j._data(e);if(g&&(u=g.events)){for(t=j.trim(ie(t||"")).split(" "),a=0;a<t.length;a++)if(o=l=(s=Z.exec(t[a])||[])[1],c=s[2],o){for(h=j.event.special[o]||{},d=(m=u[o=(n?h.delegateType:h.bindType)||o]||[]).length,c=c?new RegExp("(^|\\.)"+c.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,p=0;p<m.length;p++)_=m[p],(r||l===_.origType)&&(!i||i.guid===_.guid)&&(!c||c.test(_.namespace))&&(!n||n===_.selector||"**"===n&&_.selector)&&(m.splice(p--,1),_.selector&&m.delegateCount--,h.remove&&h.remove.call(e,_));0===m.length&&d!==m.length&&((!h.teardown||!1===h.teardown.call(e,c))&&j.removeEvent(e,o,g.handle),delete u[o])}else for(o in u)j.event.remove(e,o+t[a],i,n,!0);j.isEmptyObject(u)&&((f=g.handle)&&(f.elem=null),j.removeData(e,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(i,n,r,a){if(!r||3!==r.nodeType&&8!==r.nodeType){var s,o,l,c,d,p,u,h,f,m,_=i.type||i,g=[];if(Q.test(_+j.event.triggered))return;if(_.indexOf("!")>=0&&(_=_.slice(0,-1),o=!0),_.indexOf(".")>=0&&(g=_.split("."),_=g.shift(),g.sort()),(!r||j.event.customEvent[_])&&!j.event.global[_])return;if((i="object"==typeof i?i[j.expando]?i:new j.Event(_,i):new j.Event(_)).type=_,i.isTrigger=!0,i.exclusive=o,i.namespace=g.join("."),i.namespace_re=i.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,p=_.indexOf(":")<0?"on"+_:"",!r){for(l in s=j.cache)s[l].events&&s[l].events[_]&&j.event.trigger(i,n,s[l].handle.elem,!0);return}if(i.result=t,i.target||(i.target=r),(n=null!=n?j.makeArray(n):[]).unshift(i),(u=j.event.special[_]||{}).trigger&&!1===u.trigger.apply(r,n))return;if(f=[[r,u.bindType||_]],!a&&!u.noBubble&&!j.isWindow(r)){for(m=u.delegateType||_,c=Q.test(m+_)?r:r.parentNode,d=null;c;c=c.parentNode)f.push([c,m]),d=c;d&&d===r.ownerDocument&&f.push([d.defaultView||d.parentWindow||e,m])}for(l=0;l<f.length&&!i.isPropagationStopped();l++)c=f[l][0],i.type=f[l][1],(h=(j._data(c,"events")||{})[i.type]&&j._data(c,"handle"))&&h.apply(c,n),(h=p&&c[p])&&j.acceptData(c)&&!1===h.apply(c,n)&&i.preventDefault();return i.type=_,!a&&!i.isDefaultPrevented()&&(!u._default||!1===u._default.apply(r.ownerDocument,n))&&("click"!==_||!j.nodeName(r,"a"))&&j.acceptData(r)&&p&&r[_]&&("focus"!==_&&"blur"!==_||0!==i.target.offsetWidth)&&!j.isWindow(r)&&((d=r[p])&&(r[p]=null),j.event.triggered=_,r[_](),j.event.triggered=t,d&&(r[p]=d)),i.result}},dispatch:function(i){i=j.event.fix(i||e.event);var n,r,a,s,o,l,c,d,p,u,h=(j._data(this,"events")||{})[i.type]||[],f=h.delegateCount,m=[].slice.call(arguments,0),_=!i.exclusive&&!i.namespace,g=j.event.special[i.type]||{},v=[];if(m[0]=i,i.delegateTarget=this,!g.preDispatch||!1!==g.preDispatch.call(this,i)){if(f&&(!i.button||"click"!==i.type))for((s=j(this)).context=this.ownerDocument||this,a=i.target;a!=this;a=a.parentNode||this)if(!0!==a.disabled){for(l={},d=[],s[0]=a,n=0;n<f;n++)l[u=(p=h[n]).selector]===t&&(l[u]=p.quick?te(a,p.quick):s.is(u)),l[u]&&d.push(p);d.length&&v.push({elem:a,matches:d})}for(h.length>f&&v.push({elem:this,matches:h.slice(f)}),n=0;n<v.length&&!i.isPropagationStopped();n++)for(c=v[n],i.currentTarget=c.elem,r=0;r<c.matches.length&&!i.isImmediatePropagationStopped();r++)p=c.matches[r],(_||!i.namespace&&!p.namespace||i.namespace_re&&i.namespace_re.test(p.namespace))&&(i.data=p.data,i.handleObj=p,(o=((j.event.special[p.origType]||{}).handle||p.handler).apply(c.elem,m))!==t&&(i.result=o,!1===o&&(i.preventDefault(),i.stopPropagation())));return g.postDispatch&&g.postDispatch.call(this,i),i.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,i){var n,r,a,s=i.button,o=i.fromElement;return null==e.pageX&&null!=i.clientX&&(r=(n=e.target.ownerDocument||E).documentElement,a=n.body,e.pageX=i.clientX+(r&&r.scrollLeft||a&&a.scrollLeft||0)-(r&&r.clientLeft||a&&a.clientLeft||0),e.pageY=i.clientY+(r&&r.scrollTop||a&&a.scrollTop||0)-(r&&r.clientTop||a&&a.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?i.toElement:o),!e.which&&s!==t&&(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[j.expando])return e;var i,n,r=e,a=j.event.fixHooks[e.type]||{},s=a.props?this.props.concat(a.props):this.props;for(e=j.Event(r),i=s.length;i;)e[n=s[--i]]=r[n];return e.target||(e.target=r.srcElement||E),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey===t&&(e.metaKey=e.ctrlKey),a.filter?a.filter(e,r):e},special:{ready:{setup:j.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,i){j.isWindow(this)&&(this.onbeforeunload=i)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,i,n){var r=j.extend(new j.Event,i,{type:e,isSimulated:!0,originalEvent:{}});n?j.event.trigger(r,null,t):j.event.dispatch.call(t,r),r.isDefaultPrevented()&&i.preventDefault()}},j.event.handle=j.event.dispatch,j.removeEvent=E.removeEventListener?function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i,!1)}:function(e,t,i){e.detachEvent&&e.detachEvent("on"+t,i)},j.Event=function(e,t){if(!(this instanceof j.Event))return new j.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.defaultPrevented&&e.defaultPrevented()?k:S):this.type=e,t&&j.extend(this,t),this.timeStamp=e&&e.timeStamp||j.now(),this[j.expando]=!0},j.Event.prototype={preventDefault:function(){this.isDefaultPrevented=k;var e=this.originalEvent;!e||(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=k;var e=this.originalEvent;!e||(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=k,this.stopPropagation()},isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S},j.each({mouseenter:"mouseover",mouseleave:"mouseout"},(function(e,t){j.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,r=e.handleObj;r.selector;return n&&(n===this||j.contains(this,n))||(e.type=r.origType,i=r.handler.apply(this,arguments),e.type=t),i}}})),j.support.submitBubbles||(j.event.special.submit={setup:function(){if(j.nodeName(this,"form"))return!1;j.event.add(this,"click._submit keypress._submit",(function(e){var i=e.target,n=j.nodeName(i,"input")||j.nodeName(i,"button")?i.form:t;n&&!n._submit_attached&&(j.event.add(n,"submit._submit",(function(e){e._submit_bubble=!0})),n._submit_attached=!0)}))},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&j.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(j.nodeName(this,"form"))return!1;j.event.remove(this,"._submit")}}),j.support.changeBubbles||(j.event.special.change={setup:function(){if(V.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(j.event.add(this,"propertychange._change",(function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)})),j.event.add(this,"click._change",(function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1,j.event.simulate("change",this,e,!0))}))),!1;j.event.add(this,"beforeactivate._change",(function(e){var t=e.target;V.test(t.nodeName)&&!t._change_attached&&(j.event.add(t,"change._change",(function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&j.event.simulate("change",this.parentNode,e,!0)})),t._change_attached=!0)}))},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return j.event.remove(this,"._change"),V.test(this.nodeName)}}),j.support.focusinBubbles||j.each({focus:"focusin",blur:"focusout"},(function(e,t){var i=0,n=function(e){j.event.simulate(t,e.target,j.event.fix(e),!0)};j.event.special[t]={setup:function(){0===i++&&E.addEventListener(e,n,!0)},teardown:function(){0===--i&&E.removeEventListener(e,n,!0)}}})),j.fn.extend({on:function(e,i,n,r,a){var s,o;if("object"==typeof e){for(o in"string"!=typeof i&&(n=n||i,i=t),e)this.on(o,i,n,e[o],a);return this}if(null==n&&null==r?(r=i,n=i=t):null==r&&("string"==typeof i?(r=n,n=t):(r=n,n=i,i=t)),!1===r)r=S;else if(!r)return this;return 1===a&&(s=r,r=function(e){return j().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=j.guid++)),this.each((function(){j.event.add(this,e,r,n,i)}))},one:function(e,t,i,n){return this.on(e,t,i,n,1)},off:function(e,i,n){if(e&&e.preventDefault&&e.handleObj){var r=e.handleObj;return j(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this}if("object"==typeof e){for(var a in e)this.off(a,i,e[a]);return this}return!1!==i&&"function"!=typeof i||(n=i,i=t),!1===n&&(n=S),this.each((function(){j.event.remove(this,e,n,i)}))},bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,i){return j(this.context).on(e,this.selector,t,i),this},die:function(e,t){return j(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1==arguments.length?this.off(e,"**"):this.off(t,e,i)},trigger:function(e,t){return this.each((function(){j.event.trigger(e,t,this)}))},triggerHandler:function(e,t){if(this[0])return j.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,i=e.guid||j.guid++,n=0,r=function(i){var r=(j._data(this,"lastToggle"+e.guid)||0)%n;return j._data(this,"lastToggle"+e.guid,r+1),i.preventDefault(),t[r].apply(this,arguments)||!1};for(r.guid=i;n<t.length;)t[n++].guid=i;return this.click(r)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),j.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){j.fn[t]=function(e,i){return null==i&&(i=e,e=null),arguments.length>0?this.on(t,null,e,i):this.trigger(t)},j.attrFn&&(j.attrFn[t]=!0),J.test(t)&&(j.event.fixHooks[t]=j.event.keyHooks),X.test(t)&&(j.event.fixHooks[t]=j.event.mouseHooks)})),function(){function e(e,t,i,n,a,s){for(var o=0,l=n.length;o<l;o++){var c=n[o];if(c){var d=!1;for(c=c[e];c;){if(c[r]===i){d=n[c.sizset];break}if(1===c.nodeType)if(s||(c[r]=i,c.sizset=o),"string"!=typeof t){if(c===t){d=!0;break}}else if(u.filter(t,[c]).length>0){d=c;break}c=c[e]}n[o]=d}}}function i(e,t,i,n,a,s){for(var o=0,l=n.length;o<l;o++){var c=n[o];if(c){var d=!1;for(c=c[e];c;){if(c[r]===i){d=n[c.sizset];break}if(1===c.nodeType&&!s&&(c[r]=i,c.sizset=o),c.nodeName.toLowerCase()===t){d=c;break}c=c[e]}n[o]=d}}}var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,r="sizcache"+(Math.random()+"").replace(".",""),a=0,s=Object.prototype.toString,o=!1,l=!0,c=/\\/g,d=/\r\n/g,p=/\W/;[0,0].sort((function(){return l=!1,0}));var u=function(e,t,i,r){i=i||[];var a=t=t||E;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return i;var o,l,c,d,p,h,_,g,v=!0,y=u.isXML(t),w=[],k=e;
vendor: 3,537 bytes, line 9
9do{if(n.exec(""),(o=n.exec(k))&&(k=o[3],w.push(o[1]),o[2])){d=o[3];break}}while(o);if(w.length>1&&m.exec(e))if(2===w.length&&f.relative[w[0]])l=x(w[0]+w[1],t,r);else for(l=f.relative[w[0]]?[t]:u(w.shift(),t);w.length;)e=w.shift(),f.relative[e]&&(e+=w.shift()),l=x(e,l,r);else if(!r&&w.length>1&&9===t.nodeType&&!y&&f.match.ID.test(w[0])&&!f.match.ID.test(w[w.length-1])&&(t=(p=u.find(w.shift(),t,y)).expr?u.filter(p.expr,p.set)[0]:p.set[0]),t)for(l=(p=r?{expr:w.pop(),set:b(r)}:u.find(w.pop(),1!==w.length||"~"!==w[0]&&"+"!==w[0]||!t.parentNode?t:t.parentNode,y)).expr?u.filter(p.expr,p.set):p.set,w.length>0?c=b(l):v=!1;w.length;)_=h=w.pop(),f.relative[h]?_=w.pop():h="",null==_&&(_=t),f.relative[h](c,_,y);else c=w=[];if(c||(c=l),c||u.error(h||e),"[object Array]"===s.call(c))if(v)if(t&&1===t.nodeType)for(g=0;null!=c[g];g++)c[g]&&(!0===c[g]||1===c[g].nodeType&&u.contains(t,c[g]))&&i.push(l[g]);else for(g=0;null!=c[g];g++)c[g]&&1===c[g].nodeType&&i.push(l[g]);else i.push.apply(i,c);else b(c,i);return d&&(u(d,a,i,r),u.uniqueSort(i)),i};u.uniqueSort=function(e){if(v&&(o=l,e.sort(v),o))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},u.matches=function(e,t){return u(e,null,null,t)},u.matchesSelector=function(e,t){return u(t,null,null,[e]).length>0},u.find=function(e,t,i){var n,r,a,s,o,l;if(!e)return[];for(r=0,a=f.order.length;r<a;r++)if(o=f.order[r],(s=f.leftMatch[o].exec(e))&&(l=s[1],s.splice(1,1),"\\"!==l.substr(l.length-1)&&(s[1]=(s[1]||"").replace(c,""),null!=(n=f.find[o](s,t,i))))){e=e.replace(f.match[o],"");break}return n||(n=void 0!==t.getElementsByTagName?t.getElementsByTagName("*"):[]),{set:n,expr:e}},u.filter=function(e,i,n,r){for(var a,s,o,l,c,d,p,h,m,_=e,g=[],v=i,y=i&&i[0]&&u.isXML(i[0]);e&&i.length;){for(o in f.filter)if(null!=(a=f.leftMatch[o].exec(e))&&a[2]){if(d=f.filter[o],p=a[1],s=!1,a.splice(1,1),"\\"===p.substr(p.length-1))continue;if(v===g&&(g=[]),f.preFilter[o])if(a=f.preFilter[o](a,v,n,g,r,y)){if(!0===a)continue}else s=l=!0;if(a)for(h=0;null!=(c=v[h]);h++)c&&(m=r^(l=d(c,a,h,v)),n&&null!=l?m?s=!0:v[h]=!1:m&&(g.push(c),s=!0));if(l!==t){if(n||(v=g),e=e.replace(f.match[o],""),!s)return[];break}}if(e===_){if(null!=s)break;u.error(e)}_=e}return v},u.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};var h=u.getText=function(e){var t,i,n=e.nodeType,r="";if(n){if(1===n||9===n||11===n){if("string"==typeof e.textContent)return e.textContent;if("string"==typeof e.innerText)return e.innerText.replace(d,"");for(e=e.firstChild;e;e=e.nextSibling)r+=h(e)}else if(3===n||4===n)return e.nodeValue}else for(t=0;i=e[t];t++)8!==i.nodeType&&(r+=h(i));return r},f=u.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(e,t){var i="string"==typeof t,n=i&&!p.test(t),r=i&&!n;n&&(t=t.toLowerCase());for(var a,s=0,o=e.length;s<o;
vendor: 26,641 bytes, line 9
9s++)if(a=e[s]){for(;(a=a.previousSibling)&&1!==a.nodeType;);e[s]=r||a&&a.nodeName.toLowerCase()===t?a||!1:a===t}r&&u.filter(t,e,!0)},">":function(e,t){var i,n="string"==typeof t,r=0,a=e.length;if(n&&!p.test(t)){for(t=t.toLowerCase();r<a;r++)if(i=e[r]){var s=i.parentNode;e[r]=s.nodeName.toLowerCase()===t&&s}}else{for(;r<a;r++)(i=e[r])&&(e[r]=n?i.parentNode:i.parentNode===t);n&&u.filter(t,e,!0)}},"":function(t,n,r){var s,o=a++,l=e;"string"==typeof n&&!p.test(n)&&(s=n=n.toLowerCase(),l=i),l("parentNode",n,o,t,s,r)},"~":function(t,n,r){var s,o=a++,l=e;"string"==typeof n&&!p.test(n)&&(s=n=n.toLowerCase(),l=i),l("previousSibling",n,o,t,s,r)}},find:{ID:function(e,t,i){if(void 0!==t.getElementById&&!i){var n=t.getElementById(e[1]);return n&&n.parentNode?[n]:[]}},NAME:function(e,t){if(void 0!==t.getElementsByName){for(var i=[],n=t.getElementsByName(e[1]),r=0,a=n.length;r<a;r++)n[r].getAttribute("name")===e[1]&&i.push(n[r]);return 0===i.length?null:i}},TAG:function(e,t){if(void 0!==t.getElementsByTagName)return t.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,t,i,n,r,a){if(e=" "+e[1].replace(c,"")+" ",a)return e;for(var s,o=0;null!=(s=t[o]);o++)s&&(r^(s.className&&(" "+s.className+" ").replace(/[\t\n\r]/g," ").indexOf(e)>=0)?i||n.push(s):i&&(t[o]=!1));return!1},ID:function(e){return e[1].replace(c,"")},TAG:function(e,t){return e[1].replace(c,"").toLowerCase()},CHILD:function(e){if("nth"===e[1]){e[2]||u.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(("even"===e[2]?"2n":"odd"===e[2]&&"2n+1")||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}else e[2]&&u.error(e[0]);return e[0]=a++,e},ATTR:function(e,t,i,n,r,a){var s=e[1]=e[1].replace(c,"");return!a&&f.attrMap[s]&&(e[1]=f.attrMap[s]),e[4]=(e[4]||e[5]||"").replace(c,""),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,i,r,a){if("not"===e[1]){if(!((n.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var s=u.filter(e[3],t,i,!0^a);return i||r.push.apply(r,s),!1}e[3]=u(e[3],null,null,t)}else if(f.match.POS.test(e[0])||f.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return!1===e.disabled&&"hidden"!==e.type},disabled:function(e){return!0===e.disabled},checked:function(e){return!0===e.checked},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,i){return!!u(i[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),i=e.type;return"input"===e.nodeName.toLowerCase()&&"text"===i&&(t===i||null===t)},radio:function(e){return"input"===e.nodeName.toLowerCase()&&"radio"===e.type},checkbox:function(e){return"input"===e.nodeName.toLowerCase()&&"checkbox"===e.type},file:function(e){return"input"===e.nodeName.toLowerCase()&&"file"===e.type},password:function(e){return"input"===e.nodeName.toLowerCase()&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===e.type},image:function(e){return"input"===e.nodeName.toLowerCase()&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,i,n){return t===n.length-1},even:function(e,t){return t%2==0},odd:function(e,t){return t%2==1},lt:function(e,t,i){return t<i[3]-0},gt:function(e,t,i){return t>i[3]-0},nth:function(e,t,i){return i[3]-0===t},eq:function(e,t,i){return i[3]-0===t}},filter:{PSEUDO:function(e,t,i,n){var r=t[1],a=f.filters[r];if(a)return a(e,i,t,n);if("contains"===r)return(e.textContent||e.innerText||h([e])||"").indexOf(t[3])>=0;if("not"===r){for(var s=t[3],o=0,l=s.length;o<l;o++)if(s[o]===e)return!1;return!0}u.error(r)},CHILD:function(e,t){var i,n,a,s,o,l,c=t[1],d=e;switch(c){case"only":case"first":for(;d=d.previousSibling;)if(1===d.nodeType)return!1;if("first"===c)return!0;d=e;case"last":for(;d=d.nextSibling;)if(1===d.nodeType)return!1;return!0;case"nth":if(i=t[2],n=t[3],1===i&&0===n)return!0;if(a=t[0],(s=e.parentNode)&&(s[r]!==a||!e.nodeIndex)){for(o=0,d=s.firstChild;d;d=d.nextSibling)1===d.nodeType&&(d.nodeIndex=++o);s[r]=a}return l=e.nodeIndex-n,0===i?0===l:l%i===0&&l/i>=0}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||!!e.nodeName&&e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var i=t[1],n=u.attr?u.attr(e,i):f.attrHandle[i]?f.attrHandle[i](e):null!=e[i]?e[i]:e.getAttribute(i),r=n+"",a=t[2],s=t[4];return null==n?"!="===a:!a&&u.attr?null!=n:"="===a?r===s:"*="===a?r.indexOf(s)>=0:"~="===a?(" "+r+" ").indexOf(s)>=0:s?"!="===a?r!==s:"^="===a?0===r.indexOf(s):"$="===a?r.substr(r.length-s.length)===s:"|="===a&&(r===s||r.substr(0,s.length+1)===s+"-"):r&&!1!==n},POS:function(e,t,i,n){var r=t[2],a=f.setFilters[r];if(a)return a(e,i,t,n)}}},m=f.match.POS,_=function(e,t){return"\\"+(t-0+1)};for(var g in f.match)f.match[g]=new RegExp(f.match[g].source+/(?![^\[]*\])(?![^\(]*\))/.source),f.leftMatch[g]=new RegExp(/(^(?:.|\r|\n)*?)/.source+f.match[g].source.replace(/\\(\d+)/g,_));f.match.globalPOS=m;var v,y,b=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(E.documentElement.childNodes,0)[0].nodeType}catch(e){b=function(e,t){var i=0,n=t||[];if("[object Array]"===s.call(e))Array.prototype.push.apply(n,e);else if("number"==typeof e.length)for(var r=e.length;i<r;i++)n.push(e[i]);else for(;e[i];i++)n.push(e[i]);return n}}E.documentElement.compareDocumentPosition?v=function(e,t){return e===t?(o=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(v=function(e,t){if(e===t)return o=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var i,n,r=[],a=[],s=e.parentNode,l=t.parentNode,c=s;if(s===l)return y(e,t);if(!s)return-1;if(!l)return 1;for(;c;)r.unshift(c),c=c.parentNode;for(c=l;c;)a.unshift(c),c=c.parentNode;i=r.length,n=a.length;for(var d=0;d<i&&d<n;d++)if(r[d]!==a[d])return y(r[d],a[d]);return d===i?y(e,a[d],-1):y(r[d],t,1)},y=function(e,t,i){if(e===t)return i;for(var n=e.nextSibling;n;){if(n===t)return-1;n=n.nextSibling}return 1}),function(){var e=E.createElement("div"),i="script"+(new Date).getTime(),n=E.documentElement;e.innerHTML="<a name='"+i+"'/>",n.insertBefore(e,n.firstChild),E.getElementById(i)&&(f.find.ID=function(e,i,n){if(void 0!==i.getElementById&&!n){var r=i.getElementById(e[1]);return r?r.id===e[1]||void 0!==r.getAttributeNode&&r.getAttributeNode("id").nodeValue===e[1]?[r]:t:[]}},f.filter.ID=function(e,t){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&i&&i.nodeValue===t}),n.removeChild(e),n=e=null}(),function(){var e=E.createElement("div");e.appendChild(E.createComment("")),e.getElementsByTagName("*").length>0&&(f.find.TAG=function(e,t){var i=t.getElementsByTagName(e[1]);if("*"===e[1]){for(var n=[],r=0;i[r];r++)1===i[r].nodeType&&n.push(i[r]);i=n}return i}),e.innerHTML="<a href='#'></a>",e.firstChild&&void 0!==e.firstChild.getAttribute&&"#"!==e.firstChild.getAttribute("href")&&(f.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),E.querySelectorAll&&function(){var e=u,t=E.createElement("div");if(t.innerHTML="<p class='TEST'></p>",!t.querySelectorAll||0!==t.querySelectorAll(".TEST").length){for(var i in u=function(t,i,n,r){if(i=i||E,!r&&!u.isXML(i)){var a=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t);if(a&&(1===i.nodeType||9===i.nodeType)){if(a[1])return b(i.getElementsByTagName(t),n);if(a[2]&&f.find.CLASS&&i.getElementsByClassName)return b(i.getElementsByClassName(a[2]),n)}if(9===i.nodeType){if("body"===t&&i.body)return b([i.body],n);if(a&&a[3]){var s=i.getElementById(a[3]);if(!s||!s.parentNode)return b([],n);if(s.id===a[3])return b([s],n)}try{return b(i.querySelectorAll(t),n)}catch(e){}}else if(1===i.nodeType&&"object"!==i.nodeName.toLowerCase()){var o=i,l=i.getAttribute("id"),c=l||"__sizzle__",d=i.parentNode,p=/^\s*[+~]/.test(t);l?c=c.replace(/'/g,"\\$&"):i.setAttribute("id",c),p&&d&&(i=i.parentNode);try{if(!p||d)return b(i.querySelectorAll("[id='"+c+"'] "+t),n)}catch(e){}finally{l||o.removeAttribute("id")}}}return e(t,i,n,r)},e)u[i]=e[i];t=null}}(),function(){var e=E.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(t){var i=!t.call(E.createElement("div"),"div"),n=!1;try{t.call(E.documentElement,"[test!='']:sizzle")}catch(e){n=!0}u.matchesSelector=function(e,r){if(r=r.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!u.isXML(e))try{if(n||!f.match.PSEUDO.test(r)&&!/!=/.test(r)){var a=t.call(e,r);if(a||!i||e.document&&11!==e.document.nodeType)return a}}catch(e){}return u(r,null,null,[e]).length>0}}}(),function(){var e=E.createElement("div");if(e.innerHTML="<div class='test e'></div><div class='test'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length){if(e.lastChild.className="e",1===e.getElementsByClassName("e").length)return;f.order.splice(1,0,"CLASS"),f.find.CLASS=function(e,t,i){if(void 0!==t.getElementsByClassName&&!i)return t.getElementsByClassName(e[1])},e=null}}(),E.documentElement.contains?u.contains=function(e,t){return e!==t&&(!e.contains||e.contains(t))}:E.documentElement.compareDocumentPosition?u.contains=function(e,t){return!!(16&e.compareDocumentPosition(t))}:u.contains=function(){return!1},u.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return!!t&&"HTML"!==t.nodeName};var x=function(e,t,i){for(var n,r=[],a="",s=t.nodeType?[t]:t;n=f.match.PSEUDO.exec(e);)a+=n[0],e=e.replace(f.match.PSEUDO,"");e=f.relative[e]?e+"*":e;for(var o=0,l=s.length;o<l;o++)u(e,s[o],r,i);return u.filter(a,r)};u.attr=j.attr,u.selectors.attrMap={},j.find=u,j.expr=u.selectors,j.expr[":"]=j.expr.filters,j.unique=u.uniqueSort,j.text=u.getText,j.isXMLDoc=u.isXML,j.contains=u.contains}();var ne=/Until$/,re=/^(?:parents|prevUntil|prevAll)/,ae=/,/,se=/^.[^:#\[\.,]*$/,oe=Array.prototype.slice,le=j.expr.match.globalPOS,ce={children:!0,contents:!0,next:!0,prev:!0};j.fn.extend({find:function(e){var t,i,n=this;if("string"!=typeof e)return j(e).filter((function(){for(t=0,i=n.length;t<i;t++)if(j.contains(n[t],this))return!0}));var r,a,s,o=this.pushStack("","find",e);for(t=0,i=this.length;t<i;t++)if(r=o.length,j.find(e,this[t],o),t>0)for(a=r;a<o.length;a++)for(s=0;s<r;s++)if(o[s]===o[a]){o.splice(a--,1);break}return o},has:function(e){var t=j(e);return this.filter((function(){for(var e=0,i=t.length;e<i;e++)if(j.contains(this,t[e]))return!0}))},not:function(e){return this.pushStack(x(this,e,!1),"not",e)},filter:function(e){return this.pushStack(x(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?le.test(e)?j(e,this.context).index(this[0])>=0:j.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var i,n,r=[],a=this[0];if(j.isArray(e)){for(var s=1;a&&a.ownerDocument&&a!==t;){for(i=0;i<e.length;i++)j(a).is(e[i])&&r.push({selector:e[i],elem:a,level:s});a=a.parentNode,s++}return r}var o=le.test(e)||"string"!=typeof e?j(e,t||this.context):0;for(i=0,n=this.length;i<n;i++)for(a=this[i];a;){if(o?o.index(a)>-1:j.find.matchesSelector(a,e)){r.push(a);break}if(!(a=a.parentNode)||!a.ownerDocument||a===t||11===a.nodeType)break}return r=r.length>1?j.unique(r):r,this.pushStack(r,"closest",e)},index:function(e){return e?"string"==typeof e?j.inArray(this[0],j(e)):j.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var i="string"==typeof e?j(e,t):j.makeArray(e&&e.nodeType?[e]:e),n=j.merge(this.get(),i);return this.pushStack(w(i[0])||w(n[0])?n:j.unique(n))},andSelf:function(){return this.add(this.prevObject)}}),j.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return j.dir(e,"parentNode")},parentsUntil:function(e,t,i){return j.dir(e,"parentNode",i)},next:function(e){return j.nth(e,2,"nextSibling")},prev:function(e){return j.nth(e,2,"previousSibling")},nextAll:function(e){return j.dir(e,"nextSibling")},prevAll:function(e){return j.dir(e,"previousSibling")},nextUntil:function(e,t,i){return j.dir(e,"nextSibling",i)},prevUntil:function(e,t,i){return j.dir(e,"previousSibling",i)},siblings:function(e){return j.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return j.sibling(e.firstChild)},contents:function(e){return j.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:j.makeArray(e.childNodes)}},(function(e,t){j.fn[e]=function(i,n){var r=j.map(this,t,i);return ne.test(e)||(n=i),n&&"string"==typeof n&&(r=j.filter(n,r)),r=this.length>1&&!ce[e]?j.unique(r):r,(this.length>1||ae.test(n))&&re.test(e)&&(r=r.reverse()),this.pushStack(r,e,oe.call(arguments).join(","))}})),j.extend({filter:function(e,t,i){return i&&(e=":not("+e+")"),1===t.length?j.find.matchesSelector(t[0],e)?[t[0]]:[]:j.find.matches(e,t)},dir:function(e,i,n){for(var r=[],a=e[i];a&&9!==a.nodeType&&(n===t||1!==a.nodeType||!j(a).is(n));)1===a.nodeType&&r.push(a),a=a[i];return r},nth:function(e,t,i,n){t=t||1;for(var r=0;e&&(1!==e.nodeType||++r!==t);e=e[i]);return e},sibling:function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}});var de="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",pe=/ jQuery\d+="(?:\d+|null)"/g,ue=/^\s+/,he=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,fe=/<([\w:]+)/,me=/<tbody/i,_e=/<|&#?\w+;/,ge=/<(?:script|style)/i,ve=/<(?:script|object|embed|option|style)/i,ye=new RegExp("<(?:"+de+")[\\s/>]","i"),be=/checked\s*(?:[^=]|=\s*.checked.)/i,xe=/\/(java|ecma)script/i,we=/^\s*<!(?:\[CDATA\[|\-\-)/,ke={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Se=b(E);ke.optgroup=ke.option,ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,j.support.htmlSerialize||(ke._default=[1,"div<div>","</div>"]),j.fn.extend({text:function(e){return j.access(this,(function(e){return e===t?j.text(this):this.empty().append((this[0]&&this[0].ownerDocument||E).createTextNode(e))}),null,e,arguments.length)},wrapAll:function(e){if(j.isFunction(e))return this.each((function(t){j(this).wrapAll(e.call(this,t))}));if(this[0]){var t=j(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e})).append(this)}return this},wrapInner:function(e){return j.isFunction(e)?this.each((function(t){j(this).wrapInner(e.call(this,t))})):this.each((function(){var t=j(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)}))},wrap:function(e){var t=j.isFunction(e);return this.each((function(i){j(this).wrapAll(t?e.call(this,i):e)}))},unwrap:function(){return this.parent().each((function(){j.nodeName(this,"body")||j(this).replaceWith(this.childNodes)})).end()},append:function(){return this.domManip(arguments,!0,(function(e){1===this.nodeType&&this.appendChild(e)}))},prepend:function(){return this.domManip(arguments,!0,(function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)}))},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(e){this.parentNode.insertBefore(e,this)}));if(arguments.length){var e=j.clean(arguments);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(e){this.parentNode.insertBefore(e,this.nextSibling)}));if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,j.clean(arguments)),e}},remove:function(e,t){for(var i,n=0;null!=(i=this[n]);n++)e&&!j.filter(e,[i]).length||(!t&&1===i.nodeType&&(j.cleanData(i.getElementsByTagName("*")),j.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&j.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return j.clone(this,e,t)}))},html:function(e){return j.access(this,(function(e){var i=this[0]||{},n=0,r=this.length;if(e===t)return 1===i.nodeType?i.innerHTML.replace(pe,""):null;if("string"==typeof e&&!ge.test(e)&&(j.support.leadingWhitespace||!ue.test(e))&&!ke[(fe.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(he,"<$1></$2>");try{for(;n<r;n++)1===(i=this[n]||{}).nodeType&&(j.cleanData(i.getElementsByTagName("*")),i.innerHTML=e);i=0}catch(e){}}i&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(e){return this[0]&&this[0].parentNode?j.isFunction(e)?this.each((function(t){var i=j(this),n=i.html();i.replaceWith(e.call(this,t,n))})):("string"!=typeof e&&(e=j(e).detach()),this.each((function(){var t=this.nextSibling,i=this.parentNode;j(this).remove(),t?j(t).before(e):j(i).append(e)}))):this.length?this.pushStack(j(j.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,!0)},domManip:function(e,i,n){var r,a,s,o,l=e[0],c=[];if(!j.support.checkClone&&3===arguments.length&&"string"==typeof l&&be.test(l))return this.each((function(){j(this).domManip(e,i,n,!0)}));if(j.isFunction(l))return this.each((function(r){var a=j(this);e[0]=l.call(this,r,i?a.html():t),a.domManip(e,i,n)}));if(this[0]){if(o=l&&l.parentNode,a=1===(s=(r=j.support.parentNode&&o&&11===o.nodeType&&o.childNodes.length===this.length?{fragment:o}:j.buildFragment(e,this,c)).fragment).childNodes.length?s=s.firstChild:s.firstChild){i=i&&j.nodeName(a,"tr");for(var d=0,p=this.length,u=p-1;d<p;d++)n.call(i?y(this[d]):this[d],r.cacheable||p>1&&d<u?j.clone(s,!0,!0):s)}c.length&&j.each(c,(function(e,t){t.src?j.ajax({type:"GET",global:!1,url:t.src,async:!1,dataType:"script"}):j.globalEval((t.text||t.textContent||t.innerHTML||"").replace(we,"/*$0*/")),t.parentNode&&t.parentNode.removeChild(t)}))}return this}}),j.buildFragment=function(e,t,i){var n,r,a,s,o=e[0];return t&&t[0]&&(s=t[0].ownerDocument||t[0]),s.createDocumentFragment||(s=E),1===e.length&&"string"==typeof o&&o.length<512&&s===E&&"<"===o.charAt(0)&&!ve.test(o)&&(j.support.checkClone||!be.test(o))&&(j.support.html5Clone||!ye.test(o))&&(r=!0,(a=j.fragments[o])&&1!==a&&(n=a)),n||(n=s.createDocumentFragment(),j.clean(e,s,n,i)),r&&(j.fragments[o]=a?n:1),{fragment:n,cacheable:r}},j.fragments={},j.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){j.fn[e]=function(i){var n=[],r=j(i),a=1===this.length&&this[0].parentNode;if(a&&11===a.nodeType&&1===a.childNodes.length&&1===r.length)return r[t](this[0]),this;for(var s=0,o=r.length;s<o;s++){var l=(s>0?this.clone(!0):this).get();j(r[s])[t](l),n=n.concat(l)}return this.pushStack(n,e,r.selector)}})),j.extend({clone:function(e,t,i){var n,r,a,s=j.support.html5Clone||j.isXMLDoc(e)||!ye.test("<"+e.nodeName+">")?e.cloneNode(!0):h(e);if(!(j.support.noCloneEvent&&j.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||j.isXMLDoc(e)))for(g(e,s),n=_(e),r=_(s),a=0;n[a];++a)r[a]&&g(n[a],r[a]);if(t&&(v(e,s),i))for(n=_(e),r=_(s),a=0;n[a];++a)v(n[a],r[a]);return n=r=null,s},clean:function(e,t,i,n){var r,a,s,o=[];void 0===(t=t||E).createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||E);for(var l,c=0;null!=(l=e[c]);c++)if("number"==typeof l&&(l+=""),l){if("string"==typeof l)if(_e.test(l)){l=l.replace(he,"<$1></$2>");var d,p=(fe.exec(l)||["",""])[1].toLowerCase(),u=ke[p]||ke._default,h=u[0],m=t.createElement("div"),_=Se.childNodes;for(t===E?Se.appendChild(m):b(t).appendChild(m),m.innerHTML=u[1]+l+u[2];h--;)m=m.lastChild;if(!j.support.tbody){var g=me.test(l),v="table"!==p||g?"<table>"!==u[1]||g?[]:m.childNodes:m.firstChild&&m.firstChild.childNodes;for(s=v.length-1;s>=0;--s)j.nodeName(v[s],"tbody")&&!v[s].childNodes.length&&v[s].parentNode.removeChild(v[s])}!j.support.leadingWhitespace&&ue.test(l)&&m.insertBefore(t.createTextNode(ue.exec(l)[0]),m.firstChild),l=m.childNodes,m&&(m.parentNode.removeChild(m),_.length>0&&((d=_[_.length-1])&&d.parentNode&&d.parentNode.removeChild(d)))}else l=t.createTextNode(l);var y;if(!j.support.appendChecked)if(l[0]&&"number"==typeof(y=l.length))for(s=0;s<y;s++)f(l[s]);else f(l);l.nodeType?o.push(l):o=j.merge(o,l)}if(i)for(r=function(e){return!e.type||xe.test(e.type)},c=0;o[c];c++)if(a=o[c],n&&j.nodeName(a,"script")&&(!a.type||xe.test(a.type)))n.push(a.parentNode?a.parentNode.removeChild(a):a);else{if(1===a.nodeType){var x=j.grep(a.getElementsByTagName("script"),r);o.splice.apply(o,[c+1,0].concat(x))}i.appendChild(a)}return o},cleanData:function(e){for(var t,i,n,r=j.cache,a=j.event.special,s=j.support.deleteExpando,o=0;null!=(n=e[o]);o++)if((!n.nodeName||!j.noData[n.nodeName.toLowerCase()])&&(i=n[j.expando])){if((t=r[i])&&t.events){for(var l in t.events)a[l]?j.event.remove(n,l):j.removeEvent(n,l,t.handle);t.handle&&(t.handle.elem=null)}s?delete n[j.expando]:n.removeAttribute&&n.removeAttribute(j.expando),delete r[i]}}});var $e,Ce,Te,Ee=/alpha\([^)]*\)/i,De=/opacity=([^)]*)/,Ie=/([A-Z]|^ms)/g,je=/^[\-+]?(?:\d*\.)?\d+$/i,Ne=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,Ae=/^([\-+])=([\-+.\de]+)/,Le=/^margin/,Fe={position:"absolute",visibility:"hidden",display:"block"},He=["Top","Right","Bottom","Left"];j.fn.css=function(e,i){return j.access(this,(function(e,i,n){return n!==t?j.style(e,i,n):j.css(e,i)}),e,i,arguments.length>1)},j.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=$e(e,"opacity");return""===i?"1":i}return e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:j.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,i,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,s,o=j.camelCase(i),l=e.style,c=j.cssHooks[o];if(i=j.cssProps[o]||o,n===t)return c&&"get"in c&&(a=c.get(e,!1,r))!==t?a:l[i];if("string"===(s=typeof n)&&(a=Ae.exec(n))&&(n=+(a[1]+1)*+a[2]+parseFloat(j.css(e,i)),s="number"),null==n||"number"===s&&isNaN(n))return;if("number"===s&&!j.cssNumber[o]&&(n+="px"),!c||!("set"in c)||(n=c.set(e,n))!==t)try{l[i]=n}catch(e){}}},css:function(e,i,n){var r,a;return i=j.camelCase(i),a=j.cssHooks[i],"cssFloat"===(i=j.cssProps[i]||i)&&(i="float"),a&&"get"in a&&(r=a.get(e,!0,n))!==t?r:$e?$e(e,i):void 0},swap:function(e,t,i){var n,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];for(r in n=i.call(e),t)e.style[r]=a[r];return n}}),j.curCSS=j.css,E.defaultView&&E.defaultView.getComputedStyle&&(Ce=function(e,t){var i,n,r,a,s=e.style;return t=t.replace(Ie,"-$1").toLowerCase(),(n=e.ownerDocument.defaultView)&&(r=n.getComputedStyle(e,null))&&(""===(i=r.getPropertyValue(t))&&!j.contains(e.ownerDocument.documentElement,e)&&(i=j.style(e,t))),!j.support.pixelMargin&&r&&Le.test(t)&&Ne.test(i)&&(a=s.width,s.width=i,i=r.width,s.width=a),i}),E.documentElement.currentStyle&&(Te=function(e,t){var i,n,r,a=e.currentStyle&&e.currentStyle[t],s=e.style;return null==a&&s&&(r=s[t])&&(a=r),Ne.test(a)&&(i=s.left,(n=e.runtimeStyle&&e.runtimeStyle.left)&&(e.runtimeStyle.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=i,n&&(e.runtimeStyle.left=n)),""===a?"auto":a}),$e=Ce||Te,j.each(["height","width"],(function(e,t){j.cssHooks[t]={get:function(e,i,n){if(i)return 0!==e.offsetWidth?u(e,t,n):j.swap(e,Fe,(function(){return u(e,t,n)}))},set:function(e,t){return je.test(t)?t+"px":t}}})),j.support.opacity||(j.cssHooks.opacity={get:function(e,t){return De.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var i=e.style,n=e.currentStyle,r=j.isNumeric(t)?"alpha(opacity="+100*t+")":"",a=n&&n.filter||i.filter||"";i.zoom=1,t>=1&&""===j.trim(a.replace(Ee,""))&&(i.removeAttribute("filter"),n&&!n.filter)||(i.filter=Ee.test(a)?a.replace(Ee,r):a+" "+r)}}),j((function(){j.support.reliableMarginRight||(j.cssHooks.marginRight={get:function(e,t){return j.swap(e,{display:"inline-block"},(function(){return t?$e(e,"margin-right"):e.style.marginRight}))}})})),j.expr&&j.expr.filters&&(j.expr.filters.hidden=function(e){var t=e.offsetWidth,i=e.offsetHeight;return 0===t&&0===i||!j.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||j.css(e,"display"))},j.expr.filters.visible=function(e){return!j.expr.filters.hidden(e)}),j.each({margin:"",padding:"",border:"Width"},(function(e,t){j.cssHooks[e+t]={expand:function(i){var n,r="string"==typeof i?i.split(" "):[i],a={};for(n=0;n<4;n++)a[e+He[n]+t]=r[n]||r[n-2]||r[0];return a}}}));var Me,We,ze=/%20/g,Be=/\[\]$/,Oe=/\r?\n/g,qe=/#.*$/,Pe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ye=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ge=/^(?:GET|HEAD)$/,Re=/^\/\//,Ve=/\?/,Ze=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Ue=/^(?:select|textarea)/i,Je=/\s+/,Xe=/([?&])_=[^&]*/,Qe=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Ke=j.fn.load,et={},tt={},it=["*/"]+["*"];try{Me=I.href}catch(e){(Me=E.createElement("a")).href="",Me=Me.href}We=Qe.exec(Me.toLowerCase())||[],j.fn.extend({load:function(e,i,n){if("string"!=typeof e&&Ke)return Ke.apply(this,arguments);if(!this.length)return this;var r=e.indexOf(" ");if(r>=0){var a=e.slice(r,e.length);e=e.slice(0,r)}var s="GET";i&&(j.isFunction(i)?(n=i,i=t):"object"==typeof i&&(i=j.param(i,j.ajaxSettings.traditional),s="POST"));var o=this;return j.ajax({url:e,type:s,dataType:"html",data:i,complete:function(e,t,i){i=e.responseText,e.isResolved()&&(e.done((function(e){i=e})),o.html(a?j("<div>").append(i.replace(Ze,"")).find(a):i)),n&&o.each(n,[i,t,e])}}),this},serialize:function(){return j.param(this.serializeArray())},serializeArray:function(){return this.map((function(){return this.elements?j.makeArray(this.elements):this})).filter((function(){return this.name&&!this.disabled&&(this.checked||Ue.test(this.nodeName)||Ye.test(this.t
9ype))})).map((function(e,t){var i=j(this).val();return null==i?null:j.isArray(i)?j.map(i,(function(e,i){return{name:t.name,value:e.replace(Oe,"\r\n")}})):{name:t.name,value:i.replace(Oe,"\r\n")}})).get()}}),j.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),(function(e,t){j.fn[t]=function(e){return this.on(t,e)}})),j.each(["get","post"],(function(e,i){j[i]=function(e,n,r,a){return j.isFunction(n)&&(a=a||r,r=n,n=t),j.ajax({type:i,url:e,data:n,success:r,dataType:a})}})),j.extend({getScript:function(e,i){return j.get(e,t,i,"script")},getJSON:function(e,t,i){return j.get(e,t,i,"json")},ajaxSetup:function(e,t){return t?c(e,j.ajaxSettings):(t=e,e=j.ajaxSettings),c(e,t),e},ajaxSettings:{url:Me,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(We[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":it},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":j.parseJSON,"text xml":j.parseXML},flatOptions:{context:!0,url:!0}}
vendor: 7,699 bytes, line 9
9,ajaxPrefilter:p(et),ajaxTransport:p(tt),ajax:function(e,i){function n(e,i,n,s){if(2!==x){x=2,l&&clearTimeout(l),o=t,a=s||"",w.readyState=e>0?4:0;var c,d,u,y,b,k=i,S=n?function(e,i,n){var r,a,s,o,l=e.contents,c=e.dataTypes,d=e.responseFields;for(a in d)a in n&&(i[d[a]]=n[a]);for(;"*"===c[0];)c.shift(),r===t&&(r=e.mimeType||i.getResponseHeader("content-type"));if(r)for(a in l)if(l[a]&&l[a].test(r)){c.unshift(a);break}if(c[0]in n)s=c[0];else{for(a in n){if(!c[0]||e.converters[a+" "+c[0]]){s=a;break}o||(o=a)}s=s||o}if(s)return s!==c[0]&&c.unshift(s),n[s]}(h,w,n):t;if(e>=200&&e<300||304===e)if(h.ifModified&&((y=w.getResponseHeader("Last-Modified"))&&(j.lastModified[r]=y),(b=w.getResponseHeader("Etag"))&&(j.etag[r]=b)),304===e)k="notmodified",c=!0;else try{d=function(e,i){e.dataFilter&&(i=e.dataFilter(i,e.dataType));var n,r,a,s,o,l,c,d,p=e.dataTypes,u={},h=p.length,f=p[0];for(n=1;n<h;n++){if(1===n)for(r in e.converters)"string"==typeof r&&(u[r.toLowerCase()]=e.converters[r]);if(s=f,"*"===(f=p[n]))f=s;else if("*"!==s&&s!==f){if(!(l=u[o=s+" "+f]||u["* "+f]))for(c in d=t,u)if(((a=c.split(" "))[0]===s||"*"===a[0])&&(d=u[a[1]+" "+f])){!0===(c=u[c])?l=d:!0===d&&(l=c);break}!l&&!d&&j.error("No conversion from "+o.replace(" "," to ")),!0!==l&&(i=l?l(i):d(c(i)))}}return i}(h,S),k="success",c=!0}catch(e){k="parsererror",u=e}else u=k,k&&!e||(k="error",e<0&&(e=0));w.status=e,w.statusText=""+(i||k),c?_.resolveWith(f,[d,k,w]):_.rejectWith(f,[w,k,u]),w.statusCode(v),v=t,p&&m.trigger("ajax"+(c?"Success":"Error"),[w,h,c?d:u]),g.fireWith(f,[w,k]),p&&(m.trigger("ajaxComplete",[w,h]),--j.active||j.event.trigger("ajaxStop"))}}"object"==typeof e&&(i=e,e=t),i=i||{};var r,a,s,o,l,c,p,u,h=j.ajaxSetup({},i),f=h.context||h,m=f!==h&&(f.nodeType||f instanceof j)?j(f):j.event,_=j.Deferred(),g=j.Callbacks("once memory"),v=h.statusCode||{},y={},b={},x=0,w={readyState:0,setRequestHeader:function(e,t){if(!x){var i=e.toLowerCase();e=b[i]=b[i]||e,y[e]=t}return this},getAllResponseHeaders:function(){return 2===x?a:null},getResponseHeader:function(e){var i;if(2===x){if(!s)for(s={};i=Pe.exec(a);)s[i[1].toLowerCase()]=i[2];i=s[e.toLowerCase()]}return i===t?null:i},overrideMimeType:function(e){return x||(h.mimeType=e),this},abort:function(e){return e=e||"abort",o&&o.abort(e),n(0,e),this}};if(_.promise(w),w.success=w.done,w.error=w.fail,w.complete=g.add,w.statusCode=function(e){var t;if(e)if(x<2)for(t in e)v[t]=[v[t],e[t]];else t=e[w.status],w.then(t,t);return this},h.url=((e||h.url)+"").replace(qe,"").replace(Re,We[1]+"//"),h.dataTypes=j.trim(h.dataType||"*").toLowerCase().split(Je),null==h.crossDomain&&(c=Qe.exec(h.url.toLowerCase()),h.crossDomain=!(!c||c[1]==We[1]&&c[2]==We[2]&&(c[3]||("http:"===c[1]?80:443))==(We[3]||("http:"===We[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=j.param(h.data,h.traditional)),d(et,h,i,w),2===x)return!1;if(p=h.global,h.type=h.type.toUpperCase(),h.hasContent=!Ge.test(h.type),p&&0===j.active++&&j.event.trigger("ajaxStart"),!h.hasContent&&(h.data&&(h.url+=(Ve.test(h.url)?"&":"?")+h.data,delete h.data),r=h.url,!1===h.cache)){var k=j.now(),S=h.url.replace(Xe,"$1_="+k);h.url=S+(S===h.url?(Ve.test(h.url)?"&":"?")+"_="+k:"")}for(u in(h.data&&h.hasContent&&!1!==h.contentType||i.contentType)&&w.setRequestHeader("Content-Type",h.contentType),h.ifModified&&(r=r||h.url,j.lastModified[r]&&w.setRequestHeader("If-Modified-Since",j.lastModified[r]),j.etag[r]&&w.setRequestHeader("If-None-Match",j.etag[r])),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+it+"; q=0.01":""):h.accepts["*"]),h.headers)w.setRequestHeader(u,h.headers[u]);if(h.beforeSend&&(!1===h.beforeSend.call(f,w,h)||2===x))return w.abort(),!1;for(u in{success:1,error:1,complete:1})w[u](h[u]);if(o=d(tt,h,i,w)){w.readyState=1,p&&m.trigger("ajaxSend",[w,h]),h.async&&h.timeout>0&&(l=setTimeout((function(){w.abort("timeout")}),h.timeout));try{x=1,o.send(y,n)}catch(e){if(!(x<2))throw e;n(-1,e)}}else n(-1,"No Transport");return w},param:function(e,i){var n=[],r=function(e,t){t=j.isFunction(t)?t():t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(i===t&&(i=j.ajaxSettings.traditional),j.isArray(e)||e.jquery&&!j.isPlainObject(e))j.each(e,(function(){r(this.name,this.value)}));else for(var a in e)l(a,e[a],i,r);return n.join("&").replace(ze,"+")}}),j.extend({active:0,lastModified:{},etag:{}});var nt=j.now(),rt=/(\=)\?(&|$)|\?\?/i;j.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return j.expando+"_"+nt++}}),j.ajaxPrefilter("json jsonp",(function(t,i,n){var r="string"==typeof t.data&&/^application\/x\-www\-form\-urlencoded/.test(t.contentType);if("jsonp"===t.dataTypes[0]||!1!==t.jsonp&&(rt.test(t.url)||r&&rt.test(t.data))){var a,s=t.jsonpCallback=j.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o=e[s],l=t.url,c=t.data,d="$1"+s+"$2";return!1!==t.jsonp&&(l=l.replace(rt,d),t.url===l&&(r&&(c=c.replace(rt,d)),t.data===c&&(l+=(/\?/.test(l)?"&":"?")+t.jsonp+"="+s))),t.url=l,t.data=c,e[s]=function(e){a=[e]},n.always((function(){e[s]=o,a&&j.isFunction(o)&&e[s](a[0])})),t.converters["script json"]=function(){return a||j.error(s+" was not called"),a[0]},t.dataTypes[0]="json","script"}})),j.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return j.globalEval(e),e}}}),j.ajaxPrefilter("script",(function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)})),j.ajaxTransport("script",(function(e){if(e.crossDomain){var i,n=E.head||E.getElementsByTagName("head")[0]||E.documentElement;return{send:function(r,a){(i=E.createElement("script")).async="async",e.scriptCharset&&(i.charset=e.scriptCharset),i.src=e.url,i.onload=i.onreadystatechange=function(e,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,n&&i.parentNode&&n.removeChild(i),i=t,r||a(200,"success"))},n.insertBefore(i,n.firstChild)},abort:function(){i&&i.onload(0,1)}}}}));var at,st=!!e.ActiveXObject&&function(){for(var e in at)at[e](0,1)},ot=0;j.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&o()||function(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:o,function(e){j.extend(j.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(j.ajaxSettings.xhr()),j.support.ajax&&j.ajaxTransport((function(i){var n;if(!i.crossDomain||j.support.cors)return{send:function(r,a){var s,o,l=i.xhr();if(i.username?l.open(i.type,i.url,i.async,i.username,i.password):l.open(i.type,i.url,i.async),i.xhrFields)for(o in i.xhrFields)l[o]=i.xhrFields[o];i.mimeType&&l.overrideMimeType&&l.overrideMimeType(i.mimeType),!i.crossDomain&&!r["X-Requested-With"]&&(r["X-Requested-With"]="XMLHttpRequest");try{for(o in r)l.setRequestHeader(o,r[o])}catch(e){}l.send(i.hasContent&&i.data||null),n=function(e,r){var o,c,d,p,u;try{if(n&&(r||4===l.readyState))if(n=t,s&&(l.onreadystatechange=j.noop,st&&delete at[s]),r)4!==l.readyState&&l.abort();else{o=l.status,d=l.getAllResponseHeaders(),p={},(u=l.responseXML)&&u.documentElement&&(p.xml=u);try{p.text=l.responseText}catch(e){}try{c=l.statusText}catch(e){c=""}o||!i.isLocal||i.crossDomain?1223===o&&(o=204):o=p.text?200:404}}catch(e){r||a(-1,e)}p&&a(o,c,p,d)},i.async&&4!==l.readyState?(s=++ot,st&&(at||(at={},j(e).unload(st)),at[s]=n),l.onreadystatechange=n):n()},abort:function(){n&&n(0,1)}}}));var lt,ct,dt,pt,ut={},ht=/^(?:toggle|show|hide)$/,ft=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,mt=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["o
9pacity"]];j.fn.extend({show:function(e,t,i){var a,s;if(e||0===e)return this.animate(r("show",3),e,t,i);for(var o=0,l=this.length;o<l;o++)(a=this[o]).style&&(s=a.style.display,!j._data(a,"olddisplay")&&"none"===s&&(s=a.style.display=""),(""===s&&"none"===j.css(a,"display")||!j.contains(a.ownerDocument.documentElement,a))&&j._data(a,"olddisplay",n(a.nodeName)));for(o=0;o<l;o++)(a=this[o]).style&&(""!==(s=a.style.display)&&"none"!==s||(a.style.display=j._data(a,"olddisplay")||""));return this},hide:function(e,t,i){if(e||0===e)return this.animate(r("hide",3),e,t,i);for(var n,a,s=0,o=this.length;s<o;s++)(n=this[s]).style&&("none"!==(a=j.css(n,"display"))&&!j._data(n,"olddisplay")&&j._data(n,"olddisplay",a));for(s=0;s<o;s++)this[s].style&&(this[s].style.display="none");return this},_toggle:j.fn.toggle,toggle:function(e,t,i){var n="boolean"==typeof e;return j.isFunction(e)&&j.isFunction(t)?this._toggle.apply(this,arguments):null==e||n?this.each((function(){var t=n?e:j(this).is(":hidden");j(this)[t?"show":"hide"]()})):this.animate(r("toggle",3),e,t,i),this},fadeTo:function(e,t,i,n){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,r){function a(){!1===s.queue&&j._mark(this);var t,i,r,a,o,l,c,d,p,u,h,f=j.extend({},s),m=1===this.nodeType,_=m&&j(this).is(":hidden");for(r in f.animatedProperties={},e)if(r!==(t=j.camelCase(r))&&(e[t]=e[r],delete e[r]),(o=j.cssHooks[t])&&"expand"in o)for(r in l=o.expand(e[t]),delete e[t],l)r in e||(e[r]=l[r]);for(t in e){if(i=e[t],j.isArray(i)?(f.animatedProperties[t]=i[1],i=e[t]=i[0]):f.animatedProperties[t]=f.specialEasing&&f.specialEasing[t]||f.easing||"swing","hide"===i&&_||"show"===i&&!_)return f.complete.call(this);m&&("height"===t||"width"===t)&&(f.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===j.css(this,"display")&&"none"===j.css(this,"float")&&(j.support.inlineBlockNeedsLayout&&"inline"!==n(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}for(r in null!=f.overflow&&(this.style.overflow="hidden"),e)a=new j.fx(this,f,r),i=e[r],ht.test(i)?(h=j._data(this,"toggle"+r)||("toggle"===i?_?"show":"hide":0))?(j._data(this,"toggle"+r,"show"===h?"hide":"show"),a[h]()):a[i]():(c=ft.exec(i),d=a.cur(),c?(p=parseFloat(c[2]),"px"!==(u=c[3]||(j.cssNumber[r]?"":"px"))&&(j.style(this,r,(p||1)+u),d=(p||1)/a.cur()*d,j.style(this,r,d+u)),c[1]&&(p=("-="===c[1]?-1:1)*p+d),a.custom(d,p,u)):a.custom(d,i,""));return!0}var s=j.speed(t,i,r);return j.isEmptyObject(e)?this.each(s.complete,[!1]):(e=j.extend({},e),!1===s.queue?this.each(a):this.queue(s.queue,a))},stop:function(e,i,n){return"string"!=typeof e&&(n=i,i=e,e=t),i&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){function t(e,t,i){var r=t[i];j.removeData(e,i,!0),r.stop(n)}var i,r=!1,a=j.timers,s=j._data(this);if(n||j._unmark(!0,this),null==e)for(i in s)s[i]&&s[i].stop&&i.indexOf(".run")===i.length-4&&t(this,s,i);else s[i=e+".run"]&&s[i].stop&&t(this,s,i);for(i=a.length;i--;)a[i].elem===this&&(null==e||a[i].queue===e)&&(n?a[i](!0):a[i].saveState(),r=!0,a.splice(i,1));(!n||!r)&&j.dequeue(this,e)}))}}),j.each({slideDown:r("show",1),slideUp:r("hide",1),slideToggle:r("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){j.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}})),j.extend({speed:function(e,t,i){var n=e&&"object"==typeof e?j.extend({},e):{complete:i||!i&&t||j.isFunction(e)&&e,duration:e,easing:i&&t||t&&!j.isFunction(t)&&t};return n.duration=j.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in j.fx.speeds?j.fx.speeds[n.duration]:j.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(e){j.isFunction(n.old)&&n.old.call(this),n.queue?j.dequeue(this,n.queue):!1!==e&&j._unmark(this)},n},easing:{linear:function(e){return e},swing:function(e){return-Math.cos(e*Math.PI)/2+.5}},timers:[],fx:function(e,t,i){this.options=t,this.elem=e,this.prop=i,t.orig=t.orig||{}}}),j.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(j.fx.step[this.prop]||j.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var e,t=j.css(this.elem,this.prop);return isNaN(e=parseFloat(t))?t&&"auto"!==t?t:0:e},custom:function(e,i,n){function r(e){return a.step(e)}var a=this,o=j.fx;this.startTime=pt||s(),this.end=i,this.now=this.start=e,this.pos=this.state=0,this.unit=n||this.unit||(j.cssNumber[this.prop]?"":"px"),r.queue=this.options.queue,r.elem=this.elem,r.saveState=function(){j._data(a.elem,"fxshow"+a.prop)===t&&(a.options.hide?j._data(a.elem,"fxshow"+a.prop,a.start):a.options.show&&j._data(a.elem,"fxshow"+a.prop,a.end))},r()&&j.timers.push(r)&&!dt&&(dt=setInterval(o.tick,o.interval))},show:function(){var e=j._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=e||j.style(this.elem,this.prop),this.options.show=!0,e!==t?this.custom(this.cur(),e):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),j(this.elem).show()},hide:function(){this.options.orig[this.prop]=j._data(this.elem,"fxshow"+this.prop)||j.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t,i,n,r=pt||s(),a=!0,o=this.elem,l=this.options;if(e||r>=l.duration+this.startTime){for(t in this.now=this.end,this.pos=this.state=1,this.update(),l.animatedProperties[this.prop]=!0,l.animatedProperties)!0!==l.animatedProperties[t]&&(a=!1);if(a){if(null!=l.overflow&&!j.support.shrinkWrapBlocks&&j.each(["","X","Y"],(function(e,t){o.style["overflow"+t]=l.overflow[e]})),l.hide&&j(o).hide(),l.hide||l.show)for(t in l.animatedProperties)j.style(o,t,l.orig[t]),j.removeData(o,"fxshow"+t,!0),j.removeData(o,"toggle"+t,!0);(n=l.complete)&&(l.complete=!1,n.call(o))}return!1}return l.duration==1/0?this.now=r:(i=r-this.startTime,this.state=i/l.duration,this.pos=j.easing[l.animatedProperties[this.prop]](this.state,i,0,1,l.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},j.extend(j.fx,{tick:function(){for(var e,t=j.timers,i=0;i<t.length;i++)!(e=t[i])()&&t[i]===e&&t.splice(i--,1);t.length||j.fx.stop()},interval:13,stop:function(){clearInterval(dt),dt=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){j.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&null!=e.elem.style[e.prop]?e.elem.style[e.prop]=e.now+e.unit:e.elem[e.prop]=e.now}}}),j.each(mt.concat.apply([],mt),(function(e,t){t.indexOf("margin")&&(j.fx.step[t]=function(e){j.style(e.elem,t,Math.max(0,e.now)+e.unit)})})),j.expr&&j.expr.filters&&(j.expr.filters.animated=function(e){return j.grep(j.timers,(function(t){return e===t.elem})).length});var _t,gt=/^t(?:able|d|h)$/i,vt=/^(?:body|html)$/i;_t="getBoundingClientRect"in E.documentElement?function(e,t,n,r){try{r=e.getBoundingClientRect()}catch(e){}
9if(!r||!j.contains(n,e))return r?{top:r.top,left:r.left}:{top:0,left:0};var a=t.body,s=i(t),o=n.clientTop||a.clientTop||0,l=n.clientLeft||a.clientLeft||0,c=s.pageYOffset||j.support.boxModel&&n.scrollTop||a.scrollTop,d=s.pageXOffset||j.support.boxModel&&n.scrollLeft||a.scrollLeft;return{top:r.top+c-o,left:r.left+d-l}}:function(e,t,i){for(var n,r=e.offsetParent,a=t.body,s=t.defaultView,o=s?s.getComputedStyle(e,null):e.currentStyle,l=e.offsetTop,c=e.offsetLeft;(e=e.parentNode)&&e!==a&&e!==i&&(!j.support.fixedPosition||"fixed"!==o.position);)n=s?s.getComputedStyle(e,null):e.currentStyle,l-=e.scrollTop,c-=e.scrollLeft,e===r&&(l+=e.offsetTop,c+=e.offsetLeft,j.support.doesNotAddBorder&&(!j.support.doesAddBorderForTableAndCells||!gt.test(e.nodeName))&&(l+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),r=e.offsetParent),j.support.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(l+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),o=n;return"relative"!==o.position&&"static"!==o.position||(l+=a.offsetTop,c+=a.offsetLeft),j.support.fixedPosition&&"fixed"===o.position&&(l+=Math.max(i.scrollTop,a.scrollTop),c+=Math.max(i.scrollLeft,a.scrollLeft)),{top:l,left:c}},j.fn.offset=function(e){if(arguments.length)return e===t?this:this.each((function(t){j.offset.setOffset(this,e,t)}));var i=this[0],n=i&&i.ownerDocument;return n?i===n.body?j.offset.bodyOffset(i):_t(i,n,n.documentElement):null},j.offset={bodyOffset:function(e){var t=e.offsetTop,i=e.offsetLeft;return j.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(j.css(e,"marginTop"))||0,i+=parseFloat(j.css(e,"marginLeft"))||0),{top:t,left:i}},setOffset:function(e,t,i){var n=j.css(e,"position");"static"===n&&(e.style.position="relative");var r,a,s=j(e),o=s.offset(),l=j.css(e,"top"),c=j.css(e,"left"),d={},p={};("absolute"===n||"fixed"===n)&&j.inArray("auto",[l,c])>-1?(r=(p=s.position()).top,a=p.left):(r=parseFloat(l)||0,a=parseFloat(c)||0),j.isFunction(t)&&(t=t.call(e,i,o)),null!=t.top&&(d.top=t.top-o.top+r),null!=t.left&&(d.left=t.left-o.left+a),"using"in t?t.using.call(e,d):s.css(d)}},j.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),i=this.offset(),n=vt.test(t[0].nodeName)?{top:0,left:0}:t.offset();return i.top-=parseFloat(j.css(e,"marginTop"))||0,i.left-=parseFloat(j.css(e,"marginLeft"))||0,n.top+=parseFloat(j.css(t[0],"borderTopWidth"))||0,n.left+=parseFloat(j.css(t[0],"borderLeftWidth"))||0,{top:i.top-n.top,left:i.left-n.left}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||E.body;e&&!vt.test(e.nodeName)&&"static"===j.css(e,"position");)e=e.offsetParent;return e}))}}),j.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,n){var r=/Y/.test(n);j.fn[e]=function(a){return j.access(this,(function(e,a,s){var o=i(e);if(s===t)return o?n in o?o[n]:j.support.boxModel&&o.document.documentElement[a]||o.document.body[a]:e[a];o?o.scrollTo(r?j(o).scrollLeft():s,r?s:j(o).scrollTop()):e[a]=s}),e,a,arguments.length,null)}})),j.each({Height:"height",Width:"width"},(function(e,i){var n="client"+e,r="scroll"+e,a="offset"+e;j.fn["inner"+e]=function(){var e=this[0];return e?e.style?parseFloat(j.css(e,i,"padding")):this[i]():null},j.fn["outer"+e]=function(e){var t=this[0];return t?t.style?parseFloat(j.css(t,i,e?"margin":"border")):this[i]():null},j.fn[i]=function(e){return j.access(this,(function(e,i,s){var o,l,c,d;return j.isWindow(e)?(l=(o=e.document).documentElement[n],j.support.boxModel&&l||o.body&&o.body[n]||l):9===e.nodeType?(o=e.documentElement)[n]>=o[r]?o[n]:Math.max(e.body[r],o[r],e.body[a],o[a]):s===t?(c=j.css(e,i),d=parseFloat(c),j.isNumeric(d)?d:c):void j(e).css(i,s)}),i,e,arguments.length,null)}})),e.jQuery=e.$=j,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],(function(){return j}))}(window),jQuery.event.special.touchstart={setup:function(e,t,i){this.addEventListener("touchstart",i,{passive:!t.includes("noPreventDefault")})}},jQuery.event.special.touchmove={setup:function(e,t,i){this.addEventListener("touchmove",i,{passive:!t.includes("noPreventDefault")})}},jQuery.event.special.wheel={setup:function(e,t,i){this.addEventListener("wheel",i,{passive:!0})}},jQuery.event.special.mousewheel={setup:function(e,t,i){this.addEventListener("mousewheel",i,{passive:!0})}};var console=console||{};console.log=console.log||function(){},console.info=console.info||function(){};var fun_pc=[],fun_pc_large=[],fun_tablet=[],fun_mobile=[];function _instanceof(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function _classCallCheck(e,t){if(!_instanceof(e,t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,i){return t&&_defineProperties(e.prototype,t),i&&_defineProperties(e,i),e}app_shop.vars.xhr="",app_shop.getFile=function(e){$.getScript(app_shop.urls.prefix+e+".js")},app_shop.getOuterJS=function(e){for(var t in e)$.getScript(app_shop.urls.prefix+e[t]+".js",(function(){console.log("file: "+e[t])}))},app_shop.run=function(e,t,n,r){if($.isArray(t))for(i in t)app_shop.fnrun[t[i]]||(app_shop.fnrun[t[i]]=[]),app_shop.fnrun[t[i]].push({w:n,fn:e,a:r});else app_shop.fnrun[t]||(app_shop.fnrun[t]=[]),app_shop.fnrun[t].push({w:n,fn:e,a:r})},app_shop.runArr=function(e,t,i){if(e){var n,r;for(n=0,r=e.length;n<r;n++){var a=e[n].w,s=e[n].fn,o=e[n].a;i?a?$(a).size()&&o&&(s(),console.log("mode "+t+":"+a)):o&&(s(),console.log("mode "+t+":"+a)):a?$(a).size()&&(s(),console.log("mode "+t+":"+a)):(s(),console.log("mode "+t+":"+a))}}};var iaiGetAjax=function(){function e(t){_classCallCheck(this,e),this.data={},this.cache={},this.fn=[]}return _createClass(e,[{key:"projector",value:function(){this.data.Projector={format:"json",params:{}},this.fn.push(fn)}},{key:"basket",value:function(e){this.data.Basket={},this.fn.push(e)}},{key:"wishlist",value:function(e){this.data.Wishlist={},this.fn.push(e)}},{key:"comparers",value:function(e){this.data.Comparers={},this.fn.push(e)}},{key:"snippets",value:function(e,t){this.data.Snippets?console.log("Snippets data exist"):this.data.Snippets={format:"json",params:{mobile:t.mobile,tablet:t.tablet,pc:t.pc,request_uri:t.request_uri,additional_ajax:t.additional_ajax}},this.fn.push(e)}},{key:"toplayersAndWidgets",value:function(e,t){this.data.ToplayersAndWidgets?console.log("ToplayersAndWidgets data exist"):this.data.ToplayersAndWidgets={format:"json",params:{mobile:t.mobile,tablet:t.tablet,pc:t.pc,request_uri:t.request_uri,additional_ajax:t.additional_ajax}},this.fn.push(e)}},{key:"hotspot",value:function(e,t){}},{key:"hotspotMain",value:function(e,t){}},{key:"hotspotProjector",value:function(e,t){}},{key:"hotspotSearch",value:function(e,t){}},{key:"init",value:function(){var e="request="+JSON.stringify(this.data),t=this;$.ajax({type:"POST",url:"/ajax/get.php",dataType:"JSON",data:e,success:function(e){t.cache=e,t.fn.forEac
9h((function(e){e(t.cache)}))},error:function(){}})}}]),e}(),iaiGet=new iaiGetAjax;app_shop.fn.change_url=function(e){history.pushState&&history.pushState({foo:"bar"},"",decodeURIComponent(e))},app_shop.fn.evalJSFromHtml=function(e){var t=document.createElement("div");t.innerHTML=e;for(var i=t.getElementsByTagName("script"),n=[],r=0;r<i.length;++r)"SCRIPT"!==i[r].tagName||"ajaxLoad"!=i[r].className&&"ajaxLoad"!=i[r].parentNode.className||n.push(i[r]);$("body").append(n)},app_shop.fn.load=function(e,t,i,n){app_shop.vars.xhr&&4!=app_shop.vars.xhr.readystate&&app_shop.vars.xhr.abort(),$(t).addClass("load-content");for(var r=0;t.length>r;r++)$(t[r][0]).addClass("load-content");app_shop.vars.xhr=$.ajax({url:e+n,timeout:16e3,success:function(n,r){for(var a=0;t.length>a;a++)$(t[a][0]).removeClass("load-content").html($(n).find(t[a][1]).html());app_shop.fn.change_url(e),app_shop.fn.evalJSFromHtml(n),i&&i()},error:function(t){window.location.href=e}})},app_shop.fn.variety=function(e,t,i){return 1==e?t:i},app_shop.fn.setGrid=function(){1==app_shop.vars.view?$(".setMobileGrid").each((function(){var e=$
9(this).data("item");$(e).before('<del class="domHandler" data-item="'+e+'" style="display:none">'),$(this).append($(e))})):$(".domHandler").each((function(){var e=$(this).data("item");$(this).after($(e)),$(this).remove()}))},app_shop.fn.runAjaxFn=function(){app_shop.vars.view=Math.round($("#viewType").width());app_shop.vars.view;if(app_shop.runArr(app_shop.fnrun.all,"all",!0),!app_shop.vars.view)return!1;app_shop.runArr(app_shop.fnrun[app_shop.vars.view],app_shop.vars.view,!0)},app_shop.runApp=function(){app_shop.vars.view=Math.round($("#viewType").width());var e=app_shop.vars.view;if(app_shop.runArr(app_shop.fnrun.all,"all"),!app_shop.vars.view)return!1;app_shop.runArr(app_shop.fnrun[app_shop.vars.view],app_shop.vars.view),app_shop.fn.setGrid(),$(window).off("resize.view"),$(window).on("resize.view",(function(){app_shop.vars.view=Math.round($("#viewType").width()),app_shop.vars.view!=e&&(e=app_shop.vars.view,app_shop.runArr(app_shop.fnrun[app_shop.vars.view],app_shop.vars.view),app_shop.fn.setGrid())})),app_shop.getOuterJS(app_shop.files),iaiGet.init()},app_shop.fn.getRwdSrc=function(e){var t=[e.data("src_mobile"),e.data("src_tablet"),e.data("src_desktop"),e.data("src_desktop")],i=t[app_shop.vars.view-1];return i||(t=t.join(" ").split(" ")).length&&(i=1==app_shop.vars.view?t[0]:t.pop()),i},app_shop.fn.rwdBanner=function(e,t){for(i in t)app_shop.run((function(){$(e).find("img.rwd-src").each((function(){$this=$(this),$this.attr("src",app_shop.fn.getRwdSrc($this))}))}),t[i],e)},function(e){e.fn.iai_align=function(){return this.each((function(){if(e(this).data("align")){var t=e(this).data("align").split("|"),n="",r=0,a=e(this);for(i in t)if(option=t[i].split("#"),n=option[0],"px"==(option[1]||"px")){r=Math.max.apply(null,a.find(n).map((function(){return e(this).outerHeight()})).get());a.find(n).css("min-height",r)}else a.find(n).each((function(){e(this).wrap('<div style="display: table;width:100%;height:100%;table-layout: fixed;"><div style="display: table-cell;vertical-align: middle;min-height:100%">')}))}}))}}(jQuery),String.prototype.format=function(){var e,t=this;for(e in arguments)t=t.replace(/%[a-z]/,arguments[e]);return t},app_shop.fn.news_data=function(e){var t="";if(!e.data||!(t=e.data.split("-"))||t.length<3)return!1;var i=e.format||"%d-%m-%y";return e.month_names&&(t[1]=e.month_names[parseInt(t[1])-1]),i.format(t[2],t[1],t[0])},function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){"use strict";var t=window.Slick||{};(t=function(){var t=0;return function(i,n){var r,a=this;a.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},a.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(a,a.initials),a.activeBreakpoint=null,a.animType=null,a.animProp=null,a.breakpoints=[],a.breakpointSettings=[],a.cssTransitions=!1,a.focussed=!1,a.interrupted=!1,a.hidden="hidden",a.paused=!0,a.positionProp=null,a.respondTo=null,a.rowCount=1,a.shouldClick=!0,a.$slider=e(i),a.$slidesCache=null,a.transformType=null,a.transitionType=null,a.visibilityChange="visibilitychange",a.windowWidth=0,a.windowTimer=null,r=e(i).data("slick")||{},a.options=e.extend({},a.defaults,n,r),a.currentSlide=a.options.initialSlide,a.originalSettings=a.options,void 0!==document.mozHidden?(a.hidden="mozHidden",a.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(a.hidden="webkitHidden",a.visibilityChange="webkitvisibilitychange"),a.autoPlay=e.proxy(a.autoPlay,a),a.autoPlayClear=e.proxy(a.autoPlayClear,a),a.autoPlayIterator=e.proxy(a.autoPlayIterator,a),a.changeSlide=e.proxy(a.changeSlide,a),a.clickHandler=e.proxy(a.clickHandler,a),a.selectHandler=e.proxy(a.selectHandler,a),a.setPosition=e.proxy(a.setPosition,a),a.swipeHandler=e.proxy(a.swipeHandler,a),a.dragHandler=e.proxy(a.dragHandler,a),a.keyHandler=e.proxy(a.keyHandler,a),a.instanceUid=t++,a.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,a.registerBreakpoints(),a.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,i,n){var r=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=r.slideCount)return!1;r.unload(),"number"==typeof i?0===i&&0===r.$slides.length?e(t).appendTo(r.$slideTrack):n?e(t).insertBefore(r.$slides.eq(i)):e(t).insertAfter(r.$slides.eq(i)):!0===n?e(t).prependTo(r.$slideTrack):e(t).appendTo(r.$slideTrack),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slides.each((function(t,i){e(i).attr("data-slick-index",t)})),r.$slidesCache=r.$slides,r.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var n={},r=this;r.animateHeight(),!0===r.options.rtl&&!1===r.options.vertical&&(t=-t),!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,i):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,i):!1===r.cssTransitions?(!0===r.options.rtl&&(r.currentLeft=-r.currentLeft),e({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(e){e=Math.ceil(e),!1===r.options.vertical?(n[r.animType]="translate("+e+"px, 0px)",r.$slideTrack.css(n)):(n[r.animType]="translate(0px,"+e+"px)",r.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(r.applyTransition(),t=Math.ceil(t),!1===r.options.vertical?n[r.animType]="translate3d("+t+"px, 0px, 0px)":n[r.animType]="translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(n),i&&setTimeout((function(){r.disableTransition(),i.call()}),r.options.speed))},t.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},t.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)}))},t.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,i,n=this;if(!0===n.options.dots){for(n.$slider.addClass("slick-dotted"),i=e("<ul />").addClass(n.options.dotsClass),t=0;t<=n.getDotCount();t+=1)i.append(e("<li />").append(n.options.customPaging.call(this,n,t)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,i,n,r,a,s,o=this;if(n=document.createDocumentFragment(),a=o.$slider.children(),o.options.rows>1){for(s=o.options.slidesPerRow*o.options.rows,r=Math.ceil(a.length/s),e=0;e<r;e++){var l=document.createElement("div");for(t=0;t<o.options.rows;t++){var c=document.createElement("div");for(i=0;i<o.options.slidesPerRow;i++){var d=e*s+(t*o.options.slidesPerRow+i);a.get(d)&&c.appendChild(a.get(d))}l.appendChild(c)}n.appendChild(l)}o.$slider.empty().append(n),o.$slider.children().children().children().css({width:100/o.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,i){var n,r,a,s=this,o=!1,l=s.$slider.width(),c=window.innerWidth||e(window).width();if("window"===s.respondTo?a=c:"slider"===s.respondTo?a=l:"min"===s.respondTo&&(a=Math.min(c,l)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){for(n in r=null,s.breakpoints)s.breakpoints.hasOwnProperty(n)&&(!1===s.originalSettings.mobileFirst?a<s.breakpoints[n]&&(r=s.breakpoints[n]):a>s.breakpoints[n]&&(r=s.breakpoints[n]));null!==r?null!==s.activeBreakpoint?(r!==s.activeBreakpoint||i)&&(s.activeBreakpoint=r,"unslick"===s.breakpointSettings[r]?s.unslick(r):(s.options=e.extend({},s.originalSettings,s.breakpointSettings[r]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),o=r):(s.activeBreakpoint=r,"unslick"===s.breakpointSettings[r]?s.unslick(r):(s.options=e.extend({},s.originalSettings,s.breakpointSettings[r]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),o=r):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t),o=r),t||!1===o||s.$slider.trigger("breakpoint",[s,o])}},t.prototype.changeSlide=function(t,i){var n,r,a=this,s=e(t.currentTarget);switch(s.is("a")&&t.preventDefault(),s.is("li")||(s=s.closest("li")),n=a.slideCount%a.options.slidesToScroll!=0?0:(a.slideCount-a.currentSlide)%a.options.slidesToScroll,t.data.message){case"previous":r=0===n?a.options.slidesToScroll:a.options.slidesToShow-n,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide-r,!1,i);break;case"next":r=0===n?a.options.slidesToScroll:n,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide+r,!1,i);break;case"index":var o=0===t.data.index?0:t.data.index||s.index()*a.options.slidesToScroll;a.slideHandler(a.checkNavigable(o),!1,i),s.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,i;if(i=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.
9interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),e(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,t||i.$slider.trigger("destroy",[i])},t.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout((function(){i.disableTransition(e),t.call()}),i.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var n=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=n.is(":focus"),t.autoPlay())}),0)}))},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},t.prototype.getLeft=function(e){var t,i,n,r,a=this,s=0;return a.slideOffset=0,i=a.$slides.first().outerHeight(!0),!0===a.options.infinite?(a.slideCount>a.options.slidesToShow&&(a.slideOffset=a.slideWidth*a.options.slidesToShow*-1,r=-1,!0===a.options.vertical&&!0===a.options.centerMode&&(2===a.options.slidesToShow?r=-1.5:1===a.options.slidesToShow&&(r=-2)),s=i*a.options.slidesToShow*r),a.slideCount%a.options.slidesToScroll!=0&&e+a.options.slidesToScroll>a.slideCount&&a.slideCount>a.options.slidesToShow&&(e>a.slideCount?(a.slideOffset=(a.options.slidesToShow-(e-a.slideCount))*a.slideWidth*-1,s=(a.options.slidesToShow-(e-a.slideCount))*i*-1):(a.slideOffset=a.slideCount%a.options.slidesToScroll*a.slideWidth*-1,s=a.slideCount%a.options.slidesToScroll*i*-1))):e+a.options.slidesToShow>a.slideCount&&(a.slideOffset=(e+a.options.slidesToShow-a.slideCount)*a.slideWidth,s=(e+a.options.slidesToShow-a.slideCount)*i),a.slideCount<=a.options.slidesToShow&&(a.slideOffset=0,s=0),!0===a.options.centerMode&&a.slideCount<=a.options.slidesToShow?a.slideOffset=a.slideWidth*Math.floor(a.options.slidesToShow)/2-a.slideWidth*a.slideCount/2:!0===a.options.centerMode&&!0===a.options.infinite?a.slideOffset+=a.slideWidth*Math.floor(a.options.slidesToShow/2)-a.slideWidth:!0===a.options.centerMode&&(a.slideOffset=0,a.slideOffset+=a.slideWidth*Math.floor(a.options.slidesToShow/2)),t=!1===a.options.vertical?e*a.slideWidth*-1+a.slideOffset:e*i*-1+s,!0===a.options.variableWidth&&(n=a.slideCount<=a.options.slidesToShow||!1===a.options.infinite?a.$slideTrack.children(".slick-slide").eq(e):a.$slideTrack.children(".slick-slide").eq(e+a.options.slidesToShow),t=!0===a.options.rtl?n[0]?-1*(a.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===a.options.centerMode&&(n=a.slideCount<=a.options.slidesToShow||!1===a.options.infinite?a.$slideTrack.children(".slick-slide").eq(e):a.$slideTrack.children(".slick-slide").eq(e+a.options.slidesToShow+1),t=!0===a.options.rtl?n[0]?-1*(a.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,t+=(a.$list.width()-n.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,i=0,n=0,r=[];for(!1===t.options.infinite?e=t.slideCount:(i=-1*t.options.slidesToScroll,n=-1*t.options.slidesToScroll,e=2*t.slideCount);i<e;)r.push(i),i=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each((function(r,a){
9if(a.offsetLeft-i+e(a).outerWidth()/2>-1*n.swipeLeft)return t=a,!1})),Math.abs(e(t).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},t.prototype.init=function(t){var i=this;e(i.$slider).hasClass("slick-initialized")||(e(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),t&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},t.prototype.initADA=function(){var t=this,i=Math.ceil(t.slideCount/t.options.slidesToShow),n=t.getNavigableIndexes().filter((function(e){return e>=0&&e<t.slideCount}));t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(i){var r=n.indexOf(i);e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1}),-1!==r&&e(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+r})})),t.$dots.attr("role","tablist").find("li").each((function(r){var a=n[r];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+r,"aria-controls":"slick-slide"+t.instanceUid+a,"aria-label":r+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var r=t.currentSlide,a=r+t.options.slidesToShow;r<a;r++)t.$slides.eq(r).attr("tabindex",0);t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
9,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each((function(){var t=e(this),i=e(this).attr("data-lazy"),n=e(this).attr("data-srcset"),r=e(this).attr("data-sizes")||a.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){t.animate({opacity:0}
vendor: 7,114 bytes, line 9
9,100,(function(){n&&(t.attr("srcset",n),r&&t.attr("sizes",r)),t.attr("src",i).animate({opacity:1},200,(function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),a.$slider.trigger("lazyLoaded",[a,t,i])}))},s.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,t,i])},s.src=i}))}var i,n,r,a=this;if(!0===a.options.centerMode?!0===a.options.infinite?r=(n=a.currentSlide+(a.options.slidesToShow/2+1))+a.options.slidesToShow+2:(n=Math.max(0,a.currentSlide-(a.options.slidesToShow/2+1)),r=a.options.slidesToShow/2+1+2+a.currentSlide):(n=a.options.infinite?a.options.slidesToShow+a.currentSlide:a.currentSlide,r=Math.ceil(n+a.options.slidesToShow),!0===a.options.fade&&(n>0&&n--,r<=a.slideCount&&r++)),i=a.$slider.find(".slick-slide").slice(n,r),"anticipated"===a.options.lazyLoad)for(var s=n-1,o=r,l=a.$slider.find(".slick-slide"),c=0;c<a.options.slidesToScroll;c++)s<0&&(s=a.slideCount-1),i=(i=i.add(l.eq(s))).add(l.eq(o)),s--,o++;t(i),a.slideCount<=a.options.slidesToShow?t(a.$slider.find(".slick-slide")):a.currentSlide>=a.slideCount-a.options.slidesToShow?t(a.$slider.find(".slick-cloned").slice(0,a.options.slidesToShow)):0===a.currentSlide&&t(a.$slider.find(".slick-cloned").slice(-1*a.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&e(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var i,n,r,a,s,o=this,l=e("img[data-lazy]",o.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),r=i.attr("data-srcset"),a=i.attr("data-sizes")||o.$slider.attr("data-sizes"),(s=document.createElement("img")).onload=function(){r&&(i.attr("srcset",r),a&&i.attr("sizes",a)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===o.options.adaptiveHeight&&o.setPosition(),o.$slider.trigger("lazyLoaded",[o,i,n]),o.progressiveLazyLoad()},s.onerror=function(){t<3?setTimeout((function(){o.progressiveLazyLoad(t+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,i,n]),o.progressiveLazyLoad())},s.src=n):o.$slider.trigger("allImagesLoaded",[o])},t.prototype.refresh=function(t){var i,n,r=this;n=r.slideCount-r.options.slidesToShow,!r.options.infinite&&r.currentSlide>n&&(r.currentSlide=n),r.slideCount<=r.options.slidesToShow&&(r.currentSlide=0),i=r.currentSlide,r.destroy(!0),e.extend(r,r.initials,{currentSlide:i}),r.init(),t||r.changeSlide({data:{message:"index",index:i}},!1)},t.prototype.registerBreakpoints=function(){var t,i,n,r=this,a=r.options.responsive||null;if("array"===e.type(a)&&a.length){for(t in r.respondTo=r.options.respondTo||"window",a)if(n=r.breakpoints.length-1,a.hasOwnProperty(t)){for(i=a[t].breakpoint;n>=0;)r.breakpoints[n]&&r.breakpoints[n]===i&&r.breakpoints.splice(n,1),n--;r.breakpoints.push(i),r.breakpointSettings[i]=a[t].settings}r.breakpoints.sort((function(e,t){return r.options.mobileFirst?e-t:t-e}))}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,i){var n=this;if(e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,n.slideCount<1||e<0||e>n.slideCount-1)return!1;n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(e).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},t.prototype.setCSS=function(e){var t,i,n=this,r={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",r[n.positionProp]=e,!1===n.transformsEnabled?n.$slideTrack.css(r):(r={},!1===n.cssTransitions?(r[n.animType]="translate("+t+", "+i+")",n.$slideTrack.css(r)):(r[n.animType]="translate3d("+t+", "+i+", 0px)",n.$slideTrack.css(r)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,i=this;i.$slides.each((function(n,r){t=i.slideWidth*n*-1,!0===i.options.rtl?e(r).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}
9):e(r).css({position:"relative",left:t,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,i,n,r,a,s=this,o=!1;if("object"===e.type(arguments[0])?(n=arguments[0],o=arguments[1],a="multiple"):"string"===e.type(arguments[0])&&(n=arguments[0],r=arguments[1],o=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?a="responsive":void 0!==arguments[1]&&(a="single")),"single"===a)s.options[n]=r;else if("multiple"===a)e.each(n,(function(e,t){s.options[e]=t}));else if("responsive"===a)for(i in r)if("array"!==e.type(s.options.responsive))s.options.responsive=[r[i]];else{for(t=s.options.responsive.length-1;t>=0;)s.options.responsive[t].breakpoint===r[i].breakpoint&&s.options.responsive.splice(t,1),t--;s.options.responsive.push(r[i])}o&&(s.unload(),s.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,i,n,r,a=this;if(i=a.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),a.$slides.eq(e).addClass("slick-current"),!0===a.options.centerMode){var s=a.options.slidesToShow%2==0?1:0;t=Math.floor(a.options.slidesToShow/2),!0===a.options.infinite&&(e>=t&&e<=a.slideCount-1-t?a.$slides.slice(e-t+s,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(n=a.options.slidesToShow+e,i.slice(n-t+1+s,n+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-a.options.slidesToShow).addClass("slick-center"):e===a.slideCount-1&&i.eq(a.options.slidesToShow).addClass("slick-center")),a.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=a.slideCount-a.options.slidesToShow?a.$slides.slice(e,e+a.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=a.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(r=a.slideCount%a.options.slidesToShow,n=!0===a.options.infinite?a.options.slidesToShow+e:e,a.options.slidesToShow==a.options.slidesToScroll&&a.slideCount-e<a.options.slidesToShow?i.slice(n-(a.options.slidesToShow-r),n+r).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+a.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==a.options.lazyLoad&&"anticipated"!==a.options.lazyLoad||a.lazyLoad()},t.prototype.setupInfinite=function(){var t,i,n,r=this;if(!0===r.options.fade&&(r.options.centerMode=!1),!0===r.options.infinite&&!1===r.options.fade&&(i=null,r.slideCount>r.options.slidesToShow)){for(n=!0===r.options.centerMode?r.options.slidesToShow+1:r.options.slidesToShow,t=r.slideCount;t>r.slideCount-n;t-=1)i=t-1,e(r.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-r.slideCount).prependTo(r.$slideTrack).addClass("slick-cloned");for(t=0;t<n+r.slideCount;t+=1)i=t,e(r.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+r.slideCount).appendTo(r.$slideTrack).addClass("slick-cloned");r.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},t.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},t.prototype.selectHandler=function(t){var i=this,n=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),r=parseInt(n.attr("data-slick-index"));r||(r=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(r,!1,!0):i.slideHandler(r)},t.prototype.slideHandler=function(e,t,i){var n,r,a,s,o,l=null,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),n=e,l=c.getLeft(n),s=c.getLeft(c.
9currentSlide),c.currentLeft=null===c.swipeLeft?s:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(s,(function(){c.postSlide(n)})):c.postSlide(n));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(s,(function(){c.postSlide(n)})):c.postSlide(n));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),r=n<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+n:n>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:n-c.slideCount:n,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,r]),a=c.currentSlide,c.currentSlide=r,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(o=(o=c.getNavTarget()).slick("getSlick")).slideCount<=o.options.slidesToShow&&o.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(a),c.fadeSlide(r,(function(){c.postSlide(r)}))):c.postSlide(r),void c.animateHeight();!0!==i?c.animateSlide(l,(function(){c.postSlide(r)})):c.postSlide(r)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,i,n,r=this;return e=r.touchObject.startX-r.touchObject.curX,t=r.touchObject.startY-r.touchObject.curY,i=Math.atan2(t,e),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?!1===r.options.rtl?"left":"right":n>=135&&n<=225?!1===r.options.rtl?"right":"left":!0===r.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,i,n,r,a,s,o=this;return a=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!o.dragging||o.scrolling||a&&1!==a.length)&&(t=o.getLeft(o.currentSlide),o.touchObject.curX=void 0!==a?a[0].pageX:e.clientX,o.touchObject.curY=void 0!==a?a[0].pageY:e.clientY,o.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(o.touchObject.curX-o.touchObject.startX,2))),s=Math.round(Math.sqrt(Math.pow(o.touchObject.curY-o.touchObject.startY,2))),!o.options.verticalSwiping&&!o.swiping&&s>4?(o.scrolling=!0,!1):(!0===o.options.verticalSwiping&&(o.touchObject.swipeLength=s),i=o.swipeDirection(),void 0!==e.originalEvent&&o.touchObject.swipeLength>4&&(o.swiping=!0,e.preventDefault()),r=(!1===o.options.rtl?1:-1)*(o.touchObject.curX>o.touchObject.startX?1:-1),!0===o.options.verticalSwiping&&(r=o.touchObject.curY>o.touchObject.startY?1:-1),n=o.touchObject.swipeLength,o.touchObject.edgeHit=!1,!1===o.options.infinite&&(0===o.currentSlide&&"right"===i||o.currentSlide>=o.getDotCount()&&"left"===i)&&(n=o.touchObject.swipeLength*o.options.edgeFriction,o.touchObject.edgeHit=!0),!1===o.options.vertical?o.swipeLeft=t+n*r:o.swipeLeft=t+n*(o.$list.height()/o.listWidth)*r,!0===o.options.verticalSwiping&&(o.swipeLeft=t+n*r),!0!==o.options.fade&&!1!==o.options.touchMove&&(!0===o.animating?(o.swipeLeft=null,!1):void o.setCSS(o.swipeLeft))))},t.prototype.swipeStart=function(e){var t,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
9,t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,i,n=this,r=arguments[0],a=Array.prototype.slice.call(arguments,1),s=n.length;for(e=0;e<s;e++)if("object"==typeof r||void 0===r?n[e].slick=new t(n[e],r):i=n[e].slick[r].apply(n[e].slick,a),void 0!==i)return i;return n}}));var centerImage=function(e,t,i){var n=[];$(e).each((function(e){var r=new Image;r.src=$(this).attr("src"),n[e]=$(this),elementHeight=0,r.complete?(elementHeight=n[e].is(":visible")?n[e].height():r.height,elementHeight>t?n[e].css("max-height",t):n[e].css({"background-color":i,"padding-top":(t-elementHeight)/2,"padding-bottom":(t-elementHeight)/2})):r.onload=function(){elementHeight=n[e].is(":visible")?n[e].height():r.height,elementHeight>t?n[e].css("max-height",t):n[e].css({"background-color":i,"padding-top":(t-elementHeight)/2,"padding-bottom":(t-elementHeight)/2})}}))};function parseURLParams(e){var t={},i=e.indexOf("?")+1,n=e.indexOf("#")+1||e.length+1,r=e.slice(i,n-1);if(r===e||""===r)return t;for(var a=r.replace(/\+/g," ").split("&"),s=0;s<a.length;s++){var o=a[s].split("="),l=decodeURIComponent(o[0]),c=decodeURIComponent(o[1]);l in t||(t[l]=[]),t[l].push(2===o.length?c:null)}return t}jQuery.cookie=function(e,t,i){if(arguments.length>1&&"[object Object]"!==String(t)){if(i=jQuery.extend({},i),null==t&&(i.expires=-1),"number"==typeof i.expires){var n=i.expires,r=i.expires=new Date;r.setDate(r.getDate()+n)}return t=String(t),document.cookie=[encodeURIComponent(e),"=",i.raw?t:encodeURIComponent(t),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}var a,s=(i=t||{}).raw?function(e){return e}:decodeURIComponent;return(a=new RegExp("(?:^|; )"+encodeURIComponent(e)+"=([^;]*)").exec(document.cookie))?s(a[1]):null},jQuery.cookie=function(e,t,i){if(arguments.length>1&&"[object Object]"!==String(t)){if(i=jQuery.extend({},i),null==t&&(i.expires=-1),"number"==typeof i.expires){var n=i.expires,r=i.expires=new Date;r.setDate(r.getDate()+n)}return t=String(t),document.cookie=[encodeURIComponent(e),"=",i.raw?t:encodeURIComponent(t),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}var a,s=(i=t||{}).raw?function(e){return e}:decodeURIComponent;return(a=new RegExp("(?:^|; )"+encodeURIComponent(e)+"=([^;]*)").exec(document.cookie))?s(a[1]):null},function(e){"use strict";function t(e,t){var i=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(i>>16)<<16|65535&i}function i(e,i,n,r,a,s){return t(function(e,t){return e<<t|e>>>32-t}(t(t(i,e),t(r,s)),a),n)}function n(e,t,n,r,a,s,o){return i(t&n|~t&r,e,t,a,s,o)}function r(e,t,n,r,a,s,o){return i(t&r|n&~r,e,t,a,s,o)}function a(e,t,n,r,a,s,o){return i(t^n^r,e,t,a,s,o)}function s(e,t,n,r,a,s,o){return i(n^(t|~r),e,t,a,s,o)}function o(e,i){e[i>>5]|=128<<i%32,e[14+(i+64>>>9<<4)]=i;var o,l,c,d,p,u=1732584193,h=-271733879,f=-1732584194,m=271733878;for(o=0;o<e.length;o+=16)l=u,c=h,d=f,p=m,h=s(h=s(h=s(h=s(h=a(h=a(h=a(h=a(h=r(h=r(h=r(h=r(h=n(h=n(h=n(h=n(h,f=n(f,m=n(m,u=n(u,h,f,m,e[o],7,-680876936),h,f,e[o+1],12,-389564586),u,h,e[o+2],17,606105819),m,u,e[o+3],22,-1044525330),f=n(f,m=n(m,u=n(u,h,f,m,e[o+4],7,-176418897),h,f,e[o+5],12,1200080426),u,h,e[o+6],17,-1473231341),m,u,e[o+7],22,-45705983),f=n(f,m=n(m,u=n(u,h,f,m,e[o+8],7,1770035416),h,f,e[o+9],12,-1958414417),u,h,e[o+10],17,-42063),m,u,e[o+11],22,-1990404162),f=n(f,m=n(m,u=n(u,h,f,m,e[o+12],7,1804603682),h,f,e[o+13],12,-40341101),u,h,e[o+14],17,-1502002290),m,u,e[o+15],22,1236535329),f=r(f,m=r(m,u=r(u,h,f,m,e[o+1],5,-165796510),h,f,e[o+6],9,-1069501632),u,h,e[o+11],14,643717713),m,u,e[o],20,-373897302),f=r(f,m=r(m,u=r(u,h,f,m,e[o+5],5,-701558691),h,f,e[o+10],9,38016083),u,h,e[o+15],14,-660478335),m,u,e[o+4],20,-405537848),f=r(f,m=r(m,u=r(u,h,f,m,e[o+9],5,568446438),h,f,e[o+14],9,-1019803690),u,h,e[o+3],14,-187363961),m,u,e[o+8],20,1163531501),f=r(f,m=r(m,u=r(u,h,f,m,e[o+13],5,-1444681467),h,f,e[o+2],9,-51403784),u,h,e[o+7],14,1735328473),m,u,e[o+12],20,-1926607734),f=a(f,m=a(m,u=a(u,h,f,m,e[o+5],4,-378558),h,f,e[o+8],11,-2022574463),u,h,e[o+11],16,1839030562),m,u,e[o+14],23,-35309556),f=a(f,m=a(m,u=a(u,h,f,m,e[o+1],4,-1530992060),h,f,e[o+4],11,1272893353),u,h,e[o+7],16,-155497632),m,u,e[o+10],23,-1094730640),f=a(f,m=a(m,u=a(u,h,f,m,e[o+13],4,681279174),h,f,e[o],11,-358537222),u,h,e[o+3],16,-722521979),m,u,e[o+6],23,76029189),f=a(f,m=a(m,u=a(u,h,f,m,e[o+9],4,-640364487),h,f,e[o+12],11,-421815835),u,h,e[o+15],16,530742520),m,u,e[o+2],23,-995338651),f=s(f,m=s(m,u=s(u,h,f,m,e[o],6,-198630844),h,f,e[o+7],10,1126891415),u,h,e[o+14],15,-1416354905),m,u,e[o+5],21,-57434055),f=s(f,m=s(m,u=s(u,h,f,m,e[o+12],6,1700485571),h,f,e[o+3],10,-1894986606),u,h,e[o+10],15,-1051523),m,u,e[o+1],21,-2054922799),f=s(f,m=s(m,u=s(u,h,f,m,e[o+8],6,1873313359),h,f,e[o+15],10,-30611744),u,h,e[o+6],15,-1560198380),m,u,e[o+13],21,1309151649),f=s(f,m=s(m,u=s(u,h,f,m,e[o+4],6,-145523070),h,f,e[o+11],10,-1120210379),u,h,e[o+2],15,718787259),m,u,e[o+9],21,-343485551),u=t(u,l),h=t(h,c),f=t(f,d),m=t(m,p);return[u,h,f,m]}function l(e){var t,i="",n=32*e.length;for(t=0;t<n;t+=8)i+=String.fromCharCode(e[t>>5]>>>t%32&255);return i}function c(e){var t,i=[];for(i[(e.length>>2)-1]=void 0,t=0;t<i.length;t+=1)i[t]=0;var n=8*e.length;for(t=0;t<n;t+=8)i[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return i}function d(e){var t,i,n="";for(i=0;i<e.length;i+=1)t=e.charCodeAt(i),n+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return n}function p(e){return unescape(encodeURIComponent(e))}function u(e){return function(e){return l(o(c(e),8*e.length))}(p(e))}function h(e,t){return function(e,t){var i,n,r=c(e),a=[],s=[];for(a[15]=s[15]=void 0,r.length>16&&(r=o(r,8*e.length)),i=0;i<16;i+=1)a[i]=909522486^r[i],s[i]=1549556828^r[i];return n=o(a.concat(c(t)),512+8*t.length),l(o(s.concat(n),640))}(p(e),p(t))}function f(e,t,i){return t?i?h(t,e):function(e,t){return d(h(e,t))}(t,e):i?u(e):function(e){return d(u(e))}(e)}"function"==typeof define&&define.amd?define((function(){return f})):"object"==typeof module&&module.exports?module.exports=f:e.md5=f}(window),window.format_price=function(e,t){var i=e,n=(t=t||{}).mask||"###&nbsp;##0,00";currency_grouping_separator&&(n=n.replace(",",currency_grouping_separator)),currency_decimal_separator&&(n=n.replace(".",currency_decimal_separator));var r=t.currency||"",a=t.currency_space?" ":"",s=!!t.currency_before_price;if(!n||isNaN(+i))return i;var o=(i="-"==n.charAt(0)?-i:+i)<0?i=-i:0,l=n.match(/[^\d\-\+#]/g),c=l&&l[l.length-1]||".",d=l&&l[1]&&l[0]||",";n=n.split(c);i=+(i=i.toFixed(n[1]&&n[1].length))+"";var p=n[1]&&n[1].lastIndexOf("0"),u=i.split(".");(!u[1]||u[1]&&u[1].length<=p)&&(i=(+i).toFixed(p+1));var h=n[0].split(d);n[0]=h.join("");var f=n[0]&&n[0].indexOf("0");if(f>-1)for(;u[0].length<n[0].length-f;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");(i=i.split("."))[0]=u[0];var m=h[1]&&h[h.length-1].length;if(m){for(var _=i[0],g="",v=_.length%m,y=0,b=_.length;y<b;y++)g+=_.charAt(y),!((y-v+1)%m)&&y<b-m&&(g+=d);i[0]=g}i[1]=n[1]&&i[1]?c+i[1]:"";e=(o?"-":"")+i[0]+i[1];return e=s?r+a+e:e+a+r},function(e){"use strict";var t='[data-toggle="dropdown"]',i=function(t){e(t).on("click.bs.dropdown",this.toggle)};function n(t){var i=t.attr("data-target");i||(i=(i=t.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&e(i);return n&&n.length?n:t.parent()}function r(i){i&&3===i.which||(e(".dropdown-backdrop").remove(),e(t).each((function(){var t=e(this),r=n(t),a={relatedTarget:this};r.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&e.contains(r[0],i.target)||(r.trigger(i=e.Event("hide.bs.dropdown",a)),i.isDefaultPrevented()||(t.attr("aria-expanded","fal
9se"),r.removeClass("open").trigger(e.Event("hidden.bs.dropdown",a)))))})))}i.VERSION="3.3.6",i.prototype.toggle=function(t){var i=e(this);if(!i.is(".disabled, :disabled")){var a=n(i),s=a.hasClass("open");if(r(),!s){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",r);var o={relatedTarget:this};if(a.trigger(t=e.Event("show.bs.dropdown",o)),t.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger(e.Event("shown.bs.dropdown",o))}return!1}},i.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var r=e(this);if(i.preventDefault(),i.stopPropagation(),!r.is(".disabled, :disabled")){var a=n(r),s=a.hasClass("open");if(!s&&27!=i.which||s&&27==i.which)return 27==i.which&&a.find(t).trigger("focus"),r.trigger("click");var o=a.find(".dropdown-menu li:not(.disabled):visible a");if(o.length){var l=o.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l<o.length-1&&l++,~l||(l=0),o.eq(l).trigger("focus")}}}};var a=e.fn.dropdown;e.fn.dropdown=function(t){return this.each((function(){var n=e(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new i(this)),"string"==typeof t&&r[t].call(n)}))},e.fn.dropdown.Constructor=i,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=a,this},e(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",(function(e){e.stopPropagation()})).on("click.bs.dropdown.data-api",t,i.prototype.toggle).on("keydown.bs.dropdown.data-api",t,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,(function(){"use strict";function e(e){var t=this.constructor;return this.then((function(i){return t.resolve(e()).then((function(){return i}))}),(function(i){return t.resolve(e()).then((function(){return t.reject(i)}))}))}function t(){}function i(e){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],o(e,this)}function n(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,i._immediateFn((function(){var i=1===e._state?t.onFulfilled:t.onRejected;if(null!==i){var n;try{n=i(e._value)}catch(e){return void a(t.promise,e)}r(t.promise,n)}else(1===e._state?r:a)(t.promise,e._value)}))):e._deferreds.push(t)}function r(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof i)return e._state=3,e._value=t,void s(e);if("function"==typeof n)return void o(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,s(e)}catch(t){a(e,t)}}function a(e,t){e._state=2,e._value=t,s(e)}function s(e){2===e._state&&0===e._deferreds.length&&i._immediateFn((function(){e._handled||i._unhandledRejectionFn(e._value)}));for(var t=0,r=e._deferreds.length;r>t;t++)n(e,e._deferreds[t]);e._deferreds=null}function o(e,t){var i=!1;try{e((function(e){i||(i=!0,r(t,e))}),(function(e){i||(i=!0,a(t,e))}))}catch(e){if(i)return;i=!0,a(t,e)}}var l=setTimeout;i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,i){var r=new this.constructor(t);return n(this,new function(e,t,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=i}(e,i,r)),r},i.prototype.finally=e,i.all=function(e){return new i((function(t,i){function n(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var o=s.then;if("function"==typeof o)return void o.call(s,(function(t){n(e,t)}),i)}r[e]=s,0==--a&&t(r)}catch(e){i(e)}}if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var a=r.length,s=0;r.length>s;s++)n(s,r[s])}))},i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i((function(t){t(e)}))},i.reject=function(e){return new i((function(t,i){i(e)}))},i.race=function(e){return new i((function(t,i){for(var n=0,r=e.length;r>n;n++)e[n].then(t,i)}))},i._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){l(e,0)},i._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var c=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in c?c.Promise.prototype.finally||(c.Promise.prototype.finally=e):c.Promise=i}));var projectorv3_disable_ajax=projectorv3_disable_ajax||1,projectorClass=function(){classObj=this,this.currency="",this.curr_class="",this.firstRun=!0,this.onDisableAlert=!0,this.timeoutAjax=18e3,this.errorMsg=[],this.currentSizeObj={},this.configObj={},this.action="",this.innerHTML="",this.nettoPrice="net"===app_shop.vars.priceType,this.options=[],this.options.hide_unit=!1,this.options.friendly_shipping_format=[],this.options.endStartFunction=function(){},this.options.endInitFunction=function(){},this.options.beginStartFunction=function(){},this.options.endShippingFunction=function(){},this.options.formatPrice=function(e){},this.externalFormatFn=!1,this.options.endGetAjaxProductDataFunction=function(){},this.options.clearXMLGetAjaxProductDataFunction=function(e){},this.options.beginGetAjaxProductDataFunction=function(){},this.options.endSetCurrentSizeFunction=function(){},this.options.ajaxAddFunction=function(e){classObj.alert(classObj.txt.dodano_produkt)},this.options.contenersPrefix="projector_",this.options.curr_before_price=!1,this.options.choiceSize=!1,this.options.contact_link="/contact.php",this.options.hoursBeforeOrderBy=3,this.isStarted=!1,this.prefix=this.options.contenersPrefix,this.actions={},this.txt=[],this.txt.oszczedzasz="Oszczędzasz ",this.txt.taniej="%, czyli ",this.txt.wzestawie=" kupując w zestawie",this.txt.niedostepny="Produkt niedostępny",this.txt.tylkotel="Cena na telefon. Skontaktuj się ze sprzedawcą",this.txt.tylko_punkty="Towar dostępny tylko w programie lojalnościowym.",this.txt.gratis="Dostawa gratis!",this.txt.gratis_produkt="Gratis!",this.txt.niemastanu="Produkt niedostępny",this.txt.status_24="24 godz.",this.txt.status_48="48 godz.",this.txt.status_natychmiast="w ciągu 24h",this.txt.day=" dzień ",this.txt.days=" dni ",this.txt.hour=" godz. ",this.txt.hours=" godz. ",this.txt.min=" min ",this.txt.mins=" min ",this.txt.za=" za ",this.txt.proc="%",this.txt.wybrany_rozmiar="Rozmiar",this.txt.wysylka="Wysyłka ",this.txt.wysylka_za="Wysyłka w ciągu ",this.txt.dostepny="Dostawa ",this.txt.dostepny_za="Dostawa za ",this.txt.pkt="pkt.",this.txt.status_full="większa ilość",this.txt.status_amount_null="brak w magazynie",this.txt.forpointsonly="Produkt możesz kupić za punkty",this.txt.disable_desc="Skontaktuj się z nami",this.txt.choiceSize="Wybierz rozmiar",this.txt.maksymalnie="Maksymalnie możesz zamówić",this.txt.minimalnie="Minimalnie możesz zamówić",this.txt.brak_magazyn="Brak na magazynie",this.txt.dodano_produkt="Produkt został dodany.",this.txt.dodano_produkt_blad="Wystąpił błąd podczas dodawania produktu.",this.txt.ilosc_mm="",this.txt.ilosc_mo="",this.txt.ilosc_mo_inf="",this.txt.infinity="",this.txt.koszt_od="Koszt od ",this.txt.wysylka_total_begin="<br/>(z tow. z koszyka ",this.txt.wysylka_total_end=")",this.txt.nawias_end="",this.txt.amount="",this.txt.order_by="Zamów do ",this.txt.it_will_ship_today=" to wyślemy dzisiaj";var e=!0;this.isset=function(e){return void 0!==window[e]},this.getAttr=function(e,t){return e.is("["+t+"]")?e.attr(t):""},this.getData=function(e){try{return e}catch(e){}},this.getIndex=function(e,t){var i=0;for(var n in e){if(t===i)return n;i++}return null},this.formatPrice=function(e,t,i,n,r){return currency=i||this.currentSizeObj.currency,r=!!r,t&&(this.configObj.rebateNumber&&r&&(e=this.configObj.rebateNumber.price),e*=this.configObj.valueOfNumberInput),n?e:this.externalFormatFn?this.options.formatPrice({price:e,currency:currency}):this.options.curr_before_price?'<span class="projector_price"><span class="projector_currency">'+currency+"</span>"+(1*e).toFixed(2)+"</span>":'<span class="projector_price">'+(1*e).toFixed(2)+'<span class="projector_currency">'+currency+"</span></span>"},this.status_description=function(){if($("#"+this.prefix+"status_gfx").hide(),$("#"+this.prefix+"status").addClass("--status-hide"),this.currentSizeObj.amount_mm&&this.currentSizeObj.amount_mo&&""!=this.txt.ilosc_mm){var e=this.currentSizeObj.amount_mm,t=this.currentSizeObj.amount_mo,i=e+" "+(e>1?this.currentSizeObj.unit_plural:this.currentSizeObj.unit),n=t+" "+(t>1?this.currentSizeObj.unit_plural:this.currentSizeObj.unit),r=this.txt.ilosc_mm.format(i),a=this.txt.ilosc_mo.format(n);if(e>0&&-1==t)return $("#"+this.prefix+"status_description").html('<div id="#'+this.prefix+'amount_mm">'+r+'</div><div id="#'+this.prefix+'amount_mo">'+this.txt.ilosc_mo_inf+"</div>"),!1;if(e>0&&t>0)return $("#"+this.prefix+"status_description").html('<div id="#'+this.prefix+'amount_mm">'+r+'</div><div id="#'+this.prefix+'amount_mo">'+a+"</div>"),!1}this.currentSizeObj.availability.delivery_date&&"disable"==this.currentSizeObj.availability.status?$("#"+this.prefix+"status_description").html(this.currentSizeObj.availability.status_description+" <span>"+this.currentSizeObj.availability.delivery_date+"</span>"):this.currentSizeObj.availability.status_description?($("#"+this.prefix+"status_description").html(this.currentSizeObj.availability.status_description),$("#"+this.prefix+"status").removeClass("--status-hide --phone-disable")):"disable"==this.currentSizeObj.availability.status?($("#"+this.prefix+"status").addClass("--status-hide --phone-disable"),$("#"+this.prefix+"status_description_wrapper").hide()):($("#"+this.prefix+"status").removeClass("--status-hide --phone-disable"),$("#"+this.prefix+"status_description_wrapper").hide()),this.currentSizeObj.availability.status_gfx&&($("#"+this.prefix+"status_gfx").show().attr("src",this.currentSizeObj.availability.status_gfx),$("#"+this.prefix+"status").removeClass("--status-hide"))},this.sellBy=function(e,t,i){if("disable"==this.currentSizeObj.availability.status)return!this.onDisableAlert||"product_bundle"==this.currentSizeObj.product_type&&1==this.firstRun||this.alert(this.txt.niedostepny),e;if(e=parseFloat(e),t=parseFloat(t),i=parseFloat(i),!$.isNumeric(i)||i<=e){if(jQuery.isEmptyObject(product_data.order_quantity_range))return e.toFixed(t);e=e.toFixed(t)}number=Math.floor(i/e)*e,number=(i/e*e-number).toFixed(t+1)>0?(1*number+e).toFixed(t):number.toFixed(t),number=parseFloat(number);var n=this.currentSizeObj.amount,r=e;if(!jQuery.isEmptyObject(product_data.order_quantity_range)){var a=product_data.order_quantity_range;if(a.max_quantity_per_order){var s=parseFloat(a.max_quantity_per_order);n=n>s||-1==n?s:n}if(a.max_size_quantity_per_order){var o=parseFloat(a.max_size_quantity_per_order);n=n>o||-1==n?o:n}if(a.min_quantity_per_order){var l=parseFloat(a.min_quantity_per_order);r=l>r?l:r}if(a.min_size_quantity_per_order){var c=parseFloat(a.min_size_quantity_per_order);r=c>r?c:r}if(a.minimum_quantity_subscription){var d=parseFloat(a.minimum_quantity_subscription);r=d>r?d:r}}if(r&&number<r){if(this.isStarted){const i=(Math.ceil(parseFloat(r)/e)*e).toFixed(t)>1?this.currentSizeObj.unit_plural:this.currentSizeObj.unit;this.alert(this.txt.minimalnie+" "+(Math.ceil(parseFloat(r)/e)*e).toFixed(t)+" "+i)}return this.isStarted=!0,(Math.ceil(parseFloat(r)/e)*e).toFixed(t)}if(number>n&&-1!=n){const i=(Math.floor(parseFloat(n)/e)*e).toFixed(t)>1?this.currentSizeObj.unit_plural:this.currentSizeObj.unit;return this.alert(this.txt.maksymalnie+" "+(Math.floor(parseFloat(n)/e)*e).toFixed(t)+" "+i),this.isStarted=!0,(Math.floor(parseFloat(n)/e)*e).toFixed(t)}return this.isStarted=!0,number},this.projectorInit=function(e){if(!this.isset("product_data"))return this.errorMsg.push("no data"),!1;this.curr_class=$("#"+this.prefix+"form").attr("class"),e.contenersPrefix&&(this.options.contenersPrefix=e.contenersPrefix,this.prefix=e.contenersPrefix),"undefined"!==e.onDisableAlert&&(this.onDisableAlert=e.onDisableAlert),e.beginStartFunction&&(this.options.beginStartFunction=e.beginStartFunction),e.formatPrice&&(this.options.formatPrice=e.formatPrice,this.externalFormatFn=!0),e.endInitFunction&&(this.options.endInitFunction=e.endInitFunction),e.endStartFunction&&(this.options.endStartFunction=e.endStartFunction),e.endShippingFunction&&(this.options.endShippingFunction=e.endShippingFunction),e.endSetCurrentSizeFunction&&(this.options.endSetCurrentSizeFunction=e.endSetCurrentSizeFunction),e.ajaxAddFunction&&(this.options.ajaxAddFunction=e.ajaxAddFunction),e.clearXMLGetAjaxProductDataFunction&&(this.options.clearXMLGetAjaxProductDataFunction=e.clearXMLGetAjaxProductDataFunction),e.endGetAjaxProductDataFunction&&(this.options.endGetAjaxProductDataFunction=e.endGetAjaxProductDataFunction),e.beginGetAjaxProductDataFunction&&(this.options.beginGetAjaxProductDataFunction=e.beginGetAjaxProductDataFunction),e.hide_unit&&(this.options.hide_unit=e.hide_unit),e.curr_before_price&&(this.options.curr_before_price=e.curr_before_price),e.contact_link&&(this.options.contact_link=e.contact_link),e.hoursBeforeOrderBy&&(this.options.hoursBeforeOrderBy=e.hoursBeforeOrderBy),e.getShippingTimeFunction&&e.productParam
9sFunction&&(this.options.getShippingTimeFunction=e.getShippingTimeFunction,this.options.productParamsFunction=e.productParamsFunction),e.friendly_shipping_format&&(this.options.friendly_shipping_format=e.friendly_shipping_format),product_data.currency&&(this.currency=product_data.currency),this.txt.amount=$("#"+this.prefix+"amount").html(),product_data.sizes&&product_data.sizes.onesize&&(this.setCurrentSizeObj(this.getIndex(product_data.sizes,0)),this.start()),this.options.endInitFunction()},this.variety=function(e,t,i){return 1==e?t:i},this.formatDate=e=>e.slice(0,10).split("-").reverse().slice(0,-1).join("."),this.shippingTimeBuffer=[],this.timeoutHandle="",this.updateShippingTime=async()=>{const e=await this.options.getShippingTimeFunction(this.options.productParamsFunction());if(e&&e.data&&e.data.shipping&&e.data.shipping.shippingTime){const t=e.data.shipping.shippingTime;this.currentSizeObj.shipping_time={},this.currentSizeObj.shipping_time.unknown_time=t.unknownTime,this.currentSizeObj.shipping_time.today=`${t.shippingTime.today}`,this.currentSizeObj.shipping_time.today_shipment_deadline=t.todayShipmentDeadline,this.currentSizeObj.shipping_time.days=t.shippingTime.time.days,this.currentSizeObj.shipping_time.hours=t.shippingTime.time.hours,this.currentSizeObj.shipping_time.minutes=t.shippingTime.time.minutes,this.currentSizeObj.shipping_time.week_day=t.shippingTime.weekDay,this.currentSizeObj.shipping_time.week_amount=t.shippingTime.weekAmount,this.currentSizeObj.shipping_time.time=t.time}return e},this.shippingTime=async function(e){result=[];const t=md5(this.options.productParamsFunction()),i=this.shippingTimeBuffer.filter((e=>e.key===t));let n={};if(i.length)return i[0];if(projectorv3_disable_ajax&&0==projectorv3_disable_ajax||(n=await this.updateShippingTime()),"disable"!==this.currentSizeObj.availability.status&&this.currentSizeObj.shipping_time){const e=this.currentSizeObj.shipping_time;let i=!1;if(e.today_shipment_deadline){const t=e.today_shipment_deadline.split(":"),n=new Date;n.setHours(t[0],t[1],t[2]);const r=new Date;r.setHours(r.getHours()+this.options.hoursBeforeOrderBy),i=n.getTime()-r.getTime()<0}if(e.today_shipment_deadline&&i){result[0]=this.txt.order_by,result[1]=e.today_shipment_deadline.slice(0,-3)+this.txt.it_will_ship_today;const i={key:t,value:result,response:n};return this.shippingTimeBuffer.push(i),i}if("true"==e.today){result[0]=this.txt.wysylka,result[1]=this.options.friendly_shipping_format[0];const e={key:t,value:result,response:n};return this.shippingTimeBuffer.push(e),e}if(0===+e.days||1===+e.days&&0===+e.hours&&0===+e.minutes){this.txt.tomorrow?(result[0]=this.txt.wysylka,result[1]=this.txt.tomorrow):(result[0]=this.txt.wysylka_za,result[1]=this.txt.status_24);const e={key:t,value:result,response:n};return this.shippingTimeBuffer.push(e),e}if(+e.days>29&&this.txt.shipmentIn){result[0]=this.txt.shipmentIn,result[1]=+e.days+this.txt.days;const i={key:t,value:result,response:n};return this.shippingTimeBuffer.push(i),i}result[0]=this.txt.wysylka,result[1]=this.options.friendly_shipping_format[+e.week_day],+e.week_amount>0&&(result[1]+=`(${this.formatDate(e.time)})`)}const r={key:t,value:result,response:n};return this.shippingTimeBuffer.push(r),r},this.start=function(){if(this.options.beginStartFunction(),window.projectorv3_disable_ajax=projectorv3_disable_ajax||1,!this.currentSizeObj.type)return!1;var t=this;const n=document.getElementById("projector_form")?.getAttribute("data-subscription");var r=async function(){(product_data.sizes.uniw||product_data.sizes.onesize)&&t.setCurrentSizeObj("uniw"),"true"===n?t.currentSizeObj.price=product_data.sizes[t.currentSizeObj.type].price_subscription:"false"===n&&(t.currentSizeObj.price=product_data.sizes[t.currentSizeObj.type].price_normal),$("#"+t.prefix+"form").attr("class",t.curr_class+" "+t.currentSizeObj.availability.status),t.configObj.displaySize="onesize"!=t.currentSizeObj.type,t.currentSizeObj.availability&&(t.configObj.disableNumberInput="disable"==t.currentSizeObj.availability.status),t.configObj.disableBuyButton=!1,"disable"!=t.currentSizeObj.availability.status&&"true"!=t.currentSizeObj.phone_price||(t.configObj.disableBuyButton=!0),t.configObj.displayBuySection=!!t.currentSizeObj.gratis;var r=t.currentSizeObj.unit_sellby+"";if($("#"+t.options.contenersPrefix+"number").size()&&(r=$("#"+t.options.contenersPrefix+"number").val()),t.configObj.valueOfNumberInput=t.sellBy(t.currentSizeObj.unit_sellby,t.currentSizeObj.unit_precision,r.replace(",",".")),t.currentSizeObj.rebateNumber)for(i in t.configObj.rabatIndex=-1,t.configObj.rabatIndex_last=-1,t.currentSizeObj.rebateNumber){var a=t.currentSizeObj.rebateNumber[i].threshold_end?t.currentSizeObj.rebateNumber[i].threshold_end:t.configObj.valueOfNumberInput;if(parseFloat(t.configObj.valueOfNumberInput)>=parseFloat(t.currentSizeObj.rebateNumber[i].threshold)&&parseFloat(t.configObj.valueOfNumberInput)<=parseFloat(a)){if(t.configObj.rabatIndex=i,t.configObj.rabatIndex_last=i,!t.currentSizeObj.rebateNumber[1*i+1]||parseFloat(t.configObj.valueOfNumberInput)<parseFloat(t.currentSizeObj.rebateNumber[1*i+1].threshold))break}else parseFloat(t.configObj.valueOfNumberInput)>=parseFloat(t.currentSizeObj.rebateNumber[i].threshold)&&(t.configObj.rabatIndex_last=i)}if(t.configObj.rabatIndex&&-1!=t.configObj.rabatIndex?(t.configObj.rebateNumber=t.currentSizeObj.rebateNumber[t.configObj.rabatIndex],t.configObj.rebateNumberNext=t.configObj.rebateNumber):t.configObj.rebateNumber=!1,t.currentSizeObj.rebateNumber&&t.currentSizeObj.rebateNumber[1*t.configObj.rabatIndex+1]&&(t.configObj.rebateNumberNext=t.currentSizeObj.rebateNumber[1*t.configObj.rabatIndex+1]),t.configObj.rabatIndex_last&&t.currentSizeObj.rebateNumber[1*t.configObj.rabatIndex_last+1]&&
9(t.configObj.rebateNumberNext=t.currentSizeObj.rebateNumber[1*t.configObj.rabatIndex_last+1]),"onesize"==t.currentSizeObj.type||"uniw"==t.currentSizeObj.type?$("#"+t.prefix+"sizes_cont").hide():$("#"+t.prefix+"sizes_cont").show(),t.status_description(),$("#"+t.prefix+"amount").size()){$("#"+t.prefix+"amount").show();var s=t.currentSizeObj.amount;0==s?$("#"+t.prefix+"amount").hide():-1==s&&(s=t.txt.infinity,""==t.txt.infinity&&$("#"+t.prefix+"amount").hide()),1==s?s=s+" "+t.currentSizeObj.unit:s>1&&(s=s+" "+t.currentSizeObj.unit_plural),$("#"+t.prefix+"amount").html(t.txt.amount.format(s))}if(t.currentSizeObj.product_type&&"product_virtual"==t.currentSizeObj.product_type&&$("#"+t.prefix+"amount").hide(),"y"==t.currentSizeObj.availability.visible&&t.currentSizeObj&&t.currentSizeObj.availability.status_description?($("#"+t.prefix+"status_description_wrapper").show(),t.currentSizeObj.availability.status_gfx&&$("#"+t.prefix+"status_gfx").show(),$("#"+t.prefix+"status").removeClass("--status-hide")):($("#"+t.prefix+"status_description_wrapper").hide(),$("#"+t.prefix+"status_gfx").hide(),$("#"+t.prefix+"status").addClass("--status-hide")),"true"==t.currentSizeObj.availability.delivery_days_undefined&&"true"==t.currentSizeObj.delivery.undefined?$("#"+t.prefix+"delivery_wrapper").hide():$("#"+t.prefix+"delivery_wrapper").show(),$("#"+t.prefix+"delivery_days").hide(),projectorv3_disable_ajax&&0==projectorv3_disable_ajax){if($("#"+t.prefix+"delivery_days").hide(),t.currentSizeObj&&"true"!=t.currentSizeObj.availability.delivery_days_undefined){$("#"+t.prefix+"status").addClass("--loading --time-show");const e=await t.shippingTime();e.value.length?($("#"+t.prefix+"delivery_label").show().html(e.value[0]),$("#"+t.prefix+"delivery_days").show().html(e.value[1])):$("#"+t.prefix+"status").removeClass("--time-show"),$("#"+t.prefix+"status_wrapper").css("min-height","0px").css("min-height",`${$("#"+t.prefix+"status_wrapper").height()}px`),$("#"+t.prefix+"status").removeClass("--loading"),t.options.endShippingFunction(e.response)}}else if("true"!=t.currentSizeObj.availability.delivery_days_undefined){var o=t;clearTimeout(o.timeHandle),$("#"+o.prefix+"delivery_days").parents(".product_section").addClass("loading"),o.timeHandle=setTimeout((async function(){$("#"+t.prefix+"status").addClass("--loading --time-show");const e=await t.shippingTime();e.value.length?($("#"+t.prefix+"delivery_label").show().html(e.value[0]),$("#"+t.prefix+"delivery_days").show().html(e.value[1])):$("#"+t.prefix+"status").removeClass("--time-show"),$("#"+t.prefix+"status_wrapper").css("min-height","0px").css("min-height",`${$("#"+t.prefix+"status_wrapper").height()}px`),$("#"+t.prefix+"status").removeClass("--loading"),t.options.endShippingFunction(e.response)}),50)}$("#"+t.prefix+"shipping_unknown").hide(),t.currentSizeObj.product_type&&("product_virtual"==t.currentSizeObj.product_type||"product_service"==t.currentSizeObj.product_type)||"disable"==t.currentSizeObj.availability.status?($("#"+t.prefix+"shipping_info").hide(),$("#"+t.prefix+"shipping_dialog").hide(),t.currentSizeObj.availability.status_description?$("#"+t.prefix+"status_description").show():$("#"+t.prefix+"status_description").hide()):($("#"+t.prefix+"shipping_info").show(),$("#"+t.prefix+"shipping_dialog").show(),$("#"+t.prefix+"status_description").hide()),t.currentSizeObj.delay_time&&"true"==t.currentSizeObj.delay_time.unknown_delivery_time&&"order"==t.currentSizeObj.availability.status?($("#"+t.prefix+"shipping_info").hide(),$("#"+t.prefix+"shipping_dialog").hide(),$("#"+t.prefix+"status_description").hide(),$("#"+t.prefix+"status_wrapper").hide(),$("#"+t.prefix+"status").addClass("--unknown-show"),$("#"+t.prefix+"shipping_unknown").show()):($("#"+t.prefix+"status").removeClass("--unknown-show"),$("#"+t.prefix+"status_wrapper").show()),0==t.currentSizeObj.delivery.shipping?$("#"+t.prefix+"shipping").html(t.txt.gratis):$("#"+t.prefix+"shipping").html(t.txt.koszt_od+t.formatPrice(t.currentSizeObj.delivery.shipping,e)),"true"==t.currentSizeObj.delivery.undefined?$("#"+t.prefix+"shipping").hide():$("#"+t.prefix+"shipping").show(),t.currentSizeObj.price.advanceprice?($("#"+t.prefix+"advanceprice_wrapper").show(),$("#"+t.prefix+"advanceprice").html(t.formatPrice(t.currentSizeObj.price.advanceprice,e))):$("#"+t.prefix+"advanceprice_wrapper").hide(),$("#"+t.prefix+"sellbyprice_wrapper").show(),$("#"+t.prefix+"sellbyprice").html(t.nettoPrice?t.currentSizeObj.price.price_net_formatted:t.currentSizeObj.price.price_formatted),$("#"+t.prefix+"prices_wrapper").hide(),t.currentSizeObj.price.srp&&t.currentSizeObj.price.srp>0&&t.currentSizeObj.price.srp!=t.currentSizeObj.price.value?($("#"+t.prefix+"price_srp_wrapper").show(),$("#"+t.prefix+"prices_wrapper").show(),$("#"+t.prefix+"price_srp").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.srp_net:t.currentSizeObj.price.srp,e))):$("#"+t.prefix+"price_srp_wrapper").hide(),t.currentSizeObj.price.price_net&&t.currentSizeObj.price.price_net>0?($("#"+t.prefix+"price_net_wrapper").show(),$("#"+t.prefix+"price_net").show(),$("#"+t.prefix+"price_net").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.value:t.currentSizeObj.price.price_net,e))):($("#"+t.prefix+"price_net_wrapper").hide(),$("#"+t.prefix+"price_net").hide());let l="";if("true"==t.currentSizeObj.phone_price)t.currentSizeObj.price.points>0?($("#"+t.prefix+"price_value").hide(),$("#"+t.prefix+"prices_wrapper").show().addClass("--only-points")):($("#"+t.prefix+"price_value").show(),$("#"+t.prefix+"prices_wrapper").show().removeClass("--only-points"),t.currentSizeObj.availability.status_gfx_tel&&""!=t.currentSizeObj.availability.status_gfx_tel?$("#"+t.prefix+"price_value").html('<a class="projector_prices__contact" target="_blank" href="'+t.options.contact_link+'"><img src="'+t.currentSizeObj.availability.status_gfx_tel+'"/><span>'+t.currentSizeObj.availability.status_description_tel+"</span></a>"):$("#"+t.prefix+"price_value").html('<a class="projector_prices__contact" target="_blank" href="'+t.options.contact_link+'">'+t.currentSizeObj.availability.status_description_tel+"</a>"));else if($("#"+t.prefix+"prices_wrapper").show().removeClass("--only-points"),$("#"+t.prefix+"price_value").show(),t.currentSizeObj.price.rebateNumber){const e=t.configObj.valueOfNumberInput;if(t.currentSizeObj.price.rebateNumber.items.includes(null))+e>=+t.currentSizeObj.price.rebateNumber.nextleft?($("#"+t.prefix+"price_value").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.rebateNumber.nextprice_net:t.currentSizeObj.price.rebateNumber.nextprice,!0,!1,!1)),l=t.nettoPrice?t.currentSizeObj.price.rebateNumber.nextprice_net:t.currentSizeObj.price.rebateNumber.nextprice,t.rebateThreshold=t.currentSizeObj.price.rebateNumber.nextthreshold):($("#"+t.prefix+"price_value").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.price_net:t.currentSizeObj.price.value,!0,!1,!1)),t.rebateThreshold=!1);else{const i=[...t.currentSizeObj.price.rebateNumber.items].reverse().find((t=>e>=+t.left));i?($("#"+t.prefix+"price_value").html(t.formatPrice(t.nettoPrice?i.price_net:i.price,!0,!1,!1)),l=t.nettoPrice?i.price_net:i.price,t.rebateThreshold=i.threshold):($("#"+t.prefix+"price_value").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.price_net:t.currentSizeObj.price.value,!0,!1,!1)),t.rebateThreshold=!1)}}else $("#"+t.prefix+"price_value").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.price_net:t.currentSizeObj.price.value,!0,!1,!1));t.currentSizeObj.price.maxprice?t.currentSizeObj.price.maxprice>0?($("#"+t.prefix+"price_maxprice").show(),$("#"+t.prefix+"price_maxprice").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.maxprice_net:t.currentSizeObj.price.maxprice,e))):$("#"+t.prefix+"price_maxprice").hide():""!=l?(t.currentSizeObj.price.maxprice=t.currentSizeObj.price.value,t.currentSizeObj.price.maxprice_net=t.currentSizeObj.price.price_net,t.currentSizeObj.price.maxprice>0?($("#"+t.prefix+"price_maxprice").show(),$("#"+t.prefix+"price_maxprice").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.maxprice_net:t.currentSizeObj.price.maxprice,e))):$("#"+t.prefix+"price_maxprice").hide()):$("#"+t.prefix+"price_maxprice").hide(),t.currentSizeObj.price.omnibus_price&&$("#"+t.prefix+"omnibus_price_value").html(t.formatPrice(t.nettoPrice?t.currentSizeObj.price.omnibus_price_net:t.currentSizeObj.price.omnibus_price,e)),t.options.hide_unit?$("#"+t.prefix+"price_unit_sellby, #"+t.prefix+"price_unit").hide():1==t.configObj.valueOfNumberInput?($("#"+t.prefix+"price_unit_sellby").hide().html(t.configObj.valueOfNumberInput),$("#"+t.prefix+"price_unit").html(t.currentSizeObj.unit)):($("#"+t.prefix+"price_unit_sellby").show().html(t.configObj.valueOfNumberInput),$("#"+t.prefix+"price_unit").html(t.currentSizeObj.unit_plural?t.currentSizeObj.unit_plural:t.currentSizeObj.unit)),t.currentSizeObj.bundle_price||t.currentSizeObj.price.yousave_percent?$("#"+t.prefix+"yousave_bundle_wrapper").show():$("#"+t.prefix+"yousave_bundle_wrapper").hide(),yousaveTmp=t.nettoPrice?t.currentSizeObj.price.yousave_net:t.currentSizeObj.price.yousave,yousave_percentTmp=t.currentSizeObj.price.yousave_percent,""!=l&&(yousaveTmp=t.nettoPrice?+t.currentSizeObj.price.maxprice_net-+l:+t.currentSizeObj.price.maxprice-+l,yousave_percentTmp=(100*+yousaveTmp/(t.nettoPrice?+t.currentSizeObj.price.maxprice_net:+t.currentSizeObj.price.maxprice)).toFixed()),0===+yousave_percentTmp&&(yousave_percentTmp=(+yousaveTmp/(t.nettoPrice?+t.currentSizeObj.price.price_net:+t.currentSizeObj.price.value)*100).toFixed(1)),"true"!=t.currentSizeObj.phone_price&&t.currentSizeObj.bundle_price&&t.currentSizeObj.bundle_price.amount_diff_gross>
90?$("#"+t.prefix+"price_yousave").show().html(t.txt.oszczedzasz+t.currentSizeObj.bundle_price.percent_diff+t.txt.taniej+t.formatPrice(t.nettoPrice?t.currentSizeObj.bundle_price.amount_diff_net:t.currentSizeObj.bundle_price.amount_diff_gross,e)+t.txt.wzestawie):"true"!=t.currentSizeObj.phone_price&&yousaveTmp?$("#"+t.prefix+"price_yousave").show().html(t.txt.oszczedzasz+yousave_percentTmp+t.txt.taniej+t.formatPrice(yousaveTmp,e)+t.txt.nawias_end):$("#"+t.prefix+"price_yousave").hide(),$("#"+t.prefix+"price_points_wrapper").hide(),t.currentSizeObj.price.points>0&&($("#"+t.prefix+"price_points").show().html(t.formatPrice(t.currentSizeObj.price.points,e,t.txt.pkt,!0).toFixed(2)+t.txt.pkt),$("#"+t.prefix+"points_wrapper").show(),$("#"+t.prefix+"price_points_wrapper").show()),t.currentSizeObj.price.points_recive>0?($("#"+t.prefix+"points_wrapper").show(),$("#"+t.prefix+"points_recive_points").show().html(t.formatPrice(t.currentSizeObj.price.points_recive,e,t.txt.pkt,!0).toFixed(2)+t.txt.pkt),$("#"+t.prefix+"price_points_recive_wrapper").show()):$("#"+t.prefix+"price_points_recive_wrapper").hide(),t.currentSizeObj.for_points,$("#"+t.prefix+"tell_availability").hide(),$("#"+t.prefix+"tell_availability").find("input").prop("disabled",!0);var c=t;if(t.configObj.addBasketFnBtn)$("#"+t.prefix+"button_basket").off("click"),$("#"+t.prefix+"button_basket").on("click",(function(){return c.configObj.addBasketFnBtn(),!1})).removeClass("disabled");else if(t.configObj.disableBuyButtonTXT){var d=t.configObj.disableBuyButtonTXT;$("#"+t.prefix+"button_basket").on("click",(function(){return classObj.alert(d),!1})).addClass("disabled"),$("#"+t.prefix+"number").prop("disabled",!0)}else"disable"==t.currentSizeObj.availability.status?($("#"+t.prefix+"price_points_wrapper").hide(),$("#"+t.prefix+"button_basket").on("click",(function(){return classObj.alert(classObj.txt.niedostepny),!1})).addClass("disabled"),$("#"+t.prefix+"number").prop("disabled",!0),$("#"+t.prefix+"tell_availability").show(),$("#"+t.prefix+"tell_availability").find("input").prop("disabled",!1)):"true"==t.currentSizeObj.phone_price&&t.currentSizeObj.price.points>0?($("#"+t.prefix+"button_basket").on("click",(function(){return classObj.alert(classObj.txt.tylko_punkty),!1})).addClass("disabled"),$("#"+t.prefix+"number").prop("disabled",!0)):"true"==t.currentSizeObj.phone_price?($("#"+t.prefix+"number").prop("disabled",!1),$("#"+t.prefix+"button_basket").on("click",(function(){return classObj.alert(classObj.txt.tylkotel),!1})).addClass("disabled"),$("#"+t.prefix+"number").prop("disabled",!0),$("#"+t.prefix+"form").addClass("--phone")):($("#"+t.prefix+"button_basket").off("click").removeClass("disabled"),$("#"+t.prefix+"number").prop("disabled",!1),$("#"+t.prefix+"form").removeClass("--phone"));return t.currentSizeObj.gratis&&($("#"+t.prefix+"buy_section").hide(),$("#"+t.prefix+"price_points_wrapper").hide()),t.currentSizeObj.price.basket_enable&&"y"==t.currentSizeObj.price.basket_enable&&"true"==t.currentSizeObj.phone_price&&($("#"+t.prefix+"button_basket").off("click").removeClass("disabled"),$("#"+t.prefix+"number").prop("disabled",!1),$("#"+t.prefix+"price_value").html('<span class="'+t.prefix+'_price_gratis">'+t.txt.gratis_produkt+"</span>")),$("#"+t.options.contenersPrefix+"number").val(t.configObj.valueOfNumberInput),$("#"+t.options.contenersPrefix+"buy_section .f-dropdown-button").text(t.configObj.valueOfNumberInput),t.configObj.rebateNumberNext&&($("#"+t.prefix+"product_rebatenumber_value").text((t.configObj.rebateNumberNext.value+t.txt.proc).replace(/\.00/gi,"")),$("#"+t.prefix+"product_rebatenumber_threshold").text(t.configObj.rebateNumberNext.threshold.replace(/\.00/gi,""))),t.firstRun=!1,t.options.endStartFunction(),!0};product_data.sizes[t.currentSizeObj.type].availability?"true"!==n||product_data.sizes[t.currentSizeObj.type].price_subscription?"false"!==n||product_data.sizes[t.currentSizeObj.type].price_normal?r():$.getJSON("/ajax/projector.php?action=get&product="+product_data.product_id+"&size="+t.currentSizeObj.type+"&get=sizeprices",(function(e){product_data.sizes[t.currentSizeObj.type].price=e.sizeprices,product_data.sizes[t.currentSizeObj.type].price_normal=e.sizeprices,r()})):$.getJSON("/ajax/projector.php?action=get&product="+product_data.product_id+"&size="+t.currentSizeObj.type+"&get=sizeprices&subscription=1",(function(e){product_data.sizes[t.currentSizeObj.type].price=e.sizeprices,product_data.sizes[t.currentSizeObj.type].price_subscription=e.sizeprices,r()})):product_data.sizes&&("product_bundle"!=product_data.product_type?$.getJSON("/ajax/projector.php?action=get&product="+product_data.product_id+"&size="+t.currentSizeObj.type+"&get=sizeavailability,sizedelivery,sizeprices"+("true"===n?"&subscription=1":""),(function(e){product_data.sizes[t.currentSizeObj.type].availability=e.sizeavailability,product_data.sizes[t.currentSizeObj.type].delivery=e.sizedelivery,product_data.sizes[t.currentSizeObj.type].price=e.sizeprices,product_data.sizes[t.currentSizeObj.type].delay_time=e.sizeavailability.delay_time,"true"===n?product_data.sizes[t.currentSizeObj.type].price_subscription=e.sizeprices:product_data.sizes[t.currentSizeObj.type].price_normal=e.sizeprices,r()})):"product_bundle"==product_data.product_type&&app_shop.fn.update_bundle&&app_shop.fn.update_bundle())},this.liczProcent=function(e,t){return(e=parseFloat(e))-e*((t=parseFloat(t))/100)},this.addAction=function(e,t,i){this.actions[e]||(this.actions[e]={}),this.actions[e][t]=i},this.getConfigObj=function(){return this.configObj},this.alert=function(e){Alertek.show_alert(e)},this.setCurrentSizeObj=function(e){if(projectorv3_disable_ajax&&0==projectorv3_disable_ajax)product_data.sizes[e]?(this.currentSizeObj=product_data.sizes[e],this.currentSizeObj.product_type=product_data.product_type,this.currentSizeObj.currency=product_data.currency,this.currentSizeObj.unit=product_data.unit,this.currentSizeObj.unit_plural=product_data.unit_plural?product_data.unit_plural:"",this.currentSizeObj.unit_sellby=""!=product_data.unit_sellby?product_data.unit_sellby:1,this.currentSizeObj.unit_precision=""!=product_data.unit_precision?product_data.unit_precision:0):this.errorMsg.push("setCurrentSize no data"),this.options.endSetCurrentSizeFunction();else{var t=this,i=function(){"onesize"==e&&(e="uniw"),product_data.sizes[e]?(t.currentSizeObj=product_data.sizes[e],t.currentSizeObj.product_type=product_data.product_type,t.currentSizeObj.currency=product_data.currency,t.currentSizeObj.unit=product_data.unit,t.currentSizeObj.unit_plural=product_data.unit_plural?product_data.unit_plural:"",t.currentSizeObj.unit_sellby=""!=product_data.unit_sellby?product_data.unit_sellby:1,t.currentSizeObj.unit_precision=""!=product_data.unit_precision?product_data.unit_precision:0,product_data.for_points&&(t.currentSizeObj.for_points=product_data.for_points)):t.errorMsg.push("setCurrentSize no data")};product_data.sizes?i():$.getJSON("/ajax/projector.php?action=get&product="+product_data.product_id+"&get=sizes",(function(e){e.sizes&&(product_data.sizes={},$.each(e.sizes.items,(function(e,t){product_data.sizes[t.type]=t})),i(),t.start())})),this.options.endSetCurrentSizeFunction()}},this.getCurrentSizeObj=function(e){return this.currentSizeObj},this.getAjaxProductData=function(e){classObj.options.beginGetAjaxProductDataFunction(),$.ajax({type:"GET",timeout:this.timeoutAjax,url:"/projector.php?product="+e+"&shop_xml=true&getProductXML=true",dataType:"xml",success:function(e){classObj.options.clearXMLGetAjaxProductDataFunction(e);var t={},i=classObj.getAttr($("product:first",e),"id");t.currency=shop_currency,t.product_type=classObj.getAttr($("product:first",e),"product_type"),t.unit=classObj.getAttr($("product sizes_version:first",e),"unit"),t.unit_plural=classObj.getAttr($("product sizes_version:first",e),"unit_plural"),t.unit_sellby=classObj.getAttr($("product sizes_version:first",e),"unit_sellby"),t.unit_precision=classObj.getAttr($("product sizes_version:first",e),"unit_precision"),t.sizes={},$("product versions:first version[id="+i+"] size",e).each((function(){t.sizes[classObj.getAttr($(this),"type")]=$.xml2json($("<p/>").append($(this)).html())})),product_data=t,classObj.setCurrentSizeObj(classObj.getIndex(product_data.sizes,0)),projectorObj.start(),classObj.options.endGetAjaxProductDataFunction()},error:function(){}})}};
10/*! jQuery UI - v1.13.1 - 2022-01-24
11* http://jqueryui.com
12* Includes: keycode.js, widgets/datepicker.js
13* Copyright jQuery Foundation and other contributors; Licensed MIT */
14!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}((function(e){"use strict";e.ui=e.ui||{};var t;
vendor: 6,723 bytes, lines 15-31
15/*!
16 * jQuery UI Keycode 1.13.1
17 * http://jqueryui.com
18 *
19 * Copyright jQuery Foundation and other contributors
20 * Released under the MIT license.
21 * http://jquery.org/license
22 */e.ui.version="1.13.1",e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38};function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=n(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function n(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",i,(function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",i,r)}function r(){e.datepicker._isDisabledDatepicker(t.inline?t.dpDiv.parent()[0]:t.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function a(t,i){for(var n in e.extend(t,i),i)null==i[n]&&(t[n]=i[n]);return t}
23/*!
24 * jQuery UI Datepicker 1.13.1
25 * http://jqueryui.com
26 *
27 * Copyright jQuery Foundation and other contributors
28 * Released under the MIT license.
29 * http://jquery.org/license
30 */
31e.extend(e.ui,{datepicker:{version:"1.13.1"}}),e.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return a(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var n,r,a;r="div"===(n=t.nodeName.toLowerCase())||"span"===n,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(a=this._newInst(e(t),r)).settings=e.extend({},i||{}),"input"===n?this._connectDatepicker(t,a):r&&this._inlineDatepicker(t,a)},_newInst:function(t,i){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?n(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var n=e(t);i.append=e([]),i.trigger=e([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var n,r,a,s=this._get(i,"appendText"),o=this._get(i,"isRTL");i.append&&i.append.remove(),s&&(i.append=e("<span>").addClass(this._appendClass).text(s),t[o?"before":"after"](i.append)),t.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||t.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(r=this._get(i,"buttonText"),a=this._get(i,"buttonImage"),this._get(i,"buttonImageOnly")?i.trigger=e("<img>").addClass(this._triggerClass).attr({src:a,alt:r,title:r}):(i.trigger=e("<button type='button'>").addClass(this._triggerClass),a?i.trigger.html(e("<img>").attr({src:a,alt:r,title:r})):i.trigger.text(r)),t[o?"before":"after"](i.trigger),i.trigger.on("click",(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1})))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,n,r,a=new Date(2009,11,20),s=this._get(e,"dateFormat");s.match(/[DM]/)&&(t=function(e){for(i=0,n=0,r=0;r<e.length;r++)e[r].length>i&&(i=e[r].length,n=r);return n},a.setMonth(t(this._get(e,s.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,s.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(t,i){var n=e(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,n,r,s){var o,l,c,d,p,u=this._dialogInst;return u||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>
31"),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(u=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",u)),a(u.settings,r||{}),i=i&&i.constructor===Date?this._formatDate(u,i):i,this._dialogInput.val(i),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(l=document.documentElement.clientWidth,c=document.documentElement.clientHeight,d=document.documentElement.scrollLeft||document.body.scrollLeft,p=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+d,c/2-150+p]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),u.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",u),this},_destroyDatepicker:function(i){var n,r=e(i),a=e.data(i,"datepicker");r.hasClass(this.markerClassName)&&(n=i.nodeName.toLowerCase(),e.removeData(i,"datepicker"),"input"===n?(a.append.remove(),a.trigger.remove(),r.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==n&&"span"!==n||r.removeClass(this.markerClassName).empty(),t===a&&(t=null,this._curInst=null))},_enableDatepicker:function(t){var i,n,r=e(t),a=e.data(t,"datepicker");r.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!1,a.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=r.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})))},_disableDatepicker:function(t){var i,n,r=e(t),a=e.data(t,"datepicker");r.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!0,a.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=r.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,i,n){var r,s,o,l,c=this._getInst(t);if(2===arguments.length&&"string"==typeof i)return"defaults"===i?e.extend({},e.datepicker._defaults):c?"all"===i?e.extend({},c.settings):this._get(c,i):null;r=i||{},"string"==typeof i&&((r={})[i]=n),c&&(this._curInst===c&&this._hideDatepicker(),s=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(c,"min"),l=this._getMinMaxDate(c,"max"),a(c.settings,r),null!==o&&void 0!==r.dateFormat&&void 0===r.minDate&&(c.settings.minDate=this._formatDate(c,o)),null!==l&&void 0!==r.dateFormat&&void 0===r.maxDate&&(c.settings.maxDate=this._formatDate(c,l)),"disabled"in r&&(r.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),c),this._autoSize(c),this._setDate(c,s),this._updateAlternate(c),this._updateDatepicker(c))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var i,n,r,a=e.datepicker._getInst(t.target),s=!0,o=a.dpDiv.is(".ui-datepicker-rtl");if(a._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),s=!1;break;case 13:return(r=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",a.dpDiv))[0]&&e.datepicker._selectDay(t.target,a.selectedMonth,a.selectedYear,r[0]),(i=e.datepicker._get(a,"onSelect"))?(n=e.datepicker._formatDate(a),i.apply(a.input?a.input[0]:null,[n,a])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),s=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),s=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,o?1:-1,"D"),s=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),s=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,o?-1:1,"D"),s=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),s=t.ctrlKey||t.metaKey;break;default:s=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):s=!1;s&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var i,n,r=e.datepicker._getInst(t.target);if(e.datepicker._get(r,"constrainInput"))return i=e.datepicker._possibleChars(e.datepicker._get(r,"dateFormat")),n=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||n<" "||!i||i.indexOf(n)>-1},_doKeyUp:function(t){var i=e.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{e.datepicker.parseDate(e.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,e.datepicker._getFormatConfig(i))&&(e.datepicker._setDateFromField(i),e.datepicker._updateAlternate(i),e.datepicker._updateDatepicker(i))}catch(e){}return!0},_showDatepicker:function(t){var i,n,r,s,o,l,c;("input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t)||(i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),!1!==(r=(n=e.datepicker._get(i,"beforeShow"))?n.apply(t,[t,i]):{})&&(a(i.settings,r),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),s=!1,e(t).parents().each((function(){return!(s|="fixed"===e(this).css("position"))})),o={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),o=e.datepicker._checkOffset(i,o,s),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":s?"fixed":"absolute",display:"none",left:o.left+"px",to
vendor: 23,752 bytes, line 31
31p:o.top+"px"}),i.inline||(l=e.datepicker._get(i,"showAnim"),c=e.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[l]?i.dpDiv.show(l,e.datepicker._get(i,"showOptions"),c):i.dpDiv[l||"show"](l?c:null),e.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),e.datepicker._curInst=i)))},_updateDatepicker:function(i){this.maxRows=4,t=i,i.dpDiv.empty().append(this._generateHTML(i)),this._attachHandlers(i);var n,a=this._getNumberOfMonths(i),s=a[1],o=i.dpDiv.find("."+this._dayOverClass+" a"),l=e.datepicker._get(i,"onUpdateDatepicker");o.length>0&&r.apply(o.get(0)),i.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),s>1&&i.dpDiv.addClass("ui-datepicker-multi-"+s).css("width",17*s+"em"),i.dpDiv[(1!==a[0]||1!==a[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),i.dpDiv[(this._get(i,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),i===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),i.yearshtml&&(n=i.yearshtml,setTimeout((function(){n===i.yearshtml&&i.yearshtml&&i.dpDiv.find("select.ui-datepicker-year").first().replaceWith(i.yearshtml),n=i.yearshtml=null}),0)),l&&l.apply(i.input?i.input[0]:null,[i])},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,n){var r=t.dpDiv.outerWidth(),a=t.dpDiv.outerHeight(),s=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:e(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?r-s:0,i.left-=n&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=n&&i.top===t.input.offset().top+o?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+r>l&&l>r?Math.abs(i.left+r-l):0),i.top-=Math.min(i.top,i.top+a>c&&c>a?Math.abs(a+o):0),i},_findPos:function(t){for(var i,n=this._getInst(t),r=this._get(n,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.pseudos.hidden(t));)t=t[r?"previousSibling":"nextSibling"];return[(i=e(t).offset()).left,i.top]},_hideDatepicker:function(t){var i,n,r,a,s=this._curInst;!s||t&&s!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(s,"showAnim"),n=this._get(s,"duration"),r=function(){e.datepicker._tidyDialog(s)},e.effects&&(e.effects.effect[i]||e.effects[i])?s.dpDiv.hide(i,e.datepicker._get(s,"showOptions"),n,r):s.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,r),i||r(),this._datepickerShowing=!1,(a=this._get(s,"onClose"))&&a.apply(s.input?s.input[0]:null,[s.input?s.input.val():"",s]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),n=e.datepicker._getInst(i[0]);(i[0].id===e.datepicker._mainDivId||0!==i.parents("#"+e.datepicker._mainDivId).length||i.hasClass(e.datepicker.markerClassName)||i.closest("."+e.datepicker._triggerClass).length||!e.datepicker._datepickerShowing||e.datepicker._inDialog&&e.blockUI)&&(!i.hasClass(e.datepicker.markerClassName)||e.datepicker._curInst===n)||e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,n){var r=e(t),a=this._getInst(r[0]);this._isDisabledDatepicker(r[0])||(this._adjustInstDate(a,i,n),this._updateDatepicker(a))},_gotoToday:function(t){var i,n=e(t),r=this._getInst(n[0]);this._get(r,"gotoCurrent")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(i=new Date,r.selectedDay=i.getDate(),r.drawMonth=r.selectedMonth=i.getMonth(),r.drawYear=r.selectedYear=i.getFullYear()),this._notifyChange(r),this._adjustDate(n)},_selectMonthYear:function(t,i,n){var r=e(t),a=this._getInst(r[0]);a["selected"+("M"===n?"Month":"Year")]=a["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(r)},_selectDay:function(t,i,n,r){var a,s=e(t);e(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||((a=this._getInst(s[0])).selectedDay=a.currentDay=parseInt(e("a",r).attr("data-date")),a.selectedMonth=a.currentMonth=i,a.selectedYear=a.currentYear=n,this._selectDate(t,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var n,r=e(t),a=this._getInst(r[0]);i=null!=i?i:this._formatDate(a),a.input&&a.input.val(i),this._updateAlternate(a),(n=this._get(a,"onSelect"))?n.apply(a.input?a.input[0]:null,[i,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=typeof a.input[0]&&a.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var i,n,r,a=this._get(t,"altField");a&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),r=this.formatDate(i,n,this._getFormatConfig(t)),e(document).find(a).val(r))},noWeekends:function(e){var t=e.getDay();return[t>0&&t<6,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(t,i,n){if(null==t||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var r,a,s,o,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,d="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),p=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,u=(n?n.dayNames:null)||this._defaults.dayNames,h=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,f=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,_=-1,g=-1,v=-1,y=!1,b=function(e){var i=r+1<t.length&&t.charAt(r+1)===e;return i&&r++,i},x=function(e){var t=b(e),n="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,r=new RegExp("^\\d{"+("y"===e?n:1)+","+n+"}"),a=i.substring(l).match(r);if(!a)throw"Missing number at position "+l;return l+=a[0].length,parseInt(a[0],10)},w=function(t,n,r){var a=-1,s=e.map(b(t)?r:n,(function(e,t){return[[t,e]]})).sort((function(e,t){return-(e[1].length-t[1].length)}));if(e.each(s,(function(e,t){var n=t[1];if(i.substr(l,n.length).toLowerCase()===n.toLowerCase())return a=t[0],l+=n.length,!1})),-1!==a)return a+1;throw"Unknown name at position "+l},k=function(){if(i.charAt(l)!==t.charAt(r))throw"Unexpected literal at position "+l;l++};for(r=0;r<t.length;r++)if(y)"'"!==t.charAt(r)||b("'")?k():y=!1;else switch(t.charAt(r)){case"d":g=x("d");break;case"D":w("D",p,u);break;case"o":v=x("o");break;case"m":_=x("m");break;case"M":_=w("M",h,f);break;case"y":m=x("y");break;case"@":m=(o=new Date(x("@"))).getFullYear(),_=o.getMonth()+1,g=o.getDate();break;case"!":m=(o=new Date((x("!")-this._ticksTo1970)/1e4)).getFullYear(),_=o.getMonth()+1,g=o.getDate();break;case"'":b("'")?k():y=!0;break;default:k()}if(l<i.length&&(s=i.substr(l),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(-1===m?m=(new Date).getFullYear():m<100&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(m<=d?0:-100)),v>-1)for(_=1,g=v;;){if(g<=(a=this._getDaysInMonth(m,_-1)))break;_++,g-=a}if((o=this._daylightSavingAdjust(new Date(m,_-1,g))).getFullYear()!==m||o.getMonth()+1!==_||o.getDate()!==g)throw"Invalid date";return o},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,i){if(!t)return"";var n,r=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,s=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,o=(i?i.monthNames:null)||this._defaults.monthNames,l=function(t){var i=n+1<e.length&&e.charAt(n+1)===t;return i&&n++,i},c=function(e,t,i){var n=""+t;if(l(e))for(;n.length<i;)n="0"+n;return n},d=function(e,t,i,n){return l(e)?n[t]:i[t]},p="",u=!1;if(t)for(n=0;n<e.length;n++)if(u)"'"!==e.charAt(n)||l("'")?p+=e.charAt(n):u=!1;else switch(e.charAt(n)){case"d":p+=c("d",t.getDate(),2);break;case"D":p+=d("D",t.getDay(),r,a);break;case"o":p+=c("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":p+=c("m",t.getMonth()+1,2);break;case"M":p+=d("M",t.getMonth(),s,o);break;case"y":p+=l("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":p+=t.getTime();break;case"!":p+=1e4*t.getTime()+this._ticksTo1970;break;case"'":l("'")?p+="'":u=!0;break;default:p+=e.charAt(n)}return p},_possibleChars:function(e){var t,i="",n=!1,r=function(i){var n=t+1<e.length&&e.charAt(t+1)===i;return n&&t++,n};for(t=0;t<e.length;t++)if(n)"'"!==e.charAt(t)||r("'")?i+=e.charAt(t):n=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":r("'")?i+="'":n=!0;break;default:i+=e.charAt(t)}return i},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,r=this._getDefaultDate(e),a=r,s=this._getFormatConfig(e);try{a=this.parseDate(i,n,s)||r}catch(e){n=t?"":n}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=n?a.getDate():0,e.currentMonth=n?a.getMonth():0,e.currentYear=n?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,n){var r=null==i||""===i?n:"string"==typeof i?function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(e){}for(var n=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,r=n.getFullYear(),a=n.getMonth(),s=n.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=o.exec(i);l;){switch(l[2]||"d"){case"d":case"D":s+=parseInt(l[1],10);break;case"w":case"W":s+=7*parseInt(l[1],10);break;case"m":case"M":a+=parseInt(l[1],10),s=Math.min(s,e.datepicker._getDaysInMonth(r,a));break;case"y":case"Y":r+=parseInt(l[1],10),s=Math.min(s,e.datepicker._getDaysInMonth(r,a))}l=o.exec(i)}return new Date(r,a,s)}(i):"number"==typeof i?isNaN(i)?n:function(e){var t=new Date;return t.setDate(t.getDate()+e),t}(i):new Date(i.getTime());return(r=r&&"Invalid Date"===r.toString()?n:r)&&(r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0)),this._daylightSavingAdjust(r)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,r=e.selectedMonth,a=e.selectedYear,s=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=s.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=s.getMonth(),e.drawYear=e.selectedYear=e.currentYear=s.getFullYear(),r===e.selectedMonth&&a===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),n="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map((function(){var t={prev:function(){e.datepicker._adjustDate(n,-i,"M")},next:function(){e.datepicker._adjustDate(n,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(n)},selectDay:function(){return e.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(n,this,"Y"),!1}};e(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])}))},_generateHTML:function(t){var i,n,r,a,s,o,l,c,d,p,u,h,f,m,_,g,v,y,b,x,w,k,S,$,C,T,E,D,I,j,N,A,L,F,H,M,W,z,B,O=new Date,q=this._daylightSavingAdjust(new Date(O.getFullYear(),O.getMonth(),O.getDate())),P=this._get(t,"isRTL"),Y=this._get(t,"showButtonPanel"),G=this._get(t,"hideIfNoPrevNext"),R=this._get(t,"navigationAsDateFormat"),V=this._getNumberOfMonths(t),Z=this._get(t,"showCurrentAtPos"),U=this._get(t,"stepMonths"),J=1!==V[0]||1!==V[1],X=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(t,"min"),K=this._getMinMaxDate(t,"max"),ee=t.drawMonth-Z,te=t.drawYear;if(ee<0&&(ee+=12,te--),K)for(i=this._daylightSavingAdjust(new Date(K.getFullYear(),K.getMonth()-V[0]*V[1]+1,K.getDate())),i=Q&&i<Q?Q:i;this._daylightSavingAdjust(new Date(te,ee,1))>i;)--ee<0&&(ee=11,te--);for(t.drawMonth=ee,t.drawYear=te,n=this._get(t,"prevText"),n=R?this.formatDate(n,this._daylightSavingAdjust(new Date(te,ee-U,1)),this._getFormatConfig(t)):n,r=this._canAdjustMonth(t,-1,te,ee)?e("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:n}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(P?"e":"w")).text(n))[0].outerHTML:G?"":e("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:n}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(P?"e":"w")).text(n))[0].outerHTML,a=this._get(t,"nextText"),a=R?this.formatDate(a,this._daylightSavingAdjust(new Date(te,ee+U,1)),this._getFormatConfig(t)):a,s=this._canAdjustMonth(t,1,te,ee)?e("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:a}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(P?"w":"e")).text(a))[0].outerHTML:G?"":e("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:a}).append(e("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(P?"w":"e")).text(a))[0].outerHTML,o=this._get(t,"currentText"),l=this._get(t,"gotoCurrent")&&t.currentDay?X:q,o=R?this.formatDate(o,l,this._getFormatConfig(t)):o,c="",t.inline||(c=e("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(t,"closeText"))[0].outerHTML),d="",Y&&(d=e("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(P?c:"").append(this._isInRange(t,l)?e("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(o):"").append(P?"":c)[0].outerHTML),p=parseInt(this._get(t,"firstDay"),10),p=isNaN(p)?0:p,u=this._get(t,"showWeek"),h=this._get(t,"dayNames"),f=this._get(t,"dayNamesMin"),m=this._get(t,"monthNames"),_=this._get(t,"monthNamesShort"),g=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),y=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),x="",k=0;k<V[0];k++){for(S="",this.maxRows=4,$=0;$<V[1];$++){if(C=this._daylightSavingAdjust(new Date(te,ee,t.selectedDay)),T=" ui-corner-all",E="",J){if(E+="<div class='ui-datepicker-group",V[1]>1)switch($){case 0:E+=" ui-datepicker-group-first",T=" ui-corner-"+(P?"right":"left");break;case V[1]-1:E+=" ui-datepicker-group-last",T=" ui-corner-"+(P?"left":"right");break;default:E+=" ui-datepicker-group-middle",T=""}E+="'>"}for(E+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===k?P?s:r:"")+(/all|right/.test(T)&&0===k?P?r:s:"")+this._generateMonthYearHeader(t,ee,te,Q,K,k>0||$>0,m,_)+"</div><table class='ui-datepicker-calendar'><thead><tr>",D=u?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;w<7;w++)D+="<th scope='col'"+((w+p+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+h[I=(w+p)%7]+"'>"+f[I]+"</span></th>";for(E+=D+"</tr></thead><tbody>",j=this._getDaysInMonth(te,ee),te===t.selectedYear&&ee===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,j)),N=(this._getFirstDayOfMonth(te,ee)-p+7)%7,A=Math.ceil((N+j)/7),L=J&&this.maxRows>A?this.maxRows:A,this.maxRows=L,F=this._daylightSavingAdjust(new Date(te,ee,1-N)),H=0;H<L;H++){for(E+="<tr>",M=u?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(F)+"</td>":"",w=0;w<7;w++)W=g?g.apply(t.input?t.input[0]:null,[F]):[!0,""],B=(z=F.getMonth()!==ee)&&!y||!W[0]||Q&&F<Q||K&&F>K,M+="<td class='"+((w+p+6)%7>=5?" ui-datepicker-week-end":"")+(z?" ui-datepicker-other-month":"")+(F.getTime()===C.getTime()&&ee===t.selectedMonth&&t._keyEvent||b.getTime()===F.getTime()&&b.getTime()===C.getTime()?" "+this._dayOverClass:"")+(B?" "+this._unselectableClass+" ui-state-disabled":"")+(z&&!v?"":" "+W[1]+(F.getTime()===X.getTime()?" "+this._currentClass:"")+(F.getTime()===q.getTime()?" ui-datepicker-today":""))+"'"+(z&&!v||!W[2]?"":" title='"+W[2].replace(/'/g,"&#39;")+"'")+(B?"":" data-handler='selectDay' data-event='click' data-month='"+F.getMonth()+"' data-year='"+F.getFullYear()+"'")+">"+(z&&!v?"&#xa0;":B?"<span class='ui-state-default'>"+F.getDate()+"</span>":"<a class='ui-state-default"+(F.getTime()===q.getTime()?" ui-state-highlight":"")+(F.getTime()===X.getTime()?" ui-state-active":"")+(z?" ui-priority-secondary":"")+"' href='#' aria-current='"+(F.getTime()===X.getTime()?"true":"false")+"' data-date='"+F.getDate()+"'>"+F.getDate()+"</a>")+"</td>",F.setDate(F.getDate()+1),F=this._daylightSavingAdjust(F);E+=M+"</tr>"}++ee>11&&(ee=0,te++),S+=E+="</tbody></table>"+(J?"</div>"+(V[0]>0&&$===V[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}x+=S}return x+=d,t._keyEvent=!1,x},_generateMonthYearHeader:function(e,t,i,n,r,a,s,o){var l,c,d,p,u,h,f,m,_=this._get(e,"changeMonth"),g=this._get(e,"changeYear"),v=this._get(e,"showMonthAfterYear"),y=this._get(e,"selectMonthLabel"),b=this._get(e,"selectYearLabel"),x="<div class='ui-datepicker-title'>",w="";if(a||!_)w+="<span class='ui-datepicker-month'>"+s[t]+"</span>";else{for(l=n&&n.getFullYear()===i,c=r&&r.getFullYear()===i,w+="<select class='ui-datepicker-month' aria-label='"+y+"' data-handler='selectMonth' data-event='change'>",d=0;d<12;d++)(!l||d>=n.getMonth())&&(!c||d<=r.getMonth())&&(w+="<option value='"+d+"'"+(d===t?" selected='selected'":"")+">"+o[d]+"</option>");w+="</select>"}if(v||(x+=w+(!a&&_&&g?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",a||!g)x+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(p=this._get(e,"yearRange").split(":"),u=(new Date).getFullYear(),h=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?u+parseInt(e,10):parseInt(e,10);return isNaN(t)?u:t},f=h(p[0]),m=Math.max(f,h(p[1]||"")),f=n?Math.max(f,n.getFullYear()):f,m=r?Math.min(m,r.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' aria-label='"+b+"' data-handler='selectYear' data-event='change'>";f<=m;f++)e.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",x+=e.yearshtml,e.yearshtml=null}return x+=this._get(e,"yearSuffix"),v&&(x+=(!a&&_&&g?"":"&#xa0;")+w),x+="</div>"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),r=e.selectedMonth+("M"===i?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(n,r))+("D"===i?t:0),s=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,r,a)));e.selectedDay=s.getDate(),e.drawMonth=e.selectedMonth=s.getMonth(),e.drawYear=e.selectedYear=s.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),r=i&&t<i?i:t;return n&&r>n?n:r},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var r=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new Date(i,n+(t<0?t:r[0]*r[1]),1));return t<0&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var i,n,r=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),s=null,o=null,l=this._get(e,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),s=parseInt(i[0],10),o=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(s+=n),i[1].match(/[+\-].*/)&&(o+=n)),(!r||t.getTime()>=r.getTime())&&(!a||t.getTime()<=a.getTime())&&(!s||t.getFullYear()>=s)&&(!o||t.getFullYear()<=o)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var r=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),r,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each((function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)})):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new i,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.13.1";e.datepicker})),app_shop.fn.fontCallback=()=>{void 0!==app_shop.fn.fontCallbackMenu&&app_shop.fn.fontCallbackMenu()},app_shop.run((function(){if(!sessionStorage.getItem("eroticPageActive")){let e=document.querySelector("#logo img"),t=`\n      <div class="erotic_modal_wrapper">\n        ${e?`<div class="erotic_modal_logo"><img src="${e.getAttribute("src")}" /></div>`:""}\n        <div class="erotic_modal_txt">Strona przeznaczona dla osób pełnoletnich.</div>\n        <div class="erotic_modal_question">Czy masz ukończone 18 lat?</div>\n        <div class="erotic_modal_buttons">\n          <a href="#yes" class="btn --solid --large erotic_modal_button --yes">Tak</a>\n          <a href="/pol-privacy-and-cookie-notice.html" class="btn --outline --large erotic_modal_button --no">Nie</a>\n        </div>\n        <div class="erotic_modal_privacy">
31\n        <span>Dbamy o Twoją prywatność.</span>\n        Szczegóły w <a target="_blank" href="/pol-privacy-and-cookie-notice.html">polityce prywatności</a>\n        </div>\n      </div>\n    `;setTimeout((function(){Modal({html:t,classList:"modal_erotic",afterShow:(e,t)=>{const i=document.querySelector(".erotic_modal_button.--yes");i&&i.addEventListener("click",(()=>(event.preventDefault(),sessionStorage.setItem("eroticPageActive","true"),t.closeModal(),!1)))}})}),2e3)}}),"all",".--erotic");var google_map_style_array=[{featureType:"landscape",stylers:[{saturation:-100},{lightness:65},{visibility:"on"}]},{featureType:"poi",stylers:[{saturation:-100},{lightness:51},{visibility:"simplified"}]},{featureType:"road.highway",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"road.arterial",stylers:[{saturation:-100},{lightness:30},{visibility:"on"}]},{featureType:"road.local",stylers:[{saturation:-100},{lightness:40},{visibility:"on"}]},{featureType:"transit",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"administrative.province",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"on"},{lightness:-25},{saturation:-100}]},{featureType:"water",elementType:"geometry",stylers:[{hue:"#ffff00"},{lightness:-25},{saturation:-97}]}];const fetchData=async e=>{try{const t=await fetch("/graphql/v1/",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)});return await t.json()}catch(e){return console.error("AJAX fetchDataGraphQL() Error:",e),!1}},hotspot={mainHotspot:document.querySelectorAll(".main_hotspot"),txt:{showAll:"Zobacz wszystkie"},initSlick:function(e){defaults={slidesToShow:4,slidesToScroll:4,prevArrow:'<a class="slick-prev" href=""><i class="icon-angle-left"></i></a>',nextArrow:'<a class="slick-next" href=""><i class="icon-angle-right"></i></a>',infinite:!1,responsive:[{breakpoint:757,settings:{slidesToShow:1.2,slidesToScroll:1}}]},$(e).on("afterChange",(function(e,t,i){app_shop.vars.bLazy.revalidate()})),$(e).slick(defaults)},getOpinions:async function(e){let t=`/ajax/opinions.php?action=get?language=pol&shopId=1&rating=5&type=product&sourceId=${e}`;return await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>e.json()))},setHeight:function(e){let t=e.querySelectorAll(".--name"),i=0;t.forEach((e=>{i=Math.max(i,e.offsetHeight)})),t.forEach((e=>{e.style.height=i+"px"}))},initEvents:function(){document.addEventListener("click",(function(e){if(e.target.closest(".hotspot .product__shopping_list_link")){e.preventDefault();let t=e.target.getAttribute("data-id"),i=e.target.getAttribute("data-size");app_shop.fn.shoppingList.addProductToList([[t,i]])}}))},loadHotspot:async function(e){let t=e.getAttribute("data-page"),i=e.getAttribute("data-zone"),n=e.getAttribute("data-hotspot-type"),r={},a=null;switch(document.getElementById("container").classList.contains("projector_page")&&(a=document.getElementById("projector_form").getAttribute("data-product_id")),n){case"standard":case"search":r={query:`query{\n            hotspots(\n              hotspotsPanelParamsInput: { page: ${t}, zone: ${i} }\n            ) {\n              name\n              url\n              products {\n                id\n                name\n                link\n                icon\n                sizes {\n                  id\n                }\n                price{\n                  price{\n                    gross{\n                      formatted\n                    }\n                  }\n                  beforeRebate{\n                    gross{\n                      formatted\n                    }\n                  }\n                }\n              }\n            }\n          }`};break;case"projector":r={query:`query{\n            hotspots(\n              hotspotsPanelParamsInput: { page: ${t}, zone: ${i}, products: ${a} }\n            ) {\n              name\n              url\n              products {\n                id\n                name\n                link\n                icon\n                sizes {\n                  id\n                }\n                price{\n                  price{\n                    gross{\n                      formatted\n                    }\n                  }\n                  beforeRebate{\n                    gross{\n                      formatted\n                    }\n                  }\n                }\n              }\n            }\n          }`};break;case"opinions":r={query:`query{\n            hotspots(\n              hotspotsPanelParam
31sInput: { page: ${t}, zone: ${i} }\n            ) {\n              name\n              url\n              products {\n                id\n                name\n                link\n                icon\n                sizes {\n                  id\n                }\n                price{\n                  price{\n                    gross{\n                      formatted\n                    }\n                  }\n                  beforeRebate{\n                    gross{\n                      formatted\n                    }\n                  }\n                }\n                opinion {\n                  rating\n                }\n              }\n            }\n          }`}}let s=await fetchData(r),o=s.data.hotspots.products||[];if(0==o.length)return void e.remove();let l=e.querySelector("h2");if(l&&s?.data?.hotspots?.name){let t=s?.data?.hotspots?.name,i=s?.data?.hotspots?.url,n=e.getAttribute("id"),r=i?`<a class="headline" href="${i}"><span class="headline__name">${t}</span><span class="headline__after">${this.txt.showAll}</span></a>`:`<span class="headline"><span class="headline__name">${t}</span></a>`;l.innerHTML=r;let a=document.querySelector(`.hotspot_tab[data-hotspot="${n}"]`);if(a){let e=a.querySelector(".headline .headline__name");e&&(e.innerHTML=t)}}let c=e.querySelector(".products");for(const e of o){let t="",i="";null!=e.price.beforeRebate.gross&&(t=`<span class="--max">${e.price.beforeRebate.gross.formatted}</span>`,i="--promo");let r=e.sizes?e.sizes[0].id:"uniw",a="";switch(n){case"standard":a=`\n            <div class="product">\n              <a class="--link" href="${e.link}" title="${e.name}">\n                <div class="--icon">\n                  <img src="${e.icon}" class="b-lazy" alt="${e.name}"/>\n                </div>\n                <div class="--name">\n                  <h3>\n                    ${e.name}\n                  </h3>\n                </div>\n                <div class="--prices">\n                  <span class="--price ${i}">${e.price.price.gross.formatted}</span>\n                  ${t}\n                </div>\n              </a>\n              <div class="product__shopping_list">\n                <a href="#shoppingList" class="product__shopping_list_link" data-id="${e.id}" data-size="${r}"></a>\n              </div>\n            </div>\n          `;break;case"projector":case"search":a=`\n            <div class="product --from_hotspot">\n              <a class="--link" href="${e.link}" title="${e.name}">\n                <div class="--icon">\n                  <img src="${e.icon}" class="b-lazy" alt="${e.name}"/>\n                </div>\n                <div class="--name">\n                  <h3>\n                    ${e.name}\n                  </h3>\n                </div>\n                <div class="--prices">\n                  <span class="--price ${i}">${e.price.price.gross.formatted}</span>\n                  ${t}\n                </div>\n              </a>\n              <div class="product__shopping_list">\n                <a href="#shoppingList" class="product__shopping_list_link" data-id="${e.id}" data-size="${r}"></a>\n              </div>\n            </div>\n          `;break;case"opinions":{let i=await this.getOpinions(e.id),n=e.opinion.rating,s=!1,o=document.createElement("span"),l=s?`<small>${n}/5</small>`:"";for(let e=0;e<5;e++){let t=document.createElement("i");t.classList.add("icon-star"),n>e+.5&&t.classList.add("--active"),o.append(t)}a=`\n            <div class="product">\n              <a class="--link" href="${e.link}" title="${e.name}">\n                <div class="--icon">\n                  <img src="${e.icon}" class="b-lazy" alt="${e.name}"/>\n                </div>\n                <div class="note">\n                  ${o.outerHTML}\n                  ${l}\n                </div>\n                <div class="--name">\n                  <h3>\n                    ${e.name}\n                  </h3>\n                </div>\n                <div class="--prices">\n                  <span class="--price">${e.price.price.gross.formatted}</span>\n                  ${t}\n                </div>\n                <div class="--opinions">\n                  <div class="--opinion">
31\n                    <span>${i?.results[0]?.content}</span>\n                  </div>\n                  <div class="--author">\n                    <span>${i?.results[0]?.author}</span>\n                  </div>\n                </div>\n              </a>\n              <div class="product__shopping_list">\n                <a href="#shoppingList" class="product__shopping_list_link" data-id="${e.id}" data-size="${r}"></a>\n              </div>\n            </div>\n          `;break}}c.insertAdjacentHTML("beforeend",a)}e.classList.remove("skeleton"),e.classList.remove("load-content"),e.classList.add("loaded"),this.setHeight(c),(e.classList.contains("slider")||e.classList.contains("slider_mobile")&&1==app_shop.vars.view)&&this.initSlick(c)},initAll:function(e){e.forEach((e=>{this.loadHotspot(e),e.classList.add("load-content")})),this.initEvents()}};app_shop.run((function(){$("[data-tablet-class]").each((function(){$(this).removeClass($(this).attr("data-tablet-class"))})),$("[data-mobile-class]").each((function(){$(this).removeClass($(this).attr("data-mobile-class"))})),$("html").removeClass("_mobile")}),[3,4],"body",!0),app_shop.run((function(){setTabletClass(),$("#projector_form div.product_info").prepend($("div.product_info_top")),$("#projector_form h1").after($("div.projector_description"))}),2,"body",!0),app_shop.run((function(){setMobileClass(),$("#n67367").length?($("#n67367").before($("div.product_info_top")),$("#n67367").before($("div.projector_description"))):($("#projector_form div.product_info").append($("div.product_info_top")),$("#projector_form div.product_info").append($("div.projector_description")))}),1,"body",!0),app_shop.run((function(){$(".cm").find("img.rwd-src").each((function(){$this=$(this),$this.attr("src",app_shop.fn.getRwdSrc($this))}))}),[1,2,3,4]),app_shop.run((function(){$("img.b-lazy").parents("a").addClass("loading"),app_shop.vars.bLazy=new Blazy({breakpoints:[{width:420,src:"data-src-small"}],success:function(e){$(e).parents(".loading").removeClass("loading"),$("#main_banner1 .main_slider.slick-slider").length&&setTimeout((()=>{$("#main_banner1 .main_slider").find(".slick-slide").height("auto"),$("#main_banner1 .main_slider").slick("setOption","","",!0)}),100)}}),$(".form-group .form-control, .f-group .f-control").on("change input focus blur",app_shop.fn.addFocused),setTimeout((()=>{$(".form-group .form-control, .f-group .f-control").each(app_shop.fn.addFocused)}),500),$(".f-group.--file .f-control").on("change",(function(){var e=$
31(this),t=e.siblings(".f-label");e.val().length?(t.addClass("--file"),t.attr("data-label")||t.attr("data-label",t.text()),t.text(e.val())):(t.removeClass("--file"),t.text(t.attr("data-label")))})),$(".drop_down_label").append(" <span>"),$(".drop_down_list > .active").each((function(){$(this).parents(".drop_down_wrapper").find(".drop_down_label span").html($(this).html())})),$(document).on("click touchstart",".drop_down_label",(function(){$(this).toggleClass("open_list"),$(this).next(".drop_down_list").slideToggle()})),$(document).on("click",".drop_down_list > *",(function(){$(this).parents(".drop_down_wrapper").find(".drop_down_label span").text($(this).text()),$(this).parents(".drop_down_wrapper").find(".drop_down_label").removeClass("open_list"),$(this).parents(".drop_down_list").slideUp()})),$("table.ui-responsive").each((function(){if($(this).find("thead th").length)var e=$.map($(this).find("thead tr th"),(function(e,t){return $(e).text()}));else e=$.map($(this).find("thead tr td"),(function(e,t){return $(e).text()}));$(this).find("tbody tr").each((function(){$(this).find("td:first").replaceWith((function(t,i){return e[0]?$("<th/>").html('<b class="ui-table-cell-label">'+e[0]+"</b>"+i):$("<th/>").html(i)}))})),$(this).find("tbody tr").each((function(){$(this).find("td").each((function(t){e[t+1]&&$(this).prepend('<b class="ui-table-cell-label">'+e[t+1]+"</b>")}))}))})),$(".align_row").iai_align(),$("body").append($("#alert_cover")),$("body").backTop({txt:'<i class="icon-chevron-up"></i>'});let e=window.visualViewport?.01*window.visualViewport.height:.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`),window.visualViewport?window.visualViewport.addEventListener("resize",(function(){e=.01*window.visualViewport.height,document.documentElement.style.setProperty("--vh",`${e}px`)})):window.addEventListener("resize",(()=>{e=.01*window.innerHeight,document.documentElement.style.setProperty("--vh",`${e}px`)}))}),"all"),app_shop.run((function(){$(".article__date").each((function(){const e=$(this),t=app_shop.fn.news_data({data:e.text(),month_names:iaical_shortNames,format:"<div>%d</div><span>%m</span>"});t&&e.html(t)}
31))}),"all",".article__date"),app_shop.fn.fixed_scroll=(e,t)=>{let i=window.scrollY;const n=window;window.addEventListener("scroll",(function(r){n.scrollY>i&&n.scrollY>0?!e.classList.contains(t)&&e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t),i=n.scrollY}))},app_shop.fn.isIos=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,app_shop.vars.isIos=app_shop.fn.isIos(),app_shop.fn.isSafari=()=>isSafari=navigator.vendor&&navigator.vendor.indexOf("Apple")>-1&&navigator.userAgent&&-1==navigator.userAgent.indexOf("CriOS")&&-1==navigator.userAgent.indexOf("FxiOS"),app_shop.vars.isSafari=app_shop.fn.isSafari(),app_shop.run((function(){app_shop.fn.fixed_scroll(document.querySelector("html"),"scroll"),app_shop.vars.isIos&&$("html").addClass("--ios"),app_shop.vars.isSafari&&$("html").addClass("--safari")}),[1,2],"#container"),app_shop.run((function(){$(".moreInfo__show").on("click",(function(){$(this).parent().toggleClass("--hover"),$(this).parent().find(".moreInfo").toggleClass("--hover")}))}),"all",".moreInfo__show"),app_shop.txt.txt_77752_1="Nie można wgrać pliku %s, ponieważ przekracza maksymalny dozwolony rozmiar %dMB.",app_shop.txt.txt_77752_2="Nie można wgrać pliku %s, ponieważ załączanie plików tego typu jest niedozwolone.",app_shop.txt.txt_77752_3="Dopuszczalne formaty zdjęć: .jpg.",app_shop.txt.txt_77752_4="Maksymalny rozmiar zdjęcia to: %spx.";var hotspotAjaxWrapType="";function ownKeys(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach((function(t){_defineProperty(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}app_shop.txt.txt_validation1="Minimalna liczba znaków dla tego pola to ",app_shop.txt.txt_validation2="Maksymalna liczba znaków dla tego pola to ",app_shop.txt.txt_validation3="Błędnie wpisany e-mail. Wpisz pełny adres e-mail, np. [email protected].",app_shop.txt.txt_validation4="Te pole jest obowiązkowe.",app_shop.txt.txt_validation5="Format numeru konta bankowego jest niepoprawny ",app_shop.txt.txt_validation6="Numer telefonu powinien zawierać minimum 9 znaków ",app_shop.txt.hotspot_prev="Poprzedni z tej kategorii",app_shop.txt.hotspot_next="Następny z tej kategorii",function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(){for(var e=window.document,t=r(e);t;)t=r(e=t.ownerDocument);return e}(),t=[],i=null,n=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return i||(i=function(e,i){n=e&&i?p(e,i):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),i},s._resetCrossOriginUpdater=function(){i=null,n=null},s.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},s.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,i){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==i[t-1]}))},s.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},s.prototype._monitorIntersections=function(t){var i=t.defaultView;if(i&&-1==this._monitoringDocuments.indexOf(t)){var n=this._checkForIntersections,a=null,s=null;this.POLL_INTERVAL?a=i.setInterval(n,this.POLL_INTERVAL):(o(i,"resize",n,!0),o(t,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in i&&(s=new i.MutationObserver(n)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",n,!0)),l(t,"scroll",n,!0),s&&s.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var d=r(t);d&&this._monitorIntersections(d.ownerDocument)}}},s.prototype._unmonitorIntersections=function(t){var i=this._monitoringDocuments.indexOf(t);if(-1!=i){var n=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var i=e.element.ownerDocument;if(i==t)return!0;for(;i&&i!=n;){var a=r(i);if((i=a&&a.ownerDocument)==t)return!0}return!1}))){var a=this._monitoringUnsubscribes[i];if(this._monitoringDocuments.splice(i,1),this._monitoringUnsubscribes.splice(i,1),a(),t!=n){var s=r(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},s.prototype._checkForIntersections=function(){if(this.root||!i||n){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};
vendor: 4,456 bytes, line 31
31this._observationTargets.forEach((function(n){var r=n.element,s=c(r),o=this._rootContainsTarget(r),l=n.entry,d=e&&o&&this._computeTargetAndRootIntersection(r,s,t),p=null;this._rootContainsTarget(r)?i&&!this.root||(p=t):p={top:0,bottom:0,left:0,right:0,width:0,height:0};var u=n.entry=new a({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:p,intersectionRect:d});l?e&&o?this._hasCrossedThreshold(l,u)&&this._queuedEntries.push(u):l&&l.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(t,r,a){if("none"!=window.getComputedStyle(t).display){for(var s,o,l,d,u,f,m,_,g=r,v=h(t),y=!1;!y&&v;){var b=null,x=1==v.nodeType?window.getComputedStyle(v):{};if("none"==x.display)return null;if(v==this.root||9==v.nodeType)if(y=!0,v==this.root||v==e)i&&!this.root?!n||0==n.width&&0==n.height?(v=null,b=null,g=null):b=n:b=a;else{var w=h(v),k=w&&c(w),S=w&&this._computeTargetAndRootIntersection(w,k,a);k&&S?(v=w,b=p(k,S)):(v=null,g=null)}else{var $=v.ownerDocument;v!=$.body&&v!=$.documentElement&&"visible"!=x.overflow&&(b=c(v))}if(b&&(s=b,o=g,void 0,void 0,void 0,void 0,void 0,void 0,l=Math.max(s.top,o.top),d=Math.min(s.bottom,o.bottom),u=Math.max(s.left,o.left),_=d-l,g=(m=(f=Math.min(s.right,o.right))-u)>=0&&_>=0&&{top:l,bottom:d,left:u,right:f,width:m,height:_}||null),!g)break;v=v&&h(v)}return g}},s.prototype._getRootRect=function(){var t;if(this.root&&!f(this.root))t=c(this.root);else{var i=f(this.root)?this.root:e,n=i.documentElement,r=i.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},s.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,i){return"px"==t.unit?t.value:t.value*(i%2?e.width:e.height)/100})),i={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i},s.prototype._hasCrossedThreshold=function(e,t){var i=e&&e.isIntersecting?e.intersectionRatio||0:-1,n=t.isIntersecting?t.intersectionRatio||0:-1;if(i!==n)for(var r=0;r<this.thresholds.length;r++){var a=this.thresholds[r];if(a==i||a==n||a<i!=a<n)return!0}},s.prototype._rootIsInDom=function(){return!this.root||u(e,this.root)},s.prototype._rootContainsTarget=function(t){var i=this.root&&(this.root.ownerDocument||this.root)||e;return u(i,t)&&(!this.root||i==t.ownerDocument)},s.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},s.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=a}function r(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,i=t.width*t.height,n=this.intersectionRect,r=n.width*n.height;this.intersectionRatio=i?Number((r/i).toFixed(4)):this.isIntersecting?1:0}function s(e,t){var i,n,r,a=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(a.root&&1!=a.root.nodeType&&9!=a.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(i=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout((function(){i(),r=null}),n))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function o(e,t,i,n){"function"==typeof e.addEventListener?e.addEventListener(t,i,n||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,i)}function l(e,t,i,n){"function"==typeof e.removeEventListener?e.removeEventListener(t,i,n||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,i)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}
31return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function p(e,t){var i=t.top-e.top,n=t.left-e.left;return{top:i,left:n,height:t.height,width:t.width,bottom:i+t.height,right:n+t.width}}function u(e,t){for(var i=t;i;){if(i==e)return!0;i=h(i)}return!1}function h(t){var i=t.parentNode;return 9==t.nodeType&&t!=e?r(t):(i&&i.assignedSlot&&(i=i.assignedSlot.parentNode),i&&11==i.nodeType&&i.host?i.host:i)}function f(e){return e&&9===e.nodeType}}();const Alertek={alert_cover:"",cloudID:"",Start:(e,t)=>{if($("#alert_cover").remove(),$("body").append(`<div id="alert_cover" class="alertek ${t?`${t}`:""}" style="display:none" onclick="Alertek.hide_alert();"><![CDATA[]]></div>`),t||$("#alert_cover").addClass("menu_messages_message"),Alertek.cloudID=$("#alert_cover"),e){if(Alertek.cloudID.html(e),!t){const e=parseInt($(window).height()/2-Alertek.cloudID.height()/2+$(window).scrollTop()),t=parseInt($(window).width()/2-Alertek.cloudID.width()/2);Alertek.cloudID.css({top:e,marginLeft:t,left:0})}Alertek.cloudID.fadeIn(500),setTimeout(Alertek.End,4e3)}},End:()=>{Alertek.cloudID.fadeOut(500)},Info:e=>{Alertek.Start(e,"--info")},Warning:e=>{Alertek.Start(e,"--warning")},Error:e=>{Alertek.Start(e,"--error")},Success:e=>{Alertek.Start(e,"--success")},show_alert:e=>{Alertek.Start(e)},hide_alert:()=>{Alertek.End()}};$(this).addClass($(this).attr("data-tablet-class")),$("html").removeClass("_mobile"),app_shop.run((function(){setTimeout((function(){$.cookie("ck_cook");$.cookie("login")&&($.cookie("ck_cook",!0,{expires:30}),$("#ckdsclmrshtdwn").click())}),500)}),"all","body"),function(e){e.fn.separateElements=function(t){var i=e.extend({numCol:4},t);return this.each((function(){$this=e(this),$this.find(".separator").remove(),$this.find("> *:nth-child("+i.numCol+"n)").after('<div class="clearfix separator">')}))}}(jQuery),function(e){e.fn.wrappTableLayout=function(t){var i=e.extend({numCol:4,wrapper:'<div class="table_row">',tableClass:"table_wrapper",cellClass:"table_cell",wrapp:!0},t);return this.each((function(){$this=e(this);var t=$this.find("> *");if($this.is("."+i.tableClass)&&($this.removeClass(i.tableClass),t.removeClass(i.cellClass),t.find("> *").unwrap(),t=$this.find("> *")),i.wrapp){$this.addClass(i.tableClass),t.addClass(i.cellClass);for(var n=0,r=t.length;n<r;n+=i.numCol)t.slice(n,n+i.numCol).wrapAll(i.wrapper)}}))}}(jQuery);var IAI_Ajax={Request:function(_url,pd,fun){$.ajax({type:"POST",url:_url,data:pd}).done((function(responseText){fun&&fun.onSuccess&&(fun.arg?eval(fun.onSuccess+"('"+responseText+"', '"+fun.arg+"');"):eval(fun.onSuccess+"('"+responseText+"');"))}))}};app_shop.fn.addFocused=function(e,t){const i=t?$(t):$(this);(i.next().hasClass("control-label")||i.next().hasClass("f-label"))&&(""!=i.val()?i.addClass("focused"):i.removeClass("focused"))},$.fn.textWidth=function(e,t){return $.fn.textWidth.fakeEl||($.fn.textWidth.fakeEl=$("<span>").hide().appendTo(document.body)),$.fn.textWidth.fakeEl.text(e||this.val()||this.text()).css("font",t||this.css("font")),$.fn.textWidth.fakeEl.width()};const loadImageFromInput=e=>new Promise(((t,i)=>{const n=(window.URL||window.webkitURL).createObjectURL(e),r=new Image;r.onload=()=>t({width:r.width,height:r.height}),r.onerror=i,r.src=n}));$(document).on("change","input[type=file]",(function(){if(!(window.File&&window.FileReader&&window.FileList&&window.Blob))return!1;const e=this.files[0],{name:t,size:i,type:n}=e||{},[r]=t.split(".").reverse(),a=$(this).data("max_filesize"),s=a&&i<=Number(a),o=app_shop.vars.blacklist_mime&&app_shop.vars.blacklist_mime.includes(n),l=app_shop.vars.blacklist_extension&&app_shop.vars.blacklist_extension.includes(r);let c="";if(o||l&&app_shop.txt.txt_77752_2)c=app_shop.txt.txt_77752_2.format(t);else if(!s&&app_shop.txt.txt_77752_1&&a)c=app_shop.txt.txt_77752_1.format(t,(a/1048576).toFixed(2));else if("opinion_photo"===$(this).attr("name"))if("jpg"!==r&&app_shop.txt.txt_77752_3)c=app_shop.txt.txt_77752_3;else if(app_shop.txt.txt_77752_4){const t=2048,i=1536;loadImageFromInput(e).then((e=>{const{width:n,height:r}=e;(n>t||r>i)&&(c=app_shop.txt.txt_77752_4.format(`${t}x${i}`),$(this).val(""),Alertek.Start(c))})).catch((e=>console.error(e)))}return c?($(this).val(""),Alertek.Start(c),!1):void 0})),$.fn.inView=function(){return $(window).scrollTop()+$(window).height()+100>$(this).position().top},function(e){e.fn.backTop=function(t){var i=e.extend({speed:500,txt:"&uarr;",id:"backTop",duration:500},t);e("#"+i.id).remove(),e("body").append("<a id="+i.id+">"+i.txt+"</a>");var n=e("#"+i.id),r=2*e(window).height(),a=i.speed;getRightOffset=function(){var t=10,i=.5*(e(window).width()-e("#container").outerWidth())-2*t;i>=n.outerWidth()&&(t=i-n.outerWidth()+t),n.css("right",t+"px")},getRightOffset(),e(window).resize((function(){getRightOffset()})),e(document).scroll((function(){e(window).scrollTop()>=r?n.fadeIn(a):n.fadeOut(a)})),n.click((function(){e("html, body").animate({scrollTop:0},{duration:i.duration})}))}}(jQuery),function(e,t,i){function n(e,t){return typeof e===t}function r(e){var t=k.className,i=b._config.classPrefix||"";if(S&&(t=t.baseVal),b._config.enableJSClass){var n=new RegExp("(^|\\s)"+i+"no-js(\\s|$)");t=t.replace(n,"$1"+i+"js$2")}b._config.enableClasses&&(t+=" "+i+e.join(" "+i),S?k.className.baseVal=t:k.className=t)}function a(e,t){if("object"==typeof e)for(var i in e)w(e,i)&&a(i,e[i]);else{var n=(e=e.toLowerCase()).split("."),s=b[n[0]];if(2==n.length&&(s=s[n[1]]),void 0!==s)return b;t="function"==typeof t?t():t,1==n.length?b[n[0]]=t:(!b[n[0]]||b[n[0]]instanceof Boolean||(b[n[0]]=new Boolean(b[n[0]])),b[n[0]][n[1]]=t),r([(t&&0!=t?"":"no-")+n.join("-")]),b._trigger(e,t)}return b}function s(e){return e.replace(/([a-z])-([a-z])/g,(function(e,t,i){return t+i.toUpperCase()})).replace(/^-/,"")}function o(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):S?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function l(t,i,n){var r;if("getComputedStyle"in e){r=getComputedStyle.call(e,t,i);var a=e.console;if(null!==r)n&&(r=r.getPropertyValue(n));else if(a){a[a.error?"error":"log"].call(a,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else r=!i&&t.currentStyle&&t.currentStyle[n];return r}function c(e,t){return!!~(""+e).indexOf(t)}function d(e,t){return function(){return e.apply(t,arguments)}}function p(e,i,n,r){var a,s,l,c,d="modernizr",p=o("div"),u=function(){var e=t.body;return e||((e=o(S?"svg":"body")).fake=!0),e}();if(parseInt(n,10))for(;n--;)(l=o("div")).id=r?r[n]:d+(n+1),p.appendChild(l);return(a=o("style")).type="text/css",a.id="s"+d,(u.fake?u:p).appendChild(a),u.a
31ppendChild(p),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(t.createTextNode(e)),p.id=d,u.fake&&(u.style.background="",u.style.overflow="hidden",c=k.style.overflow,k.style.overflow="hidden",k.appendChild(u)),s=i(p,e),u.fake?(u.parentNode.removeChild(u),k.style.overflow=c,k.offsetHeight):p.parentNode.removeChild(p),!!s}function u(e){return e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()})).replace(/^ms-/,"-ms-")}function h(t,n){var r=t.length;if("CSS"in e&&"supports"in e.CSS){for(;r--;)if(e.CSS.supports(u(t[r]),n))return!0;return!1}if("CSSSupportsRule"in e){for(var a=[];r--;)a.push("("+u(t[r])+":"+n+")");return p("@supports ("+(a=a.join(" or "))+") { #modernizr { position: absolute; } }",(function(e){return"absolute"==l(e,null,"position")}))}return i}function f(e,t,r,a){function l(){p&&(delete j.style,delete j.modElem)}if(a=!n(a,"undefined")&&a,!n(r,"undefined")){var d=h(e,r);if(!n(d,"undefined"))return d}for(var p,u,f,m,_,g=["modernizr","tspan","samp"];!j.style&&g.length;)p=!0,j.modElem=o(g.shift()),j.style=j.modElem.style;for(f=e.length,u=0;f>u;u++)if(m=e[u],_=j.style[m],c(m,"-")&&(m=s(m)),j.style[m]!==i){if(a||n(r,"undefined"))return l(),"pfx"!=t||m;try{j.style[m]=r}catch(e){}if(j.style[m]!=_)return l(),"pfx"!=t||m}return l(),!1}function m(e,t,i,r,a){var s=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+T.join(s+" ")+s).split(" ");return n(t,"string")||n(t,"undefined")?f(o,t,r,a):function(e,t,i){var r;for(var a in e)if(e[a]in t)return!1===i?e[a]:n(r=t[e[a]],"function")?d(r,i||t):r;return!1}(o=(e+" "+C.join(s+" ")+s).split(" "),t,i)}function _(e,t,n){return m(e,i,i,t,n)}var g=[],v=[],y={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout((function(){t(i[e])}),0)},addTest:function(e,t,i){v.push({name:e,fn:t,options:i})},addAsyncTest:function(e){v.push({name:null,fn:e})}},b=function(){};b.prototype=y,b=new b;var x=y._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];y._prefixes=x;var w,k=t.documentElement,S="svg"===k.nodeName.toLowerCase(),$="Moz O ms Webkit",C=y._config.usePrefixes?$.toLowerCase().split(" "):[];y._domPrefixes=C,function(){var e={}.hasOwnProperty;w=n(e,"undefined")||n(e.call,"undefined")?function(e,t){return t in e&&n(e.constructor.prototype[t],"undefined")}:function(t,i){return e.call(t,i)}}(),y._l={},y.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),b.hasOwnProperty(e)&&setTimeout((function(){b._trigger(e,b[e])}),0)},y._trigger=function(e,t){if(this._l[e]){var i=this._l[e];setTimeout((function(){var e;for(e=0;e<i.length;e++)(0,i[e])(t)}),0),delete this._l[e]}},b._q.push((function(){y.addTest=a})),b.addTest("canvas",(function(){var e=o("canvas");return!(!e.getContext||!e.getContext("2d"))}));var T=y._config.usePrefixes?$.split(" "):[];y._cssomPrefixes=T;var E=function(t){var n,r=x.length,a=e.CSSRule;if(void 0===a)return i;if(!t)return!1;if((n=(t=t.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in a)return"@"+t;for(var s=0;r>s;s++){var o=x[s];if(o.toUpperCase()+"_"+n in a)return"@-"+o.toLowerCase()+"-"+t}return!1};y.atRule=E;var D=y.testStyles=p;D("#modernizr { width: 50vw; }",(function(t){var i=parseInt(e.innerWidth/2,10),n=parseInt(l(t,null,"width"),10);b.addTest("cssvwunit",n==i)}));var I={elem:o("modernizr")};b._q.push((function(){delete I.elem}));var j={style:I.elem.style};b._q.unshift((function(){delete j.style})),y.testAllProps=m,y.prefixed=function(e,t,i){return 0===e.indexOf("@")?E(e):(-1!=e.indexOf("-")&&(e=s(e)),t?m(e,t,i):m(e,"pfx"))},y.testAllProps=_,b.addTest("flexbox",_("flexBasis","1px",!0)),b.addTest("touch",(function(){var i;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)i=!0;else{var n=["@media (",x.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");D(n,(function(e){i=9===e.offsetTop}))}return i})),function(){var e,t,i,r,a,s;for(var o in v)if(v.hasOwnProperty(o)){if(e=[],(t=v[o]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(i=0;i<t.options.aliases.length;i++)e.push(t.options.aliases[i].toLowerCase());for(r=n(t.fn,"function")?t.fn():t.fn,a=0;a<e.length;a++)1===(s=e[a].split(".")).length?b[s[0]]=r:(!b[s[0]]||b[s[0]]instanceof Boolean||(b[s[0]]=new Boolean(b[s[0]])),b[s[0]][s[1]]=r),g.push((r?"":"no-")+s.join("-"))}}(),r(g),delete y.addTest,delete y.addAsyncTest;for(var N=0;N<b._q.length;N++)b._q[N]();e.Modernizr=b}(window,document),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.Blazy=t()}(this,(function(){function e(e){var i=e._util;i.elements=function(e){for(var t=[],i=(e=e.root.querySelectorAll(e.selector)).length;i--;t.unshift(e[i]));return t}(e.options),i.count=i.elements.length,i.destroyed&&(i.destroyed=!1,e.options.container&&p(e.options.container,(function(e){c(e,"scroll",i.validateT)})),c(window,"resize",i.saveViewportOffsetT),c(window,"resize",i.validateT),c(window,"scroll",i.validateT)),t(e)}function t(e){for(var t=e._util,n=0;n<t.count;n++){var r,a=t.elements[n],o=a;r=e.options;var l=o.getBoundingClientRect();r.container&&_&&(o=o.closest(r.containerClass))?r=!!i(o=o.getBoundingClientRect(),f)&&i(l,{top:o.top-r.offset,right:o.right+r.offset,bottom:o.bottom+r.offset,left:o.left-r.offset}):r=i(l,f),(r||s(a,e.options.successClass))&&(e.load(a),t.elements.splice(n,1),t.count--,n--)}0===t.count&&e.destroy()}function i(e,t){return e.right>=t.left&&e.bottom>
31=t.top&&e.left<=t.right&&e.top<=t.bottom}function n(e,t,i){if(!s(e,i.successClass)&&(t||i.loadInvisible||0<e.offsetWidth&&0<e.offsetHeight))if(t=e.getAttribute(h)||e.getAttribute(i.src)){var n=(t=t.split(i.separator))[m&&1<t.length?1:0],l=e.getAttribute(i.srcset),u="img"===e.nodeName.toLowerCase(),f=(t=e.parentNode)&&"picture"===t.nodeName.toLowerCase();if(u||void 0===e.src){var _=new Image,g=function(){i.error&&i.error(e,"invalid"),o(e,i.errorClass),d(_,"error",g),d(_,"load",v)},v=function(){u?f||a(e,n,l):e.style.backgroundImage='url("'+n+'")',r(e,i),d(_,"load",v),d(_,"error",g)};f&&(_=e,p(t.getElementsByTagName("source"),(function(e){var t=i.srcset,n=e.getAttribute(t);n&&(e.setAttribute("srcset",n),e.removeAttribute(t))}))),c(_,"error",g),c(_,"load",v),a(_,n,l)}else e.src=n,r(e,i)}else"video"===e.nodeName.toLowerCase()?(p(e.getElementsByTagName("source"),(function(e){var t=i.src,n=e.getAttribute(t);n&&(e.setAttribute("src",n),e.removeAttribute(t))})),e.load(),r(e,i)):(i.error&&i.error(e,"missing"),o(e,i.errorClass))}function r(e,t){o(e,t.successClass),t.success&&t.success(e),e.removeAttribute(t.src),e.removeAttribute(t.srcset),p(t.breakpoints,(function(t){e.removeAttribute(t.src)}))}function a(e,t,i){i&&e.setAttribute("srcset",i),e.src=t}function s(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")}function o(e,t){s(e,t)||(e.className+=" "+t)}function l(e){f.bottom=(window.innerHeight||document.documentElement.clientHeight)+e,f.right=(window.innerWidth||document.documentElement.clientWidth)+e}function c(e,t,i){e.attachEvent?e.attachEvent&&e.attachEvent("on"+t,i):e.addEventListener(t,i,{capture:!1,passive:!0})}function d(e,t,i){e.detachEvent?e.detachEvent&&e.detachEvent("on"+t,i):e.removeEventListener(t,i,{capture:!1,passive:!0})}function p(e,t){if(e&&t)for(var i=e.length,n=0;n<i&&!1!==t(e[n],n);n++);}function u(e,t,i){var n=0;return function(){var r=+new Date;r-n<t||(n=r,e.apply(i,arguments))}}var h,f,m,_;return function(i){if(!document.querySelectorAll){var r=document.createStyleSheet();document.querySelectorAll=function(e,t,i,n,a){for(a=document.all,t=[],i=(e=e.replace(/\[for\b/gi,"[htmlFor").split(",")).length;i--;){for(r.addRule(e[i],"k:v"),n=a.length;n--;)a[n].currentStyle.k&&t.push(a[n]);r.removeRule(0)}return t}}var a=this,s=a._util={};s.elements=[],s.destroyed=!0,a.options=i||{},a.options.error=a.options.error||!1,a.options.offset=a.options.offset||100,a.options.root=a.options.root||document,a.options.success=a.options.success||!1,a.options.selector=a.options.selector||".b-lazy",a.options.separator=a.options.separator||"|",a.options.containerClass=a.options.container,a.options.container=!!a.options.containerClass&&document.querySelectorAll(a.options.containerClass),a.options.errorClass=a.options.errorClass||"b-error",a.options.breakpoints=a.options.breakpoints||!1,a.options.loadInvisible=a.options.loadInvisible||!1,a.options.successClass=a.options.successClass||"b-loaded",a.options.validateDelay=a.options.validateDelay||25,a.options.saveViewportOffsetDelay=a.options.saveViewportOffsetDelay||50,a.options.srcset=a.options.srcset||"data-srcset",a.options.src=h=a.options.src||"data-src",_=Element.prototype.closest,m=1<window.devicePixelRatio,(f={}).top=0-a.options.offset,f.left=0-a.options.offset,a.revalidate=function(){e(this)},a.load=function(e,t){var i=this.options;void 0===e.length?n(e,t,i):p(e,(function(e){n(e,t,i)}))},a.destroy=function(){var e=this._util;this.options.container&&p(this.options.container,(function(t){d(t,"scroll",e.validateT)})),d(window,"scroll",e.validateT),d(window,"resize",e.validateT),d(window,"resize",e.saveViewportOffsetT),e.count=0,e.elements.length=0,e.destroyed=!0},s.validateT=u((function(){t(a)}),a.options.validateDelay,a),s.saveViewportOffsetT=u((function(){l(a.options.offset)}),a.options.saveViewportOffsetDelay,a),l(a.options.offset),p(a.options.breakpoints,(function(e){if(e.width>=window.screen.width)return h=e.src,!1})),setTimeout((function(){e(a)}))}})),function(e){var t,i,n="center",r="left",a="right",s="auto";function o(t){this.$element=e(t),this.original_text=this.$element.html(),this.settings=e.extend({},e.fn.trunk8.defaults)}function l(){var t,n,r,a,o=this.data("trunk8"),l=o.settings,c=l.width,d=l.side,p=l.fill,u=i.getLineHeight(this)*l.lines,h=o.original_text,f=h.length,m="";if(this.html(h),c===s){if(this.height()<=u)return;for(t=0,n=f-1;t<=n;)r=t+(n-t>>1),a=i.eatStr(h,d,f-r,p),this.html(a),this.height()>u?n=r-1:(t=r+1,m=m.length>a.length?m:a);this.html(""),this.html(m),l.tooltip&&this.attr("title",h)}else isNaN(c)?e.error('Invalid width "'+c+'".'):(r=f-c,a=i.eatStr(h,d,r,p),this.html(a),l.tooltip&&this.attr("title",h))}o.prototype.updateSettings=function(t){this.settings=e.extend(this.settings,t)},t={init:function(t){return this.each((function(){var i=e(this),n=i.data("trunk8");n||i.data("trunk8",n=new o(this)),n.updateSettings(t),l.call(i)}))},update:function(t){return this.each((function(){var i=e(this);t&&(i.data("trunk8").original_text=t),l.call(i)}))},revert:function(){return this.each((function(){var t=e(this).data("trunk8").original_text;e(this).html(t)}))},getSettings:function(){return this.get(0).data("trunk8").settings}},i={eatStr:function(t,s,o,l){var c,d,p=t.length,u=i.eatStr.generateKey.apply(null,arguments);if(i.eatStr.cache[u])return i.eatStr.cache[u];
31if("string"==typeof t&&0!==p||e.error('Invalid source string "'+t+'".'),o<0||o>p)e.error('Invalid bite size "'+o+'".');else if(0===o)return t;switch("string"!=typeof(l+"")&&e.error("Fill unable to be converted to a string."),s){case a:return i.eatStr.cache[u]=e.trim(t.substr(0,p-o))+l;case r:return i.eatStr.cache[u]=l+e.trim(t.substr(o));case n:return c=p>>1,d=o>>1,i.eatStr.cache[u]=e.trim(i.eatStr(t.substr(0,p-c),a,o-d,""))+l+e.trim(i.eatStr(t.substr(p-c),r,d,""));default:e.error('Invalid side "'+s+'".')}},getLineHeight:function(t){var i,n=e(t),r=n.css("float"),a=n.css("position"),s=n.html(),o="line-height-test";return"none"!==r&&n.css("float","none"),"absolute"===a&&n.css("position","static"),n.html("i").wrap('<div id="'+o+'" />'),i=e("#"+o).innerHeight(),n.html(s).css({float:r,position:a}).unwrap(),i}},i.eatStr.cache={},i.eatStr.generateKey=function(){return Array.prototype.join.call(arguments,"")},e.fn.trunk8=function(i){return t[i]?t[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void e.error("Method "+i+" does not exist on jQuery.trunk8"):t.init.apply(this,arguments)},e.fn.trunk8.defaults={fill:"&hellip;",lines:1,side:a,tooltip:!0,width:s}}(jQuery);var responsiveSwitch=function(){var e=parseInt(window.responsiveSwitchBreakpoint)||1024,t="ResponsiveSwitch",i="content",n="data-rs",r="rs-link-to-desktop",a="rs-link-to-responsive",s="rs-link-inactive",o="rs-link-active";function l(){var r=document.querySelector('meta[name="viewport"]');return null==r.getAttribute(n)&&r.setAttribute(n,r.getAttribute(i)),r.getAttribute(i)==r.getAttribute(n)?(document.cookie=t+"=true;path=/",document.documentElement.clientWidth!=window.innerWidth?document.location.href=m():r.setAttribute(i,"width="+e+"px, initial-scale="+document.documentElement.clientWidth/e)):(document.cookie=t+"=false;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT",document.documentElement.clientWidth!=window.innerWidth?document.location.href=m():r.setAttribute(i,r.getAttribute(n))),!1}var c=!1;function d(){for(var t=document.querySelectorAll(".rs-link"),i=0;i<t.length;i++){var n=t[i];null!=n&&(f(n,a),f(n,r),f(n,s),f(n,o),u()?(h(n,a),h(n,o),n.innerHTML=n.getAttribute("data-link-responsive")):document.documentElement&&(document.documentElement.clientWidth<e||"true"==n.getAttribute("data-always-visible"))?(h(n,r),h(n,o),n.innerHTML=n.getAttribute("data-link-desktop")):(h(n,s),n.innerHTML=""),c||n.addEventListener("click",(function(e){(e=e||window.event).preventDefault(),p()}),!1))}c=!0}function p(){l(),d()}function u(){return document.cookie.search(t+"=true")>-1}function h(e,t){e.className+=" "+t}function f(e,t){e.className=" "+e.className+" ",e.className=e.className.replace(" "+t+" ","")}function m(){var e=(new Date).getTime();return document.location.protocol+"//"+document.location.host+document.location.pathname+(window.location.search?window.location.search+"&":"?")+"rsTimestamp="+e+document.location.hash}return u()&&l(),document.addEventListener&&(document.addEventListener("DOMContentLoaded",d,!1),document.addEventListener("orientationchange",d,!1),window.addEventListener("resize",d,!1)),{toggle:p}}();function procesArrayFunctions(e){var t,i;for(t=0,i=e.length;t<i;t++){$(e[t][1]).length&&e[t][0]($(e[t][1]))}}$.fn.maxHeightO=function(){var e=0;return this.each((function(){e=Math.max(e,$(this).outerHeight())})),e},$.fn.maxHeight=function(){var e=0;return this.height("auto"),this.each((function(){e=Math.max(e,$(this).outerHeight())})),this.height(e),this};var setMobileClass=function(){$("[data-tablet-class]").each((function(){$(this).removeClass($(this).attr("data-tablet-class"))})),$("[data-mobile-class]").each((function(){$(this).addClass($(this).attr("data-mobile-class"))})),$("html").addClass("_mobile")},setTabletClass=function(){$("[data-mobile-class]").each((function(){$(this).removeClass($(this).attr("data-mobile-class"))})),$("[data-tablet-class]").each((function(){$(this).addClass($(this).attr("data-tablet-class"))})),$("html").removeClass("_mobile")};app_shop.formControl={vars:{minLength:function(e){return app_shop.txt.txt_validation1+e+"."},maxLength:function(e){return app_shop.txt.txt_validation2+e+"."},email:app_shop.txt.txt_validation3,required:app_shop.txt.txt_validation4,bankAccount:app_shop.txt.txt_validation5,phone:app_shop.txt.txt_validation6},patterns:{email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},timeHandle:"",ajaxValidation:function(e,t,i,n,r){var a,s,o,l,c,d;if(s=this,o=e.parent(),l=e.data("validation"),d=e.data("ajaxtype"),a=l+"="+t,e.data("serialize")&&e.data("serialize").indexOf("data-")>-1&&(a+="&"+e.attr(e.data("serialize"))),""==t)return s.clearValidation(o),s.resetRequiredClass(o),!1;"get"==d?$.get(i,a,(function(t){t.errno?("bankAccount"==l&&(c=s.vars.bankAccount),s.addError(e,c),r&&r()
31):(s.addSuccess(e),n&&n())}),"json"):$.post(i,a,(function(t){t.errno?("bankAccount"==l&&(c=s.vars.bankAccount),s.addError(e,c),r&&r()):(s.addSuccess(e),n&&n())}),"json")},ajaxValidationWithData:function(e,t,i,n){$.post(e,t,(function(e){0!=e.errno?n&&n(e):i&&i(e)}),"json")},isNumeric:function(e){const t="string"==typeof e?e.replace(/\s/g,""):e;return!isNaN(parseFloat(t))&&isFinite(t)},validate:function(e,t){var i,n,r,a,s,o,l;if(r=e.parent(),i=e.attr("type"),n=e.val(),this.patterns.email,a=e.attr("minlength"),s=e.attr("maxlength"),o=e.data("validate"),l=e.data("validation-url"),"checkbox"==e.attr("type"))e.is(":checked")?e.parents(".has-feedback, .f-feedback").removeClass("has-error --error").addClass("has-success --success"):e.parents(".has-feedback, .f-feedback").removeClass("has-success --success").addClass("has-error --error");else if(l)this.ajaxValidation(e,n,l);else{if(a){if(n.length<a)return this.addError(e,this.vars.minLength(a)),!1;this.addSuccess(e)}if(s){if(n.length>s)return this.addError(e,this.vars.minLength(s)),!1;this.addSuccess(e)}"email"==i&&this.checkMail(e),o&&"text"==i&&(o.indexOf("phone")>-1||o.indexOf("email")>-1)&&($.isNumeric(n)?n.length<9?this.addError(e,this.vars.phone):this.addSuccess(e):o.indexOf("email")>-1?this.checkMail(e):o.indexOf("phone")>-1&&this.addError(e,this.vars.phone)),n||t||(this.clearValidation(r),this.resetRequiredClass(r))}},checkMail:function(e){e.val().match(this.patterns.email)?this.addSuccess(e):this.addError(e,this.vars.email)},checkForm:function(e,t){var i,n,r;return i=e.find("input.validate:enabled:visible, textarea.validate:enabled:visible, input.--validate:enabled:visible, textarea.--validate:enabled:visible"),e.find('input[type="checkbox"]').not("[disabled]").not(":checked"),r=this,!i.length||(i.each((function(){r.validate($(this),!0)})),this.resetRequiredClass(i),!(n=e.find(".has-error:visible:first, .--error:visible:first")).length||($("html, body").animate({scrollTop:app_shop.vars.view<3?n.offset().top-10-$("header").outerHeight():n.offset().top-10},300),!1))},checkValidateFields:function(e,t){var i=e.find("input.validate:enabled:visible, textarea.validate:enabled:visible, input.--validate:enabled:visible, textarea.--validate:enabled:visible"),n=e.find("input#terms_agree[required]").not("[disabled]").not(":checked"),r=!0;if((that=this,this.resetRequiredClass(i),i.length)&&(i.each((function(){$this=$(this),r=!$.trim($this.val()),$this.is("[required]")&&r&&(that.addError($this),$this.parents(".form-group, .f-group").find(" > div").append('<span class="help-block validate_message text-danger">'+app_shop.txt.txt_validation4+"</span>"),n.each((function(){that.addError($this)})))})),that.resetRequiredClass(e),e.find(".has-error:visible:first, .--error:visible:first").length))return!1;return!0},addSuccess:function(e){this.clearValidation(e.parent()),this.removeErrorInfo(e),(e=e.is("[type=checkbox]")?e.parents("div.checkbox, .--checkbox"):e.parent()).addClass("has-success --success")},addError:function(e,t){this.clearValidation(e.parent()),t&&this.addErrorInfo(e,t),(e=e.is("[type=checkbox]")?e.parents("div.checkbox, .--checkbox"):e.parent()).addClass("has-error --error")},clearValidation:function(e){this.removeErrorInfo(e),e.removeClass("has-success has-error has-required --success --error --required")},resetRequiredClass:function(e){e.find("input.validate[required], input.--validate[required]").parent().not(".has-success,.has-error,.checkbox, .--success, .--error, .--checkbox").addClass("has-required --required")},addErrorInfo:function(e,t){this.removeErrorInfo(e),e.parent().append('<span class="help-block validate_message text-danger">'+t+"</span>")},removeErrorInfo:function(e){e.children(".validate_message").remove()}},$.fn.setHeight=function(e){var t=Math.round(e.outerWidth(!0)/e.children().outerWidth(!0)),i=e.children().length;if(t>0)for(var n=0;n<i;n+=t){var r=e.children().slice(n,n+t);r.find(this).length&&(r=r.find(this)),r.removeAttr("style"),r.css("min-height",r.maxHeightO())}},$.fn.setSliderHeight=e=>{let t=0;e.each((function(){t=Math.max(t,$(this).outerHeight())})),e.css("min-height",t)};const HotspotSlider=function(e){return this.params=e,this.defaults={prevArrow:`<a class="hotspot__arrow --prev" href=""><span>${app_shop.txt.hotspot_prev}</span></a>`,nextArrow:`<a class="hotspot__arrow --next" href=""><span>${app_shop.txt.hotspot_next}</span></a>`,dotsClass:"hotspot__dots",arrows:!0,dots:!0,slidesToShow:6,slidesToScroll:6,responsive:[{breakpoint:1200,settings:{slidesToShow:4,slidesToScroll:4}},{breakpoint:979,settings:{slidesToShow:4,slidesToScroll:4}},{breakpoint:757,settings:{slidesToShow:1,slidesToScroll:1,swipeToSlide:!0,centerMode:!0,centerPadding:"15vw",dots:!1}},{breakpoint:550,settings:{slidesToShow:1,slidesToScroll:1,swipeToSlide:!0,centerMode:!0,centerPadding:"18vw",dots:!1}}]},this.init=()=>{const{selector:e,options:t,callbackBefore:i,callbackAfter:n}
31=this.params;this.settings=_objectSpread({},this.defaults,{},t),this.selector=e,this.slider=$(e),"function"==typeof i&&i(this.slider),this.slider.on("afterChange",(function(){app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate()})),this.slider.slick(this.settings),"function"==typeof n&&n(this.slider)},this.reset=()=>{this.slider&&this.slider.slick("unslick"),this.init(this.params)},this.destroy=()=>{this.slider&&this.slider.slick("unslick")},this.init()};app_shop.fn.multiSlideAdaptiveHeight=e=>{const t=[];let i=0;setTimeout((function(){$(e).addClass("--adaptive"),$(".slick-track .slick-active",e).each((function(e){t[e]=$(this).outerHeight()})),t.forEach((e=>{e>i&&(i=e)})),$(".slick-list",e).height(i)}),10)};const SelectToDropdown=function(e){return this.params=e,this.init=()=>{const{selector:e,generateDropdownCallback:t,clickDropdownCallback:i,afterClickDropdownCallback:n,disableMobileView:r}=this.params;this.selects=document.querySelectorAll(e),this.generateDropdownCallback=t,this.clickDropdownCallback=i,this.afterClickDropdownCallback=n,this.disableMobileView=r,this.selects.length&&(this.generateDropdown(),document.addEventListener("click",this.closeDropdown))},this.generateDropdown=()=>{this.selects.forEach((e=>{const t=`<div class="f-dropdown f-group ${e.getAttribute("class")} ${this.disableMobileView?"--disable-mobile-view":""}">\n        <button type="button" class="f-control f-dropdown-toggle${e.hasAttribute("disabled")?" --disabled":""}" data-indexcurrent="${e.options[e.selectedIndex].index}">\n          ${e.hasAttribute("data-label")?`<strong class="f-dropdown-label">${e.getAttribute("data-label")}</strong>`:""}\n          <span class="f-dropdown-button">${e.options[e.selectedIndex].text}</span>\n        </button>\n        <ul class="f-dropdown-menu">\n          ${[...e.querySelectorAll("option")].map(((e,t)=>`\n            <li class="f-dropdown-li${e.hasAttribute("class")?` ${e.getAttribute("class")}`:""}">\n              <a class="f-dropdown-item${e.selected?" --selected":""}" href="#${e.getAttribute("value")}" data-index="${t}" data-value="${e.getAttribute("value")}"${Object.keys(e.dataset).map((t=>` data-${t}="${e.dataset[t]}"`)).join("")}>${e.innerHTML}</a>\n            </li>\n          `)).join("")}\n        </ul>\n      </div>`,i=document.createElement("div");i.innerHTML=t;const n=i.firstChild;e.insertAdjacentElement("afterend",n),n.insertBefore(e,n.firstChild),Object.values(e.classList).forEach((t=>e.classList.replace(t,`${t}-select`))),this.openDropdown(n),this.clickDropdown(n),this.disableMobileView||this.mobileView(n),this.generateDropdownCallback&&this.generateDropdownCallback(n)}))},this.mobileView=e=>{e.querySelector("select").addEventListener("change",(function(){const t=this.selectedIndex;e.querySelectorAll(".f-dropdown-li").forEach((e=>{parseInt(e.querySelector(".f-dropdown-item").getAttribute("data-index"),10)===t&&e.click()}))}))},this.openDropdown=e=>{e.querySelector("button.f-dropdown-toggle").addEventListener("click",(function(e){if(e.preventDefault(),this.classList.contains("--disabled"))return!1;this.parentNode.classList.toggle("--open")}))},this.closeDropdown=e=>{document.querySelectorAll(".f-dropdown").forEach((t=>!!t.classList.contains("--open")&&((!e||"click"!==e.type||t===e||!t.contains(e.target))&&void t.classList.remove("--open"))))},this.clickDropdown=e=>{if(this.clickDropdownCallback)this.clickDropdownCallback(e);else{const t=this.afterClickDropdownCallback;e.querySelectorAll(".f-dropdown-li").forEach((i=>{i.addEventListener("click",(function(i){i.preventDefault();const n=this.querySelector(".f-dropdown-item"),r=e.querySelectorAll(".f-dropdown-item"),a=n.getAttribute("data-index"),s=n.innerHTML,o=e.querySelector("select"),l=e.querySelector("button.f-dropdown-toggle"),c=l.querySelector(".f-dropdown-button");r.forEach((e=>e.classList.remove("--selected"))),n.classList.add("--selected"),o.selectedIndex=a,c.innerHTML=s,l.setAttribute("data-indexcurrent",n.getAttribute("data-index")),e.classList.remove("--open"),t&&t(this)}))}))}},this.destroy=()=>{this.selects.forEach((e=>{const t=e.closest(".f-dropdown");t&&(t.insertAdjacentElement("afterend",e),t.remove(),e.classList.forEach((t=>e.classList.replace(t,t.slice(0,-7)))))}))},this.reInit=()=>{this.destroy(),this.init()},this.init()};app_shop.fn.changeLiteral=(e,t,i)=>{const n=e%10,r=e%100,a=[];return!0!==i&&a.push(e),1===e&&t[1]?a.push(t[1]):(0===e||n>=0&&n<=1||n>=5&&n<=9||r>10&&r<20)&&t[0]?a.push(t[0]):(r<10||r>20)&&n>=2&&n<=4&&t[2]&&a.push(t[2]),a.join(" ")};const HotspotAjaxInit=function(e){const t=this;return this.params=e||{},this.vars={loaded:!1,hotspotElements:document.querySelectorAll("[data-ajaxload=true]")},this.fetchHotspots=async e=>{try{const t=await fetch(e);return await t.json()}catch(e){return console.error("AJAX fetchHotspots() Error:",e),!1}},this.hotspotInView=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(t.vars.loaded||(t.getHotspot(),t.vars.loaded=!0),t.hotspotInView.unobserve(e.target))}))})),this.getHotspot=async()=>{let e="";document.querySelector(".projector_page")&&(e=document.getElementById("projector_product_hidden")&&document.getElementById("projector_product_hidden").value||document.getElementById("projector_form")&&document.getElementById("projector_form").getAttribute("data-product_id")||"");const i=[];document.querySelector(".basketedit_page")&&(document.querySelectorAll(".productslist_item").forEach((e=>{i.push(e.querySelector('input[name*="product"]').value)})),document.querySelectorAll(".basket__block[data-product-id]").forEach((e=>{i.push(e.querySelector('input[name*="product"]').value)})));const n=[...this.vars.hotspotElements].map((e=>e.getAttribute("id"))).join(","),r=`/ajax/hotspots.php?action=get-hotspots-html&zones-names=${n}&components=${n}&zones-types=${[...this.vars.hotspotElements].map((e=>e.getAttribute("data-pagetype"))).join(",")}&product=${e}&products=${i.join(";")}`;
31this.vars.hotspotElements.forEach((e=>{e.classList.add("load-content")}));const a=await this.fetchHotspots(r);a?(this.vars.hotspotElements.forEach((e=>{e.classList.remove("load-content")})),Object.keys(a).forEach((e=>{const i=document.getElementById(e);""!==a[e]?i&&(i.outerHTML=a[e]):i&&i.parentNode.removeChild(i),app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate(),t.afterOneHotspotCallback&&t.afterOneHotspotCallback(i)})),t.afterAllHotspotsCallback&&t.afterAllHotspotsCallback()):this.vars.hotspotElements.forEach((e=>{e.parentNode.removeChild(e)}))},this.init=()=>{const{afterOneHotspotCallback:e,afterAllHotspotsCallback:i}=this.params;this.afterOneHotspotCallback=e||!1,this.afterAllHotspotsCallback=i||!1,this.vars.hotspotElements.forEach((e=>{t.hotspotInView.observe(e)}))},this.init()};function FixedElement(e="element",t="--fixed",i="spacerClass",n="top",r=()=>{}){const a=this;let s=!1;const o=document.querySelector(e),l={elH:o.getBoundingClientRect().height,elOffset:o.getBoundingClientRect().top+o.ownerDocument.defaultView.pageYOffset};this.revalidate=()=>{l.elH=o.getBoundingClientRect().height;const e=document.querySelector(`.${i}`);l.elOffset=e?e.getBoundingClientRect().top+e.ownerDocument.defaultView.pageYOffset:o.getBoundingClientRect().top+o.ownerDocument.defaultView.pageYOffset,s=!0},this.modifyElement=()=>{("top"===n?window.scrollY>l.elOffset:"bottom"===n?window.scrollY-l.elH+window.screen.height<l.elOffset:void 0)?!o.classList.contains(t)&&(o.classList.add(t),(e=>{let t=document.createElement("div");t.className=i,t.style.paddingTop=`${e}px`,o.after(t)})(l.elH),r(!0)):o.classList.contains(t)&&(o.classList.remove(t),(()=>{const e=document.querySelector(`.${i}`);e&&e.parentNode.removeChild(e)})(),r(!1))},this.init=()=>{if(null===o)return!1;window.addEventListener("scroll",(()=>{s=!0})),scroll=setInterval((function(){s&&(s=!1,a.modifyElement())}),30),a.modifyElement()},this.clear=()=>{clearInterval(scroll)}}function Bars(){this.calculatePosition=(e,t)=>e.reduce(((e,i,n)=>n<t?e+i.offsetHeight:e),0),this.setPosition=()=>{const e=[...document.querySelectorAll(".bars_top .bars__item[data-fixed]")];e.forEach(((t,i)=>{t.style.setProperty("--position",this.calculatePosition(e,i))}));const t=[...document.querySelectorAll(".bars_bottom .bars__item[data-fixed]")].reverse();t.forEach(((e,i)=>{e.style.setProperty("--position",this.calculatePosition(t,i))}))},this.fixed=()=>{const e=document.querySelectorAll(".bars__item[data-fixed]");let t=0,i=0;e.forEach((e=>{const n=+getComputedStyle(e).getPropertyValue("--position"),r=e.getBoundingClientRect().top-n,a=e.getBoundingClientRect().bottom+n-window.innerHeight;r<0||a>=0?(e.style.setProperty("min-height",`${e.offsetHeight}px`),e.classList.add("--fixed"),e.closest(".bars_top")?t+=e.offsetHeight:i+=e.offsetHeight):(e.classList.remove("--fixed"),e.style.removeProperty("min-height"))}
31)),document.documentElement.style.setProperty("--top-fixed-bars-height",`${t}px`),document.documentElement.style.setProperty("--bottom-fixed-bars-height",`${i}px`)},this.closeBarClick=e=>{const{target:t}=e;if(t.closest(".bars__close")){e.preventDefault();const i=t.closest(".bars__item");i.parentNode.removeChild(i),this.saveClosing(i),this.reset()}},this.removeClosedBars=()=>{(JSON.parse(localStorage.getItem("closedBars"))||[]).forEach((e=>{const t=document.getElementById(e);t&&t.parentNode.removeChild(t)})),this.checkEmptyBars()},this.checkEmptyBars=()=>{const e=document.querySelector(".bars_top");0===e?.childNodes.length&&e.parentNode.removeChild(e);const t=document.querySelector(".bars_bottom");0===t?.childNodes.length&&t.parentNode.removeChild(t)},this.saveClosing=e=>{const{id:t}=e,i=JSON.parse(localStorage.getItem("closedBars"))||[];i.push(t),localStorage.setItem("closedBars",JSON.stringify(i))},this.setBarsHeight=()=>{if(document.documentElement.classList.contains("--scroll-down"))return!1;const e=document.querySelector(".bars_top")?.offsetHeight;return document.documentElement.style.setProperty("--bars-height",`${e}px`),!0},this.clearAll=()=>{document.querySelectorAll(".bars__item[data-fixed]").forEach((e=>{e.classList.remove("--fixed"),e.style.removeProperty("--position"),e.style.removeProperty("min-height")}))},this.destroy=()=>{document.removeEventListener("scroll",this.fixed),document.removeEventListener("click",this.closeBarClick),window.removeEventListener("resize",this.setBarsHeight),this.clearAll()},this.reset=()=>{this.destroy(),this.init()},this.init=()=>{this.removeClosedBars(),document.addEventListener("click",this.closeBarClick),app_shop.vars.view<3&&(this.setBarsHeight(),window.addEventListener("resize",this.setBarsHeight)),app_shop.vars.view>2&&(this.setPosition(),this.fixed(),document.addEventListener("scroll",this.fixed))}}Modal=function(e){const t=this;if(this.params=e||{},this.closeModal=()=>{const e=document.getElementById("modal");this.beforeClose&&this.beforeClose(e);const t=document.getElementById("modal_placeholder");if(t){const i=e.querySelector(".modal__content > *");t.insertAdjacentElement("afterend",i),t.parentNode.removeChild(t)}e.parentNode.removeChild(e),document.documentElement.classList.remove("--modal"),document.removeEventListener("click",this.events.eventDelegation,!0),document.removeEventListener("keydown",this.events.escClick),this.afterClose&&this.afterClose(e,this)},this.createElement=e=>{const{element:t,classes:i,id:n,href:r}=e,a=document.createElement(t);return void 0!==i&&(a.className=i),void 0!==n&&(a.id=n),void 0!==r&&(a.href=r),a},this.createModal=()=>{document.getElementById("modal")&&this.closeModal();const e=this.createElement({element:"div",classes:this.classList?`modal ${this.classList}`:"modal",id:"modal"}),t=this.createElement({element:"div",classes:"modal__wrapper"}),i=this.createElement({element:"div",id:"modal_placeholder"}),n=this.createElement({element:"a",classes:"modal__close",href:"#modalClose"}),r=this.createElement({element:"div",classes:"modal__content"});this.element?this.element instanceof jQuery&&this.element.length?(document.body.contains(this.element[0])&&this.element[0].insertAdjacentElement("afterend",i),r.appendChild(this.element[0])):this.element instanceof jQuery||(document.body.contains(this.element)&&this.element.insertAdjacentElement("afterend",i),r.appendChild(this.element)):this.html&&(r.innerHTML=this.html),t.appendChild(n),t.appendChild(r),e.appendChild(t),document.documentElement.classList.add("--modal"),this.initEvents(),this.beforeShow&&this.beforeShow(e,this),document.body.appendChild(e),this.classList&&this.classList.includes("--absolute")&&window.scrollTo(0,0),app_shop?.vars?.bLazy?.revalidate(),this.afterShow&&this.afterShow(e,this)},this.events={eventDelegation:e=>{const i=document.getElementById("modal"),n=!(!document.getElementById("topLayerBackDrop")||"none"===document.getElementById("topLayerBackDrop").style.display),r=!(!document.querySelector("#iai_cookie_wrapper")||document.querySelector("#iai_cookie_wrapper").classList.contains("d-none")),a=!(!document.querySelector(".modal_erotic")||document.querySelector(".modal_erotic").classList.contains("d-none"));for(const t of this.notCloseSelectors)if(e.target.closest(t))return!1;return(!i||i.querySelector(".modal__wrapper").contains(e.target)||a||n||r||"INPUT"===document.activeElement.tagName)&&!e.target.closest(".modal__close")||(e.preventDefault(),t.closeModal()),!1},escClick:e=>{"Escape"===e.key&&t.closeModal()}},this.initEvents=()=>{document.removeEventListener("click",this.events.eventDelegation,!0),document.addEventListener("click",this.events.eventDelegation,!0),document.removeEventListener("keydown",this.events.escClick),document.addEventListener("keydown",this.events.escClick)},this.init=()=>{const{element:e,html:t,classList:i,beforeShow:n,afterShow:r,beforeClose:a,afterClose:s,notCloseSelectors:o}=this.params;this.element=e||!1,this.html=t||!1,this.beforeShow=n||!1,this.afterShow=r||!1,this.beforeClose=a||!1,this.afterClose=s||!1,this.classList=i||!1,this.notCloseSelectors=o||[],this.createModal()},!this.params.notInit)return this.init()},app_shop.run((function(){document.addEventListener("click",(e=>{const{target:t}=e;if(t.closest(".l_welcome__element.--logout")||t.closest(".logout_link"))for(let e=0;e<sessionStorage.length;){const t=sessionStorage.key(e);t.startsWith("expchck")?sessionStorage.removeItem(t):e+=1}}))}),"all",".l_welcome__element.--logout, .logout_link"),app_shop.run((function(){app_shop.fn.bars=new Bars,app_shop.fn.bars.init()}),"all","html:not(.order_process)"),app_shop.run((function(){app_shop.fn.bars.reset()}
31),[1,2,3,4],"html:not(.order_process)"),app_shop.txt.txt_118559_6="",!app_shop.txt.txt_118559_6&&(app_shop.txt.txt_118559_6=1),app_shop.run((()=>{console.log("test"),null===$.cookie("rabateCode_clicked")&&Boolean(document.querySelector("#rabateCode"))?$("html").addClass("--rabateCode"):($("#rabateCode").remove(),$("html").removeClass("--rabateCode")),$("#rabateCode .rabateCode__close").on("click",(function(e){return e.preventDefault(),$.cookie("rabateCode_clicked",!0,{expires:parseInt(app_shop.txt.txt_118559_6)}),$("#rabateCode").remove(),$("html").removeClass("--rabateCode"),!1}))}),"all",".--rabateCode"),app_shop.run((function(){$(document).on("click",".open_trigger, #menu_settings li:first-child .form-group:first-child > label",(function(){return $("#menu_settings form").toggleClass("active"),!1})),app_shop.fn.selectPaging=new SelectToDropdown({selector:"#menu_settings  select.form-control:not(.f-dropdown)",generateDropdownCallback:e=>{e.classList.remove("form-control")}})}),"all","#menu_settings"),app_shop.run((function(){app_shop.fn.searchResults=new SearchResults({resultsLimit:12,showCMS:!1,inputLengthToStartSearching:2})}),"all","#menu_search");const searchTxt={categories:"Popularne kategorie",cms:"Informacje",beforeProducer:"Producent: ",beforeSeries:"Seria: ",separator:" / ",buttonAllText:"Pokaż wszystkie wyniki wyszukiwania",telPrice:"Cena na telefon",phrazes:"Popularne frazy"};SearchResults=function(e){const t=this;return this.params=e||{},this.vars={typingTimer:"",doneTypingInterval:500,searchResultQuery:"/graphql/v1/"},this.fetchData=async()=>{const e=this.searchInput.value;if(e.length<this.inputLengthToStartSearching)return!1;if(sessionStorage.getItem(`search_${e}`))return JSON.parse(sessionStorage.getItem(`search_${e}`));const t=JSON.stringify({query:`query {\n        productsTextSearch(searchInput: {\n            text: "${e}",\n            limit: ${this.resultsLimit}\n          }) {\n            products {\n              name, link, iconSmall, iconSmallSecond,\n              price {\n                  price {\n                      gross {\n                        value\n                        formatted\n                      }\n                      net {\n                        value\n                        formatted\n                      }\n                  }\n              }\n            }\n            series {\n                name, link\n            }\n            producers {\n                name, link\n            }\n            menuNodes {\n                name, link\n            }\n            cms {\n                name, link\n            }\n            searchQueries {\n                name, link\n            }\n          }\n        }`});try{const i=await fetch(this.vars.searchResultQuery,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:t}),n=(await i.json()).data.productsTextSearch;return sessionStorage.setItem(`search_${e}`,JSON.stringify(n)),n}catch(e){return console.error("AJAX fetchDataSearchResults() Error:",e),!1}},this.openResults=()=>{this.searchInput.closest("form").classList.add("--open"),this.resultsWrapper.scrollTop=0,this.resultsWrapper.innerHTML+='<a href="#closeSearch" class="close_search_results d-md-block d-none"><i class="icon-x"></i></a>',document.documentElement.classList.add("--results-open"),document.querySelector("#container.main_page")&&document.documentElement.classList.add("--results-main-open")},this.closeResults=()=>{this.searchInput.closest("form").classList.remove("--open"),document.documentElement.classList.remove("--results-open"),document.querySelector("#container.main_page")&&document.documentElement.classList.remove("--results-main-open")},this.buildResult=async()=>{this.searchInput.closest("form").classList.add("--loading");const e=await this.fetchData();if(this.searchInput.closest("form").classList.remove("--loading"),this.resultsWrapper.innerHTML="",e){if(!Object.values(e).filter((e=>e?e.length:"")).length)return this.closeResults(),!1;if(this.openResults(),e.searchQueries&&e.searchQueries.length){const t=this.searchInput.value,i=new RegExp(t,"i");this.resultsWrapper.innerHTML+=`\n          <div class="search_result__block --queries">\n            ${e.searchQueries?`<strong class="search_result__label d-md-block d-none">${searchTxt.phrazes}</strong>\n            ${e.searchQueries.map((e=>`<a class="search_result__item --query" href="${e.link}">${e.name.replace(i,"<b>$&</b>")}</a>`)).join("")}`:""}\n          </div>\n        `}(e.producers&&e.producers.length||e.series&&e.series.length||e.menuNodes&&e.menuNodes.length)&&(this.resultsWrapper.innerHTML+=`\n            <div class="search_result__sub --categories">\n              <strong class="search_result__label">${searchTxt.categories}</strong>\n              <div class="search_result__items">\n                ${e.producers?e.producers.map((e=>`\n                  <a class="search_result__item --producer" href="${e.link}">
31\n                    <span class="search_result__name">${e.name}</span>\n                  </a>\n                `)).join(""):""}\n\n                ${e.series?e.series.map((e=>`\n                  <a class="search_result__item --series" href="${e.link}">\n                    <span class="search_result__name">${e.name}</span>\n                  </a>\n                `)).join(""):""}\n\n                ${e.menuNodes?e.menuNodes.map((e=>`\n                  <a class="search_result__item --menu" href="${e.link}">\n                    <span class="search_result__name">${e.bc?e.bc.item.map((e=>e.title)).join(searchTxt.separator):e.name}</span>\n                  </a>\n                `)).join(""):""}\n              </div>\n            </div>\n          `);Object.keys(e).filter((e=>"searchQueries"!==e)).some((t=>e[t]?e[t].length:""))&&(this.resultsWrapper.innerHTML+='<div class="search_result__block --others"></div>',e.products&&e.products.length&&(this.resultsWrapper.querySelector(".search_result__block.--others").innerHTML+=`\n            <div class="search_result__sub --products">\n              ${e.products.map((e=>`\n                <a class="search_result__item --product" href="${e.link}">\n                  <span class="search_result__icon">${void 0!==e.iconSmallSecond?`<picture>\n                      <source type="image/webp" srcset="${e.iconSmall}"/>\n                      <img src="${e.iconSmallSecond}" alt="${e.name}">\n                    </picture>`:`<img src="${e.iconSmall}" alt="${e.name}" />`}</span>\n                  <span class="search_result__name_wrapper">\n                    <span class="search_result__name">${e.name}</span>\n                    <span class="search_result__price">${t.netPrice?0!==e.price.price.net.value?e.price.price.net.formatted:searchTxt.telPrice:0!==e.price.price.gross.value?e.price.price.gross.formatted:searchTxt.telPrice}</span>\n                  </span>\n                </a>\n              `)).join("")}\n              <button type="submit" class="search_result__item --button-all${t.buttonAllClass}">${searchTxt.buttonAllText}</button>\n            </div>\n          `),e.cms&&e.cms.length&&this.showCMS&&(this.resultsWrapper.querySelector(".search_result__block.--others").innerHTML+=`\n            <div class="search_result__sub --cms">\n              <strong class="search_result__label">${searchTxt.cms}</strong>\n              <div class="search_result__items">\n                ${e.cms.map((e=>`\n                  <a class="search_result__item --cms" href="${e.link}">\n                    <span class="search_result__name">${e.name}</span>\n                  </a>\n                `)).join("")}\n              </div>\n            </div>\n          `))}else this.closeResults();return this.afterBuildResult&&this.afterBuildResult(e),!0},this.updateSearchInput=()=>{const e=t.resultsWrapper.querySelector(".search_result__item.--active .search_result__name")?t.resultsWrapper.querySelector(".search_result__item.--active .search_result__name").textContent:t.resultsWrapper.querySelector(".search_result__item.--active").textContent;t.searchInput.value=e},this.updateFocusElement=e=>{this.resultsWrapper.querySelectorAll(".search_result__item").forEach((e=>e.classList.remove("--active"))),"null"!=typeof e&&e.classList.add("--active"),"null"!=typeof e&&e.focus(),this.updateSearchInput()},this.initEvents=()=>{const e=document.getElementById("menu_search");e&&e.addEventListener("submit",(function(){const e=t.searchInput.getAttribute("data-value");e&&(t.searchInput.value=e)})),this.searchInput.addEventListener("keyup",(function(e){const i=e.which||e.keyCode||0;37!==i&&38!==i&&39!==i&&40!==i&&(t.searchInput.setAttribute("data-value",this.value),clearTimeout(t.vars.typingTimer),t.vars.typingTimer=setTimeout(t.buildResult,t.vars.doneTypingInterval),document.querySelector("html._mobile:not(.sidebar_open):not(.--search-open) .main_page")&&window.scrollTo(0,0))})),this.searchInput.addEventListener("keydown",(function(e){const i=e.which||e.keyCode||0;return 37===i||38===i||39===i||40===i||(t.searchInput.setAttribute("data-value",this.value),
31clearTimeout(t.vars.typingTimer),t.searchInput.closest("form").classList.add("--focus"),!document.querySelector(".--search-open")||13!==i)||(e.preventDefault(),this.closest("form").submit(),!1)})),this.searchInput.addEventListener("focus",(function(){window.screen.width<768&&!document.documentElement.classList.contains("--search-open")&&!document.documentElement.classList.contains("sidebar_open")&&(document.documentElement.classList.add("--search-open"),document.documentElement.scrollIntoView()),this.closest("form").classList.add("--focus")})),document.addEventListener("scroll",(function(e){window.scrollY>0?document.documentElement.classList.add("--scroll-down"):document.documentElement.classList.contains("sidebar_open")||document.documentElement.classList.contains("filters_open")||document.documentElement.classList.remove("--scroll-down")})),document.querySelector(".search_result, .search_result__block").addEventListener("scroll",(function(){app_shop.vars.view<3&&document.activeElement.blur()})),document.addEventListener("keydown",(function(e){if(t.searchInput.closest("form.--open.--focus")){const i=e.which||e.keyCode||0;if(37===i||38===i||39===i||40===i){e.preventDefault();const n=[...t.resultsWrapper.querySelectorAll(".search_result__item"),t.resultsWrapper.querySelector(".search_result__button_all")],r=t.resultsWrapper.querySelector(".search_result__item.--query"),a=t.resultsWrapper.querySelector(".search_result__block.--others .search_result__item");switch(i){case 40:{const e=n.indexOf(t.resultsWrapper.querySelector(".search_result__item.--active"));e>-1&&n[e+1]?t.updateFocusElement(n[e+1]):t.updateFocusElement(n[0]);break}case 38:{const e=n.indexOf(t.resultsWrapper.querySelector(".search_result__item.--active"));e>-1&&n[e-1]?t.updateFocusElement(n[e-1]):t.updateFocusElement(n[n.length-1]),t.updateSearchInput();break}case 37:1!==app_shop.vars.view&&r&&a&&t.updateFocusElement(r);break;case 39:1!==app_shop.vars.view&&r&&a&&t.updateFocusElement(a);break;default:return!0}}else 13!==i&&t.searchInput.focus();return!1}})),document.addEventListener("click",(function(e){return e.target.closest(".menu_search__mobile")&&(e.preventDefault(),document.documentElement.classList.add("--search-open"),$(".main_slider").slick("slickSetOption","autoplay",!1,!0),t.searchInput.focus()),e.target.closest(".--search-open .menu_search__submit")&&(e.preventDefault(),document.documentElement.classList.remove("--search-open","--results-main-open"),$(".main_slider").slick("slickSetOption","autoplay",!0,!0)),e.target.closest("header .navbar-toggler")&&document.documentElement.classList.remove("--results-main-open"),(t.searchInput.closest("form")?.classList?.contains("--focus")&&!t.searchInput.closest("form")?.contains(e.target)||e.target.closest(".close_search_results"))&&t.searchInput.closest("form")?.classList?.remove("--focus"),!1}))},this.init=()=>{const{searchInput:e,resultsWrapper:t,resultsLimit:i,showCMS:n,inputLengthToStartSearching:r,afterBuildResult:a,buttonAllClass:s}=this.params;this.searchInput=e?document.querySelector(e):document.querySelector(".menu_search__input"),this.resultsWrapper=t?document.querySelector(t):document.querySelector(".search_result"),this.resultsLimit=i||"",this.showCMS=n||!1,this.inputLengthToStartSearching=r||4,this.netPrice="net"===app_shop.vars.priceType,this.afterBuildResult=a||!1,this.buttonAllClass=s||" btn --outline",this.initEvents()},this.init()},app_shop.run((function(){getBasket()}),"all","#menu_basket"),app_shop.fn.mobileGen=function(e=!1){if(e)$(".nav-header").remove();else if(!$(".nav-header").length){var t=$("aside .nav-link + ul");$.each(t,(function(e,t){var i=$(t).prev();$(t).prepend('<li class="nav-header"></li>'),$(t).find(".nav-header").prepend(i.clone())}))}};const menuScripts={filterNames:["Kolor","Materiał zewnętrzny","Rozmiar"],clickMore:function(){document.querySelectorAll("#menu_navbar .navbar-subsubnav.more").forEach((e=>{e.querySelector(".display-all").addEventListener("click",(t=>{clicker=t.currentTarget,e.classList.contains("shown")?e.classList.remove("shown"):e.classList.add("shown");let i=clicker.querySelector(".nav-link").getAttribute("txt_alt"),n=clicker.querySelector(".nav-link").textContent;clicker.querySelector(".nav-link").setAttribute("txt_alt",n),clicker.querySelector(".nav-link").textContent=i}))}))},getFilters:async function(e,t,i){if(t)return i[e];{queryGraphQL={query:`query{\n          products(searchInput: {\n            navigation: ${e},\n          }, filterInput: {}, settingsInput: {}) {\n            filters {\n              value\n              name\n              displayType\n              items {\n                value\n                name\n              }\n            }\n          }\n        }`};let t=await fetchData(queryGraphQL);return t?.data?.products?.filters}},prepareFilters:async function(){const e=document.querySelectorAll("#menu_navbar .navbar-nav>.nav-item[data-node-id]");let t=!1,i={};null!=localStorage.getItem("menuItems")&&(i=await JSON.parse(localStorage.getItem("menuItems")),t=!0),e.forEach((async n=>{let r=n.querySelector(".nav-link").getAttribute("href"),a=r.slice(r.lastIndexOf("-")+1).split(".")[0],s=await this.getFilters(a,t,i);
31t||(i[a]=s),this.filterNames.forEach((e=>{let t=s.find((t=>t.name===e));if(void 0!==t){let i,r;i=e.includes("Materiał")?"Materiał":e,r=e.includes("Rozmiar")?`<div class="fliters_wrapper --size" data-filter="${e}"><ul></ul></div>`:`<div class="fliters_wrapper" data-filter="${e}"><ul></ul></div>`,n.querySelector(".additional").insertAdjacentHTML("beforeend",r);let s=n.querySelector(`.additional .fliters_wrapper[data-filter="${e}"]`),o=`<span class="--title">${i}</span>`;s.insertAdjacentHTML("afterbegin",o),t.items.forEach((e=>{let i,n=t.value;i=null!=n?`/search.php?node=${a}&filter_traits[${n}]=${e.value}`:`/search.php?node=${a}&filter_sizes=${e.value}`;let r=`\n            <li class="--filter">\n              <a href="${i}" rel="nofollow">${e.name}</a>\n            </li>`;s.querySelector("ul").insertAdjacentHTML("beforeend",r)}))}})),e.length===Object.keys(i).length&&(t||localStorage.setItem("menuItems",JSON.stringify(i)))}))},prepareMobile:function(){$(document).on("click",".navbar-toggler",(function(e){return e.preventDefault(),$("html").hasClass("filters_open")||$("html").hasClass("sidebar_open")?($("html").removeClass("filters_open").removeClass("sidebar_open"),$('header .handler[data-item="menu_search"]').before($("#menu_search")),$('header .handler[data-item="menu_search"]').remove()):($("html").addClass("sidebar_open"),$("#menu_search").before('<del class="handler" data-item="menu_search" style="display:none"></del>'),"object"==typeof app_shop.fn.shoppingList?$('aside .setMobileGrid[data-item="#menu_navbar"]').before($("#menu_search")):$('aside .setMobileGrid[data-item="#menu_navbar"]').after($("#menu_search"))),$("aside .navbar-subnav, aside .navbar-subsubnav, aside, #menu_settings form").scrollTop(0),app_shop.fn.mobileGen(),app_shop.fn.setMobileCategories&&app_shop.fn.setMobileCategories(),!1})),$(document).on("click","aside .navbar-collapse .nav-link",(function(){var e=$
31(this).next(),t=$(this).parent(),i=e.children();if((e.is("ul")||t.is(".--producers"))&&app_shop.vars.view<3)return t.toggleClass("nav-open"),2===i.length&&i.last().toggleClass("nav-open"),!1})),$(document).on("click","aside .nav-header .nav-link",(function(){var e=$(this).parents(".nav-open").eq(0),t=e.parents("ul").eq(0),i=t.children();return e.removeClass("nav-open"),2===i.length&&t.parents(".nav-open").eq(0).removeClass("nav-open"),!1})),$(document).on("click",".touch header .navbar-collapse .nav-link",(function(e){var t=$(this).next(),i=t.is(".active");return $(".nav-item ul").removeClass("active"),$(this).parent().parent().hasClass("navbar-nav")&&$(".navbar-subnav").removeClass("--hover"),!!($("#menu_navbar").parent(".wide").size()&&t.parents("ul").size()>1)||(t.is("ul")?(i?(t.removeClass("active"),t.find("ul.active").removeClass("active"),t.parents("ul").not(".navbar-nav").addClass("active")):(t.addClass("active"),t.parents("ul").not(".navbar-nav").addClass("active"),$("body").off("click.navbar"),$("body").on("click.navbar",(function(e){$(".nav-item ul").removeClass("active")}))),$(this).next(".navbar-subnav").length>0&&(!$(this).attr("data-visited")&&(app_shop.fn.concatColumns(t),app_shop.fn.setPositionMenu(t)),$(this).attr("data-visited","true")),e.preventDefault(),!1):void 0)})),$(document).on("click",".sidebar_open .close_sidebar, .sidebar_open header, .sidebar_open #content, .sidebar_open footer, .filters_open header, .filters_open #content, .filters_open footer",(function(e){return $("html").removeClass("sidebar_open filters_open"),$(".nav-open").removeClass("nav-open"),$("#menu_settings form").removeClass("active"),$('header .handler[data-item="menu_search"]').before($("#menu_search")),$('header .handler[data-item="menu_search"]').remove(),app_shop.fn.setMobileCategories&&app_shop.fn.setMobileCategories(),e.preventDefault(),!1}))},prepareProducers:function(e){const t=document.querySelector("#menu_navbar .nav-item.--producers");t&&(e>3?t.addEventListener("mouseenter",(()=>{t.classList.contains("loaded")||(app_shop.vars.bLazy.revalidate(),t.classList.add("loaded"))})):t.addEventListener("click",(()=>{t.classList.contains("loaded")||(setTimeout((()=>{app_shop.vars.bLazy.revalidate()}),100),t.classList.add("loaded"))})))},prepareMenu:function(e){this.clickMore(),this.prepareProducers(e),e>3&&this.prepareFilters(),e<3&&this.prepareMobile()}};function simple_tooltip(e,t,i){var n="",r="";$(document).on("mouseover",e,(function(){$(this).next().is(".tooltipContent")?n=$(this).next().html():$(this).prop("title")&&(n=$(this).prop("title"),$(this).removeAttr("title")),$("#"+t).remove(),clearTimeout(r),$("body").append("<div style='display:none;' class='"+t+"' id='"+t+"'><p></p></div>"),$("#"+t).hover((function(){clearTimeout(r)}),(function(){$("#"+t).remove()})),""!=n&&" "!=n&&"undefined"!=n&&($("#"+t).find("p").html(n),$("#"+t).fadeIn(400))})),$(document).on("mousemove",e,(function(e){var n,r,a=$(window).scrollTop(),s=$(window).width(),o=15;i||!1?(n=e.pageX-$("#"+t).outerWidth(!0)-o<=0?e.pageX+o:e.pageX-o-$("#"+t).outerWidth(!0),r=a+30>=e.pageY-$("#"+t).height()?a+o:e.pageY-$("#"+t).outerHeight(!0)-o):(n=s-30>=$("#"+t).width()+e.pageX?e.pageX+o:s-$("#"+t).width()-o,r=a+30>=e.pageY-$("#"+t).height()?a+o:e.pageY-$("#"+t).height()-o),$("#"+t).css({left:n,top:r})})),$(document).on("mouseout",e,(function(){$(this).next().is(".tooltipContent")||$(this).prop("title",n),r=setTimeout((function(){$("#"+t).remove()}),500)})),$(document).bind("touchstart",(function(i){0===$(i.target).closest("#"+t).length&&0===$(i.target).closest(e).length&&$("#"+t).length&&$("#"+t).remove()}))}function calculate_instalments(params){let{minPrice:minPrice,maxPrice:maxPrice,totalPrice:totalPrice,link:link,instalmentName:instalmentName,priceType:priceType}=params;"object"!=typeof params&&null!==params&&([minPrice,maxPrice,totalPrice,,link,,instalmentName,,priceType]=arguments),minPrice=parseFloat(minPrice,10)||!1;const minPriceFormat=!!minPrice&&`${format_price(minPrice,{mask:app_shop.vars.currency_format,currency:instalmentData.currency,currency_space
31:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})}${priceType&&"net"===priceType?app_shop.txt.instalmentNet:""}`;maxPrice=parseFloat(maxPrice,10)||!1;const maxPriceFormat=!!maxPrice&&`${format_price(maxPrice,{mask:app_shop.vars.currency_format,currency:instalmentData.currency,currency_space:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})}${priceType&&"net"===priceType?app_shop.txt.instalmentNet:""}`;totalPrice=parseFloat(totalPrice,10)||!1,link=link||!1,instalmentName=instalmentName||!1,priceType=priceType||!1;let productsPrice="";productsPrice=priceType&&"net"===priceType?document.getElementById("projector_number")?instalmentData.priceNet*document.getElementById("projector_number").value:instalmentData.priceNet:document.getElementById("projector_number")?instalmentData.price*document.getElementById("projector_number").value:instalmentData.price;const productsPriceFormat=`${format_price(productsPrice,{mask:app_shop.vars.currency_format,currency:instalmentData.currency,currency_space:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})}${priceType&&"net"===priceType?app_shop.txt.instalmentNet:""}`;if(link&&-1!==link.indexOf("{calculate_price}")&&(link=link.replace("{calculate_price}","XXX")),0===productsPrice)return eval(link),!1;if(0===instalmentData.basketCount&&(!minPrice&&!maxPrice||minPrice&&productsPrice>=minPrice&&maxPrice&&productsPrice<=maxPrice))return eval(link.replace("XXX",productsPrice)),!1;let infoHTML="";minPrice&&productsPrice<minPrice?infoHTML=`\n      <div class='menu_messages_message'>\n        <div class='menu_messages_message_sub'>\n          <p>${app_shop.txt.instalmentLabelMin}${instalmentName}${app_shop.txt.instalmentLabelTo}${minPriceFormat}</p>\n        </div>\n      </div>\n    `:maxPrice&&productsPrice>maxPrice&&(infoHTML=`\n      <div class='menu_messages_message'>\n        <div class='menu_messages_message_sub'>\n          <p>${app_shop.txt.instalmentLabelMax}${instalmentName}${app_shop.txt.instalmentLabelTo}${maxPriceFormat}</p>\n        </div>\n      </div>\n    `);let sumPrice=0;sumPrice=totalPrice?(totalPrice+productsPrice).toFixed(2):((priceType&&"net"===priceType?instalmentData.basketCostNet:instalmentData.basketCost)+productsPrice).toFixed(2);const sumPriceFormat=`${format_price(sumPrice,{mask:app_shop.vars.currency_format,currency:instalmentData.currency,currency_space:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value})}${priceType&&"net"===priceType?app_shop.txt.instalmentNet:""}`;let buttonHTML="";if(document.querySelector("#container.projector_page")&&(buttonHTML=`\n      <button class="instalment_calculator__button ${minPrice&&productsPrice<minPrice||maxPrice&&productsPrice>maxPrice?app_shop.txt.instalmentButtonDisableClassDialog:app_shop.txt.instalmentButtonClassDialog}"${minPrice&&productsPrice<minPrice||maxPrice&&productsPrice>maxPrice?"":` onclick="${link.replace("XXX",productsPrice)}"`}>\n        <span class="instalment_calculator__button_txt">${app_shop.txt.instalmentSingleProduct}</span>\n        <span class="instalment_calculator__button_price">${productsPriceFormat}</span>\n        ${minPrice&&productsPrice<minPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMin}</span>`:""}\n        ${maxPrice&&productsPrice>maxPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMax}</span>`:""}\n      </button>\n    `,0!==instalmentData.basketCount&&(buttonHTML+=`\n        <button class="instalment_calculator__button ${minPrice&&sumPrice<minPrice||maxPrice&&sumPrice>maxPrice?app_shop.txt.instalmentButtonDisableClassDialog:app_shop.txt.instalmentButtonClassDialog}"${minPrice&&sumPrice<minPrice||maxPrice&&sumPrice>maxPrice?"":` onclick="${link.replace("XXX",sumPrice)}"`}>\n          <span class="instalment_calculator__button_txt">${app_shop.txt.instalmentBasketProduct}</span>\n          <span class="instalment_calculator__button_price">${sumPriceFormat}</span>\n          ${minPrice&&sumPrice<minPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMinBasket}</span>`:""}\n          ${maxPrice&&sumPrice>maxPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMaxBasket}</span>`:""}\n        </button>\n      `)),document.querySelector("#container.basketedit_page")){if(minPrice&&productsPrice>=minPrice&&maxPrice&&productsPrice<=maxPrice)return eval(link.replace("XXX",productsPrice)),!1;buttonHTML=`\n      <button class="instalment_calculator__button ${minPrice&&productsPrice<minPrice||maxPrice&&productsPrice>maxPrice?app_shop.txt.instalmentButtonDisableClassDialog:app_shop.txt.instalmentButtonClassDialog}"${minPrice&&productsPrice<minPrice||maxPrice&&productsPrice>maxPrice?"":` onclick="${link.replace("XXX",productsPrice)}"`}>
31\n        <span class="instalment_calculator__button_txt">${app_shop.txt.instalmentMultiProduct}</span>\n        <span class="instalment_calculator__button_price">${productsPriceFormat}</span>\n        ${minPrice&&productsPrice<minPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMinB}</span>`:""}\n        ${maxPrice&&productsPrice>maxPrice?`<span class="instalment_calculator__button_info">${app_shop.txt.instalmentTextMaxB}</span>`:""}\n      </button>\n    `}Modal({html:infoHTML+buttonHTML,classList:"instalment_calculator"})}app_shop.run((function(){mScript=Object.create(menuScripts),mScript.prepareMenu(app_shop.vars.view)}),"all","#menu_categories"),app_shop.run((function(){$(".slm_lists__label").on("click",(function(){$(this).parents(".slm_lists").toggleClass("--active")}))}),"all",".shopping_list_menu"),app_shop.fn.setGrid=function(){switch(app_shop.vars.view){case 4:case 3:$(".domHandler").each((function(){var e=$(this).data("item");$(this).after($(e)),$(this).remove()}));break;case 2:case 1:$(".domHandler").length||$(".setMobileGrid").each((function(){var e=$
31(this).data("item");$(e).before('<del class="domHandler" data-item="'+e+'" style="display:none">'),$(this).append($(e))}));const e='\n            <li class="nav-item --contact"><a href="tel:512292951" target="_self" title="Nr telefonu" class="nav-link"><i class="icon-phone"></i><span>512 292 951</span></a></li>\n            <li class="nav-item --contact"><a href="mailto:[email protected]" target="_self" title="Email" class="nav-link"><i class="icon-envelope"></i><span>[email protected]</span></a></li>\n            ';$("#menu_navbar > ul").append(e)}},app_shop.fn.setMobileCategories=function(){const e=(e,t)=>{t.split(",").forEach((e=>{$(e).hide(),$(e).removeClass("--active")})),e.split(",").forEach((e=>{$(e).show(),$(e).addClass("--active")}))},t=()=>{$("aside").prepend($("#mobileCategories"));let t="";$("#mobileCategories .mobileCategories__link").each((function(){t+=`${t}, ${$(this).attr("data-ids")}`,$(this).off(),$(this).on("click",(function(){return $("#mobileCategories .mobileCategories__link").removeClass("--active"),$(this).addClass("--active"),e($(this).attr("data-ids"),t),!1}))})),e($("#mobileCategories .mobileCategories__link").first().attr("data-ids"),t),$("#mobileCategories .mobileCategories__link").removeClass("--active"),$("#mobileCategories .mobileCategories__link").first().addClass("--active")};$("#mobileCategories").length&&t()},app_shop.run((function(){$(".footer_links_label").next().hide(),$(".footer_links_label").removeClass("--open"),$(".footer_links_label").on("click",(function(e){return e.preventDefault(),$(this).next().slideToggle("fast"),$(this).parents(".footer_links").toggleClass("--open"),!1}))}),"1",".footer_links_label"),app_shop.run((function(){$(".footer_links_label").off("click"),$(".footer_links_label").next().show()}),[2,3,4],".footer_links_label"),app_shop.fn.rwdBanner(".platnosci_54388",[1,2,3,4]),app_shop.run((function(){simple_tooltip(".showTip","n59581_tooltip_dictionary"),simple_tooltip("#contentcolumn_order1 .showTip_order1","n59581_tooltip"),simple_tooltip("#basketedit_gifts .showTip_gift","n59581_tooltip"),simple_tooltip("#basketedit_productslist .showTip_basket","n59581_tooltip"),simple_tooltip("span.btn_note","n59581_instalment_note")}),"all"),app_shop.txt.instalmentLabel="",app_shop.txt.instalmentSingleProduct="Oblicz raty tylko dla tego produktu",app_shop.txt.instalmentMultiProduct="Oblicz raty produktów w koszyku",app_shop.txt.instalmentBasketProduct="Oblicz raty łącznie z wartością koszyka",app_shop.txt.instalmentNoTall="Nie wszystkie umieszczone w koszyku produkty umożliwią zakup tym systemem ratalnym. Przejdź do szczegółów każdego z produktów aby dowiedzieć się które z nich umożliwiają taki zakup. Jeżeli zdecydujesz się na zakup na raty, opłata za te produkty będzie musiała być wniesiona odrębnie pozostałymi sposobami płatności.",app_shop.txt.instalmentTooMany="W koszyku znajduje się zbyt duża ilość produktów aby móc opłacić zamówienie tym systemem ratalnym. Zmniejsz ilość produktów do ",app_shop.txt.instalmentTooMany2=" aby móc skorzystać z systemu rat. Ilość sztuk jednego produktu nie jest limitowana.",app_shop.txt.instalmentLabelTo=" to ",app_shop.txt.instalmentLabelMinBasket="Nie możesz uruchomić symulacji rat dla całego koszyka, ponieważ minimalna kwota umożliwiająca zakupy przez ",app_shop.txt.instalmentTextMin="Zwiększ ilość sztuk produktu, aby uruchomić kalkulator rat.",app_shop.txt.instalmentTextMinBasket="Zwiększ ilość sztuk tego produktu, lub wrzuć do koszyka dodatkowe produkty.",app_shop.txt.instalmentTextMinB="Zwiększ ilość produktów w koszyku, aby uruchomić kalkulator rat.",app_shop.txt.instalmentLabelMax="Maksymalna kwota umożliwiająca zakupy przez ",app_shop.txt.instalmentLabelMaxBasket="Nie możesz uruchomić symulacji rat dla całego koszyka, ponieważ maksymalna kwota umożliwiająca zakupy przez ",app_shop.txt.instalmentTextMax="Zmniejsz ilość sztuk produktu, aby uruchomić kalkulator rat.",app_shop.txt.instalmentTextMaxBasket="Zmniejsz ilość sztuk tego produktu, lub usuń z koszyka niektóre produkty.",app_shop.txt.instalmentTextMaxB="Zmniejsz ilość produktów w koszyku, aby uruchomić kalkulator rat.",app_shop.txt.instalmentLabelMin="Minimalna kwota umożliwiająca zakupy przez ",app_shop.txt.instalmentButtonClassDialog="btn --solid --medium",app_shop.txt.instalmentButtonDisableClassDialog="btn --solid --secondary --medium --disabled",app_shop.txt.instalmentNet=" netto",app_shop.run((function(){Modal({element:document.getElementById("menu_notice")})}),"all","#menu_notice"),app_shop.run((function(){iaiGet.snippets((function(e){var t=e.Snippets.response.items;for(var i in t)switch(t[i].region){case"head":$("head").append(t[i].content);break;
31case"body_top":$("body").prepend(t[i].content);break;default:$("body").append(t[i].content)}}),{mobile:(1==app_shop.vars.view).toString(),tablet:(2==app_shop.vars.view).toString(),pc:(app_shop.vars.view>=3).toString(),request_uri:app_shop.vars.request_uri,additional_ajax:app_shop.vars.additional_ajax}),iaiGet.toplayersAndWidgets((function(json){var ToplayersAndWidgets=json.ToplayersAndWidgets.response.items;for(var key in ToplayersAndWidgets)"script"===key?eval(ToplayersAndWidgets[key]):$("body").append(ToplayersAndWidgets[key].content)}),{mobile:(1==app_shop.vars.view).toString(),tablet:(2==app_shop.vars.view).toString(),pc:(app_shop.vars.view>=3).toString(),request_uri:app_shop.vars.request_uri,additional_ajax:app_shop.vars.additional_ajax})}),"all"),app_shop.run((function(){app_shop.fn.fixedTop=new FixedTop,app_shop.vars.view>3&&app_shop.fn.fixedTop.init()}),"all","html:not(.order_process)"),app_shop.run((function(){app_shop.vars.view>3&&!document.querySelector(".basketedit_page")?app_shop.fn.fixedTop.reset():app_shop.fn.fixedTop.destroy()}),[1,2,3,4],"html:not(.order_process)"),FixedTop=function(e){this.params=e||{topBars:!1},this.vars={headerElement:document.querySelector("#menu_categories"),filterElement:document.querySelector("#Filters"),marginTop:parseFloat(document.querySelector("#menu_settings")?.offsetHeight)+parseFloat(document.querySelector("#logo")?.offsetHeight),marginTopFilter:0,heightTop:"",heightTopFixed:50,skeleton:"menu_categories_skeleton",skeletonFilter:"filters_skeleton"},this.hasFixedTopBars=()=>document.querySelectorAll('#container .bars_top.bars .bars__item[data-fixed="true"]')?.length>0,this.isBarsEnabled=()=>!!this.params?.topBars,this.fixed=()=>{""===this.vars.heightTop&&(this.vars.heightTop=this.vars.headerElement.offsetHeight,this.vars.marginTop+=this.vars.heightTop);const e=window.pageYOffset;if(e>=this.vars.marginTop){let t=document.querySelector(`.${this.vars.skeleton}`);t&&t.remove();let i=document.createElement("div");i.className=this.vars.skeleton,i.style.height=`${this.vars.heightTop}px`,this.vars.headerElement.insertAdjacentElement("afterend",i),document.documentElement.classList.add("--fixed-header"),this.hasFixedTopBars()&&(this.isBarsEnabled()?document.documentElement.classList.add("--fixed-header-bars"):document.documentElement.classList.add("--fixed-header-no-bars"));const n=e-this.vars.marginTop-this.vars.heightTop;this.vars.headerElement.style.top=n<0?`${n}px`:0}else this.clear();if(this.vars.filterElement&&this.vars.marginTopFilter>0){let t=this.vars.filterElement?.offsetHeight;if(e>=this.vars.marginTopFilter-this.vars.heightTopFixed){this.vars.heightTopFixed=this.vars.headerElement.offsetHeight,this.vars.filterElement.style.top=this.vars.heightTopFixed+"px";let e=document.querySelector(`.${this.vars.skeletonFilter}`);if(!document.documentElement.classList.contains("--fixed-filter")||!e){console.log("asdasdasd"),e&&e.remove();let i=document.createElement("div");i.className=this.vars.skeletonFilter,i.style.height=`${t}px`,this.vars.filterElement.insertAdjacentElement("afterend",i),document.documentElement.classList.add("--fixed-filter")}}else this.clearFilter()}},this.clear=()=>{document.documentElement.classList.remove("--fixed-header"),this.vars.headerElement.removeAttribute("style");let e=document.querySelector(`.${this.vars.skeleton}`);e&&e.remove(),this.hasFixedTopBars()&&(this.isBarsEnabled()?document.documentElement.classList.remove("--fixed-header-bars"):document.documentElement.classList.remove("--fixed-header-no-bars"))},this.clearFilter=()=>{document.documentElement.classList.remove("--fixed-filter"),this.vars.filterElement.removeAttribute("style");let e=document.querySelector(`.${this.vars.skeletonFilter}`);e&&e.remove()},this.destroy=()=>{document.removeEventListener("scroll",this.fixed),this.clear(),this.vars.filterElement&&this.clearFilter()},this.reset=()=>{this.destroy(),this.init()},this.init=()=>{this.vars.filterElement=document.querySelector("#content #Filters"),this.vars.filterElement&&(this.vars.marginTopFilter=this.vars.filterElement?.getBoundingClientRect()?.top+window.scrollY,setTimeout((()=>{this.vars.marginTopFilter=this.vars.filterElement?.getBoundingClientRect()?.top+window.scrollY}),"1000")),document.addEventListener("scroll",this.fixed)}},app_shop.run((function(){$("header").append($(".breadcrumbs"))}),[3,4],".breadcrumbs"),app_shop.run((function(){$("#layout").prepend($(".breadcrumbs"))}),[1,2],".breadcrumbs"),app_shop.run((function(){$(".breadcrumbs").on("click","#back_button",(function(){return window.history.back(),!1}))}),"all",".breadcrumbs"),app_shop.run((function(){$("#main_tree5 a").on("click",(function(){if("_blank"!==$(this).attr("target"))return href=$(this).attr("href"),$("#main_tree5").append('<div class="cms_dialog"></div>'),$(".cms_dialog").load($(this).attr("href")+" #content > *",(function(e,t,i){"success"==t&&Modal({element:$(this),classList:"--main-modal --large --mobile",afterClose:e=>{$(".cms_dialog").remove()}}),"error"==t&&(window.location.href=href)})),!1}))}),"all","#main_tree5"),app_shop.run((function(){$("#menu_blog_bydates > ul > li > a").on("click",(function(){if($(this).next("ul"))return $(this).parent().hasClass("active")?$(this).parent().removeClass("active"):($("#menu_blog_bydates > ul > li").removeClass("active"),$(this).parent().addClass("active")),!1}))}),"all","#menu_blog_bydates",!0),$(".progress_bar_1.active").size()?$("div.progress_bar_keeper").addClass("progress_bar_1_active"):$(".progress_bar_2.active").size()?$("div.progress_bar_keeper").addClass("progress_bar_2_active"):$(".progress_bar_3.active").size()?$("div.progress_bar_keeper").addClass("progress_bar_3_active"):$(".progress_bar_4.active").size()&&$("div.progress_bar_keeper").addClass("progress_bar_4_active"),app_shop.run((function(){$("#menu_newsletter form").on("submit",(function(){return app_shop.formControl.validate($("#mailing_policy")),app_shop.formControl.checkForm($(this))})),$("#menu_newsletter").find("input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$("#menu_newsletter button.add_newsletter").on("click",(function(){return app_shop.formControl.validate($("#mailing_policy")),app_shop.formControl.checkForm($(this).parents("form"))}))}),"all","#menu_newsletter");var iaical_dateFormat="yy-mm-dd",iaical_firstDay="1";days_01_txt="n",days_02_txt="pn",days_03_txt="wt",days_04_txt="śr",days_05_txt="czw",days_06_txt="pt",days_07_txt="so",month_01_txt="Styczeń",month_02_txt="Luty",month_03_txt="Marzec",month_04_txt="KwiecieÅ
31„",month_05_txt="Maj",month_06_txt="Czerwiec",month_07_txt="Lipiec",month_08_txt="Sierpień",month_09_txt="Wrzesień",month_10_txt="Październik",month_11_txt="Listopad",month_12_txt="Grudzień",month_2_01_txt="Stycznia",month_2_02_txt="Lutego",month_2_03_txt="Marca",month_2_04_txt="Kwietnia",month_2_05_txt="Maja",month_2_06_txt="Czerwca",month_2_07_txt="Lipca",month_2_08_txt="Sierpnia",month_2_09_txt="Września",month_2_10_txt="Października",month_2_11_txt="Listopada",month_2_12_txt="Grudnia",month_3_01_txt="STY",month_3_02_txt="LUT",month_3_03_txt="MAR",month_3_04_txt="KWI",month_3_05_txt="MAJ",month_3_06_txt="CZE",month_3_07_txt="LIP",month_3_08_txt="SIE",month_3_09_txt="WRZ",month_3_10_txt="PAŹ",month_3_11_txt="LIS",month_3_12_txt="GRU",iaical_monthNext="Następny miesiąc",iaical_monthPrev="Poprzedni miesiąc";var iaical_daysShort=[days_01_txt,days_02_txt,days_03_txt,days_04_txt,days_05_txt,days_06_txt,days_07_txt],iaical_monthNames=[month_01_txt,month_02_txt,month_03_txt,month_04_txt,month_05_txt,month_06_txt,month_07_txt,month_08_txt,month_09_txt,month_10_txt,month_11_txt,month_12_txt],iaical_monthNames2=[month_2_01_txt,month_2_02_txt,month_2_03_txt,month_2_04_txt,month_2_05_txt,month_2_06_txt,month_2_07_txt,month_2_08_txt,month_2_09_txt,month_2_10_txt,month_2_11_txt,month_2_12_txt],iaical_shortNames=[month_3_01_txt,month_3_02_txt,month_3_03_txt,month_3_04_txt,month_3_05_txt,month_3_06_txt,month_3_07_txt,month_3_08_txt,month_3_09_txt,month_3_10_txt,month_3_11_txt,month_3_12_txt],shopCalendar={getMonthDays:function(e,t){return new Date(e,t,0).getDate()},printDays:function(e,t,i,n,r,a,s){var o=window.Working_days||{},l=new Date(i,t-1,e);l.setDate(l.getDate()+parseInt(n)),$("#pickupl_calbind").length&&$("#pickupl_calbind").datepicker({defaultDate:l,minDate:l}),$(r+"1").length&&document.getElementById(r+"1").onclick();for(var c=1;c<=a;c++){for(_year=l.getFullYear(),_month=l.getMonth()+1,_day=l.getDate();s&&Holidays[_day+"_"+_month+"_"+_year];)l.setDate(l.getDate()+1),_year=l.getFullYear(),_month=l.getMonth()+1,_day=l.getDate();var d=100;if(!$.isEmptyObject(o))for(;--d;){if(-1!=$.inArray(l.getDay(),o)){_year=l.getFullYear(),_month=l.getMonth()+1,_day=l.getDate();break}l.setDate(l.getDate()+1)}_month=_month<10?"0"+_month:_month,_day=_day<10?"0"+_day:_day,d?($("#"+r+c+" input").val([_year,_month,_day].join("-")),$("#"+r+c+" > div > *").eq(1).html(_day),$("#"+r+c+" > div > *").eq(2).html(iaical_monthNames2[parseInt(_month)-1])):($("#"+r+c+" input").val("-"),$("#"+r+c+" > div > *").eq(1).html("-"),$("#"+r+c+" > div > *").eq(2).html("")),l.setDate(l.getDate()+1)}},setHolidays:function(e){var t=window.Holidays||{},i=window.Working_days||{};if(null!=t)for(holiday in t)if(e.getDate()+"_"+(e.getMonth()+1)+"_"+e.getFullYear()==holiday)return[!1,""];if(null!=i&&i.length){var n=e.getDay();if(-1==$.inArray(n,i))return[!1,""]}return[!0,""]}};app_shop.run((()=>{$(".affiliate.--generator.--menu").after($(".affiliate__info.--small"))}),[1],".affiliate.--generator.--menu"),app_shop.run((()=>{$(".affiliate.--generator.--menu").append($(".affiliate__info.--small"))}),[2,3,4],".affiliate.--generator.--menu");let refreshTimeout=null;const basketActionsCall=e=>{$(".basket .--click, .basket__tools .--click, .remove_basket_mobile_link").on("click",(async function(){const e=$(this),t=e.attr("href"),i=e.parents(".basket__block"),n=i.find(".basket__item.--actions"),r=$(".basket__item.--actions.--active, .basket__item.--actions.--active-comment"),a=$(".basket__form");switch(t){case"#showActions":(!i.hasClass("--special")||i.hasClass("--special_quantity"))&&(n.toggleClass("--active"),e.toggleClass("--open"));break;case"#editComment":app_shop.vars.view<3?n.addClass("--active --active-comment"):(r.not(n).removeClass("--active-comment"),n.toggleClass("--active-comment"));break;case"#addComment":r.not(n).removeClass("--active-comment"),n.toggleClass("--active-comment");break;case"#addMoreFile":{const t=e.prev();t.append(t.find("input").first().clone().val("")),t.scrollTop(t[0].scrollHeight);break}case"#previewFile":{const t=e.attr("rel"),i=e.parent().find("span").text();let n=new Image;return n.src=t,n.onload=function(){Modal({html:`<div id="ui-dialogimg"><img alt="${i}" src="${t}" /></div>`,classList:"--medium"})},!1}case"#delQuantity":case"#addQuantity":{const e=i.find(".quantity__input"),{unit_sellby:n}=e.data(),r="#delQuantity"===t?parseFloat(e.val())-parseFloat(n):parseFloat(e.val())+parseFloat(n);e.val(r).change(),e.keyup(),clearTimeout(refreshTimeout),refreshTimeout=setTimeout((()=>{a.submit()}),500);break}case"#remove":i.find(".quantity__input").val(0),a.submit();break;case"#removeAll":$(".basket__action .quantity__input").val(0),a.submit();break;case"#removeSelected":$(".basket__product_checkbox").each((function(){$(this).is(":checked")&&$('.basket__block[data-product-checkbox-id="'+$(this).val()+'"]').find(".quantity__input").val(0)})),a.submit();break;case"#addToFavorite":{const e="/basketchange.php?type=multiproduct&mode=2";a.attr("action",e),a.submit();break}case"#addWrapper":$(".basket__wrappers").toggleClass("--active"),app_shop.vars.bLazy&&app_shop.vars.bLazy.revalidate(),$("#wrappers_wrapper .product__name").setHeight($("#wrappers_wrapper .products")),$("#wrappers_wrapper .product__prices").setHeight($("#wrappers_wrapper .products"));break;default:return!0}return!1})),$(".basket__select_all_checkbox").on("change",(function(){$(this).is(":checked")?$(".basket__product_checkbox").prop("checked",!0):$(".basket__product_checkbox").prop("checked",!1)})),$(".basket__gift_inputs[data-nogiftforyou]").length>0&&(Alertek.show_alert(productslist_maxvalue_05_txt),$.post($("form.basket__form").attr("action"),$("form.basket__form").serialize(),(function(){}),"json")),$(".basket__add .add__textarea").blur((function(){const e=$(this),t=e.val().length,i=productslist_maxvalue_04_txt;t>i&&(e.val(e.val().substring(0,i)),Alertek.show_alert(productslist_03a_txt+i+productslist_03b_txt))})),$(".basket__quantity .quantity__input").on("keyup",(function(){const e=$(this),t=e.val();if(e.val(e.val().replace(/[^0-9.]+/g,"")),app_shop.vars.view<3){const i=$.fn.textWidth(t,"21px Arial");e.width(i+15)}else e.removeAttr("style")})),$(document).on("click.close_wrappers",".close_wrappers",(function(){$(".basket__wrappers").removeClass("--active")})),$(".basket__quantity .quantity__input").on("change",(function(){const t=$(this);let i=!1,n=!1;const r=t.parents(".basket__block").attr("data-product-id"),a=t.parents(".basket__block").attr("data-product-size");$(".basket__block").each((function(){$(this).attr("data-product-id")==r&&$(this).attr("data-product-size")==a&&$(this).hasClass("--special")&&(i=!0,n=$(this).find(".quantity__input").val())})),t.parents(".basket__block").hasClass("--special")&&(i=!1),i?e.numberCheck($(this),n):e.numberCheck($(this))})),simple_tooltip(".basket__tip","n59581_tooltip"),$(".basket__param.--comment .param__label").trunk8({lines:2})};app_shop.run((function(){new Basket({funcActionsCall:basketActionsCall});app_shop.vars.view>2&&($(".basket").append($("#menu_banners2")),app_shop.vars.bLazy.revalidate())}),"all","#Basket"),app_shop.run((function(){$(".basket__quantity .quantity__input").keyup()}),[1,2,3,4],"#Basket");var productslist_03a_txt="Uwagi mogą mieć maksymalnie ",productslist_03b_txt=" znaków. ",productslist_maxvalue_04_txt="255",productslist_maxvalue_05_txt="<b>Wybrany przez Ciebie wcześniej produkt gratisowy nie jest dostępny dla takiej wartości koszyka. </b><br/><span style='font-weight:normal;'>Prosimy wybierz inny produkt gratisowy lub powiększ swoje zamówienie.</span>",txt_order_wrappers_1="Do koszyka",txt_order_wrappers_2="Gratis !",txt_order_wrappers_4="Wybierz opakowanie",txt_order_wrappers_8="Zamknij",product_buttons_basket_class="btn --solid";const basketeditTxt={week1:" tydzień",week2:" tygodnie",week3:" tygodni"};basketeditTxtWeek=[basketeditTxt.week3,basketeditTxt.week1,basketeditTxt.week2],app_shop.run((function(){orderTxt.week3,orderTxt.week1,orderTxt.week2;const e=[orderTxt.daybasket__toolss,orderTxt.day,orderTxt.days],t=$(".basket__division").data("weeks"),i=$(".basket__division").data("days"),n=$(".basket__division").data("week_day"),r=$(".basket__division").data("today");0===parseInt(t,10)?($(".basket__division_literal").hide(),r?$("strong.basket__division_weeks").html(orderTxtShipping[0]):$("strong.basket__division_weeks").html(orderTxtShipping[parseInt(n,10)])):$("strong.basket__division_weeks").html(app_shop.fn.changeLiteral(parseInt(i,10),e,!1)),$('input[name="allow_division_order"]').on("change",(function(){$(this).parents("form").submit()}))}),"all",".basket__division");var basket_gross_txt=" brutto";function countAnnuityEraty(e,t,i){window.open("https://www.eraty.pl/symulator/oblicz.php?numerSklepu="+e+"&wariantSklepu="+t+"&typProduktu=0&wartoscTowarow="+i,"count_zagiel","width=630,height=500,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no")}function init_basketedit_summary(){$("div.n68242_instalment_wrapper_close").click((function(){$("div.n68242_instalment_list").hide()})),$("a.n68242_instalment_button").click((function(){return parseInt($(this).attr("data-bankcount"))>1?$("#n66734_instalment div.n68242_instalment_list").toggle():1==parseInt($(this).attr("data-bankcount"))&&(ce
31na_raty>0?$("a.n68242_single_instalment_action").click():$("#n66734_instalment div.n68242_instalment_list").show("fast")),!1})),$("a.n68242_single_instalment").click((function(){return cena_raty>0?$("a.n68242_single_instalment_action").click():$("#n66734_instalment div.n68242_instalment_list").toggle("fast"),!1})),$("div.basketedit_calculations").children().length<3&&$("div.basketedit_calculations").hide(),$("#basket_go_next, #basket_go_next_phone").on("click",(function(){return $(this).attr("data-disabled")||($("form.basket__form , form.basketedit_productslist").append('<input type="hidden" name="after_basket_change" value="order"/>'),$("form.basketedit_productslist").submit()),!($("form.basketedit_productslist").length>0)}))}function setGiftsItems(){function e(){$.each($("#basketedit_gifts li.gift_enable"),(function(){$(this).removeClass("gift_active"),$(this).find("input[type=radio]").removeAttr("checked"),$('.basket__gift_inputs input[name="set_quantity[0]"]').val(0),$(this).find('input[name="set_quantity[0]"]').val(0),$(this).find("#your_gift_txt").remove()}))}$("div.gift_tooltip div.gift_choose").click((function(t){e(),$(this).parents(".gift_enable").addClass("gift_active"),$(this).parents(".gift_enable").find("input[type=radio]").attr("checked",!0),$(this).parents(".gift_enable").find('input[name="set_quantity[0]"]').val(1),$(".basket__gift_inputs").remove(),$("form.basketedit_productslist").length?$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basketedit_productslist"):$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basket__form"),$(this).parents(".gift_enable").find("input[type=hidden]").clone().appendTo(".basket__gift_inputs"),$("div.gift_tooltip").hide(),t.stopImmediatePropagation()})),$("div.gift_tooltip div.gift_resign").click((function(t){e(),$("div.gift_tooltip").hide(),t.stopImmediatePropagation()})),$.each($("#basketedit_gifts li.gift_enable"),(function(){$(this).find("div.gift_tooltip");$(this).find("div.gift_tooltip").length?$(this).click((function(){$(this).hasClass("gift_active")?($(this).find("div.gift_choose").hide(),$(this).find("div.gift_resign").show()):($(this).find("div.gift_choose").show(),$(this).find("div.gift_resign").hide()),$("#basketedit_gifts li.gift_enable").not(this).find("div.gift_tooltip").hide(),$(this).find("div.gift_tooltip").toggle()})):$(this).click((function(){$(this).is(".gift_active")?e():(e(),$(this).addClass("gift_active").find("h3").prepend('<div id="your_gift_txt">'+twoj_prezent_txt),$(this).find("input[type=radio]").attr("checked",!0),$(this).parents(".gift_enable").find('input[name="set_quantity[0]"]').val(1),$(".basket__gift_inputs").remove(),$("form.basketedit_productslist").length?$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basketedit_productslist"):$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basket__form"),$(this).find("input[type=hidden]").clone().appendTo(".basket__gift_inputs"))}))})),$("#basketedit_gifts li.gift_enable select").click((function(e){$("#basketedit_gifts li.gift_enable").removeClass("gift_active"),$(this).parents("li").addClass("gift_active"),$(this).parents("li").find("input[type=radio]").attr("checked",!0),$(".basket__gift_inputs").remove(),$("form.basketedit_productslist").length?$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basketedit_productslist"):$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basket__form"),$(this).parents("li").find("input[type=hidden]").clone().appendTo(".basket__gift_inputs"),$(this).parents(".gift_enable").hasClass("gift_active")?($(this).parents(".gift_enable").find("div.gift_choose").hide(),$(this).parents(".gift_enable").find("div.gift_resign").show()):($(this).parents(".gift_enable").find("div.gift_choose").show(),$(this).parents(".gift_enable").find("div.gift_resign").hide()),e.stopImmediatePropagation()})),$("#basketedit_gifts li.gift_enable select").change((function(){$("#basketedit_gifts li.gift_enable").removeClass("gift_active"),$(this).next().val($(this).val()),$(".basket__gift_inputs").remove(),$("form.basketedit_productslist").length?$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basketedit_productslist"):$('<div class="basket__gift_inputs d-none"></div>').appendTo("form.basket__form"),$(this).parents("li").find("input[type=hidden]").clone().appendTo(".basket__gift_inputs")}))}app_shop.run((function(){init_basketedit_summary()}),"all",".basketedit_summary_container"),app_shop.run((function(){$("a.basketedit_rebatecodes_toggle").
31click((function(){return $(this).toggleClass("--active"),!1})),$("#a_change_code").click((function(){return $("#change_code").toggleClass("--active"),!1})),$("#a_remove_code").click((function(){return $("input.basketedit_rebatecodes_input").val(" "),$("#change_code").submit(),!1}))}),"all",".basketedit_rebatecodes_wrapper"),app_shop.run((function(){$("#basketedit_gifts").on("click",".basketedit_gifts_btn",(function(){$("div.basketedit_gifts_wrapper").toggle(),$(this).toggleClass("active"),$("#basketedit_gifts").find(".gift_item_icon").css("height",$(".basketedit_gifts_wrapper > ul > li").find(".gift_item_icon").maxHeight())})),$((function(){$("#basketedit_gifts").find(".gift_item_icon").css("height",$(".basketedit_gifts_wrapper > ul > li").find(".gift_item_icon").maxHeight())}))}),"all","#basketedit_gifts"),twoj_prezent_txt="TWÓJ PREZENT:",app_shop.run((function(){setGiftsItems()}),"all","#basketedit_gifts"),app_shop.run((function(){$(".pb_icon img.rwd-src").each((function(){$this=$(this),$this.attr("src",app_shop.fn.getRwdSrc($this))}))}),[1,2,3,4],"#favourites_list"),app_shop.run((function(){$("div.categories-list_wrapper ul").show()}),4,"div.categories-list_wrapper",!0),app_shop.run((function(){$("div.categories-list_wrapper ul").show()}),3,"div.categories-list_wrapper",!0),app_shop.run((function(){$("div.categories-list_wrapper ul").show()}),2,"div.categories-list_wrapper",!0),app_shop.run((function(){$("div.categories-list_wrapper ul.categories-list_level2, div.categories-list_wrapper ul.categories-list_level3").hide(),$("span.more_categories").unbind().click((function(){$(this).toggleClass("open").next("ul").slideToggle()}))}),1,"div.categories-list_wrapper",!0);var client_new_social_info_js_txt_1="Zaloguj się na którąś z wyżej wymienionych formy logowania aby dokończyć rejestrację.";app_shop.run((function(){Modal({element:$("#client_new_social_info"),classList:"--social",afterShow:(e,t)=>{$(".go_to_register_form").on("click",(function(e){return t.closeModal(),!1}))}})}),"all","#client_new_social_info"),app_shop.run((function(){$("#button_alert div").html(client_new_social_info_js_txt_1),$("#submit_register").removeAttr("onclick").click((function(){return $("#button_alert").show(),!1})),$("#submit_register").hover((function(){}),(function(){$("#button_alert").hide()})),$("#client_new_social li strong").on("click",(function(){$("#client_new_social form").not($("#social_networking_"+$(this).attr("data-service"))).hide(),$("#social_networking_"+$(this).attr("data-service")).toggle()})),$("#client_new_social form").on("submit",(function(){return window.location="/"+$(this).attr("action")+"?"+$(this).serialize(),!1}))}),"all","#client_new_social"),app_shop.run((()=>{app_shop.vars.topSpacer=70}),1,".client-new_page"),app_shop.run((()=>{app_shop.vars.topSpacer=90}),2,".client-new_page"),app_shop.run((()=>{app_shop.vars.topSpacer=10}),[3,4],".client-new_page");const clientFormTxt={txt00:"Mamy już zarejestrowane konto dla podanego adresu e-mail: ",txt01:"Pamiętam swój login i hasło i mogę je podać.",txt02:"Chcę stworzyć nowe konto przy użyciu tego adresu (niezalecane).",txt03:"Wyślij e-mail pozwalający na automatyczne zalogowanie",txt06:"Wyślij wiadomość na adres",txt07:"z danymi potrzebnymi do logowania .",txt08:"<br/>Założone wcześniej konto zostało połączone z kontem",txt13:"Proponujemy Ci użycie tego konta, co pozwoli Ci korzystać z przywilejów zarezerwowanych dla wielokrotnych klientów. Aby się zalogować na wcześniej założone konto, wystarczy kliknięcie na link, który możemy Ci wysłać w e-mailu.",txt14:"Poprawne formaty kodu pocztowego dla wybranego kraju to [X - cyfra; Y - litera]:",txt15:"znaków).",txt16:"Proszę wypełnić to pole.",txt16a:'<i class="icon-visibility"></i> Pokaż hasło',txt16b:'<i class="icon-novisibility"></i> Ukryj hasło',txt17:"Wpisz nazwę ulicy lub miejscowości.",txt18:"Nieprawidłowy format. Pole musi zawierać przynajmniej jedną literę."};var clientNewErrorCode=[];if(clientNewErrorCode.no_login="Wpisz w to pole swój login.",clientNewErrorCode.incorect_login="Błędnie wpisany login. Login musi mieć minimum 3, a maksimum 40 znaków. Możesz użyć liter i cyfr oraz symboli @ . - _.",clientNewErrorCode.no_password="Wpisz w to pole swoje hasło.",clientNewErrorCode.password_to_short="Zbyt krótkie hasło. Wpisz dłuższe hasło (minimum 6 znaków).",clientNewErrorCode.password_to_long="Za długie hasło. Wpisz krótsze hasło (maksimum 15 znaków).",clientNewErrorCode.login_equals_password="Hasło jest takie samo jak login. Wpisz inne hasło.",clientNewErrorCode.not_equal_passwords="Wpisane hasła nie są takie same. Wpisz ponownie hasło i potwierdzenie.",clientNewErrorCode.no_firstname="Wpisz w to pole swoje imię.",clientNewErrorCode.no_name="Wpisz w to pole swoje nazwisko.",clientNewErrorCode.incorect_email="Błędnie wpisany e-mail. Wpisz pełny adres e-mail, np. [email protected]",clientNewErrorCode.incorect_shops="Wybierz sklep z listy.",clientNewErrorCode.incorect_nip="Błędnie wpisany NIP.",clientNewErrorCode.no_firmname="Błędnie wpisana nazwa firmy.",clientNewErrorCode.incorrect_region="Błędnie wybrany region.",clientNewErrorCode.no_city="Wpisz w to pole nazwę miasta.",clientNewErrorCode.birth_date="Wpisz poprawną datę urodzenia w formacie RRRR-MM-DD",clientNewErrorCode.no_street="Wpisz nazwę ulicy lub miejscowości.",clientNewErrorCode.no_street_number="Wpisz nazwę ulicy lub miejscowości.",clientNewErrorCode.incorect_phone="Wpisz swój telefon.",clientNewErrorCode.incorect_zipcode="Błędnie wpisany kod pocztowy.",clientNewErrorCode.no_delivery_firstname="Wpisz imię odbiorcy przesyłki.",clientNewErrorCode.no_delivery_lastname="Wpisz nazwisko odbiorcy przesyłki.",clientNewErrorCode.no_delivery_city="Wpisz miejscowość odbiorcy przesyłki.",clientNewErrorCode.no_delivery_street="Wpisz ulicę i numer domu odbiorcy przesyłki.",clientNewErrorCode.incorect_delivery_region="Wybierz kraj odbiorcy przesyłki.",clientNewErrorCode.incorect_delivery_zipcode="Wpisz ko
31d pocztowy odbiorcy przesyłki.",clientNewErrorCode.login_taken="Podany login jest już zajęty",clientNewErrorCode.used_login="Podany login jest już zajęty",clientNewErrorCode.login_taken_login_propose="Podany login jest już zajęty.<br/><br/>Proponowany login: ",clientNewErrorCode.illegal_characters_client_firstname="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_client_lastname="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_client_street="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_client_city="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_client_phone="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_client_phone2="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_client_firm="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_delivery_firstname="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_delivery_lastname="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_delivery_city="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_delivery_additional="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_delivery_street="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_delivery_phone="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.illegal_characters_client_nip="Jeden z użytych znaków jest niedozwolony.",clientNewErrorCode.password_to_short="Zbyt krótkie hasło. Wpisz dłuższe hasło (minimum",clientNewErrorCode.password_to_long="Za długie hasło. Wpisz krótsze hasło (maksimum",clientNewErrorCode.no_invoice_firstname="Wpisz imię klienta.",clientNewErrorCode.no_invoice_lastname="Wpisz nazwisko klienta.",clientNewErrorCode.no_invoice_firmname="Wpisz nazwę firmy klienta.",clientNewErrorCode.incorect_invoice_phone="Wpisz telefon klienta.",clientNewErrorCode.no_invoice_city="Wpisz miejscowość klienta.",clientNewErrorCode.no_invoice_street="Wpisz ulicę i numer domu klienta.",clientNewErrorCode.no_invoice_street_number="Wpisz ulicę i numer domu klienta.",clientNewErrorCode.incorect_invoice_zipcode="Wpisz kod pocztowy klienta.",clientNewErrorCode.invalid_format="Nieprawidłowy format. Pole musi zawierać przynajmniej jedną literę.",clientNewErrorCode.no_street_number_uk="Brakuje numeru domu.",clientNewErrorCode.no_street_number="Podaj nr domu.",clientFormOptions={streetnumber:'"1"'},$("#client_new_form").length){var client_new_form_script=document.createElement("script");client_new_form_script.type="text/javascript",client_new_form_script.src=app_shop.urls.prefix+"client_new_form.js",document.body.appendChild(client_new_form_script)}app_shop.run((function(){$("#client_new_summary").before($("div.rebate_card_wrap"))}),"all",".rebate_card_wrap"),app_shop.run((function(){$(".rebates_active__button.--change").on("click",(function(){return $(".rebates_active__sub.--form").removeClass("d-none"),$(this).parent().addClass("d-none"),app_shop.vars.view>1&&app_shop.vars.view<4&&$(".rebates_active__sub.--info").addClass("d-none"),!1}))}),"all",".rebates_info");const BorderRadiusAdd=e=>{$(".rebates_product__products").each((function(){let t=$(this).find($(".rebates_product__product")),i=t.length;t.removeClass("--radiusLeftTop --radiusRightBottom --radiusRightTop --radiusLeftBottom"),t.first().addClass("--radiusLeftTop"),t.last().addClass("--radiusRightBottom"),i<e?t.last().addClass("--radiusRightTop"):t.filter(`:nth-child(${e})`).addClass("--radiusRightTop"),i<e?t.last().addClass("--radiusRightTop"):t.filter(`:nth-child(${e})`).addClass("--radiusRightTop"),i%e==0?t.filter(`:nth-child(${i-e+1})`).addClass("--radiusLeftBottom"):(t.filter(`:nth-child(${i-i%e})`).addClass("--radiusRightBottom"),t.filter(`:nth-child(${i-i%e+1})`).addClass("--radiusLeftBottom"))}))};app_shop.run((()=>{BorderRadiusAdd(2)}),[1],".rebates_product__products"),app_shop.run((()=>{BorderRadiusAdd(4)}),[2,3,4],".rebates_product__products"),BorderRadiusAdd(4),app_shop.run((function(){1!=app_shop.vars.view&&$("a.show_on_map").click((function(){return contact_map.showMap(),!1})),1==app_shop.vars.view&&$("div.contact_contact_right p").each((function(){$(this).find("a").size()&&($(this).css("cursor","pointer"),$(this).click((function(){window.location=$(this).find("a").attr("href")})))}
31))}),"all","#contact_contact"),app_shop.fn.replaceSelects=function(e,t,i){e.each((function(e){var n=$(this),r=e;$selectValue=n.val(),$selectName=n.attr("name"),$labelName="",n.data("label")&&($labelName="<b>"+n.data("label")+"</b>"),$ul=$('<div class="dropdown dropdownsearching form-group '+n.attr("class")+'"><ul class="dropdown-menu" aria-labelledby="'+t+r+'"></ul></div>'),n.children().each((function(e){var t=$(this);$li=$("<li>");var i=new Array;if($.each(t.data(),(function(e,t){var n="data-"+e+"="+t;i.push(n)})),i.length)var n=i.join(" ");else n="";$('<a data-index="'+e+'" '+n+">").attr("href","#"+t.attr("value")).attr("data-value",t.attr("value")).text(t.text()).addClass($selectValue==t.attr("value")?"selected":"").appendTo($li),$li.appendTo($ul.find("ul")),t.attr("class")&&$li.addClass(t.attr("class")),t.attr("data-price")&&$li.attr("data-price",t.attr("data-price"))})),$ul.prepend('<button id="'+t+r+'" class="form-control dropdown-toggle" data-indexcurrent="0" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">'+$labelName+"<span>"+n.find("option:selected").text()+"</span></button>").prepend('<input class="select_hidden searching_ajax" type="hidden" name="'+$selectName+'" value="'+$selectValue+'" />'),i&&$ul.find("li").on("click.option",(function(){i($(this))})),n.replaceWith($ul)}))},app_shop.run((function(){app_shop.fn.categoryDivider(".navigation_desc.--top .navigation_desc__wrapper")}),"all",".navigation_desc.--top"),app_shop.run((function(){$(document).on("click","a.show_description",(function(){return $(this).parent().addClass("expanded"),!1})),$(document).on("click","a.hide_description",(function(){return $(this).prev().removeClass("expanded"),!1}))}),"all",".navigation_desc"),app_shop.run((function(){app_shop.fn.categoryDivider(".navigation_desc.--bottom .navigation_desc__wrapper")}),"all",".navigation_desc.--bottom"),app_shop.run((function(){$(".news__date").each((function(){const e=$(this),t=app_shop.fn.news_data({data:e.text(),month_names:iaical_shortNames,format:"<div>%d %m</div><span>%y</span>"});t&&e.html(t)}
31))}),"all",".news__date");var newsletter={txt:"",fill:function(e){""==e.val()&&e.val(newsletter.txt)},clear:function(e){""!=e.val()&&e.val()==newsletter.txt&&e.val("")},mode:function(e){$("#mailing_action_contact").val(e),"remove"==e?($('input[name="newsletter_consent"], input[name="mailing_name"]').removeClass("validate"),$("#newsletter_privacy_consent").find(".has-feedback").removeClass("has-error"),$('input[name="mailing_name"]').parent().removeClass("has-error"),$('input[name="mailing_name"]').siblings(".validate_message").html("")):"add"==e&&$('input[name="newsletter_consent"], input[name="mailing_name"]').addClass("validate")}};function opinionsTruncate(){app_shop.fn.textTruncate=new TextTruncate({lineH:18,lineC:2,wrapper:$("#opinions_wrapper"),count:95},((e,t)=>{t.parents(".opinion_item").on("mouseleave",(()=>{app_shop.fn.magicGrid.positionItems(),t.parents(".opinion_item").off()})),$("html").hasClass("touch")&&app_shop.fn.magicGrid.positionItems()}))}function opinionsImgLoad(){app_shop.vars.bLazy.options.success=function(e){$(e).parents(".loading").removeClass("loading"),app_shop.fn.magicGrid.positionItems()}}app_shop.run((function(){$("form.newsletter_form").find("input, textarea").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$("#newsletter_button_remove").on("click",(function(){return newsletter.mode("remove"),app_shop.formControl.checkForm($(this).parents("form"))})),$("#newsletter_button_add").on("click",(function(){return newsletter.mode("add"),app_shop.formControl.checkForm($(this).parents("form"))}))}),"all","form.newsletter_form"),app_shop.vars.opinion_send="Twoja opinia o zamówieniu została wysłana, dziękujemy. Jeżeli chcesz ją zmienić kliknij <a href='#edit' class='opinion_edit'>tutaj</a>.",app_shop.vars.opinion_send2="Twoja opinia o produkcie została wysłana, dziękujemy.",app_shop.vars.opinion_error="Twoja opinia nie została wysłana.",app_shop.vars.opinion_empty="Podaj treść opinii.",app_shop.vars.opinion_file_size="Max. rozmiar zdjęcia to: 2048x1536px.",app_shop.vars.opinion_file_type="Dopuszczalne formaty zdjęć: jpg.",app_shop.vars.magicGridOptions={container:".opinions_wrapper",static:!0,animate:!0,gutter:30,maxColumns:3,useMin:!0},app_shop.fn.opinionsLoad=function(){app_shop.fn.magicGrid=new MagicGrid(app_shop.vars.magicGridOptions),app_shop.fn.magicGrid.listen(),app_shop.fn.magicGrid.positionItems(),opinionsTruncate(),$(".new_load_items img.b-lazy").parents("a").addClass("loading"),app_shop.vars.bLazy=new Blazy({container:"#opinions_wrapper",success:function(e){setTimeout((function(){$(e).parents(".loading").removeClass("loading"),app_shop.fn.magicGrid.positionItems()}),200)}})},app_shop.run((()=>{opinionsTruncate(),opinionsImgLoad()}),"all","#opinions_wrapper"),app_shop.txt.more="więcej",app_shop.run((function(){new OpinionsShop({})}),"all","#opinions_shop"),app_shop.run((function(){$("#order_open__number_input, #order_open__email_input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle);const e=$(this);app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(e)}),500)})),$(".order_open__button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents(".order_open__form"))}))}),"all",".order_open");const orderTxt={gratis:"Gratis!",pkt:" pkt.",gross:" brutto",day:" dzień ",days:" dni ",hour:" godz. ",hours:" godz. ",minutes:" min",time_pick1:"Przewidywana dostawa ",time_pick2:"Przewidywana dostawa ",time_pick3:"Odbierz zamówienie za ",time_pick4:"Odbierz zamówienie - ",time_pick5:"Przewidywana dostawa - ",time_pick5de:"",time_pick6:"Zamówienie będzie gotowe do odbioru natychmiast po przyjęciu zamówienia",shipping0:"Dzisiaj",shipping1:"Poniedziałek",shipping2:"Wtorek",shipping3:"Środa",shipping4:"Czwartek",shipping5:"Piątek",shipping6:"Sobota",shipping7:"Niedziela",servicesError:"Wystąpił problem z połączeniem. Za chwilę nastąpi ponowna próba połączenia."},orderTxtShipping=[orderTxt.shipping0,orderTxt.shipping1,orderTxt.shipping2,orderTxt.shipping3,orderTxt.shipping4,orderTxt.shipping5,orderTxt.shipping6,orderTxt.shipping7];var activeObject;function passAction(){activeObject.is("a")?window.location=activeObject.attr("href"):activeObject.closest("form").submit()}function setUnload(){$(window).bind("beforeunload",(function(e){return(e=e||window.event).returnValue=confirmmessage,confirmmessage}))}function order2_input_valid(){$(".order2_terms_wrapper input").each((function(){$(this).is(":checked")||$(this).parent().parent().addClass("required")})),$(".order2_terms_wrapper input").not(":checked").length>0?$("input.order2_button_order, input.order2_button_next").addClass("terms_required"):$("input.order2_button_order, input.order2_button_next").removeClass("terms_required")}function order2_terms_valid(){const e=document.querySelector(".order2_info1_sub_phone.--no-phone");if(e){e.scrollIntoView({behavior:"smooth",block:"start"});document.getElementById("order2TelInput").focus()}else $("input.order2_button_order").is(".terms_required")?order2_input_valid():($(window).unbind("beforeunload"),$("#ajaxLoadSite,#ajaxLoadSite_cover").show(),$("form.order2_form").submit())}orderTxt.xpress1="Musisz podać szczegóły dotyczące sposobu dostawy",orderTxt.xpress2="Kurier ekspresowy nie obsługuje Twojej okolicy ",orderTxt.xpress3="Wystąpił błąd zewnętrznego serwisu firmy kurierskiej. Proszę skontaktować się z obsługą sklepu lub zmienić formę dostawy. ",orderTxt.week1=" tydzień",orderTxt.week2=" tygodnie",orderTxt.week3=" tygodni",orderTxtWeek=[orderTxt.week3,orderTxt.week1,orderTxt.week2],app_shop.run((function(){orderdetails_payments.ajaxLoadSite(1),orderdetails_payments.ajaxLoadSiteMessage(order_send_preloadertxt),$("#ajaxLoadSite,#ajaxLoadSite_cover").hide(),setUnload(),$('input[type="submit"], a, button[type="submit"]').not('form.order2_form a, form.order2_form input, form.order2_form button, form[action="settings.php"] button, a.progress__item').click((function(e){return e.stopPropagation(),activeObject=$(this),dialogHTML=`<div id="menu_notice"><h2>${confirmwarning}</h2><p>${confirmmessage2}</p></div>`,Modal({html:`<div id="menu_notice" class="menu_notice"><h2>${confirmwarning}</h2><p>${confirmmessage2}</p><div class="menu_notice__buttons"><a href="#stop" class="menu_notice__button --stop btn --solid">${stop_order_button}</a>
31<a href="#continue" class="menu_notice__button --continue btn --solid">${continue_order_button}</a></div></div>`,classList:"--order2-notice",afterShow:(e,t)=>{e.querySelector(".menu_notice__button.--continue").addEventListener("click",(e=>(e.preventDefault(),t.closeModal(),!1))),e.querySelector(".menu_notice__button.--stop").addEventListener("click",(e=>(e.preventDefault(),$(window).unbind("beforeunload"),passAction(),!1)))}}),!1})),$("input.order2_button_order, input.order2_button_next").click((function(){return order2_terms_valid(),!1})),$("a.n57856_orderlink, a.n57856_nextlink, a.order2_button_change, a.order2_button_change_stock, a.order2_button_change_address, a.order2_button_change2,  a.order2_change_delivery_link").click((function(){return $(window).unbind("beforeunload"),$(this).is("input.order2_button_order, a.n57856_orderlink")&&$("#ajaxLoadSite,#ajaxLoadSite_cover").show(),!0})),$("input.order2_button_order").on("mouseover",(function(){order2_input_valid()})),$(".order2_terms_wrapper input").click((function(){$(this).parent().parent().removeClass("required")})),"undefined"!=typeof only_virtual&&"yes"==only_virtual&&$("div.wrappers_price").hide()}),"all","form.order2_form",!0);var confirmmessage="Twoje zamówienie nie zostało jeszcze złożone. Opuszczenie tej strony oznacza porzucenie zamówienia. Pamiętaj, że wracając do zamówienia za jakiś czas niektóre z produktów lub cen mogą być już nieaktualne.",confirmmessage2="Twoje zamówienie nie zostało jeszcze złożone. Dopiero przejście do kolejnego etapu zamówienia oznacza wysłanie go do realizacji. Pamiętaj, że wracając do zamówienia za jakiś czas niektóre z produktów lub cen mogą być już nieaktualne.",confirmwarning="Ostrzeżenie",order_send_preloadertxt="Trwa składanie zamówienia",stop_order_button="Przerwij składanie zamówienia ",continue_order_button="Kontynuuj składanie zamówienia ";const order2Txt={week1:" tydzień",week2:" tygodnie",week3:" tygodni"};order2TxtWeek=[orderTxt.week3,orderTxt.week1,orderTxt.week2];var eInvoice_dialog=function(){if(!$("#e-invoice_dialog").length)return!1;app_shop.fn.order2eInvoice=new Modal({element:$("#e-invoice_dialog"),classList:"--medium"})};app_shop.run((function(){1==$('input[name="invoice"]:checked').val()&&eInvoice_dialog(),$(document).on("change",'input[name="invoice"]',(function(){1==$(this).val()&&eInvoice_dialog()})),$(document).on("click","#e-invoice_dialog button",(function(){return $("input#order2_document_e-invoice").prop("checked",!0),app_shop.fn.order2eInvoice.closeModal(),!1}))}),"all","#e-invoice_dialog"),app_shop.run((function(){$("a#toggle_comments_button").on("click",(function(){return $(this).parent().toggleClass("open"),!1}))}),"all","#toggle_comments_button"),app_shop.run((function(){orderTxt.week3,orderTxt.week1,orderTxt.week2;const e=[orderTxt.days,orderTxt.day,orderTxt.days],t=$(".shipping_time_division").data("weeks"),i=$(".shipping_time_division").data("days"),n=$(".shipping_time_division").data("week_day"),r=$(".shipping_time_division").data("today");0===parseInt(t,10)?($(".order2__division_literal").hide(),r?$(".shipping_time_division strong").html(orderTxtShipping[0]):$(".shipping_time_division strong").html(orderTxtShipping[parseInt(n,10)])):$(".shipping_time_division strong").html(app_shop.fn.changeLiteral(parseInt(i,10),e,!1))}),"all",".shipping_time_division"),app_shop.run((function(){$("#order2_products .ordered-files li a").on("click",(function(e){e.preventDefault();const t=$(this),i=t.attr("href"),n=t.parent().find("span").text();let r=new Image;return r.src=i,r.onload=function(){Modal({html:`<div id="ui-dialogimg"><img alt="${n}" src="${i}" /></div>`,classList:"--medium"})},r.onerror=function(){window.open(i)},!1}))}),"all","#order2_products .ordered-files li a");var pickupl_animspeed=500,pickupl_alert="Nie wybrano punktu odbioru",pickupl_alertPoczta="Nie wybrano urzędu pocztowego",pickupl_linktxt="więcej informacji",pickupl_linktitle="Zobacz szczegółowe informacje",pickupl_requires_client_number="Nie wprowadzono numeru klienta w systemie kuriera.",pickupl_select_adress="Wpisz poprawny adres.",pickupl_select_route="Wpisz nazwę miasta",pickupl_nopoints="Wpisz inny adres, brak punktów odbioru.",pickupl_error="Wystąpił błąd. Proszę odświeżyć stronę i spróbować ponownie",pickupl_nopoints_in_area="Nie znaleziono punktów odbioru na danym obszarze. ",stocks_list_more_txt="",stocks_list_on_map_txt="";if(void 0===selected_pickup_point)var selected_pickup_point={};if(app_shop.run((function(){void 0!==app_shop.fn.fixedElement&&(app_shop.fn.fixedElement=new FixedElement(".pickupl_submit","--fixed","pickuplSpacer","bottom"),app_shop.fn.fixedElement.init())}),[1,2],"#pickup_site"),app_shop.fn.ajaxLoadSite=function(e){if((()=>{const e=document.getElementById("ajaxLoadSite"),t=document.getElementById("ajaxLoadSite_cover");e&&e.remove(),t&&t.remove()})(),!e)return;const t=`\n    <div id="ajaxLoadSite_cover" style="height:${document.body.scrollHeight}px;width:100%;position:absolute;
31left:0;top:0;"></div>\n    <div id="ajaxLoadSite" style="left:50%;transform:translateX(-50%);"></div>\n  `;document.body.insertAdjacentHTML("beforeend",t)},window.location.pathname.includes("return.html")&&window.location.search.includes("ordercancel_ok")){const e=setInterval((function(){const t=document.querySelector(".return_page"),i=document.querySelector("#retbut_ordercancel_ok");t&&i&&(i.href=i.href.replace("&amp;order_number","&order_number"),clearInterval(e))}),100)}(window.location.pathname.includes("order1.html")||window.location.pathname.includes("order-nonstandardized")||window.location.pathname.includes("order1.php")||(window.location.pathname.includes("signin.html")||window.location.pathname.includes("signin.php"))&&window.location.search.includes("operation=onceorder"))&&(window.location="/place-order.php");var txt_62619_label="Wpłaty ",txt_62619_wybrales_curr="Wybrałeś",txt_62619_wybrales="Wybrałeś, ale zrezygnowałeś z płatności",txt_62619_nakwote=" na kwotę ",txt_62619_wybrales2_curr="",txt_62619_wybrales2="Wybrano",txt_62619_jako=" jako formę płatności. ",txt_62619_jako_zwrot=" jako formę zwrotu.",txt_62619_kwota="Kwota do wpłaty to ",txt_62619_kwota_zwrot=" Kwota do zwrotu to ",txt_62619_auto="<br/>Wpłata zostanie zaksięgowana <b>automatycznie</b>.",txt_62619_dokoncz="",txt_62619_title="Jeżeli proces opłacania został przerwany, ponów tą płatność.",txt_62619_ponow="Ponów wpłatę",txt_62619_bedz="",txt_62619_bedz2="<br />Możesz zmienić sposób zapłaty.",txt_62619_w_inny="<br/>Dokonaj wpłaty na poniższe dane lub wybierz inny sposób zapłaty. ",txt_62619_w_inny2="Zmień formę płatności",txt_62619_rezygnacja="Zrezygnowałeś z tej formy płatności.",txt_62619_przyj_wplata="Twoja wpłata została przyjęta.",txt_62619_przyj_zwrot="Zwrot został wykonany.",txt_62619_paymentError='Wystąpił błąd płatności. Spróbuj ponownie opłacić zamówienie za chwilę lub  <a href="contact.php">skontaktuj się z nami</a>.',txt_62619_od_nazwa="Nazwa odbiorcy: ",txt_62619_konto="Numer konta: ",txt_62619_swit="SWIFT: ",txt_62619_bank="Bank:  ",txt_62619_tytulem="Tytuł przelewu: ",txt_62619_do_zaplaty="Kwota przelewu: ",txt_62619_wplata_dane="<br/>Dokonaj wpłaty na poniższe dane.",txt_62619_close_window="Zamknij okno",txt_62619_https_error="Dokonać płatności kartą kredytową można tylko przy użyciu szyfrowanego połączenia. Sprawdź czy adres sklepu poprzedzony jest protokołem HTTPS lub skontaktuj się z obsługą sklepu.",txt_62619_voucher_error="Wystąpiły błędy płatności bonem. ",txt_62619_voucher_error_v1="W tym sklepie, ten bon jest nieważny.",txt_62619_voucher_error_v2="Numer bonu jest niepoprawny. Nie istnieje bon o takim identyfikatorze. Spróbuj wpisać identyfikator ponownie, upewniając się, że jest on poprawny.",txt_62619_giftcard_error_v2="Dane karty podarunkowej są niepoprawne.",txt_62619_voucher_error_v3="Ten bon jest zablokowany.",txt_62619_voucher_error_v4="Ten bon został już wykorzystany.",txt_62619_voucher_error_v5="Ten bon jest już nieważny - termin ważności minął.",txt_62619_voucher_error_v6="",txt_62619_voucher_error_v7="Bon o podanym identyfikatorze nie istnieje. Spróbuj wpisać identyfikator ponownie.",txt_62619_voucher_error_v8="Nie podano identyfikatora bonu.",txt_62619_payment_title="Dokonaj płatności",txt_62619_loader_message="Pobieram dane o płatności",txt_62619_loader_message2="Dodaję płatność",txt_62619_loader_message3="Pobieram historię płatności",txt_62619_hhtransfer_error="Wystąpiły błędy płatności punktami.",txt_62619_incorrect_paymentid="Wystąpiły błędy - wybierz inną formę płatności.",txt_62619_newpayment_error="Wystąpiły błędy płatności. Spróbuj ponownie opłacić zamówienie za chwilę.",txt_62619_newpayment_points_error="Nie masz wystarczającej ilości punktów lojalnościowych aby opłacić to zamówienie- wybierz inną formę płatności.",txt_62619_mozesz_row=" Możesz również ",txt_62619_anuluj_wplate=" anulować tę wpłatę",txt_62619_paymentCancelError='Wystąpił błąd podczas anulowania płatności. Spróbuj ponownie za chwilę lub  <a href="contact.php">skontaktuj się z nami</a>.',txt_62619_loader_message_4="Trwa anulowanie płatności",txt_62619_wypelnij_wniosek="Wypełnij wniosek",txt_62619_dokonaj_platnosci="Zapłać ",txt_62619_paypo_dokonaj_platnosci=" Przejdź do płatności odroczonej",txt_62619_do_oplacenia="Do opłacenia zamówienia pozostało Ci ",txt_62619_dodatkowa_opl="Dodatkowa opłata ",txt_62619_l_nawias=" (",txt_62619_r_nawias=")",txt_62619_payment_success="Dyspozycja dokonania płatności internetowej została przyjęta.",txt_62619_select_payment_method="Wybierz sposób zapłaty",txt_62619_select_firstData="Transakcja zostanie zrealizowana przez system płatności FirstData International",txt_prepaid0011_kredyt="Kredyt Kupiecki",txt_prepaid0011_saldo="saldo (nadpłata na koncie klienta)",txt_prepaid0019_upper="Wybierz inną formę płatności",txt_blikCode="Podaj 6-cyfrowy kod BLIK:",lukasnotconfirmed="Proszę zaznaczyć pole z wyrażeniem zgody.",zagielnotconfirmed="Przed zatwierdzeniem płatności eRaty zapoznaj się z regulaminem.",next_voucher_text="<span>+</span> Użyj kolejnego bonu",blik_js_txt_confirm="Potwierdź transakcję za pomocą aplikacji na swoim urządzeniu mobilnym.",blik_code_empty="",txt_terms_title="Płatność jednorazowa IdoPay",txt_terms_link="regulamin płatności jednorazowej IdoPay",txt_terms_checkbox="Oświadczam, że zapoznałam / zapoznałem się i w pełni akceptuję Regulamin.",txt_terms_checkbox1="Zapoznałem się i akceptuję ",txt_terms_checkbox2=", przez którą będzie realizowana płatność.",txt_62619_restartPayment="Ponów płatność",txt_62619_card_not_supported="Przepraszamy, ale nie obsługujemy tego rodzaju kart",txt_62619_blik_length_error="Kod BLIK powinien zawierać 6 cyfr",orderdetails_payments={ajaxLoadSite:function(e,t=!1){const i=t?"--loading-page-overlay":"--loading-page";if(e)document.querySelector("html").classList.add(i);else{document.querySelector("html").classList.remove("--loading-page"),document.querySelector("html").classList.remove("--loading-page-overlay");const e=document.querySelector(".orderdetails_summary");e&&e.classList.remove("--pay_overlay")}},ajaxLoadSiteMessage:function(e){}};app_shop.run((function(){$("#prepaid_order_products .ordered-files ul li a").on("click",(function(e){e.preventDefault();const t=$(this),i=t.attr("href"),n=t.parent().find("span").text();let r=new Image;return r.src=i,r.onload=function(){Modal({html:`<div id="ui-dialogimg"><img alt="${n}" src="${i}" /></div>`,classList:"--medium"})},r.onerror=function(){window.open(i)},!1}))}),"all","#prepaid_order_products .ordered-files");const prepaidTxt={week1:" tydzień",week2:" tygodnie",week3:" tygodni"};prepaidTxtWeek=[prepaidTxt.week3,prepaidTxt.week1,prepaidTxt.week2],app_shop.run((function(){"undefined"!=typeof only_virtual&&"true"==only_virtual&&$("#prepaid_delivery_list").hide()}),"all"),jQuery.fn.hasScrollBar=function(){return this.width()<this.find(">*:first").width()},app_shop.vars.cmpItemWidth=200,app_shop.fn.cmpItemWidth=function(e,t){$("#compareCss").remove();
31var i=$("#product_compare_list").width()/e-2*t;app_shop.vars.cmpItemWidth=i,$("head").append("<style id='compareCss'>.compare .item_width{ width:"+i+"px; }</style>"),setTimeout((function(){$("#product_compare_list").hasScrollBar()?$("#product_compare_list_wrapper").addClass("hasScrollBar"):$("#product_compare_list_wrapper").removeClass("hasScrollBar")}),500)},app_shop.run((function(){app_shop.fn.cmpItemWidth(3,1)}),1,"#product_compare_list"),app_shop.run((function(){app_shop.fn.cmpItemWidth(4,1)}),2,"#product_compare_list"),app_shop.run((function(){app_shop.fn.cmpItemWidth(4,1)}),3,"#product_compare_list"),app_shop.run((function(){app_shop.fn.cmpItemWidth(5,1)}),4,"#product_compare_list"),app_shop.run((function(){var e=$("#product_compare_list_wrapper"),t=$("#product_compare_list"),i=function(){t.scrollLeft()+t.innerWidth()>=t[0].scrollWidth?e.addClass("hideNext"):e.removeClass("hideNext"),0==t.scrollLeft()?e.addClass("hidePrev"):e.removeClass("hidePrev")};$('.configure a[href="#differences"]').click((function(){var e=$
31(this),i=e.data("toggletxt").trim(),n=decodeURIComponent(e.html().trim());if(e.html(i),e.data("toggletxt",n),$("#product_compare_list .highlight").size())return $("#product_compare_list .highlight").removeClass("highlight"),!1;t.find("tr").not(".cmp_product").each((function(){$.unique($(this).find("td").map((function(){return $(this).text().trim().toLowerCase()}))).size()>1&&$(this).addClass("highlight")})),$.unique($(".list_traits li.producer div").map((function(){return $(this).text().trim().toLowerCase()}))).size()>1&&$(".list_traits li.producer").addClass("highlight"),$.unique($(".list_traits li.barcode div").map((function(){return $(this).text().trim().toLowerCase()}))).size()>1&&$(".list_traits li.barcode").addClass("highlight")})),$(".configure_item a[data-position]").click((function(){var n=$(this),r=n.data("position")-1;return $("#product_compare_list tr").each((function(){$(this).find("td").eq(r).toggleClass("hideCol")})),setTimeout((function(){t.hasScrollBar()?e.addClass("hasScrollBar"):e.removeClass("hasScrollBar"),i();var r=n.data("toggletxt").trim(),a=decodeURIComponent(n.html().trim());n.html(r),n.data("toggletxt",a)}),300),!1})),t.bind("scroll",(function(){i()})),t.scrollLeft(0),$(".navigation .prev").click((function(){t.animate({scrollLeft:"-="+app_shop.vars.cmpItemWidth},500)})),$(".navigation .next").click((function(){t.animate({scrollLeft:"+="+app_shop.vars.cmpItemWidth},500)}))}),"all","#product_compare_list"),app_shop.run((function(){$("#product_stocks_list .sizes_wrapper").wrappTableLayout({numCol:3})}),[3,4],"#product_stocks_list"),app_shop.run((function(){$("#product_stocks_list .sizes_wrapper").wrappTableLayout({numCol:2})}),2,"#product_stocks_list"),app_shop.run((function(){$("#product_stocks_list .sizes_wrapper").wrappTableLayout({numCol:1})}),1,"#product_stocks_list"),$((function(){$(".show_tab").click((function(){return 1==app_shop.vars.view&&($(this).toggleClass("tab_hidden").toggleClass("tab_visible"),$($(this).attr("href")).slideToggle("fast")),!1}))})),app_shop.run((function(){app_shop.fn.selectPaging=new SelectToDropdown({selector:".pb_paging__select:not(.f-dropdown)",afterClickDropdownCallback:e=>{e.closest("form").submit()}})}),"all",".products-bought .s_paging select"),app_shop.run((function(){$(".products-bought__product-button .btn-disabled").on("click",(function(e){return e.preventDefault(),!1}))}),"all",".products-bought__product-button .btn-disabled",!0),app_shop.run((function(){$(".products-bought__product-icon img.rwd-src").each((function(){$this=$(this),$this.attr("src",app_shop.fn.getRwdSrc($this))}));const e=document.querySelector(".products-bought__input-checkbox-all + .f-label"),t=document.querySelectorAll(".products-bought__input-checkbox + .f-label"),i=document.querySelector(".products-bought__products-button .btn");e.onclick=()=>(e=>{const t=e.previousSibling,i=document.querySelectorAll(".products-bought__checkbox:not(.--unavailable) .products-bought__input-checkbox");t.checked?(t.checked=!1,i.forEach((e=>{e.checked=!1}))):(t.checked=!0,i.forEach((e=>{e.checked=!0})))})(e),t.forEach((e=>{e.onclick=()=>(e=>{const t=e.previousSibling,{id:i,size:n}=t.dataset;if(!i||!n)return Alertek.Error(app_shop.txt.txt_1000_products_bought_error);t.checked?t.checked=!1:t.checked=!0})(e)})),i.onclick=async()=>{const e=new FormData,t=document.querySelectorAll(".products-bought__checkbox:not(.--unavailable) .products-bought__input-checkbox");[...document.querySelectorAll(".products-bought__product-button .btn")].map(((e,i)=>t[i].checked?e.href:updatedHref=e.href.split("&").map((e=>e.includes("number")?"number=0":e)).join("&"))).forEach(((t,i)=>{t.split("?")[1].split("&").filter((e=>!e.includes("mode")&&!e.includes("bundled"))).forEach((t=>{let n="number"===t.split("=")[0]?`set_quantity[${i+1}]`:`${t.split("=")[0]}[${i+1}]`;const r=t.split("=")[1];e.append(`${n}`,`${r}`)}))}));try{await fetch("basketchange.php?type=multiproduct",{method:"POST",body:e}),window.location.reload()}catch(e){throw new Error(e)}};(async()=>{const e=document.querySelectorAll(".products-bought__lowest_price");if(e.length){const t=await app_shop.graphql.getLowestPrice(`lastLowestPrice
31sInput: [${[...e].map((e=>`{\n        date: "${e.getAttribute("data-change-date")}",\n        productId: ${e.getAttribute("data-id")},\n        sizeId: "${e.getAttribute("data-size")}",\n      }`)).join(",")}]`);t?.data?.getLastLowestProductPrices&&t?.data?.getLastLowestProductPrices.forEach((e=>{const t=document.querySelector(`.products-bought__lowest_price[data-id="${e.id}"][data-size="${e?.sizes[0]?.id}"]`);t&&(t.classList.add("--active"),t.querySelector(".products-bought__lowest_price_value").textContent=e.sizes[0].price[app_shop.vars.priceType].formatted)}))}})()}),"all","#products-bought"),app_shop.run((function(){const e=document.querySelector("#paging_setting_bottom"),t=document.querySelector(".products-bought__products-button");e&&t&&t.append(e)}),[3,4],"#products-bought",!0);var txt_1_69363="Wybierz najwygodniejszy dla ciebie sposób wysyłki zwrotu";$(document).on("click",".step3d #return_go_next",(function(){if($(".step3d .order1_delitem_radio input").size()&&!$(".step3d .order1_delitem_radio input:checked").size())return Alertek.show_alert(txt_1_69363),!1})),$(document).on("click",".step3d div.return_delitem",(function(){$(".step3d div.return_delitem.active").removeClass("active"),$(this).addClass("active").find("input.order1_delitem_radio").prop("checked",!0)}));var txt_1_69372="Wybierz sposób zwrotu produktów",txt_1_69372_param="Wybierz parametr sposobu zwrotu produktów",txt_1_69372_tak="Potwierdzam",txt_1_69372_confirm_header="Czy potwierdzasz ...?",txt_1_fill_phone="Aby wybrać tę metodę zwrotu musisz uzupełnić numer telefonu w ustawieniach swojego konta";$(document).on("click","div.return_type.disabled_inpost",(function(){Alertek.show_alert(txt_1_fill_phone)})),$(document).on("click","div.return_type.choose_return_type:not(.disabled_inpost)",(function(){var e=$
31(this).find("input.return_type").val();$(this).addClass("current_method"),$(".return_type.choose_return_type.active").removeClass("active"),$(this).addClass("active").find("input.return_type").prop("checked",!0),$(".return_type.choose_return_type:not(.current_method) .return_methods_param > input, div.return_delitem_items:not(#delitem_item"+e+") .return_methods_param > input").prop("checked",!1),$("div.return_delivery_form, div.return_delitem_items").hide(),$("#delitem_item"+e).size()&&($("div.return_delivery_form, #delitem_item"+e).show(),$("#delitem_item"+e).find("div.return_delitem:first").click()),$(this).removeClass("current_method")})),$(document).on("click",".step3 #return_go_next",(function(e){if($(".step3 div.return_type input").size()){if(!$(".step3 div.return_type input:checked").size())return e.preventDefault(),Alertek.show_alert(txt_1_69372),!1;if($(".active .return_methods_param > input").length&&!$(".active .return_methods_param > input:checked").length)return e.preventDefault(),Alertek.show_alert(txt_1_69372_param),!1;$("div.progress_bar_wrapper").removeClass("pb_step3").addClass("pb_step4")}})),$(document).on("change",".return_methods_param > input",(function(){if($(this).parents().hasClass("disabled_inpost"))return $(this).prop("checked",!1),!1;$(this).prop("checked")&&$(this).parent().find(".return_confirmation_message").length&&confirmReturnParam($(this).parent())})),$(document).on("click",".step3 div.return_delitem",(function(){$(".step3 div.return_delitem.active").removeClass("active"),$(this).addClass("active").find("input.order1_delitem_radio").prop("checked",!0),$(".step3 div.return_delitem:not(.active) .return_methods_param > input").prop("checked",!1)}));var remove_param=!0;function confirmReturnParam(e){Modal({html:`<div id="menu_notice" class="menu_notice --rma"><h2>${txt_1_69372_confirm_header}</h2><p>${e.find(".return_confirmation_message").html()}</p><div class="menu_notice__buttons"><button class="menu_notice__button btn --solid" onclick="remove_param = false;document.querySelector('.modal__close').click(); return false;">${txt_1_69372_tak}</button></div></div>`,afterClose:(e,t)=>{remove_param&&unsetMethodParam(),remove_param=!0}})}function unsetMethodParam(){$(".active .return_methods_param > input").prop("checked",!1)}app_shop.run((function(){$(".return_type.active").click()}),"all",".return_type"),app_shop.run((function(){$("#returns_open__number_input, #returns_open__email_input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle);const e=$(this);app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(e)}),500)})),$(".returns_open__button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents(".returns_open__form"))}))}),"all",".returns_open");var txt_1_69260_1="Wybierz produkty do zwrotu",txt_1_odznacz_w_p="Odznacz wszystkie produkty ",txt_1_zaznacz_w_p="Zaznacz wszystkie produkty",txt_1_max_ret_amount="Maksymalnie możesz zwrócić ",txt_1_new_button="true";app_shop.run((function(){goNext=function(){var e=!1;return $(".productslist_item").each((function(){$(this).find(".productslist_product_action input:checked").size()&&0!=$(this).find('.productslist_product_quantity input[type="text"]').val()&&(e=!0)})),e},Basketedit.getValues=function(e){var t=e.parent(),i=t.find("input[name=data_amount]").val(),n=t.find("input[name=data_unit_sellby]").val(),r=t.find("input[name=data_unit]").val();return{precision:t.find("input[name=data_unit_precision]").val(),unit_sellby:n,unit:r,amount:i}},Basketedit.number_check=function(e,t){var i=e,n=Basketedit.getValues(e);t=t||!0;if(""==n.unit_sellby)var r=1;else r=n.unit_sellby;var a=n.unit,s=n.precision,o=n.amount,l=i.val();l=(l=parseFloat(l)).toFixed(6),l=parseFloat(l);var c=i.parents(".productslist_item").find(".productslist_product_action input");if(t&&(l>0?c.prop("checked",!0):c.prop("checked",!1)),l<=0)return i.val(0),!0;if(i.val(d),"1"==r)Math.round(l)>parseInt(o)&&isFinite(o)&&"-1"!=o?(Alertek.show_alert(txt_1_max_ret_amount+" "+o+" "+a),i.val(o)):i.val(Basketedit.roundNumber(Basketedit.if_isanumber(l,r),s));else if(s=parseInt(s),l>=parseInt(o)&&isFinite(o)&&"-1"!=o)Alertek.show_alert(txt_1_max_ret_amount+Basketedit.roundNumber(Math.floor(o/r)*r,s)+" "+a),i.val(Basketedit.roundNumber(Math.floor(o/r)*r,s));else{var d,p=Math.abs(Math.floor((l/r).toFixed(6)));d=p?parseFloat((p*r).toFixed(6))==l?(p*r).toFixed(s):p*r<l?((p+1)*r).toFixed(s):Math.abs((Math.ceil(l)*r).toFixed(s)):r,i.val(d)}},$(document).on("click",".productslist_product_action input",(function(){var e=$
31(this).parents(".productslist_item").find('.productslist_product_quantity input[type="text"]');if($(this).is(":checked")){var t=e.nextAll('input[name="data_unit_sellby"]').val();e.val(t),Basketedit.number_check(e,!1)}else e.val(0)})),$(".productslist_product_action input").not(":checked").size()?($(".step2 .select_all").html(txt_1_zaznacz_w_p),""!==txt_1_new_button&&$(".step2 .select_all").removeClass("icon-minus").addClass("icon-plus")):($(".step2 .select_all").html(txt_1_odznacz_w_p),""!==txt_1_new_button&&$(".step2 .select_all").removeClass("icon-plus").addClass("icon-minus")),$(document).on("click",".step2 .select_all",(function(){return $(".productslist_product_action input").not(":checked").size()?($(".productslist_product_action input").prop("checked",!0),$(".step2 .select_all").html(txt_1_odznacz_w_p),""!==txt_1_new_button&&$(".step2 .select_all").removeClass("icon-plus").addClass("icon-minus")):($(".productslist_product_action input").prop("checked",!1),$(".step2 .select_all").html(txt_1_zaznacz_w_p),""!==txt_1_new_button&&$(".step2 .select_all").removeClass("icon-minus").addClass("icon-plus")),$(".productslist_product_action input").each((function(){var e=$
31(this).parents(".productslist_item").find('.productslist_product_quantity input[type="text"]');if($(this).is(":checked")){var t=e.nextAll('input[name="data_unit_sellby"]').val();e.val(t),Basketedit.number_check(e,!1)}else e.val(0)})),!1})),$(document).on("click",".step2 #return_go_next",(function(){if(!goNext())return $(".rma_products_page").length?Alertek.show_alert(txt_1_69260):Alertek.show_alert(txt_1_69260_1),!1;$("div.progress_bar_wrapper").removeClass("pb_step2").addClass("pb_step3")})),$(".productslist_comment a.addMoreFiles").unbind().on("click",(function(){var e=$(this).parents(".prodl_comment_right").find("div.prodl_comment_foto").last();return e.after(e.clone()),e.next().find("input").val(""),!1}))}),"all",".returns_productslist");var txt_1_69378="Wybierz formę zwrotu należności",validationTextErrors=[];validationTextErrors.invalid_bank_acccount="Wprowadzony numer konta bankowego jest nieprawidłowy.",app_shop.run((function(){$('.step5 [data-validation="bank_account"]').keyup()}),"all",'.step5 [data-validation="bank_account"]');var txt_1_69376="Wybierz adres punktu zwrotu";function init_rma_calendar(){$("#rma_add_form_begin_ymd").datepicker({dateFormat:iaical_dateFormat,dayNamesMin:iaical_daysShort,monthNames:iaical_monthNames,onSelect:rma_add.setTime,firstDay:iaical_firstDay})}$(document).on("click",".step4a div.pickupl_return",(function(){$(".step4a div.pickupl_return").removeClass("active"),$(this).addClass("active").find("input").prop("checked",!0)})),app_shop.run((function(){$(document).on("click",".step4a #return_go_next",(function(){if(!$(".step4a div.pickupl_return input:checked").size())return Alertek.show_alert(txt_1_69376),!1;$("div.progress_bar_wrapper").removeClass("pb_step4").addClass("pb_step5")}))}),"all",".pickup_return_list_form .pickupl_return");var rma_add_alert="Wypełnij wszystkie pola formularza.",rma_add_msg1="Podaj nazwę produktu",rma_add_msg2="Podaj numer seryjny produktu",rma_add_msg3="Podaj datę zakupu produktu",rma_add_msg4="Opisz usterkę",rma_add_msg5="Opisz miejsce zakupu produktu",rma_add_msg6="Podaj adres, na który chcesz otrzymać zwrot pieniędzy",rma_add_msg7="Podaj numer konta bankowego",rma_add_msg8="Podaj dane do czeku";if(void 0===typeof rma_add_paymentTrigger)var rma_add_paymentTrigger=1;app_shop.run((function(){$("#rma_add_form").find("input, textarea").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$("a#rma_add_form_submit").on("click",(function(){return 1==app_shop.formControl.checkForm($(this).parents("form"))&&$("form#rma_add_form").submit(),!1}))}),"all","#rma_add_form"),app_shop.run((function(){app_shop.vars.rma_action&&init_rma_calendar()}),"all",".rma_add_form_outline");var rma_add={placeTrigger:0,setPlace:function(e){$(".rma_add_form_boxsub_hidden").css("display","none"),$("#"+e).css("display","block"),rma_add.placeTrigger="rma_add_form_buyplace_other"==e?1:0},setPayment:function(e){switch($(".rma_add_form_boxsub2_hidden").css("display","none"),$("#"+e).css("display","block"),e){case"rma_add_form_payp":rma_add_paymentTrigger=1;break;case"rma_add_form_payb":rma_add_paymentTrigger=2;break;case"rma_add_form_payc":rma_add_paymentTrigger=3;break;case"rma_add_form_payt":rma_add_paymentTrigger=4}rma_add.checkInps()},hideInfoText:function(e,t){},showInfo:function(e,t,i){t?(document.getElementById(e+"_off").style.display="",document.getElementById(e+"_on").style.display="none",i?(document.getElementById(e+"_help").style.display="block",document.getElementById(e+"_help").firstChild.innerHTML=i,rma_add.hideInfoText(e,5)):document.getElementById(e+"_help").style.display="none"):(document.getElementById(e+"_off").style.display="none",document.getElementById(e+"_on").style.display="",document.getElementById(e+"_help").style.display="none")},checkInps:function(e){},setTime:function(e,t){var i=$("#rma_add_form_begin_ymd").datepicker("getDate");$("#rma_add_form_beginy").val(i.getFullYear()),$("#rma_add_form_beginm").val(i.getMonth()+1),$("#rma_add_form_begind").val(i.getDate()),app_shop.formControl.validate($("#rma_add_form_begin_ymd"))},chooseSite:function(e){var t=e.slice(5);$(".rma_add_form_stock").removeClass("rmaf_selected"),$("#"+e).addClass("rmaf_selected"),$("#rma_stock").val(t)}},form_validation_error="",prefered_form_complain="Preferowana forma reklamacji";const fetchRMAMessages=async()=>{document.querySelector(".rma_questions").classList.add("load-content");try{await fetch(window.location.href).then((e=>e.text())).then((e=>{var t=(new DOMParser).parseFromString(e,"text/html");document.querySelector(".rma_questions").innerHTML=t.querySelector(".rma_questions").innerHTML,document.querySelector(".rma_questions").classList.remove("load-content"),$("a.rma_attach_file").on("click",(function(){$(this).closest("form").find("div.rma_af_files").show(),$(this).hide()})),document.querySelector(".rma_af_addMoreAttachments").addEventListener("click",(e=>{const t=document.querySelector(".rma_af_foto input").cloneNode(!0);console.log(t),t.value="",document.querySelector(".rma_af_foto").insertAdjacentElement("beforeend",t)}))}))}catch(e){throw new Error(e)}},sendComplaintMethod=async()=>
31{if(null!==localStorage.getItem("complaint_method")){const e=new FormData;e.append("comment",`${prefered_form_complain}: ${localStorage.getItem("complaint_method")}`);try{await fetch(`${window.location.href}&message=rma`,{method:"POST",body:e}),fetchRMAMessages(),localStorage.removeItem("complaint_method")}catch(e){throw new Error(e)}}};app_shop.run((function(){$(".rma_af_input").find("input, textarea").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$(".rma_af_buttons > button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents("form"))}))}),"all",".rma_added_files"),app_shop.run((function(){sendComplaintMethod(),document.querySelector(".rma_af_addMoreAttachments").addEventListener("click",(e=>{const t=document.querySelector(".rma_af_foto input").cloneNode(!0);console.log(t),t.value="",document.querySelector(".rma_af_foto").insertAdjacentElement("beforeend",t)}))}),"all",".rma_orderdetails_info"),$(document).on("click",".step2 .saveQuantity",(function(){return $(".productslist_product_action input").prop("checked",!0),!1})),$(document).on("click",".step1 a.orders_more",(function(){return $(".step1").hide(),$(".step2").show(),!1})),$(document).on("click",".step2 input.return_product",(function(){$(".step2 textarea.return_comment").toggle()})),$(document).on("click",".step5a div.return_form",(function(){$(".step5a div.return_form").removeClass("active"),$(this).addClass("active").find("input").prop("checked",!0),$(this).is("#disable_button")&&$("#disable_button input.return_form").val().length<3&&$("#return_go_next").prop("disabled","disabled").css("opacity","0.6")})),$(document).on("click","label.return_type",(function(){$("label.return_type.active").removeClass("active"),$(this).addClass("active")})),$((function(){$("td.rma-remarks").each((function(){$(this).attr("colspan",$(".orders.table-stroke thead th").size()-1)})),$("a.rma_attach_file").on("click",(function(){$(this).closest("form").find("div.rma_af_files").show(),$(this).hide()})),$("#disable_button input.return_form").keyup((function(){$("#disable_button input.return_form").val().length<3?$("#return_go_next").prop("disabled","disabled").css("opacity","0.6"):$("#return_go_next").prop("disabled",!1).css("opacity","1")}))}));var rmaHideSpeed=200,rmaLessInfo="",rma_cancel_alert="",rma_list={rmaMoreInfo:$("rma_list_item1").eq(0).children(".rma_list_item_operation").html(),choosePanel:function(e,t){$("#"+e)&&($("#"+e).siblings().removeClass("rma_on"),$("#"+e).addClass("rma_on")),$("#"+t)&&($("#"+t).siblings().hide(),$("#"+t).show())},chooseRma:function(e){$("#rmal_"+e)&&($("#rmal_"+e).toggleClass("rma_itema"),$("#rmal_"+e).children(".rma_list_item_operation").toggleClass("ophidden"),"none"==$("#rmal_"+e).next().css("display")?$("#rmal_"+e).next().slideDown(rmaHideSpeed):$("#rmal_"+e).next().slideUp(rmaHideSpeed))},cancelRma:function(e){if(1!=confirm(rma_cancel_alert))return!1;window.location=e}};app_shop.run((function(){rma_list.chooseRma(app_shop.vars.chooseRma)}),"all",".rma_list_data_outline"),app_shop.run((function(){$("#rma_open__number_input, #rma_open__email_input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle);const e=$(this);app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(e)}),500)})),$(".rma_open__button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents(".rma_open__form"))}))}),"all",".rma_open");const rmaTxt={chooseProducts:"Wybierz towary",complain:"Reklamuj",product:" towar",products:" towary",noDetailsOnComplain:"Proszę o podanie opisu usterki i powodu reklamacji",noFileSelected:"Nie wybrano pliku",mobile_complain:"Reklamuj towar",cancel_complain:"Zrezygnuj z reklamacji"},RmaProductList=function(e){this.params=e,this.vars={productsToComplain:0,dropdowns:null};const t=this;return this.generateDropdowns=()=>{this.vars.dropdowns=new SelectToDropdown({selector:".productslist_quantity .f-select",generateDropdownCallback:e=>{e.nextSibling.classList.remove("d-none")},afterClickDropdownCallback:e=>{"more"!=e.querySelector(".--selected").dataset.value?(e.closest(".productslist_item").querySelector(".productslist_product_action input").checked=!0,e.closest(".productslist_quantity").querySelector(".productslist_quantity__more_input").value=parseFloat(e.closest(".productslist_quantity").querySelector("select").value),this.countProductsToComplain()):(e.closest(".productslist_quantity").querySelector(".productslist_quantity__more_input").value="",e.closest(".productslist_quantity").querySelector(".productslist_quantity__more_input").focus())},disableMobileView:!0})},this.validateNumber=e=>{const t=parseFloat(e.dataset.max),i=parseFloat(e.attributes.step.value);return output=e.value%i!==0?e.value-e.value%i+i:e.value,output=output>t||output<0?output<0?e.dataset.prev:t:output,e.dataset.prev=output,e.value=output,output},this.inputHandler=()=>{document.querySelectorAll(".productslist_quantity__more_input").forEach((e=>{let i=null;e.addEventListener("keyup",(()=>{clearTimeout(i),i=setTimeout((function(){t.validateNumber(e),e.closest(".productslist_item").querySelector(".productslist_product_action input").checked=e.value>0,t.countProductsToComplain()}),750)})),e.addEventListener("blur",(()=>{e.value=e.dataset.prev}))}))},this.countProductsToComplain=()=>{this.vars.productsToComplain=0,document.querySelectorAll("input.productslist_quantity__more_input").forEach((e=>{this.vars.productsToComplain=parseFloat(this.vars.productsToComplain)+parseFloat(e.value)})),this.changeNextButton(this.vars.productsToComplain)}
31,this.changeNextButton=e=>{e>0?(document.querySelector("#return_go_next").innerHTML=`${rmaTxt.complain} (${e}) ${1==e?rmaTxt.product:rmaTxt.products}`,document.querySelector("#return_go_next").classList.remove("disabled")):(document.querySelector("#return_go_next").innerHTML=rmaTxt.chooseProducts,document.querySelector("#return_go_next").classList.add("disabled"))},this.validateForm=()=>{let e=!0;return null==document.querySelector(".productslist_product_action input:checked")?(Alertek.show_alert(txt_1_69260),e=!0,!1):(e=!1,document.querySelectorAll(".productslist_item").forEach((t=>{null!==t.querySelector(".productslist_product_action input:checked")&&0==t.querySelector(".productslist_product_comment textarea").textLength&&(null==t.querySelector(".productslist_product_comment .help-block")&&t.querySelector(".productslist_product_comment").insertAdjacentHTML("beforeend",`<span class="help-block validate_message text-danger">${rmaTxt.noDetailsOnComplain}</span>`),t.querySelector(".productslist_product_comment").classList.add("has-error"),e=!0)})),!e)},this.submitFormHandler=()=>{document.querySelector("#return_go_next").addEventListener("click",(e=>{e.preventDefault(),t.validateForm()&&document.querySelector(".returns_productslist").submit()}))},this.attachmentsShowHandler=()=>{document.querySelectorAll('.productslist_product_attachments a[href="#addComment"]').forEach((e=>{e.addEventListener("click",(()=>{e.classList.add("d-none"),e.closest(".productslist_product_attachments").querySelector(".rma__attachment").classList.remove("d-none")}))}))},this.addMoreFilesEvent=()=>{document.querySelectorAll(".addMoreFiles").forEach((function(e){e.addEventListener("click",(e=>{const i=e.target.closest(".rma__attachment"),n=i.querySelector(".prodl_comment_foto").lastElementChild.attributes.for.value+"_clone";let r=i.querySelector(".prodl_comment_foto").lastElementChild.cloneNode(!0);r.attributes.for.value=n,r.querySelector("input").id=n,r.querySelector("input").dataset.events=!1,r.querySelector("input").value="",r.querySelector(".prodl_comment_foto__imageName").innerHTML=rmaTxt.noFileSelected,i.querySelector(".prodl_comment_foto").lastElementChild.after(r),t.fakeFileInput()}))}))},this.fakeFileInput=()=>{document.querySelectorAll('input[data-events="false"]').forEach((e=>{e.addEventListener("change",(t=>{let i=t.target.files[0].name;e.closest("label").querySelector(".prodl_comment_foto__imageName").innerHTML=i})),e.dataset.events=!0}))},this.mobileToggleComplainHandler=()=>{document.querySelectorAll(".rma__toggleComplain").forEach((e=>{const t=e.closest(".productslist_item");e.addEventListener("click",(()=>{t.classList.toggle("--opened"),t.classList.contains("--opened")?(e.querySelector("span").innerHTML=rmaTxt.cancel_complain,t.querySelector('.f-dropdown-item[data-index="1"]').click()):(e.querySelector("span").innerHTML=`<i class="icon-plus"></i> ${rmaTxt.mobile_complain}`,t.querySelector('.f-dropdown-item[data-index="0"]').click())}))}))},this.showWarrantyInfo=()=>{app_shop.vars.view>2&&document.querySelectorAll(".productslist_warranty_info__show").forEach((e=>{e.addEventListener("click",(()=>{Modal({html:e.nextSibling.innerHTML,classList:"productslist_warranty_info__modal"})}))}))},this.init=()=>{this.generateDropdowns(),this.countProductsToComplain(),this.submitFormHandler(),this.attachmentsShowHandler(),this.fakeFileInput(),this.addMoreFilesEvent(),this.mobileToggleComplainHandler(),this.showWarrantyInfo(),this.inputHandler()},this.init()};app_shop.run((function(){app_shop.fn.rma_products_list=new RmaProductList}),"all",".return_productslist.rma"),$((function(){$("div.prodl_comment_right ol a.previewFile").each((function(){var e=$
31(this).text();e.length>=26&&(e.indexOf(".")>0?$(this).text(e.substring(0,26<e.lastIndexOf(".")?20:e.indexOf(".")-6)+"[...]."+e.split(".").pop()):$(this).text(e.substring(0,26)))})),$(document).on("click",'a.previewFile[href="#previewFile"]',(function(e){e.preventDefault(),e.stopPropagation();const t=$(this),i=t.attr("rel"),n=t.parent().find("span").text();let r=new Image;return r.src=i,r.onload=function(){Modal({html:`<div id="ui-dialogimg"><img alt="${n}" src="${i}" /></div>`,classList:"--medium"})},!1})),$(".rma_products_page a.choose_prod, .rma_products_page .allowReturn_2 a").click((function(){orderdetails_payments.ajaxLoadSite(1),orderdetails_payments.ajaxLoadSiteMessage("");var e=$(this).closest("td").find("a.addQuantity"),t=parseFloat(Basketedit.getValues(e.parent().find("input[type=text]")).unit_sellby);if(0==e.parent().find("input[type=text]").val()){var i=t;e.parent().find("input[type=text]").val(i).change()}return $(this).closest("form").submit(),!1}))}));var txt_1_69260="Wybierz produkty do reklamacji";productslist_03a_txt="Uwagi mogą mieć maksymalnie ",productslist_03b_txt=" znaków. ",productslist_maxvalue_04_txt="255";var Basketedit={getValues:function(e){var t=e.attr("data-amount"),i=e.attr("data-unit_sellby"),n=e.attr("data-unit");return{precision:e.attr("data-unit_precision"),unit_sellby:i,unit:n,amount:t,max_q:e.attr("data-max_q"),max_s:e.attr("data-max_s"),min_q:e.attr("data-min_q"),min_s:e.attr("data-min_s")}},roundNumber:function(e,t){return num=parseFloat(e),result=Math.abs(num.toFixed(t)),result},if_isanumber:function(e,t){return isNaN(e)?1:1==t?e:t},sellby_recount:function(e,t,i){return"up"==i?e*t:Math.round(i/t)*t},number_check:function(e){console.log("test");var t=e,i=Basketedit.getValues(e),n=parseFloat(i.unit_sellby),r=parseFloat(i.precision),a=parseFloat(i.amount),s=i.unit;console.log(o);var o=parseFloat(t.val());if(o<0)return t.val(0),!1;if(0===(o=parseFloat(o)))return t.val(0),!1;var l=parseFloat(i.max_q),c=parseFloat(i.max_s),d=parseFloat(i.min_q),p=parseFloat(i.min_s);if(!$.isNumeric(o)||o<=n){if(isNaN(l)&&isNaN(c)&&isNaN(d)&&isNaN(p))return t.val(n.toFixed(r)),!0;n=n.toFixed(r)}number=Math.floor(o/n)*n,number=(o/n*n-number).toFixed(r+1)>0?(1*number+n).toFixed(r):number.toFixed(r),number=parseFloat(number);var u=a,h=n,f=-1;if(!isNaN(l)){f=(f=l-(f=$.map($("."+t.attr("class")),(function(e){return parseFloat($(e).val())})).reduce((function(e,t){return e+t}))))<0?"end":f;var m=$("."+t.attr("class")).not(t);m.size()&&l-$.map(m,(function(e){return parseFloat($(e).val())})).reduce((function(e,t){return e+t})),u=u>l?l:u}return isNaN(c)||(u=u>c?c:u),isNaN(d)||(h=d>h?d:h),isNaN(p)||(h=p>h?p:h),-1!=u&&(h=u>h?h:n),h&&number<h?(Alertek.show_alert(Projector_txt_minimalnie+" "+Math.ceil(parseFloat(h)/n)*n+" "+s),t.val(Math.ceil(parseFloat(h)/n)*n),!0):"end"==f?(Alertek.show_alert(Projector_txt_maksymalnie+" "+Math.floor(parseFloat(l)/n)*n+" "+s),t.val(Math.floor(parseFloat(l)/n)*n),!0):number>u&&-1!=u?(Alertek.show_alert(Projector_txt_maksymalnie+" "+Math.floor(parseFloat(u)/n)*n+" "+s),t.val(Math.floor(parseFloat(u)/n)*n),!0):(t.val(number),!0)}},basketedit_productslist_init=function(){$("#basketedit_productslist .productslist_product_quantity input[type=text]").each((function(){var e=$
31(this).parent().find(".delQuantity");$(this).val()==parseFloat($(this).attr("data-min_q"))?e.addClass("disabled"):e.removeClass("disabled")})),$("#basketedit_productslist textarea").blur((function(){var e=$(this).val().length,t=productslist_maxvalue_04_txt;e>t&&($(this).val($(this).val().substring(0,t)),Alertek.show_alert(productslist_03a_txt+t+productslist_03b_txt))})),$("#basketedit_productslist .productslist_product_quantity input[type=text]").change((function(){Basketedit.number_check($(this));var e=$(this).parent().find(".delQuantity");$(this).val()==parseFloat($(this).attr("data-min_q"))?e.addClass("disabled"):e.removeClass("disabled")})),$(".productslist_quantity > input").on("click",(function(){if(1===app_shop.vars.view)return $(this).parent().parent().parent().parent().next().show(),$(this).parent().parent().parent().siblings(".productslist_product_toggler").children("a").addClass("open"),!1})),$(".productslist_quantity > input").on("input",(function(){1===app_shop.vars.view&&$(this).parent().parent().parent().parent().next().find("button.product_calculate").show()})),$(".productslist_quantity > input").on("change",(function(){1===app_shop.vars.view&&$(this).parent().parent().parent().parent().next().find("button.product_calculate").show()})),$(".basketedit_productslist a").click((function(){switch($(this).attr("href")){case"#addComment":var e;return $(this).parents(".rma__row").next().next().find("div.prodl_comment").length?e=$(this).parents(".rma__row").next().next():$(this).parents(".rma__row").next().find("div.prodl_comment").length&&(e=$(this).parents(".rma__row").next()),void 0!==e&&(e.find("div.prodl_comment").toggle(),e.find("div.prodl_comment_top").toggle()),!1;case"#clearComment":return $(this).prevAll("textarea").val(""),!1;case"#addQuantity":var t=parseFloat(Basketedit.getValues($(this).parent().find("input[type=text]")).unit_sellby),i=parseFloat($(this).parent().find("input[type=text]").val())+t;return $(this).parent().find("input[type=text]").val(i).change(),!1;case"#delQuantity":t=parseFloat(Basketedit.getValues($(this).parent().find("input[type=text]")).unit_sellby);return(i=parseFloat($(this).parent().find("input[type=text]").val())-t)<0&&(i=0),$(this).parent().find("input[type=text]").val(i).change(),!1}})),$(".basketedit_page #basketedit_productslist a").click((function(){switch($(this).attr("href")){case"#addComment":return $(this).parents(".productslist_item").find(".prodl_comment").length>0&&($(this).parents(".productslist_item").find(".prodl_comment_top").toggle(),$(this).parents(".productslist_item").find(".prodl_comment").toggle()),!1;case"#clearComment":return $(this).prevAll("textarea").val(""),!1;case"#removeSelected":return $("td.procuctCheckbox_sub input:checked").length>0?($("td.procuctCheckbox_sub input:checked").parents("tr.productslist_product_sizes").find(".productslist_product_quantity input[type=text]").val(0),$("form.basketedit_productslist").submit()):Alertek.show_alert(productslist_01_txt),!1}})),$(".basketedit_page input.selectAllCheckbox").click((function(){$(this).is(":checked")?($("td.procuctCheckbox input").prop("checked",!0),$("td.procuctCheckbox").addClass("procuctCheckboxSelect"),$("td.procuctCheckbox_sub input").prop("checked",!0),$("td.procuctCheckbox_sub").addClass("procuctCheckboxSelect")):($("td.procuctCheckbox input").removeAttr("checked"),$("td.procuctCheckbox").removeClass("procuctCheckboxSelect"),$("td.procuctCheckbox_sub input").removeAttr("checked","checked"),$("td.procuctCheckbox_sub").removeClass("procuctCheckboxSelect"))})),$(".basketedit_page td.procuctCheckbox input").click((function(){$("td.procuctCheckbox input").not(":checked").length>0&&$("input.selectAllCheckbox").removeAttr("checked"),$("td.procuctCheckbox input:checked").length==$("td.procuctCheckbox input").length&&$("input.selectAllCheckbox").prop("checked",!0),$(this).is(":checked")?($(this).parent().addClass("procuctCheckboxSelect"),$(this).parent().siblings(".productslist_product_sizes_wrapper").children().children().children().children("td.procuctCheckbox_sub").each((function(){$(this).addClass("procuctCheckboxSelect"),$(this).children("input.procuctCheckbox_sub").prop("checked",!0)}))):($(this).parent().removeClass("procuctCheckboxSelect"),$(this).parent().siblings(".productslist_product_sizes_wrapper").children().children().children().children("td.procuctCheckbox_sub").each((function(){$(this).removeClass("procuctCheckboxSelect"),$(this).children("input.procuctCheckbox_sub").removeAttr("checked")})))})),$(".basketedit_page td.procuctCheckbox_sub input").click((function(){$("td.procuctCheckbox_sub input").not(":checked").length>0&&$("input.selectAllCheckbox").removeAttr("checked"),$("td.procuctCheckbox_sub input:checked").length==$("td.procuctCheckbox_sub input").length&&$("input.selectAllCheckbox").prop("checked",!0),$(this).parents("table.productslist_product_sizes").find("td.procuctCheckbox_sub input").not(":checked").length>0&&($(this).parents("td.productslist_product_sizes_wrapper").siblings("td.procuctCheckbox").removeClass("procuctCheckboxSelect"),$(this).parents("td.productslist_product_sizes_wrapper").siblings("td.procuctCheckbox").children("input").removeAttr("checked")),$(this).parents("table.productslist_product_sizes").find("td.procuctCheckbox_sub input:checked").length==$(this).parents("table.productslist_product_sizes").find("td.procuctCheckbox_sub input").length&&($(this).parents("td.productslist_product_sizes_wrapper").siblings("td.procuctCheckbox").addClass("procuctCheckboxSelect"),$(this).parents("td.productslist_product_sizes_wrapper").siblings("td.procuctCheckbox").children("input").prop("checked",!0)),$(this).is(":checked")?$(this).parent().addClass("procuctCheckboxSelect"):$(this).parent().removeClass("procuctCheckboxSelect")}))};app_shop.run((function(){basketedit_productslist_init()}),"all",".basketedit_productslist");var txt_1_69378="Wybierz formę zwrotu należności",validationTextErrors=[];validationTextErrors.invalid_bank_acccount="Wprowadzony numer konta bankowego jest nieprawidłowy.",app_shop.run((function(){$(".return_form").find("input, textarea").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle),obj=$(this),app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(obj)}),500)})),$(".step5 #return_go_next").on("click",(function(){const e=document.querySelector(".complain_select");if(0!==e.querySelector("select").selectedIndex&&localStorage.setItem("complaint_method",e.querySelector("select").value),!$(".return_form.form-control.validate").parent().is(".has-success")&&$(".return_form.form-control.validate").parents(".return_form").is(".active"))return app_shop.formControl.checkForm($(this).parents("form")),document.querySelector(".return_form.form-control.validate").parentNode.classList.add("has-error"),!1;$("div.progress_bar_wrapper").removeClass("pb_step5").addClass("pb_step6")})),app_shop.fn.selectComplainMethod=new SelectToDropdown({selector:".complain_select",afterClickDropdownCallback:e=>{document.querySelector(".complain_select").classList.remove("has-error")}})}),"all",".return_form"),handleTim="",$(document).on("click",".step5 div.return_form",(function(){$(".step5 div.return_form").removeClass("active"),$(this).addClass("active").find("input").prop("checked",!0)})),app_shop.run((function(){$(window).resize((function(){$(".selectbox-title,.selectbox-container").removeAttr("style")}))}),"all","#searching_form"),app_shop.run((function(){app_shop.fn.shoppingListPage=new ShoppingListPage,app_shop.fn.shoppingListPageSelects=new SelectToDropdown({selector:".sl_settings__select",afterClickDropdownCallback:e=>{e.closest("form").submit()}})}),"all",".shopping_list"),app_shop.run((function(){$(".sl_products__item.--name").setHeight($(".sl_products")),$(".sl_products__item.--prices").setHeight($(".sl_products"))}),[1,2,3,4],".shopping_list"),app_shop.fn.switchSigninView=function(e){$("#signin-form_box_left .signin-form_box_sub").hide(),$("#"+e.attr("value")).show()},app_shop.run((function(){$("a.password_reminder_signin, a.password_back_signin").on("click",(function(){return app_shop.fn.switchSigninView($($(this).attr("href"))),!1})),$(".cookie_login_social_more_social").on("click",(function(){return $("#cookie_login_social_more").show(),$(this).remove(),!1}))}),"all","#signin-form"),app_shop.run((function(){$("a.show_on_map").click((function(){if($(".
31no-touch"))return stock_map.showMap(),!1}))}),"all","#stock_info_58110"),app_shop.run((function(){$(".stocks_list_name").maxHeight(),$(".stocks_list_adress").maxHeight(),$(".stocks_list_phone").maxHeight(),$(".stocks_list_mail").maxHeight()}),1,".stocks_list_wrapper",!0),app_shop.run((function(){$(".stocks_list_name").maxHeight(),$(".stocks_list_adress").maxHeight(),$(".stocks_list_phone").maxHeight(),$(".stocks_list_mail").maxHeight()}),2,".stocks_list_wrapper",!0),app_shop.run((function(){$(".stocks_list_name").maxHeight(),$(".stocks_list_adress").maxHeight(),$(".stocks_list_phone").maxHeight(),$(".stocks_list_mail").maxHeight()}),3,".stocks_list_wrapper",!0),app_shop.run((function(){$(".stocks_list_name").maxHeight(),$(".stocks_list_adress").maxHeight(),$(".stocks_list_phone").maxHeight(),$(".stocks_list_mail").maxHeight()}),4,".stocks_list_wrapper",!0);var stocks_list_more_txt="więcej informacji",stocks_list_on_map_txt="Pokaż na mapie";

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.