slim-select 1.26.2 → 1.27.0

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,2 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["install"],{"06c3":function(e,t,n){"use strict";n("34d8")},"0d3b":function(e,t,n){var r=n("d039"),s=n("b622"),i=n("c430"),a=s("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"2b3d":function(e,t,n){"use strict";n("3ca3");var r,s=n("23e7"),i=n("83ab"),a=n("0d3b"),l=n("da84"),o=n("37e8"),c=n("6eeb"),u=n("19aa"),h=n("5135"),f=n("60da"),p=n("4df4"),d=n("6547").codeAt,m=n("5fb2"),v=n("d44e"),g=n("9861"),w=n("69f3"),b=l.URL,y=g.URLSearchParams,k=g.getState,R=w.set,L=w.getterFor("URL"),U=Math.floor,S=Math.pow,j="Invalid authority",A="Invalid scheme",C="Invalid host",q="Invalid port",_=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,B=/\d/,E=/^(0x|0X)/,P=/^[0-7]+$/,I=/^\d+$/,D=/^[\dA-Fa-f]+$/,F=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,O=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,T=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,$=/[\u0009\u000A\u000D]/g,J=function(e,t){var n,r,s;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return C;if(n=N(t.slice(1,-1)),!n)return C;e.host=n}else if(W(e)){if(t=m(t),F.test(t))return C;if(n=M(t),null===n)return C;e.host=n}else{if(O.test(t))return C;for(n="",r=p(t),s=0;s<r.length;s++)n+=K(r[s],X);e.host=n}},M=function(e){var t,n,r,s,i,a,l,o=e.split(".");if(o.length&&""==o[o.length-1]&&o.pop(),t=o.length,t>4)return e;for(n=[],r=0;r<t;r++){if(s=o[r],""==s)return e;if(i=10,s.length>1&&"0"==s.charAt(0)&&(i=E.test(s)?16:8,s=s.slice(8==i?1:2)),""===s)a=0;else{if(!(10==i?I:8==i?P:D).test(s))return e;a=parseInt(s,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=S(256,5-t))return null}else if(a>255)return null;for(l=n.pop(),r=0;r<n.length;r++)l+=n[r]*S(256,3-r);return l},N=function(e){var t,n,r,s,i,a,l,o=[0,0,0,0,0,0,0,0],c=0,u=null,h=0,f=function(){return e.charAt(h)};if(":"==f()){if(":"!=e.charAt(1))return;h+=2,c++,u=c}while(f()){if(8==c)return;if(":"!=f()){t=n=0;while(n<4&&D.test(f()))t=16*t+parseInt(f(),16),h++,n++;if("."==f()){if(0==n)return;if(h-=n,c>6)return;r=0;while(f()){if(s=null,r>0){if(!("."==f()&&r<4))return;h++}if(!B.test(f()))return;while(B.test(f())){if(i=parseInt(f(),10),null===s)s=i;else{if(0==s)return;s=10*s+i}if(s>255)return;h++}o[c]=256*o[c]+s,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;o[c++]=t}else{if(null!==u)return;h++,c++,u=c}}if(null!==u){a=c-u,c=7;while(0!=c&&a>0)l=o[c],o[c--]=o[u+a-1],o[u+--a]=l}else if(8!=c)return;return o},z=function(e){for(var t=null,n=1,r=null,s=0,i=0;i<8;i++)0!==e[i]?(s>n&&(t=r,n=s),r=null,s=0):(null===r&&(r=i),++s);return s>n&&(t=r,n=s),t},H=function(e){var t,n,r,s;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=U(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=z(e),n=0;n<8;n++)s&&0===e[n]||(s&&(s=!1),r===n?(t+=n?":":"::",s=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},X={},Z=f({},X,{" ":1,'"':1,"<":1,">":1,"`":1}),G=f({},Z,{"#":1,"?":1,"{":1,"}":1}),V=f({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var n=d(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},Q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},W=function(e){return h(Q,e.scheme)},Y=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&_.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},se=function(e){return"."===e||"%2e"===e.toLowerCase()},ie=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},le={},oe={},ce={},ue={},he={},fe={},pe={},de={},me={},ve={},ge={},we={},be={},ye={},ke={},Re={},Le={},Ue={},Se={},je={},Ae=function(e,t,n,s){var i,a,l,o,c=n||ae,u=0,f="",d=!1,m=!1,v=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(T,"")),t=t.replace($,""),i=p(t);while(u<=i.length){switch(a=i[u],c){case ae:if(!a||!_.test(a)){if(n)return A;c=oe;continue}f+=a.toLowerCase(),c=le;break;case le:if(a&&(x.test(a)||"+"==a||"-"==a||"."==a))f+=a.toLowerCase();else{if(":"!=a){if(n)return A;f="",c=oe,u=0;continue}if(n&&(W(e)!=h(Q,f)||"file"==f&&(Y(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(W(e)&&Q[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?c=be:W(e)&&s&&s.scheme==e.scheme?c=ce:W(e)?c=pe:"/"==i[u+1]?(c=ue,u++):(e.cannotBeABaseURL=!0,e.path.push(""),c=Ue)}break;case oe:if(!s||s.cannotBeABaseURL&&"#"!=a)return A;if(s.cannotBeABaseURL&&"#"==a){e.scheme=s.scheme,e.path=s.path.slice(),e.query=s.query,e.fragment="",e.cannotBeABaseURL=!0,c=je;break}c="file"==s.scheme?be:he;continue;case ce:if("/"!=a||"/"!=i[u+1]){c=he;continue}c=de,u++;break;case ue:if("/"==a){c=me;break}c=Le;continue;case he:if(e.scheme=s.scheme,a==r)e.username=s.username,e.password=s.password,e.host=s.host,e.port=s.port,e.path=s.path.slice(),e.query=s.query;else if("/"==a||"\\"==a&&W(e))c=fe;else if("?"==a)e.username=s.username,e.password=s.password,e.host=s.host,e.port=s.port,e.path=s.path.slice(),e.query="",c=Se;else{if("#"!=a){e.username=s.username,e.password=s.password,e.host=s.host,e.port=s.port,e.path=s.path.slice(),e.path.pop(),c=Le;continue}e.username=s.username,e.password=s.password,e.host=s.host,e.port=s.port,e.path=s.path.slice(),e.query=s.query,e.fragment="",c=je}break;case fe:if(!W(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=s.username,e.password=s.password,e.host=s.host,e.port=s.port,c=Le;continue}c=me}else c=de;break;case pe:if(c=de,"/"!=a||"/"!=f.charAt(u+1))continue;u++;break;case de:if("/"!=a&&"\\"!=a){c=me;continue}break;case me:if("@"==a){d&&(f="%40"+f),d=!0,l=p(f);for(var g=0;g<l.length;g++){var w=l[g];if(":"!=w||v){var b=K(w,V);v?e.password+=b:e.username+=b}else v=!0}f=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(d&&""==f)return j;u-=p(f).length+1,f="",c=ve}else f+=a;break;case ve:case ge:if(n&&"file"==e.scheme){c=ke;continue}if(":"!=a||m){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(W(e)&&""==f)return C;if(n&&""==f&&(Y(e)||null!==e.port))return;if(o=J(e,f),o)return o;if(f="",c=Re,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),f+=a}else{if(""==f)return C;if(o=J(e,f),o)return o;if(f="",c=we,n==ge)return}break;case we:if(!B.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)||n){if(""!=f){var y=parseInt(f,10);if(y>65535)return q;e.port=W(e)&&y===Q[e.scheme]?null:y,f=""}if(n)return;c=Re;continue}return q}f+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)c=ye;else{if(!s||"file"!=s.scheme){c=Le;continue}if(a==r)e.host=s.host,e.path=s.path.slice(),e.query=s.query;else if("?"==a)e.host=s.host,e.path=s.path.slice(),e.query="",c=Se;else{if("#"!=a){ne(i.slice(u).join(""))||(e.host=s.host,e.path=s.path.slice(),re(e)),c=Le;continue}e.host=s.host,e.path=s.path.slice(),e.query=s.query,e.fragment="",c=je}}break;case ye:if("/"==a||"\\"==a){c=ke;break}s&&"file"==s.scheme&&!ne(i.slice(u).join(""))&&(te(s.path[0],!0)?e.path.push(s.path[0]):e.host=s.host),c=Le;continue;case ke:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&te(f))c=Le;else if(""==f){if(e.host="",n)return;c=Re}else{if(o=J(e,f),o)return o;if("localhost"==e.host&&(e.host=""),n)return;f="",c=Re}continue}f+=a;break;case Re:if(W(e)){if(c=Le,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(c=Le,"/"!=a))continue}else e.fragment="",c=je;else e.query="",c=Se;break;case Le:if(a==r||"/"==a||"\\"==a&&W(e)||!n&&("?"==a||"#"==a)){if(ie(f)?(re(e),"/"==a||"\\"==a&&W(e)||e.path.push("")):se(f)?"/"==a||"\\"==a&&W(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(a==r||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",c=Se):"#"==a&&(e.fragment="",c=je)}else f+=K(a,G);break;case Ue:"?"==a?(e.query="",c=Se):"#"==a?(e.fragment="",c=je):a!=r&&(e.path[0]+=K(a,X));break;case Se:n||"#"!=a?a!=r&&("'"==a&&W(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,X)):(e.fragment="",c=je);break;case je:a!=r&&(e.fragment+=K(a,Z));break}u++}},Ce=function(e){var t,n,r=u(this,Ce,"URL"),s=arguments.length>1?arguments[1]:void 0,a=String(e),l=R(r,{type:"URL"});if(void 0!==s)if(s instanceof Ce)t=L(s);else if(n=Ae(t={},String(s)),n)throw TypeError(n);if(n=Ae(l,a,null,t),n)throw TypeError(n);var o=l.searchParams=new y,c=k(o);c.updateSearchParams(l.query),c.updateURL=function(){l.query=String(o)||null},i||(r.href=_e.call(r),r.origin=xe.call(r),r.protocol=Be.call(r),r.username=Ee.call(r),r.password=Pe.call(r),r.host=Ie.call(r),r.hostname=De.call(r),r.port=Fe.call(r),r.pathname=Oe.call(r),r.search=Te.call(r),r.searchParams=$e.call(r),r.hash=Je.call(r))},qe=Ce.prototype,_e=function(){var e=L(this),t=e.scheme,n=e.username,r=e.password,s=e.host,i=e.port,a=e.path,l=e.query,o=e.fragment,c=t+":";return null!==s?(c+="//",Y(e)&&(c+=n+(r?":"+r:"")+"@"),c+=H(s),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==l&&(c+="?"+l),null!==o&&(c+="#"+o),c},xe=function(){var e=L(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&W(e)?t+"://"+H(e.host)+(null!==n?":"+n:""):"null"},Be=function(){return L(this).scheme+":"},Ee=function(){return L(this).username},Pe=function(){return L(this).password},Ie=function(){var e=L(this),t=e.host,n=e.port;return null===t?"":null===n?H(t):H(t)+":"+n},De=function(){var e=L(this).host;return null===e?"":H(e)},Fe=function(){var e=L(this).port;return null===e?"":String(e)},Oe=function(){var e=L(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Te=function(){var e=L(this).query;return e?"?"+e:""},$e=function(){return L(this).searchParams},Je=function(){var e=L(this).fragment;return e?"#"+e:""},Me=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&o(qe,{href:Me(_e,(function(e){var t=L(this),n=String(e),r=Ae(t,n);if(r)throw TypeError(r);k(t.searchParams).updateSearchParams(t.query)})),origin:Me(xe),protocol:Me(Be,(function(e){var t=L(this);Ae(t,String(e)+":",ae)})),username:Me(Ee,(function(e){var t=L(this),n=p(String(e));if(!ee(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=K(n[r],V)}})),password:Me(Pe,(function(e){var t=L(this),n=p(String(e));if(!ee(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=K(n[r],V)}})),host:Me(Ie,(function(e){var t=L(this);t.cannotBeABaseURL||Ae(t,String(e),ve)})),hostname:Me(De,(function(e){var t=L(this);t.cannotBeABaseURL||Ae(t,String(e),ge)})),port:Me(Fe,(function(e){var t=L(this);ee(t)||(e=String(e),""==e?t.port=null:Ae(t,e,we))})),pathname:Me(Oe,(function(e){var t=L(this);t.cannotBeABaseURL||(t.path=[],Ae(t,e+"",Re))})),search:Me(Te,(function(e){var t=L(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ae(t,e,Se)),k(t.searchParams).updateSearchParams(t.query)})),searchParams:Me($e),hash:Me(Je,(function(e){var t=L(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ae(t,e,je)):t.fragment=null}))}),c(qe,"toJSON",(function(){return _e.call(this)}),{enumerable:!0}),c(qe,"toString",(function(){return _e.call(this)}),{enumerable:!0}),b){var Ne=b.createObjectURL,ze=b.revokeObjectURL;Ne&&c(Ce,"createObjectURL",(function(e){return Ne.apply(b,arguments)})),ze&&c(Ce,"revokeObjectURL",(function(e){return ze.apply(b,arguments)}))}v(Ce,"URL"),s({global:!0,forced:!a,sham:!i},{URL:Ce})},"34d8":function(e,t,n){},"5fb2":function(e,t,n){"use strict";var r=2147483647,s=36,i=1,a=26,l=38,o=700,c=72,u=128,h="-",f=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,d="Overflow: input needs wider integers to process",m=s-i,v=Math.floor,g=String.fromCharCode,w=function(e){var t=[],n=0,r=e.length;while(n<r){var s=e.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&s)<<10)+(1023&i)+65536):(t.push(s),n--)}else t.push(s)}return t},b=function(e){return e+22+75*(e<26)},y=function(e,t,n){var r=0;for(e=n?v(e/o):e>>1,e+=v(e/t);e>m*a>>1;r+=s)e=v(e/m);return v(r+(m+1)*e/(e+l))},k=function(e){var t=[];e=w(e);var n,l,o=e.length,f=u,p=0,m=c;for(n=0;n<e.length;n++)l=e[n],l<128&&t.push(g(l));var k=t.length,R=k;k&&t.push(h);while(R<o){var L=r;for(n=0;n<e.length;n++)l=e[n],l>=f&&l<L&&(L=l);var U=R+1;if(L-f>v((r-p)/U))throw RangeError(d);for(p+=(L-f)*U,f=L,n=0;n<e.length;n++){if(l=e[n],l<f&&++p>r)throw RangeError(d);if(l==f){for(var S=p,j=s;;j+=s){var A=j<=m?i:j>=m+a?a:j-m;if(S<A)break;var C=S-A,q=s-A;t.push(g(b(A+C%q))),S=v(C/q)}t.push(g(b(S))),m=y(p,U,R==k),p=0,++R}}++p,++f}return t.join("")};e.exports=function(e){var t,n,r=[],s=e.toLowerCase().replace(p,".").split(".");for(t=0;t<s.length;t++)n=s[t],r.push(f.test(n)?"xn--"+k(n):n);return r.join(".")}},9224:function(e){e.exports=JSON.parse('{"name":"slim-select","description":"Slim advanced select dropdown","version":"1.26.2","author":"Brian Voelker <brian@webiswhatido.com> (http://webiswhatido.com)","homepage":"https://slimselectjs.com","license":"MIT","bugs":{"url":"https://github.com/brianvoe/slim-select/issues"},"engines":{"node":">=8"},"main":"dist/slimselect.min.js","style":"dist/slimselect.min.css","sass":"src/slim-select/slimselect.scss","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/brianvoe/slim-select.git"},"keywords":["select","vanilla","dropdown","search","multiselect"],"scripts":{"dev":"vue-cli-service serve","library":"rm -r dist && cd src/slim-select && webpack && cd ../../ && npm run cleanDist && npm run renameDist","cleanDist":"rm dist/slimselectcss.min.js && rm dist/slimselectcss.js","renameDist":"mv \'dist/slimselectcss.css\' \'dist/slimselect.css\' && mv \'dist/slimselectcss.min.css\' \'dist/slimselect.min.css\'","docs":"vue-cli-service build","build":"npm run docs && npm run library","lint":"vue-cli-service lint"},"devDependencies":{"@vue/cli-plugin-babel":"^4.5.9","@vue/cli-plugin-typescript":"^4.5.9","@vue/cli-service":"^4.5.9","ajv":"^6.12.6","chance":"^1.1.7","clipboard":"^2.0.4","node-sass":"^5.0.0","optimize-css-assets-webpack-plugin":"^5.0.4","prismjs":"^1.22.0","sass-loader":"^10.1.0","typescript":"^3.7.4","uglifyjs-webpack-plugin":"^2.2.0","vue":"^2.6.12","vue-router":"^3.4.9","vue-template-compiler":"^2.6.12","vuex":"^3.6.0","webpack-cli":"^4.2.0"}}')},9861:function(e,t,n){"use strict";n("e260");var r=n("23e7"),s=n("d066"),i=n("0d3b"),a=n("6eeb"),l=n("e2cc"),o=n("d44e"),c=n("9ed3"),u=n("69f3"),h=n("19aa"),f=n("5135"),p=n("0366"),d=n("f5df"),m=n("825a"),v=n("861d"),g=n("7c73"),w=n("5c6c"),b=n("9a1f"),y=n("35a1"),k=n("b622"),R=s("fetch"),L=s("Headers"),U=k("iterator"),S="URLSearchParams",j=S+"Iterator",A=u.set,C=u.getterFor(S),q=u.getterFor(j),_=/\+/g,x=Array(4),B=function(e){return x[e-1]||(x[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},E=function(e){try{return decodeURIComponent(e)}catch(t){return e}},P=function(e){var t=e.replace(_," "),n=4;try{return decodeURIComponent(t)}catch(r){while(n)t=t.replace(B(n--),E);return t}},I=/[!'()~]|%20/g,D={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return D[e]},O=function(e){return encodeURIComponent(e).replace(I,F)},T=function(e,t){if(t){var n,r,s=t.split("&"),i=0;while(i<s.length)n=s[i++],n.length&&(r=n.split("="),e.push({key:P(r.shift()),value:P(r.join("="))}))}},$=function(e){this.entries.length=0,T(this.entries,e)},J=function(e,t){if(e<t)throw TypeError("Not enough arguments")},M=c((function(e,t){A(this,{type:j,iterator:b(C(e).entries),kind:t})}),"Iterator",(function(){var e=q(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),N=function(){h(this,N,S);var e,t,n,r,s,i,a,l,o,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(A(u,{type:S,entries:p,updateURL:function(){},updateSearchParams:$}),void 0!==c)if(v(c))if(e=y(c),"function"===typeof e){t=e.call(c),n=t.next;while(!(r=n.call(t)).done){if(s=b(m(r.value)),i=s.next,(a=i.call(s)).done||(l=i.call(s)).done||!i.call(s).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:l.value+""})}}else for(o in c)f(c,o)&&p.push({key:o,value:c[o]+""});else T(p,"string"===typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},z=N.prototype;l(z,{append:function(e,t){J(arguments.length,2);var n=C(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){J(arguments.length,1);var t=C(this),n=t.entries,r=e+"",s=0;while(s<n.length)n[s].key===r?n.splice(s,1):s++;t.updateURL()},get:function(e){J(arguments.length,1);for(var t=C(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){J(arguments.length,1);for(var t=C(this).entries,n=e+"",r=[],s=0;s<t.length;s++)t[s].key===n&&r.push(t[s].value);return r},has:function(e){J(arguments.length,1);var t=C(this).entries,n=e+"",r=0;while(r<t.length)if(t[r++].key===n)return!0;return!1},set:function(e,t){J(arguments.length,1);for(var n,r=C(this),s=r.entries,i=!1,a=e+"",l=t+"",o=0;o<s.length;o++)n=s[o],n.key===a&&(i?s.splice(o--,1):(i=!0,n.value=l));i||s.push({key:a,value:l}),r.updateURL()},sort:function(){var e,t,n,r=C(this),s=r.entries,i=s.slice();for(s.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(s[t].key>e.key){s.splice(t,0,e);break}t===n&&s.push(e)}r.updateURL()},forEach:function(e){var t,n=C(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),s=0;while(s<n.length)t=n[s++],r(t.value,t.key,this)},keys:function(){return new M(this,"keys")},values:function(){return new M(this,"values")},entries:function(){return new M(this,"entries")}},{enumerable:!0}),a(z,U,z.entries),a(z,"toString",(function(){var e,t=C(this).entries,n=[],r=0;while(r<t.length)e=t[r++],n.push(O(e.key)+"="+O(e.value));return n.join("&")}),{enumerable:!0}),o(N,S),r({global:!0,forced:!i},{URLSearchParams:N}),i||"function"!=typeof R||"function"!=typeof L||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,s=[e];return arguments.length>1&&(t=arguments[1],v(t)&&(n=t.body,d(n)===S&&(r=t.headers?new L(t.headers):new L,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:w(0,String(n)),headers:w(0,r)}))),s.push(t)),R.apply(this,s)}}),e.exports={URLSearchParams:N,getState:C}},"9a1f":function(e,t,n){var r=n("825a"),s=n("35a1");e.exports=function(e){var t=s(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},b467:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content",attrs:{id:"install-content"}},[e._m(0),n("div",{staticClass:"cdn-content"},[n("h2",[e._v("Cdn")]),n("pre",{staticClass:"install-code"},[e._v(" "),n("code",{staticClass:"language-html"},[e._v('\n <script src="https://cdnjs.cloudflare.com/ajax/libs/slim-select/'+e._s(e.version)+'/slimselect.min.js"><\/script>\n <link href="https://cdnjs.cloudflare.com/ajax/libs/slim-select/'+e._s(e.version)+'/slimselect.min.css" rel="stylesheet"></link>\n ')]),e._v("\n ")]),e._m(1)]),n("div",{staticClass:"download-content"},[n("h2",[e._v("Download")]),n("div",{staticClass:"btn",on:{click:e.download}},[e._v("Click Here To Download")])])])},s=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"npm-content"},[n("h2",[e._v("Npm")]),n("pre",{staticClass:"install-code"},[e._v(" "),n("code",{staticClass:"language-bash"},[e._v("\n npm install slim-select\n ")]),e._v("\n ")]),n("pre",{staticClass:"example-code"},[e._v(" "),n("code",{staticClass:"language-javascript"},[e._v("\n import SlimSelect from 'slim-select'\n\n new SlimSelect({\n select: '#slim-select'\n })\n ")]),e._v("\n ")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("pre",{staticClass:"example-code"},[e._v(" "),n("code",{staticClass:"language-javascript"},[e._v("\n new SlimSelect({\n select: '#slim-select'\n })\n ")]),e._v("\n ")])}],i=(n("d3b7"),n("3ca3"),n("ddb0"),n("2b3d"),n("ba4b"),n("9224")),a={data:function(){return{version:i.version}},methods:{download:function(){var e=this;function t(e){var t=document.createElement("a");document.body.appendChild(t),t.style="display: none";var n=window.URL.createObjectURL(e);t.href=n,t.download="slimselect.js",t.click(),window.URL.revokeObjectURL(n)}var n=new XMLHttpRequest;n.open("GET","https://cdnjs.cloudflare.com/ajax/libs/slim-select/".concat(this.version,"/slimselect.min.js")),n.responseType="blob",n.onload=function(){t(e.response,"filename")},n.send()}}},l=a,o=(n("06c3"),n("2877")),c=Object(o["a"])(l,r,s,!1,null,null,null);t["default"]=c.exports}}]);
2
- //# sourceMappingURL=install.1fa0a10d.js.map
@@ -1,36 +0,0 @@
1
- (function(){var aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},f="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function h(){h=function(){};f.Symbol||(f.Symbol=ba)}var ca=0;function ba(a){return"jscomp_symbol_"+(a||"")+ca++}
2
- function k(){h();var a=f.Symbol.iterator;a||(a=f.Symbol.iterator=f.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return l(this)}});k=function(){}}function l(a){var b=0;return da(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function da(a){k();a={next:a};a[f.Symbol.iterator]=function(){return this};return a}
3
- function m(a){if(!(a instanceof Array)){k();var b=a[Symbol.iterator];a=b?b.call(a):l(a);for(var c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}function ea(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a;for(var d in b)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else a[d]=b[d]}
4
- var n=window.Element.prototype,p=n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;function q(a,b){if(a&&1==a.nodeType&&b){if("string"==typeof b||1==b.nodeType)return a==b||r(a,b);if("length"in b)for(var c=0,d;d=b[c];c++)if(a==d||r(a,d))return!0}return!1}function r(a,b){if("string"!=typeof b)return!1;if(p)return p.call(a,b);b=a.parentNode.querySelectorAll(b);for(var c=0,d;d=b[c];c++)if(d==a)return!0;return!1}
5
- function fa(a){for(var b=[];a&&a.parentNode&&1==a.parentNode.nodeType;)a=a.parentNode,b.push(a);return b}
6
- function ha(a,b,c){function d(a){var d;if(g.composed&&"function"==typeof a.composedPath)for(var e=a.composedPath(),t=0,B;B=e[t];t++)1==B.nodeType&&q(B,b)&&(d=B);else a:{if((d=a.target)&&1==d.nodeType&&b)for(d=[d].concat(fa(d)),e=0;t=d[e];e++)if(q(t,b)){d=t;break a}d=void 0}d&&c.call(d,a,d)}var e=document,g={composed:!0,u:!0},g=void 0===g?{}:g;e.addEventListener(a,d,g.u);return{i:function(){e.removeEventListener(a,d,g.u)}}}
7
- function ia(a){var b={};if(!a||1!=a.nodeType)return b;a=a.attributes;if(!a.length)return{};for(var c=0,d;d=a[c];c++)b[d.name]=d.value;return b}var ja=/:(80|443)$/,u=document.createElement("a"),v={};
8
- function w(a){a=a&&"."!=a?a:location.href;if(v[a])return v[a];u.href=a;if("."==a.charAt(0)||"/"==a.charAt(0))return w(u.href);var b="80"==u.port||"443"==u.port?"":u.port,b="0"==b?"":b,c=u.host.replace(ja,"");return v[a]={hash:u.hash,host:c,hostname:u.hostname,href:u.href,origin:u.origin?u.origin:u.protocol+"//"+c,pathname:"/"==u.pathname.charAt(0)?u.pathname:"/"+u.pathname,port:b,protocol:u.protocol,search:u.search}}var x=[];
9
- function y(a,b){var c=this;this.context=a;this.s=b;this.f=(this.c=/Task$/.test(b))?a.get(b):a[b];this.b=[];this.a=[];this.g=function(a){for(var b=[],d=0;d<arguments.length;++d)b[d-0]=arguments[d];return c.a[c.a.length-1].apply(null,[].concat(m(b)))};this.c?a.set(b,this.g):a[b]=this.g}function z(a,b){a.b.push(b);A(a)}function C(a,b){b=a.b.indexOf(b);-1<b&&(a.b.splice(b,1),0<a.b.length?A(a):a.i())}function A(a){a.a=[];for(var b,c=0;b=a.b[c];c++){var d=a.a[c-1]||a.f.bind(a.context);a.a.push(b(d))}}
10
- y.prototype.i=function(){var a=x.indexOf(this);-1<a&&(x.splice(a,1),this.c?this.context.set(this.s,this.f):this.context[this.s]=this.f)};function D(a,b){var c=x.filter(function(c){return c.context==a&&c.s==b})[0];c||(c=new y(a,b),x.push(c));return c}function E(a,b,c,d,e){if("function"==typeof d){var g=c.get("buildHitTask");return{buildHitTask:function(c){c.set(a,null,!0);c.set(b,null,!0);d(c,e);g(c)}}}return F({},a,b)}
11
- function ka(a,b){var c=ia(a),d={};Object.keys(c).forEach(function(a){if(!a.indexOf(b)&&a!=b+"on"){var e=c[a];"true"==e&&(e=!0);"false"==e&&(e=!1);a=la(a.slice(b.length));d[a]=e}});return d}function ma(a){var b;return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];clearTimeout(b);b=setTimeout(function(){return a.apply(null,[].concat(m(d)))},500)}}function na(a){function b(){c||(c=!0,a())}var c=!1;setTimeout(b,2E3);return b}
12
- var F=Object.assign||function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];for(var e=0;d=c[e];e++)for(var g in d)Object.prototype.hasOwnProperty.call(d,g)&&(a[g]=d[g]);return a};function la(a){return a.replace(/[\-\_]+(\w?)/g,function(a,c){return c.toUpperCase()})}function G(a){return"object"==typeof a&&null!==a}
13
- function H(a,b){var c=window.GoogleAnalyticsObject||"ga";window[c]=window[c]||function(a){for(var b=[],d=0;d<arguments.length;++d)b[d-0]=arguments[d];(window[c].q=window[c].q||[]).push(b)};window.gaDevIds=window.gaDevIds||[];0>window.gaDevIds.indexOf("i5iSjo")&&window.gaDevIds.push("i5iSjo");window[c]("provide",a,b);window.gaplugins=window.gaplugins||{};window.gaplugins[a.charAt(0).toUpperCase()+a.slice(1)]=b}function I(){this.a={}}
14
- I.prototype.C=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];(this.a[a]=this.a[a]||[]).forEach(function(a){return a.apply(null,[].concat(m(c)))})};var J={},K=!1;function L(a,b){this.a={};this.key=a;this.l=b||{}}ea(L,I);function M(a,b,c){a=["autotrack",a,b].join(":");J[a]||(J[a]=new L(a,c),J[a].key=a,K||(window.addEventListener("storage",N),K=!0));return J[a]}
15
- L.prototype.get=function(){var a=String(window.localStorage&&window.localStorage.getItem(this.key));return"string"!=typeof a?{}:O(a,this.l)};L.prototype.set=function(a){var b=this.get();a=F(b,a);window.localStorage&&window.localStorage.setItem(this.key,JSON.stringify(a))};L.prototype.i=function(){delete J[this.key];Object.keys(J).length||(window.removeEventListener("storage",N),K=!1)};function N(a){var b=J[a.key];if(b){var c=O(a.oldValue,b.l);a=O(a.newValue,b.l);b.C("externalSet",a,c)}}
16
- function O(a,b){var c;try{c=JSON.parse(a)}catch(d){c={}}return F({},b,c)}var oa={};function P(a,b,c){this.f=a;this.timeout=b||Q;this.timeZone=c;b=this.b=this.b.bind(this);z(D(a,"sendHitTask"),b);try{this.c=new Intl.DateTimeFormat("en-US",{timeZone:this.timeZone})}catch(d){}this.a=M(a.get("trackingId"),"session",{hitTime:0,isExpired:!1})}
17
- P.prototype.isExpired=function(a){a=a?a:this.a.get();if(a.isExpired)return!0;var b=new Date,c=(a=a.hitTime)&&new Date(a);return a&&(b-c>6E4*this.timeout||this.c&&this.c.format(b)!=this.c.format(c))?!0:!1};P.prototype.b=function(a){var b=this;return function(c){a(c);var d=b.a.get(),e=b.isExpired(d);c=c.get("sessionControl");d.hitTime=+new Date;if("start"==c||e)d.isExpired=!1;"end"==c&&(d.isExpired=!0);b.a.set(d)}};P.prototype.i=function(){var a=this.b;C(D(this.f,"sendHitTask"),a);this.a.i();delete oa[this.f.get("trackingId")]};
18
- var Q=30,R={D:1,F:2,G:3,H:4,I:5,w:6,A:7,J:8,B:9,v:10},S=Object.keys(R).length;function T(a,b){a.set("\x26_av","2.0.1");var c=a.get("\x26_au"),c=parseInt(c||"0",16).toString(2);if(c.length<S)for(var d=S-c.length;d;)c="0"+c,d--;b=S-b;c=c.substr(0,b)+1+c.substr(b+1);a.set("\x26_au",parseInt(c||"0",2).toString(16))}
19
- function U(a,b){T(a,R.v);window.addEventListener&&(this.a=F({increaseThreshold:20,sessionTimeout:Q,fieldsObj:{}},b),this.c=a,this.b=pa(this),this.f=ma(this.f.bind(this)),this.h=this.h.bind(this),this.g=M(a.get("trackingId"),"plugins/max-scroll-tracker"),this.j=new P(a,this.a.sessionTimeout,this.a.timeZone),b=this.h,z(D(a,"set"),b),qa(this))}function qa(a){100>(a.g.get()[a.b]||0)&&window.addEventListener("scroll",a.f)}
20
- U.prototype.f=function(){var a=document.documentElement,b=document.body,a=Math.min(100,Math.max(0,Math.round(window.pageYOffset/(Math.max(a.offsetHeight,a.scrollHeight,b.offsetHeight,b.scrollHeight)-window.innerHeight)*100)));if(this.j.isExpired())window.localStorage&&window.localStorage.removeItem(this.g.key);else if(b=this.g.get()[this.b]||0,a>b&&(100!=a&&100!=b||window.removeEventListener("scroll",this.f),b=a-b,100==a||b>=this.a.increaseThreshold)){var c={};this.g.set((c[this.b]=a,c));a={transport:"beacon",
21
- eventCategory:"Max Scroll",eventAction:"increase",eventValue:b,eventLabel:String(a),nonInteraction:!0};this.a.maxScrollMetricIndex&&(a["metric"+this.a.maxScrollMetricIndex]=b);this.c.send("event",E(a,this.a.fieldsObj,this.c,this.a.hitFilter))}};U.prototype.h=function(a){var b=this;return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];a.apply(null,[].concat(m(d)));e={};(G(d[0])?d[0]:(e[d[0]]=d[1],e)).page&&(d=b.b,b.b=pa(b),b.b!=d&&qa(b))}};
22
- function pa(a){a=w(a.c.get("page")||a.c.get("location"));return a.pathname+a.search}U.prototype.remove=function(){this.j.i();window.removeEventListener("scroll",this.f);var a=this.h;C(D(this.c,"set"),a)};H("maxScrollTracker",U);
23
- function V(a,b){var c=this;T(a,R.w);window.addEventListener&&(this.a=F({events:["click"],linkSelector:"a, area",shouldTrackOutboundLink:this.shouldTrackOutboundLink,fieldsObj:{},attributePrefix:"ga-"},b),this.f=a,this.c=this.c.bind(this),this.b={},this.a.events.forEach(function(a){c.b[a]=ha(a,c.a.linkSelector,c.c)}))}
24
- V.prototype.c=function(a,b){if(this.a.shouldTrackOutboundLink(b,w)){var c=b.getAttribute("href")||b.getAttribute("xlink:href"),d=w(c),e={transport:"beacon",eventCategory:"Outbound Link",eventAction:a.type,eventLabel:d.href};navigator.sendBeacon||"click"!=a.type||"_blank"==b.target||a.metaKey||a.ctrlKey||a.shiftKey||a.altKey||1<a.which||window.addEventListener("click",function(a){a.defaultPrevented||(a.preventDefault(),e.hitCallback=na(function(){location.href=c}))});a=F({},this.a.fieldsObj,ka(b,this.a.attributePrefix));
25
- this.f.send("event",E(e,a,this.f,this.a.hitFilter,b))}};V.prototype.shouldTrackOutboundLink=function(a,b){a=a.getAttribute("href")||a.getAttribute("xlink:href");b=b(a);return b.hostname!=location.hostname&&"http"==b.protocol.slice(0,4)};V.prototype.remove=function(){var a=this;Object.keys(this.b).forEach(function(b){a.b[b].i()})};H("outboundLinkTracker",V);
26
- function W(a,b){T(a,R.B);history.pushState&&window.addEventListener&&(this.a=F({shouldTrackUrlChange:this.shouldTrackUrlChange,trackReplaceState:!1,fieldsObj:{},hitFilter:null},b),this.g=a,this.h=location.pathname+location.search,this.c=this.c.bind(this),this.f=this.f.bind(this),this.b=this.b.bind(this),a=this.c,z(D(history,"pushState"),a),a=this.f,z(D(history,"replaceState"),a),window.addEventListener("popstate",this.b))}
27
- W.prototype.c=function(a){var b=this;return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];a.apply(null,[].concat(m(d)));X(b,!0)}};W.prototype.f=function(a){var b=this;return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];a.apply(null,[].concat(m(d)));X(b,!1)}};W.prototype.b=function(){X(this,!0)};
28
- function X(a,b){setTimeout(function(){var c=a.h,d=location.pathname+location.search;c!=d&&a.a.shouldTrackUrlChange.call(a,d,c)&&(a.h=d,a.g.set({page:d,title:document.title}),(b||a.a.trackReplaceState)&&a.g.send("pageview",E({transport:"beacon"},a.a.fieldsObj,a.g,a.a.hitFilter)))},0)}W.prototype.shouldTrackUrlChange=function(a,b){return!(!a||!b)};W.prototype.remove=function(){var a=this.c;C(D(history,"pushState"),a);a=this.f;C(D(history,"replaceState"),a);window.removeEventListener("popstate",this.b)};
29
- H("urlChangeTracker",W);var Y=function ra(b){return b?(b^16*Math.random()>>b/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,ra)}();
30
- function Z(a,b){T(a,R.A);if(window.addEventListener){this.a=F({sessionTimeout:Q,fieldsObj:{}},b);this.f=a;this.j=null;this.g=this.g.bind(this);this.b=this.b.bind(this);this.h=this.h.bind(this);this.o=this.o.bind(this);this.c=M(a.get("trackingId"),"plugins/page-visibility-tracker");b=this.o;var c=this.c;(c.a.externalSet=c.a.externalSet||[]).push(b);this.m=new P(a,this.a.sessionTimeout,this.a.timeZone);b=this.g;z(D(a,"set"),b);document.addEventListener("visibilitychange",this.b);window.addEventListener("unload",
31
- this.h);"visible"==document.visibilityState&&this.b()}}
32
- Z.prototype.b=function(){var a=this.c.get();"visible"==this.j&&"hidden"==a.state&&a.pageId!=Y&&(a.state="visible",a.pageId=Y,this.c.set(a));var b={time:+new Date,state:document.visibilityState,pageId:Y};this.m.isExpired()?"hidden"==document.visibilityState?window.localStorage&&window.localStorage.removeItem(this.c.key):(this.f.send("pageview",E({transport:"beacon"},this.a.fieldsObj,this.f,this.a.hitFilter)),this.c.set(b)):(a.pageId==Y&&"visible"==a.state&&sa(this,a),this.c.set(b));this.j=document.visibilityState};
33
- function sa(a,b,c){var d={transport:"beacon",nonInteraction:!0,eventCategory:"Page Visibility",eventAction:"track",eventLabel:"(not set)"};c&&(d.K=+new Date-c);var e=c,e=void 0===e?+new Date:e;c=!a.m.isExpired();b=b.time&&Math.round((e-b.time)/1E3);if(b=c&&0<b?b:0)d.eventValue=b,a.a.visibleMetricIndex&&(d["metric"+a.a.visibleMetricIndex]=b);a.f.send("event",E(d,a.a.fieldsObj,a.f,a.a.hitFilter))}
34
- Z.prototype.g=function(a){var b=this;return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];e={};e=G(d[0])?d[0]:(e[d[0]]=d[1],e);e.page&&e.page!==b.f.get("page")&&"visible"==b.j&&b.b();a.apply(null,[].concat(m(d)))}};Z.prototype.o=function(a,b){a.time!=b.time&&b.pageId==Y&&"visible"==b.state&&sa(this,b,a.time)};Z.prototype.h=function(){"hidden"!=this.j&&this.b()};
35
- Z.prototype.remove=function(){this.m.i();var a=this.g;C(D(this.f,"set"),a);window.removeEventListener("unload",this.h);document.removeEventListener("visibilitychange",this.b)};H("pageVisibilityTracker",Z);})();
36
- //# sourceMappingURL=autotrack.js.map
@@ -1,12 +0,0 @@
1
- if (process.env.NODE_ENV === 'production') {
2
- window.addEventListener('load', () => {
3
- ga('create', 'UA-96955238-1', 'auto')
4
-
5
- ga('require', 'maxScrollTracker')
6
- ga('require', 'outboundLinkTracker')
7
- ga('require', 'urlChangeTracker')
8
- ga('require', 'pageVisibilityTracker')
9
-
10
- ga('send', 'pageview')
11
- })
12
- }