UNPKG

generator-minxing

Version:
2 lines 62.8 kB
/*Fri Nov 06 2015 16:37:47 GMT+0800 (CST)*/!function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return o(n?n:e)},c,c.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(e,t,n){(function(t,n,r,o,i,s,a,u,f){"use strict";function c(){console.log("notification is shown!")}function l(){console.log("notification is closed!")}function d(){console.log("notification was clicked!")}function h(){console.error("Error showing notification. You may need to request permission.")}function p(){console.log("Permission has been granted by the user"),m("你要捏代码已经复制到剪贴板,粘去吧 ^_^")}function g(){console.warn("Permission has been denied by the user")}function m(e){var t=new y("嗨,骚年!",{body:e,tag:"amazeUI",icon:"/i/app-icon72x72@2x.png",notifyShow:c,notifyClose:l,notifyClick:d,notifyError:h,timeout:3});t.show()}e("console-polyfill");var b=e("clipboard"),w=e("store"),y=e("notifyjs"),v=e("blueimp-md5"),_=e("detector"),E=window.Handlebars,x=window,A=window.jQuery||window.Zepto,k=_.browser,I=k.ie,C=I&&k.version<10,T=A("body"),S=A("html"),B=function(){x.duoshuoQuery={short_name:"amui"};var e=A("<script></script>",{charset:"utf-8",src:("https:"===document.location.protocol?"https:":"http:")+"//static.duoshuo.com/embed.js"});T.append(e)};A(window).on("load",function(){A(".ds-thread").length&&B()});var O={};O.auth=function(){var e=A(".auth"),t=e.find("#username"),n=e.find("#user-avatar");t.on("blur",function(){var e=v(A(this).val());n.attr("src","http://www.gravatar.com/avatar/"+e+"?d=mm&s=144")})},O.externalLink=function(){var e=A(".doc-content"),t=e.find('a[href^="http://"], a[href^="https://"]').not(".doc-example a");t.addClass("external-link").attr("target","_blank")},O.checkLogin=function(){var e=w&&w.enabled,t=A("#amz-header"),n=t.find(".nav-profile.need-check"),r=n.find("img"),o="_amui_login_status",i=(new Date).getTime();if(e){var s=w.get(o);if(s){if(x.location.search.indexOf("logout")>-1)return w.remove(o),void n.hide();if(i-s.lastCheck<36e5)return r.attr("src",s.avatar),void n.show().addClass("am-animation-fade");w.remove(o)}}A.getJSON("/api/user",function(t){t.loggedIn?(n.show(),r.attr("src",t.avatar),t.lastCheck=(new Date).getTime(),e&&w.set(o,t)):n.hide()})},O.zeroClip=function(){var e='<div class="doc-actions"><div class="doc-act-inner"><span class="doc-act-clip am-icon-copy"> Copy</span></div></div>',t='<div class="doc-actions"><div class="doc-act-inner"><span class="doc-act-newwin am-icon-file-code-o"> New Win</span><span class="doc-act-clip am-icon-copy"> Copy</span></div></div>';A(".doc-code").each(function(){var n=A(this),r=n.prev();r.hasClass("doc-example")?r.attr("data-url")?r.before(t):r.before(e):n.before(e)}),A(".doc-act-newwin").on("click",function(e){var t=A(this).parent().parent(".doc-actions").next(".doc-example");t.length&&t.attr("data-url")&&window.open(t.attr("data-url")+"?_ver="+A(document.body).data("amui"),"","width=320px, height=480px, centerscreen=yes")});var n=new b(".doc-act-clip",{text:function(e){var t=A(e).parent().parent().next(),n=t.is(".doc-code")?t:t.next(".doc-code"),r=n.text();return r.indexOf("data-am-slider")>-1&&(r=r.replace(/&quot;/g,'"')),r}});n.on("success",function(e){y.needsPermission?y.requestPermission(p,g):m("你要捏代码已经复制到剪贴板,粘去吧 ^_^"),console&&console.info("Copied text to clipboard: "+e.text),e.clearSelection()}),n.on("error",function(e){y.needsPermission?y.requestPermission(p,g):m("拷贝失败,手动选中再拷贝吧 :-(\n"),console.error("Action:",e.action),console.error("Trigger:",e.trigger)})},O.toolbar=function(){function e(){n.scrollTop()>10?o.addClass("am-active"):o.removeClass("am-active")}function t(){n.width()>1110?r.css({right:(n.width()-1110)/2}):r.css({right:"10px"})}var n=A(x),r=A("#amz-toolbar"),o=r.find("#amz-go-top");o.length&&(o.on("click",function(e){return e.preventDefault(),C?(A("html, body").animate({scrollTop:0},500),!1):void A(x).smoothScroll(0)}),e(),t(),n.on("scroll",A.AMUI.utils.debounce(e,100)),n.on("resize",A.AMUI.utils.debounce(t,100)))},O.standaloneMode=function(){window.navigator.standalone&&A(document).on("click","a",function(e){var t=A(this).attr("href");t&&(t.indexOf("http")||~t.indexOf(location.host))&&(e.preventDefault(),location.href=t)})},O.pageChange=function(){var e=A.AMUI.support.animation,t=A("body");e&&(A(document).on("click","a",function(n){var r=A(this).attr("href");r&&(r.indexOf("http")||~r.indexOf(location.host))&&(n.preventDefault(),t.addClass("doc-slide-out"),t.one(e.end,function(){location.href=r}))}),t.addClass("doc-slide-in"),t.one(e.end,function(){t.removeClass("doc-slide-in")}))},O.getIssues=function(){if("en"===A(document.body).attr("data-lang"))return!1;var e="https://api.github.com/repos/amazeui/amazeui/issues?state=all&labels=",t=[],n=A("#amz-main"),r=n.data("tag"),o=n.find("#issue-list-tpl"),i=n.find("#issue-list"),s=o.text()||"",a=E&&E.compile(s);t.push("v"+A(document.body).data("amui")),t.push(r),r&&a&&A.getJSON(e+t.join(","),function(e){e&&e.length&&i.html(a(e))})},O.sticky=function(){function e(){var e=A(".amz-footer"),t=e[A.fn.outerHeight?"outerHeight":"height"](),n=A(x).height()-20-t;o.hasClass("am-sticky")?(a.css({"max-height":n}),o.css({"max-height":n})):(a.css({"max-height":""}),o.css({"max-height":""})),n>a.height()?i.removeClass("am-active"):i.addClass("am-active"),i.css({top:a.height()/2})}function t(){var e="am-disabled";0===a.scrollTop()?s.eq(0).addClass(e):s.eq(0).removeClass(e)}function n(e,t){e=e||"up",t=t||100;var n=("up"===e?-t:t)+a.scrollTop();a.scrollTop(n)}var r=navigator.userAgent.toLowerCase();if(!(/msie/.test(r)&&parseFloat((r.match(/.*(?:rv|ie)[\/: ](.+?)([ \);]|$)/)||[])[1])<10)){var o=A("#amz-offcanvas"),i=o.find(".amz-pager"),s=i.find("a"),a=o.find(".amz-sidebar");o.sticky({top:10,bottom:function(){return A(".amz-footer").height()+25},media:641}),e(),setTimeout(e,119),A(x).on("scroll resize",A.AMUI.utils.debounce(e,10)),i.on("click","a",function(e){if(e.preventDefault(),!A(this).hasClass("am-disabled")){var t=A(this).data("rel"),n=a.scrollTop(),r=200;"scrollUp"===t?a.smoothScroll({position:n-r}):a.smoothScroll({position:n+r})}}),a.on("scroll",A.AMUI.utils.debounce(t,50)),a.on("mousewheel",function(e){e.preventDefault();var t=e.originalEvent||e,r=t.wheelDelta<0?"down":"up";n(r)}).on("DOMMouseScroll",function(e){e.preventDefault();var t=e.originalEvent||e;n(t.detail>0?"down":"up")})}},O.docToc=function(){var e=A(".doc-toc-bd > .md-toc"),t=e.find(">li").has(">ul");t.addClass("am-parent"),t.on("mouseenter",function(){var e=A(this).children("ul");e.collapse("open"),A(this).addClass("am-open")}),e.find("a").on("click",function(e){e.preventDefault();var t=decodeURIComponent(A(this).attr("href")),n=A(t);n.length&&A(x).smoothScroll({position:n.offset().top})})},O.cse=function(){var e,t=A("#amz-header").find(".amz-cse"),n=t.find('[name="q"]');n.on("focus",function(){t.addClass("am-active"),clearTimeout(e)}).on("blur",function(){e=setTimeout(function(){t.removeClass("am-active")},1e3)})},O.init=function(){this.auth(),this.externalLink(),this.zeroClip(),this.toolbar(),this.standaloneMode(),this.getIssues(),this.docToc(),this.sticky(),this.cse()},A(function(){var e=A("#amz-main").find(".doc-content"),t=e.find(".doc-toc");if(t.next().is("h1")&&e.find("hr").first().after(t),I&&k.version<9)return!1;O.init(),A(".amz-social [data-am-modal]").on("click",function(e){e.preventDefault()});var n=/(iPad|iPhone|iPod)/g.test(navigator.userAgent);n&&S.addClass("ios"),A(".new-issue").each(function(){this.href+=encodeURIComponent("```\n"+navigator.userAgent+"\n```\n")})})}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/assets/js/main.js","/assets/js")},{_process:7,"blueimp-md5":2,buffer:3,clipboard:9,"console-polyfill":17,detector:18,notifyjs:19,store:20}],2:[function(e,t,n){(function(e,t,n,r,o,i,s,a,u){!function(e){"use strict";function t(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function n(e,t){return e<<t|e>>>32-t}function r(e,r,o,i,s,a){return t(n(t(t(r,e),t(i,a)),s),o)}function o(e,t,n,o,i,s,a){return r(t&n|~t&o,e,t,i,s,a)}function i(e,t,n,o,i,s,a){return r(t&o|n&~o,e,t,i,s,a)}function s(e,t,n,o,i,s,a){return r(t^n^o,e,t,i,s,a)}function a(e,t,n,o,i,s,a){return r(n^(t|~o),e,t,i,s,a)}function u(e,n){e[n>>5]|=128<<n%32,e[(n+64>>>9<<4)+14]=n;var r,u,f,c,l,d=1732584193,h=-271733879,p=-1732584194,g=271733878;for(r=0;r<e.length;r+=16)u=d,f=h,c=p,l=g,d=o(d,h,p,g,e[r],7,-680876936),g=o(g,d,h,p,e[r+1],12,-389564586),p=o(p,g,d,h,e[r+2],17,606105819),h=o(h,p,g,d,e[r+3],22,-1044525330),d=o(d,h,p,g,e[r+4],7,-176418897),g=o(g,d,h,p,e[r+5],12,1200080426),p=o(p,g,d,h,e[r+6],17,-1473231341),h=o(h,p,g,d,e[r+7],22,-45705983),d=o(d,h,p,g,e[r+8],7,1770035416),g=o(g,d,h,p,e[r+9],12,-1958414417),p=o(p,g,d,h,e[r+10],17,-42063),h=o(h,p,g,d,e[r+11],22,-1990404162),d=o(d,h,p,g,e[r+12],7,1804603682),g=o(g,d,h,p,e[r+13],12,-40341101),p=o(p,g,d,h,e[r+14],17,-1502002290),h=o(h,p,g,d,e[r+15],22,1236535329),d=i(d,h,p,g,e[r+1],5,-165796510),g=i(g,d,h,p,e[r+6],9,-1069501632),p=i(p,g,d,h,e[r+11],14,643717713),h=i(h,p,g,d,e[r],20,-373897302),d=i(d,h,p,g,e[r+5],5,-701558691),g=i(g,d,h,p,e[r+10],9,38016083),p=i(p,g,d,h,e[r+15],14,-660478335),h=i(h,p,g,d,e[r+4],20,-405537848),d=i(d,h,p,g,e[r+9],5,568446438),g=i(g,d,h,p,e[r+14],9,-1019803690),p=i(p,g,d,h,e[r+3],14,-187363961),h=i(h,p,g,d,e[r+8],20,1163531501),d=i(d,h,p,g,e[r+13],5,-1444681467),g=i(g,d,h,p,e[r+2],9,-51403784),p=i(p,g,d,h,e[r+7],14,1735328473),h=i(h,p,g,d,e[r+12],20,-1926607734),d=s(d,h,p,g,e[r+5],4,-378558),g=s(g,d,h,p,e[r+8],11,-2022574463),p=s(p,g,d,h,e[r+11],16,1839030562),h=s(h,p,g,d,e[r+14],23,-35309556),d=s(d,h,p,g,e[r+1],4,-1530992060),g=s(g,d,h,p,e[r+4],11,1272893353),p=s(p,g,d,h,e[r+7],16,-155497632),h=s(h,p,g,d,e[r+10],23,-1094730640),d=s(d,h,p,g,e[r+13],4,681279174),g=s(g,d,h,p,e[r],11,-358537222),p=s(p,g,d,h,e[r+3],16,-722521979),h=s(h,p,g,d,e[r+6],23,76029189),d=s(d,h,p,g,e[r+9],4,-640364487),g=s(g,d,h,p,e[r+12],11,-421815835),p=s(p,g,d,h,e[r+15],16,530742520),h=s(h,p,g,d,e[r+2],23,-995338651),d=a(d,h,p,g,e[r],6,-198630844),g=a(g,d,h,p,e[r+7],10,1126891415),p=a(p,g,d,h,e[r+14],15,-1416354905),h=a(h,p,g,d,e[r+5],21,-57434055),d=a(d,h,p,g,e[r+12],6,1700485571),g=a(g,d,h,p,e[r+3],10,-1894986606),p=a(p,g,d,h,e[r+10],15,-1051523),h=a(h,p,g,d,e[r+1],21,-2054922799),d=a(d,h,p,g,e[r+8],6,1873313359),g=a(g,d,h,p,e[r+15],10,-30611744),p=a(p,g,d,h,e[r+6],15,-1560198380),h=a(h,p,g,d,e[r+13],21,1309151649),d=a(d,h,p,g,e[r+4],6,-145523070),g=a(g,d,h,p,e[r+11],10,-1120210379),p=a(p,g,d,h,e[r+2],15,718787259),h=a(h,p,g,d,e[r+9],21,-343485551),d=t(d,u),h=t(h,f),p=t(p,c),g=t(g,l);return[d,h,p,g]}function f(e){var t,n="";for(t=0;t<32*e.length;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function c(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;for(t=0;t<8*e.length;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function l(e){return f(u(c(e),8*e.length))}function d(e,t){var n,r,o=c(e),i=[],s=[];for(i[15]=s[15]=void 0,o.length>16&&(o=u(o,8*e.length)),n=0;16>n;n+=1)i[n]=909522486^o[n],s[n]=1549556828^o[n];return r=u(i.concat(c(t)),512+8*t.length),f(u(s.concat(r),640))}function h(e){var t,n,r="0123456789abcdef",o="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),o+=r.charAt(t>>>4&15)+r.charAt(15&t);return o}function p(e){return unescape(encodeURIComponent(e))}function g(e){return l(p(e))}function m(e){return h(g(e))}function b(e,t){return d(p(e),p(t))}function w(e,t){return h(b(e,t))}function y(e,t,n){return t?n?b(t,e):w(t,e):n?g(e):m(e)}"function"==typeof define&&define.amd?define(function(){return y}):e.md5=y}(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/blueimp-md5/js/md5.js","/node_modules/blueimp-md5/js")},{_process:7,buffer:3}],3:[function(e,t,n){(function(t,r,o,i,s,a,u,f,c){function l(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(n){return!1}}function d(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e){return this instanceof o?(this.length=0,this.parent=void 0,"number"==typeof e?h(this,e):"string"==typeof e?p(this,e,arguments.length>1?arguments[1]:"utf8"):g(this,e)):arguments.length>1?new o(e,arguments[1]):new o(e)}function h(e,t){if(e=E(e,0>t?0:0|x(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;n++)e[n]=0;return e}function p(e,t,n){("string"!=typeof n||""===n)&&(n="utf8");var r=0|k(t,n);return e=E(e,r),e.write(t,n),e}function g(e,t){if(o.isBuffer(t))return m(e,t);if(re(t))return b(e,t);if(null==t)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(t.buffer instanceof ArrayBuffer)return w(e,t);if(t instanceof ArrayBuffer)return y(e,t)}return t.length?v(e,t):_(e,t)}function m(e,t){var n=0|x(t.length);return e=E(e,n),t.copy(e,0,0,n),e}function b(e,t){var n=0|x(t.length);e=E(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function w(e,t){var n=0|x(t.length);e=E(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function y(e,t){return o.TYPED_ARRAY_SUPPORT?(t.byteLength,e=o._augment(new Uint8Array(t))):e=w(e,new Uint8Array(t)),e}function v(e,t){var n=0|x(t.length);e=E(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function _(e,t){var n,r=0;"Buffer"===t.type&&re(t.data)&&(n=t.data,r=0|x(n.length)),e=E(e,r);for(var o=0;r>o;o+=1)e[o]=255&n[o];return e}function E(e,t){o.TYPED_ARRAY_SUPPORT?(e=o._augment(new Uint8Array(t)),e.__proto__=o.prototype):(e.length=t,e._isBuffer=!0);var n=0!==t&&t<=o.poolSize>>>1;return n&&(e.parent=oe),e}function x(e){if(e>=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return 0|e}function A(e,t){if(!(this instanceof A))return new A(e,t);var n=new o(e,t);return delete n.parent,n}function k(e,t){"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(r)return Q(e).length;t=(""+t).toLowerCase(),r=!0}}function I(e,t,n){var r=!1;if(t=0|t,n=void 0===n||n===1/0?this.length:0|n,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return U(this,t,n);case"ascii":return z(this,t,n);case"binary":return M(this,t,n);case"base64":return R(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function C(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var i=t.length;if(i%2!==0)throw new Error("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;r>s;s++){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))throw new Error("Invalid hex string");e[n+s]=a}return s}function T(e,t,n,r){return ee(Q(t,e.length-n),e,n,r)}function S(e,t,n,r){return ee(W(t),e,n,r)}function B(e,t,n,r){return S(e,t,n,r)}function O(e,t,n,r){return ee(K(t),e,n,r)}function L(e,t,n,r){return ee(Z(t,e.length-n),e,n,r)}function R(e,t,n){return 0===t&&n===e.length?te.fromByteArray(e):te.fromByteArray(e.slice(t,n))}function U(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;n>o;){var i=e[o],s=null,a=i>239?4:i>223?3:i>191?2:1;if(n>=o+a){var u,f,c,l;switch(a){case 1:128>i&&(s=i);break;case 2:u=e[o+1],128===(192&u)&&(l=(31&i)<<6|63&u,l>127&&(s=l));break;case 3:u=e[o+1],f=e[o+2],128===(192&u)&&128===(192&f)&&(l=(15&i)<<12|(63&u)<<6|63&f,l>2047&&(55296>l||l>57343)&&(s=l));break;case 4:u=e[o+1],f=e[o+2],c=e[o+3],128===(192&u)&&128===(192&f)&&128===(192&c)&&(l=(15&i)<<18|(63&u)<<12|(63&f)<<6|63&c,l>65535&&1114112>l&&(s=l))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),o+=a}return P(r)}function P(e){var t=e.length;if(ie>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ie));return n}function z(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(127&e[o]);return r}function M(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(e[o]);return r}function j(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var o="",i=t;n>i;i++)o+=$(e[i]);return o}function N(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function D(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Y(e,t,n,r,i,s){if(!o.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>i||s>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range")}function F(e,t,n,r){0>t&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);i>o;o++)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function q(e,t,n,r){0>t&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);i>o;o++)e[n+o]=t>>>8*(r?o:3-o)&255}function V(e,t,n,r,o,i){if(t>o||i>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function H(e,t,n,r,o){return o||V(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),ne.write(e,t,n,r,23,4),n+4}function J(e,t,n,r,o){return o||V(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),ne.write(e,t,n,r,52,8),n+8}function G(e){if(e=X(e).replace(ae,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function X(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function $(e){return 16>e?"0"+e.toString(16):e.toString(16)}function Q(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],s=0;r>s;s++){if(n=e.charCodeAt(s),n>55295&&57344>n){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(56320>n){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=o-55296<<10|n-56320|65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,128>n){if((t-=1)<0)break;i.push(n)}else if(2048>n){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function W(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}function Z(e,t){for(var n,r,o,i=[],s=0;s<e.length&&!((t-=2)<0);s++)n=e.charCodeAt(s),r=n>>8,o=n%256,i.push(o),i.push(r);return i}function K(e){return te.toByteArray(G(e))}function ee(e,t,n,r){for(var o=0;r>o&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}var te=e("base64-js"),ne=e("ieee754"),re=e("is-array");n.Buffer=o,n.SlowBuffer=A,n.INSPECT_MAX_BYTES=50,o.poolSize=8192;var oe={};o.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:l(),o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array),o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);s>i&&e[i]===t[i];)++i;return i!==s&&(n=e[i],r=t[i]),r>n?-1:n>r?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!re(e))throw new TypeError("list argument must be an Array of Buffers.");if(0===e.length)return new o(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;n++)t+=e[n].length;var r=new o(t),i=0;for(n=0;n<e.length;n++){var s=e[n];s.copy(r,i),i+=s.length}return r},o.byteLength=k,o.prototype.length=void 0,o.prototype.parent=void 0,o.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?U(this,0,e):I.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},o.prototype.compare=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?0:o.compare(this,e)},o.prototype.indexOf=function(e,t){function n(e,t,n){for(var r=-1,o=0;n+o<e.length;o++)if(e[n+o]===t[-1===r?0:o-r]){if(-1===r&&(r=o),o-r+1===t.length)return n+r}else r=-1;return-1}if(t>2147483647?t=2147483647:-2147483648>t&&(t=-2147483648),t>>=0,0===this.length)return-1;if(t>=this.length)return-1;if(0>t&&(t=Math.max(this.length+t,0)),"string"==typeof e)return 0===e.length?-1:String.prototype.indexOf.call(this,e,t);if(o.isBuffer(e))return n(this,e,t);if("number"==typeof e)return o.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,t):n(this,[e],t);throw new TypeError("val must be string, number or Buffer")},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var o=r;r=t,t=0|n,n=o}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return C(this,e,t,n);case"utf8":case"utf-8":return T(this,e,t,n);case"ascii":return S(this,e,t,n);case"binary":return B(this,e,t,n);case"base64":return O(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ie=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,0>e?(e+=n,0>e&&(e=0)):e>n&&(e=n),0>t?(t+=n,0>t&&(t=0)):t>n&&(t=n),e>t&&(t=e);var r;if(o.TYPED_ARRAY_SUPPORT)r=o._augment(this.subarray(e,t));else{var i=t-e;r=new o(i,void 0);for(var s=0;i>s;s++)r[s]=this[s+e]}return r.length&&(r.parent=this.parent||this),r},o.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||D(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},o.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||D(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},o.prototype.readUInt8=function(e,t){return t||D(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||D(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||D(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||D(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||D(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},o.prototype.readInt8=function(e,t){return t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||D(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||D(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||D(e,4,this.length),ne.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||D(e,4,this.length),ne.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||D(e,8,this.length),ne.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||D(e,8,this.length),ne.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||Y(this,e,t,n,Math.pow(2,8*n),0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||Y(this,e,t,n,Math.pow(2,8*n),0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):q(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):q(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var o=Math.pow(2,8*n-1);Y(this,e,t,n,o-1,-o)}var i=0,s=1,a=0>e?1:0;for(this[t]=255&e;++i<n&&(s*=256);)this[t+i]=(e/s>>0)-a&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var o=Math.pow(2,8*n-1);Y(this,e,t,n,o-1,-o)}var i=n-1,s=1,a=0>e?1:0;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=(e/s>>0)-a&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):q(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):q(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return H(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return H(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return J(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return J(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,s=r-n;if(this===e&&t>n&&r>t)for(i=s-1;i>=0;i--)e[i+t]=this[i+n];else if(1e3>s||!o.TYPED_ARRAY_SUPPORT)for(i=0;s>i;i++)e[i+t]=this[i+n];else e._set(this.subarray(n,n+s),t);return s},o.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new RangeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>n||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var o=Q(e.toString()),i=o.length;for(r=t;n>r;r++)this[r]=o[r%i]}return this}},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o.TYPED_ARRAY_SUPPORT)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var se=o.prototype;o._augment=function(e){return e.constructor=o,e._isBuffer=!0,e._set=e.set,e.get=se.get,e.set=se.set,e.write=se.write,e.toString=se.toString,e.toLocaleString=se.toString,e.toJSON=se.toJSON,e.equals=se.equals,e.compare=se.compare,e.indexOf=se.indexOf,e.copy=se.copy,e.slice=se.slice,e.readUIntLE=se.readUIntLE,e.readUIntBE=se.readUIntBE,e.readUInt8=se.readUInt8,e.readUInt16LE=se.readUInt16LE,e.readUInt16BE=se.readUInt16BE,e.readUInt32LE=se.readUInt32LE,e.readUInt32BE=se.readUInt32BE,e.readIntLE=se.readIntLE,e.readIntBE=se.readIntBE,e.readInt8=se.readInt8,e.readInt16LE=se.readInt16LE,e.readInt16BE=se.readInt16BE,e.readInt32LE=se.readInt32LE,e.readInt32BE=se.readInt32BE,e.readFloatLE=se.readFloatLE,e.readFloatBE=se.readFloatBE,e.readDoubleLE=se.readDoubleLE,e.readDoubleBE=se.readDoubleBE,e.writeUInt8=se.writeUInt8,e.writeUIntLE=se.writeUIntLE,e.writeUIntBE=se.writeUIntBE,e.writeUInt16LE=se.writeUInt16LE,e.writeUInt16BE=se.writeUInt16BE,e.writeUInt32LE=se.writeUInt32LE,e.writeUInt32BE=se.writeUInt32BE,e.writeIntLE=se.writeIntLE,e.writeIntBE=se.writeIntBE,e.writeInt8=se.writeInt8,e.writeInt16LE=se.writeInt16LE,e.writeInt16BE=se.writeInt16BE,e.writeInt32LE=se.writeInt32LE,e.writeInt32BE=se.writeInt32BE,e.writeFloatLE=se.writeFloatLE,e.writeFloatBE=se.writeFloatBE,e.writeDoubleLE=se.writeDoubleLE,e.writeDoubleBE=se.writeDoubleBE,e.fill=se.fill,e.inspect=se.inspect,e.toArrayBuffer=se.toArrayBuffer,e};var ae=/[^+\/0-9A-Za-z-_]/g}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/browserify/node_modules/buffer/index.js","/node_modules/browserify/node_modules/buffer")},{_process:7,"base64-js":4,buffer:3,ieee754:5,"is-array":6}],4:[function(e,t,n){(function(e,t,r,o,i,s,a,u,f){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===i||t===l?62:t===s||t===d?63:a>t?-1:a+10>t?t-a+26+26:f+26>t?t-f:u+26>t?t-u+26:void 0}function n(e){function n(e){f[l++]=e}var r,i,s,a,u,f;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;u="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,f=new o(3*e.length/4-u),s=u>0?e.length-4:e.length;var l=0;for(r=0,i=0;s>r;r+=4,i+=3)a=t(e.charAt(r))<<18|t(e.charAt(r+1))<<12|t(e.charAt(r+2))<<6|t(e.charAt(r+3)),n((16711680&a)>>16),n((65280&a)>>8),n(255&a);return 2===u?(a=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,n(255&a)):1===u&&(a=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2, n(a>>8&255),n(255&a)),f}function r(e){function t(e){return c.charAt(e)}function n(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var r,o,i,s=e.length%3,a="";for(r=0,i=e.length-s;i>r;r+=3)o=(e[r]<<16)+(e[r+1]<<8)+e[r+2],a+=n(o);switch(s){case 1:o=e[e.length-1],a+=t(o>>2),a+=t(o<<4&63),a+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],a+=t(o>>10),a+=t(o>>4&63),a+=t(o<<2&63),a+="="}return a}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="+".charCodeAt(0),s="/".charCodeAt(0),a="0".charCodeAt(0),u="a".charCodeAt(0),f="A".charCodeAt(0),l="-".charCodeAt(0),d="_".charCodeAt(0);e.toByteArray=n,e.fromByteArray=r}("undefined"==typeof n?this.base64js={}:n)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js","/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib")},{_process:7,buffer:3}],5:[function(e,t,n){(function(e,t,r,o,i,s,a,u,f){n.read=function(e,t,n,r,o){var i,s,a=8*o-r-1,u=(1<<a)-1,f=u>>1,c=-7,l=n?o-1:0,d=n?-1:1,h=e[t+l];for(l+=d,i=h&(1<<-c)-1,h>>=-c,c+=a;c>0;i=256*i+e[t+l],l+=d,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=r;c>0;s=256*s+e[t+l],l+=d,c-=8);if(0===i)i=1-f;else{if(i===u)return s?NaN:(h?-1:1)*(1/0);s+=Math.pow(2,r),i-=f}return(h?-1:1)*s*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var s,a,u,f=8*i-o-1,c=(1<<f)-1,l=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+l>=1?d/u:d*Math.pow(2,1-l),t*u>=2&&(s++,u/=2),s+l>=c?(a=0,s=c):s+l>=1?(a=(t*u-1)*Math.pow(2,o),s+=l):(a=t*Math.pow(2,l-1)*Math.pow(2,o),s=0));o>=8;e[n+h]=255&a,h+=p,a/=256,o-=8);for(s=s<<o|a,f+=o;f>0;e[n+h]=255&s,h+=p,s/=256,f-=8);e[n+h-p]|=128*g}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js","/node_modules/browserify/node_modules/buffer/node_modules/ieee754")},{_process:7,buffer:3}],6:[function(e,t,n){(function(e,n,r,o,i,s,a,u,f){var c=Array.isArray,l=Object.prototype.toString;t.exports=c||function(e){return!!e&&"[object Array]"==l.call(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/browserify/node_modules/buffer/node_modules/is-array/index.js","/node_modules/browserify/node_modules/buffer/node_modules/is-array")},{_process:7,buffer:3}],7:[function(e,t,n){(function(e,n,r,o,i,s,a,u,f){function c(){m=!1,p.length?g=p.concat(g):b=-1,g.length&&l()}function l(){if(!m){var e=setTimeout(c);m=!0;for(var t=g.length;t;){for(p=g,g=[];++b<t;)p&&p[b].run();b=-1,t=g.length}p=null,m=!1,clearTimeout(e)}}function d(e,t){this.fun=e,this.array=t}function h(){}var p,e=t.exports={},g=[],m=!1,b=-1;e.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];g.push(new d(e,t)),1!==g.length||m||setTimeout(l,0)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=h,e.addListener=h,e.once=h,e.off=h,e.removeListener=h,e.removeAllListeners=h,e.emit=h,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/browserify/node_modules/process/browser.js","/node_modules/browserify/node_modules/process")},{_process:7,buffer:3}],8:[function(e,t,n){(function(r,o,i,s,a,u,f,c,l){"use strict";function d(e){return e&&e.__esModule?e:{"default":e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),g=e("select"),m=d(g),b=function(){function e(t){h(this,e),this.resolveOptions(t),this.initSelection()}return e.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""},e.prototype.initSelection=function(){if(this.text&&this.target)throw new Error('Multiple attributes declared, use either "target" or "text"');if(this.text)this.selectFake();else{if(!this.target)throw new Error('Missing required attributes, use either "target" or "text"');this.selectTarget()}},e.prototype.selectFake=function(){var e=this;this.removeFake(),this.fakeHandler=document.body.addEventListener("click",function(){return e.removeFake()}),this.fakeElem=document.createElement("textarea"),this.fakeElem.style.position="absolute",this.fakeElem.style.left="-9999px",this.fakeElem.style.top=(window.pageYOffset||document.documentElement.scrollTop)+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=m["default"](this.fakeElem),this.copyText()},e.prototype.removeFake=function(){this.fakeHandler&&(document.body.removeEventListener("click"),this.fakeHandler=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)},e.prototype.selectTarget=function(){this.selectedText=m["default"](this.target),this.copyText()},e.prototype.copyText=function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)},e.prototype.handleResult=function(e){e?this.emitter.emit("success",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)}):this.emitter.emit("error",{action:this.action,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})},e.prototype.clearSelection=function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()},e.prototype.destroy=function(){this.removeFake()},p(e,[{key:"action",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"copy":arguments[0];if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!=typeof e||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');this._target=e}},get:function(){return this._target}}]),e}();n["default"]=b,t.exports=n["default"]}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/lib/clipboard-action.js","/node_modules/clipboard/lib")},{_process:7,buffer:3,select:15}],9:[function(e,t,n){(function(r,o,i,s,a,u,f,c,l){"use strict";function d(e){return e&&e.__esModule?e:{"default":e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function g(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}n.__esModule=!0;var m=e("./clipboard-action"),b=d(m),w=e("tiny-emitter"),y=d(w),v=e("good-listener"),_=d(v),E=function(e){function t(n,r){h(this,t),e.call(this),this.resolveOptions(r),this.listenClick(n)}return p(t,e),t.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText},t.prototype.listenClick=function(e){var t=this;this.listener=_["default"](e,"click",function(e){return t.onClick(e)})},t.prototype.onClick=function(e){this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new b["default"]({action:this.action(e.target),target:this.target(e.target),text:this.text(e.target),trigger:e.target,emitter:this})},t.prototype.defaultAction=function(e){return g("action",e)},t.prototype.defaultTarget=function(e){var t=g("target",e);return t?document.querySelector(t):void 0},t.prototype.defaultText=function(e){return g("text",e)},t.prototype.destroy=function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)},t}(y["default"]);n["default"]=E,t.exports=n["default"]}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/lib/clipboard.js","/node_modules/clipboard/lib")},{"./clipboard-action":8,_process:7,buffer:3,"good-listener":14,"tiny-emitter":16}],10:[function(e,t,n){(function(n,r,o,i,s,a,u,f,c){var l=e("matches-selector");t.exports=function(e,t,n){for(var r=n?e:e.parentNode;r&&r!==document;){if(l(r,t))return r;r=r.parentNode}}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/node_modules/good-listener/node_modules/delegate/node_modules/closest/index.js","/node_modules/clipboard/node_modules/good-listener/node_modules/delegate/node_modules/closest")},{_process:7,buffer:3,"matches-selector":11}],11:[function(e,t,n){(function(e,n,r,o,i,s,a,u,f){function c(e,t){if(d)return d.call(e,t);for(var n=e.parentNode.querySelectorAll(t),r=0;r<n.length;++r)if(n[r]==e)return!0;return!1}var l=Element.prototype,d=l.matchesSelector||l.webkitMatchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector;t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/node_modules/good-listener/node_modules/delegate/node_modules/closest/node_modules/matches-selector/index.js","/node_modules/clipboard/node_modules/good-listener/node_modules/delegate/node_modules/closest/node_modules/matches-selector")},{_process:7,buffer:3}],12:[function(e,t,n){(function(n,r,o,i,s,a,u,f,c){function l(e,t,n,r){var o=d.apply(this,arguments);return e.addEventListener(n,o),{destroy:function(){e.removeEventListener(n,o)}}}function d(e,t,n,r){return function(n){var o=h(n.target,t,!0);o&&(Object.defineProperty(n,"target",{value:o}),r.call(e,n))}}var h=e("closest");t.exports=l}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/node_modules/good-listener/node_modules/delegate/src/delegate.js","/node_modules/clipboard/node_modules/good-listener/node_modules/delegate/src")},{_process:7,buffer:3,closest:10}],13:[function(e,t,n){(function(e,t,r,o,i,s,a,u,f){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n["function"]=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/node_modules/good-listener/src/is.js","/node_modules/clipboard/node_modules/good-listener/src")},{_process:7,buffer:3}],14:[function(e,t,n){(function(n,r,o,i,s,a,u,f,c){function l(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!g.string(t))throw new TypeError("Second argument must be a String");if(!g["function"](n))throw new TypeError("Third argument must be a Function");if(g.node(e))return d(e,t,n);if(g.nodeList(e))return h(e,t,n);if(g.string(e))return p(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function h(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function p(e,t,n){return m(document.body,e,t,n)}var g=e("./is"),m=e("delegate");t.exports=l}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/node_modules/good-listener/src/listen.js","/node_modules/clipboard/node_modules/good-listener/src")},{"./is":13,_process:7,buffer:3,delegate:12}],15:[function(e,t,n){(function(e,n,r,o,i,s,a,u,f){function c(e){var t;if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.select(),t=e.value;else{var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/node_modules/select/src/select.js","/node_modules/clipboard/node_modules/select/src")},{_process:7,buffer:3}],16:[function(e,t,n){(function(e,n,r,o,i,s,a,u,f){function c(){}c.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){o.off(e,r),t.apply(n,arguments)}var o=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;for(r;o>r;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,s=r.length;s>i;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},t.exports=c}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/clipboard/node_modules/tiny-emitter/index.js","/node_modules/clipboard/node_modules/tiny-emitter")},{_process:7,buffer:3}],17:[function(e,t,n){(function(e,t,n,r,o,i,s,a,u){!function(e){"use strict";e.console=e.console||{};for(var t,n,r=e.console,o={},i=function(){},s="memory".split(","),a="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=s.pop();)r[t]||(r[t]=o);for(;n=a.pop();)r[n]||(r[n]=i)}("undefined"==typeof window?this:window)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/console-polyfill/index.js","/node_modules/console-polyfill")},{_process:7,buffer:3}],18:[function(e,t,n){(function(e,n,r,o,i,s,a,u,f){function c(e){return Object.prototype.toString.call(e)}function l(e){return"[object Object]"===c(e)}function d(e){return"[object Function]"===c(e)}function h(e,t){for(var n=0,r=e.length;r>n&&t.call(e,e[n],n)!==!1;n++);}function p(e){if(!E.test(e))return null;var t,n,r,o,i;if(-1!==e.indexOf("trident/")&&(t=/\btrident\/([0-9.]+)/.exec(e),t&&t.length>=2)){r=t[1];var s=t[1].split(".");s[0]=parseInt(s[0],10)+4,i=s.join(".")}t=E.exec(e),o=t[1];var a=t[1].split(".");return"undefined"==typeof i&&(i=o),a[0]=parseInt(a[0],10)-4,n=a.join("."),"undefined"==typeof r&&(r=n),{browserVersion:i,browserMode:o,engineVersion:r,engineMode:n,compatible:r!==n}}function g(e){if(w)try{var t=w.twGetRunPath.toLowerCase(),n=w.twGetSecurityID(_),r=w.twGetVersion(n);if(t&&-1===t.indexOf(e))return!1;if(r)return{version:r}}catch(o){}}function m(e,t,n){var r=d(t)?t.call(null,n):t;if(!r)return null;var o={name:e,version:v,codename:""},i=c(r);if(r===!0)return o;if("[object String]"===i){if(-1!==n.indexOf(r))return o}else{if(l(r))return r.hasOwnProperty("version")&&(o.version=r.version),o;if(r.exec){var s=r.exec(n);if(s)return s.length>=2&&s[1]?o.version=s[1].replace(/_/g,"."):o.version=v,o}}}function b(e,t,n,r){var o=B;h(t,function(t){var n=m(t[0],t[1],e);return n?(o=n,!1):void 0}),n.call(r,o.name,o.version)}var w,y={},v="-1",_=this,E=/\b(?:msie |ie |trident\/[0-9].*rv[ :])([0-9.]+)/,x=/\bbb10\b.+?\bversion\/([\d.]+)/,A=/\bblackberry\b.+\bversion\/([\d.]+)/,k=/\bblackberry\d+\/([\d.]+)/,I=[["nokia",function(e){return-1!==e.indexOf("nokia ")?/\bnokia ([0-9]+)?/:/\bnokia(