pubo-web 1.0.95 → 1.0.97

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.
package/dist/pubo-web.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["pubo-web"]=e():t["pubo-web"]=e()}(this,(()=>(()=>{"use strict";var t={d:(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{DragMethod:()=>v,IndexedStorage:()=>j,WebStorage:()=>u,WebsocketClient:()=>y,blob2base64:()=>i,blob2file:()=>s,blob2text:()=>r,downloadFile:()=>a,getCookie:()=>T,getCookieValue:()=>P,loadScript:()=>o,pickFiles:()=>b,setCookieItem:()=>L});var n=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(t,e){return void 0===e&&(e={}),new Promise((function(o){var r,i,s=function(){var e,o,r=document.getElementsByTagName("script");try{for(var i=n(r),s=i.next();!s.done;s=i.next()){var a=s.value;if(a.src===t)return a}}catch(t){e={error:t}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(e)throw e.error}}return null}(),a=s;if(s){if("complete"===s._state)return o(t)}else a=document.createElement("script");try{for(var c=n(Object.keys(e)),u=c.next();!u.done;u=c.next()){var l=u.value;a[l]=e[l]}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return a.src=t,a.addEventListener("load",(function e(){o(t),a.removeEventListener("load",e),a._state="complete"})),document.body.appendChild(a),"success"}))},r=function(t){return new Promise((function(e){var n=new FileReader;n.onload=function(t){return e(t.target.result)},n.readAsText(t)}))},i=function(t){return new Promise((function(e,n){var o=new FileReader;t?(o.onload=function(t){return e(t.target.result)},o.onabort=function(){return n()},o.readAsDataURL(t)):n("文件爲空!")}))},s=function(t,e,n){return new File(t,e,{type:n})},a=function(t,e){var n=document.createElement("a");n.href=t,e&&(n.download=e),n.style.position="fixed",n.style.visibility="hidden",document.body.appendChild(n),n.click(),document.body.removeChild(n)},c=function(){return c=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},c.apply(this,arguments)},u=function(){function t(t){var e=t.type,n=void 0===e?"sessionStorage":e,o=t.key;this._key=o,this.storage=window[n],this.zip=t.zip}return Object.defineProperty(t.prototype,"state",{get:function(){var t=this.storage.getItem(this._key);return this.zip&&t&&(t=this.zip.inflate(t)),t?JSON.parse(t):null},set:function(t){var e=JSON.stringify(t);this.zip&&(e=this.zip.deflate(e)),this.storage.setItem(this._key,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"key",{get:function(){return this._key},enumerable:!1,configurable:!0}),t.prototype.merge=function(t){var e=this.state;this.state=c(c({},e),t)},t.prototype.clear=function(){this.storage.removeItem(this._key)},t}(),l=function(){return l=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},l.apply(this,arguments)},f=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},p=function(t,e,n){if(n||2===arguments.length)for(var o,r=0,i=e.length;r<i;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},d=function(){function t(){this.state={},this.ids={}}return t.prototype.on=function(t,e){if(this.state[t]||(this.state[t]=[]),"function"!=typeof e)throw new Error("第二个参数必须为function!");var n=this.state[t].push(e)-1,o=function(t){void 0===t&&(t=8);var e=function(t){return Math.random().toString(32).slice(2,2+t)};if(t<=8)return e(t);for(var n="",o=0;o<=t;o+=8)n+=e(t-o>8?8:t-o);return n}(40);return this.ids[o]={event:t,index:n},o},t.prototype.cancel=function(t){var e=this;if(t){var n=this.ids[t]||{},o=n.event,r=n.index;o&&Array.isArray(this.state[o])&&(this.state[o].splice(r,1),delete this.ids[t],Object.keys(this.ids).forEach((function(t){e.ids[t].event===o&&e.ids[t].index>r&&(e.ids[t].index=e.ids[t].index-1)})))}else this.clear()},t.prototype.clear=function(){this.state.length=0},t.prototype.emit=function(t){for(var e,n,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];if(Array.isArray(this.state[t]))try{for(var i=f(this.state[t]),s=i.next();!s.done;s=i.next()){var a=s.value;"function"==typeof a&&a.apply(void 0,p([],h(o),!1))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.clone=function(){return{state:l({},this.state),ids:l({},this.ids)}},t.prototype.restore=function(t){this.state=t.state,this.ids=t.ids},t}();const y=function(){function t(t){var e=t.url;this.client=null,this._status=0,this.emitter=new d,this.url=e,this.connect()}return t.prototype.reconnect=function(){var t=this;this.client&&this.client.close(),this.client=null,3===this._status&&setTimeout((function(){return t.connect()}),1e3)},t.prototype.onClose=function(){2!==this._status&&(this._status=3),this.reconnect()},t.prototype.onMessage=function(t){this.emitter.emit("message",t.data)},t.prototype.connect=function(){var t=this;this.client||(this.client=new WebSocket(this.url),this.client.onclose=this.onClose.bind(this),this.client.onmessage=this.onMessage.bind(this),this.client.onopen=function(){t._status=1})},t.prototype.close=function(){this.client&&(this.client.close(),this.client=null,this._status=2)},t.prototype.send=function(t,e){var n;void 0===e&&(e=!1);var o=t;e&&(o=JSON.stringify(t)),null===(n=this.client)||void 0===n||n.send(o)},t}();var v=function(){function t(t){var e=void 0===t?{}:t,n=e.key,o=void 0===n?"":n,r=e.onMove,i=e.onMoveEnd;this.key="",this.cache={pageX:0,pageY:0,dragging:!1},this.key=o,this.onMouseDown=this._onMouseDown.bind(this),this.onTouchStart=this._onMouseDown.bind(this),this.onMouseMove=this._onMouseMove.bind(this),this.onMouseUp=this._onMouseUp.bind(this),this.onMove=r,this.onMoveEnd=i}return t.prototype._onMouseMove=function(t){var e,n,o,r;if("function"==typeof this.onMove){t.preventDefault?t.preventDefault():t.returnValue=!1;var i=null!==(e=t.pageX)&&void 0!==e?e:null===(n=t.touches[0])||void 0===n?void 0:n.pageX,s=null!==(o=t.pageY)&&void 0!==o?o:null===(r=t.touches[0])||void 0===r?void 0:r.pageY;this.onMove({offsetX:i-this.cache.pageX,offsetY:s-this.cache.pageY,key:this.key}),this.cache.pageX=i,this.cache.pageY=s}},t.prototype.clearListener=function(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("touchend",this.onMouseUp)},t.prototype._onMouseUp=function(){this.clearListener(),this.cache.dragging=!1,"function"==typeof this.onMoveEnd&&this.onMoveEnd()},t.prototype._onMouseDown=function(t){var e,n,o,r;if(t.preventDefault&&t.pageX?t.preventDefault():t.returnValue=!1,"function"==typeof this.onMove&&!this.cache.dragging){this.clearListener();var i=null!==(e=t.pageX)&&void 0!==e?e:null===(n=t.touches[0])||void 0===n?void 0:n.pageX,s=null!==(o=t.pageY)&&void 0!==o?o:null===(r=t.touches[0])||void 0===r?void 0:r.pageY;this.cache.dragging=!0,this.cache.pageX=i,this.cache.pageY=s,window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onMouseMove,{passive:!1}),window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("touchend",this.onMouseUp,{passive:!1})}},t}(),b=function(){return new Promise((function(t){var e=document.createElement("input");e.type="file",e.style.visibility="hidden",e.style.position="fixed",e.style.top="0px",e.style.zIndex="-1",window.addEventListener("focus",(function t(){document.body.removeChild(e),window.removeEventListener("focus",t)})),e.onchange=function(e){t(e.target.files)},document.body.appendChild(e),e.click()}))},g=function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function s(t){try{c(o.next(t))}catch(t){i(t)}}function a(t){try{c(o.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((o=o.apply(t,e||[])).next())}))},m=function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,o=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],o=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},w=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},x=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},S=function(t,e,n){if(n||2===arguments.length)for(var o,r=0,i=e.length;r<i;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},M=function(){function t(t,e,n){this.indexedDB=self.indexedDB,this.get=this.createTransaction((function(t,e){return t.get(e)})),this.getAll=this.createTransaction((function(t){return t.getAll()})),this.delete=this.createTransaction((function(t,e){return t.delete(e)})),this.put=this.createTransaction((function(t,e){return t.put(e)})),this.name=t,this.version=e,this.tables=n}return t.prototype.open=function(){var t=this;return new Promise((function(e,n){var o,r=null===(o=t.indexedDB)||void 0===o?void 0:o.open(t.name,t.version);r.onupgradeneeded=function(n){return g(t,void 0,void 0,(function(){var t,o,r,i,s,a=this;return m(this,(function(c){this.db=n.target.result,this.transaction=n.target.transaction,this.transaction.oncomplete=function(){return g(a,void 0,void 0,(function(){var t,e,n,o,r,i;return m(this,(function(s){switch(s.label){case 0:this.transaction=null,s.label=1;case 1:s.trys.push([1,6,7,8]),t=w(this.tables),e=t.next(),s.label=2;case 2:return e.done?[3,5]:(n=e.value).default?[4,this.put(n.name,n.default)]:[3,4];case 3:s.sent(),s.label=4;case 4:return e=t.next(),[3,2];case 5:return[3,8];case 6:return o=s.sent(),r={error:o},[3,8];case 7:try{e&&!e.done&&(i=t.return)&&i.call(t)}finally{if(r)throw r.error}return[7];case 8:return[2]}}))}))};try{for(t=w(this.tables),o=t.next();!o.done;o=t.next())r=o.value,this.createTable(r)}catch(t){i={error:t}}finally{try{o&&!o.done&&(s=t.return)&&s.call(t)}finally{if(i)throw i.error}}return e("success"),[2]}))}))},r.onsuccess=function(){t.db=r.result,e("success")},r.onerror=function(t){console.error("indexed db connect error: ",t),n(t)}}))},t.prototype.createTable=function(t){this.db.objectStoreNames.contains(t.name)||this.db.createObjectStore(t.name,t.options||{keyPath:"_id",autoIncrement:!0})},t.prototype.createTransaction=function(t){var e=this;return function(n){for(var o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];return new Promise((function(r,i){if(e.db){var s=e.db.transaction([n],"readwrite").objectStore(n),a=t.apply(void 0,S([s],x(o),!1));a.onerror=function(t){i(t)},a.onsuccess=function(){r(a.result)}}else i("not connect")}))}},t}(),k=function(){return k=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},k.apply(this,arguments)},E=function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function s(t){try{c(o.next(t))}catch(t){i(t)}}function a(t){try{c(o.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((o=o.apply(t,e||[])).next())}))},_=function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,o=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],o=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},O=function(){function t(t,e){this.utils=t,this.store=e}return t.prototype.getState=function(){return E(this,void 0,void 0,(function(){return _(this,(function(t){return[2,this.utils.get(this.store,1)]}))}))},t.prototype.setState=function(t){this.utils.put(this.store,k(k({},t),{_id:1}))},t.prototype.merge=function(t){return E(this,void 0,void 0,(function(){var e;return _(this,(function(n){switch(n.label){case 0:return[4,this.getState()];case 1:return e=n.sent(),this.setState=k(k(k({},e),t),{_id:1}),[2]}}))}))},t}(),j=function(){function t(t){var e=t.name,n=t.version,o=t.tables;this._cache={},this.tables=[],this.connected=!1,this.connecting=!1,this.name=e,this.version=n,this.tables=null!=o?o:[]}return t.prototype.register=function(t){var e;(e=this.tables).push.apply(e,function(t,e,n){if(n||2===arguments.length)for(var o,r=0,i=e.length;r<i;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))}([],function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s}(t),!1))},t.prototype.connect=function(){return E(this,void 0,void 0,(function(){return _(this,(function(t){switch(t.label){case 0:if(this.connected)return[2];if(!this.connecting)return[3,4];t.label=1;case 1:return this.connecting?[3,3]:[4,(100,e=void 0,n=void 0,o=void 0,r=function(){return function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,o=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],o=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}(this,(function(t){switch(t.label){case 0:return[4,new Promise((function(t){return setTimeout((function(){return t()}),100)}))];case 1:return t.sent(),[2]}}))},new(o||(o=Promise))((function(t,i){function s(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r.throw(t))}catch(t){i(t)}}function c(e){var n;e.done?t(e.value):(n=e.value,n instanceof o?n:new o((function(t){t(n)}))).then(s,a)}c((r=r.apply(e,n||[])).next())})))];case 2:return t.sent(),[3,1];case 3:return[2];case 4:return this.connecting=!0,this.utils=new M(this.name,this.version,this.tables),[4,this.utils.open()];case 5:return t.sent(),this.connected=!0,this.connecting=!1,[2]}var e,n,o,r}))}))},t.prototype.get=function(t){return!this._cache[t]&&this.utils&&(this._cache[t]=new O(this.utils,t)),this._cache[t]},t}(),P=function(t){var e=new RegExp("(^| )".concat(t,"=([^;]*)(;|$)")).exec(document.cookie);return e?e[2]:""},T=function(){var t={};return document.cookie?(document.cookie.split(";").forEach((function(e){var n=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s}(e.split("="),2),o=n[0],r=n[1];t[o]=r})),t):t},L=function(t,e){document.cookie="".concat(t,"=").concat(e)};return e})()));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["pubo-web"]=e():t["pubo-web"]=e()}(this,(()=>(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{DragMethod:()=>v,IndexedStorage:()=>j,WebStorage:()=>u,WebsocketClient:()=>y,blob2base64:()=>i,blob2file:()=>s,blob2text:()=>o,downloadFile:()=>a,getCookie:()=>T,getCookieValue:()=>P,loadScript:()=>r,pickFiles:()=>b,setCookieItem:()=>L});var n=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},r=function(t,e){return void 0===e&&(e={}),new Promise((function(r){var o,i,s=function(){var e,r,o=document.getElementsByTagName("script");try{for(var i=n(o),s=i.next();!s.done;s=i.next()){var a=s.value;if(a.src===t)return a}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null}(),a=s;if(s){if("complete"===s._state)return r(t)}else a=document.createElement("script");try{for(var c=n(Object.keys(e)),u=c.next();!u.done;u=c.next()){var l=u.value;a[l]=e[l]}}catch(t){o={error:t}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}return a.src=t,a.addEventListener("load",(function e(){r(t),a.removeEventListener("load",e),a._state="complete"})),document.body.appendChild(a),"success"}))},o=function(t){return new Promise((function(e){var n=new FileReader;n.onload=function(t){return e(t.target.result)},n.readAsText(t)}))},i=function(t){return new Promise((function(e,n){var r=new FileReader;t?(r.onload=function(t){return e(t.target.result)},r.onabort=function(){return n()},r.readAsDataURL(t)):n("文件爲空!")}))},s=function(t,e,n){return new File(t,e,{type:n})},a=function(t,e){var n=document.createElement("a");n.href=t,e&&(n.download=e),n.style.position="fixed",n.style.visibility="hidden",document.body.appendChild(n),n.click(),document.body.removeChild(n)},c=function(){return c=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)},u=function(){function t(t){var e=t.type,n=void 0===e?"sessionStorage":e,r=t.key;this._key=r,this.storage=window[n],this.zip=t.zip}return Object.defineProperty(t.prototype,"state",{get:function(){var t=this.storage.getItem(this._key);return this.zip&&t&&(t=this.zip.inflate(t)),t?JSON.parse(t):null},set:function(t){var e=JSON.stringify(t);this.zip&&(e=this.zip.deflate(e)),this.storage.setItem(this._key,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"key",{get:function(){return this._key},enumerable:!1,configurable:!0}),t.prototype.merge=function(t){var e=this.state;this.state=c(c({},e),t)},t.prototype.clear=function(){this.storage.removeItem(this._key)},t}(),l=function(){return l=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},l.apply(this,arguments)},f=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},p=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))},d=function(){function t(){this.state={},this.ids={}}return t.prototype.on=function(t,e){if(this.state[t]||(this.state[t]=[]),"function"!=typeof e)throw new Error("第二个参数必须为function!");var n=this.state[t].push(e)-1,r=function(t){void 0===t&&(t=8);var e=function(t){return Math.random().toString(32).slice(2,2+t)};if(t<=8)return e(t);for(var n="",r=0;r<=t;r+=8)n+=e(t-r>8?8:t-r);return n}(40);return this.ids[r]={event:t,index:n},r},t.prototype.cancel=function(t){var e=this;if(t){var n=this.ids[t]||{},r=n.event,o=n.index;r&&Array.isArray(this.state[r])&&(this.state[r].splice(o,1),delete this.ids[t],Object.keys(this.ids).forEach((function(t){e.ids[t].event===r&&e.ids[t].index>o&&(e.ids[t].index=e.ids[t].index-1)})))}else this.clear()},t.prototype.clear=function(){this.state.length=0},t.prototype.emit=function(t){for(var e,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];if(Array.isArray(this.state[t]))try{for(var i=f(this.state[t]),s=i.next();!s.done;s=i.next()){var a=s.value;"function"==typeof a&&a.apply(void 0,p([],h(r),!1))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.clone=function(){return{state:l({},this.state),ids:l({},this.ids)}},t.prototype.restore=function(t){this.state=t.state,this.ids=t.ids},t}();const y=function(){function t(t){var e=t.url;this.client=null,this._status=0,this.emitter=new d,this.url=e,this.connect()}return t.prototype.reconnect=function(){var t=this;this.client&&this.client.close(),this.client=null,3===this._status&&setTimeout((function(){return t.connect()}),1e3)},t.prototype.onClose=function(){2!==this._status&&(this._status=3),this.reconnect()},t.prototype.onMessage=function(t){this.emitter.emit("message",t.data)},t.prototype.connect=function(){var t=this;this.client||(this.client=new WebSocket(this.url),this.client.onclose=this.onClose.bind(this),this.client.onmessage=this.onMessage.bind(this),this.client.onopen=function(){t._status=1})},t.prototype.close=function(){this.client&&(this.client.close(),this.client=null,this._status=2)},t.prototype.send=function(t,e){var n;void 0===e&&(e=!1);var r=t;e&&(r=JSON.stringify(t)),null===(n=this.client)||void 0===n||n.send(r)},t}();var v=function(){function t(t){var e=void 0===t?{}:t,n=e.key,r=void 0===n?"":n,o=e.onMove,i=e.onMoveEnd;this.key="",this.cache={pageX:0,pageY:0,dragging:!1},this.key=r,this.onMouseDown=this._onMouseDown.bind(this),this.onTouchStart=this._onMouseDown.bind(this),this.onMouseMove=this._onMouseMove.bind(this),this.onMouseUp=this._onMouseUp.bind(this),this.onMove=o,this.onMoveEnd=i}return t.prototype._onMouseMove=function(t){var e,n,r,o;if("function"==typeof this.onMove){t.preventDefault?t.preventDefault():t.returnValue=!1;var i=null!==(e=t.pageX)&&void 0!==e?e:null===(n=t.touches[0])||void 0===n?void 0:n.pageX,s=null!==(r=t.pageY)&&void 0!==r?r:null===(o=t.touches[0])||void 0===o?void 0:o.pageY;this.onMove({offsetX:i-this.cache.pageX,offsetY:s-this.cache.pageY,pageX:i,pageY:s,startX:this.cache.pageX,startY:this.cache.pageY,key:this.key}),this.cache.pageX=i,this.cache.pageY=s}},t.prototype.clearListener=function(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("touchend",this.onMouseUp)},t.prototype._onMouseUp=function(){this.clearListener(),this.cache.dragging=!1,"function"==typeof this.onMoveEnd&&this.onMoveEnd()},t.prototype._onMouseDown=function(t){var e,n,r,o;if(t.preventDefault&&t.pageX?t.preventDefault():t.returnValue=!1,"function"==typeof this.onMove&&!this.cache.dragging){this.clearListener();var i=null!==(e=t.pageX)&&void 0!==e?e:null===(n=t.touches[0])||void 0===n?void 0:n.pageX,s=null!==(r=t.pageY)&&void 0!==r?r:null===(o=t.touches[0])||void 0===o?void 0:o.pageY;this.cache.dragging=!0,this.cache.pageX=i,this.cache.pageY=s,window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onMouseMove,{passive:!1}),window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("touchend",this.onMouseUp,{passive:!1})}},t}(),b=function(){return new Promise((function(t){var e=document.createElement("input");e.type="file",e.style.visibility="hidden",e.style.position="fixed",e.style.top="0px",e.style.zIndex="-1",window.addEventListener("focus",(function t(){document.body.removeChild(e),window.removeEventListener("focus",t)})),e.onchange=function(e){t(e.target.files)},document.body.appendChild(e),e.click()}))},g=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function s(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))},m=function(t,e){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},w=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},x=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},S=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))},M=function(){function t(t,e,n){this.indexedDB=self.indexedDB,this.get=this.createTransaction((function(t,e){return t.get(e)})),this.getAll=this.createTransaction((function(t){return t.getAll()})),this.delete=this.createTransaction((function(t,e){return t.delete(e)})),this.put=this.createTransaction((function(t,e){return t.put(e)})),this.name=t,this.version=e,this.tables=n}return t.prototype.open=function(){var t=this;return new Promise((function(e,n){var r,o=null===(r=t.indexedDB)||void 0===r?void 0:r.open(t.name,t.version);o.onupgradeneeded=function(n){return g(t,void 0,void 0,(function(){var t,r,o,i,s,a=this;return m(this,(function(c){this.db=n.target.result,this.transaction=n.target.transaction,this.transaction.oncomplete=function(){return g(a,void 0,void 0,(function(){var t,e,n,r,o,i;return m(this,(function(s){switch(s.label){case 0:this.transaction=null,s.label=1;case 1:s.trys.push([1,6,7,8]),t=w(this.tables),e=t.next(),s.label=2;case 2:return e.done?[3,5]:(n=e.value).default?[4,this.put(n.name,n.default)]:[3,4];case 3:s.sent(),s.label=4;case 4:return e=t.next(),[3,2];case 5:return[3,8];case 6:return r=s.sent(),o={error:r},[3,8];case 7:try{e&&!e.done&&(i=t.return)&&i.call(t)}finally{if(o)throw o.error}return[7];case 8:return[2]}}))}))};try{for(t=w(this.tables),r=t.next();!r.done;r=t.next())o=r.value,this.createTable(o)}catch(t){i={error:t}}finally{try{r&&!r.done&&(s=t.return)&&s.call(t)}finally{if(i)throw i.error}}return e("success"),[2]}))}))},o.onsuccess=function(){t.db=o.result,e("success")},o.onerror=function(t){console.error("indexed db connect error: ",t),n(t)}}))},t.prototype.createTable=function(t){this.db.objectStoreNames.contains(t.name)||this.db.createObjectStore(t.name,t.options||{keyPath:"_id",autoIncrement:!0})},t.prototype.createTransaction=function(t){var e=this;return function(n){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];return new Promise((function(o,i){if(e.db){var s=e.db.transaction([n],"readwrite").objectStore(n),a=t.apply(void 0,S([s],x(r),!1));a.onerror=function(t){i(t)},a.onsuccess=function(){o(a.result)}}else i("not connect")}))}},t}(),k=function(){return k=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},k.apply(this,arguments)},E=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function s(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))},_=function(t,e){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},O=function(){function t(t,e){this.utils=t,this.store=e}return t.prototype.getState=function(){return E(this,void 0,void 0,(function(){return _(this,(function(t){return[2,this.utils.get(this.store,1)]}))}))},t.prototype.setState=function(t){this.utils.put(this.store,k(k({},t),{_id:1}))},t.prototype.merge=function(t){return E(this,void 0,void 0,(function(){var e;return _(this,(function(n){switch(n.label){case 0:return[4,this.getState()];case 1:return e=n.sent(),this.setState=k(k(k({},e),t),{_id:1}),[2]}}))}))},t}(),j=function(){function t(t){var e=t.name,n=t.version,r=t.tables;this._cache={},this.tables=[],this.connected=!1,this.connecting=!1,this.name=e,this.version=n,this.tables=null!=r?r:[]}return t.prototype.register=function(t){var e;(e=this.tables).push.apply(e,function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}([],function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}(t),!1))},t.prototype.connect=function(){return E(this,void 0,void 0,(function(){return _(this,(function(t){switch(t.label){case 0:if(this.connected)return[2];if(!this.connecting)return[3,4];t.label=1;case 1:return this.connecting?[3,3]:[4,(100,e=void 0,n=void 0,r=void 0,o=function(){return function(t,e){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}(this,(function(t){switch(t.label){case 0:return[4,new Promise((function(t){return setTimeout((function(){return t()}),100)}))];case 1:return t.sent(),[2]}}))},new(r||(r=Promise))((function(t,i){function s(t){try{c(o.next(t))}catch(t){i(t)}}function a(t){try{c(o.throw(t))}catch(t){i(t)}}function c(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(t){t(n)}))).then(s,a)}c((o=o.apply(e,n||[])).next())})))];case 2:return t.sent(),[3,1];case 3:return[2];case 4:return this.connecting=!0,this.utils=new M(this.name,this.version,this.tables),[4,this.utils.open()];case 5:return t.sent(),this.connected=!0,this.connecting=!1,[2]}var e,n,r,o}))}))},t.prototype.get=function(t){return!this._cache[t]&&this.utils&&(this._cache[t]=new O(this.utils,t)),this._cache[t]},t}(),P=function(t){var e=new RegExp("(^| )".concat(t,"=([^;]*)(;|$)")).exec(document.cookie);return e?e[2]:""},T=function(){var t={};return document.cookie?(document.cookie.split(";").forEach((function(e){var n=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}(e.split("="),2),r=n[0],o=n[1];t[r]=o})),t):t},L=function(t,e){document.cookie="".concat(t,"=").concat(e)};return e})()));
package/es/dom/drag.d.ts CHANGED
@@ -2,6 +2,10 @@ type OnMove = (n: {
2
2
  offsetX: number;
3
3
  offsetY: number;
4
4
  key?: string;
5
+ pageX: number;
6
+ pageY: number;
7
+ startX: number;
8
+ startY: number;
5
9
  }) => void;
