silverstripe-webpack/app/client/dist/js/sample.js

2 lines
278 KiB
JavaScript
Raw Normal View History

2020-05-14 14:06:58 +02:00
/*! For license information please see sample.js.LICENSE.txt */
!function(){var h={999:function(h,g,v){var y={"./bg.png":236,"./logo.png":598,"./logo.svg":347,"./original.png":593,"./original2.png":507,"./photo1.png":511,"./photo2.jpg":957,"./photo3.svg":20,"app/client/src/img/bg.png":236,"app/client/src/img/logo.png":598,"app/client/src/img/logo.svg":347,"app/client/src/img/original.png":593,"app/client/src/img/original2.png":507,"app/client/src/img/photo1.png":511,"app/client/src/img/photo2.jpg":957,"app/client/src/img/photo3.svg":20,"bg.png":236,"img/bg.png":236,"img/logo.png":598,"img/logo.svg":347,"img/original.png":593,"img/original2.png":507,"img/photo1.png":511,"img/photo2.jpg":957,"img/photo3.svg":20,"logo.png":598,"logo.svg":347,"original.png":593,"original2.png":507,"photo1.png":511,"photo2.jpg":957,"photo3.svg":20};function webpackContext(h){var g=webpackContextResolve(h);return v(g)}function webpackContextResolve(h){if(!v.o(y,h)){var g=new Error("Cannot find module '"+h+"'");throw g.code="MODULE_NOT_FOUND",g}return y[h]}webpackContext.keys=function webpackContextKeys(){return Object.keys(y)},webpackContext.resolve=webpackContextResolve,h.exports=webpackContext,webpackContext.id=999},930:function(h,g,v){"use strict";v(546),v(553),v(513),v(521),v(40);var $,y,b,w,C=v(609),T=v.n(C),A={AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"},k=($=T(),y=window,b=document,w="ShrinkUI",console.log("".concat(w,": init")),$(y).on("".concat(w,".init ").concat(A.LOADED," ").concat(A.SCROLL," ").concat(A.RESIZE),(function(){if(!$("#Navigation > .navbar-collapse").hasClass("show")){var h=$("#SiteWideMessage").height();h||(h=0);var g=$("#SiteWideOffline").height();g||(g=0);var v=$("#Header").height();v||(v=0);var y=h+g+v;$(b).scrollTop()>y?$("body").addClass("shrink"):$("body").removeClass("shrink")}})),k);v(262);function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}function _setPrototypeOf(h,g){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(h,g){return h.__proto__=g,h})(h,g)}function _createSuper(h){var g=function _isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(h){return!1}}();return function _createSuperInternal(){var v,y=_getPrototypeOf(h);if(g){var b=_getPrototypeOf(this).constructor;v=Reflect.construct(y,arguments,b)}else v=y.apply(this,arguments);return _possibleConstructorReturn(this,v)}}function _possibleConstructorReturn(h,g){return!g||"object"!==_typeof(g)&&"function"!==typeof g?_assertThisInitialized(h):g}function _as