distraction.party/priv/static/packs/core/modal.js

2 lines
25 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[8,9],{13:function(t,e,n){"use strict";t.exports=function(){}},137:function(t,e,n){"use strict";function r(t){["interactive","complete"].includes(document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}n.r(e),n.d(e,"default",function(){return r})},15:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"c",function(){return i}),n.d(e,"g",function(){return u}),n.d(e,"h",function(){return c}),n.d(e,"f",function(){return l}),n.d(e,"d",function(){return s});var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},a=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},i=function(t,e){return e(window.confirm(t))},u=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},c=function(){return-1===window.navigator.userAgent.indexOf("Trident")},l=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},s=function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")}},16:function(t,e,n){"use strict";function m(t){return"/"===t.charAt(0)}function p(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}var a=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],r=e&&e.split("/")||[],o=t&&m(t),a=e&&m(e),i=o||a;if(t&&m(t)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var u=void 0;if(r.length){var c=r[r.length-1];u="."===c||".."===c||""===c}else u=!1;for(var l=0,s=r.length;0<=s;s--){var f=r[s];"."===f?p(r,s):".."===f?(p(r,s),l++):l&&(p(r,s),l--)}if(!i)for(;l--;l)r.unshift("..");!i||""===r[0]||r[0]&&m(r[0])||r.unshift("");var d=r.join("/");return u&&"/"!==d.substr(-1)&&(d+="/"),d},c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var r=function n(e,r){if(e===r)return!0;if(null==e||null==r)return!1;if(Array.isArray(e))return Array.isArray(r)&&e.length===r.length&&e.every(function(t,e){return n(t,r[e])});var t=void 0===e?"undefined":c(e);if(t!==(void 0===r?"undefined":c(r)))return!1;if("object"!==t)return!1;var o=e.valueOf(),a=r.valueOf();if(o!==e||a!==r)return n(o,a);var i=Object.keys(e),u=Object.keys(r);return i.length===u.length&&i.every(function(t){return n(e[t],r[t])})},i=n(8);n.d(e,"a",function(){return o}),n.d(e,"b",function(){return l});var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(t,e,n,r){var o=void 0;"string"==typeof t?(o=Object(i.d)(t)).state=e:(void 0===(o=u({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o},l=function(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&r(t.state,e.state)}},18:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,a,i,u){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,u],s=0;(c=new Error(e.replace(/%s/g,function(){return l[s++]}))).name=
//# sourceMappingURL=modal.js.map