PageSourceSearch

https://instytutlema.pl/static/build/97.77608c498b867c7ef16d.js

js instytutlema.pl collected 2026-10-02 13:01:14 UTC 13,807 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunksitebuilder_client=globalThis.webpackChunksitebuilder_client||[]).push([[97],{586704:(e,t,s)=>{s.d(t,{d:()=>a});var i,l=s(624537),o=s(683063),n=s(396062);class a extends l.l{static getGlobalResolutionForRWDMode(){return bowweConfig.mobileFirst?a.MOBILE:a.DESKTOP}static getAllGlobalIndexes(){return Object.values(this.RWDModeConfig).map(e=>e.globalIndex)}static getAllResolutions(){return a.getAllValues().filter(e=>"string"!=typeof e)}static getAllValues(){return this.getAllKeys().filter(e=>"RWDModeConfig"!==e&&"MOBILE_FIRST_PREFIX"!==e).map(e=>this[e])}static getResolutionDependingOnMobileFirstValue(e,t){switch(e){case n.P.DESKTOP:return t?a.MOBILE_FIRST_DESKTOP:a.DESKTOP;case n.P.TABLET_HORIZONTAL:return t?a.MOBILE_FIRST_TABLET_HORIZONTAL:a.TABLET_HORIZONTAL;case n.P.TABLET:return t?a.MOBILE_FIRST_TABLET:a.TABLET;case n.P.MOBILE:return t?a.MOBILE_FIRST_MOBILE:a.MOBILE}}}i=a,a.DESKTOP=1200,a.TABLET_HORIZONTAL=bowweConfig.mobileFirst?992:1199,a.TABLET=bowweConfig.mobileFirst?768:991,a.MOBILE=767,a.MOBILE_FIRST_PREFIX="m",a.MOBILE_FIRST_DESKTOP=`${i.MOBILE_FIRST_PREFIX}1200`,a.MOBILE_FIRST_TABLET_HORIZONTAL=`${i.MOBILE_FIRST_PREFIX}992`,a.MOBILE_FIRST_TABLET=`${i.MOBILE_FIRST_PREFIX}768`,a.MOBILE_FIRST_MOBILE=`${i.MOBILE_FIRST_PREFIX}767`,a.COMMON="common",a.RWDModeConfig={[a.DESKTOP]:new o.A({hiddenClass:"hidden-widget-lg",previewClass:"",stylessheetId:"userStyles",bootstrapSuffix:"lg",animHiddenClass:"anim-hidden-lg",icon:"#topPanel_desktop",globalIndex:"global",globalStylesheetId:"customClasses"}),[a.TABLET_HORIZONTAL]:new o.A({hiddenClass:"hidden-widget-md",previewClass:"tablet-horizontal-preview",stylessheetId:"tabletHorizontalUserStyles",bootstrapSuffix:"md",animHiddenClass:"anim-hidden-md",icon:"#topPanel_tabletHorizontal",globalIndex:"tabletHorizontalGlobal",globalStylesheetId:"tabletHorizontalCustomClasses"}),[a.TABLET]:new o.A({hiddenClass:"hidden-widget-sm",previewClass:"tablet-preview",stylessheetId:"tabletUserStyles",bootstrapSuffix:"sm",animHiddenClass:"anim-hidden-sm",icon:"#topPanel_tablet",globalIndex:"tabletGlobal",globalStylesheetId:"tabletCustomClasses"}),[a.MOBILE]:new o.A({hiddenClass:"hidden-widget-xs",previewClass:"mobile-preview",stylessheetId:"mobileUserStyles",bootstrapSuffix:"xs",animHiddenClass:"anim-hidden-xs",icon:"#topPanel_mobile",globalIndex:"mobileGlobal",globalStylesheetId:"mobileCustomClasses"}),[a.MOBILE_FIRST_DESKTOP]:new o.A({hiddenClass:"hidden-widget-lg",previewClass:"desktopMobileFirst",stylessheetId:"userStylesMin",bootstrapSuffix:"lg",animHiddenClass:"anim-hidden-lg",icon:"#topPanel_desktop",globalIndex:"globalMin",globalStylesheetId:"customClassesMin"}),[a.MOBILE_FIRST_TABLET_HORIZONTAL]:new o.A({hiddenClass:"hidden-widget-md",previewClass:"tablet-horizontal-preview",stylessheetId:"tabletHorizontalUserStylesMin",bootstrapSuffix:"md",animHiddenClass:"anim-hidden-md",icon:"#topPanel_tabletHorizontal",globalIndex:"tabletHorizontalGlobalMin",globalStylesheetId:"tabletHorizontalCustomClassesMin"}),[a.MOBILE_FIRST_TABLET]:new o.A({hiddenClass:"hidden-widget-sm",previewClass:"tablet-preview",stylessheetId:"tabletUserStylesMin",bootstrapSuffix:"sm",animHiddenClass:"anim-hidden-sm",icon:"#topPanel_tablet",globalIndex:"tabletGlobalMin",globalStylesheetId:"tabletCustomClassesMin"}),[a.MOBILE_FIRST_MOBILE]:new o.A({hiddenClass:"hidden-widget-xs",previewClass:"mobile-preview",stylessheetId:"mobileUserStylesMin",bootstrapSuffix:"xs",animHiddenClass:"anim-hidden-xs",icon:"#topPanel_mobile",globalIndex:"mobileGlobalMin",globalStylesheetId:"mobileCustomClassesMin"}),[a.COMMON]:new o.A({hiddenClass:bowweConfig.mobileFirst?"hidden-widget-xs":"hidden-widget-lg",previewClass:bowweConfig.mobileFirst?"mobile-preview":"",stylessheetId:bowweConfig.mobileFirst?"mobileUserStylesMin":"userStyles",bootstrapSuffix:bowweConfig.mobileFirst?"xs":"lg",animHiddenClass:bowweConfig.mobileFirst?"anim-hidden-xs":"anim-hidden-lg",icon:bowweConfig.mobileFirst?"#topPanel_mobile":"#topPanel_desktop",globalIndex:bowweConfig.mobileFirst?"mobileGlobalMin":"global",globalStylesheetId:bowweConfig.mobileFirst?"mobileCustomClassesMin":"customClasses"})}},670836:(e,t,s)=>{s.d(t,{c:()=>l});var i=s(829572);class l{static getTransformedCssListFile(e=(null===bowweConfig||void 0===bowweConfig?void 0:bowweConfig.cssFileList)){const t=[];for(const s of null!=e?e:[])if(!l.isIgnoredFile(s.id))if(l.isBaseCssFile(s.id)){const e=i.N.getStylesheetByName(s.id);e&&t.push(e)}else{const e=l.getResolutionFromName(s.id);if(!e)continue;t.push({stylesheetName:s.id,resolution:e})}return t}static isIgnoredFile(e){return l.IGNORED_FILES.map(e=>e.toLowerCase()).includes(e.toLowerCase())}static isBaseCssFile(e){return i.N.getAllStyles().map(e=>e.stylesheetName).includes(e)}static getResolutionFromName(e){let t;try{t=Number(e.match(/\d+/g)[0])}catch(t){return console.error(`Number not found in stylesheet name: ${e}, is this a custom breakpoint stylesheet?`),null}return t}}l.IGNORED_FILES=["style","widgetsDefaultStyles"]},740097:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var i=s(906561),l=s(105656),o=(s(816562),s(865945)),n=s(274692);class a extends l.w{constructor(){super(...arguments),this.SCROLL_OVERRIDE_ANCHOR_SELECTORS=['[widget-type="navigation"] a[href]','a[widget-type="button"][href]','[widget-type="sitemap"] a[href]','a[widget-type="icon"][href]','[widget-type="image"] a[href]']}init(){const e=window.location.hash.replace("#","");-1===e.indexOf("/?")&&(window.location.hash=""),n(document).ready(()=>
1{if(e&&"/"!==e){const t=e.replace("/","");this.scrollToDataName(t),window.location.hash=`#${t}`}this.disableDefaultScrollAndSetCustom()})}scrollToDataName(e){n(`[data-name="${e}"]`).length>0?this.launchScroll(`[data-name="${e}"]`):this.checkIfNotQuery(e)&&n(`#${e}`).length>0&&this.launchScroll(`#${e}`)}checkIfNotQuery(e){return-1===e.indexOf("/")&&-1===e.indexOf("?")}checkIfExists(e){try{return n(`[data-name="${e}"]`).length>0||-1===e.indexOf("/")&&n(`#${e}`).length>0}catch(e){return!1}}launchScroll(e){const t=o.t.getScrolledElementSelector(bowweConfig.viewMode);n(t).animate({scrollTop:n(e).offset().top},500)}disableDefaultScrollAndSetCustom(){const e=this.SCROLL_OVERRIDE_ANCHOR_SELECTORS.join(", ");n(e).filter(function(){return/#[^/#]*$/.test(n(this).attr("href"))}).on("click",e=>{if(bowweConfig.viewMode===i.Q.DESIGN)return;e.preventDefault();const t=e.currentTarget,s=t.hash.replace("#",""),l=this.checkIfExists(s),o=this.cutMainLangPrefix(window.location.pathname.replace(/\/$/,"")),n=this.cutMainLangPrefix(t.pathname.replace(/\/$/,"")),a=o!==n,S=t.host!==window.location.host;!l||a||S||""===s&&""!==n?window.location.href=t.href:(window.location.hash=s,this.scrollToDataName(s))})}cutMainLangPrefix(e){const t=new RegExp(`^/${this.mainLanguage}`,"i");return e.replace(t,"")}get mainLanguage(){return bowweConfig.mainLang.toLowerCase()}}},829572:(e,t,s)=>{s.d(t,{N:()=>o});var i=s(926773),l=s(837877);class o{static getAllStyles(){const e=[];for(const t in this)"object"==typeof this[t]&&e.push(this[t]);return e}static getResolutionFromName(e){const t=e.match(/\d+/g);if(t)return Number(t[0])}static extractCssPathFromString(e,t){const s=e.toLowerCase().indexOf(t.toLowerCase());if(-1===s)return null;const i=e.toLowerCase().indexOf(".css",s);return-1===i?null:e.substring(s,i)}static getResolutionByStylesheetUrlOrName(e){var t;const s=[...l.A.getAllValues()].sort((e,t)=>t.length-e.length).find(t=>e.toLowerCase().includes(t.toLowerCase()));if(s)return this.getStylesheetByName(s).resolution;const o=bowweConfig.mobileFirst?i.n.MOBILE_FIRST_CUSTOM_PREFIX:i.n.DESKTOP_FIRST_USER_PREFIX,n=null!==(t=this.extractCssPathFromString(e,o))&&void 0!==t?t:e,a=this.getFileNameFromPath(n);return this.getResolutionFromName(a)}static getStylesheetByName(e){return o.getAllStyles().find(t=>t.stylesheetName.toLowerCase()===e.toLowerCase())}static getFileNameFromPath(e){var t;return null===(t=e.split("/").pop())||void 0===t?void 0:t.split("?")[0]}}o.CUSTOM_CLASSES_STYLESHEET=new i.n(l.A.CUSTOM_CLASSES,1/0),o.USER_STYLES_STYLESHEET=new i.n(l.A.USER_STYLES,1/0),o.TABLET_HORIZONTAL_CUSTOM_CLASSES_STYLESHEET=new i.n(l.A.TABLET_HORIZONTAL_CUSTOM_CLASSES,1199),o.TABLET_HORIZONTAL_USER_STYLES_STYLESHEET=new i.n(l.A.TABLET_HORIZONTAL_USER_STYLES,1199),o.TABLET_CUSTOM_CLASSES_STYLESHEET=new i.n(l.A.TABLET_CUSTOM_CLASSES,992),o.TABLET_USER_STYLES_STYLESHEET=new i.n(l.A.TABLET_USER_STYLES,992),o.MOBILE_CUSTOM_CLASSES_STYLESHEET=new i.n(l.A.MOBILE_CUSTOM_CLASSES,767),o.MOBILE_USER_STYLES_STYLESHEET=new i.n(l.A.MOBILE_USER_STYLES,767),o.MOBILE_FIRST_CUSTOM_CLASSES_STYLESHEET=new i.n(l.A.CUSTOM_CLASSES_MIN,1200),o.MOBILE_FIRST_USER_STYLES_STYLESHEET=new i.n(l.A.USER_STYLES_MIN,1200),o.MOBILE_FIRST_TABLET_HORIZONTAL_CUSTOM_CLASSES_STYLESHEET=new i.n(l.A.TABLET_HORIZONTAL_CUSTOM_CLASSES_MIN,992),o.MOBILE_FIRST_TABLET_HORIZONTAL_USER_STYLES_STYLESHEET=new i.n(l.A.TABLET_HORIZONTAL_USER_STYLES_MIN,992),o.MOBILE_FIRST_TABLET_CUSTOM_CLASSES_STYLESHEET=new i.n(l.A.TABLET_CUSTOM_CLASSES_MIN,768),o.MOBILE_FIRST_TABLET_USER_STYLES_STYLESHEET=new i.n(l.A.TABLET_USER_STYLES_MIN,768),o.MOBILE_FIRST_MOBILE_CUSTOM_CLASSES_STYLESHEET=new i.n(l.A.MOBILE_CUSTOM_CLASSES_MIN,0),o.MOBILE_FIRST_MOBILE_USER_STYLES_STYLESHEET=new i.n(l.A.MOBILE_USER_STYLES_MIN,0)},837877:(e,t,s)=>{s.d(t,{A:()=>l});var i=s(624537);class l extends i.l{}l.CUSTOM_CLASSES="customClasses",l.USER_STYLES="userStyles",l.TABLET_HORIZONTAL_CUSTOM_CLASSES="tabletHorizontalCustomClasses",l.TABLET_HORIZONTAL_USER_STYLES="tabletHorizontalUserStyles",l.TABLET_CUSTOM_CLASSES="tabletCustomClasses",l.TABLET_USER_STYLES="tabletUserStyles",l.MOBILE_CUSTOM_CLASSES="mobileCustomClasses",l.MOBILE_USER_STYLES="mobileUserStyles",l.CUSTOM_CLASSES_MIN="customClassesMin",l.USER_STYLES_MIN="userStylesMin",l.TABLET_HORIZONTAL_CUSTOM_CLASSES_MIN="tabletHorizontalCustomClassesMin",l.TABLET_HORIZONTAL_USER_STYLES_MIN="tabletHorizontalUserStylesMin",l.TABLET_CUSTOM_CLASSES_MIN="tabletCustomClassesMin",l.TABLET_USER_STYLES_MIN="tabletUserStylesMin",l.MOBILE_CUSTOM_CLASSES_MIN="mobileCustomClassesMin",l.MOBILE_USER_STYLES_MIN="mobileUserStylesMin"},865945:(e,t,s)=>{s.d(t,{t:()=>E});var i=s(396062),l=s(586704),o=s(906561),n=s(453989),a=s(670836),S=s(795098),r=s(274692);const E=new class{constructor(){this.SCROLL_TOP_OFFSET=20}getRWDMode(){const e=n.Ow.getParam("mode");return""!==e?Number(e):r(window).width()>=i.P.DESKTOP?i.P.DESKTOP:r(window).width()<i.P.DESKTOP&&r(window).width()>=i.P.TABLET_HORIZONTAL?i.P.TABLET_HORIZONTAL:r(window).width()<i.P.TABLET_HORIZONTAL&&r(window).width()>=i.P.TABLET?i.P.TABLET:r(window).width()<=i.P.MOBILE?i.P.MOBILE:void 0}isBelowRecommendedResolution(e=window.screen.width){return e<S.C.RECOMMENDED_MINIMAL_RESOLUTION}getAllResolutionsWithInitResolutions(e=[]){const t=[];
1a.c.getTransformedCssListFile().forEach(e=>{a.c.IGNORED_FILES.includes(e.stylesheetName)||a.c.isBaseCssFile(e.stylesheetName)||t.push(a.c.getResolutionFromName(e.stylesheetName))});const s=e.length?e:l.d.getAllResolutions();return[...new Set([...t,...s])].sort((e,t)=>e-t)}getScrollableArea(){return document.getElementById(this.getScrollableSelector())}getScrollableSelector(){if(bowweConfig.mobileFirst)return S.C.SCROLL_AREA;const e=i.P.map;return[e[i.P.MOBILE].previewClass,e[i.P.TABLET].previewClass,e[i.P.TABLET_HORIZONTAL].previewClass].some(t=>this.isCustomResolution(bowweConfig.previewMode)||e[bowweConfig.previewMode].previewClass.includes(t))?S.C.SCROLL_AREA:S.C.PAGE_WRAPPER}isCustomResolution(e){return"string"==typeof e&&(e=e.startsWith(l.d.MOBILE_FIRST_PREFIX)||e===l.d.COMMON?e:Number(e)),!l.d.getAllValues().includes(e)}getScrolledElementSelector(e){switch(e){case o.Q.NONE:case o.Q.VIEW:case o.Q.CREATE:return"html, body";case o.Q.DESIGN:case o.Q.PREVIEW:return`#${this.getScrollableSelector()}`;default:throw new Error(`Invalid viewMode: ${e}`)}}scrollToWidget(e){const t=this.getScrollableArea();if(t){const s=t.getBoundingClientRect(),i=this.getFirstVisibleWidget(e).getWidgetGeometry(),l=i.offsetY-s.top;if(l>=0&&l<s.height)return;let o=i.height>s.height?l-this.SCROLL_TOP_OFFSET:i.offsetY+i.height/2-s.top-s.height/2;o+=t.scrollTop,t.scrollTo({top:o,behavior:"smooth"})}else console.error("Element with class scrollable-area or page-wrapper not found!")}getFirstVisibleWidget(e){const t=e.getWidgetGeometry();return t.height<=0&&t.width<=0?this.getFirstVisibleWidget(e.parentWidget):e}}},926773:(e,t,s)=>{s.d(t,{n:()=>i});class i{constructor(e,t){this.stylesheetName=e,this.resolution=t}static isCustomFile(e){return e.stylesheetName.toLowerCase().includes(this.CUSTOM_SUBSTRING)}static isUserFile(e){return e.stylesheetName.toLowerCase().includes(this.USER_SUBSTRING)}static isMobileFirst(e){return e.stylesheetName.toLowerCase().includes(this.MOBILE_FIRST_CUSTOM_PREFIX)}static isDesktopFirst(e){return e.stylesheetName.toLowerCase().includes(this.DESKTOP_FIRST_USER_PREFIX)}static endsWithMobileFirstPostfix(e){return e.stylesheetName.toLowerCase().endsWith(this.MOBILE_FIRST_POSTFIX)}static isMobileFirstCustom(e){return this.isMobileFirst(e)&&this.isCustomFile(e)||this.isCustomFile(e)&&this.endsWithMobileFirstPostfix(e)}static isMobileFirstUser(e){return this.isMobileFirst(e)&&!this.isCustomFile(e)||this.isUserFile(e)&&this.endsWithMobileFirstPostfix(e)}static isDesktopFirstCustom(e){return this.isDesktopFirst(e)&&this.isCustomFile(e)||this.isCustomFile(e)&&!this.endsWithMobileFirstPostfix(e)}static isDesktopFirstUser(e){return this.isDesktopFirst(e)&&!this.isCustomFile(e)||this.isUserFile(e)&&!this.endsWithMobileFirstPostfix(e)}}i.MOBILE_FIRST_POSTFIX="min",i.MOBILE_FIRST_CUSTOM_PREFIX="mobilefirst",i.DESKTOP_FIRST_USER_PREFIX="desktopfirst",i.USER_SUBSTRING="user",i.CUSTOM_SUBSTRING="custom"}}]);
2//# sourceMappingURL=https://bowwe.preprod/static/build/97.77608c498b867c7ef16d.js.map

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.