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

3 lines
749 KiB
JavaScript
Raw Normal View History

2019-07-15 17:59:46 +12:00
!function(){"use strict";function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(n)}function o(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(e,t,n){const r=t.subscribe(n);e.$$.on_destroy.push(r.unsubscribe?()=>r.unsubscribe():r)}function l(e,t,n){if(e){const r=c(e,t,n);return e[0](r)}}function c(e,n,r){return e[1]?t({},t(n.$$scope.ctx,e[1](r?r(n):{}))):n.$$scope.ctx}function u(e,n,r,i){return e[1]?t({},t(n.$$scope.changed||{},e[1](i?i(r):{}))):n.$$scope.changed||{}}function h(e,t){e.appendChild(t)}function f(e,t,n){e.insertBefore(t,n||null)}function d(e){e.parentNode.removeChild(e)}function p(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function m(e){return document.createTextNode(e)}function v(){return m(" ")}function y(){return m("")}function x(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function w(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n)}function b(e,t){t=""+t,e.data!==t&&(e.data=t)}function _(e,t,n){e.style.setProperty(t,n)}function $(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 k(e,t){for(let n=0;n<e.options.length;n+=1){const r=e.options[n];r.selected=~t.indexOf(r.__value)}}let A;function E(e){A=e}function j(e){(function(){if(!A)throw new Error("Function called outside component initialization");return A})().$$.on_mount.push(e)}function I(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach(e=>e(t))}const T=[],S=[],M=[],C=[],O=Promise.resolve();let D=!1;function N(e){M.push(e)}function P(e){C.push(e)}function R(){const e=new Set;do{for(;T.length;){const e=T.shift();E(e),L(e.$$)}for(;S.length;)S.pop()();for(let t=0;t<M.length;t+=1){const n=M[t];e.has(n)||(n(),e.add(n))}M.length=0}while(T.length);for(;C.length;)C.pop()();D=!1}function L(e){e.fragment&&(e.update(e.dirty),i(e.before_update),e.fragment.p(e.dirty,e.ctx),e.dirty=null,e.after_update.forEach(N))}const F=new Set;let z;function B(){z={r:0,c:[],p:z}}function H(){z.r||i(z.c),z=z.p}function V(e,t){e&&e.i&&(F.delete(e),e.i(t))}function W(e,t,n,r){if(e&&e.o){if(F.has(e))return;F.add(e),z.c.push(()=>{F.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}}function U(e,n){const r=n.token={};function i(e,i,o,a){if(n.token!==r)return;n.resolved=o&&{[o]:a};const s=t(t({},n.ctx),n.resolved),l=e&&(n.current=e)(s);n.block&&(n.blocks?n.blocks.forEach((e,t)=>{t!==i&&e&&(B(),W(e,1,1,()=>{n.blocks[t]=null}),H())}):n.block.d(1),l.c(),V(l,1),l.m(n.mount(),n.anchor),R()),n.block=l,n.blocks&&(n.blocks[i]=l)}if((o=e)&&"object"==typeof o&&"function"==typeof o.then){if(e.then(e=>{i(n.then,1,n.value,e)},e=>{i(n.catch,2,n.error,e)}),n.current!==n.pending)return i(n.pending,0),!0}else{if(n.current!==n.then)return i(n.then,1,n.value,e),!0;n.resolved={[n.value]:e}}var o}function Y(e,t,n){-1!==e.$$.props.indexOf(t)&&(e.$$.bound[t]=n,n(e.$$.ctx[t]))}function q(e,t,r){const{fragment:a,on_mount:s,on_destroy:l,after_update:c}=e.$$;a.m(t,r),N(()=>{const t=s.map(n).filter(o);l?l.push(...t):i(t),e.$$.on_mount=[]}),c.forEach(N)}function Q(e,t){e.$$.fragment&&(i(e.$$.on_destroy),e.$$.fragment.d(t),e.$$.on_destroy=e.$$.fragment=null,e.$$.ctx={})}function K(e,t){e.$$.dirty||(T.push(e),D||(D=!0,O.then(R)),e.$$.dirty=r()),e.$$.dirty[t]=!0}function J(t,n,o,a,s,l){const c=A;E(t);const u=n.props||{},h=t.$$={fragment:null,ctx:null,props:l,update:e,not_equal:s,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(c?c.$$.context:[]),callbacks:r(),dirty:null};let f=!1;var d;h.ctx=o?o(t,u,(e,n)=>{h.ctx&&s(h.ctx[e],h.ctx[e]=n)&&(h.bound[e]&&h.bound[e](n),f&&K(t,e))}):u,h.update(),f=!0,i(h.before_update),h.fragment=a(h.ctx),n.target&&(n.hydrate?h.fragment.l((d=n.target,Array.from(d.childNodes))):h.fragment.c(),n.intro&&V(t.$$.fragment),q(t,n.target,n.anchor),R()),E(c)}class G{$destroy(){Q(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]|
//# sourceMappingURL=bundle.js.map