6
10
  type OnMoveEnd = () => void;
7
11
  interface DragMethodProps {
package/es/dom/drag.js CHANGED
@@ -34,6 +34,10 @@ var DragMethod = /** @class */function () {
34
34
  this.onMove({
35
35
  offsetX: pageX - this.cache.pageX,
36
36
  offsetY: pageY - this.cache.pageY,
37
+ pageX: pageX,
38
+ pageY: pageY,
39
+ startX: this.cache.pageX,
40
+ startY: this.cache.pageY,
37
41
  key: this.key
38
42
  });
39
43
  this.cache.pageX = pageX;
package/lib/dom/drag.d.ts CHANGED
@@ -2,6 +2,10 @@ type OnMove = (n: {
2
2
  offsetX: number;
3
3
  offsetY: number;
4
4
  key?: string;
5
+ pageX: number;
6
+ pageY: number;
7
+ startX: number;
8
+ startY: number;
5
9
  }) => void;
6
10
  type OnMoveEnd = () => void;
7
11
  interface DragMethodProps {
package/lib/dom/drag.js CHANGED
@@ -40,6 +40,10 @@ var DragMethod = /** @class */function () {
40
40
  this.onMove({
41
41
  offsetX: pageX - this.cache.pageX,
42
42
  offsetY: pageY - this.cache.pageY,
43
+ pageX: pageX,
44
+ pageY: pageY,
45
+ startX: this.cache.pageX,
46
+ startY: this.cache.pageY,
43
47
  key: this.key
44
48
  });
45
49
  this.cache.pageX = pageX;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pubo-web",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -21,5 +21,5 @@
21
21
  "dependencies": {
22
22
  "pubo-utils": "^1.0.95"
23
23
  },
24
- "gitHead": "d626fb18ee0b20c0377396a0f2c3aa983ebb3e59"
24
+ "gitHead": "7c3ec88242912d7e3458d344328c25ca86fad9c8"
25
25
  }