honkoma/priv/static/packs/common.js

2 lines
1010 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[,,,,,,,,function(e,a,t){"use strict";t.d(a,"a",function(){return i}),t.d(a,"f",function(){return n}),t.d(a,"c",function(){return o}),t.d(a,"e",function(){return s}),t.d(a,"g",function(){return r}),t.d(a,"d",function(){return l}),t.d(a,"b",function(){return _});var i=function(e){return"/"===e.charAt(0)?e:"/"+e},n=function(e){return"/"===e.charAt(0)?e.substr(1):e},o=function(e,a){return new RegExp("^"+a+"(\\/|\\?|#|$)","i").test(e)},s=function(e,a){return o(e,a)?e.substr(a.length):e},r=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},l=function(e){var a=e||"/",t="",i="",n=a.indexOf("#");-1!==n&&(i=a.substr(n),a=a.substr(0,n));var o=a.indexOf("?");return-1!==o&&(t=a.substr(o),a=a.substr(0,o)),{pathname:a,search:"?"===t?"":t,hash:"#"===i?"":i}},_=function(e){var a=e.pathname,t=e.search,i=e.hash,n=a||"/";return t&&"?"!==t&&(n+="?"===t.charAt(0)?t:"?"+t),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n}},,,,,function(e,a,t){"use strict";e.exports=function(){}},,function(e,a,t){"use strict";t.d(a,"b",function(){return i}),t.d(a,"a",function(){return n}),t.d(a,"e",function(){return o}),t.d(a,"c",function(){return s}),t.d(a,"g",function(){return r}),t.d(a,"h",function(){return l}),t.d(a,"f",function(){return _}),t.d(a,"d",function(){return g});var i=!("undefined"==typeof window||!window.document||!window.document.createElement),n=function(e,a,t){return e.addEventListener?e.addEventListener(a,t,!1):e.attachEvent("on"+a,t)},o=function(e,a,t){return e.removeEventListener?e.removeEventListener(a,t,!1):e.detachEvent("on"+a,t)},s=function(e,a){return a(window.confirm(e))},r=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},l=function(){return-1===window.navigator.userAgent.indexOf("Trident")},_=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},g=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(e,a,t){"use strict";function f(e){return"/"===e.charAt(0)}function h(e,a){for(var t=a,i=t+1,n=e.length;i<n;t+=1,i+=1)e[t]=e[i];e.pop()}var o=function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",t=e&&e.split("/")||[],i=a&&a.split("/")||[],n=e&&f(e),o=a&&f(a),s=n||o;if(e&&f(e)?i=t:t.length&&(i.pop(),i=i.concat(t)),!i.length)return"/";var r=void 0;if(i.length){var l=i[i.length-1];r="."===l||".."===l||""===l}else r=!1;for(var _=0,g=i.length;0<=g;g--){var c=i[g];"."===c?h(i,g):".."===c?(h(i,g),_++):_&&(h(i,g),_--)}if(!s)for(;_--;_)i.unshift("..");!s||""===i[0]||i[0]&&f(i[0])||i.unshift("");var d=i.join("/");return r&&"/"!==d.substr(-1)&&(d+="/"),d},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function t(a,i){if(a===i)return!0;if(null==a||null==i)return!1;if(Array.isArray(a))return Array.isArray(i)&&a.length===i.length&&a.every(function(e,a){return t(e,i[a])});var e=void 0===a?"undefined":l(a);if(e!==(void 0===i?"undefined":l(i)))return!1;if("object"!==e)return!1;var n=a.valueOf(),o=i.valueOf();if(n!==a||o!==i)return t(n,o);var s=Object.keys(a),r=Object.keys(i);return s.length===r.length&&s.every(function(e){return t(a[e],i[e])})},s=t(8);t.d(a,"a",function(){return n}),t.d(a,"b",function(){return _});var r=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},n=function(e,a,t,i){var n=void 0;"string"==typeof e?(n=Object(s.d)(e)).state=a:(void 0===(n=r({},e)).pathname&&(n.pathname=""),n.search?"?"!==n.search.charAt(0)&&(n.search="?"+n.search):n.search="",n.hash?"#"!==n.hash.charAt(0)&&(n.hash="#"+n.hash):n.hash="",void 0!==a&&void 0===n.state&&(n.state=a));try{n.pathname=decodeURI(n.pathname)}catch(e){throw e instanceof URIError?new URIErr
//# sourceMappingURL=common.js.map