hc-basic 1.4.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/lib/css/hc-basic.umd.596515ce.css +1 -0
  2. package/lib/css/hc-basic.umd.min.596515ce.css +1 -0
  3. package/lib/demo.html +10 -0
  4. package/lib/hc-basic.common.async-validator1680231905970.js +984 -0
  5. package/lib/hc-basic.common.axios1680231905971.js +1644 -0
  6. package/lib/hc-basic.common.babel-runtime1680231905970.js +1242 -0
  7. package/lib/hc-basic.common.crypto-js1680231905971.js +6194 -0
  8. package/lib/hc-basic.common.element-ui1680231905967.js +43880 -0
  9. package/lib/hc-basic.common.element-ui1680231905968.js +5784 -0
  10. package/lib/hc-basic.common.element-ui1680231905969.js +14978 -0
  11. package/lib/hc-basic.common.element-ui1680231905970.js +3453 -0
  12. package/lib/hc-basic.common.hc-basic.common.js +3812 -0
  13. package/lib/hc-basic.common.js +154 -0
  14. package/lib/hc-basic.common.resize-observer-polyfill1680231905969.js +941 -0
  15. package/lib/hc-basic.common.vendors~hc-basic.common.js +2203 -0
  16. package/lib/hc-basic.umd.axios1680231905278.js +1712 -0
  17. package/lib/hc-basic.umd.babel-runtime1680231905277.js +1411 -0
  18. package/lib/hc-basic.umd.crypto-js1680231905278.js +6194 -0
  19. package/lib/hc-basic.umd.element-ui1680231905273.js +43880 -0
  20. package/lib/hc-basic.umd.element-ui1680231905274.js +695 -0
  21. package/lib/hc-basic.umd.element-ui1680231905275.js +5158 -0
  22. package/lib/hc-basic.umd.element-ui1680231905276.js +14912 -0
  23. package/lib/hc-basic.umd.element-ui1680231905278.js +3453 -0
  24. package/lib/hc-basic.umd.hc-basic.umd.js +3822 -0
  25. package/lib/hc-basic.umd.js +154 -0
  26. package/lib/hc-basic.umd.min.async-validator1680231905116.js +1 -0
  27. package/lib/hc-basic.umd.min.axios1680231905116.js +1 -0
  28. package/lib/hc-basic.umd.min.babel-runtime1680231905115.js +1 -0
  29. package/lib/hc-basic.umd.min.crypto-js1680231905116.js +18 -0
  30. package/lib/hc-basic.umd.min.element-ui1680231905113.js +1 -0
  31. package/lib/hc-basic.umd.min.element-ui1680231905114.js +9 -0
  32. package/lib/hc-basic.umd.min.element-ui1680231905116.js +1 -0
  33. package/lib/hc-basic.umd.min.hc-basic.umd.min.js +1 -0
  34. package/lib/hc-basic.umd.min.js +1 -33
  35. package/lib/hc-basic.umd.min.resize-observer-polyfill1680231905114.js +1 -0
  36. package/lib/hc-basic.umd.min.vendors~hc-basic.umd.min.js +16 -0
  37. package/lib/hc-basic.umd.resize-observer-polyfill1680231905275.js +941 -0
  38. package/lib/hc-basic.umd.vendors~hc-basic.umd.js +2911 -0
  39. package/package.json +7 -2
  40. package/.browserslistrc +0 -2
  41. package/.editorconfig +0 -5
  42. package/.prettierrc +0 -17
  43. package/babel.config.js +0 -5
  44. package/vue.config.js +0 -41
  45. /package/lib/{hc-basic.css → css/hc-basic.common.596515ce.css} +0 -0
