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

4 lines
13 KiB
JavaScript
Raw Normal View History

2024-06-16 17:30:30 +02:00
try{
2024-07-31 10:01:28 +02:00
(()=>{var ie=Object.create;var H=Object.defineProperty;var ce=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var le=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty;var O=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):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 Ie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ue=(e,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ae(t))!se.call(e,a)&&a!==r&&H(e,a,{get:()=>t[a],enumerable:!(l=ce(t,a))||l.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?ie(le(e)):{},ue(t||!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e));var d=P(()=>{});var h=P(()=>{});var m=P(()=>{});var $=Ie((Z,D)=>{d();h();m();(function(e){if(typeof Z=="object"&&typeof D<"u")D.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,r;return function l(a,S,u){function i(c,I){if(!S[c]){if(!a[c]){var s=typeof O=="function"&&O;if(!I&&s)return s(c,!0);if(o)return o(c,!0);var g=new Error("Cannot find module '"+c+"'");throw g.code="MODULE_NOT_FOUND",g}var n=S[c]={exports:{}};a[c][0].call(n.exports,function(p){var b=a[c][1][p];return i(b||p)},n,n.exports,l,a,S,u)}return S[c].exports}for(var o=typeof O=="function"&&O,f=0;f<u.length;f++)i(u[f]);return i}({1:[function(l,a,S){a.exports=function(u){if(typeof Map!="function"||u){var i=l("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(l,a,S){function u(){return this.list=[],this.lastItem=void 0,this.size=0,this}u.prototype.get=function(i){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(o=this.indexOf(i),o>=0)return this.lastItem=this.list[o],this.list[o].val},u.prototype.set=function(i,o){var f;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=o,this):(f=this.indexOf(i),f>=0?(this.lastItem=this.list[f],this.list[f].val=o,this):(this.lastItem={key:i,val:o},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(i){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),o=this.indexOf(i),o>=0)return this.size--,this.list.splice(o,1)[0]},u.prototype.has=function(i){var o;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(o=this.indexOf(i),o>=0?(this.lastItem=this.list[o],!0):!1)},u.prototype.forEach=function(i,o){var f;for(f=0;f<this.size;f++)i.call(o||this,this.list[f].val,this.list[f].key,this)},u.prototype.indexOf=function(i){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,i))return o;return-1},u.prototype.isEqual=function(i,o){return i===o||i!==i&&o!==o},a.exports=u},{}],3:[function(l,a,S){var u=l("map-or-similar");a.exports=function(c){var I=new u(!1),s=[];return function(g){var n=function(){var p=I,b,R,y=arguments.length-1,E=Array(y+1),x=!0,C;if((n.numArgs||n.numArgs===0)&&n.numArgs!==y+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(C=0;C<y;C++){if(E[C]={cacheItem:p,arg:arguments[C]},p.has(arguments[C])){p=p.get(arguments[C]);continue}x=!1,b=new u(!1),p.set(arguments[C],b),p=b}return x&&(p.has(arguments[y])?R=p.get(arguments[y]):x=!1),x||(R=g.apply(null,arguments),p.set(arguments[y],R)),c>0&&(E[y]={cacheItem:p,arg:arguments[y]},x?i(s,E):s.push(E),s.length>c&&o(s.shift())),n.wasMemoized=x,n.numArgs=y+1,R};return n.limit=c,n.wasMemoized=!1,n.cache=I,n.lru=s,n}};function i(c,I){var s=c.length,g=I.length,n,p,b;for(p=0;p<s;p++){for(n=!0,b=0;b<g;b++)if(!f(c[p][b].arg,I[b].arg)){n=!1;break}if(n)break}c.push(c.splice(p,1)[0])}function o(c){var I=c.length,s=c[I-1],g,n;for(s.cacheItem.delete(s.arg),n=I-2;n>=0&&(s=c[n],g=s.cacheItem.get(s.arg),!g||!g.size);n--)s.cacheItem.delete(s.arg)}function f(c,I){return c===I||c!==c&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});d();
2024-06-16 17:30:30 +02:00
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }