1 line
4.3 KiB
JavaScript
1 line
4.3 KiB
JavaScript
|
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)r.d(n,s,function(t){return e[t]}.bind(null,s));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="http://192.168.1.101:8000/",r(r.s=0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){!function(){var e=window.navigator.userAgent;window.isEdge=-1!==e.indexOf("Edge/"),window.isIE11=-1!==e.indexOf("Trident/"),window.isIE=-1!==e.indexOf("MSIE ")||window.isIE11,window.isFirefox=-1!==e.indexOf("Firefox");var t="X4CryptoTables",r=window.x4wp=window.x4wp||{styles:{},scripts:{},requests:{},plugins:{},builders:{}},n=document.querySelector('script[data-entry="x4-crypto-tables"]');if(n){var s=window[t]=window[t]||[];r.plugins[t]=s,void 0!==n.dataset.vcEnabled&&(r.builders[t]=r.builders[t]||{}),s.version="2.1.4";var i=n.dataset.ignore?n.dataset.ignore.split(","):[],a={styles:[["roboto","https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"],["material-icons","https://fonts.googleapis.com/icon?family=Material+Icons"]],scripts:[["ie:es6promise","https://cdnjs.cloudflare.com/ajax/libs/es6-promise/4.1.1/es6-promise.auto.min.js"],["vue","https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.runtime.min.js"],["vuex","https://cdnjs.cloudflare.com/ajax/libs/vuex/3.0.1/vuex.min.js"],["b:dr:sortable","https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.6.0/Sortable.min.js"],["chartjs","https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.bundle.min.js"],"/widget.js","b:dr:/builder.js"],requests:[["coincapRates",{method:"GET",url:"https://api.coincap.io/v2/rates?limit=2000"}],["coincapAssets",{method:"GET",url:"https://api.coincap.io/v2/assets?limit=2000"}],["coincapAssetsMeta",{method:"POST",url:"https://graphql.coincap.io",body:{query:"query{assets(first:2000,sort:rank,direction:ASC){edges{node{id,website,explorer}}}}"}}]]},o={styles:[],scripts:[],requests:[],handlers:{styles:function(e){var t=document.createElement("link");t.setAttribute("rel","stylesheet"),e.name&&t.setAttribute("data-name",e.name),t.setAttribute("href",e.value),document.head.appendChild(t)},scripts:function(e){var t=document.createElement("script");t.setAttribute("type","text/javascript"),e.name&&t.setAttribute("data-name",e.name),t.setAttribute("src",e.value),t.async=!0,document.head.appendChild(t)},requests:function(e){var t=e.value,n=t.url,s=t.method,i=t.headers,a=t.body,o=e.name;if(i=i||{},a=a||{},"GET"===(s=s?s.toUpperCase():"GET")||"POST"===s){var d=new XMLHttpRequest;for(var u in r.requests[o]={xmlHttp:d,callbacks:[],ready:!1,parsed:!1,lastTime:(new Date).getTime()},d.open(s,n,!0),i)d.setRequestHeader(u,i[u]);d.onreadystatechange=function(){if(4===d.readyState){r.requests[o].ready=!0;var e=r.requests[o].callbacks;r.requests[o].callbacks=[],e.forEach(function(e){return e(d)})}},"POST"===s?(d.setRequestHeader("Content-Type","application/json"),d.send(JSON.stringify(a))):d.send()}}}},d=function(e){if(!a[e])return"continue";a[e].forEach(function(t){var s,a,d=null;if(Array.isArray(t)?(s=t[0].split(":"),a=s.pop(),d=t[1]):(d=(s=t.split(":")).pop(),a="",d="/assets"+d,d=n.getAttribute("src").replace(/\/[^\/?]+(\?.+)?$/,d+"$1")),-1===i.indexOf(a)&&(-1===s.indexOf("ie")||window.isIE)&&(-1===s.indexOf("b")||void 0!==n.dataset.vcEnabled)){if(a){if(r[e][a])return;r[e][a]=d}(Array.isArray(d)?d:[d]).forEach(function(t){o[e].push({mods:s,name:a,value:t})})}})};for(var u in
|