1
0
Fork 0
mirror of synced 2024-07-12 09:45:48 +12:00
budibase/packages/server/builder/bundle.js

3 lines
817 KiB
JavaScript
Raw Normal View History

!function(){"use strict";function e(){}const t=e=>e;function n(e,t){for(const n in t)e[n]=t[n];return e}function r(e){return e()}function i(){return Object.create(null)}function o(e){e.forEach(r)}function a(e){return"function"==typeof e}function s(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function l(e,t,n){e.$$.on_destroy.push(function(e,t){const n=e.subscribe(t);return n.unsubscribe?()=>n.unsubscribe():n}(t,n))}function c(e,t,n){if(e){const r=u(e,t,n);return e[0](r)}}function u(e,t,r){return e[1]?n({},n(t.$$scope.ctx,e[1](r?r(t):{}))):t.$$scope.ctx}function d(e,t,r,i){return e[1]?n({},n(t.$$scope.changed||{},e[1](i?i(r):{}))):t.$$scope.changed||{}}const h="undefined"!=typeof window;let f=h?()=>window.performance.now():()=>Date.now(),p=h?e=>requestAnimationFrame(e):e;const g=new Set;let m,v=!1;function y(){g.forEach(e=>{e[0](f())||(g.delete(e),e[1]())}),(v=g.size>0)&&p(y)}function x(e){let t;return v||(v=!0,p(y)),{promise:new Promise(n=>{g.add(t=[e,n])}),abort(){g.delete(t)}}}function b(e,t){e.appendChild(t)}function w(e,t,n){e.insertBefore(t,n||null)}function $(e){e.parentNode.removeChild(e)}function _(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function k(e){return document.createElement(e)}function E(e){return document.createTextNode(e)}function C(){return E(" ")}function A(){return E("")}function j(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function I(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function S(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function T(e,t){t=""+t,e.data!==t&&(e.data=t)}function D(e,t){(null!=t||e.value)&&(e.value=t)}function M(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function N(e,t){for(let n=0;n<e.options.length;n+=1){const r=e.options[n];if(r.__value===t)return void(r.selected=!0)}}function O(e,t){for(let n=0;n<e.options.length;n+=1){const r=e.options[n];r.selected=~t.indexOf(r.__value)}}function P(e,t,n){e.classList[n?"add":"remove"](t)}class L{constructor(e,t=null){this.e=k("div"),this.a=t,this.u(e)}m(e,t=null){for(let n=0;n<this.n.length;n+=1)w(e,this.n[n],t);this.t=e}u(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}p(e){this.d(),this.u(e),this.m(this.t,this.a)}d(){this.n.forEach($)}}let F,R=0,z={};function B(e,t,n,r,i,o,a,s=0){const l=16.666/r;let c="{\n";for(let e=0;e<=1;e+=l){const r=t+(n-t)*o(e);c+=100*e+`%{${a(r,1-r)}}\n`}const u=c+`100% {${a(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${s}`;if(!z[d]){if(!m){const e=k("style");document.head.appendChild(e),m=e.sheet}z[d]=!0,m.insertRule(`@keyframes ${d} ${u}`,m.cssRules.length)}const h=e.style.animation||"";return e.style.animation=`${h?`${h}, `:""}${d} ${r}ms linear ${i}ms 1 both`,R+=1,d}function H(e,t){e.style.animation=(e.style.animation||"").split(", ").filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")).join(", "),t&&!--R&&p(()=>{if(R)return;let e=m.cssRules.length;for(;e--;)m.deleteRule(e);z={}})}function V(e){F=e}function W(){if(!F)throw new Error("Function called outside component initialization");return F}function U(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach(e=>e(t))}const Y=[],q=[],Q=[],K=[],J=Promise.resolve();let G,X=!1;function Z(e){Q.push(e)}function ee(e){K.push(e)}function te(){const e=new Set;do{for(;Y.length;){const e=Y.shift();V(e),ne(e.$$)}for(;q.length;)q.pop()();for(let t=0;t<Q.length;t+=1){const n=Q[t];e.has(n)||(n(),e.add(n))}Q.length=0}while(Y.length);for(;K.length;)K.pop()();X=!1}function ne(e){e.fragment&&(e.update(e.dirty),o(e.before_update),e.fragment.p(e.dirty,e.ctx),e.dirty=null,e.after_update.forEach(Z))}function re(){return G||(G=Promise.resolve()).then(()=>{G=null}),G}function ie(e,t,n){e.dispatchEvent(function(e,t){const n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}(`${t?"intro":"outro"}${n}`))}const oe=new Set;let ae;function se(){ae={r:0,c:[],p:ae}}function le(){ae.r||o(ae.c),ae=ae.p}function ce(e,t){e&&e.i&&(oe.delete(e),e.i(t))}function ue(e,t,n,r){if(e
2019-07-15 17:59:46 +12:00
//# sourceMappingURL=bundle.js.map