Anvil/sb-addons/essentials-viewport-4/manager-bundle.js

4 lines
10 KiB
JavaScript
Raw Normal View History

2024-02-08 10:52:22 +01:00
try{
(()=>{var oe=Object.create;var H=Object.defineProperty;var ne=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var se=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty;var R=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof require<"u"?require:t)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var P=(e,t)=>()=>(e&&(t=e(e=0)),t);var ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ce=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of ae(t))!le.call(e,u)&&u!==o&&H(e,u,{get:()=>t[u],enumerable:!(n=ne(t,u))||n.enumerable});return e};var de=(e,t,o)=>(o=e!=null?oe(se(e)):{},ce(t||!e||!e.__esModule?H(o,"default",{value:e,enumerable:!0}):o,e));var h=P(()=>{});var g=P(()=>{});var y=P(()=>{});var J=ue((Z,B)=>{h();g();y();(function(e){if(typeof Z=="object"&&typeof B<"u")B.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,o;return function n(u,f,c){function i(a,b){if(!f[a]){if(!u[a]){var d=typeof R=="function"&&R;if(!b&&d)return d(a,!0);if(r)return r(a,!0);var S=new Error("Cannot find module '"+a+"'");throw S.code="MODULE_NOT_FOUND",S}var l=f[a]={exports:{}};u[a][0].call(l.exports,function(s){var p=u[a][1][s];return i(p||s)},l,l.exports,n,u,f,c)}return f[a].exports}for(var r=typeof R=="function"&&R,m=0;m<c.length;m++)i(c[m]);return i}({1:[function(n,u,f){u.exports=function(c){if(typeof Map!="function"||c){var i=n("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(n,u,f){function c(){return this.list=[],this.lastItem=void 0,this.size=0,this}c.prototype.get=function(i){var r;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(r=this.indexOf(i),r>=0)return this.lastItem=this.list[r],this.list[r].val},c.prototype.set=function(i,r){var m;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=r,this):(m=this.indexOf(i),m>=0?(this.lastItem=this.list[m],this.list[m].val=r,this):(this.lastItem={key:i,val:r},this.list.push(this.lastItem),this.size++,this))},c.prototype.delete=function(i){var r;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),r=this.indexOf(i),r>=0)return this.size--,this.list.splice(r,1)[0]},c.prototype.has=function(i){var r;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(r=this.indexOf(i),r>=0?(this.lastItem=this.list[r],!0):!1)},c.prototype.forEach=function(i,r){var m;for(m=0;m<this.size;m++)i.call(r||this,this.list[m].val,this.list[m].key,this)},c.prototype.indexOf=function(i){var r;for(r=0;r<this.size;r++)if(this.isEqual(this.list[r].key,i))return r;return-1},c.prototype.isEqual=function(i,r){return i===r||i!==i&&r!==r},u.exports=c},{}],3:[function(n,u,f){var c=n("map-or-similar");u.exports=function(a){var b=new c(!1),d=[];return function(S){var l=function(){var s=b,p,A,x=arguments.length-1,L=Array(x+1),E=!0,v;if((l.numArgs||l.numArgs===0)&&l.numArgs!==x+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(v=0;v<x;v++){if(L[v]={cacheItem:s,arg:arguments[v]},s.has(arguments[v])){s=s.get(arguments[v]);continue}E=!1,p=new c(!1),s.set(arguments[v],p),s=p}return E&&(s.has(arguments[x])?A=s.get(arguments[x]):E=!1),E||(A=S.apply(null,arguments),s.set(arguments[x],A)),a>0&&(L[x]={cacheItem:s,arg:arguments[x]},E?i(d,L):d.push(L),d.length>a&&r(d.shift())),l.wasMemoized=E,l.numArgs=x+1,A};return l.limit=a,l.wasMemoized=!1,l.cache=b,l.lru=d,l}};function i(a,b){var d=a.length,S=b.length,l,s,p;for(s=0;s<d;s++){for(l=!0,p=0;p<S;p++)if(!m(a[s][p].arg,b[p].arg)){l=!1;break}if(l)break}a.push(a.splice(s,1)[0])}function r(a){var b=a.length,d=a[b-1],S,l;for(d.cacheItem.delete(d.arg),l=b-2;l>=0&&(d=a[l],S=d.cacheItem.get(d.arg),!S||!S.size);l--)d.cacheItem.delete(d.arg)}function m(a,b){return a===b||a!==a&&b!==b}},{"map-or-similar":1}]},{},[3])(3)})});h();
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }