-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
13 lines (13 loc) · 20.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<style>*,:after,:before{box-sizing:inherit}html{box-sizing:border-box;font-size:62.5%}body{color:#606c76;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:1.6em;font-weight:300;letter-spacing:.01em;line-height:1.6}blockquote{border-left:.3rem solid #d1d1d1;margin-left:0;margin-right:0;padding:1rem 1.5rem}blockquote :last-child{margin-bottom:0}.button,button,input[type=button],input[type=reset],input[type=submit]{background-color:#60b22e;border:.1rem solid #60b22e;border-radius:.4rem;color:#fff;cursor:pointer;display:inline-block;font-size:1.1rem;font-weight:700;height:3.8rem;letter-spacing:.1rem;line-height:3.8rem;padding:0 3rem;text-align:center;text-decoration:none;text-transform:uppercase;white-space:nowrap}.button:focus,.button:hover,button:focus,button:hover,input[type=button]:focus,input[type=button]:hover,input[type=reset]:focus,input[type=reset]:hover,input[type=submit]:focus,input[type=submit]:hover{background-color:#606c76;border-color:#606c76;color:#fff;outline:0}.button[disabled],button[disabled],input[type=button][disabled],input[type=reset][disabled],input[type=submit][disabled]{cursor:default;opacity:.5}.button[disabled]:focus,.button[disabled]:hover,button[disabled]:focus,button[disabled]:hover,input[type=button][disabled]:focus,input[type=button][disabled]:hover,input[type=reset][disabled]:focus,input[type=reset][disabled]:hover,input[type=submit][disabled]:focus,input[type=submit][disabled]:hover{background-color:#60b22e;border-color:#60b22e}.button.button-outline,button.button-outline,input[type=button].button-outline,input[type=reset].button-outline,input[type=submit].button-outline{background-color:transparent;color:#60b22e}.button.button-outline:focus,.button.button-outline:hover,button.button-outline:focus,button.button-outline:hover,input[type=button].button-outline:focus,input[type=button].button-outline:hover,input[type=reset].button-outline:focus,input[type=reset].button-outline:hover,input[type=submit].button-outline:focus,input[type=submit].button-outline:hover{background-color:transparent;border-color:#606c76;color:#606c76}.button.button-outline[disabled]:focus,.button.button-outline[disabled]:hover,button.button-outline[disabled]:focus,button.button-outline[disabled]:hover,input[type=button].button-outline[disabled]:focus,input[type=button].button-outline[disabled]:hover,input[type=reset].button-outline[disabled]:focus,input[type=reset].button-outline[disabled]:hover,input[type=submit].button-outline[disabled]:focus,input[type=submit].button-outline[disabled]:hover{border-color:inherit;color:#60b22e}.button.button-clear,button.button-clear,input[type=button].button-clear,input[type=reset].button-clear,input[type=submit].button-clear{background-color:transparent;border-color:transparent;color:#60b22e}.button.button-clear:focus,.button.button-clear:hover,button.button-clear:focus,button.button-clear:hover,input[type=button].button-clear:focus,input[type=button].button-clear:hover,input[type=reset].button-clear:focus,input[type=reset].button-clear:hover,input[type=submit].button-clear:focus,input[type=submit].button-clear:hover{background-color:transparent;border-color:transparent;color:#606c76}.button.button-clear[disabled]:focus,.button.button-clear[disabled]:hover,button.button-clear[disabled]:focus,button.button-clear[disabled]:hover,input[type=button].button-clear[disabled]:focus,input[type=button].button-clear[disabled]:hover,input[type=reset].button-clear[disabled]:focus,input[type=reset].button-clear[disabled]:hover,input[type=submit].button-clear[disabled]:focus,input[type=submit].button-clear[disabled]:hover{color:#60b22e}code{border-radius:.4rem;font-size:86%;margin:0 .2rem;padding:.2rem .5rem;white-space:nowrap}code,pre{background:#f4f5f6}pre{border-left:.3rem solid #60b22e;overflow-y:hidden}pre>code{border-radius:0;display:block;padding:1rem 1.5rem;white-space:pre}hr{border:0;border-top:.1rem solid #f4f5f6;margin:3rem 0}input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{appearance:none;background-color:transparent;border:.1rem solid #d1d1d1;border-radius:.4rem;box-shadow:none;box-sizing:inherit;height:3.8rem;padding:.6rem 1rem;width:100%}input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#60b22e;outline:0}select{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="#d1d1d1" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>') 100% no-repeat;padding-right:3rem}select:focus{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="#9b4dca" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>')}textarea{min-height:6.5rem}label,legend{display:block;font-size:1.6rem;font-weight:700;margin-bottom:.5rem}fieldset{border-width:0;padding:0}input[type=checkbox],input[type=radio]{display:inline}.label-inline{display:inline-block;font-weight:400;margin-left:.5rem}.container{margin:0 auto;max-width:112rem;padding:0 2rem;position:relative;width:100%}.row{display:flex;flex-direction:column;width:100%}.row,.row.row-no-padding,.row.row-no-padding>.column{padding:0}.row.row-wrap{flex-wrap:wrap}.row.row-top{align-items:flex-start}.row.row-bottom{align-items:flex-end}.row.row-center{align-items:center}.row.row-stretch{align-items:stretch}.row.row-baseline{align-items:baseline}.row .column{display:block;flex:1 1 auto;margin-left:0;max-width:100%;width:100%}.row .column.column-offset-10{margin-left:10%}.row .column.column-offset-20{margin-left:20%}.row .column.column-offset-25{margin-left:25%}.row .column.column-offset-33,.row .column.column-offset-34{margin-left:33.3333%}.row .column.column-offset-50{margin-left:50%}.row .column.column-offset-66,.row .column.column-offset-67{margin-left:66.6666%}.row .column.column-offset-75{margin-left:75%}.row .column.column-offset-80{margin-left:80%}.row .column.column-offset-90{margin-left:90%}.row .column.column-10{flex:0 0 10%;max-width:10%}.row .column.column-20{flex:0 0 20%;max-width:20%}.row .column.column-25{flex:0 0 25%;max-width:25%}.row .column.column-33,.row .column.column-34{flex:0 0 33.3333%;max-width:33.3333%}.row .column.column-40{flex:0 0 40%;max-width:40%}.row .column.column-50{flex:0 0 50%;max-width:50%}.row .column.column-60{flex:0 0 60%;max-width:60%}.row .column.column-66,.row .column.column-67{flex:0 0 66.6666%;max-width:66.6666%}.row .column.column-75{flex:0 0 75%;max-width:75%}.row .column.column-80{flex:0 0 80%;max-width:80%}.row .column.column-90{flex:0 0 90%;max-width:90%}.row .column .column-top{align-self:flex-start}.row .column .column-bottom{align-self:flex-end}.row .column .column-center{align-self:center}@media (min-width:40rem){.row{flex-direction:row;margin-left:-1rem;width:calc(100% + 2rem)}.row .column{margin-bottom:inherit;padding:0 1rem}}a{color:#60b22e;text-decoration:none}a:focus,a:hover{color:#606c76}dl,ol,ul{list-style:none;margin-top:0;padding-left:0}dl dl,dl ol,dl ul,ol dl,ol ol,ol ul,ul dl,ul ol,ul ul{font-size:90%;margin:1.5rem 0 1.5rem 3rem}ol{list-style:decimal inside}ul{list-style:circle inside}.button,button,dd,dt,li{margin-bottom:1rem}fieldset,input,select,textarea{margin-bottom:1.5rem}blockquote,dl,figure,form,ol,p,pre,table,ul{margin-bottom:2.5rem}table{border-spacing:0;width:100%}td,th{border-bottom:.1rem solid #e1e1e1;padding:1.2rem 1.5rem;text-align:left}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}b,strong{font-weight:700}p{margin-top:0}h1,h2,h3,h4,h5,h6{font-weight:300;letter-spacing:-.1rem;margin-bottom:2rem;margin-top:0}h1{font-size:4.6rem;line-height:1.2}h2{font-size:3.6rem;line-height:1.25}h3{font-size:2.8rem;line-height:1.3}h4{font-size:2.2rem;letter-spacing:-.08rem;line-height:1.35}h5{font-size:1.8rem;letter-spacing:-.05rem;line-height:1.5}h6{font-size:1.6rem;letter-spacing:0;line-height:1.4}img{max-width:100%}.clearfix:after{clear:both;content:" ";display:table}.float-left{float:left}.float-right{float:right}button{text-transform:none;margin:2px}.button-small{font-size:.8rem;height:2.8rem;line-height:2.8rem;padding:0 1.5rem}.button-red{background-color:#d6264f;border:#d6264f}.sec-weak{color:#d6264f}form,ul{margin-bottom:1rem}li{margin-bottom:0}</style>
<title>wpa_supplicant.conf作成</title>
</head>
<body>
<main id="main"></main>
<script>!function(t){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}var e={};n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get: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,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=2)}([function(t,n,e){!function(e,r){t.exports=n=r()}(0,function(){var t=t||function(t,n){var e=Object.create||function(){function t(){}return function(n){var e;return t.prototype=n,e=new t,t.prototype=null,e}}(),r={},i=r.lib={},o=i.Base=function(){return{extend:function(t){var n=e(this);return t&&n.mixIn(t),n.hasOwnProperty("init")&&this.init!==n.init||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),a=i.WordArray=o.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=void 0!=n?n:4*t.length},toString:function(t){return(t||u).stringify(this)},concat:function(t){var n=this.words,e=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=e[o>>>2]>>>24-o%4*8&255;n[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var o=0;o<i;o+=4)n[r+o>>>2]=e[o>>>2];return this.sigBytes+=i,this},clamp:function(){var n=this.words,e=this.sigBytes;n[e>>>2]&=4294967295<<32-e%4*8,n.length=t.ceil(e/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(n){for(var e,r=[],i=0;i<n;i+=4){var o=function(n){var n=n,e=987654321,r=4294967295;return function(){e=36969*(65535&e)+(e>>16)&r,n=18e3*(65535&n)+(n>>16)&r;var i=(e<<16)+n&r;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}}(4294967296*(e||t.random()));e=987654071*o(),r.push(4294967296*o()|0)}return new a.init(r,n)}}),s=r.enc={},u=s.Hex={stringify:function(t){for(var n=t.words,e=t.sigBytes,r=[],i=0;i<e;i++){var o=n[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var n=t.length,e=[],r=0;r<n;r+=2)e[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new a.init(e,n/2)}},c=s.Latin1={stringify:function(t){for(var n=t.words,e=t.sigBytes,r=[],i=0;i<e;i++){var o=n[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var n=t.length,e=[],r=0;r<n;r++)e[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new a.init(e,n)}},f=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},l=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(n){var e=this._data,r=e.words,i=e.sigBytes,o=this.blockSize,s=4*o,u=i/s;u=n?t.ceil(u):t.max((0|u)-this._minBufferSize,0);var c=u*o,f=t.min(4*c,i);if(c){for(var l=0;l<c;l+=o)this._doProcessBlock(r,l);var h=r.splice(0,c);e.sigBytes-=f}return new a.init(h,f)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),h=(i.Hasher=l.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(n,e){return new t.init(e).finalize(n)}},_createHmacHelper:function(t){return function(n,e){return new h.HMAC.init(t,e).finalize(n)}}}),r.algo={});return r}(Math);return t})},function(t,n,e){"use strict";function r(t,n){for(var e,r=[],i=[],o=arguments.length;o-- >2;)r.push(arguments[o]);for(;r.length;)if((e=r.pop())&&e.pop)for(o=e.length;o--;)r.push(e[o]);else null!=e&&!0!==e&&!1!==e&&i.push(e);return"function"==typeof t?t(n||{},i):{nodeName:t,attributes:n||{},children:i,key:n&&n.key}}function i(t,n,e,r){function i(t,n){return{nodeName:t.nodeName.toLowerCase(),attributes:{},children:n.call(t.childNodes,function(t){return 3===t.nodeType?t.nodeValue:i(t,n)})}}function o(){m=!m;var t=e(b,B);for(r&&!m&&(_=w(r,_,S,S=t));t=y.pop();)t()}function a(){m||(m=!m,setTimeout(o))}function s(t,n){var e={};for(var r in t)e[r]=t[r];for(var r in n)e[r]=n[r];return e}function u(t,n,e){var r={};return t.length?(r[t[0]]=t.length>1?u(t.slice(1),n,e[t[0]]):n,s(e,r)):n}function c(t,n){for(var e=0;e<t.length;e++)n=n[t[e]];return n}function f(t,n,e){for(var r in e)"function"==typeof e[r]?function(r,i){e[r]=function(r){return"function"==typeof(r=i(r))&&(r=r(c(t,b),e)),r&&r!==(n=c(t,b))&&!r.then&&a(b=u(t,s(n,r),b)),r}}(r,e[r]):f(t.concat(r),n[r]=n[r]||{},e[r]=s(e[r]))}function l(t){return t?t.key:null}function h(t,n,e,r,i){if("key"===n);else if("style"===n)for(var o in s(i,e))t[n][o]=null==e||null==e[o]?"":e[o];else"function"==typeof e||n in t&&!r?t[n]=null==e?"":e:null!=e&&!1!==e&&t.setAttribute(n,e),null!=e&&!1!==e||t.removeAttribute(n)}function d(t,n){var e="string"==typeof t||"number"==typeof t?document.createTextNode(t):(n=n||"svg"===t.nodeName)?document.createElementNS("http://www.w3.org/2000/svg",t.nodeName):document.createElement(t.nodeName);if(t.attributes){t.attributes.oncreate&&y.push(function(){t.attributes.oncreate(e)});for(var r=0;r<t.children.length;r++)e.appendChild(d(t.children[r],n));for(var i in t.attributes)h(e,i,t.attributes[i],n)}return e}function p(t,n,e,r){for(var i in s(n,e))e[i]!==("value"===i||"checked"===i?t[i]:n[i])&&h(t,i,e[i],r,n[i]);e.onupdate&&y.push(function(){e.onupdate(t,n)})}function v(t,n,e){if(e=n.attributes){for(var r=0;r<n.children.length;r++)v(t.childNodes[r],n.children[r]);e.ondestroy&&e.ondestroy(t)}return t}function g(t,n,e,r){function i(){t.removeChild(v(n,e))}e.attributes&&(r=e.attributes.onremove)?r(n,i):i()}function w(t,n,e,r,i,o){if(r===e);else if(null==e)n=t.insertBefore(d(r,i),n);else if(r.nodeName&&r.nodeName===e.nodeName){p(n,e.attributes,r.attributes,i=i||"svg"===r.nodeName);for(var a=[],s={},u={},c=0;c<e.children.length;c++){a[c]=n.childNodes[c];var f=e.children[c],h=l(f);null!=h&&(s[h]=[a[c],f])}for(var c=0,v=0;v<r.children.length;){var f=e.children[c],m=r.children[v],h=l(f),y=l(m);if(u[h])c++;else if(null==y)null==h&&(w(n,a[c],f,m,i),v++),c++;else{var _=s[y]||[];h===y?(w(n,_[0],_[1],m,i),c++):_[0]?w(n,n.insertBefore(_[0],a[c]),_[1],m,i):w(n,a[c],null,m,i),v++,u[y]=m}}for(;c<e.children.length;){var f=e.children[c];null==l(f)&&g(n,a[c],f),c++}for(var c in s)u[s[c][1].key]||g(n,s[c][0],s[c][1])}else r.nodeName===e.nodeName?n.nodeValue=r:(n=t.insertBefore(d(r,i),o=n),g(t,o,e));return n}var m,y=[],_=r&&r.children[0]||null,S=_&&i(_,[].map),b=s(t),B=s(n);return a(f([],b,B)),B}Object.defineProperty(n,"__esModule",{value:!0}),n.h=r,n.app=i},function(t,n,e){e(3),t.exports=e(8)},function(t,n,e){"use strict";var r=e(1),i=e(4);window.main=(0,r.app)(i.state,i.actions,i.view,document.getElementById("main"))},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.view=n.actions=n.state=void 0;var r=e(1),i=e(5),o=function(t){return t&&t.__esModule?t:{default:t}}(i),a=function(t){return new Blob([t],{type:"text/plain"})},s=function(t){var n="country=JP\n";return n+="ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev\n",n+="update_config=1\n",n+=t.map(function(t){var n="network={\n";return n+=' ssid="'+t.id+'"\n',t.psk.length>0?n+=" psk="+t.psk+"\n":n+=" key_mgmt=NONE\n",n+="}"}).join("\n")},u=function(t){if(!window.navigator.msSaveBlob){var n=s(t);return window.URL.createObjectURL(a(n))}return"#"};n.state={items:[],urlWPA:u([]),urlSSH:function(){return window.navigator.msSaveBlob?"#":window.URL.createObjectURL(a(""))}()},n.actions={addItem:function(t){return function(n){t.preventDefault();var e=t.target.newSSID.value,r=t.target.newPassphrase.value;if(0===e.length)return n;t.target.newSSID.value="",t.target.newPassphrase.value="",t.target.newSSID.focus();var i=n.items.concat({id:e,psk:0!==r.length?(0,o.default)(r,e,{keySize:8,iterations:4096}).toString():""});return{items:i,urlWPA:u(i)}}},deleteItem:function(t){return function(n){var e=n.items,r=e.indexOf(t);return e.splice(r,1),{items:e,urlWPA:u(e)}}},downloadWPA:function(){return function(t){if(window.navigator.msSaveBlob){var n=s(t.items);window.navigator.msSaveBlob(a(n),"wpa_supplicant.conf")}}},downloadSSH:function(){return function(){if(window.navigator.msSaveBlob){window.navigator.msSaveBlob(a(""),"ssh.txt")}}}},n.view=function(t,n){var e=t.items.map(function(t){return(0,r.h)("li",null,"SSID: ",t.id,", Security: ",(0,r.h)("span",{class:0===t.psk.length?"sec-weak":""},t.psk.length>0?"WPA2":"None"),(0,r.h)("button",{onclick:function(){return n.deleteItem(t)},class:"button-small button-red"},"削除"))});return(0,r.h)("div",null,(0,r.h)("form",{onsubmit:n.addItem,autocomplete:"off"},"SSID: ",(0,r.h)("input",{type:"text",name:"newSSID",oncreate:function(t){return t.focus()}}),"Passphrase: ",(0,r.h)("input",{type:"password",name:"newPassphrase"}),(0,r.h)("button",{type:"submit"},"追加")),(0,r.h)("ul",null,e),(0,r.h)("a",{href:t.urlWPA,onclick:n.downloadWPA,download:"wpa_supplicant.conf"},(0,r.h)("button",null,"wpa_supplicant.conf作成")),(0,r.h)("a",{href:t.urlSSH,onclick:n.downloadSSH,download:"ssh.txt"},(0,r.h)("button",null,"ssh.txt作成")))}},function(t,n,e){!function(r,i,o){t.exports=n=i(e(0),e(6),e(7))}(0,function(t){return function(){var n=t,e=n.lib,r=e.Base,i=e.WordArray,o=n.algo,a=o.SHA1,s=o.HMAC,u=o.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,n){for(var e=this.cfg,r=s.create(e.hasher,t),o=i.create(),a=i.create([1]),u=o.words,c=a.words,f=e.keySize,l=e.iterations;u.length<f;){var h=r.update(n).finalize(a);r.reset();for(var d=h.words,p=d.length,v=h,g=1;g<l;g++){v=r.finalize(v),r.reset();for(var w=v.words,m=0;m<p;m++)d[m]^=w[m]}o.concat(h),c[0]++}return o.sigBytes=4*f,o}});n.PBKDF2=function(t,n,e){return u.create(e).compute(t,n)}}(),t.PBKDF2})},function(t,n,e){!function(r,i){t.exports=n=i(e(0))}(0,function(t){return function(){var n=t,e=n.lib,r=e.WordArray,i=e.Hasher,o=n.algo,a=[],s=o.SHA1=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,n){for(var e=this._hash.words,r=e[0],i=e[1],o=e[2],s=e[3],u=e[4],c=0;c<80;c++){if(c<16)a[c]=0|t[n+c];else{var f=a[c-3]^a[c-8]^a[c-14]^a[c-16];a[c]=f<<1|f>>>31}var l=(r<<5|r>>>27)+u+a[c];l+=c<20?1518500249+(i&o|~i&s):c<40?1859775393+(i^o^s):c<60?(i&o|i&s|o&s)-1894007588:(i^o^s)-899497514,u=s,s=o,o=i<<30|i>>>2,i=r,r=l}e[0]=e[0]+r|0,e[1]=e[1]+i|0,e[2]=e[2]+o|0,e[3]=e[3]+s|0,e[4]=e[4]+u|0},_doFinalize:function(){var t=this._data,n=t.words,e=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=Math.floor(e/4294967296),n[15+(r+64>>>9<<4)]=e,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});n.SHA1=i._createHelper(s),n.HmacSHA1=i._createHmacHelper(s)}(),t.SHA1})},function(t,n,e){!function(r,i){t.exports=n=i(e(0))}(0,function(t){!function(){var n=t,e=n.lib,r=e.Base,i=n.enc,o=i.Utf8,a=n.algo;a.HMAC=r.extend({init:function(t,n){t=this._hasher=new t.init,"string"==typeof n&&(n=o.parse(n));var e=t.blockSize,r=4*e;n.sigBytes>r&&(n=t.finalize(n)),n.clamp();for(var i=this._oKey=n.clone(),a=this._iKey=n.clone(),s=i.words,u=a.words,c=0;c<e;c++)s[c]^=1549556828,u[c]^=909522486;i.sigBytes=a.sigBytes=r,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var n=this._hasher,e=n.finalize(t);return n.reset(),n.finalize(this._oKey.clone().concat(e))}})}()})},function(t,n){}]);</script>
</body>
</html>