@hyjiacan/vue-slideout 3.0.1 → 3.0.2

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.
@@ -1 +1 @@
1
- (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["Slideout"]=e(require("vue")):t["Slideout"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00b4":function(t,e,n){"use strict";n("ac1f");var r=n("23e7"),i=n("da84"),o=n("c65b"),c=n("e330"),s=n("1626"),a=n("861d"),u=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),f=i.Error,l=c(/./.test);r({target:"RegExp",proto:!0,forced:!u},{test:function(t){var e=this.exec;if(!s(e))return l(this,t);var n=o(e,this,t);if(null!==n&&!a(n))throw new f("RegExp exec method returned something other than an Object or null");return!!n}})},"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"06cf":function(t,e,n){var r=n("83ab"),i=n("c65b"),o=n("d1e7"),c=n("5c6c"),s=n("fc6a"),a=n("a04b"),u=n("1a2d"),f=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=s(t),e=a(e),f)try{return l(t,e)}catch(n){}if(u(t,e))return c(!i(o.f,t,e),t[e])}},"07fa":function(t,e,n){var r=n("50c4");t.exports=function(t){return r(t.length)}},"0b42":function(t,e,n){var r=n("da84"),i=n("e8b5"),o=n("68ee"),c=n("861d"),s=n("b622"),a=s("species"),u=r.Array;t.exports=function(t){var e;return i(t)&&(e=t.constructor,o(e)&&(e===u||i(e.prototype))?e=void 0:c(e)&&(e=e[a],null===e&&(e=void 0))),void 0===e?u:e}},"0cb2":function(t,e,n){var r=n("e330"),i=n("7b0b"),o=Math.floor,c=r("".charAt),s=r("".replace),a=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,d){var h=n+t.length,p=r.length,v=f;return void 0!==l&&(l=i(l),v=u),s(d,v,(function(i,s){var u;switch(c(s,0)){case"$":return"$";case"&":return t;case"`":return a(e,0,n);case"'":return a(e,h);case"<":u=l[a(s,1,-1)];break;default:var f=+s;if(0===f)return i;if(f>p){var d=o(f/10);return 0===d?i:d<=p?void 0===r[d-1]?c(s,1):r[d-1]+c(s,1):i}u=r[f-1]}return void 0===u?"":u}))}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e,n){var r=n("da84"),i=r.String;t.exports=function(t){try{return i(t)}catch(e){return"Object"}}},"107c":function(t,e,n){var r=n("d039"),i=n("da84"),o=i.RegExp;t.exports=r((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},"14c3":function(t,e,n){var r=n("da84"),i=n("c65b"),o=n("825a"),c=n("1626"),s=n("c6b6"),a=n("9263"),u=r.TypeError;t.exports=function(t,e){var n=t.exec;if(c(n)){var r=i(n,t,e);return null!==r&&o(r),r}if("RegExp"===s(t))return i(a,t,e);throw u("RegExp#exec called on incompatible receiver")}},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"1a2d":function(t,e,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1d80":function(t,e,n){var r=n("da84"),i=r.TypeError;t.exports=function(t){if(void 0==t)throw i("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),c=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[],n=e.constructor={};return n[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"23cb":function(t,e,n){var r=n("5926"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),c=n("6eeb"),s=n("ce4e"),a=n("e893"),u=n("94ca");t.exports=function(t,e){var n,f,l,d,h,p,v=t.target,b=t.global,g=t.stat;if(f=b?r:g?r[v]||s(v,{}):(r[v]||{}).prototype,f)for(l in e){if(h=e[l],t.noTargetGet?(p=i(f,l),d=p&&p.value):d=f[l],n=u(b?l:v+(g?".":"#")+l,t.forced),!n&&void 0!==d){if(typeof h==typeof d)continue;a(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),c(f,l,h,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"25f0":function(t,e,n){"use strict";var r=n("e330"),i=n("5e77").PROPER,o=n("6eeb"),c=n("825a"),s=n("3a9b"),a=n("577e"),u=n("d039"),f=n("ad6d"),l="toString",d=RegExp.prototype,h=d[l],p=r(f),v=u((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),b=i&&h.name!=l;(v||b)&&o(RegExp.prototype,l,(function(){var t=c(this),e=a(t.source),n=t.flags,r=a(void 0===n&&s(d,t)&&!("flags"in d)?p(t):n);return"/"+e+"/"+r}),{unsafe:!0})},"2ba4":function(t,e){var n=Function.prototype,r=n.apply,i=n.bind,o=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?o.bind(r):function(){return o.apply(r,arguments)})},"2d00":function(t,e,n){var r,i,o=n("da84"),c=n("342f"),s=o.process,a=o.Deno,u=s&&s.versions||a&&a.version,f=u&&u.v8;f&&(r=f.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),c=n("fc6a"),s=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);var n,r=c(e),a=s(e),u=a.length,f=0;while(u>f)i.f(t,n=a[f++],r[n]);return t}},"3a9b":function(t,e,n){var r=n("e330");t.exports=r({}.isPrototypeOf)},"3bbe":function(t,e,n){var r=n("da84"),i=n("1626"),o=r.String,c=r.TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw c("Can't set "+o(t)+" as a prototype")}},"408a":function(t,e,n){var r=n("e330");t.exports=r(1..valueOf)},"44ad":function(t,e,n){var r=n("da84"),i=n("e330"),o=n("d039"),c=n("c6b6"),s=r.Object,a=i("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==c(t)?a(t,""):s(t)}:s},"485a":function(t,e,n){var r=n("da84"),i=n("c65b"),o=n("1626"),c=n("861d"),s=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&o(n=t.toString)&&!c(r=i(n,t)))return r;if(o(n=t.valueOf)&&!c(r=i(n,t)))return r;if("string"!==e&&o(n=t.toString)&&!c(r=i(n,t)))return r;throw s("Can't convert object to primitive value")}},4930:function(t,e,n){var r=n("2d00"),i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4d64":function(t,e,n){var r=n("fc6a"),i=n("23cb"),o=n("07fa"),c=function(t){return function(e,n,c){var s,a=r(e),u=o(a),f=i(c,u);if(t&&n!=n){while(u>f)if(s=a[f++],s!=s)return!0}else for(;u>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"50c4":function(t,e,n){var r=n("5926"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5319:function(t,e,n){"use strict";var r=n("2ba4"),i=n("c65b"),o=n("e330"),c=n("d784"),s=n("d039"),a=n("825a"),u=n("1626"),f=n("5926"),l=n("50c4"),d=n("577e"),h=n("1d80"),p=n("8aa5"),v=n("dc4a"),b=n("0cb2"),g=n("14c3"),m=n("b622"),y=m("replace"),x=Math.max,w=Math.min,S=o([].concat),O=o([].push),E=o("".indexOf),j=o("".slice),k=function(t){return void 0===t?t:String(t)},z=function(){return"$0"==="a".replace(/./,"$0")}(),C=function(){return!!/./[y]&&""===/./[y]("a","$0")}(),L=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));c("replace",(function(t,e,n){var o=C?"$":"$0";return[function(t,n){var r=h(this),o=void 0==t?void 0:v(t,y);return o?i(o,t,r,n):i(e,d(r),t,n)},function(t,i){var c=a(this),s=d(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var h=n(e,c,s,i);if(h.done)return h.value}var v=u(i);v||(i=d(i));var m=c.global;if(m){var y=c.unicode;c.lastIndex=0}var z=[];while(1){var C=g(c,s);if(null===C)break;if(O(z,C),!m)break;var L=d(C[0]);""===L&&(c.lastIndex=p(s,l(c.lastIndex),y))}for(var F="",V=0,I=0;I<z.length;I++){C=z[I];for(var P=d(C[0]),_=x(w(f(C.index),s.length),0),T=[],$=1;$<C.length;$++)O(T,k(C[$]));var A=C.groups;if(v){var M=S([P],T,_,s);void 0!==A&&O(M,A);var B=d(r(i,void 0,M))}else B=b(P,s,_,T,A,i);_>=V&&(F+=j(s,V,_)+B,V=_+P.length)}return F+j(s,V)}]}),!L||!z||C)},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("e330"),o=n("241c"),c=n("7418"),s=n("825a"),a=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=c.f;return n?a(e,n(t)):e}},"577e":function(t,e,n){var r=n("da84"),i=n("f5df"),o=r.String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("e330"),i=n("1d80"),o=n("577e"),c=n("5899"),s=r("".replace),a="["+c+"]",u=RegExp("^"+a+a+"*"),f=RegExp(a+a+"*$"),l=function(t){return function(e){var n=o(i(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,f,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},5926:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!==e||0===e?0:(e>0?r:n)(e)}},"59ed":function(t,e,n){var r=n("da84"),i=n("1626"),o=n("0d51"),c=r.TypeError;t.exports=function(t){if(i(t))return t;throw c(o(t)+" is not a function")}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,n){var r=n("83ab"),i=n("1a2d"),o=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),a=s&&"something"===function(){}.name,u=s&&(!r||r&&c(o,"name").configurable);t.exports={EXISTS:s,PROPER:a,CONFIGURABLE:u}},6547:function(t,e,n){var r=n("e330"),i=n("5926"),o=n("577e"),c=n("1d80"),s=r("".charAt),a=r("".charCodeAt),u=r("".slice),f=function(t){return function(e,n){var r,f,l=o(c(e)),d=i(n),h=l.length;return d<0||d>=h?t?"":void 0:(r=a(l,d),r<55296||r>56319||d+1===h||(f=a(l,d+1))<56320||f>57343?t?s(l,d):r:t?u(l,d,d+2):f-56320+(r-55296<<10)+65536)}};t.exports={codeAt:f(!1),charAt:f(!0)}},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"68ee":function(t,e,n){var r=n("e330"),i=n("d039"),o=n("1626"),c=n("f5df"),s=n("d066"),a=n("8925"),u=function(){},f=[],l=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=r(d.exec),p=!d.exec(u),v=function(t){if(!o(t))return!1;try{return l(u,f,t),!0}catch(e){return!1}},b=function(t){if(!o(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(d,a(t))}catch(e){return!0}};b.sham=!0,t.exports=!l||i((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?b:v},"69f3":function(t,e,n){var r,i,o,c=n("7f9a"),s=n("da84"),a=n("e330"),u=n("861d"),f=n("9112"),l=n("1a2d"),d=n("c6cd"),h=n("f772"),p=n("d012"),v="Object already initialized",b=s.TypeError,g=s.WeakMap,m=function(t){return o(t)?i(t):r(t,{})},y=function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw b("Incompatible receiver, "+t+" required");return n}};if(c||d.state){var x=d.state||(d.state=new g),w=a(x.get),S=a(x.has),O=a(x.set);r=function(t,e){if(S(x,t))throw new b(v);return e.facade=t,O(x,t,e),e},i=function(t){return w(x,t)||{}},o=function(t){return S(x,t)}}else{var E=h("state");p[E]=!0,r=function(t,e){if(l(t,E))throw new b(v);return e.facade=t,f(t,E,e),e},i=function(t){return l(t,E)?t[E]:{}},o=function(t){return l(t,E)}}t.exports={set:r,get:i,has:o,enforce:m,getterFor:y}},"6b0d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=(t,e)=>{for(const[n,r]of e)t[n]=r;return t}},"6eeb":function(t,e,n){var r=n("da84"),i=n("1626"),o=n("1a2d"),c=n("9112"),s=n("ce4e"),a=n("8925"),u=n("69f3"),f=n("5e77").CONFIGURABLE,l=u.get,d=u.enforce,h=String(String).split("String");(t.exports=function(t,e,n,a){var u,l=!!a&&!!a.unsafe,p=!!a&&!!a.enumerable,v=!!a&&!!a.noTargetGet,b=a&&void 0!==a.name?a.name:e;i(n)&&("Symbol("===String(b).slice(0,7)&&(b="["+String(b).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||f&&n.name!==b)&&c(n,"name",b),u=d(n),u.source||(u.source=h.join("string"==typeof b?b:""))),t!==r?(l?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=n:c(t,e,n)):p?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return i(this)&&l(this).source||a(this)}))},7156:function(t,e,n){var r=n("1626"),i=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var c,s;return o&&r(c=e.constructor)&&c!==n&&i(s=c.prototype)&&s!==n.prototype&&o(t,s),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("da84"),i=n("1d80"),o=r.Object;t.exports=function(t){return o(i(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),c=n("7839"),s=n("d012"),a=n("1be4"),u=n("cc12"),f=n("f772"),l=">",d="<",h="prototype",p="script",v=f("IE_PROTO"),b=function(){},g=function(t){return d+p+l+t+d+"/"+p+l},m=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=u("iframe"),n="java"+p+":";return e.style.display="none",a.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(g("document.F=Object")),t.close(),t.F},x=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}x="undefined"!=typeof document?document.domain&&r?m(r):y():m(r);var t=c.length;while(t--)delete x[h][c[t]];return x()};s[v]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(b[h]=i(t),n=new b,b[h]=null,n[v]=t):n=x(),void 0===e?n:o(n,e)}},"7f9a":function(t,e,n){var r=n("da84"),i=n("1626"),o=n("8925"),c=r.WeakMap;t.exports=i(c)&&/native code/.test(o(c))},"825a":function(t,e,n){var r=n("da84"),i=n("861d"),o=r.String,c=r.TypeError;t.exports=function(t){if(i(t))return t;throw c(o(t)+" is not an object")}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("a04b"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var c=r(e);c in t?i.f(t,c,o(0,n)):t[c]=n}},"857a":function(t,e,n){var r=n("e330"),i=n("1d80"),o=n("577e"),c=/"/g,s=r("".replace);t.exports=function(t,e,n,r){var a=o(i(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+s(o(r),c,"&quot;")+'"'),u+">"+a+"</"+e+">"}},"861d":function(t,e,n){var r=n("1626");t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},8875:function(t,e,n){var r,i,o;(function(n,c){i=[],r=c,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(h.stack)||c.exec(h.stack),a=s&&s[1]||!1,u=s&&s[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");a===f&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=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===a)return l[d];if(a===f&&l[d].innerHTML&&l[d].innerHTML.trim()===i)return l[d]}return null}}return t}))},8925:function(t,e,n){var r=n("e330"),i=n("1626"),o=n("c6cd"),c=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return c(t)}),t.exports=o.inspectSource},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"8bbf":function(e,n){e.exports=t},"90e3":function(t,e,n){var r=n("e330"),i=0,o=Math.random(),c=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++i+o,36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r=n("c65b"),i=n("e330"),o=n("577e"),c=n("ad6d"),s=n("9f7f"),a=n("5692"),u=n("7c73"),f=n("69f3").get,l=n("fce3"),d=n("107c"),h=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,v=p,b=i("".charAt),g=i("".indexOf),m=i("".replace),y=i("".slice),x=function(){var t=/a/,e=/b*/g;return r(p,t,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),w=s.BROKEN_CARET,S=void 0!==/()??/.exec("")[1],O=x||S||w||l||d;O&&(v=function(t){var e,n,i,s,a,l,d,O=this,E=f(O),j=o(t),k=E.raw;if(k)return k.lastIndex=O.lastIndex,e=r(v,k,j),O.lastIndex=k.lastIndex,e;var z=E.groups,C=w&&O.sticky,L=r(c,O),F=O.source,V=0,I=j;if(C&&(L=m(L,"y",""),-1===g(L,"g")&&(L+="g"),I=y(j,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&"\n"!==b(j,O.lastIndex-1))&&(F="(?: "+F+")",I=" "+I,V++),n=new RegExp("^(?:"+F+")",L)),S&&(n=new RegExp("^"+F+"$(?!\\s)",L)),x&&(i=O.lastIndex),s=r(p,C?n:O,I),C?s?(s.input=y(s.input,V),s[0]=y(s[0],V),s.index=O.lastIndex,O.lastIndex+=s[0].length):O.lastIndex=0:x&&s&&(O.lastIndex=O.global?s.index+s[0].length:i),S&&s&&s.length>1&&r(h,s[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(s[a]=void 0)})),s&&z)for(s.groups=l=u(null),a=0;a<z.length;a++)d=z[a],l[d[0]]=s[d[1]];return s}),t.exports=v},"94ca":function(t,e,n){var r=n("d039"),i=n("1626"),o=/#|\.prototype\./,c=function(t,e){var n=a[s(t)];return n==f||n!=u&&(i(e)?r(e):!!e)},s=c.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=c.data={},u=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},"99af":function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("d039"),c=n("e8b5"),s=n("861d"),a=n("7b0b"),u=n("07fa"),f=n("8418"),l=n("65f0"),d=n("1dde"),h=n("b622"),p=n("2d00"),v=h("isConcatSpreadable"),b=9007199254740991,g="Maximum allowed index exceeded",m=i.TypeError,y=p>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),x=d("concat"),w=function(t){if(!s(t))return!1;var e=t[v];return void 0!==e?!!e:c(t)},S=!y||!x;r({target:"Array",proto:!0,forced:S},{concat:function(t){var e,n,r,i,o,c=a(this),s=l(c,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(o=-1===e?c:arguments[e],w(o)){if(i=u(o),d+i>b)throw m(g);for(n=0;n<i;n++,d++)n in o&&f(s,d,o[n])}else{if(d>=b)throw m(g);f(s,d++,o)}return s.length=d,s}})},"9bf2":function(t,e,n){var r=n("da84"),i=n("83ab"),o=n("0cfb"),c=n("825a"),s=n("a04b"),a=r.TypeError,u=Object.defineProperty;e.f=i?u:function(t,e,n){if(c(t),e=s(e),c(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9f7f":function(t,e,n){var r=n("d039"),i=n("da84"),o=i.RegExp,c=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),s=c||r((function(){return!o("a","y").sticky})),a=c||r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:c}},a04b:function(t,e,n){var r=n("c04e"),i=n("d9b5");t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},a4b1:function(t,e,n){},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("e330"),c=n("94ca"),s=n("6eeb"),a=n("1a2d"),u=n("7156"),f=n("3a9b"),l=n("d9b5"),d=n("c04e"),h=n("d039"),p=n("241c").f,v=n("06cf").f,b=n("9bf2").f,g=n("408a"),m=n("58a8").trim,y="Number",x=i[y],w=x.prototype,S=i.TypeError,O=o("".slice),E=o("".charCodeAt),j=function(t){var e=d(t,"number");return"bigint"==typeof e?e:k(e)},k=function(t){var e,n,r,i,o,c,s,a,u=d(t,"number");if(l(u))throw S("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=m(u),e=E(u,0),43===e||45===e){if(n=E(u,2),88===n||120===n)return NaN}else if(48===e){switch(E(u,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=O(u,2),c=o.length,s=0;s<c;s++)if(a=E(o,s),a<48||a>i)return NaN;return parseInt(o,r)}return+u};if(c(y,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var z,C=function(t){var e=arguments.length<1?0:x(j(t)),n=this;return f(w,n)&&h((function(){g(n)}))?u(Object(e),n,C):e},L=r?p(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0;L.length>F;F++)a(x,z=L[F])&&!a(C,z)&&b(C,z,v(x,z));C.prototype=w,w.constructor=C,s(i,y,C)}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},af03:function(t,e,n){var r=n("d039");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),i=n("5e77").EXISTS,o=n("e330"),c=n("9bf2").f,s=Function.prototype,a=o(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=o(u.exec),l="name";r&&!i&&c(s,l,{configurable:!0,get:function(){try{return f(u,a(this))[1]}catch(t){return""}}})},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("1a2d"),c=n("90e3"),s=n("4930"),a=n("fdbf"),u=i("wks"),f=r.Symbol,l=f&&f["for"],d=a?f:f&&f.withoutSetter||c;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(f,t)?u[t]=f[t]:u[t]=a&&l?l(e):d(e)}return u[t]}},c04e:function(t,e,n){var r=n("da84"),i=n("c65b"),o=n("861d"),c=n("d9b5"),s=n("dc4a"),a=n("485a"),u=n("b622"),f=r.TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!o(t)||c(t))return t;var n,r=s(t,l);if(r){if(void 0===e&&(e="default"),n=i(r,t,e),!o(n)||c(n))return n;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},c430:function(t,e){t.exports=!1},c65b:function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},c6b6:function(t,e,n){var r=n("e330"),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",c=r[o]||i(o,{});t.exports=c},c7cd:function(t,e,n){"use strict";var r=n("23e7"),i=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("fixed")},{fixed:function(){return i(this,"tt","","")}})},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("e330"),i=n("1a2d"),o=n("fc6a"),c=n("4d64").indexOf,s=n("d012"),a=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,f=[];for(n in r)!i(s,n)&&i(r,n)&&a(f,n);while(e.length>u)i(r,n=e[u++])&&(~c(f,n)||a(f,n));return f}},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,c=i(o)&&i(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84"),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),i=n("1626"),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d2bb:function(t,e,n){var r=n("e330"),i=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(c){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d784:function(t,e,n){"use strict";n("ac1f");var r=n("e330"),i=n("6eeb"),o=n("9263"),c=n("d039"),s=n("b622"),a=n("9112"),u=s("species"),f=RegExp.prototype;t.exports=function(t,e,n,l){var d=s(t),h=!c((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),p=h&&!c((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!h||!p||n){var v=r(/./[d]),b=e(d,""[t],(function(t,e,n,i,c){var s=r(t),a=e.exec;return a===o||a===f.exec?h&&!c?{done:!0,value:v(e,n,i)}:{done:!0,value:s(n,e,i)}:{done:!1}}));i(String.prototype,t,b[0]),i(f,d,b[1])}l&&a(f[d],"sham",!0)}},d9b5:function(t,e,n){var r=n("da84"),i=n("d066"),o=n("1626"),c=n("3a9b"),s=n("fdbf"),a=r.Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return o(e)&&c(e.prototype,a(t))}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(t,e,n){var r=n("59ed");t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},e330:function(t,e){var n=Function.prototype,r=n.bind,i=n.call,o=r&&r.bind(i);t.exports=r?function(t){return t&&o(i,t)}:function(t){return t&&function(){return i.apply(t,arguments)}}},e893:function(t,e,n){var r=n("1a2d"),i=n("56ef"),o=n("06cf"),c=n("9bf2");t.exports=function(t,e,n){for(var s=i(e),a=c.f,u=o.f,f=0;f<s.length;f++){var l=s[f];r(t,l)||n&&r(n,l)||a(t,l,u(e,l))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},f5df:function(t,e,n){var r=n("da84"),i=n("00ee"),o=n("1626"),c=n("c6b6"),s=n("b622"),a=s("toStringTag"),u=r.Object,f="Arguments"==c(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=i?c:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=u(t),a))?n:f?c(e):"Object"==(r=c(e))&&o(e.callee)?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}n("ac1f"),n("5319"),n("b0c0"),n("a9e3"),n("a4b1");function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n("d3b7"),n("25f0"),n("c7cd");var s={computed:{dockOn:function(){return this.dock||"right"},showHeader:function(){return this.title||this.$slots.header},showFooter:function(){return this.$slots.footer},containerStyle:function(){var t={"z-index":this.zIndex,display:this.showContainer?"block":"none"};return this.mousedown&&(t.userSelect="none"),t},maskStyle:function(){return this.maskColor?{"background-color":this.maskColor}:{}},isSizeFixed:function(){return Array.isArray(this.size)},isAutoSize:function(){return this.isSizeFixed?!this.size.every((function(t){return"0"!==t.toString()})):"0"===this.size.toString()},sizeWithUnit:function(){return this.isSizeFixed?[this._fixSizeUnit(this.size[0]),this._fixSizeUnit(this.size[1===this.size.length?0:1])]:this._fixSizeUnit(this.size)},panelStyle:function(){var t={};if(this.isSizeFixed){t.width=this.sizeWithUnit[0],t.height=this.sizeWithUnit[1];var e=this.isFilled?0:this.offset;switch(this.dockOn){case"right":case"left":t.top=e,t.maxHeight="calc(100% - ".concat(e,")");break;case"bottom":case"top":t.left=e,t.maxWidth="calc(100% - ".concat(e,")");break}return t}var n=this.isFilled?"100%":this.resizeValue>0?"".concat(this.resizeValue,"px"):this.sizeWithUnit;switch(this.dockOn){case"right":case"left":t.width=n;break;case"bottom":case"top":t.height=n;break}return t},containerClasses:function(){var t;return t={slideout:!0},c(t,this.customClass||"",!0),c(t,"slideout-dock--".concat(this.dockOn),!0),c(t,"slideout-is--visible",this.activeVisibleClass),c(t,"slideout-animation--enabled",!this.mousedown&&!this.disableAnimation),c(t,"slideout-header--visible",this.showHeader),c(t,"slideout-footer--visible",this.$slots.footer),c(t,"slideout-is--resizable",this.resizable),c(t,"slideout-is--fixed",this.isFixed),c(t,"slideout-is--filled",this.isFilled),c(t,"slideout-is--autosize",this.isAutoSize),t},isFixed:function(){return this.fixed||this.parentElement===document.body||!this.target}}},a={data:function(){return{isVisible:!1,isFilled:!1,mousedown:!1,mouseDownPosition:{x:0,y:0},originSize:{width:0,height:0},resizeValue:0,parentElement:null,headerButtons:null,animationDuration:312,activeVisibleClass:!1,showContainer:!1}}},u=(n("99af"),n("00b4"),{methods:{makeBeforeEventArgs:function(t,e){var n=this,r=!1;return{pause:!1,set resume(e){e&&n.$nextTick((function(){t()}))},get resume(){},set cancel(t){r=t,t&&n.$nextTick((function(){e()}))},get cancel(){return r}}},tryOpen:function(){var t=this;if(!this.isVisible){var e=this.makeBeforeEventArgs((function(){t.setVisibleValue(!0)}),(function(){t._updateVisibleValue(!1)}));this.$emit("opening",e),e.pause||e.cancel||this.setVisibleValue(!0)}},tryClose:function(){var t=this;if(this.isVisible){var e=this.makeBeforeEventArgs((function(){t.setVisibleValue(!1)}),(function(){t._updateVisibleValue(!0)}));this.$emit("closing",e),e.pause||e.cancel||this.setVisibleValue(!1)}},setVisibleValue:function(t){var e=this;t&&(this.resizeValue=0),t?(this.showContainer=!0,this.isVisible=!0,this.$nextTick((function(){setTimeout((function(){e.activeVisibleClass=!0,e.emitOpenedEvent()}),10)}))):(this.isFilled&&this.$emit("update:fill-parent",!1),this.activeVisibleClass=!1,this.$nextTick((function(){e.emitClosedEvent()})))},emitOpenedEvent:function(){var t=this;this.disableAnimation?this._doOpen():setTimeout((function(){t._doOpen()}),this.animationDuration)},emitClosedEvent:function(){var t=this;this.disableAnimation?this._doClose():setTimeout((function(){t._doClose()}),this.animationDuration)},_doOpen:function(){this.$emit("opened",this.$refs.panel),this.visible!==this.isVisible&&this._updateVisibleValue(!0)},_doClose:function(){this.showContainer=!1,this.isVisible=!1,this.$emit("closed"),this.visible!==this.isVisible&&this._updateVisibleValue(!1)},toggleFillState:function(t){if("boolean"!==typeof t)this.isFilled=!this.isFilled;else{if(this.isFilled===t)return;this.isFilled=t}this.isFilled!==this.fillParent&&this.$emit("update:fill-parent",this.isFilled)},updateParentElement:function(){if(this.target){var t=this.target;if("string"===typeof t&&(t=document.querySelector(t),!t))throw new Error("[vue-slideout] Cannot find the node to append: ".concat(this.target));this.parentElement=t}else this.parentElement=this.$refs.container.parentElement},onMaskClick:function(){this.closeOnMaskClick&&this.tryClose()},getParentSize:function(){var t=this.parentElement.getClientRects()[0];return{width:t.width,height:t.height}},getMyownSize:function(){var t=this.$refs.panel.getClientRects()[0];return{width:t.width,height:t.height}},mouseDownHandler:function(t){this.isFilled||(this.mousedown=!0,this.mouseDownPosition={x:t.pageX,y:t.pageY},this.originSize=this.getMyownSize())},mouseMoveHandler:function(t){var e=this;if(!this.isFilled&&this.mousedown){t.preventDefault();var n=t.pageX-this.mouseDownPosition.x,r=t.pageY-this.mouseDownPosition.y,i=this.getParentSize(),o={width:window.innerWidth,height:window.innerHeight},c=this.originSize,s=0;switch(this.dock){case"top":s=c.height+r,s>i.height&&(s=i.height),s>o.height&&(s=o.height);break;case"right":s=c.width-n,s>i.width&&(s=i.width),s>o.width&&(s=o.width);break;case"bottom":s=c.height-r,s>i.height&&(s=i.height),s>o.height&&(s=o.height);break;case"left":s=c.width+n,s>i.width&&(s=i.width),s>o.width&&(s=o.width);break}this.maxSize>0&&this.maxSize<s&&(s=this.maxSize),requestAnimationFrame((function(){e.resizeValue=s<e.minSize?e.minSize:s})),this.$nextTick((function(){e.$emit("resize",{size:e.resizeValue})}))}},mouseUpHandler:function(){this.mousedown=!1},onKeydown:function(t){if(!this.ignoreEsc&&this.isVisible&&("Escape"===t.code||27===t.keyCode||27===t.which)&&-1===["INPUT","TEXTAREA"].indexOf(t.target.tagName)&&"true"!==t.target.contentEditable)return this.tryClose(),!1},_fixSizeUnit:function(t){return"0"===t.toString()?"auto":"".concat(parseInt(t)).concat(/%$/.test(t)?"%":"px")},_updateVisibleValue:function(t){this.$emit("update:modelValue",t)}}}),f={watch:{modelValue:function(t){t!==this.isVisible&&(t?this.tryOpen():this.tryClose())},fillParent:function(t){t!==this.isFilled&&this.toggleFillState(t)},isVisible:function(t){var e=this;t&&this.$nextTick((function(){e.$refs.container.focus()})),this.isFixed&&(t?document.body.classList.add("slideout-helper--scroll-locker"):document.body.classList.remove("slideout-helper--scroll-locker"))}}},l=n("8bbf"),d={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},h=Object(l["createElementVNode"])("path",{d:"M493.45411 71.89033 197.751365 361.596502c-9.624195 9.380648-9.624195 24.707728 0 34.138518 9.576099 9.381671 25.222451 9.381671 34.848693 0l253.612115-248.494561 0 786.690176c0 13.3214 11.047614 24.142863 24.642237 24.142863 13.597693 0 24.645306-10.821463 24.645306-24.142863L535.499715 147.240459l253.632581 248.494561c9.603729 9.381671 25.248034 9.381671 34.847669 0 4.836145-4.76349 7.194866-10.939143 7.194866-17.116843 0-6.1777-2.405793-12.355399-7.194866-17.116843L528.255731 71.797209c-9.602705-9.383718-25.244964-9.383718-34.849716 0L493.45411 71.89033z"},null,-1),p=[h];function v(t,e){return Object(l["openBlock"])(),Object(l["createElementBlock"])("svg",d,p)}var b=n("6b0d"),g=n.n(b);const m={};var y=g()(m,[["render",v]]),x={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},w=Object(l["createElementVNode"])("path",{d:"M184.64768 836.34176c3.9936 3.9936 9.23648 5.98016 14.47936 5.98016 5.24288 0 10.48576-2.00704 14.49984-6.00064l292.70016-293.04832 292.70016 293.04832c3.9936 4.01408 9.23648 6.00064 14.49984 6.00064 5.24288 0 10.48576-2.00704 14.47936-5.98016 8.00768-7.9872 8.00768-20.95104 0.02048-28.95872L535.61344 514.64192 828.0064 221.92128c7.9872-8.00768 7.9872-20.97152-0.02048-28.95872-8.02816-8.00768-20.97152-8.00768-28.95872 0.02048L506.30656 486.03136 213.6064 192.98304c-8.00768-8.00768-20.97152-8.00768-28.95872-0.02048-8.00768 7.9872-8.00768 20.95104-0.02048 28.95872l292.37248 292.72064L184.6272 807.38304C176.64 815.37024 176.64 828.35456 184.64768 836.34176z"},null,-1),S=[w];function O(t,e){return Object(l["openBlock"])(),Object(l["createElementBlock"])("svg",x,S)}const E={};var j=g()(E,[["render",O]]),k={version:"1.1",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},z=Object(l["createElementVNode"])("path",{d:"M258.285714 197.028571l50.171429-50.171428a9.154286 9.154286 0 0 0-5.371429-15.542857L120 109.714286c-5.828571-0.685714-10.857143 4.228571-10.171429 10.171428L131.428571 302.971429c0.914286 7.542857 10.171429 10.742857 15.542858 5.371428l49.942857-49.942857L349.714286 411.085714c3.542857 3.542857 9.371429 3.542857 12.914285 0l48.457143-48.342857c3.542857-3.542857 3.542857-9.371429 0-12.914286L258.285714 197.028571z m403.085715 214.057143c3.542857 3.542857 9.371429 3.542857 12.914285 0l152.8-152.685714 49.942857 49.942857a9.154286 9.154286 0 0 0 15.542858-5.371428L914.171429 120c0.685714-5.828571-4.228571-10.857143-10.171429-10.171429L720.914286 131.428571c-7.542857 0.914286-10.742857 10.171429-5.371429 15.542858l50.171429 50.171428L612.914286 349.714286a9.177143 9.177143 0 0 0 0 12.914285l48.457143 48.457143zM892.571429 721.028571c-0.914286-7.542857-10.171429-10.742857-15.542858-5.371428l-49.942857 49.942857L674.285714 612.914286a9.177143 9.177143 0 0 0-12.914285 0l-48.457143 48.342857a9.177143 9.177143 0 0 0 0 12.914286L765.714286 826.971429l-50.171429 50.171428a9.154286 9.154286 0 0 0 5.371429 15.542857L904 914.285714c5.828571 0.685714 10.857143-4.228571 10.171429-10.171428L892.571429 721.028571z m-529.942858-108.114285a9.177143 9.177143 0 0 0-12.914285 0L196.914286 765.6l-49.942857-49.942857a9.154286 9.154286 0 0 0-15.542858 5.371428L109.828571 904c-0.685714 5.828571 4.228571 10.857143 10.171429 10.171429L303.085714 892.571429c7.542857-0.914286 10.742857-10.171429 5.371429-15.542858L258.285714 826.971429 411.085714 674.285714c3.542857-3.542857 3.542857-9.371429 0-12.914285l-48.457143-48.457143z"},null,-1),C=[z];function L(t,e){return Object(l["openBlock"])(),Object(l["createElementBlock"])("svg",k,C)}const F={};var V=g()(F,[["render",L]]),I={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},P=Object(l["createElementVNode"])("path",{d:"M391 240.9c-0.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3c-3.1-3.1-8.2-3.1-11.3 0l-42.4 42.3c-3.1 3.1-3.1 8.2 0 11.3L280 333.6l-43.9 43.9c-4.7 4.7-1.9 12.8 4.7 13.6L401 410c5.1 0.6 9.5-3.7 8.9-8.9L391 240.9zM401.1 614.1L240.8 633c-6.6 0.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824c-3.1 3.1-3.1 8.2 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7c4.7 4.7 12.8 1.9 13.6-4.7l18.9-160.1c0.6-5.1-3.7-9.4-8.8-8.8zM622.9 409.9L783.2 391c6.6-0.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3c-3.1-3.1-8.2-3.1-11.3 0L690.3 279.9l-43.7-43.7c-4.7-4.7-12.8-1.9-13.6 4.7L614.1 401c-0.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9c4.7-4.7 1.9-12.8-4.7-13.6L623 614c-5.1-0.6-9.5 3.7-8.9 8.9L633 783.1c0.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"},null,-1),_=[P];function T(t,e){return Object(l["openBlock"])(),Object(l["createElementBlock"])("svg",I,_)}const $={};var A=g()($,[["render",T]]),M={methods:{renderDefaultButtons:function(){var t=[];return this.showFillButton&&t.push(Object(l["h"])("button",{class:"slideout-btn--fill",onClick:this.toggleFillState},[Object(l["h"])(V),Object(l["h"])(A)])),this.showClose&&t.push(Object(l["h"])("button",{class:"slideout-btn--close",onClick:this.tryClose},this.arrowButton?Object(l["h"])(y):Object(l["h"])(j))),this.span({class:"slideout-header--buttons-default"},t)},renderResizeHandle:function(){return this.div({class:"slideout-resize--handle",onMousedown:this.mouseDownHandler})},renderHeader:function(){return this.div({class:"slideout-header"},this.$slots.header?this.$slots.header():[this.div({class:"slideout-header--text"},this.title),this.div({class:"slideout-header--buttons",ref:"buttons"},[this.span({class:"slideout-header--buttons-custom"},this.$slots.buttons?this.$slots.buttons():[]),this.renderDefaultButtons()])])},renderContent:function(){return this.div({class:"slideout-content"},this.$slots.default())},renderFooter:function(){return this.div({class:"slideout-footer"},this.$slots.footer?this.$slots.footer():[])},renderLayout:function(){var t=[];return!this.resizable||this.isFilled||this.isSizeFixed||t.push(this.renderResizeHandle()),this.showHeader&&t.push(this.renderHeader()),t.push(this.renderContent()),this.showFooter&&t.push(this.renderFooter()),this.div({class:"slideout-panel",style:this.panelStyle,ref:"panel"},t)},renderMask:function(){return this.div({class:"slideout-mask",style:this.maskStyle,onClick:this.onMaskClick})},renderContainer:function(t){return this.div({class:this.containerClasses,style:this.containerStyle,tabindex:0,ref:"container",onKeydown:this.onKeydown},t)},div:function(t,e){return Object(l["h"])("div",t,e)},span:function(t,e){return Object(l["h"])("span",t,e)}},render:function(){if(this.renderWhenVisible&&!this.modelValue)return null;var t=[];this.showMask&&t.push(this.renderMask()),t.push(this.renderLayout());var e=this.renderContainer(t);return this.target?Object(l["h"])(l["Teleport"],{to:this.target},e):e}},B={name:"Slideout",inheritAttrs:!1,mixins:[s,a,u,f,M],emits:["opening","opened","closing","closed","resize","update:fill-parent","update:modelValue"],props:{size:{type:[String,Number,Array],default:400},resizable:{type:Boolean,default:!1},minSize:{type:Number,default:100},maxSize:{type:Number,default:0},zIndex:{type:Number,default:1997},modelValue:{type:Boolean,default:!1},title:{type:String},customClass:{type:String},showMask:{type:Boolean,default:!0},maskColor:{type:String,default:null},closeOnMaskClick:{type:Boolean,default:!0},ignoreEsc:{type:Boolean,default:!1},dock:{type:String,default:"right",validator:function(t){return["top","right","bottom","left"].indexOf(t)>=0}},target:{type:[String,HTMLElement],default:"body"},disableAnimation:{type:Boolean,default:!1},fillParent:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},showFillButton:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},offset:{type:String,default:"0"},arrowButton:{type:Boolean,default:!0},renderWhenVisible:{type:Boolean,default:!1}},mounted:function(){this.isFilled=this.fillParent,this.updateParentElement(),this.resizable&&(document.addEventListener("mousemove",this.mouseMoveHandler),document.addEventListener("mouseup",this.mouseUpHandler)),this.headerButtons=this.$slots.btn?this.$refs.buttons:null},beforeUnmount:function(){this.showContainer=!1,this.resizable&&(document.removeEventListener("mousemove",this.mouseUpHandler),document.removeEventListener("mouseup",this.mouseMoveHandler)),this.isVisible&&this.tryClose(),document.body.classList.remove("slideout-helper--scroll-locker")}};function R(t){for(var e in t)t.hasOwnProperty(e)&&(e=e.replace(/-[a-z]/g,(function(t){return t[1].toUpperCase()})),B.props.hasOwnProperty(e)&&(B.props[e]["default"]=t[e]))}var N={install:function(t,e){e&&R(e),t.component(B.name,B)}};e["default"]=N},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fce3:function(t,e,n){var r=n("d039"),i=n("da84"),o=i.RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})["default"]}));
1
+ (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["Slideout"]=e(require("vue")):t["Slideout"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"04f8":function(t,e,n){var r=n("2d00"),i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"06cf":function(t,e,n){var r=n("83ab"),i=n("c65b"),o=n("d1e7"),s=n("5c6c"),a=n("fc6a"),c=n("a04b"),u=n("1a2d"),l=n("0cfb"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return s(!i(o.f,t,e),t[e])}},"07fa":function(t,e,n){var r=n("50c4");t.exports=function(t){return r(t.length)}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(t,e,n){var r=n("e330"),i=Error,o=r("".replace),s=function(t){return String(i(t).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(s);t.exports=function(t,e){if(c&&"string"==typeof t&&!i.prepareStackTrace)while(e--)t=o(t,a,"");return t}},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"13d2":function(t,e,n){var r=n("d039"),i=n("1626"),o=n("1a2d"),s=n("83ab"),a=n("5e77").CONFIGURABLE,c=n("8925"),u=n("69f3"),l=u.enforce,f=u.get,h=Object.defineProperty,d=s&&!r((function(){return 8!==h((function(){}),"length",{value:8}).length})),p=String(String).split("String"),b=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||a&&t.name!==e)&&(s?h(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&o(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var r=l(t);return o(r,"source")||(r.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return i(this)&&f(this).source||c(this)}),"toString")},"14d9":function(t,e,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),s=n("3a34"),a=n("3511"),c=n("d039"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||l},{push:function(t){var e=i(this),n=o(e),r=arguments.length;a(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return s(e,n),n}})},1626:function(t,e,n){var r=n("8ea1"),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},"1a2d":function(t,e,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},"1d80":function(t,e,n){var r=n("7234"),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},"23cb":function(t,e,n){var r=n("5926"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),s=n("cb2d"),a=n("6374"),c=n("e893"),u=n("94ca");t.exports=function(t,e){var n,l,f,h,d,p,b=t.target,v=t.global,y=t.stat;if(l=v?r:y?r[b]||a(b,{}):(r[b]||{}).prototype,l)for(f in e){if(d=e[f],t.dontCallGetSet?(p=i(l,f),h=p&&p.value):h=l[f],n=u(v?f:b+(y?".":"#")+f,t.forced),!n&&void 0!==h){if(typeof d==typeof h)continue;c(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0),s(l,f,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"2ba4":function(t,e,n){var r=n("40d5"),i=Function.prototype,o=i.apply,s=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},"2d00":function(t,e,n){var r,i,o=n("da84"),s=n("342f"),a=o.process,c=o.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},3511:function(t,e){var n=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw n("Maximum allowed index exceeded");return t}},"3a34":function(t,e,n){"use strict";var r=n("83ab"),i=n("e8b5"),o=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!s(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a9b":function(t,e,n){var r=n("e330");t.exports=r({}.isPrototypeOf)},"3bbe":function(t,e,n){var r=n("1626"),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},"40d5":function(t,e,n){var r=n("d039");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"44ad":function(t,e,n){var r=n("e330"),i=n("d039"),o=n("c6b6"),s=Object,a=r("".split);t.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?a(t,""):s(t)}:s},"485a":function(t,e,n){var r=n("c65b"),i=n("1626"),o=n("861d"),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&i(n=t.toString)&&!o(a=r(n,t)))return a;if(i(n=t.valueOf)&&!o(a=r(n,t)))return a;if("string"!==e&&i(n=t.toString)&&!o(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},"4d64":function(t,e,n){var r=n("fc6a"),i=n("23cb"),o=n("07fa"),s=function(t){return function(e,n,s){var a,c=r(e),u=o(c),l=i(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"50c4":function(t,e,n){var r=n("5926"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,n){var r=n("d066"),i=n("e330"),o=n("241c"),s=n("7418"),a=n("825a"),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=s.f;return n?c(e,n(t)):e}},"577e":function(t,e,n){var r=n("f5df"),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},5926:function(t,e,n){var r=n("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},"59ed":function(t,e,n){var r=n("1626"),i=n("0d51"),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,n){var r=n("83ab"),i=n("1a2d"),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6374:function(t,e,n){var r=n("da84"),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},"69f3":function(t,e,n){var r,i,o,s=n("cdce"),a=n("da84"),c=n("861d"),u=n("9112"),l=n("1a2d"),f=n("c6cd"),h=n("f772"),d=n("d012"),p="Object already initialized",b=a.TypeError,v=a.WeakMap,y=function(t){return o(t)?i(t):r(t,{})},m=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw b("Incompatible receiver, "+t+" required");return n}};if(s||f.state){var g=f.state||(f.state=new v);g.get=g.get,g.has=g.has,g.set=g.set,r=function(t,e){if(g.has(t))throw b(p);return e.facade=t,g.set(t,e),e},i=function(t){return g.get(t)||{}},o=function(t){return g.has(t)}}else{var w=h("state");d[w]=!0,r=function(t,e){if(l(t,w))throw b(p);return e.facade=t,u(t,w,e),e},i=function(t){return l(t,w)?t[w]:{}},o=function(t){return l(t,w)}}t.exports={set:r,get:i,has:o,enforce:y,getterFor:m}},"6b0d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n}},7156:function(t,e,n){var r=n("1626"),i=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var s,a;return o&&r(s=e.constructor)&&s!==n&&i(a=s.prototype)&&a!==n.prototype&&o(t,a),t}},7234:function(t,e){t.exports=function(t){return null===t||void 0===t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80"),i=Object;t.exports=function(t){return i(r(t))}},"825a":function(t,e,n){var r=n("861d"),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e,n){var r=n("1626"),i=n("8ea1"),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},8925:function(t,e,n){var r=n("e330"),i=n("1626"),o=n("c6cd"),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},"8bbf":function(e,n){e.exports=t},"8ea1":function(t,e){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},"90e3":function(t,e,n){var r=n("e330"),i=0,o=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++i+o,36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var r=n("d039"),i=n("1626"),o=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==l||n!=u&&(i(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("aed9"),s=n("825a"),a=n("a04b"),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",d="writable";e.f=r?o?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),i)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},a04b:function(t,e,n){var r=n("c04e"),i=n("d9b5");t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},a4b1:function(t,e,n){},ab36:function(t,e,n){var r=n("861d"),i=n("9112");t.exports=function(t,e){r(e)&&"cause"in e&&i(t,"cause",e.cause)}},aeb0:function(t,e,n){var r=n("9bf2").f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},aed9:function(t,e,n){var r=n("83ab"),i=n("d039");t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b42e:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("1a2d"),s=n("90e3"),a=n("04f8"),c=n("fdbf"),u=i("wks"),l=r.Symbol,f=l&&l["for"],h=c?l:l&&l.withoutSetter||s;t.exports=function(t){if(!o(u,t)||!a&&"string"!=typeof u[t]){var e="Symbol."+t;a&&o(l,t)?u[t]=l[t]:u[t]=c&&f?f(e):h(e)}return u[t]}},b980:function(t,e,n){var r=n("d039"),i=n("5c6c");t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)}))},c04e:function(t,e,n){var r=n("c65b"),i=n("861d"),o=n("d9b5"),s=n("dc4a"),a=n("485a"),c=n("b622"),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=s(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},c430:function(t,e){t.exports=!1},c65b:function(t,e,n){var r=n("40d5"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},c6b6:function(t,e,n){var r=n("e330"),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("6374"),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("e330"),i=n("1a2d"),o=n("fc6a"),s=n("4d64").indexOf,a=n("d012"),c=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,l=[];for(n in r)!i(a,n)&&i(r,n)&&c(l,n);while(e.length>u)i(r,n=e[u++])&&(~s(l,n)||c(l,n));return l}},cb2d:function(t,e,n){var r=n("1626"),i=n("9bf2"),o=n("13d2"),s=n("6374");t.exports=function(t,e,n,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:e;if(r(n)&&o(n,u,a),a.global)c?t[e]=n:s(e,n);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},cdce:function(t,e,n){var r=n("da84"),i=n("1626"),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),i=n("1626"),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d2bb:function(t,e,n){var r=n("e330"),i=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(s){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},d9b5:function(t,e,n){var r=n("d066"),i=n("1626"),o=n("3a9b"),s=n("fdbf"),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,a(t))}},d9e2:function(t,e,n){var r=n("23e7"),i=n("da84"),o=n("2ba4"),s=n("e5cb"),a="WebAssembly",c=i[a],u=7!==Error("e",{cause:7}).cause,l=function(t,e){var n={};n[t]=s(t,e,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},f=function(t,e){if(c&&c[t]){var n={};n[t]=s(a+"."+t,e,u),r({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(t){return function(e){return o(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),l("URIError",(function(t){return function(e){return o(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(t,e,n){var r=n("59ed"),i=n("7234");t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},e330:function(t,e,n){var r=n("40d5"),i=Function.prototype,o=i.call,s=r&&i.bind.bind(o,o);t.exports=r?s:function(t){return function(){return o.apply(t,arguments)}}},e391:function(t,e,n){var r=n("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},e5cb:function(t,e,n){"use strict";var r=n("d066"),i=n("1a2d"),o=n("9112"),s=n("3a9b"),a=n("d2bb"),c=n("e893"),u=n("aeb0"),l=n("7156"),f=n("e391"),h=n("ab36"),d=n("0d26"),p=n("b980"),b=n("83ab"),v=n("c430");t.exports=function(t,e,n,y){var m="stackTraceLimit",g=y?2:1,w=t.split("."),x=w[w.length-1],S=r.apply(null,w);if(S){var O=S.prototype;if(!v&&i(O,"cause")&&delete O.cause,!n)return S;var j=r("Error"),z=e((function(t,e){var n=f(y?e:t,void 0),r=y?new S(t):new S;return void 0!==n&&o(r,"message",n),p&&o(r,"stack",d(r.stack,2)),this&&s(O,this)&&l(r,this,z),arguments.length>g&&h(r,arguments[g]),r}));if(z.prototype=O,"Error"!==x?a?a(z,j):c(z,j,{name:!0}):b&&m in S&&(u(z,S,m),u(z,S,"prepareStackTrace")),c(z,S),!v)try{O.name!==x&&o(O,"name",x),O.constructor=z}catch(k){}return z}}},e893:function(t,e,n){var r=n("1a2d"),i=n("56ef"),o=n("06cf"),s=n("9bf2");t.exports=function(t,e,n){for(var a=i(e),c=s.f,u=o.f,l=0;l<a.length;l++){var f=a[l];r(t,f)||n&&r(n,f)||c(t,f,u(e,f))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},f5df:function(t,e,n){var r=n("00ee"),i=n("1626"),o=n("c6b6"),s=n("b622"),a=s("toStringTag"),c=Object,u="Arguments"==o(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=c(t),a))?n:u?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("a4b1");var o={computed:{dockOn(){return this.dock||"right"},showHeader(){return this.title||this.$slots.header},showFooter(){return this.$slots.footer},containerStyle(){const t={"z-index":this.zIndex,display:this.showContainer?"block":"none"},e=this.$attrs.style;if(e)if("string"===typeof e)e.split(";").forEach(e=>{const[n,r]=e.split(":");t[n]=r});else for(const n in e)t[n]=e[n];return this.mousedown&&(t.userSelect="none"),t},maskStyle(){return this.maskColor?{"background-color":this.maskColor}:{}},isSizeFixed(){return Array.isArray(this.size)},isAutoSize(){return this.isSizeFixed?!this.size.every(t=>"0"!==t.toString()):"0"===this.size.toString()},sizeWithUnit(){return this.isSizeFixed?[this._fixSizeUnit(this.size[0]),this._fixSizeUnit(this.size[1===this.size.length?0:1])]:this._fixSizeUnit(this.size)},panelStyle(){const t={};if(this.isSizeFixed){t.width=this.sizeWithUnit[0],t.height=this.sizeWithUnit[1];const e=this.isFilled?0:this.offset;switch(this.dockOn){case"right":case"left":t.top=e,t.maxHeight=`calc(100% - ${e})`;break;case"bottom":case"top":t.left=e,t.maxWidth=`calc(100% - ${e})`;break}return t}const e=this.isFilled?"100%":this.resizeValue>0?this.resizeValue+"px":this.sizeWithUnit;switch(this.dockOn){case"right":case"left":t.width=e;break;case"bottom":case"top":t.height=e;break}return t},containerClasses(){return{slideout:!0,[this.customClass||""]:!0,["slideout-dock--"+this.dockOn]:!0,"slideout-is--visible":this.activeVisibleClass,"slideout-animation--enabled":!this.mousedown&&!this.disableAnimation,"slideout-header--visible":this.showHeader,"slideout-footer--visible":this.$slots.footer,"slideout-is--resizable":this.resizable,"slideout-is--fixed":this.isFixed,"slideout-is--filled":this.isFilled,"slideout-is--autosize":this.isAutoSize}},isFixed(){return this.fixed||this.parentElement===document.body||!this.target}}},s={data(){return{isVisible:!1,isFilled:!1,mousedown:!1,mouseDownPosition:{x:0,y:0},originSize:{width:0,height:0},resizeValue:0,parentElement:null,headerButtons:null,animationDuration:312,activeVisibleClass:!1,showContainer:!1}}},a=(n("d9e2"),{methods:{makeBeforeEventArgs(t,e){const n=this;let r=!1;return{pause:!1,set resume(e){e&&n.$nextTick(()=>{t()})},get resume(){},set cancel(t){r=t,t&&n.$nextTick(()=>{e()})},get cancel(){return r}}},tryOpen(){if(this.isVisible)return;const t=this.makeBeforeEventArgs(()=>{this.setVisibleValue(!0)},()=>{this._updateVisibleValue(!1)});this.$emit("opening",t),t.pause||t.cancel||this.setVisibleValue(!0)},tryClose(){if(!this.isVisible)return;const t=this.makeBeforeEventArgs(()=>{this.setVisibleValue(!1)},()=>{this._updateVisibleValue(!0)});this.$emit("closing",t),t.pause||t.cancel||this.setVisibleValue(!1)},setVisibleValue(t){t&&(this.resizeValue=0),t?(this.showContainer=!0,this.isVisible=!0,this.$nextTick(()=>{setTimeout(()=>{this.activeVisibleClass=!0,this.emitOpenedEvent()},10)})):(this.isFilled&&this.$emit("update:fill-parent",!1),this.activeVisibleClass=!1,this.$nextTick(()=>{this.emitClosedEvent()}))},emitOpenedEvent(){this.disableAnimation?this._doOpen():setTimeout(()=>{this._doOpen()},this.animationDuration)},emitClosedEvent(){this.disableAnimation?this._doClose():setTimeout(()=>{this._doClose()},this.animationDuration)},_doOpen(){this.$emit("opened",this.$refs.panel),this.visible!==this.isVisible&&this._updateVisibleValue(!0)},_doClose(){this.showContainer=!1,this.isVisible=!1,this.$emit("closed"),this.visible!==this.isVisible&&this._updateVisibleValue(!1)},toggleFillState(t){if("boolean"!==typeof t)this.isFilled=!this.isFilled;else{if(this.isFilled===t)return;this.isFilled=t}this.isFilled!==this.fillParent&&this.$emit("update:fill-parent",this.isFilled)},updateParentElement(){if(!this.target)return void(this.parentElement=this.$parent.$el.parentElement);let t=this.target;if("string"===typeof t&&(t=document.querySelector(t),!t))throw new Error("[vue-slideout] Cannot find the node to append: "+this.target);this.parentElement=t},onMaskClick(){this.closeOnMaskClick&&this.tryClose()},getParentSize(){const t=this.parentElement.getClientRects()[0];return{width:t.width,height:t.height}},getMyownSize(){const t=this.$refs.panel.getClientRects()[0];return{width:t.width,height:t.height}},mouseDownHandler(t){this.isFilled||(this.mousedown=!0,this.mouseDownPosition={x:t.pageX,y:t.pageY},this.originSize=this.getMyownSize())},mouseMoveHandler(t){if(this.isFilled)return;if(!this.mousedown)return;t.preventDefault();const e=t.pageX-this.mouseDownPosition.x,n=t.pageY-this.mouseDownPosition.y,r=this.getParentSize(),i={width:window.innerWidth,height:window.innerHeight},o=this.originSize;let s=0;switch(this.dock){case"top":s=o.height+n,s>r.height&&(s=r.height),s>i.height&&(s=i.height);break;case"right":s=o.width-e,s>r.width&&(s=r.width),s>i.width&&(s=i.width);break;case"bottom":s=o.height-n,s>r.height&&(s=r.height),s>i.height&&(s=i.height);break;case"left":s=o.width+e,s>r.width&&(s=r.width),s>i.width&&(s=i.width);break}this.maxSize>0&&this.maxSize<s&&(s=this.maxSize),requestAnimationFrame(()=>{this.resizeValue=s<this.minSize?this.minSize:s}),this.$nextTick(()=>{this.$emit("resize",{size:this.resizeValue})})},mouseUpHandler(){this.mousedown=!1},onKeydown(t){if(!this.ignoreEsc&&this.isVisible&&("Escape"===t.code||27===t.keyCode||27===t.which)&&-1===["INPUT","TEXTAREA"].indexOf(t.target.tagName)&&"true"!==t.target.contentEditable)return this.tryClose(),!1},_fixSizeUnit(t){return"0"===t.toString()?"auto":/^[0-9.]+$/.test(t)?t+"px":t},_updateVisibleValue(t){this.$emit("update:modelValue",t)}}}),c={watch:{modelValue(t){t!==this.isVisible&&(t?this.tryOpen():this.tryClose())},fillParent(t){t!==this.isFilled&&this.toggleFillState(t)},isVisible(t){t&&this.$nextTick(()=>{this.$refs.container.focus()}),this.isFixed&&(t?document.body.classList.add("slideout-helper--scroll-locker"):document.body.classList.remove("slideout-helper--scroll-locker"))}}},u=(n("14d9"),n("8bbf"));const l={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},f=Object(u["createElementVNode"])("path",{d:"M493.45411 71.89033 197.751365 361.596502c-9.624195 9.380648-9.624195 24.707728 0 34.138518 9.576099 9.381671 25.222451 9.381671 34.848693 0l253.612115-248.494561 0 786.690176c0 13.3214 11.047614 24.142863 24.642237 24.142863 13.597693 0 24.645306-10.821463 24.645306-24.142863L535.499715 147.240459l253.632581 248.494561c9.603729 9.381671 25.248034 9.381671 34.847669 0 4.836145-4.76349 7.194866-10.939143 7.194866-17.116843 0-6.1777-2.405793-12.355399-7.194866-17.116843L528.255731 71.797209c-9.602705-9.383718-25.244964-9.383718-34.849716 0L493.45411 71.89033z"},null,-1),h=[f];function d(t,e){return Object(u["openBlock"])(),Object(u["createElementBlock"])("svg",l,h)}var p=n("6b0d"),b=n.n(p);const v={},y=b()(v,[["render",d]]);var m=y;const g={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},w=Object(u["createElementVNode"])("path",{d:"M184.64768 836.34176c3.9936 3.9936 9.23648 5.98016 14.47936 5.98016 5.24288 0 10.48576-2.00704 14.49984-6.00064l292.70016-293.04832 292.70016 293.04832c3.9936 4.01408 9.23648 6.00064 14.49984 6.00064 5.24288 0 10.48576-2.00704 14.47936-5.98016 8.00768-7.9872 8.00768-20.95104 0.02048-28.95872L535.61344 514.64192 828.0064 221.92128c7.9872-8.00768 7.9872-20.97152-0.02048-28.95872-8.02816-8.00768-20.97152-8.00768-28.95872 0.02048L506.30656 486.03136 213.6064 192.98304c-8.00768-8.00768-20.97152-8.00768-28.95872-0.02048-8.00768 7.9872-8.00768 20.95104-0.02048 28.95872l292.37248 292.72064L184.6272 807.38304C176.64 815.37024 176.64 828.35456 184.64768 836.34176z"},null,-1),x=[w];function S(t,e){return Object(u["openBlock"])(),Object(u["createElementBlock"])("svg",g,x)}const O={},j=b()(O,[["render",S]]);var z=j;const k={version:"1.1",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},E=Object(u["createElementVNode"])("path",{d:"M258.285714 197.028571l50.171429-50.171428a9.154286 9.154286 0 0 0-5.371429-15.542857L120 109.714286c-5.828571-0.685714-10.857143 4.228571-10.171429 10.171428L131.428571 302.971429c0.914286 7.542857 10.171429 10.742857 15.542858 5.371428l49.942857-49.942857L349.714286 411.085714c3.542857 3.542857 9.371429 3.542857 12.914285 0l48.457143-48.342857c3.542857-3.542857 3.542857-9.371429 0-12.914286L258.285714 197.028571z m403.085715 214.057143c3.542857 3.542857 9.371429 3.542857 12.914285 0l152.8-152.685714 49.942857 49.942857a9.154286 9.154286 0 0 0 15.542858-5.371428L914.171429 120c0.685714-5.828571-4.228571-10.857143-10.171429-10.171429L720.914286 131.428571c-7.542857 0.914286-10.742857 10.171429-5.371429 15.542858l50.171429 50.171428L612.914286 349.714286a9.177143 9.177143 0 0 0 0 12.914285l48.457143 48.457143zM892.571429 721.028571c-0.914286-7.542857-10.171429-10.742857-15.542858-5.371428l-49.942857 49.942857L674.285714 612.914286a9.177143 9.177143 0 0 0-12.914285 0l-48.457143 48.342857a9.177143 9.177143 0 0 0 0 12.914286L765.714286 826.971429l-50.171429 50.171428a9.154286 9.154286 0 0 0 5.371429 15.542857L904 914.285714c5.828571 0.685714 10.857143-4.228571 10.171429-10.171428L892.571429 721.028571z m-529.942858-108.114285a9.177143 9.177143 0 0 0-12.914285 0L196.914286 765.6l-49.942857-49.942857a9.154286 9.154286 0 0 0-15.542858 5.371428L109.828571 904c-0.685714 5.828571 4.228571 10.857143 10.171429 10.171429L303.085714 892.571429c7.542857-0.914286 10.742857-10.171429 5.371429-15.542858L258.285714 826.971429 411.085714 674.285714c3.542857-3.542857 3.542857-9.371429 0-12.914285l-48.457143-48.457143z"},null,-1),C=[E];function L(t,e){return Object(u["openBlock"])(),Object(u["createElementBlock"])("svg",k,C)}const V={},P=b()(V,[["render",L]]);var _=P;const F={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},M=Object(u["createElementVNode"])("path",{d:"M391 240.9c-0.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3c-3.1-3.1-8.2-3.1-11.3 0l-42.4 42.3c-3.1 3.1-3.1 8.2 0 11.3L280 333.6l-43.9 43.9c-4.7 4.7-1.9 12.8 4.7 13.6L401 410c5.1 0.6 9.5-3.7 8.9-8.9L391 240.9zM401.1 614.1L240.8 633c-6.6 0.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824c-3.1 3.1-3.1 8.2 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7c4.7 4.7 12.8 1.9 13.6-4.7l18.9-160.1c0.6-5.1-3.7-9.4-8.8-8.8zM622.9 409.9L783.2 391c6.6-0.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3c-3.1-3.1-8.2-3.1-11.3 0L690.3 279.9l-43.7-43.7c-4.7-4.7-12.8-1.9-13.6 4.7L614.1 401c-0.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9c4.7-4.7 1.9-12.8-4.7-13.6L623 614c-5.1-0.6-9.5 3.7-8.9 8.9L633 783.1c0.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"},null,-1),T=[M];function B(t,e){return Object(u["openBlock"])(),Object(u["createElementBlock"])("svg",F,T)}const $={},A=b()($,[["render",B]]);var D=A,H={methods:{renderDefaultButtons(){const t=[];return this.showFillButton&&t.push(Object(u["h"])("button",{class:"slideout-btn--fill",onClick:this.toggleFillState},[Object(u["h"])(_),Object(u["h"])(D)])),this.showClose&&t.push(Object(u["h"])("button",{class:"slideout-btn--close",onClick:this.tryClose},this.arrowButton?Object(u["h"])(m):Object(u["h"])(z))),this.span({class:"slideout-header--buttons-default"},t)},renderResizeHandle(){return this.div({class:"slideout-resize--handle",onMousedown:this.mouseDownHandler})},renderHeader(){return this.div({class:"slideout-header"},this.$slots.header?this.$slots.header():[this.div({class:"slideout-header--text"},this.title),this.div({class:"slideout-header--buttons",ref:"buttons"},[this.span({class:"slideout-header--buttons-custom"},this.$slots.buttons?this.$slots.buttons():[]),this.renderDefaultButtons()])])},renderContent(){return this.div({class:"slideout-content"},this.$slots.default())},renderFooter(){return this.div({class:"slideout-footer"},this.$slots.footer?this.$slots.footer():[])},renderLayout(){const t=[];return!this.resizable||this.isFilled||this.isSizeFixed||t.push(this.renderResizeHandle()),this.showHeader&&t.push(this.renderHeader()),t.push(this.renderContent()),this.showFooter&&t.push(this.renderFooter()),this.div({class:"slideout-panel",style:this.panelStyle,ref:"panel"},t)},renderMask(){return this.div({class:"slideout-mask",style:this.maskStyle,onClick:this.onMaskClick})},renderContainer(t){return this.div({class:this.containerClasses,style:this.containerStyle,tabindex:0,ref:"container",onKeydown:this.onKeydown},t)},div(t,e){return Object(u["h"])("div",t,e)},span(t,e){return Object(u["h"])("span",t,e)}},render(){if(this.renderWhenVisible&&!this.modelValue)return null;const t=[];this.showMask&&t.push(this.renderMask()),t.push(this.renderLayout());const e=this.renderContainer(t);return this.target?Object(u["h"])(u["Teleport"],{to:this.target},e):e}},U={name:"Slideout",inheritAttrs:!1,mixins:[o,s,a,c,H],emits:["opening","opened","closing","closed","resize","update:fill-parent","update:modelValue"],props:{size:{type:[String,Number,Array],default:400},resizable:{type:Boolean,default:!1},minSize:{type:Number,default:100},maxSize:{type:Number,default:0},zIndex:{type:Number,default:1997},modelValue:{type:Boolean,default:!1},title:{type:String},customClass:{type:String},showMask:{type:Boolean,default:!0},maskColor:{type:String,default:null},closeOnMaskClick:{type:Boolean,default:!0},ignoreEsc:{type:Boolean,default:!1},dock:{type:String,default:"right",validator:t=>["top","right","bottom","left"].indexOf(t)>=0},target:{type:[String,HTMLElement],default:"body"},disableAnimation:{type:Boolean,default:!1},fillParent:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},showFillButton:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},offset:{type:String,default:"0"},arrowButton:{type:Boolean,default:!0},renderWhenVisible:{type:Boolean,default:!1}},mounted(){this.isFilled=this.fillParent,this.updateParentElement(),this.resizable&&(document.addEventListener("mousemove",this.mouseMoveHandler),document.addEventListener("mouseup",this.mouseUpHandler)),this.headerButtons=this.$slots.btn?this.$refs.buttons:null},beforeUnmount(){this.showContainer=!1,this.resizable&&(document.removeEventListener("mousemove",this.mouseUpHandler),document.removeEventListener("mouseup",this.mouseMoveHandler)),this.isVisible&&this.tryClose(),document.body.classList.remove("slideout-helper--scroll-locker")}};function I(t){for(let e in t)t.hasOwnProperty(e)&&(e=e.replace(/_[a-z]/g,t=>t[1].toUpperCase()),U.props.hasOwnProperty(e)&&(U.props[e]["default"]=t[e]))}U.install=function(t,e){e&&I(e),t.component(U.name,U)};var N=U;e["default"]=N},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fdbf:function(t,e,n){var r=n("04f8");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})["default"]}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyjiacan/vue-slideout",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "A Slide-Out component for Vue3",
5
5
  "main": "dist/slideout.common.js",
6
6
  "unpkg": "dist/slideout.umd.js",
@@ -27,6 +27,7 @@
27
27
  "files": [
28
28
  "dist",
29
29
  "src",
30
+ "types",
30
31
  "LICENSE",
31
32
  "README.md",
32
33
  "README.zh-CN.md",
@@ -34,6 +35,7 @@
34
35
  "API.zh-CN.md",
35
36
  "MIGRATIONS.md"
36
37
  ],
38
+ "types": "types/slideout.d.ts",
37
39
  "publishConfig": {
38
40
  "access": "public",
39
41
  "registry": "https://registry.npmjs.org"
@@ -44,13 +46,13 @@
44
46
  "homepage": "https://hyjiacan.github.io/vue-slideout/",
45
47
  "dependencies": {
46
48
  "core-js": "^3.6.5",
47
- "vue": "^3.0.0"
49
+ "vue": "^3.2.45"
48
50
  },
49
51
  "devDependencies": {
50
- "@vue/cli-plugin-babel": "~4.5.0",
51
- "@vue/cli-plugin-eslint": "~4.5.0",
52
- "@vue/cli-service": "~4.5.0",
53
- "@vue/compiler-sfc": "^3.0.0",
52
+ "@vue/cli-plugin-babel": "^4.5.19",
53
+ "@vue/cli-plugin-eslint": "^4.5.19",
54
+ "@vue/cli-service": "^4.5.19",
55
+ "@vue/compiler-sfc": "^3.2.45",
54
56
  "babel-eslint": "^10.1.0",
55
57
  "eslint": "^6.7.2",
56
58
  "eslint-plugin-vue": "^7.0.0-0",
@@ -67,6 +67,16 @@
67
67
  "Component has limited the max value of <code>size</code> as <code>100%</code>.": "组件限制了 <code>size</code> 的最大值为 <code>100%</code>。",
68
68
  "The <code>size=\"120%\"</code> specified here is greater than <code>100%</code>, thus it wouldn't work as expected.": "此处指定的值 <code>size=\"120%\"</code> 大于 <code>100%</code>, 因此其不会如期起作用。",
69
69
  "There are some breaking changes at 3.0.0, see migrations on": "版本 3.0.0 发生不兼容的变化,可以在这里找到迁移信息",
70
- "Try it on the fly.": "试试在线示例"
70
+ "Try it on the fly.": "试试在线示例",
71
+ "Open": "打开",
72
+ "Nested usage": "嵌套使用",
73
+ "Click to open the inner Slide": "点击打开内层的 Slide",
74
+ "Here is the outer Slide.": "这是外层 Slide",
75
+ "Here is the inner Slide.": "这是内层 Slide",
76
+ "The style": "样式",
77
+ "is important, you can": "很重要,你可以",
78
+ "remove it": "将其移除",
79
+ "add it": "将其加上",
80
+ "to see what's difference.": "再看看有什么不同。"
71
81
  }
72
82
  }
@@ -2,43 +2,56 @@ export default {
2
2
  computed: {
3
3
  // The side to dock on.
4
4
  // The default value is right.
5
- dockOn () {
5
+ dockOn() {
6
6
  return this.dock || 'right'
7
7
  },
8
8
  // If to show the header bar or not.
9
9
  // This depends on the title property and the header slot.
10
- showHeader () {
10
+ showHeader() {
11
11
  return this.title || this.$slots.header
12
12
  },
13
13
  // If to show the footer bar or not.
14
14
  // This depends on the footer slot.
15
- showFooter () {
15
+ showFooter() {
16
16
  return this.$slots.footer
17
17
  },
18
- containerStyle () {
18
+ containerStyle() {
19
19
  const style = {
20
20
  'z-index': this.zIndex,
21
21
  display: this.showContainer ? 'block' : 'none'
22
22
  }
23
+ const customStyle = this.$attrs.style
24
+ if (customStyle) {
25
+ if (typeof customStyle === 'string') {
26
+ customStyle.split(';').forEach(item => {
27
+ const [key, value] = item.split(':')
28
+ style[key] = value
29
+ })
30
+ } else {
31
+ for (const key in customStyle) {
32
+ style[key] = customStyle[key]
33
+ }
34
+ }
35
+ }
23
36
  if (this.mousedown) {
24
37
  style.userSelect = 'none'
25
38
  }
26
39
  return style
27
40
  },
28
- maskStyle () {
41
+ maskStyle() {
29
42
  return this.maskColor ? {
30
43
  'background-color': this.maskColor
31
44
  } : {}
32
45
  },
33
46
  // If to use the fixed size or not:
34
47
  // true if the value of size is an Array
35
- isSizeFixed () {
48
+ isSizeFixed() {
36
49
  return Array.isArray(this.size)
37
50
  },
38
51
  // Should I fit the size automatically ?
39
52
  // If the value of size is 0 or [0, 0],
40
53
  // then make it auto.
41
- isAutoSize () {
54
+ isAutoSize() {
42
55
  if (this.isSizeFixed) {
43
56
  return !this.size.every(i => i.toString() !== '0')
44
57
  }
@@ -48,14 +61,14 @@ export default {
48
61
  * Get the value of size with unit px or "%"
49
62
  * @return {Array|String}
50
63
  */
51
- sizeWithUnit () {
64
+ sizeWithUnit() {
52
65
  if (!this.isSizeFixed) {
53
66
  return this._fixSizeUnit(this.size)
54
67
  }
55
68
  return [this._fixSizeUnit(this.size[0]), this._fixSizeUnit(this.size[this.size.length === 1 ? 0 : 1])]
56
69
  },
57
70
  // The styles of panel
58
- panelStyle () {
71
+ panelStyle() {
59
72
  const style = {}
60
73
 
61
74
  // Styles for fixed
@@ -94,7 +107,7 @@ export default {
94
107
  }
95
108
  return style
96
109
  },
97
- containerClasses () {
110
+ containerClasses() {
98
111
  return {
99
112
  'slideout': true,
100
113
  [this.customClass || '']: true,
@@ -112,7 +125,7 @@ export default {
112
125
  }
113
126
  },
114
127
  // If to use fixed position.
115
- isFixed () {
128
+ isFixed() {
116
129
  // False if target specified,
117
130
  // except the parent element is document.body.
118
131
  return this.fixed || this.parentElement === document.body || !this.target
@@ -1,12 +1,12 @@
1
1
  import Slideout from './slideout.js'
2
2
 
3
- function setDefaultProps (customize) {
3
+ function setDefaultProps(customize) {
4
4
  for (let prop in customize) {
5
5
  if (!customize.hasOwnProperty(prop)) {
6
6
  continue
7
7
  }
8
8
  // Parse property name like "abc_xyz" into "abcXyz".
9
- prop = prop.replace(/-[a-z]/g, match => {
9
+ prop = prop.replace(/_[a-z]/g, match => {
10
10
  return match[1].toUpperCase()
11
11
  })
12
12
  if (!Slideout.props.hasOwnProperty(prop)) {
@@ -21,11 +21,11 @@ function setDefaultProps (customize) {
21
21
  * @param app
22
22
  * @param {Object} defaults The defaults value
23
23
  */
24
- export default {
25
- install (app, defaults) {
26
- if (defaults) {
27
- setDefaultProps(defaults)
28
- }
29
- app.component(Slideout.name, Slideout)
24
+ Slideout.install = function (app, defaults) {
25
+ if (defaults) {
26
+ setDefaultProps(defaults)
30
27
  }
28
+ app.component(Slideout.name, Slideout)
31
29
  }
30
+
31
+ export default Slideout
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  methods: {
3
- makeBeforeEventArgs (resumeCallback, cancelCallback) {
3
+ makeBeforeEventArgs(resumeCallback, cancelCallback) {
4
4
  const vm = this
5
5
  let canceled = false
6
6
  return {
@@ -8,7 +8,7 @@ export default {
8
8
  pause: false,
9
9
  // setter
10
10
  // Resume the paused operation.
11
- set resume (value) {
11
+ set resume(value) {
12
12
  // Cancel the operation if the value is falsy.
13
13
  if (!value) {
14
14
  return
@@ -18,10 +18,10 @@ export default {
18
18
  resumeCallback()
19
19
  })
20
20
  },
21
- get resume () {
21
+ get resume() {
22
22
  return undefined
23
23
  },
24
- set cancel (value) {
24
+ set cancel(value) {
25
25
  canceled = value
26
26
  if (!value) {
27
27
  return
@@ -30,12 +30,12 @@ export default {
30
30
  cancelCallback()
31
31
  })
32
32
  },
33
- get cancel () {
33
+ get cancel() {
34
34
  return canceled
35
35
  }
36
36
  }
37
37
  },
38
- tryOpen () {
38
+ tryOpen() {
39
39
  // Do nothing if slideout is visible.
40
40
  if (this.isVisible) {
41
41
  return
@@ -59,7 +59,7 @@ export default {
59
59
  // Show slideout.
60
60
  this.setVisibleValue(true)
61
61
  },
62
- tryClose () {
62
+ tryClose() {
63
63
  // Do nothing if slideout is invisible.
64
64
  if (!this.isVisible) {
65
65
  return
@@ -86,7 +86,7 @@ export default {
86
86
  * Update the value of isVisible.
87
87
  * @param {Boolean} visible The visible state
88
88
  */
89
- setVisibleValue (visible) {
89
+ setVisibleValue(visible) {
90
90
  // Reset the size while slideout is brought into visible.
91
91
  if (visible) {
92
92
  this.resizeValue = 0
@@ -113,7 +113,7 @@ export default {
113
113
  })
114
114
  }
115
115
  },
116
- emitOpenedEvent () {
116
+ emitOpenedEvent() {
117
117
  if (this.disableAnimation) {
118
118
  // The animation is disabled.
119
119
  this._doOpen()
@@ -124,7 +124,7 @@ export default {
124
124
  this._doOpen()
125
125
  }, this.animationDuration)
126
126
  },
127
- emitClosedEvent () {
127
+ emitClosedEvent() {
128
128
  if (this.disableAnimation) {
129
129
  // The animation is disabled.
130
130
  this._doClose()
@@ -135,13 +135,13 @@ export default {
135
135
  this._doClose()
136
136
  }, this.animationDuration)
137
137
  },
138
- _doOpen () {
138
+ _doOpen() {
139
139
  this.$emit('opened', this.$refs.panel)
140
140
  if (this.visible !== this.isVisible) {
141
141
  this._updateVisibleValue(true)
142
142
  }
143
143
  },
144
- _doClose () {
144
+ _doClose() {
145
145
  this.showContainer = false
146
146
  this.isVisible = false
147
147
  this.$emit('closed')
@@ -149,7 +149,7 @@ export default {
149
149
  this._updateVisibleValue(false)
150
150
  }
151
151
  },
152
- toggleFillState (fillparent) {
152
+ toggleFillState(fillparent) {
153
153
  if (typeof fillparent !== 'boolean') {
154
154
  this.isFilled = !this.isFilled
155
155
  } else if (this.isFilled === fillparent) {
@@ -164,9 +164,9 @@ export default {
164
164
  /**
165
165
  * Get the actual parent element of Slideout
166
166
  */
167
- updateParentElement () {
167
+ updateParentElement() {
168
168
  if (!this.target) {
169
- this.parentElement = this.$refs.container.parentElement
169
+ this.parentElement = this.$parent.$el.parentElement
170
170
  return
171
171
  }
172
172
  let target = this.target
@@ -182,7 +182,7 @@ export default {
182
182
  /**
183
183
  * The handler for mask click.
184
184
  */
185
- onMaskClick () {
185
+ onMaskClick() {
186
186
  if (this.closeOnMaskClick) {
187
187
  this.tryClose()
188
188
  }
@@ -190,7 +190,7 @@ export default {
190
190
  /**
191
191
  * @return {{width: Number, height: Number}}
192
192
  */
193
- getParentSize () {
193
+ getParentSize() {
194
194
  const rect = this.parentElement.getClientRects()[0]
195
195
  return {
196
196
  width: rect.width,
@@ -200,14 +200,14 @@ export default {
200
200
  /**
201
201
  * @return {{width: Number, height: Number}}
202
202
  */
203
- getMyownSize () {
203
+ getMyownSize() {
204
204
  const rect = this.$refs.panel.getClientRects()[0]
205
205
  return {
206
206
  width: rect.width,
207
207
  height: rect.height
208
208
  }
209
209
  },
210
- mouseDownHandler (e) {
210
+ mouseDownHandler(e) {
211
211
  if (this.isFilled) {
212
212
  // Resize is disabled while fillparent.
213
213
  return
@@ -219,7 +219,7 @@ export default {
219
219
  }
220
220
  this.originSize = this.getMyownSize()
221
221
  },
222
- mouseMoveHandler (e) {
222
+ mouseMoveHandler(e) {
223
223
  if (this.isFilled) {
224
224
  // Resize is disabled while fillparent.
225
225
  return
@@ -285,17 +285,17 @@ export default {
285
285
  this.resizeValue = newSize < this.minSize ? this.minSize : newSize
286
286
  })
287
287
  this.$nextTick(() => {
288
- this.$emit('resize', { size: this.resizeValue })
288
+ this.$emit('resize', {size: this.resizeValue})
289
289
  })
290
290
  },
291
- mouseUpHandler () {
291
+ mouseUpHandler() {
292
292
  this.mousedown = false
293
293
  },
294
294
  /**
295
295
  * Close slideout after Esc pressed.
296
296
  * @param {KeyboardEvent} e
297
297
  */
298
- onKeydown (e) {
298
+ onKeydown(e) {
299
299
  if (this.ignoreEsc) {
300
300
  return
301
301
  }
@@ -313,10 +313,17 @@ export default {
313
313
  this.tryClose()
314
314
  return false
315
315
  },
316
- _fixSizeUnit (val) {
317
- return val.toString() === '0' ? 'auto' : `${parseInt(val)}${/%$/.test(val) ? '%' : 'px'}`
316
+ _fixSizeUnit(val) {
317
+ if (val.toString() === '0') {
318
+ return 'auto'
319
+ }
320
+ // Use unit PX as default
321
+ if (/^[0-9.]+$/.test(val)) {
322
+ return val + 'px'
323
+ }
324
+ return val
318
325
  },
319
- _updateVisibleValue (value) {
326
+ _updateVisibleValue(value) {
320
327
  this.$emit('update:modelValue', value)
321
328
  }
322
329
  }
@@ -10,6 +10,7 @@
10
10
  <fillparent-demo/>
11
11
  <fixed-n-offset-demo/>
12
12
  <auto-size-demo/>
13
+ <nested-demo />
13
14
  </div>
14
15
  </template>
15
16
 
@@ -24,10 +25,12 @@ import ResizeDemo from './demos/ResizeDemo'
24
25
  import EventDemo from './demos/EventDemo'
25
26
  import CustomizeDemo from './demos/CustomizeDemo'
26
27
  import AutoSizeDemo from './demos/AutoSizeDemo'
28
+ import NestedDemo from './demos/NestedDemo'
27
29
 
28
30
  export default {
29
31
  name: 'Demo',
30
32
  components: {
33
+ NestedDemo,
31
34
  AutoSizeDemo,
32
35
  CustomizeDemo,
33
36
  EventDemo,