@@ -0,0 +1 @@
1
+ (("undefined"!==typeof self?self:this)["webpackJsonphc_basic"]=("undefined"!==typeof self?self:this)["webpackJsonphc_basic"]||[]).push([[8],{"6dd8":function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof t&&t.Math===Math?t:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)}}(),s=2;function c(t,e){var n=!1,r=!1,i=0;function c(){n&&(n=!1,t()),r&&u()}function a(){o(c)}function u(){var t=Date.now();if(n){if(t-i<s)return;r=!0}else n=!0,r=!1,setTimeout(a,e);i=t}return u}var a=20,u=["top","right","bottom","left","width","height","size","weight"],h="undefined"!==typeof MutationObserver,f=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=c(this.refresh.bind(this),a)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e,r=u.some((function(t){return!!~n.indexOf(t)}));r&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),d=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},p=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||i},v=M(0,0,0,0);function l(t){return parseFloat(t)||0}function _(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){var r=t["border-"+n+"-width"];return e+l(r)}),0)}function b(t){for(var e=["top","right","bottom","left"],n={},r=0,i=e;r<i.length;r++){var o=i[r],s=t["padding-"+o];n[o]=l(s)}return n}function y(t){var e=t.getBBox();return M(0,0,e.width,e.height)}function m(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return v;var r=p(t).getComputedStyle(t),i=b(r),o=i.left+i.right,s=i.top+i.bottom,c=l(r.width),a=l(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==e&&(c-=_(r,"left","right")+o),Math.round(a+s)!==n&&(a-=_(r,"top","bottom")+s)),!g(t)){var u=Math.round(c+o)-e,h=Math.round(a+s)-n;1!==Math.abs(u)&&(c-=u),1!==Math.abs(h)&&(a-=h)}return M(i.left,i.top,c,a)}var w=function(){return"undefined"!==typeof SVGGraphicsElement?function(t){return t instanceof p(t).SVGGraphicsElement}:function(t){return t instanceof p(t).SVGElement&&"function"===typeof t.getBBox}}();function g(t){return t===p(t).document.documentElement}function E(t){return r?w(t)?y(t):m(t):v}function O(t){var e=t.x,n=t.y,r=t.width,i=t.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(o.prototype);return d(s,{x:e,y:n,width:r,height:i,top:n,right:e+r,bottom:i+n,left:e}),s}function M(t,e,n,r){return{x:t,y:e,width:n,height:r}}var A=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=E(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),T=function(){function t(t,e){var n=O(e);d(this,{target:t,contentRect:n})}return t}(),x=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new A(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new T(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),R="undefined"!==typeof WeakMap?new WeakMap:new n,k=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new x(e,n,this);R.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach((function(t){k.prototype[t]=function(){var e;return(e=R.get(this))[t].apply(e,arguments)}}));var D=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:k}();e["default"]=D}.call(this,n("c8ba"))}}]);
@@ -0,0 +1,16 @@
1
+ (("undefined"!==typeof self?self:this)["webpackJsonphc_basic"]=("undefined"!==typeof self?self:this)["webpackJsonphc_basic"]||[]).push([[10],{"0ae2":function(e,t,n){var r=n("9876"),o=n("fed5"),i=n("1917");e.exports=function(e){var t=r(e),n=o.f;if(n){var u,a=n(e),c=i.f,s=0;while(a.length>s)c.call(e,u=a[s++])&&t.push(u)}return t}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},1836:function(e,t,n){var r=n("6ca1"),o=n("6438").f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return o(e)}catch(t){return u.slice()}};e.exports.f=function(e){return u&&"[object Window]"==i.call(e)?a(e):o(r(e))}},2877:function(e,t,n){"use strict";function r(e,t,n,r,o,i,u,a){var c,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),u?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(u)},s._ssrRegister=c):o&&(c=a?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(s.functional){s._injectStyles=c;var f=s.render;s.render=function(e,t){return c.call(t),f(e,t)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,c):[c]}return{exports:e,options:s}}n.d(t,"a",(function(){return r}))},"301c":function(e,t,n){n("e198")("asyncIterator")},"3c35":function(e,t){(function(t){e.exports=t}).call(this,{})},"3c4e":function(e,t,n){"use strict";var r=function(e){return o(e)&&!i(e)};function o(e){return!!e&&"object"===typeof e}function i(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||c(e)}var u="function"===typeof Symbol&&Symbol.for,a=u?Symbol.for("react.element"):60103;function c(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function f(e,t){var n=t&&!0===t.clone;return n&&r(e)?p(s(e),e,t):e}function l(e,t,n){var o=e.slice();return t.forEach((function(t,i){"undefined"===typeof o[i]?o[i]=f(t,n):r(t)?o[i]=p(e[i],t,n):-1===e.indexOf(t)&&o.push(f(t,n))})),o}function d(e,t,n){var o={};return r(e)&&Object.keys(e).forEach((function(t){o[t]=f(e[t],n)})),Object.keys(t).forEach((function(i){r(t[i])&&e[i]?o[i]=p(e[i],t[i],n):o[i]=f(t[i],n)})),o}function p(e,t,n){var r=Array.isArray(t),o=Array.isArray(e),i=n||{arrayMerge:l},u=r===o;if(u){if(r){var a=i.arrayMerge||l;return a(e,t,n)}return d(e,t,n)}return f(t,n)}p.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return p(e,n,t)}))};var h=p;e.exports=h},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"4d20":function(e,t,n){var r=n("1917"),o=n("10db"),i=n("6ca1"),u=n("3397"),a=n("9c0e"),c=n("faf5"),s=Object.getOwnPropertyDescriptor;t.f=n("0bad")?s:function(e,t){if(e=i(e),t=u(t,!0),c)try{return s(e,t)}catch(n){}if(a(e,t))return o(!r.f.call(e,t),e[t])}},"4e71":function(e,t,n){n("e198")("observable")},"4ebc":function(e,t,n){var r=n("4d88");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"597f":function(e,t){e.exports=function(e,t,n,r){var o,i=0;function u(){var u=this,a=Number(new Date)-i,c=arguments;function s(){i=Number(new Date),n.apply(u,c)}function f(){o=void 0}r&&!o&&s(),o&&clearTimeout(o),void 0===r&&a>e?s():!0!==t&&(o=setTimeout(r?f:s,void 0===r?e-a:e))}return"boolean"!==typeof t&&(r=n,n=t,t=void 0),u}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6438:function(e,t,n){var r=n("03d6"),o=n("9742").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"693d":function(e,t,n){"use strict";var r=n("ef08"),o=n("9c0e"),i=n("0bad"),u=n("512c"),a=n("ba01"),c=n("e34a").KEY,s=n("4b8b"),f=n("b367"),l=n("92f0"),d=n("8b1a"),p=n("cc15"),h=n("fcd4"),y=n("e198"),v=n("0ae2"),m=n("4ebc"),b=n("77e9"),g=n("7a41"),w=n("0983"),O=n("6ca1"),x=n("3397"),S=n("10db"),A=n("6f4f"),E=n("1836"),j=n("4d20"),F=n("fed5"),N=n("1a14"),_=n("9876"),k=j.f,D=N.f,P=E.f,M=r.Symbol,C=r.JSON,T=C&&C.stringify,L="prototype",I=p("_hidden"),$=p("toPrimitive"),R={}.propertyIsEnumerable,U=f("symbol-registry"),X=f("symbols"),W=f("op-symbols"),Y=Object[L],q="function"==typeof M&&!!F.f,J=r.QObject,V=!J||!J[L]||!J[L].findChild,B=i&&s((function(){return 7!=A(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=k(Y,t);r&&delete Y[t],D(e,t,n),r&&e!==Y&&D(Y,t,r)}:D,H=function(e){var t=X[e]=A(M[L]);return t._k=e,t},K=q&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},z=function(e,t,n){return e===Y&&z(W,t,n),b(e),t=x(t,!0),b(n),o(X,t)?(n.enumerable?(o(e,I)&&e[I][t]&&(e[I][t]=!1),n=A(n,{enumerable:S(0,!1)})):(o(e,I)||D(e,I,S(1,{})),e[I][t]=!0),B(e,t,n)):D(e,t,n)},G=function(e,t){b(e);var n,r=v(t=O(t)),o=0,i=r.length;while(i>o)z(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?A(e):G(A(e),t)},Z=function(e){var t=R.call(this,e=x(e,!0));return!(this===Y&&o(X,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(X,e)||o(this,I)&&this[I][e])||t)},ee=function(e,t){if(e=O(e),t=x(t,!0),e!==Y||!o(X,t)||o(W,t)){var n=k(e,t);return!n||!o(X,t)||o(e,I)&&e[I][t]||(n.enumerable=!0),n}},te=function(e){var t,n=P(O(e)),r=[],i=0;while(n.length>i)o(X,t=n[i++])||t==I||t==c||r.push(t);return r},ne=function(e){var t,n=e===Y,r=P(n?W:O(e)),i=[],u=0;while(r.length>u)!o(X,t=r[u++])||n&&!o(Y,t)||i.push(X[t]);return i};q||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===Y&&t.call(W,n),o(this,I)&&o(this[I],e)&&(this[I][e]=!1),B(this,e,S(1,n))};return i&&V&&B(Y,e,{configurable:!0,set:t}),H(e)},a(M[L],"toString",(function(){return this._k})),j.f=ee,N.f=z,n("6438").f=E.f=te,n("1917").f=Z,F.f=ne,i&&!n("e444")&&a(Y,"propertyIsEnumerable",Z,!0),h.f=function(e){return H(p(e))}),u(u.G+u.W+u.F*!q,{Symbol:M});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;re.length>oe;)p(re[oe++]);for(var ie=_(p.store),ue=0;ie.length>ue;)y(ie[ue++]);u(u.S+u.F*!q,"Symbol",{for:function(e){return o(U,e+="")?U[e]:U[e]=M(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),u(u.S+u.F*!q,"Object",{create:Q,defineProperty:z,defineProperties:G,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var ae=s((function(){F.f(1)}));u(u.S+u.F*ae,"Object",{getOwnPropertySymbols:function(e){return F.f(w(e))}}),C&&u(u.S+u.F*(!q||s((function(){var e=M();return"[null]"!=T([e])||"{}"!=T({a:e})||"{}"!=T(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],o=1;while(arguments.length>o)r.push(arguments[o++]);if(n=t=r[1],(g(t)||void 0!==e)&&!K(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,T.apply(C,r)}}),M[L][$]||n("051b")(M[L],$,M[L].valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},"722f":function(e,t,n){"use strict";t.__esModule=!0;var r="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},o=n("e452"),i=u(o);function u(e){return e&&e.__esModule?e:{default:e}}var a,c=c||{};c.Dialog=function(e,t,n){var o=this;if(this.dialogNode=e,null===this.dialogNode||"dialog"!==this.dialogNode.getAttribute("role"))throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");"string"===typeof t?this.focusAfterClosed=document.getElementById(t):"object"===("undefined"===typeof t?"undefined":r(t))?this.focusAfterClosed=t:this.focusAfterClosed=null,"string"===typeof n?this.focusFirst=document.getElementById(n):"object"===("undefined"===typeof n?"undefined":r(n))?this.focusFirst=n:this.focusFirst=null,this.focusFirst?this.focusFirst.focus():i.default.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,a=function(e){o.trapFocus(e)},this.addListeners()},c.Dialog.prototype.addListeners=function(){document.addEventListener("focus",a,!0)},c.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",a,!0)},c.Dialog.prototype.closeDialog=function(){var e=this;this.removeListeners(),this.focusAfterClosed&&setTimeout((function(){e.focusAfterClosed.focus()}))},c.Dialog.prototype.trapFocus=function(e){i.default.IgnoreUtilFocusChanges||(this.dialogNode.contains(e.target)?this.lastFocus=e.target:(i.default.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&i.default.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))},t.default=c.Dialog},"7b3e":function(e,t,n){"use strict";var r,o=n("a3de");
2
+ /**
3
+ * Checks if an event is supported in the current execution environment.
4
+ *
5
+ * NOTE: This will not work correctly for non-generic events such as `change`,
6
+ * `reset`, `load`, `error`, and `select`.
7
+ *
8
+ * Borrows from Modernizr.
9
+ *
10
+ * @param {string} eventNameSuffix Event name, e.g. "click".
11
+ * @param {?boolean} capture Check if the capture phase is supported.
12
+ * @return {boolean} True if the event is supported.
13
+ * @internal
14
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
15
+ */
16
+ function i(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var u=document.createElement("div");u.setAttribute(n,"return;"),i="function"===typeof u[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=i},8119:function(e,t,n){n("693d"),n("dfe5"),n("301c"),n("4e71"),e.exports=n("5524").Symbol},8875:function(e,t,n){var r,o,i;(function(n,u){o=[],r=u,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,u=/@([^@]*):(\d+):(\d+)\s*$/gi,a=i.exec(p.stack)||u.exec(p.stack),c=a&&a[1]||!1,s=a&&a[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");c===f&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===c)return l[d];if(c===f&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return e}))},"8eb7":function(e,t){var n,r,o,i,u,a,c,s,f,l,d,p,h,y,v,m=!1;function b(){if(!m){m=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),b=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),h=/\b(iP[ao]d)/.exec(e),l=/Android/i.exec(e),y=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),d=!!/Win64/.exec(e),t){n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,n&&document&&document.documentMode&&(n=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(e);a=g?parseFloat(g[1])+4:n,r=t[2]?parseFloat(t[2]):NaN,o=t[3]?parseFloat(t[3]):NaN,i=t[4]?parseFloat(t[4]):NaN,i?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),u=t&&t[1]?parseFloat(t[1]):NaN):u=NaN}else n=r=o=u=i=NaN;if(b){if(b[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);c=!w||parseFloat(w[1].replace("_","."))}else c=!1;s=!!b[2],f=!!b[3]}else c=s=f=!1}}var g={ie:function(){return b()||n},ieCompatibilityMode:function(){return b()||a>n},ie64:function(){return g.ie()&&d},firefox:function(){return b()||r},opera:function(){return b()||o},webkit:function(){return b()||i},safari:function(){return g.webkit()},chrome:function(){return b()||u},windows:function(){return b()||s},osx:function(){return b()||c},linux:function(){return b()||f},iphone:function(){return b()||p},mobile:function(){return b()||p||h||l||v},nativeApp:function(){return b()||y},android:function(){return b()||l},ipad:function(){return b()||h}};e.exports=g},"92fa":function(e,t){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var o,i,u,a,c;for(u in t)if(o=e[u],i=t[u],o&&n.test(u))if("class"===u&&("string"===typeof o&&(c=o,e[u]=o={},o[c]=!0),"string"===typeof i&&(c=i,t[u]=i={},i[c]=!0)),"on"===u||"nativeOn"===u||"hook"===u)for(a in i)o[a]=r(o[a],i[a]);else if(Array.isArray(o))e[u]=o.concat(i);else if(Array.isArray(i))e[u]=[o].concat(i);else for(a in i)o[a]=i[a];else e[u]=t[u];return e}),{})}},9619:function(e,t,n){var r=n("597f"),o=n("0e15");e.exports={throttle:r,debounce:o}},a15e:function(e,t,n){"use strict";n.r(t);var r=n("41b2"),o=n.n(r),i=n("1098"),u=n.n(i),a=n("fa49"),c=n("8c44"),s=n("9c4a");function f(e){this.rules=null,this._messages=s["a"],this.define(e)}f.prototype={messages:function(e){return e&&(this._messages=Object(a["c"])(Object(s["b"])(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof e?"undefined":u()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],i=e,c=n,l=r;if("function"===typeof c&&(l=c,c={}),this.rules&&0!==Object.keys(this.rules).length){if(c.messages){var d=this.messages();d===s["a"]&&(d=Object(s["b"])()),Object(a["c"])(d,c.messages),c.messages=d}else c.messages=this.messages();var p=void 0,h=void 0,y={},v=c.keys||Object.keys(this.rules);v.forEach((function(n){p=t.rules[n],h=i[n],p.forEach((function(r){var u=r;"function"===typeof u.transform&&(i===e&&(i=o()({},i)),h=i[n]=u.transform(h)),u="function"===typeof u?{validator:u}:o()({},u),u.validator=t.getValidationMethod(u),u.field=n,u.fullField=u.fullField||n,u.type=t.getType(u),u.validator&&(y[n]=y[n]||[],y[n].push({rule:u,value:h,source:i,field:n}))}))}));var m={};Object(a["a"])(y,c,(function(e,t){var n=e.rule,r=("object"===n.type||"array"===n.type)&&("object"===u()(n.fields)||"object"===u()(n.defaultField));function i(e,t){return o()({},t,{fullField:n.fullField+"."+e})}function s(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=u;if(Array.isArray(s)||(s=[s]),s.length&&Object(a["f"])("async-validator:",s),s.length&&n.message&&(s=[].concat(n.message)),s=s.map(Object(a["b"])(n)),c.first&&s.length)return m[n.field]=1,t(s);if(r){if(n.required&&!e.value)return s=n.message?[].concat(n.message).map(Object(a["b"])(n)):c.error?[c.error(n,Object(a["d"])(c.messages.required,n.field))]:[],t(s);var l={};if(n.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(l[d]=n.defaultField);for(var p in l=o()({},l,e.rule.fields),l)if(l.hasOwnProperty(p)){var h=Array.isArray(l[p])?l[p]:[l[p]];l[p]=h.map(i.bind(null,p))}var y=new f(l);y.messages(c.messages),e.rule.options&&(e.rule.options.messages=c.messages,e.rule.options.error=c.error),y.validate(e.value,e.rule.options||c,(function(e){t(e&&e.length?s.concat(e):e)}))}else t(s)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var l=n.validator(n,e.value,s,e.source,c);l&&l.then&&l.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){b(e)}))}else l&&l();function b(e){var t=void 0,n=void 0,r=[],o={};function i(e){Array.isArray(e)?r=r.concat.apply(r,e):r.push(e)}for(t=0;t<e.length;t++)i(e[t]);if(r.length)for(t=0;t<r.length;t++)n=r[t].field,o[n]=o[n]||[],o[n].push(r[t]);else r=null,o=null;l(r,o)}},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!c["a"].hasOwnProperty(e.type))throw new Error(Object(a["d"])("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?c["a"].required:c["a"][this.getType(e)]||!1}},f.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");c["a"][e]=t},f.messages=s["a"],t["default"]=f},a3de:function(e,t,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},c098:function(e,t,n){e.exports=n("d4af")},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},d4af:function(e,t,n){"use strict";var r=n("8eb7"),o=n("7b3e"),i=10,u=40,a=800;function c(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*i,o=n*i,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=u,o*=u):(r*=a,o*=a)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}c.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=c},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var u=i>=0?arguments[i]:e.cwd();if("string"!==typeof u)throw new TypeError("Arguments to path.resolve must be strings");u&&(t=u+"/"+t,r="/"===u.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),u="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&u&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),u=Math.min(o.length,i.length),a=u,c=0;c<u;c++)if(o[c]!==i[c]){a=c;break}var s=[];for(c=a;c<o.length;c++)s.push("..");return s=s.concat(i.slice(a)),s.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,u=e.length-1;u>=0;--u){var a=e.charCodeAt(u);if(47!==a)-1===r&&(o=!1,r=u+1),46===a?-1===t?t=u:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=u+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},dfe5:function(e,t){},e198:function(e,t,n){var r=n("ef08"),o=n("5524"),i=n("e444"),u=n("fcd4"),a=n("1a14").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:u.f(e)})}},e34a:function(e,t,n){var r=n("8b1a")("meta"),o=n("7a41"),i=n("9c0e"),u=n("1a14").f,a=0,c=Object.isExtensible||function(){return!0},s=!n("4b8b")((function(){return c(Object.preventExtensions({}))})),f=function(e){u(e,r,{value:{i:"O"+ ++a,w:{}}})},l=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!c(e))return"F";if(!t)return"E";f(e)}return e[r].i},d=function(e,t){if(!i(e,r)){if(!c(e))return!0;if(!t)return!1;f(e)}return e[r].w},p=function(e){return s&&h.NEED&&c(e)&&!i(e,r)&&f(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:l,getWeak:d,onFreeze:p}},ea34:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},f893:function(e,t,n){e.exports={default:n("8119"),__esModule:!0}},fb15:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var u=n("3a0d");t["default"]=u["a"]},fcd4:function(e,t,n){t.f=n("cc15")}}]);