(this["webpackJsonp@dcl/builder-site"]=this["webpackJsonp@dcl/builder-site"]||[]).push([[0],{102:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"z",(function(){return s})),n.d(t,"A",(function(){return c})),n.d(t,"y",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return u})),n.d(t,"g",(function(){return p})),n.d(t,"w",(function(){return m})),n.d(t,"x",(function(){return b})),n.d(t,"v",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return y})),n.d(t,"j",(function(){return _})),n.d(t,"C",(function(){return g})),n.d(t,"D",(function(){return j})),n.d(t,"B",(function(){return O})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return C})),n.d(t,"a",(function(){return x})),n.d(t,"t",(function(){return w})),n.d(t,"u",(function(){return E})),n.d(t,"s",(function(){return S})),n.d(t,"n",(function(){return A})),n.d(t,"o",(function(){return T})),n.d(t,"m",(function(){return R})),n.d(t,"F",(function(){return k})),n.d(t,"G",(function(){return N})),n.d(t,"E",(function(){return P})),n.d(t,"q",(function(){return I})),n.d(t,"r",(function(){return L})),n.d(t,"p",(function(){return M})),n.d(t,"I",(function(){return D})),n.d(t,"J",(function(){return F})),n.d(t,"H",(function(){return U}));var o=n(11);const a="[Request] Fetch Collection Curations",i="[Success] Fetch Collection Curations",r="[Failure] Fetch Collection Curations",s=()=>Object(o.action)(a),c=e=>Object(o.action)(i,{curations:e}),l=e=>Object(o.action)(r,{error:e}),d="[Request] Fetch Collection CollectionCuration",u="[Success] Fetch Collection CollectionCuration",p="[Failure] Fetch Collection CollectionCuration",m=e=>Object(o.action)(d,{collectionId:e}),b=(e,t)=>Object(o.action)(u,{collectionId:e,curation:t}),h=e=>Object(o.action)(p,{error:e}),f="[Request] Push Collection CollectionCuration",y="[Success] Push Collection CollectionCuration",_="[Failure] Push Collection CollectionCuration",g=e=>Object(o.action)(f,{collectionId:e}),j=()=>Object(o.action)(y),O=e=>Object(o.action)(_,{error:e}),v="[Request] Approve Collection Curation",C="[Success] Approve Collection Curation",x="[Failure] Approve Collection Curation",w=e=>Object(o.action)(v,{collectionId:e}),E=e=>Object(o.action)(C,{collectionId:e}),S=(e,t)=>Object(o.action)(x,{collectionId:e,error:t}),A="[Request] Reject Collection Curation",T="[Success] Reject Collection Curation",R="[Failure] Reject Collection Curation",k=e=>Object(o.action)(A,{collectionId:e}),N=e=>Object(o.action)(T,{collectionId:e}),P=(e,t)=>Object(o.action)(R,{collectionId:e,error:t}),I="[Request] Set Collection Curation Assignee",L="[Success] Set Collection Curation Assignee",M="[Failure] Set Collection Curation Assignee",D=(e,t,n)=>Object(o.action)(I,{collectionId:e,assignee:t,curation:n}),F=(e,t)=>Object(o.action)(L,{collectionId:e,curation:t}),U=(e,t)=>Object(o.action)(M,{collectionId:e,error:t})},1040:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(386),a=n(93);function i(e,t,n){const i=Object(a.getContract)(a.ContractName.MANAToken,t).address,r=Object(a.getContract)(n,t).address;return{type:o.AuthorizationType.ALLOWANCE,address:e,contractName:a.ContractName.MANAToken,contractAddress:i,authorizedAddress:r,chainId:t}}},1045:function(e,t,n){"use strict";var o=n(2),a=n.n(o),i=n(35),r=n.n(i),s=n(7),c=n(5),l=n(31),d=n(1104),u=n.n(d),p=n(0);const m=e=>{let{className:t,rarity:n,size:o,withTooltip:a}=e;const i=Object(p.jsx)("div",{className:r()([u.a.badge,u.a[o],t]),style:{backgroundColor:l.Rarity.getColor(n)},title:a?"":Object(c.t)(`rarity_description.${n}`),children:Object(p.jsx)("span",{className:u.a.text,children:Object(c.t)(`wearable.rarity.${n}`)})});return a?Object(p.jsx)(s.Popup,{position:"top center",content:Object(c.t)(`rarity_description.${n}`),trigger:i}):i};m.defaultProps={size:"medium",withTooltip:!0};var b=a.a.memo(m);t.a=b},1046:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n(2),a=n.n(o),i=n(7),r=n(35),s=n.n(r),c=n(418),l=n(1329),d=n.n(l),u=n(0);const p=e=>{const{options:t,className:n}=e,o=[d.a.OptionsDropdown];return n&&o.push(n),Object(u.jsx)(i.Dropdown,{className:s()(d.a.OptionsDropdown,n),direction:"left",onClick:Object(c.a)(),children:Object(u.jsx)(i.Dropdown.Menu,{children:t.map(((e,t)=>Object(u.jsx)(i.Dropdown.Item,{text:e.text,onClick:e.handler},t)))})})};var m=a.a.memo(p)},105:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return i})),n.d(t,"e",(function(){return r})),n.d(t,"n",(function(){return s})),n.d(t,"o",(function(){return c})),n.d(t,"m",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"p",(function(){return u})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return b})),n.d(t,"k",(function(){return h})),n.d(t,"l",(function(){return f})),n.d(t,"j",(function(){return y})),n.d(t,"a",(function(){return _})),n.d(t,"i",(function(){return g}));var o=n(11);const a="[Request] Login",i="[Success] Login",r="[Failure] Login",s=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(o.action)(a,{restoreSession:t,providerType:e})},c=(e,t)=>Object(o.action)(i,{wallet:e,identity:t}),l=e=>Object(o.action)(r,{error:e}),d="Logout",u=()=>Object(o.action)(d),p="[Request] Generate Identity",m="[Success] Generate Identity",b="[Failure] Generate Identity",h=e=>Object(o.action)(p,{address:e}),f=(e,t)=>Object(o.action)(m,{address:e,identity:t}),y=(e,t)=>Object(o.action)(b,{address:e,error:t}),_="Destroy Identity",g=e=>Object(o.action)(_,{address:e})},1054:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var o=n(31),a=n(140);function i(){return[new a.Color4(1,.8941177,.7764706,1),new a.Color4(1,.8666667,.7372549,1),new a.Color4(.9490196,.7607843,.6470588,1),new a.Color4(.8666667,.6941177,.5607843,1),new a.Color4(.8,.6078432,.4666667,1),new a.Color4(.6039216,.4627451,.3568628,1),new a.Color4(.4392157,.3647059,.2784314,1),new a.Color4(.4392157,.2980392,.2196078,1),new a.Color4(.3215686,.172549,.1098039,1),new a.Color4(.2352941,.1333333,.08627451,1)]}function r(){return[new a.Color4(.1098039,.1098039,.1098039,1),new a.Color4(.2352941,.1294118,.04313726,1),new a.Color4(.3568628,.1921569,.05882353,1),new a.Color4(.4823529,.282353,.09411765,1),new a.Color4(.5960785,.372549,.2156863,1),new a.Color4(.5490196,.1254902,.07843138,1),new a.Color4(.9137255,.509804,.2039216,1),new a.Color4(1,.7450981,.1568628,1)]}function s(){return[new a.Color4(.2117647,.1490196,.1490196,1),new a.Color4(.372549,.2235294,.1960784,1),new a.Color4(.5254902,.3803922,.2588235,1),new a.Color4(.7490196,.6196079,.3529412,1),new a.Color4(.5294118,.5019608,.4705882,1),new a.Color4(.6862745,.772549,.7803922,1),new a.Color4(.1254902,.7019608,.9647059,1),new a.Color4(.2235294,.4862745,.6901961,1),new a.Color4(.282353,.8627451,.4588235,1),new a.Color4(.2313726,.6235294,.3137255,1)]}o.BodyShape.MALE,o.BodyShape.FEMALE},1083:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));var o=n(48);const a=e=>e.entity,i=e=>a(e).loading,r=Object(o.a)((e=>a(e).data),(e=>Object.values(e)))},1084:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var o=n(11);const a="Open Login Modal",i=()=>Object(o.action)(a,{})},1085:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(2),a=n(218);function i(){const[e,t]=Object(o.useState)(!1),[n,i]=Object(o.useState)(!0),[r,s]=Object(o.useState)(0),[c,l]=Object(o.useState)(0),d=Object(o.useRef)(null);Object(o.useEffect)((()=>{const e=d.current,t=async()=>{const t=await Object(a.b)(e.src);s(t),l(e.duration),i(!1)};return e&&e.addEventListener("loadedmetadata",t),()=>{e&&e.removeEventListener("loadedmetadata",t)}}),[]);const u=()=>d.current&&d.current.currentTime>0&&!d.current.paused&&!d.current.ended&&d.current.readyState>d.current.HAVE_CURRENT_DATA,p=Object(o.useCallback)((async()=>{t(!0),d.current&&!u()&&await d.current.play()}),[]),m=Object(o.useCallback)((()=>{t(!1),d.current&&u()&&(d.current.pause(),d.current.currentTime=0)}),[]);return{hovered:e,video:d,size:r,duration:c,isLoading:n,onMouseEnter:p,onMouseLeave:m}}},1089:function(e,t,n){"use strict";var o=n(30),a=n(491),i=n(2),r=n.n(i),s=n(5),c=n.p+"static/media/pride-logo.d20d7ce7.png",l=n.p+"static/media/pride_hat.1005e02d.png",d=(n(3576),n(0));const u=e=>{let{isCampaignEnabled:t}=e;return t?Object(d.jsxs)("div",{className:"EventBanner",children:[Object(d.jsxs)("div",{className:"event-banner-text event-banner-logo-container",children:[Object(d.jsx)("span",{className:"subtitle",children:Object(s.t)("event_banner.small.dates")}),Object(d.jsx)("img",{src:c,alt:Object(s.t)("event_banner.event_tag"),className:"event-banner-logo"}),Object(d.jsx)("span",{children:Object(s.t)("event_banner.small.information")})]}),Object(d.jsxs)("div",{className:"event-banner-text",children:[Object(d.jsx)("span",{className:"title",children:Object(s.t)("event_banner.small.title")}),Object(d.jsx)("span",{className:"subtitle",children:Object(s.t)("event_banner.small.subtitle",{event_tag:Object(d.jsxs)("b",{className:"event-banner-pink",children:["'#",Object(s.t)("event_banner.event_tag"),"'"]}),enter:Object(d.jsx)("br",{})})})]}),Object(d.jsx)("img",{src:l,alt:Object(s.t)("event_banner.event_tag"),className:"event-banner-hat"})]}):null};var p=r.a.memo(u);t.a=Object(o.connect)((e=>({isCampaignEnabled:Object(a.b)(e)})),{})(p)},1090:function(e,t,n){"use strict";var o=n(2),a=n(35),i=n.n(a),r=(n(3438),n(0));class s extends o.PureComponent{render(){const{className:e,size:t}=this.props;return Object(r.jsx)("div",{className:i()("Square",e,t)})}}s.defaultProps={className:"",size:"medium"};var c=s;n(3439);class l extends o.PureComponent{constructor(){super(...arguments),this.handleOnClick=()=>{this.props.onClick()}}times(e,t){return new Array(e).fill(0).map(((e,n)=>t(n)))}render(){const{rows:e,cols:t,size:n}=this.props;return Object(r.jsx)("div",{className:`SquaresGrid squares-grid-${e}-${t} ${n}`,onClick:this.handleOnClick,children:1===e&&1===t?Object(r.jsx)(c,{size:n||"medium"}):this.times(t,(t=>Object(r.jsx)("div",{className:"squares-grid-col",children:this.times(e,(e=>Object(r.jsx)(c,{size:n||"small"},e)))},t)))})}}l.defaultProps={size:"",onClick:()=>{}};t.a=l},1104:function(e,t,n){e.exports={badge:"RarityBadge_badge__36baB",medium:"RarityBadge_medium__f5q4z",text:"RarityBadge_text__3wxVZ",small:"RarityBadge_small__1wihO"}},115:function(e,t,n){"use strict";n.d(t,"d",(function(){return p})),n.d(t,"w",(function(){return m})),n.d(t,"t",(function(){return b})),n.d(t,"s",(function(){return h})),n.d(t,"o",(function(){return f})),n.d(t,"i",(function(){return y})),n.d(t,"m",(function(){return _})),n.d(t,"h",(function(){return g})),n.d(t,"l",(function(){return j})),n.d(t,"k",(function(){return O})),n.d(t,"y",(function(){return v})),n.d(t,"g",(function(){return C})),n.d(t,"x",(function(){return x})),n.d(t,"u",(function(){return w})),n.d(t,"f",(function(){return E})),n.d(t,"e",(function(){return S})),n.d(t,"r",(function(){return A})),n.d(t,"q",(function(){return T})),n.d(t,"n",(function(){return R})),n.d(t,"v",(function(){return k})),n.d(t,"j",(function(){return N})),n.d(t,"p",(function(){return P})),n.d(t,"a",(function(){return I})),n.d(t,"c",(function(){return L})),n.d(t,"b",(function(){return M})),n.d(t,"z",(function(){return D}));var o=n(93),a=n(80),i=n(41),r=n(118),s=n(92),c=n(40),l=n(27),d=n(189),u=n(239);const p="UnsyncedCollection:";function m(e,t,n){return[{address:f(t.networks.MATIC.chainId),hasAccess:n,collection:e}]}function b(e,t){const n=f(t.networks.MATIC.chainId);return Object(r.a)(e.minters,n)}function h(e){if(!e.lock||e.isPublished)return!1;const t=new Date(e.lock);return t.setDate(t.getDate()+1),t.getTime()>Date.now()}function f(e){return Object(o.getContract)(o.ContractName.CollectionStore,e).address.toLowerCase()}function y(e,t){var n;return i.a.itemEditor({collectionId:e.id,itemId:null===(n=Object(c.x)(t))||void 0===n?void 0:n.id})}function _(e){let{collectionId:t,item_ids:n,position:o}=e;if(!t&&!n)throw new Error("Either a collection or item ids must be specified to get the explorer url");let i=`${a.a.get("EXPLORER_URL","")}?BUILDER_SERVER_URL=${a.a.get("BUILDER_SERVER_URL","")}&NETWORK=sepolia&DEBUG_MODE=true`;t?i+=`&WITH_COLLECTIONS=${t}`:n&&(i+=`&WITH_ITEMS=${n.join(",")}`),o&&(i+=`&position=${o.x},${o.y}`);return`${i}&DISABLE_backpack_editor_v2=&ENABLE_backpack_editor_v1=`}function g(){return a.a.get("ERC721_COLLECTION_BASE_URI","")}function j(e){const{type:t}=Object(s.e)(e.urn);switch(t){case s.a.COLLECTIONS_THIRDPARTY:return d.b.THIRD_PARTY;case s.a.COLLECTIONS_V2:case s.a.BASE_AVATARS:return d.b.STANDARD;default:throw new Error(`Tried to get a collection type from an invalid URN: ${e.urn}`)}}function O(e){return"DCL-"+e.name.replace(/a|e|i|o|u|\s/g,"").toUpperCase()}function v(e){return e.reduce(((e,t)=>{const{items:n,...o}=t;return e[t.id]=o,e}),{})}function C(e,t){return!!e&&[e.owner,...e.managers,...e.minters].some((e=>Object(r.b)(e,t)))}function x(e,t){return t.createdAt-e.createdAt}function w(e,t){return!!t&&Object(r.b)(e.owner,t)}function E(e,t){return e.isApproved&&(w(e,t)||function(e,t){return!!t&&e.minters.some((e=>Object(r.b)(e,t)))}(e,t))}function S(e,t){return w(e,t)||function(e,t){return!!t&&e.managers.some((e=>Object(r.b)(e,t)))}(e,t)}function A(e){return e.reviewedAt!==e.createdAt}function T(e){return e.reduce(((e,t)=>e+t.amount),0)}function R(e,t){const n=Object.values(l.s);return n.indexOf(e)<n.indexOf(t)?e:t}function k(e){return Object(s.i)(e.urn)}function N(e){return Object(o.getContract)(o.ContractName.CollectionFactoryV3,e)}const P=e=>e<u.d?e:e>=u.d&&e*u.e<u.c?Math.max(u.d,Math.ceil(e*u.e)):Math.min(Math.ceil(e*u.e),u.c);class I extends Error{constructor(e){super("Failed to download the entity's contents"),this.item=e,this.item=e}}class L extends Error{constructor(e){super("Failed to deploy the entity"),this.item=e,this.item=e}}class M extends Error{constructor(e){super("Failed to update curation"),this.item=e,this.item=e}}const D=e=>{const{limit:t,currentPage:n,totalPages:o,total:a}=e;return{limit:t,total:a,pages:o,page:n}}},117:function(e,t,n){"use strict";n.d(t,"j",(function(){return r})),n.d(t,"k",(function(){return s})),n.d(t,"i",(function(){return c})),n.d(t,"E",(function(){return l})),n.d(t,"F",(function(){return d})),n.d(t,"D",(function(){return u})),n.d(t,"p",(function(){return p})),n.d(t,"q",(function(){return m})),n.d(t,"N",(function(){return b})),n.d(t,"O",(function(){return h})),n.d(t,"M",(function(){return f})),n.d(t,"g",(function(){return y})),n.d(t,"h",(function(){return _})),n.d(t,"B",(function(){return g})),n.d(t,"C",(function(){return j})),n.d(t,"A",(function(){return O})),n.d(t,"l",(function(){return v})),n.d(t,"m",(function(){return C})),n.d(t,"H",(function(){return x})),n.d(t,"I",(function(){return w})),n.d(t,"G",(function(){return E})),n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return A})),n.d(t,"s",(function(){return T})),n.d(t,"t",(function(){return R})),n.d(t,"r",(function(){return k})),n.d(t,"e",(function(){return N})),n.d(t,"f",(function(){return P})),n.d(t,"y",(function(){return I})),n.d(t,"z",(function(){return L})),n.d(t,"x",(function(){return M})),n.d(t,"c",(function(){return D})),n.d(t,"d",(function(){return F})),n.d(t,"v",(function(){return U})),n.d(t,"w",(function(){return B})),n.d(t,"u",(function(){return z})),n.d(t,"n",(function(){return H})),n.d(t,"o",(function(){return W})),n.d(t,"K",(function(){return G})),n.d(t,"L",(function(){return Y})),n.d(t,"J",(function(){return Q}));var o=n(11),a=n(124),i=n(81);const r="[Request] Fetch Lands",s="[Success] Fetch Lands",c="[Failure] Fetch Lands",l=e=>Object(o.action)(r,{address:e}),d=(e,t,n,a)=>Object(o.action)(s,{address:e,lands:t,authorizations:n,rentals:a}),u=(e,t)=>Object(o.action)(c,{address:e,error:t}),p="[Request] Transfer Land",m="[Success] Transfer Land",b=(e,t)=>Object(o.action)(p,{land:e,address:t}),h=(e,t,n,r)=>Object(o.action)(m,{land:e,address:t,...Object(a.buildTransactionPayload)(n,r,{id:e.id,name:e.name,address:t,selection:Object(i.o)(e)})}),f=(e,t,n)=>Object(o.action)("[Failure] Transfer Land",{land:e,address:t,error:n}),y="[Request] Edit Land",_="[Success] Edit Land",g=(e,t,n)=>Object(o.action)(y,{land:e,name:t,description:n}),j=(e,t,n,r,s)=>Object(o.action)(_,{land:e,name:t,description:n,...Object(a.buildTransactionPayload)(r,s,{id:e.id,name:t,description:n,selection:Object(i.o)(e)})}),O=(e,t,n,a)=>Object(o.action)("[Failure] Edit Land",{land:e,name:t,description:n,error:a}),v="[Request] Set Operator",C="[Success] Set Operator",x=(e,t)=>Object(o.action)(v,{land:e,address:t}),w=(e,t,n,r)=>Object(o.action)(C,{land:e,address:t,...Object(a.buildTransactionPayload)(n,r,{id:e.id,name:e.name,address:t,selection:Object(i.o)(e)})}),E=(e,t,n)=>Object(o.action)("[Failure] Set Operator",{land:e,address:t,error:n}),S="[Request] Create Estate",A="[Success] Create Estate",T=(e,t,n)=>Object(o.action)(S,{name:e,description:t,coords:n}),R=(e,t,n,i,r)=>Object(o.action)(A,{name:e,description:t,coords:n,...Object(a.buildTransactionPayload)(i,r,{name:e,description:t,size:n.length,selection:n})}),k=(e,t,n,a)=>Object(o.action)("[Failure] Create Estate",{name:e,description:t,coords:n,error:a}),N="[Request] Edit Estate",P="[Success] Edit Estate",I=(e,t,n)=>Object(o.action)(N,{land:e,toAdd:t,toRemove:n}),L=(e,t,n,r,s)=>Object(o.action)(P,{land:e,coords:t,type:n,...Object(a.buildTransactionPayload)(r,s,{id:e.id,name:e.name,count:t.length,type:n,selection:Object(i.o)(e)})}),M=(e,t,n,a)=>Object(o.action)("[Failure] Edit Estate",{land:e,toAdd:t,toRemove:n,error:a}),D="[Request] Dissolve Estate",F="[Success] Dissolve Estate",U=e=>Object(o.action)(D,{land:e}),B=(e,t,n)=>Object(o.action)(F,{land:e,...Object(a.buildTransactionPayload)(t,n,{id:e.id,name:e.name,selection:Object(i.o)(e)})}),z=(e,t)=>Object(o.action)("[Failure] Dissolve Estate",{land:e,error:t}),H="[Request] Set Update Manager",W="[Success] Set Update Manager",G=(e,t,n)=>Object(o.action)(H,{address:e,isApproved:n,type:t}),Y=(e,t,n,i,r)=>Object(o.action)(W,{address:e,type:t,isApproved:n,...Object(a.buildTransactionPayload)(i,r,{address:e,type:t,isApproved:n})}),Q=(e,t,n,a)=>Object(o.action)("[Failure] Set Update Manager",{address:e,type:t,isApproved:n,error:a})},118:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return s}));const o=(e,t)=>e.some((e=>a(e,t))),a=(e,t)=>e.toLowerCase()===t.toLowerCase(),i=e=>/^0x(0)+$/.test(e),r=e=>/^0x[a-fA-F0-9]{40}$/g.test(e);function s(e){return e?e.slice(0,6)+"..."+e.slice(37):""}},120:function(e,t,n){"use strict";let o,a;n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),function(e){e.MOVE="MOVE",e.ROTATE="ROTATE",e.SCALE="SCALE",e.NONE="NONE"}(o||(o={})),function(e){e.PROJECT="project",e.PUBLIC="public",e.POOL="pool",e.TEMPLATE="template"}(a||(a={}))},126:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return u}));var o=n(80);const a=o.a.get("MANA_TOKEN_CONTRACT_ADDRESS",""),i=o.a.get("LAND_REGISTRY_CONTRACT_ADDRESS",""),r=o.a.get("ESTATE_REGISTRY_CONTRACT_ADDRESS",""),s=o.a.get("ENS_CONTRACT_ADDRESS",""),c=o.a.get("RESOLVER_CONTRACT_ADDRESS",""),l=o.a.get("CONTROLLER_V2_CONTRACT_ADDRESS",""),d=o.a.get("REGISTRAR_CONTRACT_ADDRESS",""),u=o.a.get("RENTALS_CONTRACT_ADDRESS","")},127:function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"l",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"j",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"n",(function(){return f})),n.d(t,"m",(function(){return y})),n.d(t,"k",(function(){return _})),n.d(t,"e",(function(){return g})),n.d(t,"b",(function(){return j})),n.d(t,"d",(function(){return O})),n.d(t,"a",(function(){return v})),n.d(t,"g",(function(){return C})),n.d(t,"f",(function(){return x}));var o=n(48),a=n(54),i=n(245),r=n(232),s=n(81),c=n(256),l=n(129);const d=e=>e.deployment,u=e=>d(e).data,p=e=>d(e).loading.length>0,m=e=>d(e).error,b=e=>d(e).progress,h=e=>d(e).loading,f=e=>d(e).progress.stage===l.b.UPLOAD_RECORDING,y=e=>d(e).progress.stage===l.b.UPLOAD_SCENE_ASSETS,_=e=>d(e).progress.stage===l.b.CREATE_FILES,g=Object(o.a)(u,a.g,((e,t)=>{const n={};for(const o of Object.values(e)){const e=o.projectId&&o.projectId in t?t[o.projectId]:null;if(e){e.id in n||(n[e.id]=[]),n[e.id].push(o)}}return n})),j=Object(o.a)(g,a.b,((e,t)=>t&&t.id in e?e[t.id]:[])),O=Object(o.a)(g,a.g,((e,t)=>{const n={};for(const o of Object.values(t)){const t=(e[o.id]||[]).map((e=>Object(c.f)(o,e))),a=Object(c.i)(t);n[o.id]=a}return n})),v=Object(o.a)(a.b,O,((e,t)=>e?t[e.id]:l.a.UNPUBLISHED)),C=Object(o.a)((e=>Object(i.c)(e)),(e=>Object(i.f)(e)),((e,t)=>{const n={};for(const o of Object.keys(t)){const a=o in e,i=t[o].land.role;a||(n[o]={color:s.g[i],scale:1})}for(const o of Object.keys(n)){const e=t[o].land,[a,i]=Object(s.v)(o),r=Object(s.f)(a,i+1),c=Object(s.f)(a-1,i),l=Object(s.f)(a-1,i+1),d=t[r],u=t[c],p=t[l],m=!!d&&d.land.id===e.id,b=!!u&&u.land.id===e.id,h=!!p&&p.land.id===e.id;n[o]={...n[o],top:m,left:b,topLeft:h}}return n})),x=Object(o.a)(u,r.f,r.k,((e,t,n)=>{const o={},a=[...t.filter((e=>!!e.worldStatus)),...n.filter((e=>!!e.worldStatus))];for(const i of a)o[i.subdomain]=e[i.worldStatus.scene.entityId];return o}))},129:function(e,t,n){"use strict";let o,a;n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),function(e){e[e.NONE=0]="NONE",e[e.UPLOAD_RECORDING=1]="UPLOAD_RECORDING",e[e.CREATE_FILES=2]="CREATE_FILES",e[e.UPLOAD_SCENE_ASSETS=3]="UPLOAD_SCENE_ASSETS"}(o||(o={})),function(e){e[e.UNPUBLISHED=0]="UNPUBLISHED",e[e.PUBLISHED=1]="PUBLISHED",e[e.NEEDS_SYNC=2]="NEEDS_SYNC"}(a||(a={}))},1304:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.ACTIVE="active",e.COMING_SOON="coming_soon"}(o||(o={}))},1308:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.RESOLVER="Resolver",e.CONTENT="Content"}(o||(o={}))},1310:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ct})),n.d(t,"b",(function(){return wt}));var o=n(2),a=n.n(o),i=n(7),r=n(317),s=n(871),c=n(65);const l="experiment-tutorial-open";var d=new s.Experiments({[l]:new s.Experiment({name:"tutorial_show_vs_hide",variants:[new s.Variant("tutorial_show",.5,!0),new s.Variant("tutorial_hide",.5,!1)],track(e,t){"track"===e.type&&e.name===c.a&&t.complete()}})}),u=n(1841),p=n(547),m=n(30),b=n(298),h=n(54),f=n(705),y=n(96),_=n(79),g=n(43),j=n(89),O=n(280),v=n(628),C=n(1337),x=n(373),w=n(5),E=(n(3480),n(0));class S extends x.a{renderShortcut(e){const t=Object(x.d)(e.value);return 1===t.length?t.toUpperCase():t}renderPlus(){return"+"}renderOr(){return Object(w.t)("global.or")}renderHold(){return Object(w.t)("shortcuts.hold")+" "}}const A=new S;class T extends o.PureComponent{constructor(){super(...arguments),this.renderShortcutSequence=e=>"combination"===e.type?A.renderCombination(e).join(" "):"alternative"===e.type?A.renderAlternative(e,!0).join(" "):A.renderShortcut(e)}render(){const{shortcutDefinition:e,children:t,position:n,className:o,popupClassName:a,onOpen:r,onClose:s}=this.props,c=Object(E.jsxs)("span",{className:"ShortcutTooltip",children:[Object(E.jsx)("span",{className:"label",children:e.title}),Object(E.jsxs)("span",{className:"sequence",children:["(",this.renderShortcutSequence(e),")"]})]});return Object(E.jsx)(i.Popup,{className:a,content:c,position:n,onOpen:r,onClose:s,trigger:Object(E.jsx)("span",{className:o,children:t}),on:"hover",inverted:!0})}}T.defaultProps={className:"",popupClassName:"",onOpen:e=>{},onClose:e=>{}};var R=Object(m.connect)(((e,t)=>({shortcutDefinition:Object(x.c)()[t.shortcut]})))(T),k=n(252),N=n(74),P=n(127),I=n(182),L=n(129),M=n(272);n(3481);class D extends o.PureComponent{constructor(){super(...arguments),this.handleClearDeployment=()=>{const{project:e,onOpenModal:t}=this.props;t("DeployModal",{view:M.a.CLEAR_DEPLOYMENT,projectId:e.id})},this.handleClick=()=>{const{project:e,onOpenModal:t}=this.props;t("DeployModal",{view:M.a.NONE,projectId:e.id})},this.isUpdate=()=>{const{deploymentStatus:e}=this.props;return e!==L.a.UNPUBLISHED},this.getExceededMetric=()=>{const{metrics:e,limits:t}=this.props,n=Object(I.e)(e,t);return n.length>0?n[0]:""},this.renderPopupContent=()=>{const{areEntitiesOutOfBoundaries:e,deploymentStatus:t}=this.props,n=this.getExceededMetric();return e?Object(E.jsx)(w.T,{id:"topbar.bounds_exceeded",values:{br:Object(E.jsx)("br",{})}}):""!==n?Object(E.jsx)(w.T,{id:"topbar.limits_exceeded",values:{metric:n,br:Object(E.jsx)("br",{})}}):t===L.a.PUBLISHED?Object(E.jsx)(w.T,{id:"topbar.up_to_date",values:{br:Object(E.jsx)("br",{})}}):null}}render(){const{areEntitiesOutOfBoundaries:e,project:t,isLoading:n}=this.props,o=this.getExceededMetric(),a=n||(""!==o||e)||!t.thumbnail,r=n||!a;return Object(E.jsx)("span",{className:"DeployButton tool",children:Object(E.jsx)(i.Popup,{content:this.renderPopupContent(),position:"bottom center",disabled:r,trigger:Object(E.jsx)("span",{children:Object(E.jsx)(i.Button,{primary:!0,size:"mini",onClick:this.handleClick,disabled:a,children:Object(w.t)("global.publish")})}),on:"hover"})})}}D.defaultProps={onClick:()=>{}};var F=Object(m.connect)((e=>({project:Object(h.b)(e),limits:Object(j.e)(e),metrics:Object(j.f)(e),isLoading:!Object(y.x)(e)||Object(y.s)(e),areEntitiesOutOfBoundaries:Object(y.a)(e),deploymentStatus:Object(P.a)(e)})),(e=>({onOpenModal:(t,n)=>e(Object(_.openModal)(t,n))})))(D);n(3482);class U extends o.PureComponent{constructor(){super(...arguments),this.handleClick=()=>{const{onOpenModal:e}=this.props;e("ContestModal")}}render(){const{isLoading:e}=this.props;return Object(E.jsx)("span",{className:"DeployContestButton tool",children:Object(E.jsx)("span",{children:Object(E.jsx)(i.Button,{size:"mini",onClick:this.handleClick,disabled:e,children:Object(w.t)("deployment_contest_modal.action")})})})}}U.defaultProps={onClick:()=>{}};var B=Object(m.connect)((e=>({project:Object(h.b)(e),isLoading:!Object(y.x)(e)||Object(y.s)(e)})),(e=>({onOpenModal:(t,n)=>e(Object(_.openModal)(t,n))})))(U),z=n(507);n(3483);class H extends o.PureComponent{constructor(){super(...arguments),this.handleClick=()=>{const{project:e,onOpenModal:t}=this.props;t("ShareModal",{type:z.a.PROJECT,id:e.id})}}render(){const{isLoading:e}=this.props;return Object(E.jsx)("div",{className:"ShareButton tool",children:Object(E.jsx)(i.Button,{size:"mini",onClick:this.handleClick,disabled:e,children:Object(w.t)("global.share")})})}}H.defaultProps={onClick:()=>{}};var W=Object(m.connect)((e=>({project:Object(h.b)(e),isLoading:!Object(y.x)(e)||Object(y.s)(e)})),(e=>({onOpenModal:(t,n)=>e(Object(_.openModal)(t,n))})))(H),G=n(41),Y=n(120),Q=n(94);n(3484);const V=v.IntercomWidget.getInstance();class q extends o.PureComponent{constructor(){super(...arguments),this.handleMoveMode=()=>{const{gizmo:e,onSetGizmo:t}=this.props;t(e===Y.a.MOVE?Y.a.NONE:Y.a.MOVE)},this.handleRotateMode=()=>{const{gizmo:e,onSetGizmo:t}=this.props;t(e===Y.a.ROTATE?Y.a.NONE:Y.a.ROTATE)},this.handleScaleMode=()=>{const{gizmo:e,onSetGizmo:t}=this.props;t(e===Y.a.SCALE?Y.a.NONE:Y.a.SCALE)},this.handleTogglePreview=()=>{const{onTogglePreview:e,isPreviewing:t}=this.props;V.unmount(),e(!t)},this.handleToggleSidebar=()=>{const{onToggleSidebar:e,isSidebarOpen:t}=this.props;e(!t)},this.handleTitleClick=()=>{const{isLoading:e,onOpenModal:t}=this.props;e||t("EditProjectModal")},this.handleGoBack=()=>{const{currentProject:e,onNavigate:t,onBack:n,hasHistory:o}=this.props;o?n():t(e?G.a.sceneDetail(e.id):G.a.root())},this.handleExport=()=>{this.props.onOpenModal("ExportModal",{project:this.props.currentProject})}}isSceneLoading(){const{metrics:e,isLoading:t}=this.props;return t||e.entities>0&&0===e.triangles}render(){const{gizmo:e,currentProject:t,currentPoolGroup:n,isPreviewing:o,isUploading:a,isSidebarOpen:r,selectedEntityIds:s,enabledTools:c,isLoading:l,onReset:d,onDelete:u,onDuplicate:p}=this.props;return Object(E.jsxs)(i.Grid,{className:"SDK6TopBar",children:[Object(E.jsx)(i.Grid.Column,{mobile:4,tablet:4,computer:4,className:"left-column",verticalAlign:"middle",children:Object(E.jsxs)(i.Header,{size:"medium",className:"project-title-header",children:[Object(E.jsx)("div",{className:"go-back",onClick:this.handleGoBack,children:Object(E.jsx)(i.Icon,{name:"chevron left"})}),t?Object(E.jsxs)(E.Fragment,{children:[Object(E.jsx)("div",{className:"project-title "+(l?"disabled":""),onClick:this.handleTitleClick,title:t.title,children:t.title}),a?Object(E.jsx)(N.a,{name:"cloud-upload",className:"cloud-upload-indicator is-uploading"}):Object(E.jsx)(N.a,{name:"edit",className:"edit-project-icon",onClick:this.handleTitleClick})]}):null]})}),Object(E.jsx)(i.Grid.Column,{mobile:6,tablet:6,computer:7,className:"middle-column",children:Object(E.jsx)(i.Grid.Row,{children:Object(E.jsxs)("div",{className:"editor-actions",children:[Object(E.jsxs)("span",{className:"editor-modes",children:[Object(E.jsx)(R,{shortcut:Q.d.MOVE,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"move",isActive:e===Y.a.MOVE&&s.length>0,isDisabled:!c.move,onClick:this.handleMoveMode})}),Object(E.jsx)(R,{shortcut:Q.d.ROTATE,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"rotate",isActive:e===Y.a.ROTATE&&s.length>0,isDisabled:!c.rotate,onClick:this.handleRotateMode})}),Object(E.jsx)(R,{shortcut:Q.d.SCALE,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"scale",isActive:e===Y.a.SCALE&&s.length>0,isDisabled:!c.scale,onClick:this.handleScaleMode})})]}),Object(E.jsx)(R,{shortcut:Q.d.RESET_ITEM,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"undo",isDisabled:!c.reset,onClick:d})}),Object(E.jsx)(R,{shortcut:Q.d.DUPLICATE_ITEM,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"duplicate",isDisabled:!c.duplicate,onClick:p})}),Object(E.jsx)(R,{shortcut:Q.d.DELETE_ITEM,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"delete",isDisabled:!c.delete,onClick:u})})]})})}),Object(E.jsx)(i.Grid.Column,{mobile:6,tablet:6,computer:5,className:"right-column",children:Object(E.jsxs)(i.Grid.Row,{children:[t?Object(E.jsx)(C.a,{projectId:t.id}):null,Object(E.jsx)(R,{shortcut:Q.d.PREVIEW,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"preview",isActive:o,isDisabled:l,onClick:this.handleTogglePreview})}),Object(E.jsx)(R,{shortcut:Q.d.EXPORT_SCENE,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"export",isDisabled:l,onClick:this.handleExport})}),Object(E.jsx)(R,{shortcut:Q.d.TOGGLE_SIDEBAR,position:"bottom center",className:"tool",popupClassName:"top-bar-popup",children:Object(E.jsx)(k.a,{icon:"sidebar",isActive:r,onClick:this.handleToggleSidebar})}),Object(E.jsxs)("span",{className:"contest-button-wrapper",children:[!n&&Object(E.jsx)(W,{}),Object(E.jsx)(F,{}),n&&Object(E.jsx)(B,{})]})]})})]})}}var X=n(474);var $=Object(m.connect)((e=>({gizmo:Object(y.h)(e),currentProject:Object(h.b)(e),currentPoolGroup:Object(f.a)(e),metrics:Object(j.f)(e),selectedEntityIds:Object(y.l)(e),isLoading:!Object(y.x)(e)||Object(y.s)(e),isPreviewing:Object(y.v)(e),isUploading:Object(O.f)(e),isSidebarOpen:Object(y.z)(e),enabledTools:Object(y.e)(e),hasHistory:Object(X.h)(e)})),(e=>({onSetGizmo:t=>e(Object(g.fb)(t)),onTogglePreview:t=>e(Object(g.pb)(t)),onToggleSidebar:t=>e(Object(g.qb)(t)),onReset:()=>e(Object(c.G)()),onDuplicate:()=>e(Object(c.z)()),onDelete:()=>e(Object(c.x)()),onOpenModal:(t,n)=>e(Object(_.openModal)(t,n)),onBack:()=>e(Object(b.c)()),onNavigate:t=>e(Object(b.e)(t))})))(q),K=n(1839),Z=n(215),J=n(251),ee=n(83),te=n(42),ne=n(217),oe=n(135),ae=n(224),ie=n(77);n(3488);class re extends a.a.PureComponent{constructor(){super(...arguments),this.analytics=Object(ie.getAnalytics)(),this.handleGoBack=()=>{const{selectedAssetPack:e,selectedCategory:t,onSelectAssetPack:n,onSelectCategory:o,search:a,onSearch:i}=this.props;a?i(""):null!==t?o(null):null!==e&&n(null)},this.handleEditAssetPack=()=>{const{selectedAssetPack:e,onEditAssetPack:t}=this.props;e&&(this.analytics.track("Edit Asset Pack Sidebar Header"),t(e.id))},this.handleCreateAssetPack=()=>{const{onCreateAssetPack:e}=this.props;this.analytics.track("Create Asset Pack Sidebar Header"),e()}}render(){const{selectedAssetPack:e,selectedCategory:t,search:n,ethAddress:o}=this.props,a=null===e&&null===t,r=n.length>0;return Object(E.jsxs)(i.Header,{className:"SidebarHeader",size:"medium",children:[Object(E.jsx)("div",{className:"title",children:r?Object(E.jsxs)("span",{className:"selected-scope",onClick:this.handleGoBack,children:[Object(E.jsx)(i.Icon,{name:"chevron left"}),Object(w.t)("itemdrawer.results"),Object(E.jsx)("div",{className:"spacer"})]}):a?Object(w.t)("itemdrawer.title"):Object(E.jsxs)("span",{className:"selected-scope",children:[Object(E.jsx)(i.Icon,{name:"chevron left",onClick:this.handleGoBack}),Object(E.jsx)("span",{className:"title",children:t||(e?e.title:Object(w.t)("global.loading")+"...")}),Object(E.jsx)("div",{className:"spacer",children:e&&e.ethAddress&&o&&e.ethAddress.toLowerCase()===o.toLowerCase()&&Object(E.jsx)(i.Button,{basic:!0,onClick:this.handleEditAssetPack,children:Object(w.t)("itemdrawer.edit_asset_pack")})})]})}),a&&!r?Object(E.jsx)(i.Popup,{className:"create-asset-pack-popup",content:Object(w.t)("asset_pack.title_create"),position:"top right",on:"hover",trigger:Object(E.jsx)(N.a,{name:"add",onClick:this.handleCreateAssetPack})}):null]})}}var se=Object(m.connect)((e=>({selectedAssetPack:Object(Z.b)(e),selectedCategory:Object(Z.c)(e),ethAddress:Object(te.getAddress)(e),search:Object(Z.a)(e)})),(e=>({onSelectCategory:t=>e(Object(ae.h)(t)),onSelectAssetPack:t=>e(Object(ae.g)(t)),onSearch:t=>e(Object(ae.f)(t)),onEditAssetPack:t=>e(Object(_.openModal)("EditAssetPackModal",{assetPackId:t})),onCreateAssetPack:()=>e(Object(_.openModal)("CreateAssetPackModal"))})))(re),ce=n(506);n(3489);class le extends a.a.PureComponent{constructor(){super(...arguments),this.state={search:this.props.search},this.isCtrlDown=!1,this.handleSearchDebounced=Object(ce.a)((e=>{this.props.onResetScroll(),this.props.onSearch(e)}),200),this.handleKeyDown=e=>(17!==e.keyCode&&91!==e.keyCode||(this.isCtrlDown=!0),!this.isCtrlDown||90!==e.keyCode||(e.preventDefault(),!1)),this.handleKeyUp=e=>{17!==e.keyCode&&91!==e.keyCode||(this.isCtrlDown=!1)},this.handleSearch=e=>{this.setState({search:e.target.value}),this.handleSearchDebounced(e.target.value)},this.handleCleanSearch=()=>{this.setState({search:""}),this.handleSearchDebounced("")},this.handleToggle=()=>{const{scripts:e,onToggleScripts:t}=this.props;t(!e)}}componentWillMount(){document.body.addEventListener("keydown",this.handleKeyDown),document.body.addEventListener("keyup",this.handleKeyUp)}componentWillUnmount(){document.body.removeEventListener("keydown",this.handleKeyDown),document.body.removeEventListener("keyup",this.handleKeyUp)}componentWillReceiveProps(e){this.props.search.length>0&&0===e.search.length&&this.state.search.length>0&&this.setState({search:""})}render(){const{search:e,scripts:t,isDisabled:n}=this.props;let o="SidebarSearch";return n&&(o+=" disabled"),Object(E.jsxs)("div",{className:o,children:[Object(E.jsx)(i.Icon,{name:"search"}),Object(E.jsx)(i.Input,{className:"search-input",placeholder:Object(w.t)("itemdrawer.search"),icon:e.length>0?{name:"close",size:"small",onClick:this.handleCleanSearch}:null,value:this.state.search,onChange:this.handleSearch,disabled:n}),Object(E.jsx)("div",{className:"scripts-toggle "+(t?"active":""),onClick:this.handleToggle,children:Object(E.jsx)(N.a,{name:"smart"})})]})}}var de=Object(m.connect)((e=>({search:Object(Z.a)(e),scripts:Object(Z.h)(e),isDisabled:Object(Z.g)(e)})),(e=>({onSearch:t=>e(Object(ae.f)(t)),onToggleScripts:t=>e(Object(ae.i)(t))})))(le),ue=n(80);n(3490);class pe extends o.PureComponent{constructor(){super(...arguments),this.handleClick=()=>{const{id:e,onClick:t}=this.props;t(e)}}render(){const{title:e,thumbnail:t,isVisible:n,isNew:o}=this.props;return n?Object(E.jsxs)("div",{className:"SidebarCard",onClick:this.handleClick,children:[o?Object(E.jsx)("div",{className:"new-badge",children:Object(w.t)("global.new")}):null,Object(E.jsx)("img",{className:"thumbnail",src:t,alt:""}),Object(E.jsx)(i.Header,{size:"small",className:"title",children:e}),Object(E.jsx)(N.a,{name:"chevron-right"})]}):null}}var me=pe;n(3491);const be=ue.a.get("PROMO_URL");class he extends a.a.PureComponent{constructor(){super(...arguments),this.analytics=Object(ie.getAnalytics)(),this.handlePromoClick=()=>{be&&window.open(`${be}?utm_source=builder&utm_campaign=catalog`)},this.handleCreateAssetPack=()=>{const{onOpenModal:e}=this.props;this.analytics.track("Create Asset Pack Sidebar Bottom"),e("CreateAssetPackModal")}}render(){const{assetPacks:e,onSelectAssetPack:t}=this.props;return Object(E.jsxs)("div",{className:"AssetPackList",children:[e.map((e=>{var n;return Object(E.jsx)(me,{id:e.id,title:e.title,thumbnail:`${e.thumbnail}?updated_at=${null!==(n=e.updatedAt)&&void 0!==n?n:""}`,onClick:t,isVisible:!0,isNew:oe.c.some((t=>Object(oe.e)(e.title,t)))},e.id)})),Object(E.jsxs)("div",{className:"create-asset-pack",onClick:this.handleCreateAssetPack,children:[Object(E.jsx)(N.a,{name:"add"})," ",Object(w.t)("asset_pack.new_asset_pack")]})]})}}var fe=Object(m.connect)((e=>({assetPacks:Object(Z.e)(e)})),(e=>({onSelectAssetPack:t=>e(Object(ae.g)(t)),onOpenModal:(t,n)=>e(Object(_.openModal)(t,n))})))(he);n(3492);class ye extends o.PureComponent{constructor(){super(...arguments),this.state={isOpen:!0},this.handleClick=()=>{this.setState({isOpen:!this.state.isOpen})}}componentWillReceiveProps(e){e.hasLabel||this.setState({isOpen:!0})}render(){const{label:e,children:t,hasLabel:n,className:o}=this.props,{isOpen:a}=this.state;let r="Drawer";return o&&(r+=" "+o),Object(E.jsxs)("div",{className:r,children:[n?Object(E.jsxs)("div",{className:"heading",onClick:this.handleClick,children:[Object(E.jsx)("span",{className:"label",children:e}),Object(E.jsx)("div",{children:Object(E.jsx)(i.Icon,{name:a?"angle up":"angle down"})})]}):null,Object(E.jsx)("div",{className:"body",children:a?t:null})]})}}var _e=ye,ge=n(549),je=n(1048),Oe=n(184);n(3493);class ve extends o.PureComponent{render(){const{asset:e,isDragging:t}=this.props,{thumbnail:n,name:o}=e,a=!!e.script;let r="AssetCard vertical";a&&(r+=" smart"),t&&(r+=" is-dragging"),e.category===Oe.b&&(r+=" ground"),e.isDisabled&&(r+=" disabled");const s=Object(E.jsxs)("div",{className:r,children:[Object(E.jsx)("img",{className:"thumbnail",src:n,alt:"",draggable:!1}),a&&Object(E.jsx)("div",{className:"badge",children:Object(E.jsx)(N.a,{name:"smart"})})]});return o?Object(E.jsx)(i.Popup,{content:o,position:"top center",trigger:s,hideOnScroll:!0,on:"hover",inverted:!0,basic:!0}):s}}var Ce=ve;n(3494);class xe extends o.PureComponent{render(){const{asset:e,isDragging:t}=this.props,{thumbnail:n,name:o}=e;let a="AssetCard horizontal";return t&&(a+=" is-dragging"),e.isDisabled&&(a+=" disabled"),Object(E.jsxs)("div",{className:a,children:[Object(E.jsx)("img",{className:"thumbnail",src:n,alt:"",draggable:!1}),Object(E.jsx)(i.Header,{size:"small",className:"title",children:o})]})}}var we=xe,Ee=n(751);n(3495);class Se extends o.PureComponent{constructor(){super(...arguments),this.handleClick=()=>{const{asset:e,onClick:t}=this.props;e.isDisabled||t(e)}}componentWillMount(){this.props.connectDragPreview(Object(je.getEmptyImage)())}render(){const{isHorizontal:e,asset:t,connectDragSource:n,isDragging:o}=this.props;return n(Object(E.jsx)("div",{onClick:this.handleClick,"data-asset-id":t.id,children:e?Object(E.jsx)(we,{asset:t,isDragging:o}):Object(E.jsx)(Ce,{asset:t,isDragging:o})}))}}Se.defaultProps={onClick:e=>{},onBeginDrag:e=>{}};var Ae=Object(ge.DragSource)(Ee.a,Ee.b,Ee.c)(Se);n(3496);class Te extends a.a.PureComponent{constructor(){super(...arguments),this.handleClick=e=>{if(e.category===Oe.b){const{currentProject:t,onSetGround:n}=this.props;t&&n(t.id,e)}else{const{onAddItem:t}=this.props;t(e)}},this.handleBeginDrag=e=>{if(e.category!==Oe.b){const{onPrefetchAsset:t}=this.props;t(e)}}}getColumnCount(){return Number(this.props.columnCount)}renderGrid(e){const{isList:t}=this.props,n=this.getColumnCount(),o=[];for(let a=0;a<e.length;a+=n){const r=[];for(let o=a;o<a+n;o++){const n=e[o];if(!n)break;r.push(Object(E.jsx)(i.Grid.Column,{children:Object(E.jsx)(Ae,{asset:n,isHorizontal:t,onClick:this.handleClick,onBeginDrag:this.handleBeginDrag})},n.id))}o.push(Object(E.jsx)(i.Grid.Row,{children:r},e[a].id))}return o}render(){const{category:e,isList:t,columnCount:n,hasLabel:o}=this.props;return Object(E.jsx)(_e,{className:"AssetList",label:e.name,hasLabel:o,children:Object(E.jsx)(i.Grid,{columns:t?1:n,padded:"horizontally",className:"asset-grid "+(t?"item-list":"item-grid"),children:this.renderGrid(e.assets)})},`drawer-${e.name}`)}}Te.defaultProps={columnCount:3};var Re=Object(m.connect)((e=>({isList:Object(Z.f)(e),currentProject:Object(h.b)(e)})),(e=>({onAddItem:t=>e(Object(c.u)(t)),onSetGround:(t,n)=>e(Object(c.H)(t,n)),onPrefetchAsset:t=>e(Object(g.T)(t))})))(Te);n(3497);class ke extends o.PureComponent{render(){const{width:e,height:t,className:n}=this.props;let o="Watermelon";n&&(o+=" "+n);const a={width:e,height:t};return Object(E.jsx)("div",{className:o,style:a})}}ke.defaultProps={width:100,height:100};var Ne=ke;n(3498);class Pe extends a.a.PureComponent{render(){return Object(E.jsxs)("div",{className:"NoResults",children:[Object(E.jsx)(Ne,{}),Object(E.jsx)("span",{className:"text",children:Object(w.t)("itemdrawer.no_results")})]})}}var Ie=Pe;n(3499);class Le extends a.a.PureComponent{constructor(){super(...arguments),this.handleConnect=()=>{this.props.onOpenModal("WalletLoginModal")}}render(){const{isConnecting:e,hasError:t}=this.props;let n="error";return t&&(n+=" visible"),Object(E.jsx)("div",{className:"WalletSignIn",children:Object(E.jsxs)("div",{className:"main",children:[Object(E.jsx)(i.StarWalletIcon,{}),Object(E.jsx)("span",{className:"message",children:Object(w.t)("wallet.title")}),Object(E.jsx)(i.Button,{className:"connect",primary:!0,onClick:this.handleConnect,disabled:e,children:e?Object(E.jsx)(w.T,{id:"@dapps.sign_in.connecting"}):Object(E.jsx)(w.T,{id:"@dapps.sign_in.connect"})}),Object(E.jsx)("p",{className:n,children:Object(E.jsx)(w.T,{id:"@dapps.sign_in.error"})})]})})}}var Me=Object(m.connect)((e=>({isConnecting:Object(te.isConnecting)(e),hasError:!!Object(te.getError)(e)})),(e=>({onOpenModal:(t,n)=>e(Object(_.openModal)(t,n))})))(Le);n(3500);class De extends o.PureComponent{constructor(){super(...arguments),this.drawerContainer=null,this.handleResetScroll=()=>{this.drawerContainer&&(this.drawerContainer.scrollTop=0)},this.setDrawerContainer=e=>{this.drawerContainer||(this.drawerContainer=e)}}renderView(){const{search:e,isList:t,selectedAssetPack:n,categories:o,isConnected:a,isLoadingAssets:r,showOnlyAssetsWithScripts:s}=this.props,c=e.length>0,l=n&&n.id===oe.a;return l&&r?Object(E.jsx)(i.Loader,{active:!0,size:"massive"}):l&&!a?Object(E.jsx)(Me,{}):0===o.length?Object(E.jsx)(Ie,{}):t||n||c||s?o.map((e=>Object(E.jsx)(Re,{category:e,hasLabel:o.length>1},e.name))):Object(E.jsx)(fe,{})}isViewingCollectibles(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;const{search:t,selectedAssetPack:n,isLoadingAssets:o}=e;return n&&n.id===oe.a&&!o&&!t}render(){const{isConnected:e}=this.props;return Object(E.jsxs)("div",{className:"ItemDrawer",children:[Object(E.jsx)(se,{}),Object(E.jsx)(de,{onResetScroll:this.handleResetScroll}),Object(E.jsxs)("div",{ref:this.setDrawerContainer,className:"overflow-container",children:[this.renderView(),this.isViewingCollectibles()&&e&&Object(E.jsx)("span",{className:"credit",children:Object(E.jsx)(w.T,{id:"itemdrawer.opensea_credit",values:{link:Object(E.jsx)("a",{href:"https://opensea.io",target:"_blank",rel:"noopener noreferrer",children:"OpenSea"})}})})]})]})}}var Fe=Object(m.connect)((e=>{const t=Object(y.l)(e);return{categories:Object(Z.d)(e),selectedAssetPack:Object(Z.b)(e),collectibles:Object(ne.c)(e),isLoadingAssets:Object(ne.g)(e),selectedCategory:Object(Z.c)(e),search:Object(Z.a)(e),isList:Object(Z.f)(e),isConnected:Object(te.isConnected)(e),showOnlyAssetsWithScripts:Object(Z.h)(e),selectedEntityIds:t}}))(De);n(3501);class Ue extends o.PureComponent{constructor(){super(...arguments),this.state={value:this.props.value||"",id:this.props.id||""},this.handleChange=(e,t)=>{const{onChange:n}=this.props,{value:o}=t;this.setState({value:o}),n(o)}}static getDerivedStateFromProps(e,t){return e.value&&e.id!==t.id?{value:e.value,entityName:e.id}:null}render(){const{id:e,label:t,className:n=""}=this.props,{value:o}=this.state;return Object(E.jsxs)("div",{className:`TextField ParameterField ${n}`,children:[Object(E.jsx)("label",{htmlFor:e,className:"label",children:t}),Object(E.jsx)(i.Field,{id:e,value:o,onChange:this.handleChange})]})}}var Be=Ue;n(3502);class ze extends o.PureComponent{constructor(){super(...arguments),this.state={value:void 0!==this.props.value&&null!==this.props.value?this.props.value.toString():"0",id:this.props.id||""},this.handleChange=(e,t)=>{const{allowFloat:n,onChange:o}=this.props,a=n?t.value:t.value.replace(/,|\./g,"");this.setState({value:a});const i=n?parseFloat(a):parseInt(a,10);Number.isNaN(i)||o(i)}}static getDerivedStateFromProps(e,t){return e.value&&e.id!==t.id?{value:e.value,entityName:e.id}:null}render(){const{id:e,label:t,className:n=""}=this.props,{value:o}=this.state;return Object(E.jsxs)("div",{className:`NumberField ParameterField ${n}`,children:[Object(E.jsx)("label",{htmlFor:e,className:"label",children:t}),Object(E.jsx)(i.Field,{id:e,value:o,onChange:this.handleChange,type:"number"})]})}}var He=ze;n(3503);class We extends o.PureComponent{constructor(){super(...arguments),this.handleChange=(e,t)=>{const{onChange:n}=this.props;n(!!t.checked)}}render(){const{id:e,label:t,value:n,className:o=""}=this.props;return Object(E.jsxs)("div",{className:`BooleanField ParameterField ${o}`,children:[Object(E.jsx)("label",{htmlFor:e,className:"label",children:t}),Object(E.jsx)(i.Radio,{id:e,checked:n,onClick:this.handleChange,toggle:!0})]})}}var Ge=We;n(3504);class Ye extends o.PureComponent{constructor(){super(...arguments),this.state={value:this.props.value||"",search:""},this.handleChange=(e,t)=>{const{onChange:n}=this.props,o=t.value;this.setState({value:o}),n(o)},this.renderTrigger=()=>{const{assetsByEntityName:e}=this.props,{value:t}=this.state,n=e[t];return n?Object(E.jsxs)("span",{className:"trigger",children:[Object(E.jsx)("img",{src:n.thumbnail,alt:n.name}),Object(E.jsx)("span",{className:"text",children:t})]}):Object(E.jsx)("span",{className:"trigger",children:Object(E.jsx)("span",{className:"text",children:"Select item..."})})},this.handleSearchChange=(e,t)=>{this.setState({search:t.value})},this.handleBlur=()=>{this.setState({search:""})},this.handleInputClick=e=>{e.stopPropagation()}}static getDerivedStateFromProps(e){return e.value?{value:e.value}:null}render(){const{id:e,label:t,entities:n,filter:o,assetsByEntityName:a,className:r="",direction:s="left"}=this.props,{value:c,search:l}=this.state;let d=Object.values(n).filter((e=>!e.disableGizmos&&!!a[e.name])).map((e=>({key:e.name,text:e.name,value:e.name,image:{avatar:!1,src:a[e.name].thumbnail}})));o&&(d=d.filter((e=>o.includes(e.key)))),l.length>0&&(d=d.filter((e=>e.key.toLowerCase().includes(l.toLowerCase())))),0===d.length&&d.push({key:"not-found",text:Object(w.t)("itemdrawer.no_results"),value:0,disabled:!1,className:"no-results"});const u=d.length>=5||l.length>0,p=Object(E.jsx)(i.SelectField,{id:e,value:c,options:d,onChange:this.handleChange,onBlur:this.handleBlur,header:u?Object(E.jsx)(i.Search,{placeholder:Object(w.t)("itemdrawer.search_items"),className:"search-field",input:{icon:"search",iconPosition:"left",inverted:!0},onSearchChange:this.handleSearchChange,onClick:this.handleInputClick,value:l}):void 0,trigger:this.renderTrigger(),search:!1,direction:null===s?void 0:s});return Object(E.jsxs)("div",{className:`EntityField ParameterField ${r}`,title:"Item",children:[t&&Object(E.jsx)("label",{htmlFor:e,className:"label",children:t}),c.length>6?Object(E.jsx)(i.Popup,{content:c,position:"top center",trigger:p,on:"hover",inverted:!0,basic:!0}):p]})}}var Qe=Object(m.connect)((e=>({entities:Object(j.i)(e),assetsByEntityName:Object(ne.a)(e)})),(()=>({})))(Ye);n(3505);class Ve extends o.PureComponent{constructor(){super(...arguments),this.handleChange=(e,t)=>{const{onChange:n}=this.props;n(t.value)},this.renderTrigger=()=>{const{value:e,options:t}=this.props,n=t.find((t=>t.value===e));return n?Object(E.jsx)("span",{className:"trigger",children:Object(E.jsx)("span",{title:n.label,className:"text",children:n.label})}):null}}render(){const{id:e,label:t,options:n,className:o="",value:a}=this.props,r=n.map((e=>({key:e.value,text:e.label,value:e.value})));return Object(E.jsxs)("div",{className:`OptionsField ParameterField ${o}`,title:"Action",children:[t&&Object(E.jsx)("label",{htmlFor:e,className:"label",children:t}),Object(E.jsx)(i.SelectField,{id:e,value:a,options:r,onChange:this.handleChange,trigger:this.renderTrigger(),search:!1,direction:"left"})]})}}var qe=Ve;n(3506);class Xe extends o.PureComponent{constructor(){super(...arguments),this.handleEntityChange=(e,t)=>{const n=this.getActionOptions(e),o=n.length>0?n[0].value:"",a=this.findAction(e,o),i=this.getActionValues(a),r=Object.assign([],this.props.value,{[t]:{entityName:e,actionId:o,values:i}});this.props.onChange(r,!1)},this.handleAddAction=()=>{const{value:e,entityAssets:t}=this.props,n=this.props.value?this.props.value.length:0,o=Object.keys(t)[0],a=this.getActionOptions(o),i=a.length>0?a[0].value:"",r=i?this.findAction(o,i):null,s=Object.assign([],e,{[n]:{entityName:o,actionId:i,values:r?this.getActionValues(r):{}}});this.props.onChange(s,!1)},this.handleActionChange=(e,t)=>{const{entityName:n}=this.props.value[t],o=this.findAction(n,e),a=this.getActionValues(o),i=Object.assign([],this.props.value,{[t]:{...this.props.value[t],actionId:e,values:a}});this.props.onChange(i,!1)},this.handleParametersChange=(e,t,n)=>{const o=Object.assign([],this.props.value,{[t]:{...this.props.value[t],values:e}});this.props.onChange(o,n)},this.handleRemove=e=>{const t=this.props.value.filter(((t,n)=>n!==e));this.setState({value:t}),this.props.onChange(t,!1)},this.handleReset=e=>{const{value:t,entityAssets:n,parameter:o,entityName:a}=this.props,i=o.default?a:Object.keys(n)[0],r=this.getActionOptions(i),s=o.default||(r.length>0?r[0].value:""),c=Object.assign([],t,{[e]:{entityName:i,actionId:s,values:{}}});this.props.onChange(c,!1)},this.getActionOptions=e=>{const{entityAssets:t}=this.props;return t[e]&&t[e].actions?t[e].actions.map((e=>({label:e.label,value:e.id}))):[]},this.getParameters=e=>{const{entityName:t,actionId:n}=e,o=this.findAction(t,n);return o?o.parameters:null},this.getActionValues=e=>{const t={};if(e)for(const n of e.parameters)t[n.id]=n.type===Oe.a.ACTIONS?[]:n.default;return t}}findAction(e,t){return this.props.entityAssets[e].actions.find((e=>e.id===t))}render(){const{id:e,label:t,entityAssets:n,className:o="",value:a}=this.props;return Object(E.jsxs)("section",{className:`ActionField ParameterField ${o}`,children:[Object(E.jsxs)("div",{className:"header",children:[Object(E.jsx)("label",{htmlFor:e,className:"label",children:t}),Object(E.jsx)("div",{title:"Add Action",children:Object(E.jsx)(N.a,{name:"add-active",onClick:this.handleAddAction})})]}),a&&a.map(((t,o)=>{const r=`${e}-${o}`,s=this.getActionOptions(t.entityName),c=this.getParameters(t),l=a&&a[o]?a[o].values:{};return Object(E.jsxs)("div",{className:"container",children:[Object(E.jsxs)("div",{className:"signature",children:[Object(E.jsx)(Qe,{id:r,value:a?t.entityName:"",onChange:e=>this.handleEntityChange(e,o),filter:Object.keys(n),className:"action",direction:null}),t.entityName&&Object(E.jsx)(qe,{id:`${r}-actions`,value:t.actionId,options:s,onChange:e=>this.handleActionChange(e,o),className:"action"}),Object(E.jsx)(i.Dropdown,{trigger:Object(E.jsx)(N.a,{className:"action-options",name:"ellipsis"}),direction:"left",title:"More Options",children:Object(E.jsxs)(i.Dropdown.Menu,{children:[Object(E.jsx)(i.Dropdown.Item,{text:"Reset Action",onClick:()=>this.handleReset(o)}),Object(E.jsx)(i.Dropdown.Item,{text:"Remove Action",onClick:()=>this.handleRemove(o)})]})})]}),c&&c.length>0&&Object(E.jsx)("aside",{children:Object(E.jsx)(ot,{id:`${r}-parameters`,entityName:t.entityName,parameters:c,values:l,onChange:(e,t)=>this.handleParametersChange(e,o,t),className:"action"})})]},r)}))]})}}var $e=Object(m.connect)((e=>({entityAssets:Object(ne.b)(e)})),(()=>({})))(Xe);n(3507);class Ke extends o.PureComponent{constructor(){super(...arguments),this.state={value:this.props.value||"",id:this.props.id||""},this.handleChange=(e,t)=>{const{onChange:n}=this.props,o=t.value;this.setState({value:o}),n(o)}}static getDerivedStateFromProps(e,t){return e.value&&e.id!==t.id?{value:e.value,entityName:e.id}:null}render(){const{id:e,label:t,className:n=""}=this.props,{value:o}=this.state;return Object(E.jsxs)("div",{className:`TextAreaField ParameterField ${n}`,children:[Object(E.jsx)("label",{htmlFor:e,className:"label",children:t}),Object(E.jsx)(i.TextArea,{id:e,value:o,onChange:this.handleChange,autocorrect:"off",autocapitalize:"off",spellcheck:"false"})]})}}var Ze=Ke,Je=n(1925);n(3561);class et extends o.PureComponent{constructor(){super(...arguments),this.state={value:this.props.value||0,id:this.props.id||""},this.handleChange=e=>{const{onChange:t}=this.props;this.setState({value:e}),t(e)}}static getDerivedStateFromProps(e,t){return e.value&&e.id!==t.id?{value:e.value,entityName:e.id}:null}render(){const{id:e,label:t,className:n="",min:o,max:a,step:i}=this.props,{value:r}=this.state;return Object(E.jsxs)("div",{className:`SliderField ParameterField ${n}`,children:[Object(E.jsxs)("div",{className:"container",children:[Object(E.jsx)("label",{htmlFor:e,className:"label",children:t}),Object(E.jsx)("span",{className:"value",children:r})]}),Object(E.jsx)(Je.a,{value:r,onChange:this.handleChange,min:o,max:a,step:i})]})}}var tt=et;class nt extends o.PureComponent{constructor(){var e;super(...arguments),e=this,this.handleFieldChange=function(t,n){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const a={...e.props.values,[t]:n};e.props.onChange(a,o)},this.renderField=e=>{const{id:t,values:n}=this.props,{entityNames:o,entityName:a,className:i=""}=this.props,r=`${t}-${a}-${e.id}`;switch(e.type){case Oe.a.ACTIONS:{let t=n[e.id];return t&&(t=t.filter((e=>o.includes(e.entityName)))),Object(E.jsx)($e,{id:r,label:e.label,parameter:e,entityName:a,value:t,onChange:(t,n)=>this.handleFieldChange(e.id,t,n),className:i},r)}case Oe.a.ENTITY:{const t=n[e.id];return Object(E.jsx)(Qe,{id:r,label:e.label,value:t,onChange:t=>this.handleFieldChange(e.id,t),className:i},r)}case Oe.a.TEXT:return Object(E.jsx)(Be,{id:r,label:e.label,value:n[e.id],onChange:t=>this.handleFieldChange(e.id,t,!0),className:i},r);case Oe.a.BOOLEAN:return Object(E.jsx)(Ge,{id:r,label:e.label,value:n[e.id],onChange:t=>this.handleFieldChange(e.id,t),className:i},r);case Oe.a.INTEGER:return Object(E.jsx)(He,{id:r,label:e.label,value:n[e.id],onChange:t=>this.handleFieldChange(e.id,t,!0),className:i},r);case Oe.a.OPTIONS:return Object(E.jsx)(qe,{id:r,label:e.label,value:n[e.id],options:e.options,onChange:t=>this.handleFieldChange(e.id,t),className:i},r);case Oe.a.FLOAT:return Object(E.jsx)(He,{id:r,label:e.label,value:n[e.id],onChange:t=>this.handleFieldChange(e.id,t,!0),className:i,allowFloat:!0},r);case Oe.a.TEXTAREA:return Object(E.jsx)(Ze,{id:r,label:e.label,value:n[e.id],onChange:t=>this.handleFieldChange(e.id,t,!0),className:i},r);case Oe.a.SLIDER:return Object(E.jsx)(tt,{id:r,label:e.label,min:e.min,max:e.max,step:e.step,value:n[e.id],onChange:t=>this.handleFieldChange(e.id,t,!0),className:i},r);default:return null}}}render(){const{parameters:e}=this.props;return e.map((e=>this.renderField(e)))}}var ot=Object(m.connect)((e=>({entityNames:Object(j.k)(e)})),(()=>({})))(nt);n(3562);class at extends o.PureComponent{constructor(){super(...arguments),this.handleSetParametersDebounced=Object(ce.a)((e=>{this.handleSetParameters(e)}),150),this.handleSetParameters=e=>{const{entityId:t,onSetScriptParameters:n}=this.props;n(t,e)},this.handleChange=(e,t)=>{t?this.handleSetParametersDebounced(e):this.handleSetParameters(e)}}render(){const{asset:e,script:t,entity:n}=this.props;return e?Object(E.jsxs)("div",{className:"EntityEditor",children:[Object(E.jsxs)(i.Header,{className:"header",size:"medium",children:[Object(E.jsx)("div",{className:"spacer"}),Object(E.jsxs)("div",{className:"title",children:[Object(E.jsx)("span",{className:"asset",children:e.name}),Object(E.jsx)("span",{className:"entity",children:n.name})]}),Object(E.jsx)(N.a,{name:"modal-close",onClick:this.props.onDeselect})]}),Object(E.jsxs)("div",{className:"overflow-container",children:[Object(E.jsx)("div",{className:"thumbnail",children:Object(E.jsx)("img",{src:e.thumbnail,alt:e.name})}),Object(E.jsx)("div",{className:"parameters",children:Object(E.jsx)(ot,{id:"root",entityName:n.name,parameters:e.parameters,values:t.data.values,onChange:this.handleChange})})]})]}):null}}var it=Object(m.connect)((e=>{const t=Object(y.l)(e),n=1===t.length?t[0]:"",o=Object(j.j)(e)[n][ee.a.Script],a=Object(j.i)(e)[n];return{asset:Object(ne.d)(e)[o.data.assetId],script:o,entity:a,entityId:n}}),(e=>({onSetScriptParameters:(t,n)=>e(Object(c.I)(t,n)),onDeselect:()=>e(Object(g.kb)([]))})))(at);n(3563);class rt extends o.PureComponent{constructor(){super(...arguments),this.renderView=()=>{const{isLoading:e,categories:t,hasScript:n}=this.props;return n?Object(E.jsx)(it,{}):t&&!e?Object(E.jsx)(Fe,{}):Object(E.jsx)("div",{className:"spinner"})}}render(){const{isLoading:e}=this.props;return Object(E.jsx)("div",{className:"SideBar "+(e?"loading":""),children:this.renderView()})}}var st=Object(m.connect)((e=>{const t=Object(y.l)(e);let n=!1;if(1===t.length){n=!!Object(j.j)(e)[t[0]][ee.a.Script]}return{categories:Object(Z.d)(e),isLoading:Object(J.f)(e),hasScript:n}}))(rt);n(3564);const ct="builder-localstorage-signin-toast",lt=Object(r.getLocalStorage)();class dt extends o.PureComponent{constructor(){super(...arguments),this.state={isVisible:!lt.getItem(ct)&&this.props.isVisible},this.analytics=Object(ie.getAnalytics)(),this.handleClose=()=>{this.setState({isVisible:!1}),lt.setItem(ct,"1")},this.handleLogin=()=>{const{project:e,onOpenModal:t}=this.props;e&&(this.analytics.track("Sign in from editor toast"),t("WalletLoginModal"))}}componentWillReceiveProps(e){e.isVisible&&!lt.getItem(ct)?this.setState({isVisible:!0}):this.props.isVisible&&!e.isVisible&&this.setState({isVisible:!1})}render(){return this.state.isVisible?Object(E.jsxs)("div",{className:"LocalStorageToast",children:[Object(E.jsx)(w.T,{id:"toasts.localstorage",values:{sign_in:Object(E.jsxs)("span",{className:"sign-in",onClick:this.handleLogin,children:["\xa0",Object(w.t)("global.sign_in"),"\xa0"]})}}),Object(E.jsx)("div",{className:"close",onClick:this.handleClose,title:Object(w.t)("global.dismiss"),children:Object(E.jsx)(i.Close,{small:!0})})]}):null}}var ut=Object(m.connect)((e=>({project:Object(h.b)(e)})),(e=>({onOpenModal:(t,n)=>e(Object(_.openModal)(t,n))})))(dt);const pt="builder-shortcut-popup",mt=Object(r.getLocalStorage)();class bt extends o.PureComponent{constructor(){super(...arguments),this.state={isShortcutPopupOpen:this.isShortcutPopupDismissed()},this._isMounted=!1,this.updatePopupPositionDebounced=Object(ce.a)((()=>this.updatePopupPosition()),200),this.handleCloseShortcutPopup=()=>{this.closeShortcutPopup(),mt.setItem(pt,"1")},this.handleResize=()=>{this.state.isShortcutPopupOpen&&this.closeShortcutPopup(),this.updatePopupPositionDebounced()},this.handleShorcutIconClick=()=>{this.handleCloseShortcutPopup(),this.props.onClick("shortcuts")},this.openShortcutPopup=()=>{this.isShortcutPopupDismissed()&&this.setState({isShortcutPopupOpen:!0})},this.closeShortcutPopup=()=>{this.setState({isShortcutPopupOpen:!1})}}componentWillMount(){window.addEventListener("resize",this.handleResize),this._isMounted=!0}componentWillReceiveProps(e){this.state.isShortcutPopupOpen&&this.props.isSidebarOpen!==e.isSidebarOpen&&this.updatePopupPosition()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize),this._isMounted=!1}updatePopupPosition(){this._isMounted&&(this.closeShortcutPopup(),setTimeout(this.openShortcutPopup))}isShortcutPopupDismissed(){return!mt.getItem(pt)}renderShortcutIcon(){return Object(E.jsx)(R,{shortcut:Q.d.SHORTCUTS,className:"tool",position:"top center",onOpen:this.closeShortcutPopup,onClose:this.openShortcutPopup,children:Object(E.jsx)(N.a,{name:"shortcuts",onClick:this.handleShorcutIconClick})})}renderIcon(e,t){return Object(E.jsx)(R,{shortcut:t,className:"tool",position:"top center",onOpen:this.closeShortcutPopup,onClose:this.openShortcutPopup,children:Object(E.jsx)(N.a,{name:e,onClick:this.getClickHandler(e)})})}getClickHandler(e){return()=>this.props.onClick(e)}render(){const{isShortcutPopupOpen:e}=this.state;return Object(E.jsxs)("div",{className:"Tools",children:[this.renderIcon("reset-camera",Q.d.RESET_CAMERA),this.renderIcon("zoom-in",Q.d.ZOOM_IN),this.renderIcon("zoom-out",Q.d.ZOOM_OUT),Object(E.jsx)(i.Popup,{open:e&&this.isShortcutPopupDismissed(),className:"shortcut-popup",content:Object(E.jsxs)(i.Row,{center:!0,children:[Object(w.t)("popups.shortcuts_help"),Object(E.jsx)(i.Close,{small:!0,onClick:this.handleCloseShortcutPopup})]}),position:"top right",verticalOffset:3,trigger:this.renderShortcutIcon(),on:"hover",inverted:!0})]})}}bt.defaultProps={onClick:e=>{}};var ht=bt,ft=n(1090),yt=n(509);n(3565);class _t extends o.PureComponent{constructor(){super(...arguments),this.state={isBubbleVisible:!1},this.analytics=Object(ie.getAnalytics)(),this.metricsExceeded=[],this.handleToggle=()=>{const e=!this.state.isBubbleVisible;e&&this.analytics.track("Show metrics"),this.setState({isBubbleVisible:e})},this.handleClose=()=>{this.setState({isBubbleVisible:!1})},this.handleClick=e=>{e.nativeEvent.stopImmediatePropagation()}}componentWillMount(){document.addEventListener("click",this.handleClose),this.updateMetrics(this.props)}componentWillUnmount(){document.removeEventListener("click",this.handleClose)}componentWillReceiveProps(e){this.updateMetrics(e)}updateMetrics(e){const{metrics:t,limits:n}=e,o=Object(I.e)(t,n);for(const a of o)this.metricsExceeded.includes(a)||this.analytics.track("Metrics exceeded",{metric:a,count:t[a],limit:n[a]});this.metricsExceeded=o}renderMetrics(){return Object.keys(this.props.metrics).map((e=>this.renderMetric(e)))}renderMetric(e){const{metrics:t,limits:n}=this.props;let o="metric";return t[e]>n[e]&&(o+=" exceeded"),Object(E.jsxs)("div",{className:o,children:[Object(E.jsxs)("div",{className:"label",children:[Object(w.t)(`metrics.${e}`),":"]}),Object(E.jsxs)("div",{className:"value",children:[t[e].toLocaleString(),Object(E.jsxs)("span",{className:"value-limit",children:["\xa0/\xa0",n[e].toLocaleString()]})," "]})]},e)}render(){const{rows:e,cols:t}=this.props,{isBubbleVisible:n}=this.state;return Object(E.jsxs)("div",{className:"Metrics "+(this.metricsExceeded.length>0?"metric-exceeded":""),onClick:this.handleClick,children:[Object(E.jsx)(ft.a,{rows:2,cols:2,size:"tiny",onClick:this.handleToggle}),n?Object(E.jsxs)("div",{className:"bubble",children:[Object(E.jsxs)("div",{className:"bubble-title",children:[Object(E.jsxs)("span",{children:[e,"x",t," LAND"]}),"\xa0",Object(E.jsx)("span",{className:"dimensions",children:Object(yt.a)(e,t)})]}),Object(E.jsx)("div",{className:"divider"}),this.renderMetrics()]}):null,this.metricsExceeded.length>0?Object(E.jsxs)("span",{className:"value-too-high",onClick:this.handleToggle,children:[Object(E.jsx)(N.a,{name:"alert"}),Object(w.t)("metrics.too_many",{metric:Object(w.t)(`metrics.${this.metricsExceeded[0]}`)})]}):null]})}}var gt=Object(m.connect)((e=>{const t=Object(h.b)(e),n=Object(j.f)(e),o=Object(j.e)(e);if(t){const{rows:e,cols:a}=t.layout;return{rows:e,cols:a,parcels:e*a,metrics:n,limits:o}}return{rows:0,cols:0,parcels:0,metrics:n,limits:o}}))(_t);n(3566);function jt(e){const{currentOffset:t}=e;if(!t)return{display:"none"};const{x:n,y:o}=t,a=`translate(${n}px, ${o}px)`;return{transform:a,WebkitTransform:a}}class Ot extends o.PureComponent{render(){const{asset:e}=this.props;if(!e||e.isDisabled)return null;const{thumbnail:t}=e;return Object(E.jsx)("div",{className:"ItemDragLayer",children:t?Object(E.jsx)("img",{className:"thumbnail",src:t,style:jt(this.props),alt:e.name}):Object(E.jsx)("div",{className:"thumbnail empty",style:jt(this.props)})})}}var vt=Object(ge.DragLayer)((e=>{const t=e.getItem();return{currentOffset:e.getClientOffset(),isDragging:e.isDragging(),asset:t?t.asset:null}}))(Ot);n(3567);const Ct="builder-tutorial",xt=Object(r.getLocalStorage)();class wt extends o.PureComponent{constructor(){super(...arguments),this.state={isIncentiveBannerOpen:!1,isDeployModalOpened:!1},this.handleMouseWheel=e=>{e.ctrlKey&&(e.preventDefault(),e.stopImmediatePropagation())},this.handleToolClick=e=>{switch(e){case"shortcuts":this.props.onOpenModal("ShortcutsModal");break;case"zoom-out":this.props.onZoomOut();break;case"zoom-in":this.props.onZoomIn();break;case"reset-camera":this.props.onResetCamera()}},this.handleBannerShow=()=>{this.setState({isIncentiveBannerOpen:!0})},this.handleBannerClose=()=>{this.setState({isIncentiveBannerOpen:!1})}}componentWillMount(){const{currentProject:e,onOpenModal:t}=this.props;if(e&&!xt.getItem(Ct)){d.getCurrentValueFor(l,!0)&&t("TutorialModal")}document.body.scrollTop=0,document.body.classList.add("lock-scroll"),document.body.addEventListener("mousewheel",this.handleMouseWheel)}componentWillUnmount(){this.props.onCloseEditor(),document.body.classList.remove("lock-scroll"),document.body.removeEventListener("mousewheel",this.handleMouseWheel)}componentDidUpdate(){const{currentProject:e,claimedName:t,isFromClaimName:n,isReady:o,isLoading:a,isPreviewing:i,isScreenshotReady:r,onOpenModal:s,onTakeScreenshot:c}=this.props,{isDeployModalOpened:l}=this.state;a||i||!r||!e||e.thumbnail||c(),!a&&o&&e&&!e.thumbnail&&c(),a||i||!e||!n||l||(s("DeployModal",{view:M.a.DEPLOY_TO_WORLD,projectId:e.id,claimedName:t}),this.setState({isDeployModalOpened:!0}))}render(){const{isIncentiveBannerOpen:e}=this.state,{currentProject:t,isPreviewing:n,isSidebarOpen:o,isLoading:a,isFetching:r,isLoggedIn:s,numItems:c}=this.props,l=n?"fullscreen":"horizontal-layout",d=o?"toolbar open":"toolbar";let m="wrapper";if(n&&(m+=" fullscreen"),e&&!n&&(m+=" with-banner"),r)return Object(E.jsx)(p.a,{});if(!t)return Object(E.jsx)(u.default,{});const b=!s&&c>=5;return Object(E.jsxs)("div",{className:"EditorPage",children:[n?null:Object(E.jsx)($,{}),Object(E.jsx)(i.Grid,{className:l,children:Object(E.jsxs)(i.Grid.Row,{className:m,children:[Object(E.jsx)(K.a,{}),a||n?null:Object(E.jsx)("div",{className:d,children:Object(E.jsxs)(E.Fragment,{children:[Object(E.jsx)(gt,{}),Object(E.jsx)(ht,{isSidebarOpen:o,onClick:this.handleToolClick}),Object(E.jsx)(vt,{}),Object(E.jsx)(ut,{isVisible:b})]})}),n||!o?null:Object(E.jsx)(st,{})]})})]})}}},1311:function(e,t,n){"use strict";var o=n(35),a=n.n(o),i=n(1085),r=n(7),s=n(352),c=n.n(s),l=n(0);t.a=e=>{let{title:t,subtitle:n,description:o,videoSrc:s,imgSrc:d,disabled:u,tag:p,onClick:m}=e;const{video:b,hovered:h,onMouseEnter:f,onMouseLeave:y}=Object(i.a)();return Object(l.jsxs)("button",{className:c.a.container,disabled:u,onMouseEnter:f,onMouseLeave:y,onClick:m,"aria-label":t,children:[Object(l.jsxs)("div",{className:c.a.media,children:[s&&Object(l.jsx)("video",{className:a()(c.a.thumbnail,{[c.a.hidden]:!h}),src:s,muted:!0,ref:b}),Object(l.jsx)("img",{className:a()(c.a.thumbnail,{[c.a.hidden]:!!h&&s}),alt:t,src:d})]}),Object(l.jsxs)("div",{className:c.a.cardInfo,children:[Object(l.jsxs)("div",{className:c.a.description,children:[Object(l.jsxs)("div",{className:c.a.descriptionInfo,children:[Object(l.jsx)("span",{className:c.a.title,children:t}),n&&Object(l.jsx)("span",{className:c.a.subtitle,children:n})]}),p?Object(l.jsx)(r.Badge,{className:c.a.badge,color:p.color,children:p.label}):null]}),h&&Object(l.jsx)("span",{className:c.a.info,children:o})]})]})}},132:function(e,t,n){e.exports={modalBody:"DeployToWorld_modalBody__3tNzW",modalNavigation:"DeployToWorld_modalNavigation__2Ypop",end:"DeployToWorld_end__2Fxi2",emptyState:"DeployToWorld_emptyState__2O9Ps",modalHeader:"DeployToWorld_modalHeader__U8bIr",actionButton:"DeployToWorld_actionButton__3ga4a",modalBodyState:"DeployToWorld_modalBodyState__MVNnk",description:"DeployToWorld_description__1xtNb",modalBodyStateActions:"DeployToWorld_modalBodyStateActions__B7bnn",modalBodyStateActionButton:"DeployToWorld_modalBodyStateActionButton__1q4Rc",modalForm:"DeployToWorld_modalForm__3_C6m",modalFormActions:"DeployToWorld_modalFormActions__-pkfJ",actionCheckbox:"DeployToWorld_actionCheckbox__Qkszb",thumbnail:"DeployToWorld_thumbnail__MqPn1",thumbnailInfo:"DeployToWorld_thumbnailInfo__1FbrO",metricsList:"DeployToWorld_metricsList__2kUFy",worldDetails:"DeployToWorld_worldDetails__ENCE4",nameTypeOption:"DeployToWorld_nameTypeOption__1ceC1",worldDetailsDescription:"DeployToWorld_worldDetailsDescription__nVdAV",worldHasContent:"DeployToWorld_worldHasContent__h_DHO",navigationButton:"DeployToWorld_navigationButton__95TIJ",modalBodyEmptyState:"DeployToWorld_modalBodyEmptyState__1g_r_",emptyThumbnail:"DeployToWorld_emptyThumbnail__3QAnD",modalBodySuccessState:"DeployToWorld_modalBodySuccessState__2hi7E",shareUrlFieldInput:"DeployToWorld_shareUrlFieldInput__3gREP",shareUrlField:"DeployToWorld_shareUrlField__2laHM",successImage:"DeployToWorld_successImage__kMkjt",failureImage:"DeployToWorld_failureImage__17pRQ"}},1328:function(e,t,n){e.exports={modal:"SceneCreationModal_modal__2wMEL",title:"SceneCreationModal_title__25ORH"}},1329:function(e,t,n){e.exports={OptionsDropdown:"OptionsDropdown_OptionsDropdown__20PGl"}},1336:function(e,t,n){"use strict";var o=n(30),a=n(136),i=n(2),r=n(35),s=n.n(r),c=n(7),l=n(5),d=n(988),u=n(329),p=n(330),m=n(1338),b=(n(3579),n(0));class h extends i.PureComponent{renderLogin(){return Object(b.jsx)(m.a,{})}renderLoading(){return Object(b.jsx)(c.Loader,{size:"large",active:!0})}renderError(){const{error:e}=this.props;return Object(b.jsx)(c.Narrow,{children:Object(b.jsx)(c.Message,{error:!0,size:"tiny",visible:!0,content:e,header:Object(l.t)("logged_in_detail_page.error_title")})})}render(){const{activeTab:e,className:t,hasNavigation:n,isPageFullscreen:o,isFooterFullscreen:a,isNavigationFullscreen:i,isLoggedIn:r,isLoggingIn:l,children:m,error:h}=this.props,f=l||this.props.isLoading;return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)(u.a,{isFullscreen:!0}),n?Object(b.jsx)(d.a,{activeTab:e,isFullscreen:i}):null,Object(b.jsxs)(c.Page,{className:s()("LoggedInDetailPage",t),isFullscreen:o,children:[f?this.renderLoading():null,r||f||h?null:this.renderLogin(),r&&!f?m:null,!f&&h?this.renderError():null]}),Object(b.jsx)(p.a,{isFullscreen:a})]})}}h.defaultProps={className:"",isPageFullscreen:!1,isFooterFullscreen:!1,isNavigationFullscreen:!1,hasNavigation:!0,isLoading:!1};var f=Object(o.connect)(((e,t)=>({isLoggingIn:Object(a.e)(e),isLoggedIn:Object(a.d)(e),error:Object(a.c)(e)||t.error})),(()=>({})))(h);t.a=f},1337:function(e,t,n){"use strict";var o=n(30),a=n(127),i=n(2),r=n(35),s=n.n(r),c=n(7),l=n(5),d=n(129),u=(n(3479),n(0));class p extends i.PureComponent{render(){const{status:e,className:t="",type:n}=this.props,o=s()("DeploymentStatus","status-badge",t);return e===d.a.PUBLISHED||"pool"===n&&e===d.a.NEEDS_SYNC?Object(u.jsx)(c.Badge,{className:o,color:"#34CE76",children:Object(l.t)("scene_detail_page.published")}):e===d.a.NEEDS_SYNC?Object(u.jsx)(c.Badge,{className:o,color:"#FFBC5B",children:Object(l.t)("scene_detail_page.unsynced")}):Object(u.jsx)(c.Badge,{className:o,color:"#FFBC5B",children:Object(l.t)("scene_detail_page.draft")})}}var m=Object(o.connect)(((e,t)=>({status:Object(a.d)(e)[t.projectId]||null})))(p);t.a=m},1338:function(e,t,n){"use strict";var o=n(205),a=n(353),i=n(7),r=n(5),s=n(41),c=(n(3578),n(0));t.a=function(){const e=Object(o.g)();return Object(c.jsx)(i.Center,{className:"SignInRequired",children:Object(c.jsx)("div",{className:"secondary-text",children:Object(c.jsx)(r.T,{id:"global.sign_in_required",values:{link:Object(c.jsx)(a.a,{to:s.a.signIn(e.pathname),children:Object(r.t)("global.sign_in")})}})})})}},1340:function(e,t,n){"use strict";var o=n(35),a=n.n(o),i=n(5);var r=n(260),s=n.n(r),c=n(0);t.a=function(e){let{item:t}=e;const{metrics:n}=t,o=Object.keys(t.contents).some((e=>e.endsWith("mp3")||e.endsWith("ogg")));return(e=>!!e.fps)(n)?Object(c.jsxs)("div",{className:s.a.metrics,children:[Object(c.jsx)("div",{className:a()(s.a.itemMetric,s.a.sequences),children:Object(i.t)("model_metrics.sequences",{count:n.sequences})}),Object(c.jsx)("div",{className:a()(s.a.itemMetric,s.a.duration),children:Object(i.t)("model_metrics.duration",{count:Number(n.duration.toFixed(2))})}),Object(c.jsx)("div",{className:a()(s.a.itemMetric,s.a.frames),children:Object(i.t)("model_metrics.frames",{count:n.frames})}),Object(c.jsx)("div",{className:a()(s.a.itemMetric,s.a.fps),children:Object(i.t)("model_metrics.fps",{count:Number(n.fps.toFixed(2))})}),o&&Object(c.jsx)("div",{className:a()(s.a.itemMetric,s.a.sound),children:Object(i.t)("model_metrics.sound")})]}):Object(c.jsxs)("div",{className:s.a.metrics,children:[Object(c.jsx)("div",{className:a()(s.a.itemMetric,s.a.triangles),children:Object(i.t)("model_metrics.triangles",{count:n.triangles})}),Object(c.jsx)("div",{className:a()(s.a.itemMetric,s.a.materials),children:Object(i.t)("model_metrics.materials",{count:n.materials})}),Object(c.jsx)("div",{className:a()(s.a.itemMetric,s.a.textures),children:Object(i.t)("model_metrics.textures",{count:n.textures})})]})}},1341:function(e,t,n){"use strict";var o=n(2),a=n.n(o),i=n(35),r=n.n(i),s=n(5),c=n(40),l=n(1085),d=n(1818),u=(n(3431),n(0));const p=e=>{let{className:t,item:n,src:o,showMetrics:a=!1,previewIcon:i=null,children:p,onClick:m}=e;const{video:b,duration:h,size:f,isLoading:y}=Object(l.a)(),_=o||(n?Object(c.L)(n):"");return Object(u.jsx)("div",{className:r()("ItemVideoContainer",t),children:Object(c.P)(n,o)?Object(u.jsxs)(u.Fragment,{children:[Object(u.jsxs)("div",{className:r()("ItemVideo","is-video","video-wrapper"),onClick:m,children:[Object(u.jsx)("video",{className:"item-video",preload:"auto",src:_,ref:b}),null!==i&&void 0!==i?i:null]}),p?p(b,h,f,y):null,a&&!y?Object(u.jsx)(d.a,{className:"ItemVideoMetricsContainer",duration:h,size:f}):null]}):Object(u.jsxs)("div",{className:"ItemEmptyVideoContainer",onClick:m,children:[Object(u.jsx)("div",{className:"empty-video-icon"}),Object(u.jsx)("div",{className:"empty-video-text",children:Object(s.t)("create_single_item_modal.upload_video_step_title")})]})})};var m=a.a.memo(p);t.a=m},1342:function(e,t,n){"use strict";var o=n(2),a=n.n(o),i=n(35),r=n.n(i),s=n(1305),c=(n(3432),n(0));const l=e=>{let{requiredPermissions:t=[],basic:n=!1}=e;const o=t.map((e=>e.replaceAll("_"," ")));return Object(c.jsx)("div",{className:r()("ItemRequiredPermission",{basic:n}),children:Object(c.jsx)(s.TagField,{value:o,search:!1,disabled:!0,multiple:!0,selection:!1})})};var d=a.a.memo(l);t.a=d},135:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"f",(function(){return d}));var o=n(139);const a="collectibles",i=["Genesis City","Pirates","Fantasy","Sci-Fi","Year Of The Pig","Toolbox","HTC Exodus"],r=[],s=(e,t)=>e.toLowerCase()===t.toLowerCase();let c;!function(e){e.GROUND_CATEGORY="ground",e.TILES_CATEGORY="tiles",e.NATURE_CATEGORY="nature",e.STRUCTURES_CATEGORY="structures",e.DECORATIONS_CATEGORY="decorations",e.FURNITURE="furniture"}(c||(c={}));const l={[c.GROUND_CATEGORY]:{name:c.GROUND_CATEGORY,thumbnail:Object(o.c)("QmUCDv34krVLGENkoRBuqATPwgrd6xF2k5NXLgeoNG6qW6"),assets:[]},[c.TILES_CATEGORY]:{name:c.TILES_CATEGORY,thumbnail:Object(o.c)("QmebeSZq8QxGZBgBgRQnm3JV94mRtt7zqUy28hzTc3ZuDH"),assets:[]},[c.NATURE_CATEGORY]:{name:c.NATURE_CATEGORY,thumbnail:Object(o.c)("QmYFWdh5yJnrg4VuXPniDd8HHbVrfV2FPn35RPdVYVMLjg"),assets:[]},[c.STRUCTURES_CATEGORY]:{name:c.STRUCTURES_CATEGORY,thumbnail:Object(o.c)("Qme15L6oTnjfAuCs9ayTDPNEBhPRJukcLVFDNw43UXUaLA"),assets:[]},[c.DECORATIONS_CATEGORY]:{name:c.DECORATIONS_CATEGORY,thumbnail:Object(o.c)("QmUQZQEGF2tSz2hBy4xyKZ4uoWoURvQUcTxJMEyHPEWjhX"),assets:[]},[c.FURNITURE]:{name:c.FURNITURE,thumbnail:Object(o.c)("Qmd7N96rupxCLr3mWwRfgsM6Pwnf7k2SUemvxTjYvSddgN"),assets:[]}},d=(e,t)=>{const n=i.findIndex((t=>s(e.title,t))),o=i.findIndex((e=>s(t.title,e)));return-1===n?1:-1===o?-1:n>o?1:-1}},136:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return p}));var o=n(48),a=n(42),i=n(70),r=n(105);const s=e=>e.identity,c=e=>s(e).data,l=e=>s(e).error,d=Object(o.a)(c,a.getAddress,((e,t)=>{if(t){const n=e[t];if(function(e){return!!e&&Date.now()<+new Date(e.expiration)}(n))return n}return null})),u=e=>null!==d(e),p=e=>Object(a.isConnecting)(e)||Object(i.isLoadingType)((e=>s(e).loading)(e),r.c)},139:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return j})),n.d(t,"d",(function(){return O})),n.d(t,"b",(function(){return L}));var o=n(496),a=n(80),i=n(286),r=n(203),s=n(709),c=n(1304),l=n(146),d=n(249),u=n(27),p=n(326),m=n(120),b=n(40),h=n(417);const f=a.a.get("BUILDER_SERVER_URL",""),y=a.a.get("FORUM_URL",""),_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${f}/storage/contents/${e}`},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${f}/storage/assetPacks/${e}`},j=e=>`${f}/projects/${e}/media/preview.png`,O=()=>"/images/empty-ground.png";function v(e){return{id:e.id,title:e.title,description:e.description,thumbnail:e.is_template?`${e.thumbnail}`:`${f}/projects/${e.id}/media/thumbnail.png`,isPublic:!!e.is_public,sceneId:e.scene_id,ethAddress:e.eth_address,layout:{rows:e.rows,cols:e.cols},createdAt:e.created_at,updatedAt:e.updated_at,isTemplate:!!e.is_template,video:e.is_template&&null!==e&&void 0!==e&&e.video?`${e.video}`:null,templateStatus:null===e||void 0===e?void 0:e.template_status}}function C(e){const t=v(e);return t.thumbnail=`${f}/projects/${e.id}/media/preview.png`,t.isPublic=!0,t.groups=e.groups||[],t.likes=e.likes||0,t.like=!!e.like,e.parcels&&(t.statistics={parcels:e.parcels,transforms:e.transforms,gltf_shapes:e.gltf_shapes,nft_shapes:e.nft_shapes,scripts:e.scripts,entities:e.entities}),t}function x(e){return{id:e.id,title:e.title,eth_address:e.ethAddress,assets:e.assets.map((e=>function(e){return{id:e.id,legacy_id:e.legacyId||null,asset_pack_id:e.assetPackId,name:e.name,model:e.model.replace(`${e.assetPackId}/`,""),script:e.script,thumbnail:e.thumbnail.replace(_(),""),tags:e.tags,category:e.category,contents:e.contents,metrics:e.metrics,parameters:e.parameters,actions:e.actions}}(e)))}}function w(e){return{id:e.id,title:e.title,thumbnail:g(e.thumbnail),ethAddress:e.eth_address,assets:e.assets.map((e=>{return{id:(t=e).id,legacyId:t.legacy_id,assetPackId:t.asset_pack_id,name:t.name,model:t.model,script:t.script,thumbnail:_(t.thumbnail),tags:t.tags,category:t.category,contents:t.contents,metrics:t.metrics,parameters:t.parameters,actions:t.actions};var t})),createdAt:e.created_at,updatedAt:e.updated_at}}function E(e){return{id:e.id,name:e.name,isActive:e.is_active,activeFrom:new Date(Date.parse(e.active_from)),activeUntil:new Date(Date.parse(e.active_until))}}function S(e){return{id:e.id,name:e.name,description:e.description||"",thumbnail:e.thumbnail,video:e.video||null,eth_address:e.owner,collection_id:e.collectionId||null,blockchain_item_id:e.tokenId||null,price:e.price||null,urn:e.urn||null,beneficiary:e.beneficiary||null,rarity:e.rarity||null,total_supply:void 0===e.totalSupply?null:e.totalSupply,is_published:!1,is_approved:!1,in_catalyst:e.inCatalyst||!1,type:e.type,data:e.data,metrics:e.metrics,contents:e.contents,content_hash:e.blockchainContentHash,local_content_hash:e.currentContentHash,catalyst_content_hash:e.catalystContentHash}}function A(e){const t={id:e.id,name:e.name,thumbnail:e.thumbnail,owner:e.eth_address,description:e.description,isPublished:e.is_published,isApproved:e.is_approved,inCatalyst:e.in_catalyst,type:e.type,data:e.data,contents:e.contents,currentContentHash:e.local_content_hash,blockchainContentHash:e.content_hash,catalystContentHash:e.catalyst_content_hash,metrics:e.metrics,createdAt:+new Date(e.created_at),updatedAt:+new Date(e.created_at)};return e.collection_id&&(t.collectionId=e.collection_id),e.blockchain_item_id&&(t.tokenId=e.blockchain_item_id),e.price&&(t.price=e.price),e.urn&&(t.urn=e.urn),e.beneficiary&&(t.beneficiary=e.beneficiary),e.rarity&&(t.rarity=e.rarity),null!==e.total_supply&&(t.totalSupply=e.total_supply),e.video&&(t.video=e.video),e.type===u.m.WEARABLE&&(t.data.isSmart=Object(b.Y)(e)),t}function T(e){return{id:e.id,name:e.name,eth_address:e.owner,salt:e.salt||null,contract_address:e.contractAddress||null,urn:e.urn,is_published:!1,is_approved:!1,minters:e.minters,managers:e.managers,forum_link:e.forumLink||null,lock:e.lock?new Date(e.lock):null,reviewed_at:e.reviewedAt?new Date(e.reviewedAt):null}}function R(e){const t={id:e.id,name:e.name,owner:e.eth_address,urn:e.urn,isPublished:e.is_published,isApproved:e.is_approved,itemCount:Number(e.item_count),minters:e.minters||[],managers:e.managers||[],forumLink:e.forum_link||void 0,lock:e.lock?+new Date(e.lock):void 0,reviewedAt:e.reviewed_at?+new Date(e.reviewed_at):void 0,createdAt:+new Date(e.created_at),updatedAt:+new Date(e.updated_at)};return e.salt&&(t.salt=e.salt),e.contract_address&&(t.contractAddress=e.contract_address),t}function k(e){return{id:e.id,status:e.status,createdAt:+new Date(e.created_at),updatedAt:+new Date(e.updated_at)}}function N(e){return{...k(e),collectionId:e.collection_id,assignee:e.assignee}}function P(e){return{...k(e),itemId:e.item_id,contentHash:e.content_hash}}const I=e=>{const t=new URLSearchParams;if(null!==e&&void 0!==e&&e.isPublished&&t.append("is_published",`${e.isPublished.toString()}`),null!==e&&void 0!==e&&e.assignee&&t.append("assignee",e.assignee),null!==e&&void 0!==e&&e.status&&t.append("status",e.status),null!==e&&void 0!==e&&e.type&&t.append("type",e.type),null!==e&&void 0!==e&&e.synced&&t.append("synced",`${e.synced.toString()}`),null!==e&&void 0!==e&&e.sort&&t.append("sort",e.sort),null!==e&&void 0!==e&&e.q&&t.append("q",e.q),null!==e&&void 0!==e&&e.page&&t.append("page",`${e.page}`),null!==e&&void 0!==e&&e.limit&&t.append("limit",`${e.limit}`),null!==e&&void 0!==e&&e.tag&&e.tag.length>0)for(const n of e.tag)t.append("tag",n);return t};class L extends o.BaseAPI{constructor(e,t){super(e),this.authorization=void 0,this.saveItem=async(e,t)=>{await this.request("put",`/items/${e.id}`,{params:{item:S(e)}}),await this.saveItemContents(e,t)},this.saveItemContents=async(e,t)=>{const n=[];if(Object.keys(t).length>0){const o=new FormData,a=new FormData;for(const n in t)t[n].type.startsWith("video/")?a.append(n,t[n]):o.append(e.contents[n],t[n]);n.push(this.request("post",`/items/${e.id}/files`,{params:o})),Array.from(a.keys()).length>0&&n.push(this.request("post",`/items/${e.id}/videos`,{params:a}))}return Promise.all(n)},this.saveTOS=async(e,t)=>{await this.request("post",`/collections/${e.id}/tos`,{params:{email:t,collection_address:e.contractAddress}})},this.lockCollection=async e=>this.request("post",`/collections/${e.id}/lock`,{params:{collection_address:e.id}}),this.fetchApprovalData=async e=>this.request("get",`/collections/${e}/approvalData`),this.authorization=t}async request(e,t,n){const{params:o,config:a,retry:i}=n||{};let r={},s={};a&&(r={...a},a.headers&&(s={...a.headers}));const c=await this.authorization.createAuthHeaders(e,t);s={...s,...c},r={...r,headers:s};try{return await super.request(e,t,o,r,i)}catch(l){throw this.isAxiosError(l)&&l.response&&(l.message=l.response.data.error,l.code=l.response.status.toString()),l}}async deployToPool(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;await this.request("put",`/projects/${e}/pool`,{params:t})}async uploadMedia(e,t,n,o){const a=new FormData;a.append("preview",t),a.append("north",n.north),a.append("east",n.east),a.append("south",n.south),a.append("west",n.west),await this.request("post",`/projects/${e}/media`,{params:a,config:{onUploadProgress:o}})}async uploadFile(e){const t=new FormData;t.append("file",e);const{hash:n}=await this.request("post","/storage/upload",{params:t});return{hash:n}}async uploadCrdt(e,t){const n=new FormData;n.append("file",e),await this.request("put",`/projects/${t}/crdt`,{params:n})}async fetchMain(e){const t=async e=>fetch(this.url+e,{headers:await this.authorization.createAuthHeaders("get",e)}),n=(await t(`/projects/${e}/about`).then((e=>e.json()))).configurations.scenesUrn[0].split("urn:decentraland:entity:").pop().split("?")[0],o=(await t(`/projects/${e}/contents/${n}`).then((e=>e.json()))).content.find((e=>"bin/index.js"===e.file)),a=await t(`/projects/${e}/contents/${o.hash}`).then((e=>e.text()));return new Blob([a])}async fetchCrdt(e){const t=`/projects/${e}/crdt`,n=await this.authorization.createAuthHeaders("get",t),o=await fetch(this.url+t,{headers:n});return await o.blob()}async fetchProjects(){const{items:e}=await this.request("get","/projects",{retry:p.b});return e.map(v)}async fetchPublicProject(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"public";const n=await this.request("get",`/projects/${e}/${t}`);return"pool"===t?C(n):v(n)}async fetchPoolsPage(e){const{items:t,total:n}=await this.request("get","/pools",{params:e});return{items:t.map(C),total:n}}async fetchPoolGroups(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(await this.request("get","/pools/groups",{params:{activeOnly:e}})).map(E)}async fetchTemplates(){const{items:e}=await this.request("get","/templates",{retry:p.b,params:{sort_by:"created_at",sort_order:"asc"}});return e.map(v).sort(((e,t)=>e.templateStatus===c.a.COMING_SOON?1:t.templateStatus===c.a.COMING_SOON?-1:0))}async saveProject(e,t){const n=Object(d.e)(function(e){return{id:e.id,title:e.title,description:e.description,is_public:e.isPublic,scene_id:e.sceneId,eth_address:e.ethAddress,rows:e.layout.rows,cols:e.layout.cols,created_at:e.createdAt,updated_at:e.updatedAt,is_template:e.isTemplate,video:e.video,template_status:e.templateStatus}}(e),t);await this.request("put",`/projects/${e.id}/manifest`,{params:{manifest:n}})}async saveProjectThumbnail(e){const t=Object(l.d)(e.thumbnail),n=new FormData;t&&(n.append("thumbnail",t),await this.request("post",`/projects/${e.id}/media`,{params:n}))}async deleteProject(e){await this.request("delete",`/projects/${e}`)}async fetchManifest(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.b.PROJECT;const n=await this.request("get",`/${t}s/${e}/manifest`),o={...n,project:v(n.project)};return o.project.ethAddress||(o.project.ethAddress="legacy"),Object(r.g)(o,s.a)}async saveAssetPack(e){const t=x(e);await this.request("put",`/assetPacks/${t.id}`,{params:{assetPack:t}})}async saveAssetContents(e,t,n){const o=new FormData;for(const a in t)o.append(a,t[a]);await this.request("post",`/assetPacks/${e.assetPackId}/assets/${e.id}/files`,{params:o,config:{onUploadProgress:n}})}async saveAssetPackThumbnail(e){let t=null;if(t=Object(l.f)(e.thumbnail)?Object(l.d)(e.thumbnail):await Object(l.h)(e.thumbnail),!t)throw new Error("Invalid thumbnail");const n=new FormData;t&&(n.append("thumbnail",t),await this.request("post",`/assetPacks/${e.id}/thumbnail`,{params:n}))}async fetchAssetPacks(e){const t=[this.request("get","/assetPacks",{params:{owner:"default"}})];e&&t.push(this.request("get","/assetPacks",{params:{owner:e}}));return(await Promise.all(t)).reduce(((e,t)=>e.concat(t)),[]).map(w)}async deleteAssetPack(e){await this.request("delete",`/assetPacks/${e.id}`)}likePool(e){const t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"put":"delete";return this.request(t,`/pools/${e}/likes`)}async fetchItems(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{collectionId:n,page:o=h.a,limit:a=h.b}=t,i=e?`/${e}/items`:"/items",r=await this.request("get",i,{params:{page:o,limit:a,collectionId:n},retry:p.b});return{...r,results:r.results.map(A)}}async fetchItem(e){return A(await this.request("get",`/items/${e}`))}async fetchCollectionItems(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{page:n,limit:o}=t,a=await this.request("get",`/collections/${e}/items`,{params:t,retry:p.b});return n&&o&&a.results?{...a,results:a.results.map(A)}:a.map(A)}async deleteItem(e){await this.request("delete",`/items/${e}`,{})}async fetchCollections(e,t){const n=e?`/${e}/collections`:"/collections",o=await this.request("get",n,{params:I(t),retry:p.b}),{limit:a,page:i}=t||{};return i&&a&&o.results?{...o,results:o.results.map(R)}:o.map(R)}async fetchCollection(e){return R(await this.request("get",`/collections/${e}`,{retry:p.b}))}async publishStandardCollection(e){const{collection:t,items:n}=await this.request("post",`/collections/${e}/publish`);return{collection:R(t),items:n.map(A)}}async publishTPCollection(e,t,n){const{collection:o,items:a,itemCurations:i}=await this.request("post",`/collections/${e}/publish`,{params:{itemIds:t,cheque:n}});return{collection:R(o),items:a.map(A),itemCurations:i.map(P)}}async saveCollection(e,t){return R(await this.request("put",`/collections/${e.id}`,{params:{collection:T(e),data:t}}))}async deleteCollection(e){await this.request("delete",`/collections/${e}`,{})}async fetchCurations(){return(await this.request("get","/curations",{retry:p.b})).map(N)}async fetchItemCuration(e){return P(await this.request("get",`/items/${e}/curation`))}async fetchItemCurations(e,t){return(await this.request("get",`/collections/${e}/itemCurations`,{params:{itemIds:t}})).map(P)}async fetchCuration(e){const t=await this.request("get",`/collections/${e}/curation`);if(t)return N(t)}async pushCuration(e,t){return this.request("post",`/collections/${e}/curation`,{params:{curation:{assignee:t}}})}async pushItemCuration(e){return P(await this.request("post",`/items/${e}/curation`))}async fetchCommittee(){return this.request("get","/committee",{retry:p.b})}async createCollectionForumPost(e,t){return this.request("post",`/collections/${e.id}/post`,{params:{forumPost:t}})}async getCollectionForumPostReply(e){const t=await fetch(`${y}/t/${e}.json`);if(200===t.status){const e=await t.json();return{topic_id:e.id,highest_post_number:e.highest_post_number,show_read_indicator:e.show_read_indicator,last_read_post_number:null===e||void 0===e?void 0:e.last_read_post_number}}throw new Error("The requested topic id could not be found.")}async createCollectionNewAssigneeForumPost(e,t){return this.request("post",`/collections/${e.id}/curation/post`,{params:{forumPost:t}})}async fetchRarities(){return this.request("get","/rarities")}async fetchThirdParties(e){return this.request("get","/thirdParties",{params:{manager:e},retry:p.b})}async fetchThirdPartyAvailableSlots(e){return this.request("get",`/thirdParties/${e}/slots`,{retry:p.b})}async updateCurationStatus(e,t){return this.request("patch",`/collections/${e}/curation`,{params:{curation:{status:t}}})}async updateCuration(e,t){return this.request("patch",`/collections/${e}/curation`,{params:{curation:t}})}async updateItemCurationStatus(e,t){return P(await this.request("patch",`/items/${e}/curation`,{params:{curation:{status:t}}}))}async fetchContent(e){const t=_(e),n=await fetch(t,{headers:i.a});if(!n.ok){const e=await n.text();throw new Error(e)}return await n.blob()}async fetchContents(e){const t=new Map,n=[];for(const o in e){const a=e[o];t.has(a)||t.set(a,this.fetchContent(a));const i=t.get(a);n.push(i.then((e=>[o,e])))}return Promise.all(n).then((e=>e.reduce(((e,t)=>{let[n,o]=t;return e[n]=o,e}),{})))}isAxiosError(e){return e.isAxiosError}subscribeToNewsletter(e,t){return this.request("post","/newsletter",{params:{email:e,source:t}})}}},141:function(e,t,n){e.exports={modalBody:"DeployToWorld_modalBody__34E0V",modalNavigation:"DeployToWorld_modalNavigation__17ZIu",end:"DeployToWorld_end__2Us54",emptyState:"DeployToWorld_emptyState__hca8z",modalHeader:"DeployToWorld_modalHeader__MFo5L",actionButton:"DeployToWorld_actionButton__2BdtL",modalBodyState:"DeployToWorld_modalBodyState__12jWk",description:"DeployToWorld_description__XTfzM",modalBodyStateActions:"DeployToWorld_modalBodyStateActions__2bR57",modalBodyStateActionButton:"DeployToWorld_modalBodyStateActionButton__3xunw",modalForm:"DeployToWorld_modalForm__2OTfM",modalFormActions:"DeployToWorld_modalFormActions__1IfKW",actionCheckbox:"DeployToWorld_actionCheckbox__YzlXE",thumbnail:"DeployToWorld_thumbnail__1UGw6",thumbnailInfo:"DeployToWorld_thumbnailInfo__1ytZt",metricsList:"DeployToWorld_metricsList__R4bHv",worldDetails:"DeployToWorld_worldDetails__39YoQ",worldDetailsDescription:"DeployToWorld_worldDetailsDescription__2K-w0",worldHasContent:"DeployToWorld_worldHasContent__3W1b4",navigationButton:"DeployToWorld_navigationButton__3VxfF",modalBodyEmptyState:"DeployToWorld_modalBodyEmptyState__24gKR",emptyThumbnail:"DeployToWorld_emptyThumbnail__3ot3C",modalBodySuccessState:"DeployToWorld_modalBodySuccessState__3rJ7b",shareUrlFieldInput:"DeployToWorld_shareUrlFieldInput__clfe7",shareUrlField:"DeployToWorld_shareUrlField__1vgBA",successImage:"DeployToWorld_successImage__2gTQE",failureImage:"DeployToWorld_failureImage__hIM_Y"}},146:function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"g",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"e",(function(){return h}));var o=n(302),a=n(31),i=n(286),r=n(256),s=n(465);function c(e){return e.startsWith("data:")}function l(e){const t=e.split(","),n=/:(.*?);/.exec(t[0]);if(n){const e=atob(t[1]);let o=e.length;const a=new Uint8Array(o);for(;o--;)a[o]=e.charCodeAt(o);return new Blob([a],{type:n[1]})}return null}async function d(e){return fetch(e,{headers:i.a}).then((e=>e.blob()))}async function u(e,t){const n=await Object(r.h)(t,e);return Object(o.hashV1)(n.content)}function p(e){return e.startsWith("http")}async function m(e){return new Promise((t=>{const n=new FileReader;n.onload=function(e){t(e.target.result)},n.readAsDataURL(e)}))}async function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.WearableCategory.EYES;const n=new Image,o=new Promise((e=>{n.onload=()=>e(n)}));n.src=await m(e),await o;let i=128;switch(t){case a.WearableCategory.EYEBROWS:case a.WearableCategory.MOUTH:i=160;break;case a.WearableCategory.EYES:i=128}const r=document.createElement("canvas");r.width=1024,r.height=1024,r.style.visibility="hidden",document.body.appendChild(r);const s=r.getContext("2d");return s.drawImage(n,0,i,r.width,r.height),document.body.removeChild(r),r.toDataURL()}async function h(e){const t=new DataView(await e.arrayBuffer(),0,5);switch(t.getUint8(0).toString(16)+t.getUint8(1).toString(16)){case"8950":return s.a.PNG;case"4749":return s.a.GIF;case"424d":return s.a.BMP;case"ffd8":return s.a.JPEG;default:return s.a.UNKNOWN}}},147:function(e,t,n){"use strict";n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"l",(function(){return f})),n.d(t,"o",(function(){return y})),n.d(t,"p",(function(){return _})),n.d(t,"h",(function(){return g})),n.d(t,"g",(function(){return j})),n.d(t,"f",(function(){return O})),n.d(t,"n",(function(){return v})),n.d(t,"k",(function(){return C})),n.d(t,"j",(function(){return E})),n.d(t,"i",(function(){return S})),n.d(t,"r",(function(){return A})),n.d(t,"q",(function(){return T})),n.d(t,"m",(function(){return R}));var o=n(31),a=n(27),i=n(249),r=n(139);n(40);var s=n(306);function c(e){for(var t,n="",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(e),i=a.byteLength,r=i%3,s=i-r,c=0;c<s;c+=3)n+=o[(16515072&(t=a[c]<<16|a[c+1]<<8|a[c+2]))>>18]+o[(258048&t)>>12]+o[(4032&t)>>6]+o[63&t];return 1===r?n+=o[(252&(t=a[s]))>>2]+o[(3&t)<<4]+"==":2===r&&(n+=o[(64512&(t=a[s]<<8|a[s+1]))>>10]+o[(1008&t)>>4]+o[(15&t)<<2]+"="),n}const l=n(2935).default,d=984,u=728,p=.5,m=Math.PI/16,b=.5,h=.001;function f(e){const t={"game.js":`data:application/javascript;base64,${c((new TextEncoder).encode(l))}`,"scene.json":"Qm"};return{...Object(i.g)(e,{x:0,y:0},"east",null,null),baseUrl:Object(r.c)(),display:{title:e.title},owner:"Decentraland",contact:{name:"Decentraland",email:"support@decentraland.org"},main:"game.js",_mappings:t}}function y(e,t,n){return new Promise((o=>{const a=new Image;a.onload=()=>{let{width:e,height:i}=a,r=0;e>t?(r=t/e,e=t,i*=r):i>n&&(r=n/i,e*=r,i=n);const s=function(e,t,n){const o=document.createElement("canvas"),a=o.getContext("2d");return a?(o.width=t,o.height=n,a.drawImage(e,0,0,t,n),o.toDataURL()):null}(a,e,i);o(s)},a.src=e}))}function _(e){return{x:0===e.x?h:e.x,y:0===e.y?h:e.y,z:0===e.z?h:e.z}}function g(e){const t=Object.values(e.entities).reduce(((e,t)=>(e[t.id]={...t,disableGizmos:!0},e)),{});return{...e,entities:t}}function j(e){switch(e.key){case"Down":case"ArrowDown":return"DownArrow";case"Up":case"ArrowUp":return"UpArrow";case"Left":case"ArrowLeft":return"LeftArrow";case"Right":case"ArrowRight":return"RightArrow"}return null}function O(e,t){return e.position.x===t.position.x&&e.position.y===t.position.y&&e.position.z===t.position.z&&e.rotation.x===t.rotation.x&&e.rotation.y===t.rotation.y&&e.rotation.z===t.rotation.z&&e.rotation.w===t.rotation.w&&e.scale.x===t.scale.x&&e.scale.y===t.scale.y&&e.scale.z===t.scale.z}const v=e=>e[Math.random()*e.length|0],C=e=>{let t=e.id.split(":").pop();return(t.startsWith("f_")||t.startsWith("m_"))&&(t=t.slice(2)),t.split("_").map((e=>{const t=Number(e);return!!isNaN(t)||t<=0?e:null})).filter((e=>null!=e)).map((e=>{return(t=e)[0].toUpperCase()+t.slice(1).toLowerCase();var t})).join(" ")};function x(e){const t=/(http[s]?:\/\/.+\/content\/contents\/).+/.exec(e);if(t&&t[1])return t[1];throw new Error("No base URL found in th URL: "+e)}function w(e){const t=/http[s]?:\/\/.+\/content\/contents\/([a-zA-Z0-9]+)/.exec(e);if(t&&t[1])return t[1];throw new Error("No hash found in the URL: "+e)}function E(e){return{id:e.id,type:"wearable",category:e.data.category,baseUrl:x(e.thumbnail),tags:e.data.tags,representations:e.data.representations.map((e=>({bodyShapes:e.bodyShapes,mainFile:e.mainFile,contents:e.contents.map((e=>({file:e.key,hash:w(e.url)})))})))}}function S(e,t,n){return e.filter((e=>e.category===t&&e.representations.some((e=>e.bodyShapes.some((e=>e===n))))))}function A(e){return e.toHexString().slice(1,7).toLowerCase()}function T(e){const t=e.type===a.m.EMOTE?function(e){return{id:e.id,name:e.name,thumbnail:e.thumbnail,image:e.thumbnail,description:e.description,i18n:[{code:o.Locale.EN,text:e.name}],emoteDataADR74:{...e.data,category:e.data.category,representations:e.data.representations.map((t=>({...t,contents:t.contents.map((t=>({key:t,url:Object(r.c)(e.contents[t])})))}))),loop:e.data.loop}}}(e):function(e){return{id:e.id,name:e.name,thumbnail:e.thumbnail,image:e.thumbnail,description:e.description,i18n:[{code:o.Locale.EN,text:e.name}],data:{...e.data,category:e.data.category,representations:e.data.representations.map((t=>({...t,contents:t.contents.map((t=>({key:t,url:Object(r.c)(e.contents[t])})))})))}}}(e),n=JSON.stringify(t).replace(/[\u0250-\ue007]/g,"");return btoa(n)}async function R(){return Promise.all(["unity/Build/hls.min.js","editor.js","UnityLoader.js"].map((e=>Object(s.g)(`/${e}`))))}},149:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"n",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"j",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"l",(function(){return u})),n.d(t,"m",(function(){return p})),n.d(t,"k",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return f})),n.d(t,"g",(function(){return y}));var o=n(11);const a="Sync",i=()=>Object(o.action)(a),r="Retry sync",s=()=>Object(o.action)(r),c="[Request] Save project",l="[Success] Save project",d="[Failure] Save project",u=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(o.action)(c,{project:e,debounce:t})},p=e=>Object(o.action)(l,{project:e}),m=(e,t)=>Object(o.action)(d,{project:e,error:t}),b="[Request] Delete project",h=e=>Object(o.action)(b,{id:e}),f=e=>Object(o.action)("[Success] Delete project",{id:e}),y=(e,t)=>Object(o.action)("[Failure] Delete project",{id:e,error:t})},170:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"g",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return b})),n.d(t,"f",(function(){return h}));var o=n(302),a=n(135),i=n(256);const r=15,s=30,c=3,l=26214400;function d(e){return e.assetPackId===a.a}function u(e){return e.category===a.b.GROUND_CATEGORY}function p(e){const t=/(.*)\.(.*)/g.exec(e);let n=e;if(t&&t.length){n=t[1].replace(/[.\-_]/g," ")}return(n.charAt(0).toUpperCase()+n.slice(1)).slice(0,s)}function m(e){const t={};for(const n in e){const o=e[n];t[n]=URL.createObjectURL(o)}return t}function b(e){for(const t in e){const n=e[t];URL.revokeObjectURL(n)}}async function h(e){const{contents:t}=e,n={};for(const a of Object.keys(t)){const e=await Object(i.h)(a,t[a]);n[a]=await Object(o.hashV1)(e.content)}return n}},1787:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var o=n(11);const a="Set collection page view",i=e=>Object(o.action)(a,{view:e})},1788:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.ATLAS="atlas",e.GRID="grid"}(o||(o={}))},1789:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var o=n(11);const a="Set land page view",i=e=>Object(o.action)(a,{view:e})},1816:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i}));const o=e=>e.inspector,a=e=>o(e).screenshotEnabled,i=e=>o(e).isReloading},1818:function(e,t,n){"use strict";var o=n(2),a=n.n(o),i=n(35),r=n.n(i),s=n(5),c=n(7),l=n(218),d=n(0);const u=e=>{let{size:t,duration:n,className:o,showIcons:a=!0}=e;return Object(d.jsxs)("div",{className:r()("VideoMetrics",o),children:[Object(d.jsxs)("div",{className:"metric",children:[a&&Object(d.jsx)(c.Icon,{name:"clock outline"}),Object(s.t)("video_stats.seconds",{seconds:n.toFixed(2)})]}),Object(d.jsxs)("div",{className:"metric",children:[a&&Object(d.jsx)(c.Icon,{name:"video"}),Object(s.t)("video_stats.size",{size:Object(l.c)(t).toFixed(2)})]})]})};t.a=a.a.memo(u)},1819:function(e,t,n){"use strict";t.a=n.p+"static/media/web-editor-image.be4c7f7b.png"},182:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return b})),n.d(t,"l",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"g",(function(){return y})),n.d(t,"d",(function(){return _})),n.d(t,"h",(function(){return g})),n.d(t,"f",(function(){return O})),n.d(t,"c",(function(){return v})),n.d(t,"j",(function(){return C})),n.d(t,"i",(function(){return x}));var o=n(4),a=n(49),i=n(654),r=n(54),s=n(89),c=n(249),l=n(184),d=n(120),u=n(83);function p(e){return Object.keys(e.entities).reduce(((t,n)=>({...t,[n]:{...e.entities[n],components:[...e.entities[n].components]}})),{})}function m(e,t){const n={};for(const o in t){const a=t[o];-1===a.components.indexOf(e)&&(n[o]=a)}return n}function b(e,t){const n=[];for(const o in e){const a=o;e[a]>t[a]&&(n.includes(a)||n.push(a))}return n}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5;return{x:Math.round(e.x/t)*t,y:Math.round(e.y/t)*t,z:Math.round(e.z/t)*t}}function f(e,t){return{x:Math.max(Math.min(e.x,t.x),0),y:Math.max(Math.min(e.y,t.y),0),z:Math.max(Math.min(e.z,t.z),0)}}function*y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.b.PROJECT;const n=yield Object(o.select)(r.c),c=yield Object(o.select)(i.b),l=yield Object(o.select)(s.h),u=n[e]||c[e];let p=u&&l[u.sceneId];if(!p){yield Object(o.put)(Object(a.O)(e,t));const n=yield Object(o.race)({success:Object(o.take)(a.n),failure:Object(o.take)(a.l)});if(n.success)p=n.success.payload.manifest.scene;else if(n.failure)throw new Error(n.failure.payload.error)}return p}function _(e,t,n){const o=new Set,a=t.map((t=>e.components[t]));for(const i in e.entities){const t=e.entities[i];o.add(t.name)}return g(a,o,n)}function g(e,t,n){let o=1,a="entity";for(const s of e)try{if(s.type===u.a.GLTFShape){const e=n[s.data.assetId];if(e){const t=e.name.match(/[A-Za-z]+/g);a=j(t?t.join("_"):a)}}else s.type===u.a.NFTShape&&(a="nft")}catch(r){}let i=a;for(;t.has(i);)i=`${a}${++o}`;return i}function j(e){return e.replace(/\s/g,"_").split("_").map(((e,t)=>0===e.length?"":0===t?e.toLowerCase():1===e.length?e.toUpperCase():e.charAt(0).toUpperCase()+e.slice(1))).join("")}function O(e){const t=e.data.src;if(!t)throw Error("Invalid name");const n=j(t.split("/").pop().split(".").shift().replace(/\d*$/,""));if(!n||n===c.b)throw Error("Invalid name");return n}function v(e,t,n){const o={};for(const a of t){const t=void 0!==a.default&&""!==a.default;if(a.type===l.a.ACTIONS){if(t){const t=n[e],i=t&&t.actions.find((e=>e.id===a.id));o[a.id]=[{entityName:e,actionId:a.default,values:i?v(e,i.parameters,n):{}}]}}else if(a.type===l.a.ENTITY){const t=Object.keys(n).find((t=>!!n[t]&&(t!==e&&n[t].category!==l.b)));o[a.id]=t||e}else t&&(o[a.id]=a.default)}return o}function C(e,t,n,o){for(const a of e)if(a.type===l.a.ACTIONS){const i=t[a.id];if(i)for(let t=0;t<i.length;t++){const a=i[t];a.entityName===n&&(a.entityName=o),C(e,a.values,n,o)}}else a.type===l.a.ENTITY&&t[a.id]===n&&(t[a.id]=o)}function x(e,t,n){for(const o of e)if(o.type===l.a.ACTIONS){const a=t[o.id];if(a)for(let t=0;t<a.length;t++){const o=a[t];o.entityName!==n?x(e,o.values,n):a.splice(t,1)}}else o.type===l.a.ENTITY&&t[o.id]===n&&delete t[o.id]}},1820:function(e,t,n){"use strict";n.d(t,"b",(function(){return b}));var o=n(2),a=n.n(o),i=n(7),r=n(31),s=n(194),c=n(5),l=n(27),d=n(40),u=n(187),p=n(276),m=n(0);const b=e=>{switch(e){case p.a.PUSH_CHANGES:return Object(c.t)("third_party_collection_detail_page.push_changes");case p.a.PUBLISH_AND_PUSH_CHANGES:return Object(c.t)("third_party_collection_detail_page.publish_and_push_changes");default:return Object(c.t)("third_party_collection_detail_page.publish")}},h=e=>{const{collection:t,items:n,slots:a,onClick:h,itemsStatus:f,itemCurations:y,isLoadingItemCurations:_}=e,g=Object(o.useMemo)((()=>{let e=p.a.NONE;const{willPublish:t,willPushChanges:o}=n.reduce(((e,t)=>{const n=f[t.id];return n===l.s.UNPUBLISHED?e.willPublish=!0:Object(d.Q)(t,n,y.find((e=>e.itemId===t.id&&e.status===u.b.PENDING)))&&(e.willPushChanges=!0),e}),{willPublish:!1,willPushChanges:!1}),a=t&&!o,i=o&&t;return o&&!t?e=p.a.PUSH_CHANGES:a?e=p.a.PUBLISH:i&&(e=p.a.PUBLISH_AND_PUSH_CHANGES),e}),[y,f,n]),j=Object(o.useCallback)((()=>{const e=n.map((e=>e.id));h(t.id,e,g)}),[t,n,g,h]),O=Object(o.useMemo)((()=>n.filter((e=>!(null!==y&&void 0!==y&&y.find((t=>t.itemId===e.id))))).length),[n,y]),v=Object(o.useMemo)((()=>{switch(g){case p.a.PUBLISH:return O?Object(c.t)("third_party_collection_detail_page.cant_publish_items",{count:O}):Object(c.t)("third_party_collection_detail_page.cant_publish");case p.a.PUBLISH_AND_PUSH_CHANGES:return Object(c.t)("third_party_collection_detail_page.cant_publish_and_push_changes",{count:O});default:return Object(c.t)("third_party_collection_detail_page.cant_publish")}}),[g,O]),C=y&&!!y.find((e=>e.status===u.b.PENDING)),x=[p.a.PUBLISH,p.a.PUBLISH_AND_PUSH_CHANGES].includes(g),w=a>=n.length;return _||!C||!x&&g!==p.a.NONE?Object(m.jsx)(i.Popup,{content:Object(c.t)("third_party_collection_detail_page.exceeds_available_slots"),position:"bottom center",trigger:Object(m.jsx)("div",{className:"popup-button",children:Object(m.jsx)(s.NetworkButton,{loading:_,disabled:x&&(0===a||!w)||0===n.length||g===p.a.NONE,primary:!0,compact:!0,onClick:j,network:r.Network.MATIC,children:b(g)})}),hideOnScroll:!0,disabled:!x||x&&w,on:"hover",inverted:!0}):Object(m.jsx)(i.Popup,{content:v,position:"bottom center",trigger:Object(m.jsx)("div",{className:"popup-button",children:Object(m.jsx)(i.Button,{secondary:!0,compact:!0,disabled:!0,children:Object(c.t)("collection_detail_page.under_review")})}),hideOnScroll:!0,on:"hover",inverted:!0})};t.a=a.a.memo(h)},1834:function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var o=n(2),a=n(35),i=n.n(a),r=n(7),s=n(317),c=n(5),l=n(330),d=n(329),u=n(547),p=n(1844),m=n(988),b=n(1089),h=n(223),f=n(41),y=(n(3577),n(0));const _="builder-last-visited-section",g=Object(s.getLocalStorage)(),j=[h.a.COLLECTIONS,h.a.SCENES,h.a.LAND,h.a.NAMES];t.b=e=>{const{isLoggingIn:t,isLoggedIn:n,hasRouterHistory:a,onNavigate:s}=e;Object(o.useEffect)((()=>{var e;const t=null!==(e=g.getItem(_))&&void 0!==e?e:"";n&&!a&&t!==f.a.root()&&s(t)}),[n,a,s]);const O=e=>{g.setItem(_,e),s(e)},v=e=>{switch(e){case h.a.COLLECTIONS:return"https://docs.decentraland.org/creator/wearables/wearables-overview/#collections";case h.a.SCENES:return"https://docs.decentraland.org/creator/builder/builder-101/#scenes";case h.a.LAND:return"https://docs.decentraland.org/player/market/land-manager/";case h.a.NAMES:return"https://decentraland.org/blog/project-updates/manage-names-in-the-builder/";default:throw new Error("Invalid Navigation Tab")}};return t?Object(y.jsx)(u.a,{}):Object(y.jsxs)(y.Fragment,{children:[Object(y.jsx)(d.a,{isFullscreen:!0}),Object(y.jsxs)(r.Page,{isFullscreen:!0,className:"HomePage",children:[Object(y.jsx)(m.a,{activeTab:h.a.OVERVIEW,children:Object(y.jsx)(p.a,{})}),Object(y.jsx)(b.a,{}),Object(y.jsxs)(r.Container,{children:[Object(y.jsx)("h1",{className:"title",children:Object(c.t)("home_page.title")}),Object(y.jsx)(r.Card.Group,{itemsPerRow:4,centered:!0,children:j.map(((e,t)=>Object(y.jsxs)(r.Card,{children:[Object(y.jsxs)(r.Card.Content,{textAlign:"center",children:[Object(y.jsx)(r.Card.Header,{children:Object(c.t)(`home_page.${e}.card_title`)}),Object(y.jsxs)(r.Card.Description,{children:[Object(y.jsx)("p",{className:"card-description",children:Object(c.t)(`home_page.${e}.card_description`)}),Object(y.jsx)("div",{className:i()("card-image",e)})]})]}),Object(y.jsxs)(r.Card.Content,{extra:!0,children:[Object(y.jsx)(r.Button,{primary:!0,content:Object(c.t)(`home_page.${e}.cta_label`),onClick:()=>(e=>{switch(e){case h.a.COLLECTIONS:return O(f.a.collections());case h.a.SCENES:return O(f.a.scenes());case h.a.LAND:return O(f.a.land());case h.a.NAMES:return O(f.a.ens());default:throw new Error("Invalid NavigationTab")}})(e)}),Object(y.jsx)(r.Button,{as:"a",basic:!0,content:Object(c.t)("global.learn_more"),href:v(e),rel:"noopener noreferrer",target:"_blank"})]})]},t)))})]})]}),Object(y.jsx)(l.a,{})]})}},1838:function(e,t,n){"use strict";n.d(t,"a",(function(){return q})),n.d(t,"b",(function(){return X}));var o=n(2),a=n.n(o),i=n(7),r=n(5),s=n(223),c=n(1336),l=n(74),d=n(252),u=n(1089).a,p=n(41),m=n(516),b=n(187),h=n(30),f=n(32),y=n(79),_=n(353),g=n(1046),j=n(263),O=(n(3580),n(0));const v=e=>{const{item:t,onDeleteItem:n,onOpenModal:a}=e,[s,c]=Object(o.useState)(!1),l=Object(o.useCallback)((()=>c(!1)),[c]),d=Object(o.useCallback)((()=>c(!0)),[c]),u=Object(o.useCallback)((()=>a("MoveItemToCollectionModal")),[a]),m=Object(o.useCallback)((()=>{c(!1),n()}),[c,n]);return Object(O.jsxs)(O.Fragment,{children:[Object(O.jsxs)("div",{className:"ItemCard is-card",children:[Object(O.jsx)(g.a,{className:"options-dropdown",options:[{text:Object(r.t)("item_card.move_to_collection"),handler:u},{text:Object(r.t)("global.delete"),handler:d}]}),Object(O.jsxs)(_.a,{to:p.a.itemDetail(t.id),children:[Object(O.jsx)(j.a,{item:t}),Object(O.jsxs)(i.Card.Content,{children:[Object(O.jsx)("div",{className:"text",title:t.name,children:t.name}),Object(O.jsx)("div",{className:"subtitle",children:Object(r.t)(`item.type.${t.type}`)})]})]})]}),Object(O.jsx)(i.Confirm,{size:"tiny",open:s,header:Object(r.t)("item_card.confirm_delete_header",{name:t.name}),content:Object(r.t)("item_card.confirm_delete_content",{name:t.name}),confirmButton:Object(O.jsx)(i.Button,{primary:!0,children:Object(r.t)("global.confirm")}),cancelButton:Object(O.jsx)(i.Button,{secondary:!0,children:Object(r.t)("global.cancel")}),onCancel:l,onConfirm:m})]})};var C=a.a.memo(v);var x=Object(h.connect)(void 0,((e,t)=>({onDeleteItem:()=>e(Object(f.Y)(t.item)),onOpenModal:n=>e(Object(y.openModal)(n,{item:t.item}))})))(C),w=n(298),E=n(879),S=n(689),A=n(759),T=n.n(A);class R extends a.a.PureComponent{constructor(){super(...arguments),this.handleTableRowClick=()=>{const{onNavigate:e,item:t}=this.props;e(p.a.itemDetail(t.id))}}render(){const{item:e}=this.props;return Object(O.jsxs)(i.Table.Row,{className:T.a.ItemRow,onClick:this.handleTableRowClick,children:[Object(O.jsx)(i.Table.Cell,{width:4,children:Object(O.jsxs)("div",{className:T.a.imageColumn,children:[Object(O.jsx)(j.a,{className:T.a.image,item:e}),Object(O.jsxs)("div",{className:T.a.title,children:[Object(O.jsx)(E.a,{item:e}),Object(O.jsx)("div",{className:T.a.name,children:e.name})]})]})}),Object(O.jsx)(i.Table.Cell,{width:3,children:Object(S.a)(e.createdAt,{addSuffix:!0})}),Object(O.jsx)(i.Table.Cell,{width:3,children:Object(S.a)(e.updatedAt,{addSuffix:!0})})]})}}var k=Object(h.connect)(null,(e=>({onNavigate:t=>e(Object(w.e)(t))})))(R),N=n(76),P=n(44),I=n(35),L=n.n(I),M=n(874),D=n(880),F=n(115);n(3583);const U=e=>{const{collection:t,onDeleteCollection:n,itemCount:a}=e,[s,c]=o.useState(!1),l=o.useCallback((()=>c(!1)),[c]),d=o.useCallback((()=>c(!0)),[c]),u=o.useCallback((()=>{c(!1),n()}),[c,n]),m=Object(F.l)(t);return Object(O.jsxs)(O.Fragment,{children:[Object(O.jsxs)("div",{className:"CollectionCard is-card",children:[!t.isPublished&&Object(O.jsx)(g.a,{className:L()({"empty-collection-options":0===a},"options-dropdown"),options:[{text:Object(r.t)("global.delete"),handler:d}]}),Object(O.jsxs)(_.a,{to:p.a.collectionDetail(t.id,m),children:[Object(O.jsx)(D.a,{collectionId:t.id}),Object(O.jsxs)(i.Card.Content,{children:[Object(O.jsxs)("div",{className:"text",title:t.name,children:[Object(O.jsx)(M.a,{collection:t})," ",t.name]}),Object(O.jsxs)("div",{className:"subtitle",children:[Object(r.t)(`collection.type.${m}`),"\xa0\xb7\xa0",Object(r.t)("collection_card.item_count",{count:a})]})]})]})]}),Object(O.jsx)(i.Confirm,{size:"tiny",open:s,header:Object(r.t)("collection_card.confirm_delete_header",{name:t.name}),content:Object(r.t)("collection_card.confirm_delete_content",{name:t.name}),confirmButton:Object(O.jsx)(i.Button,{primary:!0,children:Object(r.t)("global.confirm")}),cancelButton:Object(O.jsx)(i.Button,{secondary:!0,children:Object(r.t)("global.cancel")}),onCancel:l,onConfirm:u,className:"delete-collection-confirm"})]})};var B=o.memo(U);var z=Object(h.connect)(((e,t)=>({itemCount:Object(N.c)(e,t.collection.id)})),((e,t)=>({onSetCollection:(t,n)=>e(Object(f.Ib)(t,n)),onDeleteCollection:()=>e(Object(P.K)(t.collection))})))(B),H=n(652),W=n.n(H);class G extends a.a.PureComponent{constructor(){super(...arguments),this.handleTableRowClick=()=>{const{onNavigate:e,collection:t}=this.props;e(p.a.collectionDetail(t.id,Object(F.l)(t)))}}render(){const{collection:e,itemCount:t}=this.props,n=Object(F.l)(e);return Object(O.jsxs)(i.Table.Row,{className:W.a.CollectionRow,onClick:this.handleTableRowClick,children:[Object(O.jsx)(i.Table.Cell,{width:3,children:Object(O.jsxs)("div",{className:W.a.imageColumn,children:[Object(O.jsx)(D.a,{className:W.a.image,collectionId:e.id}),Object(O.jsxs)("div",{className:W.a.title,children:[Object(O.jsx)(M.a,{collection:e}),Object(O.jsx)("div",{className:W.a.name,children:e.name})]})]})}),Object(O.jsx)(i.Table.Cell,{width:3,children:Object(r.t)(`collection.type.${n}`)}),Object(O.jsx)(i.Table.Cell,{width:2,children:t}),Object(O.jsx)(i.Table.Cell,{width:3,children:Object(S.a)(e.createdAt,{addSuffix:!0})}),Object(O.jsx)(i.Table.Cell,{width:3,children:Object(S.a)(e.updatedAt,{addSuffix:!0})}),Object(O.jsx)(i.Table.Cell,{width:3,children:e.isPublished?Object(O.jsxs)("div",{className:W.a.published,children:[Object(r.t)("global.published")," ",Object(O.jsx)(i.Icon,{name:"check"})]}):null})]})}}var Y=Object(h.connect)(((e,t)=>({itemCount:Object(N.c)(e,t.collection.id)})),(e=>({onNavigate:t=>e(Object(w.e)(t))})))(G);let Q;!function(e){e[e.COLLECTIONS=0]="COLLECTIONS",e[e.ITEMS=1]="ITEMS"}(Q||(Q={}));n(3584);const V=20,q="builder-emotes-2.0-announcement";class X extends o.PureComponent{constructor(){super(...arguments),this.state={currentTab:Q.COLLECTIONS,sort:b.a.CREATED_AT_DESC,page:1},this.handleNewCollection=()=>{this.props.onOpenModal("CreateCollectionModal")},this.handleNewThirdPartyCollection=()=>{this.props.onOpenModal("CreateThirdPartyCollectionModal")},this.handleOpenEditor=()=>{const{onNavigate:e}=this.props;e(p.a.itemEditor())},this.handleSortChange=(e,t)=>{let{value:n}=t;const{onFetchCollections:o,address:a}=this.props,i=n;this.setState({sort:i,page:1}),o(a,{page:1,limit:V,sort:i})},this.handleTabChange=e=>{const{onFetchOrphanItems:t,onFetchCollections:n,address:o}=this.props,{sort:a}=this.state;this.setState({currentTab:e,page:1},(()=>{const i=e===Q.ITEMS?t:n,r=e===Q.ITEMS?{page:1,limit:V}:{page:1,limit:V,sort:a};o&&i(o,r)}))},this.isCollectionTabActive=()=>{const{currentTab:e}=this.state;return e===Q.COLLECTIONS},this.fetchCollections=()=>{const{address:e,onFetchCollections:t}=this.props,{page:n,sort:o}=this.state;t(e,{page:n,limit:V,sort:o})},this.fetchItems=()=>{const{address:e,onFetchOrphanItems:t}=this.props,{page:n}=this.state;e&&t(e,{page:n,limit:V})},this.handlePageChange=(e,t)=>{this.setState({page:+t.activePage},this.isCollectionTabActive()?this.fetchCollections:this.fetchItems)},this.renderMainActions=()=>{const{isThirdPartyManager:e}=this.props;return Object(O.jsx)(i.Column,{align:"right",children:Object(O.jsxs)(i.Row,{className:"actions",children:[e&&Object(O.jsx)(i.Button,{className:"action-button",size:"small",basic:!0,onClick:this.handleNewThirdPartyCollection,children:Object(r.t)("collections_page.new_third_party_collection")}),Object(O.jsxs)(i.Button,{className:"action-button open-editor",size:"small",basic:!0,onClick:this.handleOpenEditor,children:[Object(O.jsx)(l.a,{name:"cube"}),Object(r.t)("item_editor.open")]}),Object(O.jsx)(i.Button,{className:"action-button",size:"small",primary:!0,onClick:this.handleNewCollection,children:Object(r.t)("collections_page.new_collection")})]})})},this.renderViewActions=()=>{const{view:e,onSetView:t}=this.props,{sort:n}=this.state;return Object(O.jsx)(i.Column,{align:"right",children:Object(O.jsxs)(i.Row,{className:"actions",children:[this.isCollectionTabActive()&&Object(O.jsx)(i.Dropdown,{direction:"left",value:n,options:[{value:b.a.MOST_RELEVANT,text:Object(r.t)("curation_page.order.most_relevant")},{value:b.a.CREATED_AT_DESC,text:Object(r.t)("global.order.newest")},{value:b.a.CREATED_AT_ASC,text:Object(r.t)("global.order.oldest")},{value:b.a.UPDATED_AT_DESC,text:Object(r.t)("global.order.updated_at_desc")},{value:b.a.UPDATED_AT_ASC,text:Object(r.t)("global.order.updated_at_asc")},{value:b.a.NAME_DESC,text:Object(r.t)("global.order.name_desc")},{value:b.a.NAME_ASC,text:Object(r.t)("global.order.name_asc")}],onChange:this.handleSortChange}),Object(O.jsx)(d.a,{className:"grid",icon:"grid",isActive:e===m.a.GRID,onClick:()=>t(m.a.GRID)}),Object(O.jsx)(d.a,{className:"list",icon:"table",isActive:e===m.a.LIST,onClick:()=>t(m.a.LIST)})]})})}}componentDidMount(){const{address:e,hasUserOrphanItems:t,isEmotesV2Enabled:n,onFetchCollections:o,onFetchOrphanItem:a,onOpenModal:i}=this.props;e&&(o(e,{page:1,limit:V,sort:b.a.CREATED_AT_DESC}),void 0===t&&a(e),n&&!localStorage.getItem(q)&&i("EmotesV2AnnouncementModal"))}componentDidUpdate(e){const{address:t,hasUserOrphanItems:n,onFetchCollections:o,onFetchOrphanItem:a}=this.props,{sort:i}=this.state;t&&t!==e.address&&(o(t,{page:1,limit:V,sort:i}),void 0===n&&a(t))}renderGrid(){const{items:e,collections:t,isLoadingItems:n}=this.props;return Object(O.jsx)(i.Card.Group,{children:this.isCollectionTabActive()?t.map(((e,t)=>Object(O.jsx)(z,{collection:e},t))):n?Object(O.jsx)(i.Loader,{size:"large",active:!0}):e.map(((e,t)=>Object(O.jsx)(x,{item:e},t)))})}renderList(){const{items:e,collections:t}=this.props;return this.isCollectionTabActive()?Object(O.jsx)(i.Section,{children:Object(O.jsxs)(i.Table,{basic:"very",children:[Object(O.jsx)(i.Table.Header,{children:Object(O.jsxs)(i.Table.Row,{children:[Object(O.jsx)(i.Table.HeaderCell,{children:Object(r.t)("collections_page.collection")}),Object(O.jsx)(i.Table.HeaderCell,{children:Object(r.t)("collections_page.type")}),Object(O.jsx)(i.Table.HeaderCell,{children:Object(r.t)("collections_page.items")}),Object(O.jsx)(i.Table.HeaderCell,{children:Object(r.t)("collections_page.created_at")}),Object(O.jsx)(i.Table.HeaderCell,{children:Object(r.t)("collections_page.last_modified")}),Object(O.jsx)(i.Table.HeaderCell,{})]})}),Object(O.jsx)(i.Table.Body,{children:t.map((e=>Object(O.jsx)(Y,{collection:e},e.id)))})]})}):Object(O.jsx)(i.Section,{children:Object(O.jsxs)(i.Table,{basic:"very",children:[Object(O.jsx)(i.Table.Header,{children:Object(O.jsxs)(i.Table.Row,{children:[Object(O.jsx)(i.Table.HeaderCell,{children:Object(r.t)("global.item")}),Object(O.jsx)(i.Table.HeaderCell,{children:Object(r.t)("collections_page.created_at")}),Object(O.jsx)(i.Table.HeaderCell,{children:Object(r.t)("collections_page.last_modified")})]})}),Object(O.jsx)(i.Table.Body,{children:e.map((e=>Object(O.jsx)(k,{item:e},e.id)))})]})})}renderPage(){const{collectionsPaginationData:e,itemsPaginationData:t,view:n,hasUserOrphanItems:o,isLoadingItems:a,isLoadingCollections:s,isLoadingOrphanItem:c}=this.props,{page:l}=this.state,d=null===e||void 0===e?void 0:e.total,p=null===t||void 0===t?void 0:t.total,b=this.isCollectionTabActive()?d:p,h=this.isCollectionTabActive()?null===e||void 0===e?void 0:e.totalPages:null===t||void 0===t?void 0:t.totalPages;return c?Object(O.jsx)(i.Loader,{active:!0,size:"large"}):Object(O.jsxs)(O.Fragment,{children:[Object(O.jsx)(u,{}),Object(O.jsx)("div",{className:"filters",children:Object(O.jsxs)(i.Container,{children:[Object(O.jsxs)(i.Tabs,{isFullscreen:!0,children:[o&&Object(O.jsxs)(O.Fragment,{children:[Object(O.jsx)(i.Tabs.Tab,{active:this.isCollectionTabActive(),onClick:()=>this.handleTabChange(Q.COLLECTIONS),children:Object(r.t)("collections_page.collections")}),Object(O.jsx)(i.Tabs.Tab,{active:!this.isCollectionTabActive(),onClick:()=>this.handleTabChange(Q.ITEMS),children:Object(r.t)("collections_page.single_items")})]}),this.renderMainActions()]}),Object(O.jsxs)(i.Row,{height:30,children:[Object(O.jsx)(i.Column,{children:Object(O.jsx)(i.Row,{children:!a&&!!b&&b>0&&Object(O.jsx)(i.Header,{sub:!0,children:Object(r.t)("collections_page.results",{count:b})})})}),this.renderViewActions()]})]})}),a||s||void 0===b?Object(O.jsx)(i.Loader,{active:!0,size:"large"}):b>0?Object(O.jsxs)(O.Fragment,{children:[n===m.a.GRID?this.renderGrid():n===m.a.LIST?this.renderList():null,!!h&&h>1&&Object(O.jsx)(i.Pagination,{className:"pagination",firstItem:null,lastItem:null,totalPages:h,activePage:l,onPageChange:this.handlePageChange})]}):Object(O.jsxs)("div",{className:"empty",children:[Object(O.jsx)(i.Header,{className:"title",size:"large",children:Object(r.t)("collections_page.no_items")}),Object(O.jsx)("div",{className:"empty-description",children:Object(r.t)("collections_page.empty_description")}),Object(O.jsx)("div",{className:"create-new-wrapper",children:Object(O.jsx)("div",{className:"create-new create-new-collection",onClick:this.handleNewCollection,children:Object(O.jsx)("div",{className:"text",children:Object(r.t)("collections_page.new_collection")})})})]})]})}render(){return Object(O.jsx)(c.a,{className:"CollectionsPage",activeTab:s.a.COLLECTIONS,children:this.renderPage()})}}},1839:function(e,t,n){"use strict";var o=n(30),a=n(43),i=n(96),r=n(2),s=n(628),c=n(74),l=n(54),d=n(65),u=n(549),p=n(1913),m=n.n(p),b=n(80),h=n(5),f=n(33),y=n.n(f),_=n(7),g=n(41),j=n(751),O=n(120),v=n(147);const C=0,x=48,w={drop(e,t){const n=t.getItem(),o=t.getClientOffset();o&&e.onDropItem(n.asset,o.x-C,o.y-x)}};var E=n(1914),S=(n(3486),n(0));const A=window,T=b.a.get("UNITY_DEBUG_PARAMS");let R=null,k=!1;class N extends r.Component{constructor(){super(...arguments),this.canvasContainer=r.createRef(),this.state={hasError:!1},this.handleUnityError=e=>{e.stopImmediatePropagation(),this.setState({hasError:!0})},this.moveCanvas=()=>{this.canvasContainer.current&&R&&this.canvasContainer.current.appendChild(R)},this.subscribeKeyDownEvent=()=>{A.addEventListener("keydown",this.handleKeyDownEvent)},this.unsubscribeKeyDownEvent=()=>{A.removeEventListener("keydown",this.handleKeyDownEvent)},this.handleKeyDownEvent=e=>{const t=Object(v.g)(e);t&&A.editor.onKeyDown(t)},this.openEditor=()=>{const{isReadOnly:e,type:t}=this.props;this.props.onOpenEditor({isReadOnly:!0===e,type:t||O.b.PROJECT})}}componentDidMount(){T&&window.history.replaceState("","Unity Debug",`?${T}`),window.addEventListener("error",this.handleUnityError),k?(this.moveCanvas(),this.openEditor(),this.subscribeKeyDownEvent()):this.startEditor().catch((e=>console.error("Failed to start editor",e)))}componentWillUnmount(){if(R){var e;const t=R.getContext("webgl");t&&(null===(e=t.getExtension("WEBGL_lose_context"))||void 0===e||e.loseContext())}window.removeEventListener("error",this.handleUnityError),this.unsubscribeKeyDownEvent()}async startEditor(){if(!this.canvasContainer.current)throw new Error("Missing canvas container");try{k=!0,window.devicePixelRatio=1,A.editor||await Object(v.m)(),await A.editor.initEngine(this.canvasContainer.current,"/unity/Build/unity.json"),T||(R=await A.editor.getDCLCanvas(),R&&R.classList.add("dcl-canvas")),this.moveCanvas(),this.openEditor(),this.subscribeKeyDownEvent()}catch(e){k=!1,console.error("Failed to load Preview",e)}}getLoadingText(){const{isLoadingEditor:e}=this.props;return e&&e?Object(h.t)("editor_preview.loading_unity"):null}renderError(){const{project:e}=this.props;return Object(S.jsxs)(y.a,{name:"SceneEditorErrorModal",size:"tiny",children:[Object(S.jsx)(y.a.Content,{children:Object(h.t)("editor_preview.loading_unity_error",{br:Object(S.jsx)("br",{})})}),Object(S.jsxs)(y.a.Actions,{children:[Object(S.jsx)(_.Button,{secondary:!0,as:"a",href:g.a.sceneDetail(e.id),children:Object(h.t)("global.back")}),Object(S.jsx)(_.Button,{primary:!0,as:"a",href:g.a.sceneEditor(e.id),children:Object(h.t)("global.reload")})]})]})}render(){const{isLoadingEditor:e,connectDropTarget:t}=this.props,n=e;return t(Object(S.jsxs)("div",{className:"Preview-wrapper",children:[n&&Object(S.jsxs)("div",{className:"overlay",children:[Object(S.jsx)(m.a,{loop:!0,autoplay:!0,animationData:E,style:{height:100,width:100}}),Object(S.jsx)("div",{id:"progress-bar",className:"progress ingame",children:Object(S.jsx)("div",{className:"full"})}),Object(S.jsx)("div",{className:"loading-text",children:this.getLoadingText()})]}),Object(S.jsx)("div",{className:"Preview "+(n?"loading":""),id:"preview-viewport",ref:this.canvasContainer}),this.state.hasError&&this.renderError()]}))}}var P=Object(u.DropTarget)(j.a,w,((e,t)=>({connectDropTarget:e.dropTarget(),canDrop:t.canDrop(),isOver:t.isOver()})))(N);var I=Object(o.connect)((e=>({isLoadingEditor:!Object(i.x)(e),project:Object(l.b)(e)})),(e=>({onOpenEditor:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(Object(a.S)(t))},onDropItem:(t,n,o)=>e(Object(d.y)(t,n,o))})))(P),L=I;n(3487);const M=s.IntercomWidget.getInstance();class D extends r.PureComponent{constructor(){super(...arguments),this.handleClose=()=>{const{onClosePreview:e}=this.props;M.render(),e()}}render(){const{isPreviewing:e,isReadOnly:t,type:n}=this.props;return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(L,{isReadOnly:t,type:n||O.b.PROJECT}),e?Object(S.jsx)("div",{className:"close-preview",onClick:this.handleClose,children:Object(S.jsx)(c.a,{name:"close"})}):null]})}}var F=Object(o.connect)((e=>({isPreviewing:Object(i.v)(e)})),(e=>({onClosePreview:()=>e(Object(a.pb)(!1))})))(D);t.a=F},184:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));const o="ground";let a;!function(e){e.BOOLEAN="boolean",e.TEXT="text",e.TEXTAREA="textarea",e.FLOAT="float",e.INTEGER="integer",e.ENTITY="entity",e.ACTIONS="actions",e.OPTIONS="options",e.SLIDER="slider"}(a||(a={}))},1841:function(e,t,n){"use strict";n.r(t);var o=n(30),a=n(298),i=n(2),r=n(7),s=n(77),c=n(5),l=n(41),d=n(330),u=n(329),p=n(547),m=(n(3478),n(0));var b=Object(o.connect)((e=>({})),(e=>({onNavigate:t=>e(Object(a.e)(t))})))((function(e){const[t,n]=Object(i.useState)(!0);return Object(i.useEffect)((()=>{Object(s.getAnalytics)().track("Not found page",{}),n(!1)}),[]),t?Object(m.jsx)(p.a,{}):Object(m.jsxs)("div",{className:"notfound-body",children:[Object(m.jsx)(u.a,{isFullscreen:!0}),Object(m.jsx)(r.Page,{isFullscreen:!0}),Object(m.jsxs)("div",{className:"NotFoundPage",children:[Object(m.jsx)("h1",{className:"title",children:Object(c.t)("not_found_page.title")}),Object(m.jsx)("p",{className:"subtitle",children:Object(c.t)("not_found_page.subtitle")}),Object(m.jsx)(r.Button,{className:"back",onClick:function(){e.onNavigate(l.a.root())},primary:!0,children:Object(c.t)("not_found_page.back")})]}),Object(m.jsx)(d.a,{isFullscreen:!0})]})}));t.default=b},1842:function(e,t,n){"use strict";var o=n(30),a=n(298),i=n(79),r=n(2),s=n(41),c=n(5),l=n(77),d=n(1311),u=n(1917),p=n.n(u),m=n(0);const b={scratch:"/videos/scratch-preview.mov",template:"/videos/template-preview.mp4"},h={scratch:"/images/scratch-preview-img.png",template:"/images/template-preview-img.png"};var f=Object(o.connect)(null,(e=>({onOpenModal:(t,n)=>e(Object(i.openModal)(t,n)),onNavigate:t=>e(Object(a.e)(t))})))((function(e){let{onOpenModal:t,onNavigate:n}=e;const o=Object(l.getAnalytics)(),a=Object(r.useCallback)((()=>{o.track("Create scene from scratch"),t("CustomLayoutModal")}),[o,t]),i=Object(r.useCallback)((()=>{o.track("Create scene from template"),n(s.a.templates())}),[o,n]);return Object(m.jsxs)("div",{className:p.a.container,children:[Object(m.jsx)(d.a,{onClick:a,title:Object(c.t)("scenes_page.no_scenes.from_scratch.title"),videoSrc:b.scratch,imgSrc:h.scratch,description:Object(c.t)("scenes_page.no_scenes.from_scratch.description")}),Object(m.jsx)(d.a,{onClick:i,title:Object(c.t)("scenes_page.no_scenes.from_template.title"),videoSrc:b.template,imgSrc:h.template,description:Object(c.t)("scenes_page.no_scenes.from_template.description")})]})}));t.a=f},1844:function(e,t,n){"use strict";var o=n(30),a=n(280),i=n(149),r=n(692),s=n(348),c=n(136),l=n(79),d=n(2),u=n(7),p=n(5),m=n(77),b=(n(3575),n(0));class h extends d.PureComponent{constructor(){super(...arguments),this.state={isSynced:!1},this.analytics=Object(m.getAnalytics)(),this.handleRetry=()=>{const{onRetry:e}=this.props;e()},this.handleLogin=()=>{this.analytics.track("Sign in from sync toast"),this.props.onOpenModal("WalletLoginModal")}}componentWillReceiveProps(e){e.syncCount>0&&0===this.props.syncCount?this.setState({isSynced:!1}):0===e.syncCount&&this.props.syncCount>0&&this.setState({isSynced:!0})}render(){const{syncCount:e,errorCount:t,projectCount:n,didDismissSignInToast:o,didDismissSyncedToast:a,isLoggedIn:i,onDismissSignInToast:r,onDismissSyncedToast:s}=this.props,{isSynced:c}=this.state,l=c&&!a,d=!i&&!o&&n>0;return e>0?Object(b.jsx)("div",{className:"SyncToast",children:Object(b.jsx)("div",{className:"message",children:Object(p.t)("sync.loading")})}):t>0?Object(b.jsx)("div",{className:"SyncToast",children:Object(b.jsxs)("div",{className:"message",children:[Object(b.jsx)("div",{className:"error-indicator"}),Object(p.t)("sync.error",{errorCount:t}),Object(b.jsx)(u.Button,{basic:!0,onClick:this.handleRetry,children:Object(p.t)("sync.retry")})]})}):l?Object(b.jsx)("div",{className:"SyncToast",children:Object(b.jsxs)("div",{className:"message",children:[Object(p.t)("sync.success"),Object(b.jsx)(u.Close,{small:!0,onClick:s})]})}):d?Object(b.jsx)("div",{className:"SyncToast",children:Object(b.jsxs)("div",{className:"message",children:[Object(b.jsx)(p.T,{id:"toasts.localstorage",values:{sign_in:Object(b.jsxs)("span",{className:"sign-in",onClick:this.handleLogin,children:["\xa0",Object(p.t)("global.sign_in"),"\xa0"]})}}),Object(b.jsx)(u.Close,{small:!0,onClick:r})]})}):null}}var f=Object(o.connect)((e=>({syncCount:Object(a.d)(e).size,errorCount:Object(a.a)(e).size,projectCount:Object(r.e)(e).length,isLoggedIn:Object(c.d)(e),didDismissSignInToast:Object(r.b)(e),didDismissSyncedToast:Object(r.c)(e)})),(e=>({onRetry:()=>e(Object(i.j)()),onOpenModal:(t,n)=>e(Object(l.openModal)(t,n)),onDismissSignInToast:()=>e(Object(s.d)()),onDismissSyncedToast:()=>e(Object(s.e)())})))(h);t.a=f},185:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"l",(function(){return s})),n.d(t,"m",(function(){return c})),n.d(t,"k",(function(){return l})),n.d(t,"f",(function(){return d})),n.d(t,"g",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"o",(function(){return m})),n.d(t,"p",(function(){return b})),n.d(t,"n",(function(){return h})),n.d(t,"a",(function(){return f})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return _})),n.d(t,"h",(function(){return g}));var o=n(11);const a="[Request] Create collection forum post",i="[Success] Create collection forum post",r="[Failure] Create collection forum post",s=(e,t)=>Object(o.action)(a,{collection:e,forumPost:t}),c=(e,t)=>Object(o.action)(i,{collection:e,forumLink:t}),l=(e,t,n)=>Object(o.action)(r,{collection:e,forumPost:t,error:n}),d="[Request] Fetch collection forum post reply",u="[Success] Fetch collection forum post reply",p="[Failure] Fetch collection forum post reply",m=e=>Object(o.action)(d,{collectionId:e}),b=(e,t)=>Object(o.action)(u,{collection:e,forumPostReply:t}),h=(e,t)=>Object(o.action)(p,{collection:e,error:t}),f="[Request] Create collection assignee forum post",y=(e,t)=>Object(o.action)(f,{collectionId:e,curation:t}),_=()=>Object(o.action)("[Success] Create collection assignee forum post"),g=(e,t,n)=>Object(o.action)("[Failure] Create collection assignee forum post",{collectionId:e,forumPost:t,error:n})},1865:function(e,t){},1866:function(e){e.exports=JSON.parse('{"CHAIN_ID":"11155111","ENVIRONMENT":"development","LOCAL_STORAGE_KEY":"builder","EMAIL_SERVER_URL":"https://subscription.decentraland.org/subscribe","PEER_URL":"https://peer.decentraland.zone","ERC721_COLLECTION_BASE_URI":"https://peer.decentraland.zone/lambdas/collections/standard/erc721/","BUILDER_SERVER_URL":"https://builder-api.decentraland.zone/v1","MARKETPLACE_URL":"https://api.decentraland.zone/v1","MARKETPLACE_WEB_URL":"https://market.decentraland.zone","LAND_MANAGER_GRAPH_URL":"https://api.studio.thegraph.com/query/49472/land-manager-sepolia/version/latest","MARKETPLACE_GRAPH_URL":"https://api.studio.thegraph.com/query/49472/marketplace-sepolia/version/latest","RENTALS_GRAPH_URL":"https://api.studio.thegraph.com/query/49472/rentals-ethereum-sepolia/version/latest","SHARE_SCENE_URL":"https://share.decentraland.zone/b","INTERCOM_APP_ID":"z0h94kay","SEGMENT_API_KEY":"H21EgRI4eYwICDZf5uW6ek2BiykIR6wA","ROLLBAR_ACCESS_TOKEN":"46e4b7e45c844b9ab81315c8b0919e99","MANA_TOKEN_CONTRACT_ADDRESS":"0xfa04d2e2ba9aec166c93dfeeba7427b2303befa9","LAND_REGISTRY_CONTRACT_ADDRESS":"0x42f4ba48791e2de32f5fbf553441c2672864bb33","ESTATE_REGISTRY_CONTRACT_ADDRESS":"0x369a7fbe718c870c79f99fb423882e8dd8b20486","ENS_CONTRACT_ADDRESS":"0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e","ENS_GATEWAY":"limo","RESOLVER_CONTRACT_ADDRESS":"0x8FADE66B79cC9f707aB26799354482EB93a5B7dD","CONTROLLER_V2_CONTRACT_ADDRESS":"0xd2046364317c21fa8d121d84185c39e6e910cf89","REGISTRAR_CONTRACT_ADDRESS":"0x7518456ae93eb98f3e64571b689c626616bb7f30","RENTALS_CONTRACT_ADDRESS":"0xe70db6319e9cee3f604909bdade58d1f5c1cf702","IPFS_URL":"https://ipfs.infura.io:5001/api/v0/add?pin=false","EXPLORER_URL":"https://play.decentraland.zone","TRANSACTIONS_API_URL":"https://transactions-api.decentraland.zone/v1","ACCOUNT_URL":"https://account.decentraland.zone","DISCORD_URL":"https://dcl.gg/discord","WEARABLES_ZIP_INFRA_URL":"http://a-test-url-com","MIN_SALE_VALUE_IN_WEI":"1000000000000000000","FORUM_URL":"https://forum.decentraland.org","WORLDS_CONTENT_SERVER":"https://worlds-content-server.decentraland.zone","PROFILE_URL":"https://profile.decentraland.zone","SSO_URL":"https://id.decentraland.zone","SENTRY_DSN":"https://428e8d298fb3f0fbcea645314a4a388c@o4504361728212992.ingest.sentry.io/4505748381564928","DCL_LISTS_SERVER":"https://dcl-lists.decentraland.zone","INSPECTOR_CONTENT_URL":"https://builder-items.decentraland.zone","ENS_SUBGRAPH_URL":"https://api.studio.thegraph.com/query/49574/enssepolia/version/latest"}')},1867:function(e){e.exports=JSON.parse('{"CHAIN_ID":"1","ENVIRONMENT":"staging","LOCAL_STORAGE_KEY":"builder","EMAIL_SERVER_URL":"https://subscription.decentraland.org/subscribe","PEER_URL":"https://peer.decentraland.org","ERC721_COLLECTION_BASE_URI":"https://peer.decentraland.org/lambdas/collections/standard/erc721/","BUILDER_SERVER_URL":"https://builder-api.decentraland.today/v1","MARKETPLACE_URL":"https://api.decentraland.org/v1","MARKETPLACE_WEB_URL":"https://market.decentraland.today","LAND_MANAGER_GRAPH_URL":"https://api.thegraph.com/subgraphs/name/decentraland/land-manager","MARKETPLACE_GRAPH_URL":"https://api.thegraph.com/subgraphs/name/decentraland/marketplace","RENTALS_GRAPH_URL":"https://api.thegraph.com/subgraphs/name/decentraland/rentals-ethereum-mainnet","SHARE_SCENE_URL":"https://share.decentraland.org/b","INTERCOM_APP_ID":"z0h94kay","SEGMENT_API_KEY":"H21EgRI4eYwICDZf5uW6ek2BiykIR6wA","ROLLBAR_ACCESS_TOKEN":"46e4b7e45c844b9ab81315c8b0919e99","MANA_TOKEN_CONTRACT_ADDRESS":"0x0f5d2fb29fb7d3cfee444a200298f468908cc942","LAND_REGISTRY_CONTRACT_ADDRESS":"0xf87e31492faf9a91b02ee0deaad50d51d56d5d4d","ESTATE_REGISTRY_CONTRACT_ADDRESS":"0x959e104e1a4db6317fa58f8295f586e1a978c297","ENS_CONTRACT_ADDRESS":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e","ENS_GATEWAY":"limo","RESOLVER_CONTRACT_ADDRESS":"0x4976fb03c32e5b8cfe2b6ccb31c09ba78ebaba41","CONTROLLER_V2_CONTRACT_ADDRESS":"0xbe92b49aee993adea3a002adcda189a2b7dec56c","REGISTRAR_CONTRACT_ADDRESS":"0x2a187453064356c898cae034eaed119e1663acb8","RENTALS_CONTRACT_ADDRESS":"0x3a1469499d0be105d4f77045ca403a5f6dc2f3f5","IPFS_URL":"https://ipfs.infura.io:5001/api/v0/add?pin=false","EXPLORER_URL":"https://play.decentraland.org","TRANSACTIONS_API_URL":"https://transactions-api.decentraland.today/v1","ACCOUNT_URL":"https://account.decentraland.today","DISCORD_URL":"https://dcl.gg/discord","WEARABLES_ZIP_INFRA_URL":"https://docs.decentraland.org/decentraland/linked-wearables/#creating-linked-wearables-in-bulk","MIN_SALE_VALUE_IN_WEI":"1000000000000000000","FORUM_URL":"https://forum.decentraland.org","WORLDS_CONTENT_SERVER":"https://worlds-content-server.decentraland.org","PROFILE_URL":"https://profile.decentraland.today","SSO_URL":"https://id.decentraland.today","SENTRY_DSN":"https://428e8d298fb3f0fbcea645314a4a388c@o4504361728212992.ingest.sentry.io/4505748381564928","DCL_LISTS_SERVER":"https://dcl-lists.decentraland.today","INSPECTOR_CONTENT_URL":"https://builder-items.decentraland.zone","ENS_SUBGRAPH_URL":"https://api.thegraph.com/subgraphs/name/ensdomains/ens"}')},1868:function(e){e.exports=JSON.parse('{"CHAIN_ID":"1","ENVIRONMENT":"production","LOCAL_STORAGE_KEY":"builder","EMAIL_SERVER_URL":"https://subscription.decentraland.org/subscribe","PEER_URL":"https://peer.decentraland.org","ERC721_COLLECTION_BASE_URI":"https://peer.decentraland.org/lambdas/collections/standard/erc721/","BUILDER_SERVER_URL":"https://builder-api.decentraland.org/v1","MARKETPLACE_URL":"https://api.decentraland.org/v1","MARKETPLACE_WEB_URL":"https://market.decentraland.org","LAND_MANAGER_GRAPH_URL":"https://api.thegraph.com/subgraphs/name/decentraland/land-manager","MARKETPLACE_GRAPH_URL":"https://api.thegraph.com/subgraphs/name/decentraland/marketplace","RENTALS_GRAPH_URL":"https://api.thegraph.com/subgraphs/name/decentraland/rentals-ethereum-mainnet","SHARE_SCENE_URL":"https://share.decentraland.org/b","INTERCOM_APP_ID":"z0h94kay","SEGMENT_API_KEY":"ZxBQcII46wT0TURGQczWYK7tyBq8BEmt","ROLLBAR_ACCESS_TOKEN":"46e4b7e45c844b9ab81315c8b0919e99","MANA_TOKEN_CONTRACT_ADDRESS":"0x0f5d2fb29fb7d3cfee444a200298f468908cc942","LAND_REGISTRY_CONTRACT_ADDRESS":"0xf87e31492faf9a91b02ee0deaad50d51d56d5d4d","ESTATE_REGISTRY_CONTRACT_ADDRESS":"0x959e104e1a4db6317fa58f8295f586e1a978c297","ENS_CONTRACT_ADDRESS":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e","ENS_GATEWAY":"limo","RESOLVER_CONTRACT_ADDRESS":"0x4976fb03c32e5b8cfe2b6ccb31c09ba78ebaba41","CONTROLLER_V2_CONTRACT_ADDRESS":"0xbe92b49aee993adea3a002adcda189a2b7dec56c","REGISTRAR_CONTRACT_ADDRESS":"0x2a187453064356c898cae034eaed119e1663acb8","RENTALS_CONTRACT_ADDRESS":"0x3a1469499d0be105d4f77045ca403a5f6dc2f3f5","IPFS_URL":"https://ipfs.infura.io:5001/api/v0/add?pin=false","EXPLORER_URL":"https://play.decentraland.org","TRANSACTIONS_API_URL":"https://transactions-api.decentraland.org/v1","ACCOUNT_URL":"https://account.decentraland.org","DISCORD_URL":"https://dcl.gg/discord","WEARABLES_ZIP_INFRA_URL":"https://docs.decentraland.org/decentraland/linked-wearables/#creating-linked-wearables-in-bulk","MIN_SALE_VALUE_IN_WEI":"1000000000000000000","FORUM_URL":"https://forum.decentraland.org","WORLDS_CONTENT_SERVER":"https://worlds-content-server.decentraland.org","PROFILE_URL":"https://profile.decentraland.org","SSO_URL":"https://id.decentraland.org","SENTRY_DSN":"https://428e8d298fb3f0fbcea645314a4a388c@o4504361728212992.ingest.sentry.io/4505748381564928","DCL_LISTS_SERVER":"https://dcl-lists.decentraland.org","INSPECTOR_CONTENT_URL":"https://builder-items.decentraland.org","ENS_SUBGRAPH_URL":"https://api.thegraph.com/subgraphs/name/ensdomains/ens"}')},187:function(e,t,n){"use strict";let o,a;n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),function(e){e.UNDER_REVIEW="under_review",e.TO_REVIEW="to_review",e.PENDING="pending",e.APPROVED="approved",e.REJECTED="rejected",e.DISABLED="disabled"}(o||(o={})),function(e){e.MOST_RELEVANT="MOST_RELEVANT",e.NAME_DESC="NAME_DESC",e.NAME_ASC="NAME_ASC",e.CREATED_AT_DESC="CREATED_AT_DESC",e.CREATED_AT_ASC="CREATED_AT_ASC",e.UPDATED_AT_DESC="UPDATED_AT_DESC",e.UPDATED_AT_ASC="UPDATED_AT_ASC"}(a||(a={}))},1872:function(e){e.exports=JSON.parse('{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Barbacue_01/Barbacue_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Barbacue_01/Barbacue_01.glb":"QmR1QAy5PWKUGho2fzt7NBLNobGwUT3ghFz9DxXGoGLvQn","e6fa9601-3e47-4dff-9a84-e8e017add15a/Barbacue_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bench_01/Bench_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bench_01/Bench_01.glb":"QmWCrgFxSwQoHZhG4BUkqPq7mMxTnmK7nbVcNnHiRDYQb3","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bench_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bench_02/Bench_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bench_02/Bench_02.glb":"QmdEAgRPdXRF8VfvQreXNr7AAGjmMX8B5AqdUddsX8hHmB","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bench_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/BicycleParking_01/BicycleParking_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/BicycleParking_01/BicycleParking_01.glb":"QmfKTfcvZCMXPD4MLKLhjzK643f4cE1Gy1ADfVCXdk11fd","e6fa9601-3e47-4dff-9a84-e8e017add15a/BicycleParking_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_01/Bicycle_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_01/Bicycle_01.glb":"QmZ1oWjUdGaKXJka6wALn5QAwf26prphofDJZnKLYP2sr7","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_02/Bicycle_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_02/Bicycle_02.glb":"QmcRXbaYX3pChaagbvM5KNkNeTVQbBR4z24kVoU5CA3T9Q","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_03/Bicycle_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_03/Bicycle_03.glb":"QmNx1oehCdRLqM5BEj7v7W5vmyJuddPpf1Y44izTpTmLZP","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bicycle_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/BirdFountain_01/BirdFountain_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/BirdFountain_01/BirdFountain_01.glb":"QmTxsphQXVqfj9XQWUy6gYy1FgH6wLEp7DXWRCwf2d6KiZ","e6fa9601-3e47-4dff-9a84-e8e017add15a/BirdFountain_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Boombox_01/Boombox_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Boombox_01/Boombox_01.glb":"QmeViFXda8zGa5sHcKbCJxcrMFBs9uV1kNQxx8LGfTxHsZ","e6fa9601-3e47-4dff-9a84-e8e017add15a/Boombox_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_01/Bridge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_01/Bridge_01.glb":"QmdNr9ZaGKGHJMwohguxDLRDhu4WnKJ5dZAuE1hhWFkZE3","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_02/Bridge_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_02/Bridge_02.glb":"QmXdnJEsQwx7vENYqPcrwq5frGA2BRqypzDohKmmEFBsEF","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_03/Bridge_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_03/Bridge_03.glb":"QmX34REexvZe2j46xp2unBEqNKo3ibKLmim6tUnhbwkQc9","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_04/Bridge_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_04/Bridge_04.glb":"QmYJSvT3nyzdDASWr9YkmvCGzmqj66mDh6qVfTcv5jYxcp","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_05/Bridge_05.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_05/Bridge_05.glb":"QmZrCaZuikjsLnB4v8CT9W5u2JjYQ8XJue5h7DNVbLsP8g","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_05/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_06/Bridge_06.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_06/Bridge_06.glb":"QmcGf2E8npFyvm65EMKVPfQKGkaNQ5gHsr8LM52TAuqgQF","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bridge_06/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/BushPatch_01/BushPatch_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/BushPatch_01/BushPatch_01.glb":"QmQyj3nVn49BYDjiqgC1C5PKBQLmfCo79wwEo8adwbhZ7Y","e6fa9601-3e47-4dff-9a84-e8e017add15a/BushPatch_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/BushPatch_02/BushPatch_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/BushPatch_02/BushPatch_02.glb":"Qmcy2WFpG2vrEaFpg3tPoTxaeA5Kupsa4jtaDMDSRE8GuM","e6fa9601-3e47-4dff-9a84-e8e017add15a/BushPatch_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_01/Bush_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_01/Bush_01.glb":"QmYyuk4fyCZfLsNssaR4E9HUQw2GJQY6nonVzHdi9oXg8y","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_02/Bush_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_02/Bush_02.glb":"QmeKVSMfKPbg8fHpvPc5N5hzxBQyeRkkNwUb8ZkDv7Rqnv","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_03/Bush_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_03/Bush_03.glb":"QmUFhqkXS3sCDVWhqUzUPscBUDjeL8KGRnrzekBhJMm3Ao","e6fa9601-3e47-4dff-9a84-e8e017add15a/Bush_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Cactus_01/Cactus_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Cactus_01/Cactus_01.glb":"QmSddvt9zXt1rv4m4kqsbtHKXnYze1ekgNxyxQKdMGotZf","e6fa9601-3e47-4dff-9a84-e8e017add15a/Cactus_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Canopy_01/Canopy_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Canopy_01/Canopy_01.glb":"Qmb5eTpBGZVYGM8VuccrfWesDT9obGsYYZ8NwGF4G2SXfL","e6fa9601-3e47-4dff-9a84-e8e017add15a/Canopy_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Canopy_02/Canopy_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Canopy_02/Canopy_02.glb":"QmPcTS683AEC72CvSMmxKj83Xe7fKc9qiTJrUrm8S7zrE6","e6fa9601-3e47-4dff-9a84-e8e017add15a/Canopy_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/CardboardBox_01/CardboardBox_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/CardboardBox_01/CardboardBox_01.glb":"QmbWVGvfGvV8ajbWrr4nbddSwePUFdQhmyGv5hJvpxwVbN","e6fa9601-3e47-4dff-9a84-e8e017add15a/CardboardBox_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/CardboardBox_02/CardboardBox_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/CardboardBox_02/CardboardBox_02.glb":"Qmbdt6Bm1TRXUEMXXuV9rDw2wYuCXK6VL6yskvaYBtwt1s","e6fa9601-3e47-4dff-9a84-e8e017add15a/CardboardBox_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_01/Carpet_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_01/Carpet_01.glb":"Qma3jq6JRurM879iAPqhrUvAoRed7r1PdMTAWzrBJYFjns","e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_02/Carpet_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_02/Carpet_02.glb":"QmYTWxJZKPt5HsVEHdY4XkyRZtc78ZDwUArFwzgnnoSMgW","e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_03/Carpet_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_03/Carpet_03.glb":"QmYd4cceM8WdVEKaDqCfLUGMzJuFqFtP3eWXwtx2taozbv","e6fa9601-3e47-4dff-9a84-e8e017add15a/Carpet_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_01/Chair_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_01/Chair_01.glb":"Qme7vFNY7aYWd4rTwBMU97JTnQXKxxXqyjEANgqLyAPNNJ","e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_02/Chair_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_02/Chair_02.glb":"QmbztT4N9sbTivdMudCp6JjDqQiWaEyg4tSi8nBhPribFj","e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_03/Chair_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_03/Chair_03.glb":"QmZVEHEuP8UaRoxu73B8DP1nXGWRaNKDs2Raqq63mVYFVi","e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_04/Chair_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_04/Chair_04.glb":"QmcX6LjpiceJ7HQdp4uchG85fjwxiG96adKR3YYfMsgkfS","e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_05/Chair_05.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_05/Chair_05.glb":"QmfNz6AZowg6CWU5eLmCbsavpmLt5vnBru6zYQJnWe4iZz","e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_05/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_06/Chair_06.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_06/Chair_06.glb":"QmdVWEegAFS5CopS3JNL6mE6DFXPyu169iRiYxT9aZAUrt","e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_06/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_07/Chair_07.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_07/Chair_07.glb":"QmQ53AG55Qdye3YBfCKC4QPyCBRAYCDqptS3M3tBsMMxEb","e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_07/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_08/Chair_08.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_08/Chair_08.glb":"QmRz72ZKYEuQJ8GuXrvWeLcgFKQKERwoFK6Pk6qPa64x8B","e6fa9601-3e47-4dff-9a84-e8e017add15a/Chair_08/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFireworks_01/ChineseFireworks_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFireworks_01/ChineseFireworks_01.glb":"QmaGLSseZd4R4NpG3aQ4oHBHmZBSqog7o5qGonoiNqYkKq","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFireworks_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFireworks_02/ChineseFireworks_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFireworks_02/ChineseFireworks_02.glb":"QmfUXnuWgowk1xBFh2w3LDznayHfTH7jFRUMih1kkPWore","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFireworks_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFlag_01/ChineseFlag_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFlag_01/ChineseFlag_01.glb":"QmNvuDuRPHdjK5tZQdR3U8DF9MYU4iXQrBCGjGpWJieNcu","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFlag_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFlag_02/ChineseFlag_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFlag_02/ChineseFlag_02.glb":"QmSvFLqvbvBBjsuLhZpwP8aj6VuSvMWhr9FA7EwnQ4BMW4","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFlag_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFountain_01/ChineseFountain_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFountain_01/ChineseFountain_01.glb":"QmQC4Pr1JDAYJCq8ZCWxUxbTffyx1U8Tdxmy3gPau1BXpK","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFountain_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFountain_02/ChineseFountain_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFountain_02/ChineseFountain_02.glb":"Qmdy1hpmi2nToknhhuZ2URG3sTEjF8n5Cb6jbvGH3mZiGD","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseFountain_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_01/ChineseGate_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_01/ChineseGate_01.glb":"QmdTgBCnGDLSkReKP7QHnRZ9YX8z21U63ELr69v3Bxd7kY","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_02/ChineseGate_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_02/ChineseGate_02.glb":"QmeSqxPSK81ZCxfEAoSWnDp9YYbzS93sy2VfextDZL4h9z","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_03/ChineseGate_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_03/ChineseGate_03.glb":"QmX2TJP87MQES9pEKqf3qZSPscsgUbGdxKfiRrH6Z9dJjC","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGate_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGong_01/ChineseGate_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGong_01/ChineseGate_01.glb":"QmZuhKUorAoPx1vEakJA2PjSK7DLapMSvtPb2JncKXbakN","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseGong_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseHouse_01/ChineseHouse_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseHouse_01/ChineseHouse_01.glb":"QmZnwacGYmiJYfgraY9jhFi5Lw7R4La3wtywq6wEwdSHMH","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseHouse_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampPost_01/ChineseFountain_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampPost_01/ChineseFountain_03.glb":"QmUSTPAJA7avBXNZyQ2kjowogjWvDLDN3nog9GtcBA5rtp","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampPost_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeLarge_01/ChineseLampRopeLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeLarge_01/ChineseLampRopeLarge_01.glb":"QmdG5zxNM2tnagdw8qjRCPitMpdfBEDS41Bgy52mwkgqmk","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeMedium_01/ChineseLampRopeMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeMedium_01/ChineseLampRopeMedium_01.glb":"QmVMRPN9DQ7uVJdDYPV1itoAaAbwsq8n1aYw32AYR31bki","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeSmall_01/ChineseLampRopeSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeSmall_01/ChineseLampRopeSmall_01.glb":"QmRCachQXXW1xWxFsmKGr3uWaDx4VerrVW6iLQgETv5XS1","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLampRopeSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_01/ChineseLantern_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_01/ChineseLantern_01.glb":"Qmd4YmBqwP3izBFcZ92ZfhV7QVaM7iZQEYYQjvQ2rFhrAg","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_02/ChineseLantern_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_02/ChineseLantern_02.glb":"QmSZtPuMZx69vxARy72MvphXK7u7fW8i9Vj6nnNB8SRwxJ","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_03/ChineseLantern_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_03/ChineseLantern_03.glb":"QmcQ2c4YGH1eHULDqXsVk9kF1xym6voXu3gom7oWx1MHq8","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_04/ChineseLantern_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_04/ChineseLantern_04.glb":"QmNYXXNFP2S4PvEVxo9agS4E7fL21zp7EnaoEz9kE82fXG","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_05/ChineseLantern_05.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_05/ChineseLantern_05.glb":"QmPfuDuE3cWTCJTF2pddpXuZ6FhTp8nqmeU3snpd7Mrnds","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_05/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_06/ChineseLantern_06.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_06/ChineseLantern_06.glb":"QmearVfnKYB7aJsn71RRTpmKs7w63GsUM8QadvMHD9yqB7","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseLantern_06/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChinesePergola_01/ChinesePergola_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChinesePergola_01/ChinesePergola_01.glb":"QmcTGEqyN3KgnCFwv2anE7uCh3BSXDUHDHHfHaxX2FVVg5","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChinesePergola_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatueDragon_01/ChineseStatueDragon_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatueDragon_01/ChineseStatueDragon_01.glb":"QmNmjk82jyJaLwoR2U82DBFiFNpG75omJyg8gqQLcuVYqk","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatueDragon_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatueLion_01/ChineseStatueLion_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatueLion_01/ChineseStatueLion_01.glb":"QmbMTagDhxiC4bcuFgFpNbVUKyTzhQn5Ja1hGwxxxnWPL8","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatueLion_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatuePig_01/ChineseStatuePig_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatuePig_01/ChineseStatuePig_01.glb":"QmSPrxmj5Dw2WrdXjR7CmMXJDGex2N463LCb3DAfLw6SHZ","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatuePig_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatuePig_02/ChineseStatuePig_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatuePig_02/ChineseStatuePig_02.glb":"Qme85DdyLLybfjhLUs5xQt8WGun2CtN8vjEkzs5fnpp7rF","e6fa9601-3e47-4dff-9a84-e8e017add15a/ChineseStatuePig_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/CoinMana_01/CoinMana_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/CoinMana_01/CoinMana_01.glb":"QmS4Zss6MRbuxFb5x7qZHz9NmmQGefBzJmQNqmQnnx3suy","e6fa9601-3e47-4dff-9a84-e8e017add15a/CoinMana_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionCone_01/ConstructionCone_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionCone_01/ConstructionCone_01.glb":"Qmf6rQm9UH5VozVdTrJXSyf2y6QGGKMq1e3NseybMMX2zZ","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionCone_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionDebris_01/ConstructionDebris_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionDebris_01/ConstructionDebris_01.glb":"QmW7sBN4vHic2h3ZReqmDv7wgcCpg8Kpxd1qatGiFMY1Ac","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionDebris_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionFence_01/ConstructionFence_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionFence_01/ConstructionFence_01.glb":"QmT2RvYmA3Uf7HQRVSPfwWaBAYWRnm8nAsZP7GuEa7bgS8","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionFence_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionFence_02/ConstructionFence_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionFence_02/ConstructionFence_02.glb":"QmYoeyW5QhvewsSamhhmJLuxmXGG8HkBKYJaYzen75tiTA","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionFence_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionHat_01/ConstructionHat_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionHat_01/ConstructionHat_01.glb":"QmZ9YWVBHSraEdmiEgzhdznFUfEQsiWzjcKcLysYiVdV36","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionHat_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionLadder_01/ConstructionLadder_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionLadder_01/ConstructionLadder_01.glb":"QmUgLMT1nLYa3WMJW8Wis64vt2DstJFgDZJD5cKhag84qZ","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionLadder_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionLight_01/ConstructionLight_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionLight_01/ConstructionLight_01.glb":"QmXezAa4kyxTMGxBytHP5LiEcdxAsKECCAy7tpG44jnBZA","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionLight_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionPallet_01/ConstructionPallet_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionPallet_01/ConstructionPallet_01.glb":"Qmb1ZBtAnw5hDWp9QEpUd1o8s1xbu5kgu4tQZbN5qmJJdJ","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionPallet_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionScene_01/ConstructionScene_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionScene_01/ConstructionScene_01.glb":"QmYecN6oceAPCrDvLkDVzyybsiggVRXCwTHnC2zZftQTXk","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionScene_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionSign_01/ConstructionSign_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionSign_01/ConstructionSign_01.glb":"QmeEAgkHECbCEcCATQ2ZEaTHdPEVAZxPzYREaBheJC46Cu","e6fa9601-3e47-4dff-9a84-e8e017add15a/ConstructionSign_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_01/Couch_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_01/Couch_01.glb":"QmRB27gwxaTzfFRMkMhRtYJH5W5czkv6JQGbkiecyRXBrp","e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_02/Couch_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_02/Couch_02.glb":"QmPdhxtgBC7VTYuTYkVfE6Unm6f5kSj2dNmqPpp88jCUsg","e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_03/Couch_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_03/Couch_03.glb":"Qme1px9gyqcADXsrcQbhTJV3hfCUhPeZnHW3R6ZPDRVJnS","e6fa9601-3e47-4dff-9a84-e8e017add15a/Couch_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/DecentralandLogo_01/DecentralandLogo_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/DecentralandLogo_01/DecentralandLogo_01.glb":"QmVQYjtHr399TUXApdnPWBwT5Y4xct2TyJimj2dFtSTqj1","e6fa9601-3e47-4dff-9a84-e8e017add15a/DecentralandLogo_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_01/FarmVegetation_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_01/FarmVegetation_01.glb":"QmY6wwApiNVMMWvMjDM6bgeeD8nkRdVPev3rM8MehMo8Ah","e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_02/FarmVegetation_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_02/FarmVegetation_02.glb":"QmWLj4ixBrnuNr6osg45vb59wZeYWpH6Euun6Su8xpdPdu","e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_03/FarmVegetation_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_03/FarmVegetation_03.glb":"QmeL7qKx3fEk56CP5jgxbkwPgite8fC6mD5wtxRacpbDiN","e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_04/FarmVegetation_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_04/FarmVegetation_04.glb":"QmadNXTZA73RVMk6ohrdtEd8UspVCAEggpj9j3iVz64aKG","e6fa9601-3e47-4dff-9a84-e8e017add15a/FarmVegetation_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronDoor_01/FenceIronDoor_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronDoor_01/FenceIronDoor_01.glb":"QmTbuVrJBoSgS1egRSwqYhUFK6RChsi9pLd8u7a8LBkyY5","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronDoor_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronEnd_01/FenceIronEnd_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronEnd_01/FenceIronEnd_01.glb":"QmaWfoJbJQaGDhjks8be53Urip6wuuyNbpY8v6icrPtBuy","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronEnd_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronLarge_01/FenceIronLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronLarge_01/FenceIronLarge_01.glb":"QmSGX9dGbPxhmgnFgqX2bX6fsU3H9jpYamfqdDjkt3RAeY","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronMedium_01/FenceIronMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronMedium_01/FenceIronMedium_01.glb":"QmRimvSZ8MMjdXtbo6b4RTVvRN2pakuo3MsWGoS7SqGdmp","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronSmall_01/FenceIronSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronSmall_01/FenceIronSmall_01.glb":"QmYdSsFknE6ncELSYSstUgqUK2XWBLBd3ZyaftBy24Wkxq","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceIronSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketDoor_01/FencePicketDoor_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketDoor_01/FencePicketDoor_01.glb":"QmaM7G23B48HcFBHffu6QCvCEyWZ7G1EU3EsFeRJP9gygY","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketDoor_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketEnd_01/FencePicketEnd_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketEnd_01/FencePicketEnd_01.glb":"Qmf9voHra98Str28fFrGjoNL4zfFfxnCdbdFauZ34BuHud","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketEnd_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketLarge_01/FencePicketLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketLarge_01/FencePicketLarge_01.glb":"QmPiXMWb3WwzXxzcMmxLckrUUWiCP4t8VvbeYRurccbSZn","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketMedium_01/FencePicketMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketMedium_01/FencePicketMedium_01.glb":"QmNrMQ3BUneewwnUkFYGcX37YAQ5oeQzVgpWnHPcWKhTBC","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketSmall_01/FencePicketSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketSmall_01/FencePicketSmall_01.glb":"Qmcj2yq5KEQb4xuBuFyjPwtrvBJu4Fcm52B1VndbLh3dpX","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteDoor_01/FencePicketWhiteDoor_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteDoor_01/FencePicketWhiteDoor_01.glb":"QmT4N9WagQnDUCnmcJAGNNK2ksyETPw5XgKF27fmeboBJP","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteDoor_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteEnd_01/FencePicketWhiteEnd_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteEnd_01/FencePicketWhiteEnd_01.glb":"QmV8tZfqoWFCoASsDwTrCVNU2ZZA7431NsTx6WJzVm51hv","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteEnd_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteLarge_01/FencePicketWhiteLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteLarge_01/FencePicketWhiteLarge_01.glb":"QmdZaUBHae3TS3qmwK2QmzHqCnFNxyRtBNviu54cZTjStB","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteMedium_01/FencePicketWhiteMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteMedium_01/FencePicketWhiteMedium_01.glb":"QmYT2V4uKFErFM5eNG4nc1b11gxcpjjvTNnkyz5urBR5CF","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteSmall_01/FencePicketWhiteSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteSmall_01/FencePicketWhiteSmall_01.glb":"QmRrS5v2kzVGUtZHCGzrKdLw1zFso9fPrtCXeM5cjKonFq","e6fa9601-3e47-4dff-9a84-e8e017add15a/FencePicketWhiteSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneLarge_01/FenceStoneLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneLarge_01/FenceStoneLarge_01.glb":"QmPZcLoLCdscYzFFZBwSaksLcS929U6zBqsPCF2xMc5P8K","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneLarge_02/FenceStoneLarge_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneLarge_02/FenceStoneLarge_02.glb":"QmPpqiKRA6MmWYVPTMkgUS4thVbaS354CuR6K9ZXHFzF4m","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneLarge_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneMedium_01/FenceStoneMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneMedium_01/FenceStoneMedium_01.glb":"QmcKahT9Qprdnd3Kz7CYJPi17tVUs3d1NLKFnTjrV7xSgN","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneMedium_02/FenceStoneMedium_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneMedium_02/FenceStoneMedium_02.glb":"QmVvmm5QRdrZz2yAEzFMBsSx4VbxHJtqGcgBobfiiCSuVo","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneMedium_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStonePillarTall_01/FenceStonePillarTall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStonePillarTall_01/FenceStonePillarTall_01.glb":"QmNS4K7GaH63T9rhAfkrra7ADLXSEeco8FTGknkPnAVmKM","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStonePillarTall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStonePillar_01/FenceStonePillar_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStonePillar_01/FenceStonePillar_01.glb":"QmajkKgQFdMM8GxLYE6NDh64yXTaL7s3jRRtyy2znjSqYZ","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStonePillar_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneSmall_01/FenceStoneSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneSmall_01/FenceStoneSmall_01.glb":"QmU2EBkfZAbnCVFpF12DETZSZJEC2nvcw9WLBwGP8yZwAa","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneSmall_02/FenceStoneSmall_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneSmall_02/FenceStoneSmall_02.glb":"QmXkgvfoafwNPdn1ZQGkJbrNxtwwBtyBdgsDL6LF7tCae2","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneSmall_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallLarge_01/FenceStoneTallLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallLarge_01/FenceStoneTallLarge_01.glb":"QmPcxxszQR1RJ15ayHazdcAkB4zbQFwXZ4zZzMTBkdSmV5","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallMedium_01/FenceStoneTallMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallMedium_01/FenceStoneTallMedium_01.glb":"Qmdc3BdXbXkv27JeWSV9mh9jc4YkTCxgkp3wYup1foAN1o","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallSmall_01/FenceStoneTallSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallSmall_01/FenceStoneTallSmall_01.glb":"QmRuL1SWWpkzwK9hrmMVydMqjx7aWTPM48dAJoAMf3pKAr","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceStoneTallSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodDoor_01/FenceWoodDoor_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodDoor_01/FenceWoodDoor_01.glb":"QmREKZ1pRqaeaj5LosJbSS46R9ztSsPDt9YUU2ZFBZEVWr","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodDoor_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodEnd_01/FenceWoodEnd_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodEnd_01/FenceWoodEnd_01.glb":"QmUe3MA6KQ8SU8SuqGb4iS3jXJU1FMjTMCTZGb5dNEacM3","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodEnd_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodLarge_01/FenceWoodLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodLarge_01/FenceWoodLarge_01.glb":"QmQVVxogmdhLyoFYM7k3DZEU5DEnHQHJamQkmE3aGVZbLS","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodMedium_01/FenceWoodMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodMedium_01/FenceWoodMedium_01.glb":"QmT6TrigkG4bf7PMyNH9RRGVtSWvTsFLSJXdKqzZhbrJvU","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodSmall_01/FenceWoodSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodSmall_01/FenceWoodSmall_01.glb":"QmajYSjT384vrNdLJEiYMo5Ny2E73SYw4SuoRC8tbRQjkw","e6fa9601-3e47-4dff-9a84-e8e017add15a/FenceWoodSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FireHydrant_01/FireHydrant_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FireHydrant_01/FireHydrant_01.glb":"QmUkW3cf178Fqoe1siJ9vkchCnYVvYcggWQoGbJvGuk526","e6fa9601-3e47-4dff-9a84-e8e017add15a/FireHydrant_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Fireplace_01/Fireplace_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Fireplace_01/Fireplace_01.glb":"QmNYDMe5voWQ6ihczrCWYA7BTwsRchfbmjE5cjMsffe6ZD","e6fa9601-3e47-4dff-9a84-e8e017add15a/Fireplace_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseConcrete_01/FloorBaseConcrete_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseConcrete_01/FloorBaseConcrete_01.glb":"QmcZ5RMCLEgGsW3iUCpwqpzAPaXedXt53hy6jp79HeZU3j","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseConcrete_01/Floor_Concrete01.png.png":"QmVT8uNnGp9paRaUbQZ8A6yLeF9jhwRJ3KtvLcr8WEGHBS"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseDirt_01/FloorBaseDirt_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseDirt_01/FloorBaseDirt_01.glb":"QmXujQWTif8XFQuWfoi8KPj8NbNG7hBgNzQypqmfsda8XB","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseDirt_01/Floor_Dirt01.png.png":"QmaCXEiNDDmzmLvSsvZzLQcQe4Duz3k4kAC6CC6Q9jxqLQ"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseDirt_02/FloorBaseDirt_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseDirt_02/FloorBaseDirt_02.glb":"QmXAi3sbmBvLHh2BdZLAtdBaQN8oLQAfewAjJccukPH77C","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseDirt_02/Floor_Dirt02.png.png":"Qmbc3q3YSWQ2vCbQEjpEwB5F88nbTU51JEDnhspF7eNjBB"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseGrass_01/FloorBaseGrass_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseGrass_01/FloorBaseGrass_01.glb":"QmSyvWnb5nKCaGHw9oHLSkwywvS5NYpj6vgb8L121kWveS","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseGrass_01/Floor_Grass01.png.png":"QmT1WfQPMBVhgwyxV5SfcfWivZ6hqMCT74nxdKXwyZBiXb"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseGrass_02/FloorBaseGrass_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseGrass_02/FloorBaseGrass_02.glb":"Qmc48oiTLYCo3zZyq6Q4EpGrmtwkmmm2kbJxwmvBYMbnRo","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseGrass_02/Floor_Grass02.png.png":"Qmc28sb3jKG4v6EZ6rzS775m2VT8tSkewboUWkE6DX6AEQ"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBasePebbles_01/FloorBasePebbles_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBasePebbles_01/FloorBasePebbles_01.glb":"QmbAnLY1XMecHgUKEWEkMsTSJavXvG7rPu4o746sMBmzaH","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBasePebbles_01/Floor_Pebles01.png.png":"Qmf7tVWypXZygaZa7cqsfhtmH3zAxyeKxQGFPyFopepaNH"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseSand_01/FloorBaseSand_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseSand_01/FloorBaseSand_01.glb":"QmY1fiQM7RE3KVXy8LKUpaoLzifibSj4mTjDRVNNMxrxNi","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseSand_01/Floor_Sand01.png.png":"QmQ4n3eP9YuXXYvM3rcVWC4zZwV7NUAqwCN95uFDnERRCj"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseTiles_01/FloorBaseTiles_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseTiles_01/FloorBaseTiles_01.glb":"QmRFGVC3tNDHu8NFMf7BXCv9qjjv3ecVamP3F3eNb7QD1Z","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseTiles_01/Floor_Tiles01.png.png":"QmeXAdDV9eSapZUyuSu28tYJCKSZ5dZwaC68dCiLtp7rA4"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseWood_01/FloorBaseWood_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseWood_01/FloorBaseWood_01.glb":"QmYDDgRJUTNrAwVhNnWowoyKCC2sXszFcGNwu8qbV7kEWg","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBaseWood_01/Floor_Wood.png.001.png":"QmQMtLv8RASpvW4E2GwowtwtnMW7CNMxU4VEudCvxKufdn"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_01/FloorBlock_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_01/FloorBlock_01.glb":"QmQ3W6zZ6SEUDL44feXuQwHvJ3uds61rzogMnTgG2dtQPK","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_02/FloorBlock_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_02/FloorBlock_02.glb":"QmSXRk6c5GU2Z1L7gz9k2Ajy2NTeBsuDe7XvvZtNufCM2b","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_03/FloorBlock_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_03/FloorBlock_03.glb":"QmdPrSaN914yfvyqX3PyKfb4P3XCJWsJy6fNwFALp4BFsS","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_04/FloorBlock_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_04/FloorBlock_04.glb":"QmVagdjEWJ81EDyZr2TzmcDdGCX5ngKWQkWUPBbyTd8CSz","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_05/FloorBlock_05.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_05/FloorBlock_05.glb":"QmVhndj2yfbM66Agru4roiiWx95XDiFQjv2PL3rp6UXXud","e6fa9601-3e47-4dff-9a84-e8e017add15a/FloorBlock_05/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_01/Flower_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_01/Flower_01.glb":"QmNbib4Ntj8Pftfpco3iMDZTgZNA5dL1wkurtjKuCKr2uH","e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_02/Flower_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_02/Flower_02.glb":"QmWa4L27ceqip1tYV9WbvHHeZWix49PEYoib9TkGJAAqVd","e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_03/Flower_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_03/Flower_03.glb":"QmU7rfY5cSf7qmbik8iSFWHfdfgHnhkrMTnGSPaBgNuvpY","e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_04/Flower_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_04/Flower_04.glb":"QmecsnERbYDiKMHJfeD1Y6CWXBkSyUo4iYKN2iq5ZSHiVP","e6fa9601-3e47-4dff-9a84-e8e017add15a/Flower_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodApple_01/FoodApple_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodApple_01/FoodApple_01.glb":"QmWPBXeiv7gfW6WN4prr9E5mf1bwd1S4cLGXH8NfdEmAbm","e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodApple_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodLemon_01/FoodLemon_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodLemon_01/FoodLemon_01.glb":"QmcdMLu6dBBE1TFPN6Qpdh7V5t3j9PsdSJX8HkEKZtXgtY","e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodLemon_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodPineapple_01/FoodPineapple_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodPineapple_01/FoodPineapple_01.glb":"QmYhxzaxZYRX9Dxas69TsF5RVqH7eJ7bwiTEvTW8My8NRQ","e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodPineapple_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodTomato_01/FoodTomato_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodTomato_01/FoodTomato_01.glb":"QmaCYRepbENVEo14Kyhjzg2SkmHg2PzrzhPpLsS2KnfZpz","e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodTomato_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodWatermelon_01/FoodWatermelon_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodWatermelon_01/FoodWatermelon_01.glb":"QmYUa6YLkuiFnmUtniPRKS1WNo1CsKRsoPFyHc4Hkgkqye","e6fa9601-3e47-4dff-9a84-e8e017add15a/FoodWatermelon_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/ForSaleSign_01/ForSaleSign_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/ForSaleSign_01/ForSaleSign_01.glb":"QmX1pucUEwL9a5L2AyKJ4wMiQRNUKn5P1rzou3HpZqNzky","e6fa9601-3e47-4dff-9a84-e8e017add15a/ForSaleSign_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Fountain_01/Fountain_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Fountain_01/Fountain_01.glb":"QmRjiDYLWT6mkX8pQrg5hGCpSDzEM6HprphWRbeVEViv5u","e6fa9601-3e47-4dff-9a84-e8e017add15a/Fountain_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Fountain_02/Fountain_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Fountain_02/Fountain_02.glb":"QmTKWB2YV2u62KkRJuSWByXV1Me5xLXYmj9ngJkzJRxu6G","e6fa9601-3e47-4dff-9a84-e8e017add15a/Fountain_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/GeckoBush_01/GeckoBush_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/GeckoBush_01/GeckoBush_01.glb":"QmPFchBfWykmQDqt1wDHy2kL14PqTCxH6Bipc7f9vFB2Z9","e6fa9601-3e47-4dff-9a84-e8e017add15a/GeckoBush_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/GeckoStone_01/GeckoStone_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/GeckoStone_01/GeckoStone_01.glb":"QmdhbF7vkMYjTPJZXExsgTsSQY29np9G6tgorLJTUWouNx","e6fa9601-3e47-4dff-9a84-e8e017add15a/GeckoStone_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/GrassPatchLarge_01/GrassPatchLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/GrassPatchLarge_01/GrassPatchLarge_01.glb":"QmTYC2VXp6CpZtAn8P8J5VcxWGorkkjstDjd59WyEWmm8h","e6fa9601-3e47-4dff-9a84-e8e017add15a/GrassPatchLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/GrassPatchSmall_01/GrassPatchSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/GrassPatchSmall_01/GrassPatchSmall_01.glb":"QmNtuuNiKVib41fggeaFgjqD71zaTQQLGHErcbzjbEAJ4u","e6fa9601-3e47-4dff-9a84-e8e017add15a/GrassPatchSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_01/Grass_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_01/Grass_01.glb":"QmYFuVYGBB6JzTLohe2gNmVALWQew8sJJ5NYuEgeweY11v","e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_02/Grass_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_02/Grass_02.glb":"QmTsxRcn5chfx53HCoxv8WtRkwcm9oH8Dh6Qdtq7MsJsgH","e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_03/Grass_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_03/Grass_03.glb":"QmRHEzqmgrEwyihHuoUsF8TXiu5jYXz4gGMer6b9P7wRQq","e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_04/Grass_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_04/Grass_04.glb":"QmYkGZkPMewjqrdrCYiZYtpjyVSh1aj5QdJjCyZRL2WV8q","e6fa9601-3e47-4dff-9a84-e8e017add15a/Grass_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Base/HTC_Base.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Base/HTC_Base.glb":"QmcJqWgTzxNmdzvStxfJdwFVHbdRVkpm8fVP1AjCMjUNfY","e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Base/TX_EXodus.png.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_CircularBase/HTC_CircularBase.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_CircularBase/HTC_CircularBase.glb":"QmQoJPukAVGUsbsQnZPX8ZfGE17JUHH5vpJQEu8vwbbfQk","e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_CircularBase/TX_EXodus.png.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Cube/HTC_Cube.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Cube/HTC_Cube.glb":"QmT9du8WZxpGbV4gMpjngBwNUsEqT7NXKopEo2t4yjnaMs","e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Cube/TX_EXodus.png.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Phone/HTC_Phone.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Phone/HTC_Phone.glb":"QmaQ2i7cUELq4qeWRgAShWzvub8nW5zVsECcdq3nHGTCtY","e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Phone/TX_EXodus.png.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15","HTC_Phone/TX_EXodus.png_1.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15","HTC_Phone/TX_Exodus_transp.png.png":"QmRjthJb6msZfNmQ6ab9jg87FmrFQGiwL1MccLEhDTEJKL"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Portal/HTC_Portal.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Portal/HTC_Portal.glb":"QmcWLpSSCJzvBBraNJ9EGmSrNY9WWKjNq4HuKGkw7d1Dtn","e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Portal/TX_EXodus.png.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Vault/HTC_Vault.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Vault/HTC_Vault.glb":"QmXH3Gw99Yiwc31u3Gh5YZsYSuZENvCuBUzZ4osNPyGVqx","e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_Vault/TX_EXodus.png.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15","HTC_Vault/TX_EXodus.png_1.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15","HTC_Vault/TX_Exodus_transp.png.png":"QmRjthJb6msZfNmQ6ab9jg87FmrFQGiwL1MccLEhDTEJKL"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_ZionLogo/HTC_ZionLogo.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_ZionLogo/HTC_ZionLogo.glb":"QmVNy5AgN8bpcZtNvg1PpVdsriwvXJBPDmpxPQdvFqzsDm","e6fa9601-3e47-4dff-9a84-e8e017add15a/HTC_ZionLogo/TX_EXodus.png.png":"QmR2DNkLrsHevQiwS5bQ9rsjFc9XWidCQRsNU12inFCo15"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Hammock_01/Hammock_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Hammock_01/Hammock_01.glb":"QmRfMR7X22M4A15ojyMZBuzfCDkHwePibUrzvyPBZyKscQ","e6fa9601-3e47-4dff-9a84-e8e017add15a/Hammock_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/IceCreamTruck_01/IceCreamTruck_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/IceCreamTruck_01/IceCreamTruck_01.glb":"Qmbzgrv8SGN58ftaqxr8rHFxQAYpAYYZSxpCBNEmk29DNX","e6fa9601-3e47-4dff-9a84-e8e017add15a/IceCreamTruck_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_01/LampPost_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_01/LampPost_01.glb":"QmSf826keKZJssDE9z4DcSnV7sGapZW9WBPESm2Z6Lvhdk","e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_02/LampPost_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_02/LampPost_02.glb":"QmRBb9qHxcpteMr6PNgfxZMGVK3bEa7wUa4wo1ZpW78LLo","e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_03/LampPost_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_03/LampPost_03.glb":"QmUX8JZod6upMBUYGD8R7xu9QUfALxEdh1EuenprggaTD5","e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_04/LampPost_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_04/LampPost_04.glb":"QmeE8PVVbKRP6ghqYzQyTSWRP3rfn1ev5XdYCG8SPYuZ5n","e6fa9601-3e47-4dff-9a84-e8e017add15a/LampPost_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_01/Log_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_01/Log_01.glb":"QmNrYdRWsovzdvMAZ7DnYeSJ7skezgVf9rFWAqmNmVCtLN","e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_02/Log_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_02/Log_02.glb":"QmW7CSEFNdG2p1UsYg5T4yETaDV3xMA6zaLHMoYK4Ggf25","e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_03/Log_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_03/Log_03.glb":"QmSVxToMipkiEfUUjPgSji5Dt7Sbhgxdq9oExChcMgZrcU","e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_04/Log_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_04/Log_04.glb":"QmeXYpgQrurA7NXzHEXSFhT7gfJiPnwWaMcPzpyS797mC2","e6fa9601-3e47-4dff-9a84-e8e017add15a/Log_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/MailPost_01/MailPost_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/MailPost_01/MailPost_01.glb":"QmfWJbMFpNe2y2PeihnC8M7Cc8H5fzv1Yox2fNsCWZ1Uqj","e6fa9601-3e47-4dff-9a84-e8e017add15a/MailPost_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/MailPost_02/MailPost_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/MailPost_02/MailPost_02.glb":"QmRYTHrytpRTnfzN9mKyodTjRxWKLut8U3LebZs63LLVBg","e6fa9601-3e47-4dff-9a84-e8e017add15a/MailPost_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Mushroom_01/Mushroom_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Mushroom_01/Mushroom_01.glb":"QmPFQV4W7ine8GYEGgx7TrcgQ67E9buf23YnChDQSn6cqM","e6fa9601-3e47-4dff-9a84-e8e017add15a/Mushroom_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Mushroom_02/Mushroom_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Mushroom_02/Mushroom_02.glb":"QmcLrsMQNcsvrakQJrjmd1VR6rpHqQ5rRnjr823DfUPnTZ","e6fa9601-3e47-4dff-9a84-e8e017add15a/Mushroom_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PaintBucket_01/PaintBucket_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PaintBucket_01/PaintBucket_01.glb":"Qmey3y2RHxdvkrf4asu8ngecnFcPNYeCDV656bZuekJkW9","e6fa9601-3e47-4dff-9a84-e8e017add15a/PaintBucket_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PalmTree_01/PalmTree_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PalmTree_01/PalmTree_01.glb":"QmNNiG2xVAmEkAjVff4g6tW8ynKUUd5bi8HRHRRK3an87w","e6fa9601-3e47-4dff-9a84-e8e017add15a/PalmTree_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_01/Pebble_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_01/Pebble_01.glb":"QmYJUW3AWoQZXeNMz88z7dcLQraP4xSGhnjM6iw85yWNcC","e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_02/Pebble_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_02/Pebble_02.glb":"QmbY8EuUii99BWuc2abYRaCuN2WpyQrv6x1N9mNsMo9Pjs","e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_03/Pebble_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_03/Pebble_03.glb":"QmbMQggZw9HXjSCQugK3Myq5R7WkT9aKeKP7gGEDPfsUAt","e6fa9601-3e47-4dff-9a84-e8e017add15a/Pebble_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pergola_01/Pergola_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pergola_01/Pergola_01.glb":"QmTV6SaXZfY8QjsUaV9PbTTNn73EWbbriU55ozy6TSz1Gm","e6fa9601-3e47-4dff-9a84-e8e017add15a/Pergola_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PetHouse_01/PetHouse_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PetHouse_01/PetHouse_01.glb":"QmcoVsYSi2pQwQo8U6RuhKBGq1QDDbAaznAN9nGGWKUHak","e6fa9601-3e47-4dff-9a84-e8e017add15a/PetHouse_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PillarCat_01/PillarCat_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PillarCat_01/PillarCat_01.glb":"QmcNbYTCQmcKsf8AG7BDgDW76CKc4fExseKvhwjRxr9RDb","e6fa9601-3e47-4dff-9a84-e8e017add15a/PillarCat_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PillarDog_01/PillarDog_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PillarDog_01/PillarDog_01.glb":"QmWkYHG6zYobeF2QBHKnJnTWgp2HSGX9ygfVSTStYF7DKn","e6fa9601-3e47-4dff-9a84-e8e017add15a/PillarDog_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_01/PlantPot_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_01/PlantPot_01.glb":"QmdTLZpDBYZMzrYd1cEM1UeczUi2WpYSX5VNNwhwpyBFjx","e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_02/PlantPot_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_02/PlantPot_02.glb":"QmWXGbkBJbn7bLwBMnasR5K81ehswjgwzuR8QCchfRB2AH","e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_03/PlantPot_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_03/PlantPot_03.glb":"QmcV5eJLRjFM7MhbA3HbVhAm6xCJvEzXXSuqA2sYcSaHpZ","e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_04/PlantPot_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_04/PlantPot_04.glb":"QmbsATVUynpGD82QHXMvNDHCERrsTRAwPHX5LZByudiNbp","e6fa9601-3e47-4dff-9a84-e8e017add15a/PlantPot_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_01/Plant_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_01/Plant_01.glb":"QmSecUKvuhmrVBKEd2Ymdz9MuEiphTrK6hPy8nwWv5ZEMa","e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_02/Plant_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_02/Plant_02.glb":"QmeAFnWF7odhbqU6N1jAPNyGa2GWKSQ23SUsne4vg2n48s","e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_03/Plant_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_03/Plant_03.glb":"QmW8mYfFTaRHm4n5fph7mfihk9PQPyZnUbeUXRt3XK6MC2","e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_04/Plant_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_04/Plant_04.glb":"QmP4jifwaa2wuzzPhGhYbsA414Kvd31T82VZBbzAgYat93","e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_05/Plant_05.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_05/Plant_05.glb":"QmVwkiRQNQA2wZ68693jH29eCMYwoUNmSZsNh8LJpBJNG6","e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_05/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_06/Plant_06.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_06/Plant_06.glb":"QmV5ZyA4MP99UcH4GzTSrqLEkqkwKyKWTbjUoGgZSpnsM9","e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_06/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_07/Plant_07.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_07/Plant_07.glb":"QmVSBhzZGChURqzCfGPCdCmWVvtxAfgWuQnYoj3WFEHbGS","e6fa9601-3e47-4dff-9a84-e8e017add15a/Plant_07/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundBall_01/PlaygroundBall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundBall_01/PlaygroundBall_01.glb":"QmTyzSGN1gKQRprdTD612cinvoqJg4W1yPamzAv5Jp2jGh","e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundBall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundHammock_01/PlaygroundHammock_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundHammock_01/PlaygroundHammock_01.glb":"QmT9KESBSkt6bqcqQNaLS4Lvp1cgBiHGzqvi8km48hg168","e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundHammock_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundSlide_01/PlaygroundSlide_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundSlide_01/PlaygroundSlide_01.glb":"QmUXBhBgxUYFthDKzBftDqY4EE5iEAUphCxcvMxx5DeHRy","e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundSlide_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundStructure_01/PlaygroundStructure_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundStructure_01/PlaygroundStructure_01.glb":"QmPJYDWHCm7VGuXa3uuAXtRZPrNZkhk1zknFNH5vp6mhGA","e6fa9601-3e47-4dff-9a84-e8e017add15a/PlaygroundStructure_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pond_01/Pond_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pond_01/Pond_01.glb":"QmZhaMWfGLkghfPybCEYT1wSM7MyEAghkKc641wNyczow7","e6fa9601-3e47-4dff-9a84-e8e017add15a/Pond_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pond_02/Pond_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pond_02/Pond_02.glb":"QmXMqSY9Q5zECDXjbkPG2t3mTfRoq2RFge5C8zJPdZGiaR","e6fa9601-3e47-4dff-9a84-e8e017add15a/Pond_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pot_01/Pot_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pot_01/Pot_01.glb":"QmNjAVCm7FMWVvmeWhgs1gMyg27HdRPoB6BsLxDTNjFSb3","e6fa9601-3e47-4dff-9a84-e8e017add15a/Pot_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pot_02/Pot_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Pot_02/Pot_02.glb":"QmYgaaassBNXkQ1AXBappYryvLm3uc856T6txvZkEpHbEH","e6fa9601-3e47-4dff-9a84-e8e017add15a/Pot_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLargeMoss_01/RockLargeMoss_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLargeMoss_01/RockLargeMoss_01.glb":"QmdipRwKrsiYLHi4oWUuhN44MqVdPgMm1kwyXhZwQL7Ui2","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLargeMoss_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_01/RockLarge_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_01/RockLarge_01.glb":"QmfSpX3nxChTTKoVhBhCsc8uZjTp34xNQTy8Xkvrutc4xu","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_02/RockLarge_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_02/RockLarge_02.glb":"QmWc1bwcQRaMc3goS3ZjAvtnZjsVMbMxWhjNsnUipANY56","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_03/RockLarge_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_03/RockLarge_03.glb":"QmaJrJmqYYjA1s1Fpess8p1qmrB4zicMvjai63GrzarakD","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockLarge_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMediumMoss_01/RockMediumMoss_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMediumMoss_01/RockMediumMoss_01.glb":"QmQa6TnJdkULMt4N1hv22uamN7QnoejLsUQSAjszYAdbcQ","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMediumMoss_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_01/RockMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_01/RockMedium_01.glb":"QmZ1VuhSrB73QPD85bFf5Typ81fPBS5amQ7XbR5uhW5TFb","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_02/RockMedium_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_02/RockMedium_02.glb":"QmaB4WeRc1nBnN8VGejuZXt9bMHdmDGnQK6U1pAfZqRkGb","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_03/RockMedium_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_03/RockMedium_03.glb":"QmPV4WN5piBCe4yXHHMQhAwy6NxtyyFhGrfaDkcjMibhiU","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockMedium_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmallMoss_01/RockSmallMoss_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmallMoss_01/RockSmallMoss_01.glb":"QmTnAtKqUJCqfRhNVPL3DzZEe9npt7wvWmoV4gb4Lto52s","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmallMoss_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_01/RockSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_01/RockSmall_01.glb":"QmcrUFK49cQ1kGpxHF5p6vpD4Jrb5kwHv563LY14Puao7L","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_02/RockSmall_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_02/RockSmall_02.glb":"QmRmcGJSmuN1PNA6jCK9cvJQxUrMY3hF3Sb69P3yrSwahU","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_03/RockSmall_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_03/RockSmall_03.glb":"QmeSsZpUZxVbLNyVpiwVrKoaNmGiSVehA78fxjoSoXPDc8","e6fa9601-3e47-4dff-9a84-e8e017add15a/RockSmall_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/RubberTire_01/RubberTire_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/RubberTire_01/RubberTire_01.glb":"QmaDLhrMfAXhrytrtMDPseUazHNKFxrdfBLLy9i9AyVA3F","e6fa9601-3e47-4dff-9a84-e8e017add15a/RubberTire_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_01/Sign_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_01/Sign_01.glb":"QmP4Mwct4FRDrP9E8n1xQP3AzycvRXRinJcJs3VZAxTD2F","e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_02/Sign_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_02/Sign_02.glb":"QmdeuGfCmDe5HU9s35NRWNFzNPmRqsf8DjHuL1ujd4zCkd","e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_03/Sign_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_03/Sign_03.glb":"QmV6KBcCpTzhRbm5LCZqgwZg34fEsgiNFGqQZbRZxaYRD8","e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_04/Sign_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_04/Sign_04.glb":"Qma7HDGBH26Lt5RUgAce4spESR6n9vxG3Pb3hd7jG6nKST","e6fa9601-3e47-4dff-9a84-e8e017add15a/Sign_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_01/SpiralStone_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_01/SpiralStone_01.glb":"QmSo1hvuLrzoGCDtq5u7R6CWZiY8TLpgz6wcvnsaeF4XWo","e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_02/SpiralStone_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_02/SpiralStone_02.glb":"QmUesWoqW3u9hWBs5h53p8P3ptXuywfdab6DTxk6FzMU3N","e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_03/SpiralStone_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_03/SpiralStone_03.glb":"QmNx36rdEGmvnTqRjyUaVjHYo3Xf77SxCGUS4dqwogbmeo","e6fa9601-3e47-4dff-9a84-e8e017add15a/SpiralStone_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_01/Store_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_01/Store_01.glb":"QmfLom3c6FcTMwtyT72w5usUCRpG896Mbc7CtUGtevYHAW","e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_02/Store_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_02/Store_02.glb":"QmdCb1QvjePhnEcaKetDQyAHExCdcYR2YH8b9PS8QpjYKX","e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_03/Store_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_03/Store_03.glb":"QmdZ4Hk2ZXZokRfBx85i42HvZxKYUufDYENj1FUPKkCuSN","e6fa9601-3e47-4dff-9a84-e8e017add15a/Store_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetClock_01/StreetClock_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetClock_01/StreetClock_01.glb":"QmfSvEafQ8tcmfJXvRs8eZ7h1JXp3KmpMLme8uAt4S2LUo","e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetClock_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetCordMedium_01/StreetCordMedium_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetCordMedium_01/StreetCordMedium_01.glb":"QmPoVLf9YWZ98QzGcS2tTegcrkGUNYcfooVXw8mWXj7nLn","e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetCordMedium_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetCordSmall_01/StreetCordSmall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetCordSmall_01/StreetCordSmall_01.glb":"QmZUh9qxAqMZUQAK7n3wyUyMvZwMwv2hcco8bRjNUijs7R","e6fa9601-3e47-4dff-9a84-e8e017add15a/StreetCordSmall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Suitcase_01/Suitcase_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Suitcase_01/Suitcase_01.glb":"QmeX7j93t8r652KyRohfhSRcFQv2oRc7PiYZjYEUXrXUqD","e6fa9601-3e47-4dff-9a84-e8e017add15a/Suitcase_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/SurfBoard_01/SurfBoard_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/SurfBoard_01/SurfBoard_01.glb":"QmYU1XNQ76mEiG6M868fMBmLa89U4Ch7cfoVidpNDYDyqv","e6fa9601-3e47-4dff-9a84-e8e017add15a/SurfBoard_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TableBar_01/TableBar_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TableBar_01/TableBar_01.glb":"QmdsNnFsittFaj4uUULB1cVanvoQnxj37SxHNQV6twwVY6","e6fa9601-3e47-4dff-9a84-e8e017add15a/TableBar_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_01/Table_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_01/Table_01.glb":"QmY369TNY9A44ZdwtbGJLqxLv1F9LcMmLBnNGkEre4GsWL","e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_02/Table_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_02/Table_02.glb":"QmTz6sYQYhpkJz2x1FhmcwcjTr9oazwSgzHSyJF8SnPWd1","e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_03/Table_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_03/Table_03.glb":"QmSSmxj2FSMRnU3cirPi2nLoqyyxYfuJ8pVPLSQnwaGi2E","e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_04/Table_04.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_04/Table_04.glb":"QmdU7nNu4Gd3pai5vsEdSXX8A5NLAZnFFMrpy3ufN4pLuh","e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_04/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_05/Table_05.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_05/Table_05.glb":"Qmdj97A4oudGPtvwxJV2uBBZtjM26WDThVAHVFgcaYXQn6","e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_05/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_06/Table_06.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_06/Table_06.glb":"Qme5ZBAi8JATNPQc6xJpxBCDb9GZ1vbu85UewM96Bewh9S","e6fa9601-3e47-4dff-9a84-e8e017add15a/Table_06/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Tent_01/Tent_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Tent_01/Tent_01.glb":"QmXQ1bUGy2w1ZmQZbepiZif3TjvRaLbJoN5gdWAX3d7RE2","e6fa9601-3e47-4dff-9a84-e8e017add15a/Tent_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Terminal_01/Terminal_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Terminal_01/Terminal_01.glb":"QmXk2aE7YBxcekr7rnib9GS45geFzp5aTiCbhN7HVCNPh1","e6fa9601-3e47-4dff-9a84-e8e017add15a/Terminal_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Theatre_01/Theatre_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Theatre_01/Theatre_01.glb":"QmcjJVFb5CWWt6RYujBADvSjzCgeSYb9iqNw4Fe6eghK6Y","e6fa9601-3e47-4dff-9a84-e8e017add15a/Theatre_01/Transparent_Lights.png":"QmRceFondUCFyS8gNtKDHuj8Zz1QyXjnu39C1LGPYt3C4v","Theatre_01/image_0.png":"QmQU5YGjV8TXsz9XguDj4sctseFyV8Ps8sVrNwA2UgRFZ6"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TrashCan_01/TrashCan_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TrashCan_01/TrashCan_01.glb":"Qme1NiR9mSez1qSXJTdcfPxbrP2Dphf4VLvFM84e5CxMiA","e6fa9601-3e47-4dff-9a84-e8e017add15a/TrashCan_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_01/TreeFir_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_01/TreeFir_01.glb":"Qmd7R9GNsHPgSECbVPnpAwzk4ztUADEyS9ANrgsQFxi7QS","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_02/TreeFir_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_02/TreeFir_02.glb":"QmRPVtrbBYRZd62Png9eLff8oSdXyt5h2xP39bXPk6FGsx","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_03/TreeFir_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_03/TreeFir_03.glb":"QmSFvn2eyyxBFt8HyAsqk4HeeRhyA32kCnfUY1hhxcWkUK","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeFir_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeHouse_01/TreeHouse_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeHouse_01/TreeHouse_01.glb":"QmdWbMDVQqBRhbnARpokwDfBGAoo4yNMJzRTHPpmzLEnC1","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeHouse_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_01/TreePine_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_01/TreePine_01.glb":"QmP1eadGzG9kkmUQhjXLnn9oXQz934we5zhUvnwQJHPEEV","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_02/TreePine_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_02/TreePine_02.glb":"QmQ7YAq1WDGLfnuDojRw3ksjgffBmvbSjfghp9Wjh9KiEp","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_03/TreePine_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_03/TreePine_03.glb":"QmZAr6ES11pgxH1foxQzoNE72k2EBwZFTnGGhRXUXmSHQD","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreePine_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_01/TreeRoundPine_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_01/TreeRoundPine_01.glb":"QmeE8RUJZAtfmyREqW6fncMyN1AN6MzRhMG4xeEAHJp6jf","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_02/TreeRoundPine_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_02/TreeRoundPine_02.glb":"QmdVoQrhTkRycqEZBWcTdCuC7xwEeEjqS798SxAo1dmEUT","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_03/TreeRoundPine_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_03/TreeRoundPine_03.glb":"QmdUAKMxFBWjDAgdmUWi2Ta6TUBqYDSvdhDLUDaYd61aDr","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeRoundPine_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeStump_01/TreeStump_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeStump_01/TreeStump_01.glb":"QmRBQ9H5NzqiLg83nhRpTEtwSfwGxfUnwYCCAqYpZaEVbL","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeStump_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_01/TreeSycamore_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_01/TreeSycamore_01.glb":"Qmecp3Pu8dfY4JeuRC26Lx2PxUf8YoxpuuS3QQuAvKJHxT","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_02/TreeSycamore_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_02/TreeSycamore_02.glb":"QmRLjB2Ea2NVFXgCvTzJUeWLjiZtrG9LFNuiLdrTDYwPnF","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_03/TreeSycamore_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_03/TreeSycamore_03.glb":"QmeBP6z1rKrWWwvKXZWRLYvPEsjd1HJFmkibMYqVdDrE6A","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeSycamore_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_01/TreeTall_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_01/TreeTall_01.glb":"QmeHDxBDVxxXZz9Yc9JjxmErMjLXvxeYULJpjLmxzei7ZP","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_02/TreeTall_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_02/TreeTall_02.glb":"QmVh5vDy6d4LK5jcLYiAkb6arVPbcEhDgcNakfHWwYnkWj","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_03/TreeTall_03.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_03/TreeTall_03.glb":"QmWiusJm3g3rfNLY7V7bH8KMzMEqgZkUcBZk2mCFHMLwcg","e6fa9601-3e47-4dff-9a84-e8e017add15a/TreeTall_03/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Trunk_01/Trunk_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Trunk_01/Trunk_01.glb":"QmPtncXjmCePxF4MevpGK2GQFZycK5M17pR7kQLMChF7kr","e6fa9601-3e47-4dff-9a84-e8e017add15a/Trunk_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Umbrella_01/Umbrella_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Umbrella_01/Umbrella_01.glb":"QmURQiXoa8m8ykc9f64DK9KYnbWnB3pPa453Vyd5ABEhz2","e6fa9601-3e47-4dff-9a84-e8e017add15a/Umbrella_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Umbrella_02/Umbrella_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Umbrella_02/Umbrella_02.glb":"QmaFZsd7BGKW8xEPBKwfz4eAk2VPayEtQo751RCLGNtK88","e6fa9601-3e47-4dff-9a84-e8e017add15a/Umbrella_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/VegetablesBox_01/VegetablesBox_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/VegetablesBox_01/VegetablesBox_01.glb":"QmYMTYVo3Gch3NjDMSW8QsmJXN2HkWMcMKm6FyygFnSEVg","e6fa9601-3e47-4dff-9a84-e8e017add15a/VegetablesBox_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Well_01/Well_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Well_01/Well_01.glb":"QmctUtUBFpH2ifAFEM6wkWva23btEUQQ2XqQNf3ztdxtGc","e6fa9601-3e47-4dff-9a84-e8e017add15a/Well_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Wheelbarrow_01/Wheelbarrow_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Wheelbarrow_01/Wheelbarrow_01.glb":"QmNivie38b3YRhCPPFkFqw4sQxaDAJpu7YvGT6GXefJTEy","e6fa9601-3e47-4dff-9a84-e8e017add15a/Wheelbarrow_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/Wheelbarrow_02/Wheelbarrow_02.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/Wheelbarrow_02/Wheelbarrow_02.glb":"QmVq646YcmPURQAnKxzXmYUbrMW85Etkp1YfFDb5zsxKvh","e6fa9601-3e47-4dff-9a84-e8e017add15a/Wheelbarrow_02/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/WineBottle_01/WineBottle_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/WineBottle_01/WineBottle_01.glb":"QmU4PTmagYyFvyxNU9rV2JurdTHPq5rK48fP4TEnn2vEmL","e6fa9601-3e47-4dff-9a84-e8e017add15a/WineBottle_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"},"e6fa9601-3e47-4dff-9a84-e8e017add15a/WineGlass_01/WineGlass_01.glb":{"e6fa9601-3e47-4dff-9a84-e8e017add15a/WineGlass_01/WineGlass_01.glb":"QmeKeuReCsPLLfCgnbnqGJxUhyLDKoEghRCq13caSvEh7V","e6fa9601-3e47-4dff-9a84-e8e017add15a/WineGlass_01/file1.png":"QmYACL8SnbXEonXQeRHdWYbfm8vxvaFAWnsLHUaDG4ABp5"}}')},189:function(e,t,n){"use strict";let o,a;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return r})),function(e){e.STANDARD="standard",e.THIRD_PARTY="third_party"}(o||(o={})),function(e){e.MANAGER="manager",e.MINTER="minter"}(a||(a={}));const i=32,r=42},1910:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return w}));var o=n(4),a=n(391),i=n(302),r=n(105),s=n(136),c=n(632),l=n(49),d=n(54),u=n(89),p=n(258),m=n(70),b=n(345),h=n(730),f=n(513),y=n(139),_=n(286),g=n(65),j=n(43),O=n(1816);let v=0;const C=new Map,x=new Map;function*w(t,n){yield Object(o.takeEvery)(p.b,(function*(e){try{const e=Object(c.a)();if(!e)throw new Error(`Invalid projectId=${e}`);if(yield Object(o.select)(s.e)){if((yield Object(o.race)({success:Object(o.take)(r.g),failure:Object(o.take)(r.e)})).failure)throw new Error("Could not load login")}const t=yield E(e);yield Object(o.put)(Object(l.R)(t));if((yield Object(o.race)({success:Object(o.take)(l.t),failure:Object(o.take)(l.r)})).failure)throw new Error("Could not load scene")}catch(t){console.error(t)}})),yield Object(o.takeEvery)(p.a,(function*(e){const{iframeId:t}=e.payload,i=document.getElementById(t);if(null===i)throw new Error(`Iframe with id="${t}" not found`);yield Object(o.put)(Object(p.n)(!1));const r=new h.MessageTransport(window,i.contentWindow,"*"),s=new b.IframeStorage.Server(r),c=Object.keys(u);for(const o of c)s.handle(o,(e=>{const t=v++,i=Object(p.k)(o,e,t),r=Object(a.future)();return C.set(t,r),n.dispatch(i),r}));const l=new b.UiClient(r);yield Object(o.call)([l,"selectAssetsTab"],"AssetsPack"),yield Object(o.call)([l,"toggleComponent"],"inspector::Scene",!1),yield function*(e){const{request:t}=yield Object(o.race)({request:Object(o.take)(p.d),timeout:Object(o.delay)(e,!0)});if(t){let t=0;for(;t<e;){const n=Date.now();yield Object(o.race)([Object(o.take)(p.d),Object(o.delay)(e,!0)]),t=Date.now()-n}}}(3e3),yield Object(o.put)(Object(p.n)(!0));const m=yield Object(o.select)(d.b);if(m){(yield Object(o.call)(T,m))||(yield Object(o.put)(Object(j.nb)()))}})),yield Object(o.takeEvery)(p.d,(function*(e){const{method:t,params:n,nonce:a}=e.payload;try{const e=u[t],i=yield e(n);yield Object(o.put)(Object(p.l)(t,i,a))}catch(i){yield Object(o.put)(Object(p.j)(t,n,i.message,a))}})),yield Object(o.takeEvery)(p.e,(function(e){const{result:t,nonce:n}=e.payload,o=C.get(n);o&&o.resolve(t)})),yield Object(o.takeEvery)(p.c,(function(e){const{error:t,nonce:n}=e.payload,o=C.get(n);o&&o.reject(new Error(t))})),yield Object(o.takeEvery)(g.s,(function*(){(yield Object(o.select)(O.b))&&(yield Object(o.put)(Object(j.nb)()))}));const u={read_file:function*(t){const{path:n}=t,a=yield S();if(x.has(n))return x.get(n);if(n in a.mappings){const t=a.mappings[n],i=yield Object(o.call)(fetch,Object(y.c)(t),{headers:_.a}),r=yield Object(o.call)([i,"arrayBuffer"]);return e.from(r)}let i="";switch(n){case"scene.json":{const e=yield Object(o.select)(d.b);i=JSON.stringify({scene:{parcels:Object(f.b)(e.layout).map((e=>`${e.x},${e.y}`)),base:"0,0"}});break}case"assets/scene/main.composite":i=JSON.stringify(a.composite);break;case"inspector-preferences.json":i=JSON.stringify({version:1,data:{freeCameraInvertRotation:!1,autosaveEnabled:!0}})}return e.from(i,"utf-8")},exists:function*(e){const{path:t}=e;switch(t){case"scene.json":case"assets/scene/main.composite":case"inspector-preferences.json":return!0;default:{const e=yield S();return t in e.mappings}}},list:function*(e){const{path:t}=e,n=yield S(),o=[...Object.keys(n.mappings),"assets/scene/main.composite"],a=[];for(const i of o){if(!i.startsWith(t))continue;const e=i.substring(t.length),n=e.indexOf("/");if(-1!==n){const t=e.substring(0,n);a.find((e=>e.name===t))||a.push({name:t,isDirectory:!0})}else a.push({name:e,isDirectory:!1})}return a},write_file:function*(e){const{path:n,content:a}=e;switch(n){case"scene.json":case"inspector-preferences.json":break;case"assets/scene/main.composite":{const e={...yield S(),composite:JSON.parse((new TextDecoder).decode(a))};yield Object(o.put)(Object(g.M)(e));break}case"main.crdt":{const e=yield Object(o.select)(d.b);x.set("main.crdt",a);const n=new Blob([a]);t.uploadCrdt(n,e.id);break}default:{const e=yield Object(o.call)(i.hashV1,a);if(!(yield Object(o.call)(A,n,e))){x.set(n,a);const e=new Blob([a]);t.uploadFile(e)}const r=yield S(),s={...r,mappings:{...r.mappings,[n]:e}};yield Object(o.put)(Object(g.M)(s));break}}},delete:function*(e){const{path:t}=e,n=yield S();if(t in n.mappings){const e={...n.mappings};delete e[t];const a={...n,mappings:e};yield Object(o.put)(Object(g.M)(a))}x.delete(t)}}}function*E(e){const t=(yield Object(o.select)(d.c))[e];if(t)return t;const n=yield Object(o.select)(d.e);Object(m.isLoadingType)(n,l.p)||(yield Object(o.put)(Object(l.U)()));const a=yield Object(o.race)({success:Object(o.take)(l.q),failure:Object(o.take)(l.o)});if(a.success){return yield E(e)}if(a.failure)throw console.error(a.failure),new Error("Could not load project")}function*S(){if(!(yield Object(o.select)(d.b)))throw new Error("Invalid project");const e=yield Object(o.select)(u.g);if(!e)throw new Error("Invalid scene");if(!e.sdk7)throw new Error("Scene must be SDK7");return e.sdk7}function*A(e,t){if(x.has(e)){const n=x.get(e);if(t===(yield Object(o.call)(i.hashV1,n)))return!0}try{return(yield Object(o.call)(fetch,`${Object(y.c)(t)}/exists`,{headers:_.a})).ok}catch(n){return!1}}function*T(e){try{if(!e.thumbnail)return!1;return(yield Object(o.call)(fetch,e.thumbnail,{headers:_.a})).ok}catch(t){return!1}}}).call(this,n(63).Buffer)},1912:function(e,t,n){e.exports={info:"InfoIcon_info__2Pt0u"}},1914:function(e){e.exports=JSON.parse('{"v":"5.5.9","fr":30,"ip":0,"op":128,"w":128,"h":128,"nm":"DCL_Logo","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Circle contornos","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[-90]},{"t":127,"s":[270]}],"ix":10},"p":{"a":0,"k":[144,144,0],"ix":2},"a":{"a":0,"k":[139.727,139.728,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-71.646],[71.647,0],[0,71.646],[-71.646,0]],"o":[[0,71.646],[-71.646,0],[0,-71.646],[71.647,0]],"v":[[129.728,0],[-0.001,129.728],[-129.727,0],[-0.001,-129.728]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,0.176470592618,0.333333343267,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[139.728,139.728],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Grupo 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.636],"y":[0.987]},"o":{"x":[1],"y":[0.032]},"t":37,"s":[0]},{"t":127,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.787],"y":[0.951]},"o":{"x":[1],"y":[0]},"t":0,"s":[0]},{"t":61,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Recortar trazados 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Small Sun 2 contornos","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.286],"y":[0]},"t":28,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":36,"s":[100]},{"i":{"x":[0.161],"y":[1]},"o":{"x":[0.124],"y":[0.199]},"t":74,"s":[100]},{"t":94,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.253],"y":[1]},"o":{"x":[0.288],"y":[0]},"t":18,"s":[-39]},{"i":{"x":[0.253],"y":[1]},"o":{"x":[0.261],"y":[0]},"t":47,"s":[0]},{"i":{"x":[0.923],"y":[1]},"o":{"x":[0.704],"y":[0]},"t":66,"s":[0]},{"t":100,"s":[129.934]}],"ix":10},"p":{"a":0,"k":[107.966,190.466,0],"ix":2},"a":{"a":0,"k":[18.466,149.466,0],"ix":1,"x":"var $bm_rt;\\n$bm_rt = transform.anchorPoint;"},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[8.951,0],[0,-8.951],[-8.951,0],[0,8.951]],"o":[[-8.951,0],[0,8.951],[8.951,0],[0,-8.951]],"v":[[0,-16.216],[-16.216,0],[0,16.216],[16.216,0]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[16.466,16.466],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Grupo 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Capa de formas 3","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[141.496,137.723,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[206.953,206.953],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Trazado el\xedptico 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[2.504,6.277],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[124.368,124.368],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Elipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Big M contornos","tt":1,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.601]},"o":{"x":[0.544],"y":[-0.011]},"t":18,"s":[0]},{"i":{"x":[0.838],"y":[1]},"o":{"x":[0.167],"y":[26.122]},"t":47,"s":[100]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[-0.467]},"t":66,"s":[100]},{"t":100,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.252,"y":1},"o":{"x":0.788,"y":0},"t":18,"s":[97.525,243.179,0],"to":[0,-17,0],"ti":[0,17,0]},{"t":47,"s":[97.525,141.179,0]}],"ix":2},"a":{"a":0,"k":[74.646,50.098,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[8.694,-34.67],[68.091,36.594],[74.397,29.021],[8.694,-49.848],[-74.396,49.848],[8.694,49.848]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[74.646,50.098],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Grupo 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Capa de formas 5","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[141.496,137.723,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[206.953,206.953],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Trazado el\xedptico 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[2.504,6.277],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[124.368,124.368],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Elipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Big Sun 2 contornos","tt":1,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":17,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":36,"s":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":66,"s":[100]},{"t":96,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0],"y":[1]},"o":{"x":[0.098],"y":[0]},"t":7,"s":[-91]},{"i":{"x":[0],"y":[1]},"o":{"x":[0],"y":[0]},"t":41,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.886],"y":[0]},"t":66,"s":[0]},{"t":96,"s":[75]}],"ix":10},"p":{"a":0,"k":[194.682,249.682,0],"ix":2},"a":{"a":0,"k":[39.682,183.682,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[17.902,0],[0,-17.903],[-17.902,0],[0,17.902]],"o":[[-17.902,0],[0,17.902],[17.902,0],[0,-17.903]],"v":[[0,-32.432],[-32.432,0],[0,32.432],[32.432,0]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[32.682,32.682],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Grupo 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Capa de formas 4","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[141.496,137.723,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[206.953,206.953],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Trazado el\xedptico 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[2.504,6.277],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[124.368,124.368],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Elipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Small M contornos","tt":1,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":17.25,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":35,"s":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":83,"s":[100]},{"t":94,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.366,"y":1},"o":{"x":0.628,"y":0},"t":7,"s":[188.369,265.161,0],"to":[0,-13.167,0],"ti":[0,13.167,0]},{"i":{"x":0.366,"y":0.366},"o":{"x":0.167,"y":0.167},"t":42,"s":[188.369,186.161,0],"to":[0,0,0],"ti":[0,0,0]},{"t":66,"s":[188.369,186.161,0]}],"ix":2},"a":{"a":0,"k":[59.694,35.925,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-16.443,-15.956],[-16.447,-15.961],[-22.753,-8.389],[-22.735,-8.367],[-51.339,25.946],[-51.342,25.946],[-59.444,35.675],[0.033,35.673],[0.033,-20.497],[46.795,35.671],[59.444,35.671],[-0.033,-35.675]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[59.694,35.925],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Grupo 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Line 1 contornos","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":63,"s":[100]},{"t":85,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[110.985,216.971,0],"ix":2},"a":{"a":0,"k":[77.632,5.115,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":1},"o":{"x":0.203,"y":0.093},"t":26,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-11.102,-2.657],[-18.227,-2.657],[-18.227,14.644],[-11.102,14.644]],"c":true}]},{"i":{"x":0.833,"y":1},"o":{"x":0.167,"y":0},"t":44,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[158.148,-2.657],[-18.227,-2.657],[-18.227,14.644],[158.148,14.644]],"c":true}]},{"i":{"x":0.833,"y":1},"o":{"x":0.167,"y":0},"t":59,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[158.148,-2.657],[-18.227,-2.657],[-18.227,14.644],[158.148,14.644]],"c":true}]},{"t":85,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[185.148,-2.657],[175.148,-2.657],[175.148,14.644],[185.148,14.644]],"c":true}]}],"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"M\xe1scara 1"}],"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[-2.345,-3.122],[0,0]],"o":[[0,0],[0,0],[2.061,3.333],[0,0],[0,0]],"v":[[77.383,-4.865],[-77.383,-4.865],[-77.383,-4.825],[-70.773,4.865],[77.383,4.865]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[77.632,5.115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Grupo 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"Line 2 contornos","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[144,247.782,0],"ix":2},"a":{"a":0,"k":[84.172,5.114,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":1,"k":[{"i":{"x":0.833,"y":1},"o":{"x":0.167,"y":0.075},"t":17,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-5.078,-3.917],[-14.078,-3.917],[-14.078,15.833],[-5.078,15.833]],"c":true}]},{"i":{"x":0.833,"y":1},"o":{"x":0.167,"y":0},"t":44,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[174.672,-3.917],[-14.078,-3.917],[-14.078,15.833],[174.672,15.833]],"c":true}]},{"i":{"x":0.833,"y":1},"o":{"x":0.167,"y":0},"t":69,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[174.672,-3.917],[-14.078,-3.917],[-14.078,15.833],[174.672,15.833]],"c":true}]},{"t":92,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[186.172,-3.917],[180.672,-3.917],[180.672,15.833],[186.172,15.833]],"c":true}]}],"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"M\xe1scara 1"}],"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-4.547,-2.973],[0,0],[-4.127,3.505]],"o":[[4.127,3.505],[0,0],[4.547,-2.973],[0,0]],"v":[[-83.922,-4.865],[-70.899,4.865],[70.9,4.865],[83.922,-4.865]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[84.172,5.114],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Grupo 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":128,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Precomp. 1","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[64,64,0],"ix":2},"a":{"a":0,"k":[144,144,0],"ix":1},"s":{"a":0,"k":[45,45,100],"ix":6}},"ao":0,"w":288,"h":288,"ip":0,"op":128,"st":0,"bm":0}],"markers":[]}')},1917:function(e,t,n){e.exports={container:"SceneCreationSelector_container__3O78B"}},202:function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return s}));const o=3,a=40,i=0,r=140,s=16},203:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"j",(function(){return r})),n.d(t,"g",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return p})),n.d(t,"i",(function(){return m})),n.d(t,"d",(function(){return b})),n.d(t,"f",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return y}));var o=n(83),a=n(182);function i(e){if(e)for(const t of Object.values(e.components))if(t.type===o.a.Transform){const e=t;e.data.scale||(e.data.scale={x:1,y:1,z:1})}}function r(e){const t={...e,userId:null,createdAt:new Date(e.createdAt).toISOString(),updatedAt:(new Date).toISOString()};return delete t.ownerEmail,delete t.parcels,t}function s(e,t){let n=e,o=n.version||1;const a=parseInt(Object.keys(t).slice(-1)[0],10);for(;o<a;)o++,o in t&&(n=t[o](n),n.version=o);return n}function c(e,t){let n=1,i="entity";for(const c of e)try{c.type===o.a.GLTFShape?i=Object(a.f)(c):c.type===o.a.NFTShape&&(i="nft")}catch(s){}let r=i;for(;t.has(r);)r=`${i}${++n}`;return r}function l(e){const t=new Set;for(const n in e.entities){const o=e.entities[n],a=c(o.components.map((t=>e.components[t])),t);t.add(a),o.name=a}}function d(e){e.assets||(e.assets={})}function u(e){const t=Object.values(e.components).filter((e=>e.type===o.a.Script));for(const n of t)delete n.data.src}function p(e){const t=new Set;for(const n in e.entities){const o=e.entities[n];if(/^\d/.exec(o.name)){const n=o.components.map((t=>e.components[t])),i=Object(a.h)(n,t,e.assets);t.add(i),o.name=i}}}function m(e){const t=new Set;for(const n in e.entities){const o=e.entities[n];if(null===o.name.match(/^[A-Za-z][A-Za-z\d]+$/g)){const n=o.components.map((t=>e.components[t])),i=Object(a.h)(n,t,e.assets);t.add(i),o.name=i}}}function b(e){const t=new Set;for(const n in e.entities){const o=e.entities[n],i=o.components.map((t=>e.components[t])),r=Object(a.h)(i,t,e.assets);t.add(r),o.name=r}}function h(e){delete e.userId,"undefined"===typeof e.ethAddress&&(e.ethAddress=null)}function f(e){return{sdk6:e,sdk7:null}}function y(e){return{sdk6:null,sdk7:e}}},215:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return m})),n.d(t,"h",(function(){return f})),n.d(t,"f",(function(){return y})),n.d(t,"b",(function(){return _})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return j})),n.d(t,"g",(function(){return O}));var o=n(48),a=n(42),i=n(118),r=n(857),s=n(217),c=n(251),l=n(135),d=n(853);const u=e=>e.ui.sidebar,p=e=>u(e).search,m=e=>u(e).selectedCategory,b=e=>u(e).selectedAssetPackId,h=e=>u(e).view,f=e=>u(e).scripts,y=e=>h(e)===r.a.LIST,_=Object(o.a)(b,c.a,((e,t)=>e?t[e]:null)),g=Object(o.a)(_,p,m,h,s.e,s.d,f,((e,t,n,o,a,i,s)=>{const c={};let d=Object.values(i);t?d=d.filter((e=>((e,t)=>!!e.name.toLowerCase().includes(t)||!!e.category.toLowerCase().includes(t)||!!e.tags.some((e=>e.toLowerCase().includes(t))))(e,t))):o!==r.a.LIST&&e&&(d=d.filter((t=>e.id===t.assetPackId)),n&&(d=d.filter((e=>e.category===n)))),s&&(d=d.filter((e=>!!e.script)));for(const r of d)if(r.category in c||(c[r.category]={name:r.category,assets:[],thumbnail:""}),a.includes(r.id)){const e={...r};e.isDisabled=!0,c[r.category].assets.push(e)}else c[r.category].assets.push(r);let u=Object.values(c).map((e=>{let{name:t}=e;const n=c[t].assets[0].thumbnail;return{...c[t],thumbnail:n}}));const p=Object.keys(l.d);u.sort(((e,t)=>p.indexOf(e.name)>p.indexOf(t.name)?1:-1)),n&&(u=[...u.filter((e=>e.name===n)),...u.filter((e=>e.name!==n))]);for(const r of u)r.assets.sort(((e,t)=>e.script&&!t.script?-1:!e.script&&t.script||e.name>t.name?1:-1));return u})),j=Object(o.a)(c.a,a.getAddress,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=[],o=[],a=[];for(const r of Object.values(e))Object(i.b)(r.ethAddress||"",t)?o.push(r):r.id===l.a?a.push(r):n.push(r);return[...n.sort(l.f),...o.sort(d.a),...a]})),O=Object(o.a)(b,s.g,p,g,a.isConnected,((e,t,n,o,a)=>{const i=e===l.a&&t,r=e===l.a&&a&&!n&&0===o.length;return i||r}))},217:function(e,t,n){"use strict";n.d(t,"d",(function(){return d})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return p})),n.d(t,"c",(function(){return m})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return f}));var o=n(48),a=n(184),i=n(135),r=n(83),s=n(89),c=n(170);const l=e=>e.asset,d=e=>l(e).data,u=e=>l(e).loading.length>0,p=Object(o.a)(d,(e=>{const t={};for(const n of Object.values(e))n.category===a.b&&(t[n.id]=n);return t})),m=Object(o.a)(d,(e=>{const t={};for(const n of Object.values(e))n.assetPackId===i.a&&(t[n.id]=n);return t})),b=Object(o.a)((e=>Object(s.d)(e)),d,((e,t)=>{const n=[],o=e[r.a.NFTShape],a=e[r.a.GLTFShape];for(const i in t){const e=t[i];if(Object(c.h)(e)){o.find((t=>t.data.url===e.id))&&n.push(e.id)}else if(Object(c.g)(e)){const t=a.find((t=>{const{assetId:n}=t.data;return e.id===n}));t&&n.push(e.id)}}return n})),h=(Object(o.a)(d,(e=>{const t={};for(const n in e){const o=e[n];t[o.model]=o}return t})),Object(o.a)(s.i,s.c,d,((e,t,n)=>{const o={};for(const a in t){const i=e[a],s=t[a];for(const e of s)if(e.type===r.a.Script||e.type===r.a.GLTFShape){const t=n[e.data.assetId];o[i.name]=t}}return o}))),f=Object(o.a)(s.i,s.c,d,((e,t,n)=>{const o={};for(const a in t){const i=t[a];for(const t of i)if(t.type===r.a.Script){const i=n[t.data.assetId];i&&i.actions.length>0&&(o[e[a].name]=i)}}return o}))},218:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s}));var o=n(170);function a(e){if(e.length<=o.b)return e;return`${e.substr(0,4)}...${e.substr(e.length-5,e.length)}`}function i(e){const t=/\.[0-9a-z]+$/i.exec(e);return t?t[0]:null}function r(e){return e/1024/1024}async function s(e){try{const t=await fetch(e);if(t.ok){if(e.startsWith("blob")){return(await t.blob()).size||0}{const e=t.headers.get("Content-Length");return e?parseInt(e,10):0}}}catch(t){console.error("Error retrieving file size:",t)}return 0}},223:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.OVERVIEW="overview",e.SCENES="scenes",e.LAND="land",e.COLLECTIONS="collections",e.NAMES="names",e.WORLDS="worlds",e.CURATION="curation"}(o||(o={}))},224:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"g",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return p}));var o=n(11);const a="Select asset pack",i=e=>Object(o.action)(a,{assetPackId:e}),r="Search assets",s=e=>Object(o.action)(r,{search:e}),c="Select category",l=e=>Object(o.action)(c,{category:e}),d="Set sidebar view",u="Toggle scripts",p=e=>Object(o.action)(u,{value:e})},229:function(e,t,n){"use strict";let o,a,i,r;n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return r})),function(e){e[e.CREATE=0]="CREATE",e[e.EDIT=1]="EDIT"}(o||(o={})),function(e){e[e.LOADING_FILES=0]="LOADING_FILES",e[e.CREATING_ITEMS=1]="CREATING_ITEMS"}(a||(a={})),function(e){e[e.IMPORT=0]="IMPORT",e[e.IMPORTING=1]="IMPORTING",e[e.REVIEW=2]="REVIEW",e[e.UPLOADING=3]="UPLOADING",e[e.COMPLETED=4]="COMPLETED"}(i||(i={})),function(e){e[e.ACCEPTED=0]="ACCEPTED",e[e.REJECTED=1]="REJECTED"}(r||(r={}))},2307:function(e,t){},232:function(e,t,n){"use strict";n.d(t,"i",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"l",(function(){return h})),n.d(t,"f",(function(){return f})),n.d(t,"d",(function(){return y})),n.d(t,"k",(function(){return _})),n.d(t,"j",(function(){return g})),n.d(t,"a",(function(){return j})),n.d(t,"e",(function(){return O})),n.d(t,"c",(function(){return v})),n.d(t,"q",(function(){return C})),n.d(t,"p",(function(){return x})),n.d(t,"s",(function(){return w})),n.d(t,"r",(function(){return E})),n.d(t,"o",(function(){return S})),n.d(t,"m",(function(){return A})),n.d(t,"n",(function(){return T})),n.d(t,"b",(function(){return R})),n.d(t,"h",(function(){return k}));var o=n(48),a=n(42),i=n(7),r=n(70),s=n(118),c=n(290),l=n(387),d=n(66),u=n(477);const p=e=>e.ens,m=e=>p(e).externalNames,b=e=>p(e).error,h=e=>p(e).loading,f=Object(o.a)((e=>p(e).data),(e=>Object.values(e))),y=Object(o.a)(f,a.getAddress,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.filter((e=>Object(s.b)(e.nftOwnerAddress,t)))})),_=Object(o.a)(m,(e=>Object.values(e))),g=Object(o.a)(m,a.getAddress,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.values(e).filter((e=>Object(s.b)(e.nftOwnerAddress,t)))})),j=(Object(o.a)((e=>p(e).authorizations),a.getAddress,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";for(const n in e)if(Object(s.b)(n,t))return e[n]})),Object(o.a)(f,a.getAddress,l.d,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.filter((e=>Object(s.b)(e.nftOwnerAddress,t)&&n&&e.subdomain===Object(u.e)(n)))}))),O=(e,t)=>f(e).filter((e=>e.landId===t)),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=f(e);return n.find((e=>e.subdomain===t))},C=Object(o.a)(c.getPendingTransactions,(e=>e.some((e=>d.z===e.actionType)))),x=Object(o.a)(c.getPendingTransactions,(e=>e.some((e=>d.h===e.actionType)))),w=(Object(o.a)(c.getPendingTransactions,(e=>e.some((e=>d.c===e.actionType)))),Object(o.a)(c.getPendingTransactions,(e=>e.some((e=>d.F===e.actionType))))),E=(e,t)=>Object(c.getPendingTransactions)(e).some((e=>d.C===e.actionType&&e.payload.land.id===t)),S=(e,t)=>h(e).some((e=>e.type===d.f&&e.name===t)),A=Object(o.a)(f,h,((e,t)=>e.reduce(((e,n)=>({...e,[n.subdomain]:t.some((e=>e.type===d.B&&e.payload.ens.subdomain===n.subdomain))})),{}))),T=Object(o.a)(f,c.getPendingTransactions,((e,t)=>e.reduce(((e,n)=>({...e,[n.subdomain]:t.some((e=>d.C===e.actionType&&e.payload.ens.subdomain===n.subdomain))})),{}))),R=e=>Object(r.isLoadingType)(h(e),d.f)?i.AuthorizationStepStatus.WAITING:x(e)?i.AuthorizationStepStatus.PROCESSING:b(e)?i.AuthorizationStepStatus.ERROR:i.AuthorizationStepStatus.PENDING,k=e=>{const t=b(e);return t?t.message:null}},2359:function(e,t){},239:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return s}));const o=50,a=50,i=.01,r=300,s=50},245:function(e,t,n){"use strict";n.d(t,"h",(function(){return p})),n.d(t,"e",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"k",(function(){return h})),n.d(t,"g",(function(){return f})),n.d(t,"l",(function(){return y})),n.d(t,"j",(function(){return _})),n.d(t,"b",(function(){return g})),n.d(t,"f",(function(){return j})),n.d(t,"c",(function(){return O})),n.d(t,"d",(function(){return v})),n.d(t,"i",(function(){return C}));var o=n(48),a=n(42),i=n(70),r=n(127),s=n(858),c=n(117),l=n(81),d=n(72);const u=e=>e.land,p=e=>u(e).loading,m=e=>u(e).error,b=e=>u(e).authorizations,h=e=>u(e).rentals,f=Object(o.a)(a.getAddress,(e=>u(e).data),((e,t)=>e&&e in t?t[e]:[])),y=e=>Object(i.isLoadingType)(p(e),c.j),_=(e,t)=>h(e).find((e=>e.type===t.type&&e.tokenId===t.tokenId))||null,g=Object(o.a)(s.a,(e=>{const t={};for(const n of Object.values(e))if(n.estate_id){n.estate_id in t||(t[n.estate_id]=[]),t[n.estate_id].push(Object(l.f)(n.x,n.y))}return t})),j=Object(o.a)(f,s.a,g,((e,t,n)=>{const o={};for(const a of e)if(a.type===d.a.PARCEL){o[Object(l.f)(a.x,a.y)]={color:l.e[a.role],land:a}}else{const e=n[a.id];if(e)for(const n of e){const e=t[n];e&&(o[n]={color:l.e[a.role],top:!!e.top,left:!!e.left,topLeft:!!e.topLeft,land:a})}}return o})),O=Object(o.a)((e=>Object(r.c)(e)),(e=>{const t={};for(const n of Object.values(e)){const{parcels:e}=n;for(const o of e)t[o]=n}return t})),v=Object(o.a)(j,O,((e,t)=>{const n={};for(const o of Object.keys(t)){const a=e[o];if(a){const{land:e}=a;e.id in n||(n[e.id]=[]);const i=t[o];-1===n[e.id].indexOf(i)&&n[e.id].push(i)}}return n})),C=Object(o.a)(j,(e=>{const t=Object.values(e).filter((e=>e.land.type===d.a.PARCEL&&!e.land.roles.includes(d.b.LESSOR)&&!e.land.roles.includes(d.b.TENANT))).map((e=>({x:e.land.x,y:e.land.y})));return Object.keys(e).reduce(((n,o)=>{const{land:a}=e[o],i={x:a.x,y:a.y};return n[o]=Object(l.r)(i,t),n}),{})}))},2465:function(e,t){},2467:function(e,t){},2477:function(e,t){},2479:function(e,t){},249:function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return E})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return A})),n.d(t,"g",(function(){return k})),n.d(t,"c",(function(){return D})),n.d(t,"f",(function(){return F}));var o=n(140),a=n(1317),i=n(1318),r=n(1874),s=n(1319),c=n(83),l=n(139),d=n(709),u=n(203),p=n(287),m=n(286),b=n(376);const h="https://raw.githubusercontent.com/decentraland/sdk-empty-scene-template/main",f=n(2928).default,y=n(2929).default,_=n(2930).default,g=Math.max(...Object.keys(d.a).map((e=>parseInt(e,10)))),{communications:j,policy:O,...v}=r,C=v;let x;!function(e){e.MANIFEST_FILE="builder.json",e.GAME_FILE="src/game.ts",e.SCENE_FILE="scene.json",e.PACKAGE_FILE="package.json",e.DOCKER_FILE="Dockerfile",e.DCLIGNORE_FILE=".dclignore",e.TSCONFIG_FILE="tsconfig.json",e.BUNDLED_GAME_FILE="bin/game.js",e.THUMBNAIL_FILE="scene-thumbnail.png",e.GITIGNORE_FILE=".gitignore",e.MAIN_CRDT_FIE="main.crdt",e.MAIN_COMPOSITE_FILE="assets/scene/main.composite",e.INDEX_FILE="src/index.ts",e.VSCODE_EXTENSIONS_FILE=".vscode/extensions.json",e.VSCODE_LAUNCH_FILE=".vscode/launch.json"}(x||(x={}));const w="Script",E="script";async function S(e){const{project:t,scene:i,point:r,rotation:s,thumbnail:d,author:u,isDeploy:b,isEmpty:h,world:g,onProgress:j}=e,O=await async function(e){const{scene:t,onProgress:n,isDeploy:o}=e,a={};let i={},r=0,s=0;for(const m of Object.values(t.assets))for(const e of Object.keys(m.contents)){const t=D(m.id,e),n=Object(l.c)(m.contents[e]);a[t]=n}const c=Object.keys(a).filter((e=>o?!e.endsWith(".ts"):!e.endsWith(".js")));s+=c.length,n({loaded:r,total:s});const d=c.map((e=>{const t=a[e];return fetch(t,{headers:m.a}).then((e=>e.blob())).then((t=>(r++,n({loaded:r,total:s}),{path:e,blob:t})))})),u=await Promise.all(d);i=u.reduce(((e,t)=>(e[t.path]=t.blob,e)),{});const p=Object.keys(i).filter((e=>e.endsWith(".ts")));for(const l of p){const e=l.split("/")[0];if(!e){console.warn(`Namespace not found in source file "${l}"`);continue}const t=[];for(const a of Object.keys(i))if(a.startsWith(e+"/")){const n=a.split(e+"/").pop();t.push(n)}const n=i[l];let o=await new Response(n).text();for(const a of t)o=o.replace(new RegExp(a,"g"),`${e}/${a}`);i[l]=new Blob([o],{type:"text/plain"})}return i}({scene:i,onProgress:j,isDeploy:b}),v=await async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{scene:i,project:r,rotation:s}=e,l=t&&!L(i),d=new(l?a.LightweightWriter:a.SceneWriter)(o,n(2931)),{cols:u,rows:m}=r.layout,b=new o.Entity,h=16;let f=0,g=0,j=0;switch(s){case"north":g=-90,f=u*h,j=0;break;case"east":g=0,f=0,j=0;break;case"south":g=90,f=0,j=m*h;break;case"west":g=180,f=m*h,j=u*h}const O=new o.Transform({position:new o.Vector3(f,0,j),rotation:o.Quaternion.Euler(0,g,0)});b.addComponent(O),d.addEntity("_scene",b);const v=new Map;for(const n of Object.values(i.entities))for(const e of n.components)v.set(e,n.id);const C={},S=new Map,A=new Set,T=[];for(const n of Object.values(i.components))switch(n.type){case c.a.GLTFShape:{const{assetId:e}=n.data,t=i.assets[e];C[n.id]=new o.GLTFShape(D(t.id,t.model));break}case c.a.NFTShape:{const{url:e}=n.data;C[n.id]=new o.NFTShape(e);break}case c.a.Transform:{const{position:e,rotation:t,scale:a}=n.data;C[n.id]=new o.Transform({position:new o.Vector3(e.x,e.y,e.z),rotation:new o.Quaternion(t.x,t.y,t.z,t.w),scale:new o.Vector3(a.x,a.y,a.z)});break}case c.a.Script:{const{assetId:e,values:t}=n.data,o=i.assets[e],a=o.contents[o.script];S.set(e,a);const r=v.get(n.id);A.add(r),T.push({entityId:r,assetId:e,values:t});break}default:console.warn(`Could not compile component with id "${n.id}": Unknown type "${n.type}"`)}const R=new Map;for(const n of Object.values(i.entities))try{const e=new o.Entity;e.setParent(b);const{name:t}=n;R.set(n.id,t);for(const o of n.components){const t=C[o];!t||I(o,i)||P(o,i)||e.addComponent(t)}d.addEntity(t,e)}catch(N){console.warn(N.message);continue}let k=d.emitCode();if(S.size>0)if(t){const e=n(2932).default;let t="async function executeScripts() {";const o=new Map;let a=1;t+="\n\tconst channelId = Math.random().toString(16).slice(2)",t+="\n\tconst channelBus = new MessageBus()",t+="\n",t+="\n\tconst inventory = createInventory(UICanvas, UIContainerStack, UIImage)",t+="\n\tconst options = { inventory }",t+="\n";for(const[n,i]of Array.from(S)){const e=E+a++;o.set(n,e);t+=`\n\tconst ${e} = await getScriptInstance("${n}", "${await Object(p.d)(i,x.BUNDLED_GAME_FILE)}")`}for(const[n]of Array.from(S)){t+=`\n\t${o.get(n)}.init(options)`}for(const{entityId:n,assetId:i,values:r}of T){const e=o.get(i),a=R.get(n);t+=`\n\t${e}.spawn(${a}, ${JSON.stringify(r)}, createChannel(channelId, ${a}, channelBus))`}t+="\n}\nexecuteScripts()";k="var exports = {}\n"+y.replace("'use strict'","''")+"\n"+_.replace("'use strict'","''")+"\n\n"+k+"\n\n"+e+"\n\n"+t}else{let e="";e+="import { createChannel } from '../node_modules/decentraland-builder-scripts/channel'\n",e+="import { createInventory } from '../node_modules/decentraland-builder-scripts/inventory'\n";let t=1;const n=new Map;for(const[r]of Array.from(S)){const o=w+t++;n.set(r,o),e+=`import ${o} from "../${r}/src/item"\n`}let o="\n";o+="const channelId = Math.random().toString(16).slice(2)\n",o+="const channelBus = new MessageBus()\n",o+="const inventory = createInventory(UICanvas, UIContainerStack, UIImage)\n",o+="const options = { inventory }\n";let a=1;const i=new Map;for(const[r]of Array.from(S)){const e=E+a++;i.set(r,e),o+=`\nconst ${e} = new ${n.get(r)}()`}for(const[r]of Array.from(S)){o+=`\n${i.get(r)}.init(options)`}for(const{entityId:r,assetId:s,values:c}of T){const e=i.get(s),t=R.get(r);o+=`\n${e}.spawn(${t}, ${JSON.stringify(c)}, createChannel(channelId, ${t}, channelBus))`}k=e+k+o}return k}({project:t,scene:i,rotation:s},b);return{[x.MANIFEST_FILE]:JSON.stringify(A(t,i)),[x.GAME_FILE]:v,[x.BUNDLED_GAME_FILE]:L(i)?T(v):v,[x.THUMBNAIL_FILE]:await M(d,h),...R({project:t,scene:i,point:r,rotation:s,thumbnail:x.THUMBNAIL_FILE,author:u,isEmpty:h,world:g}),[x.DOCKER_FILE]:f,[x.DCLIGNORE_FILE]:[".*","package.json","package-lock.json","yarn-lock.json","build.json","export","tsconfig.json","tslint.json","node_modules","*.ts","*.tsx","Dockerfile","dist"].join("\n"),...O}}function A(e,t){return{version:g,project:e,scene:t}}function T(e){return`// ECS\n${n(2933).default}\n// AMD\n${n(2934).default}\n// Builder generated code below\n${e}`}function R(e){const{project:t,scene:n,rotation:o,point:a,thumbnail:r,author:c,isEmpty:l,world:d}=e;return{[x.MANIFEST_FILE]:JSON.stringify({version:g,project:t,scene:Object(u.k)(n)}),[x.PACKAGE_FILE]:JSON.stringify({...i,name:t.id,dependencies:{...i.devDependencies,"decentraland-builder-scripts":"latest"}},null,2),[x.SCENE_FILE]:JSON.stringify(k(t,a,o,r,c,l,d),null,2),[x.TSCONFIG_FILE]:JSON.stringify({...s,include:s.include.concat(["./node_modules/decentraland-builder-scripts/types.d.ts"])},null,2)}}function k(e,t,n,o,a,i,r,s){const c=Object(b.c)(e.layout,t,n),l=c.reduce(((e,t)=>t.x<=e.x&&t.y<=e.y?t:e),c[0]),d={...C,display:{...C.display,title:e.title},scene:{...C.scene,parcels:c.map(N),base:N(l)},source:{version:1,origin:"builder",projectId:e.id,point:t,rotation:n,layout:e.layout}};return o&&(d.display.navmapThumbnail=o),a&&(d.contact.name=a),i&&(d.source.isEmpty=!0),r&&(d.worldConfiguration={name:r}),s&&(d.allowedMediaHostnames=[],d.ecs7=!0,d.main="bin/index.js",d.runtimeVersion="7"),d}function N(e){let{x:t,y:n}=e;return t+","+n}function P(e,t){const n=t.components[e];if(n&&n.type===c.a.GLTFShape){const n=Object.values(t.entities).find((t=>t.components.some((t=>t===e))));if(n){return n.components.some((e=>t.components[e].type===c.a.Script))}}return!1}function I(e,t){const n=t.components[e];return n&&n.type===c.a.Script}function L(e){return Object.values(e.components).some((e=>e.type===c.a.Script))}async function M(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)try{const n=t?{}:m.a,o=await fetch(e,{headers:n});return await o.blob()}catch(n){console.error(n.message)}return new Blob([])}function D(e,t){return`${e}/${t}`}async function F(e){let{project:t,scene:n,builderAPI:o}=e;const a={[x.DCLIGNORE_FILE]:`${h}/${x.DCLIGNORE_FILE}`,[x.PACKAGE_FILE]:`${h}/${x.PACKAGE_FILE}`,[x.TSCONFIG_FILE]:`${h}/${x.TSCONFIG_FILE}`,[x.GITIGNORE_FILE]:`${h}/${x.GITIGNORE_FILE}`,[x.VSCODE_EXTENSIONS_FILE]:`${h}/${x.VSCODE_EXTENSIONS_FILE}`,[x.VSCODE_LAUNCH_FILE]:`${h}/${x.VSCODE_LAUNCH_FILE}`,[x.INDEX_FILE]:`${h}/${x.INDEX_FILE}`,[x.THUMBNAIL_FILE]:t.thumbnail},i={...Object.keys(n.mappings).reduce(((e,t)=>(e[t]=Object(l.c)(n.mappings[t]),e)),{}),...a},r=Object.keys(i).map((async e=>async function(e,t){return fetch(t).then((e=>e.blob())).then((t=>({path:e,file:t})))}(e,i[e]))),s=(await Promise.all(r)).reduce(((e,t)=>{let{path:n,file:o}=t;return e[n]=o,e}),{}),c=await o.fetchCrdt(t.id),d=new Blob([(new TextEncoder).encode(JSON.stringify(n.composite))]),p=new Blob([(new TextEncoder).encode(JSON.stringify(k(t,{x:0,y:0},"east",x.THUMBNAIL_FILE,t.ethAddress,void 0,void 0,!0)))]),m=new Blob([(new TextEncoder).encode(JSON.stringify({version:g,project:t,scene:Object(u.l)(n)}))]);return{...s,[x.MAIN_CRDT_FIE]:c,[x.MAIN_COMPOSITE_FILE]:d,[x.SCENE_FILE]:p,[x.MANIFEST_FILE]:m}}},2504:function(e,t){},2506:function(e,t){},2507:function(e,t){},251:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"c",(function(){return m}));var o=n(48),a=n(42),i=n(135),r=n(217);const s=e=>e.assetPack,c=Object(o.a)(s,a.getAddress,((e,t)=>{const n=e.data;return n[i.a]={id:i.a,title:"Collectibles",thumbnail:"/images/nft-icon.png",ethAddress:t||null,assets:[]},n})),l=e=>s(e).error,d=e=>s(e).loading,u=e=>d(e).length>0,p=e=>s(e).progress,m=Object(o.a)(c,r.d,((e,t)=>Object.keys(e).reduce(((n,o)=>({...n,[o]:{...e[o],assets:e[o].assets.map((e=>t[e]))}})),{})))},2513:function(e,t){},252:function(e,t,n){"use strict";var o=n(2),a=n(7),i=n(74),r=(n(3473),n(0));class s extends o.PureComponent{getClassName(){const{type:e,isActive:t,isDisabled:n,onClick:o,className:a}=this.props,i=["Chip",e];return t&&i.push("active"),n&&i.push("disabled"),o&&!n&&i.push("clickeable"),a&&i.push(a),i.join(" ")}render(){const{text:e,icon:t,isActive:n,isDisabled:o,onClick:s,onIconClick:c}=this.props;if(!e&&!t)throw new Error("You need to provide at least one prop: text or icon");return Object(r.jsx)("div",{className:this.getClassName(),onClick:o?void 0:s,children:Object(r.jsxs)(a.Row,{align:"center",children:[e?Object(r.jsx)("span",{className:"text",children:e}):null,t?Object(r.jsx)(i.a,{name:t,isActive:n,onClick:o?void 0:c}):null]})})}}s.defaultProps={text:"",icon:"",type:"square",isDisabled:!1,isActive:!1,className:""};t.a=s},2526:function(e,t){},2538:function(e,t){},2541:function(e,t){},256:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return _})),n.d(t,"b",(function(){return g})),n.d(t,"h",(function(){return j})),n.d(t,"f",(function(){return O})),n.d(t,"i",(function(){return v})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return x})),n.d(t,"g",(function(){return w}));var o=n(364),a=n.n(o),i=n(1875),r=n.n(i),s=n(1053),c=n.n(s),l=n(869),d=n.n(l),u=n(1876),p=n(83),m=n(139),b=n(342),h=n(129);const f=n(2783).Importer,y="unpublished-project",_=()=>({id:"c9b17021-765c-4d9a-9966-ce93a9c323d1",name:"Bermuda Grass",thumbnail:Object(m.c)("QmexuPHcbEtQCR11dPXxKZmRjGuY4iTooPJYfST7hW71DE"),model:"FloorBaseGrass_01/FloorBaseGrass_01.glb",script:null,tags:["ground"],category:"ground",contents:{"FloorBaseGrass_01/FloorBaseGrass_01.glb":"QmSyvWnb5nKCaGHw9oHLSkwywvS5NYpj6vgb8L121kWveS","FloorBaseGrass_01/Floor_Grass01.png.png":"QmT1WfQPMBVhgwyxV5SfcfWivZ6hqMCT74nxdKXwyZBiXb","FloorBaseGrass_01/thumbnail.png":"QmexuPHcbEtQCR11dPXxKZmRjGuY4iTooPJYfST7hW71DE"},assetPackId:"e6fa9601-3e47-4dff-9a84-e8e017add15a",metrics:{triangles:0,materials:0,meshes:0,bodies:0,entities:0,textures:0},parameters:[],actions:[]});async function g(e){const t=new f(new u.MemoryDatastore,{onlyHash:!0});return new Promise(((n,o)=>{d()(d.a.values(e),d.a.asyncMap(((e,t)=>{t(null,{path:e.path,content:e.content})})),t,d.a.onEnd((()=>t.flush(((e,t)=>{e&&o(e),n(new r.a(t).toBaseEncodedString())})))))}))}function j(t,n){return new Promise(((o,a)=>{if("string"===typeof n){const a=e.from(n);o({path:t,content:a,size:e.byteLength(a)})}else n instanceof Blob?c()(n,((n,i)=>{n&&a(n),o({path:t,content:i,size:e.byteLength(i)})})):a(new Error("Unable to create ContentFile: content must be a string or a Blob"))}))}function O(e,t){if(e&&t){const n=+new Date(e.updatedAt);return+new Date(t.timestamp)>n?h.a.PUBLISHED:h.a.NEEDS_SYNC}return h.a.UNPUBLISHED}function v(e){return 0===e.length||e.some((e=>e===h.a.UNPUBLISHED))?h.a.UNPUBLISHED:e.some((e=>e===h.a.NEEDS_SYNC))?h.a.NEEDS_SYNC:h.a.PUBLISHED}function C(e,t){return t.find((t=>O(e,t)===h.a.NEEDS_SYNC))||t[0]}const x=e=>{const t=a.a.v4(),n={id:e,title:"Empty",description:"",thumbnail:"",isPublic:!1,sceneId:t,ethAddress:null,layout:{rows:1,cols:1},createdAt:(new Date).toISOString(),updatedAt:(new Date).toISOString(),isTemplate:!1,video:null,templateStatus:null},o=_();return[n,{id:t,entities:{"42d414e0-5d9f-40a0-884a-e0cbac9d7e5c":{id:"42d414e0-5d9f-40a0-884a-e0cbac9d7e5c",components:["25783992-5e2f-4879-b734-eda41c0cc4c0","49c32fc6-d7f7-4dba-bc55-7a89b898594a"],disableGizmos:!0,name:"entity"}},components:{"25783992-5e2f-4879-b734-eda41c0cc4c0":{id:"25783992-5e2f-4879-b734-eda41c0cc4c0",type:p.a.GLTFShape,data:{assetId:"c9b17021-765c-4d9a-9966-ce93a9c323d1"}},"49c32fc6-d7f7-4dba-bc55-7a89b898594a":{id:"49c32fc6-d7f7-4dba-bc55-7a89b898594a",type:p.a.Transform,data:{position:{x:8,y:0,z:8},rotation:{x:0,y:0,z:0,w:1},scale:{x:1,y:1,z:1}}}},assets:{[o.id]:o},metrics:{triangles:32,materials:1,meshes:1,bodies:1,entities:1,textures:0},limits:{triangles:1e4,materials:20,meshes:200,bodies:300,entities:200,textures:10},ground:{assetId:"c9b17021-765c-4d9a-9966-ce93a9c323d1",componentId:"25783992-5e2f-4879-b734-eda41c0cc4c0"}}]};function w(e,t){if(!e||!e.display||!e.display.navmapThumbnail)return null;let n=e.display.navmapThumbnail;if(!function(e){try{new URL(e)}catch(t){return!1}return!0}(n)&&t){const e=t.find((e=>e.file===n));e&&(n=Object(b.b)(e.hash))}return n}}).call(this,n(63).Buffer)},258:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"h",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"k",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"l",(function(){return u})),n.d(t,"c",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"n",(function(){return h})),n.d(t,"f",(function(){return f})),n.d(t,"m",(function(){return y}));var o=n(11);const a="Open Inspector",i=()=>Object(o.action)(a),r="Connect Inspector",s=e=>Object(o.action)(r,{iframeId:e}),c="[Request] RPC",l=(e,t,n)=>Object(o.action)(c,{method:e,params:t,nonce:n}),d="[Success] RPC",u=(e,t,n)=>Object(o.action)(d,{method:e,result:t,nonce:n}),p="[Failure] RPC",m=(e,t,n,a)=>Object(o.action)(p,{method:e,params:t,error:n,nonce:a}),b="Toggle Screenshot",h=e=>Object(o.action)(b,{enabled:e}),f="Set Inspector Reloading",y=e=>Object(o.action)(f,{value:e})},260:function(e,t,n){e.exports={metrics:"ItemProperties_metrics__3Y1KW",itemMetric:"ItemProperties_itemMetric__3Wbq_",triangles:"ItemProperties_triangles__4rf46",materials:"ItemProperties_materials__1mYy2",textures:"ItemProperties_textures__aMWgV",sequences:"ItemProperties_sequences__vJ7Hh",sound:"ItemProperties_sound__1ujkv",fps:"ItemProperties_fps__FYVIq",frames:"ItemProperties_frames__2le-q",duration:"ItemProperties_duration__10uxR"}},263:function(e,t,n){"use strict";var o=n(2),a=n(35),i=n.n(a),r=n(40),s=n(1045),c=n(987),l=(n(3414),n(0));class d extends o.PureComponent{render(){const{className:e,item:t,src:n,badgeSize:o,hasBadge:a,hasRarityBadge:d,hasRarityBackground:u}=this.props;return Object(l.jsxs)("div",{className:i()("ItemImage","is-image","image-wrapper",e),style:u?Object(r.r)(t.rarity):{backgroundColor:"var(--dark-two)"},children:[Object(l.jsx)("img",{className:"item-image",src:n||Object(r.K)(t),alt:t.name}),Object(l.jsxs)("div",{className:"badges-container",children:[d&&t.rarity&&t.data.category?Object(l.jsx)(s.a,{className:"rarity-badge",category:t.data.category,rarity:t.rarity}):null,a?Object(l.jsx)(c.a,{item:t,size:o}):null]})]})}}d.defaultProps={className:"",hasBadge:!1,hasRarityBackground:!0};t.a=d},27:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"m",(function(){return i})),n.d(t,"s",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"k",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"p",(function(){return u})),n.d(t,"o",(function(){return p})),n.d(t,"q",(function(){return m})),n.d(t,"x",(function(){return b})),n.d(t,"w",(function(){return h})),n.d(t,"b",(function(){return f})),n.d(t,"t",(function(){return y})),n.d(t,"v",(function(){return _})),n.d(t,"g",(function(){return g})),n.d(t,"r",(function(){return j})),n.d(t,"j",(function(){return O})),n.d(t,"h",(function(){return v})),n.d(t,"n",(function(){return C})),n.d(t,"f",(function(){return x})),n.d(t,"u",(function(){return w})),n.d(t,"i",(function(){return E})),n.d(t,"e",(function(){return S}));var o=n(31);let a,i,r,s,c;n.d(t,"l",(function(){return o.Rarity})),function(e){e[e.V0=0]="V0",e[e.V1=1]="V1"}(a||(a={})),function(e){e.WEARABLE="wearable",e.EMOTE="emote"}(i||(i={})),function(e){e.UNPUBLISHED="unpublished",e.UNDER_REVIEW="under_review",e.LOADING="loading",e.UNSYNCED="unsynced",e.SYNCED="synced"}(r||(r={})),function(e){e.SIMPLE="simple",e.LOOP="loop"}(s||(s={})),function(e){e.WEARABLE="w",e.SMART_WEARABLE="sw",e.EMOTE="e"}(c||(c={}));let l,d;!function(e){e.BOTH="both",e.MALE="male",e.FEMALE="female"}(l||(l={})),function(e){e.MALE="BaseMale",e.FEMALE="BaseFemale"}(d||(d={}));const u={[o.Rarity.UNIQUE]:"#fde97b",[o.Rarity.MYTHIC]:"#ffc3f0",[o.Rarity.LEGENDARY]:"#d4a2fb",[o.Rarity.EPIC]:"#96befb",[o.Rarity.RARE]:"#5dfdbe",[o.Rarity.UNCOMMON]:"#ffb3a0",[o.Rarity.COMMON]:"#f6f7fa"},p={[o.Rarity.UNIQUE]:"#cd8f1b",[o.Rarity.MYTHIC]:"#e347b8",[o.Rarity.LEGENDARY]:"#7a2fb3",[o.Rarity.EPIC]:"#2062af",[o.Rarity.RARE]:"#00a566",[o.Rarity.UNCOMMON]:"#f1643b",[o.Rarity.COMMON]:"#888d8f"},m={[o.Rarity.UNIQUE]:1,[o.Rarity.MYTHIC]:10,[o.Rarity.LEGENDARY]:100,[o.Rarity.EPIC]:1e3,[o.Rarity.RARE]:5e3,[o.Rarity.UNCOMMON]:1e4,[o.Rarity.COMMON]:1e5},b=e=>e.type===i.EMOTE,h=e=>void 0!==e.loop;let f;!function(e){e.MANA="MANA",e.USD="USD"}(f||(f={}));const y="thumbnail.png",_="video.mp4",g="image.png",j="scene.json",O=32,v=64,C=[".zip",".gltf",".glb"],x=[".zip",".png"],w=[".mp4"],E=[".zip",".gltf",".glb",".png"],S=[o.WearableCategory.EYEBROWS,o.WearableCategory.EYES,o.WearableCategory.MOUTH]},271:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"k",(function(){return s})),n.d(t,"l",(function(){return c})),n.d(t,"j",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"g",(function(){return h}));var o=n(11);const a="[Request] Load pools",i="[Success] Load pools",r="[Failure] Load pools",s=e=>Object(o.action)(a,e),c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(o.action)(i,{pools:e,total:t})},l=e=>Object(o.action)(r,{error:e}),d="[Request] Like pool",u="[Success] Like pool",p="[Failure] Like pool",m=(e,t)=>Object(o.action)(d,{pool:e,like:t}),b=()=>Object(o.action)(u,{}),h=e=>Object(o.action)(p,{error:e})},272:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.NONE="NONE",e.CLEAR_DEPLOYMENT="CLEAR_DEPLOYMENT",e.DEPLOY_TO_LAND="DEPLOY_TO_LAND",e.DEPLOY_TO_POOL="DEPLOY_TO_POOL",e.DEPLOY_TO_WORLD="DEPLOY_TO_WORLD"}(o||(o={}))},276:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e[e.NONE=0]="NONE",e[e.PUBLISH=1]="PUBLISH",e[e.PUSH_CHANGES=2]="PUSH_CHANGES",e[e.PUBLISH_AND_PUSH_CHANGES=3]="PUBLISH_AND_PUSH_CHANGES"}(o||(o={}))},280:function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return u}));var o=n(48);var a=n(54);const i=e=>(e=>e.sync)(e).project,r=e=>(e=>e.localIds)(i(e)),s=e=>(e=>e.loadingIds)(i(e)),c=Object(o.a)(s,a.g,((e,t)=>new Set([...e].filter((e=>e in t))))),l=Object(o.a)(a.b,c,((e,t)=>!!e&&t.has(e.id))),d=Object(o.a)((e=>(e=>e.errorsById)(i(e))),(e=>Object.keys(e))),u=Object(o.a)(d,a.g,((e,t)=>new Set([...e].filter((e=>e in t)))))},284:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"k",(function(){return s})),n.d(t,"l",(function(){return c})),n.d(t,"j",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"g",(function(){return h}));var o=n(11);const a="[Request] Fetch Item Curations",i="[Success] Fetch Item Curations",r="[Failure] Fetch Item Curations",s=(e,t)=>Object(o.action)(a,{collectionId:e,items:t}),c=(e,t)=>Object(o.action)(i,{collectionId:e,itemCurations:t}),l=e=>Object(o.action)(r,{error:e}),d="[Request] Fetch Item Curation",u="[Success] Fetch Item Curation",p="[Failure] Fetch Item Curation",m=(e,t)=>Object(o.action)(d,{collectionId:e,itemId:t}),b=(e,t)=>Object(o.action)(u,{collectionId:e,itemCuration:t}),h=e=>Object(o.action)(p,{error:e})},286:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o={pragma:"no-cache","cache-control":"no-cache"}},287:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return m}));var o=n(302),a=n(139),i=n(286),r=n(1053),s=n.n(r);const c=[".dclignore","Dockerfile","builder.json","src/game.ts"];async function l(e){const t={};for(const n in e){const a=e[n],i=await a.arrayBuffer();t[n]=await Object(o.hashV1)(new Uint8Array(i))}return t}async function d(e){const t=await p("",e);return Object(o.hashV1)(t.content)}async function u(e){const t=[];for(const o of Object.keys(e)){const n=e[o]instanceof Blob&&0===e[o].size;c.includes(o)||n||t.push(p(o,e[o]))}const n=await Promise.all(t);return new Map(n.map((e=>{let{name:t,content:n}=e;return[t,n]})))}function p(t,n){return new Promise(((o,a)=>{if("string"===typeof n){const a=e.from(n);o({name:t,content:a})}else n instanceof Blob?s()(n,((e,n)=>{e&&a(e),o({name:t,content:n})})):a(new Error("Unable to create ContentFile: content must be a string or a Blob"))}))}async function m(e,t){const n=await fetch(Object(a.c)(e),{headers:i.a}).then((e=>e.blob())),r=await p(t,n);return Object(o.hashV1)(r.content)}}).call(this,n(63).Buffer)},2878:function(e,t){},290:function(e,t,n){"use strict";n.d(t,"getTransactions",(function(){return c})),n.d(t,"getPendingTransactions",(function(){return l}));var o=n(48),a=n(490),i=n(124),r=n(42),s=n(118);const c=Object(o.a)(a.getData,r.getAddress,((e,t)=>e.filter((e=>!!t&&Object(s.b)(e.from,t))))),l=Object(o.a)(c,(e=>e.filter((e=>Object(i.isPending)(e.status)))))},2932:function(e,t,n){"use strict";n.r(t),t.default="// This helper is used to load external scripts within a deployed Builder scene.\nconst scriptInstances = new Map()\n\nconst contentServer = initContext()\n\nfunction initContext() {\n  return new Promise(resolve => {\n    define('node_modules/decentraland-builder-scripts/channel', [], () => {\n      /* */\n    })\n    define('node_modules/decentraland-builder-scripts/inventory', [], () => {\n      /* */\n    })\n\n    define('__bootstrap', ['require', 'exports', '@decentraland/EnvironmentAPI'], (require, exports, EnvironmentAPI) => {\n      // Object.defineProperty(exports, '__esModule', { value: true })\n      EnvironmentAPI.getBootstrapData().then(({ baseUrl }) => {\n        resolve(baseUrl)\n      })\n    })\n  })\n}\n\nfunction getScriptInstance(assetId, src) {\n  const instance = scriptInstances.get(assetId)\n  return instance\n    ? Promise.resolve(instance)\n    : contentServer.then(baseUrl =>\n        fetch(baseUrl + src)\n          .then(resp => resp.text())\n          .then(code => eval(code))\n          .then(() => new Promise(resolve => define(assetId + '/load', [assetId + '/item'], item => resolve(item.default))))\n          .then(Item => {\n            const instance = new Item()\n            scriptInstances.set(assetId, instance)\n            return instance\n          })\n          .catch(() => {\n            console.warn(`Failed to load script \"${assetId}\"`)\n            return {\n              init() {},\n              spawn() {}\n            }\n          })\n      )\n}\n"},2933:function(e,t,n){"use strict";n.r(t),t.default="!(function (t, e) {\n  for (var n in e) t[n] = e[n]\n})(\n  this,\n  (function (t) {\n    var e = {}\n    function n(o) {\n      if (e[o]) return e[o].exports\n      var r = (e[o] = { i: o, l: !1, exports: {} })\n      return t[o].call(r.exports, r, r.exports, n), (r.l = !0), r.exports\n    }\n    return (\n      (n.m = t),\n      (n.c = e),\n      (n.d = function (t, e, o) {\n        n.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: o })\n      }),\n      (n.r = function (t) {\n        'undefined' != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: 'Module' }),\n          Object.defineProperty(t, '__esModule', { value: !0 })\n      }),\n      (n.t = function (t, e) {\n        if ((1 & e && (t = n(t)), 8 & e)) return t\n        if (4 & e && 'object' == typeof t && t && t.__esModule) return t\n        var o = Object.create(null)\n        if ((n.r(o), Object.defineProperty(o, 'default', { enumerable: !0, value: t }), 2 & e && 'string' != typeof t))\n          for (var r in t)\n            n.d(\n              o,\n              r,\n              function (e) {\n                return t[e]\n              }.bind(null, r)\n            )\n        return o\n      }),\n      (n.n = function (t) {\n        var e =\n          t && t.__esModule\n            ? function () {\n                return t.default\n              }\n            : function () {\n                return t\n              }\n        return n.d(e, 'a', e), e\n      }),\n      (n.o = function (t, e) {\n        return Object.prototype.hasOwnProperty.call(t, e)\n      }),\n      (n.p = ''),\n      n((n.s = 30))\n    )\n  })([\n    function (t, e, n) {\n      'use strict'\n      var o =\n          (this && this.__assign) ||\n          function () {\n            return (o =\n              Object.assign ||\n              function (t) {\n                for (var e, n = 1, o = arguments.length; n < o; n++)\n                  for (var r in (e = arguments[n])) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r])\n                return t\n              }).apply(this, arguments)\n          },\n        r =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          },\n        i =\n          (this && this.__read) ||\n          function (t, e) {\n            var n = 'function' == typeof Symbol && t[Symbol.iterator]\n            if (!n) return t\n            var o,\n              r,\n              i = n.call(t),\n              s = []\n            try {\n              for (; (void 0 === e || e-- > 0) && !(o = i.next()).done; ) s.push(o.value)\n            } catch (t) {\n              r = { error: t }\n            } finally {\n              try {\n                o && !o.done && (n = i.return) && n.call(i)\n              } finally {\n                if (r) throw r.error\n              }\n            }\n            return s\n          },\n        s =\n          (this && this.__spread) ||\n          function () {\n            for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(i(arguments[e]))\n            return t\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.isDisposableComponent =\n          e.ObservableComponent =\n          e.getComponentId =\n          e.getComponentClassId =\n          e.getComponentName =\n          e.DisposableComponent =\n          e.Component =\n          e.DisposableComponentUpdated =\n          e.DisposableComponentRemoved =\n          e.DisposableComponentCreated =\n            void 0)\n      var a = n(1),\n        p = n(8),\n        u = n(18),\n        l = (function () {\n          function t(t, e, n) {\n            ;(this.componentId = t), (this.componentName = e), (this.classId = n)\n          }\n          return (t = r([p.EventConstructor()], t))\n        })()\n      e.DisposableComponentCreated = l\n      var c = (function () {\n        function t(t) {\n          this.componentId = t\n        }\n        return (t = r([p.EventConstructor()], t))\n      })()\n      e.DisposableComponentRemoved = c\n      var h = (function () {\n        function t(t, e) {\n          ;(this.componentId = t), (this.component = e)\n        }\n        return (t = r([p.EventConstructor()], t))\n      })()\n      function d(t, e) {\n        return function (n) {\n          if (n.isComponent) throw new TypeError('You cannot extend a component. Trying to extend ' + n.originalClassName + ' with: ' + t)\n          if ('number' != typeof e || isNaN(e)) throw new Error('classId: ' + e + ' is an invalid integer')\n          var o = n,\n            r = function () {\n              if (!d.engine) throw new Error('You need to set a DisposableComponent.engine before creating disposable components')\n              var n = Array.prototype.slice.call(arguments),\n                r = new (o.bind.apply(o, s([void 0], n)))(),\n                i = a.newId('C')\n              return (\n                Object.defineProperty(r, '__name__symbol_', { enumerable: !1, writable: !1, configurable: !1, value: t }),\n                Object.defineProperty(r, '__component__id_', { enumerable: !1, writable: !1, configurable: !1, value: i }),\n                void 0 !== e &&\n                  Object.defineProperty(r, '__classId__symbol_', { enumerable: !1, writable: !1, configurable: !1, value: e }),\n                d.engine && d.engine.registerComponent(r),\n                r\n              )\n            }\n          return (\n            void 0 !== e && (r.__classId__symbol_ = e),\n            (r.__name__symbol_ = t),\n            (r.isComponent = !0),\n            (r.isDisposableComponent = !0),\n            (r.originalClassName = t),\n            ((r.prototype = n.prototype).constructor = n),\n            r\n          )\n        }\n      }\n      function f(t) {\n        if (!t) throw new TypeError(t + ' is not a component.')\n        if (t.__component__id_) return t.__component__id_\n        throw new TypeError(t + ' is not a registered disposable component.')\n      }\n      ;(e.DisposableComponentUpdated = h),\n        (e.Component = function (t, e) {\n          return function (n) {\n            if (n.isComponent) throw new TypeError('You cannot extend a component. Trying to extend ' + n.originalClassName + ' with: ' + t)\n            var o = n,\n              r = function () {\n                var n = Array.prototype.slice.call(arguments),\n                  r = new (o.bind.apply(o, s([void 0], n)))()\n                return (\n                  Object.defineProperty(r, '__name__symbol_', { enumerable: !1, writable: !1, configurable: !1, value: t }),\n                  void 0 !== e &&\n                    Object.defineProperty(r, '__classId__symbol_', { enumerable: !1, writable: !1, configurable: !1, value: e }),\n                  r\n                )\n              }\n            return (\n              void 0 !== e && (r.__classId__symbol_ = e),\n              (r.__name__symbol_ = t),\n              (r.isComponent = !0),\n              (r.originalClassName = t),\n              ((r.prototype = n.prototype).constructor = n),\n              r\n            )\n          }\n        }),\n        (e.DisposableComponent = d),\n        (function (t) {\n          t.engine = null\n        })((d = e.DisposableComponent || (e.DisposableComponent = {}))),\n        (e.getComponentName = function (t) {\n          if (!t) throw new TypeError(t + ' is not a component.')\n          if (t.__name__symbol_) return t.__name__symbol_\n          throw new TypeError(t + ' is not a registered component.')\n        }),\n        (e.getComponentClassId = function (t) {\n          if (!t) throw new TypeError(t + ' is not a component.')\n          if (t.__classId__symbol_) return t.__classId__symbol_\n          if (!t.__name__symbol_) throw new TypeError(t + ' is not a registered component.')\n          return null\n        }),\n        (e.getComponentId = f)\n      var y = (function () {\n        function t() {\n          ;(this.dirty = !1), (this.data = {}), (this.subscriptions = [])\n        }\n        return (\n          (t.component = function (t, e) {\n            if (delete t[e]) {\n              var n = e + '_' + Math.random()\n              ;(t[n] = void 0),\n                Object.defineProperty(t, n, o(o({}, Object.getOwnPropertyDescriptor(t, n)), { enumerable: !1 })),\n                Object.defineProperty(t, e.toString(), {\n                  get: function () {\n                    return this[n]\n                  },\n                  set: function (t) {\n                    var o = this[n]\n                    if (((this.data[e] = t ? f(t) : null), (this[n] = t), t !== o)) {\n                      this.dirty = !0\n                      for (var r = 0; r < this.subscriptions.length; r++) this.subscriptions[r](e, t, o)\n                    }\n                  },\n                  enumerable: !0,\n                })\n            }\n          }),\n          (t.field = function (t, e) {\n            delete t[e] &&\n              Object.defineProperty(t, e.toString(), {\n                get: function () {\n                  return this.data[e]\n                },\n                set: function (t) {\n                  var n = this.data[e]\n                  if (((this.data[e] = t), t !== n)) {\n                    this.dirty = !0\n                    for (var o = 0; o < this.subscriptions.length; o++) this.subscriptions[o](e, t, n)\n                  }\n                },\n                enumerable: !0,\n              })\n          }),\n          (t.uiValue = function (t, e) {\n            delete t[e] &&\n              Object.defineProperty(t, e.toString(), {\n                get: function () {\n                  return this.data[e].toString()\n                },\n                set: function (t) {\n                  var n = this.data[e],\n                    o = new u.UIValue(t)\n                  if (((this.data[e] = o), o !== n)) {\n                    this.dirty = !0\n                    for (var r = 0; r < this.subscriptions.length; r++) this.subscriptions[r](e, o, n)\n                  }\n                },\n                enumerable: !0,\n              })\n          }),\n          (t.readonly = function (t, e) {\n            delete t[e] &&\n              Object.defineProperty(t, e.toString(), {\n                get: function () {\n                  if (e in this.data == !1) throw new Error('The field ' + e + ' is uninitialized')\n                  return this.data[e]\n                },\n                set: function (t) {\n                  if (e in this.data) throw new Error('The field ' + e + ' is readonly')\n                  ;(this.data[e] = t), (this.dirty = !0)\n                },\n                enumerable: !0,\n                configurable: !1,\n              })\n          }),\n          (t.prototype.onChange = function (t) {\n            return this.subscriptions.push(t), this\n          }),\n          (t.prototype.toJSON = function () {\n            return this.data\n          }),\n          t\n        )\n      })()\n      ;(e.ObservableComponent = y),\n        (e.isDisposableComponent = function (t) {\n          return '__component__id_' in t\n        })\n    },\n    function (t, e, n) {\n      'use strict'\n      var o =\n          (this && this.__read) ||\n          function (t, e) {\n            var n = 'function' == typeof Symbol && t[Symbol.iterator]\n            if (!n) return t\n            var o,\n              r,\n              i = n.call(t),\n              s = []\n            try {\n              for (; (void 0 === e || e-- > 0) && !(o = i.next()).done; ) s.push(o.value)\n            } catch (t) {\n              r = { error: t }\n            } finally {\n              try {\n                o && !o.done && (n = i.return) && n.call(i)\n              } finally {\n                if (r) throw r.error\n              }\n            }\n            return s\n          },\n        r =\n          (this && this.__spread) ||\n          function () {\n            for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e]))\n            return t\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.openNFTDialog = e.openExternalURL = e.buildArray = e.uuid = e.newId = e.error = e.log = void 0)\n      var i = 0\n      ;(e.log = function () {\n        for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]\n        'undefined' != typeof dcl ? dcl.log.apply(dcl, r(t)) : console.log.apply(console, r(['DEBUG:'], t))\n      }),\n        (e.error = function (t, e) {\n          'undefined' != typeof dcl ? dcl.error(t, e) : console.error('ERROR:', t, e)\n        }),\n        (e.newId = function (t) {\n          if ((i++, 0 === t.length)) throw new Error('newId(type: string): type cannot be empty')\n          return t + i.toString(36)\n        }),\n        (e.uuid = function () {\n          return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (t) {\n            var e = (16 * Math.random()) | 0\n            return ('x' === t ? e : (3 & e) | 8).toString(16)\n          })\n        }),\n        (e.buildArray = function (t, e) {\n          for (var n = [], o = 0; o < t; ++o) n.push(e())\n          return n\n        }),\n        (e.openExternalURL = function (t) {\n          'undefined' != typeof dcl\n            ? typeof t.startsWith === 'function' && t.startsWith('https:')\n              ? dcl.openExternalUrl(t)\n              : console.error('ERROR: url is invalid, it must start with https:')\n            : console.error('ERROR: openExternalURL dcl is undefined')\n        }),\n        (e.openNFTDialog = function (t, e) {\n          if ((void 0 === e && (e = null), 'undefined' != typeof dcl)) {\n            var n = t.match(/ethereum:\\/\\/(.+)\\/(.+)/)\n            if (!n || n.length < 3) return\n            dcl.openNFTDialog(n[1], n[2], e)\n          } else console.error('ERROR: openNFTDialog dcl is undefined')\n        })\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.RAD2DEG = e.DEG2RAD = e.Epsilon = e.ToLinearSpace = e.ToGammaSpace = e.Space = e.Orientation = void 0),\n        (function (t) {\n          ;(t[(t.CW = 0)] = 'CW'), (t[(t.CCW = 1)] = 'CCW')\n        })(e.Orientation || (e.Orientation = {})),\n        (function (t) {\n          ;(t[(t.LOCAL = 0)] = 'LOCAL'), (t[(t.WORLD = 1)] = 'WORLD'), (t[(t.BONE = 2)] = 'BONE')\n        })(e.Space || (e.Space = {})),\n        (e.ToGammaSpace = 1 / 2.2),\n        (e.ToLinearSpace = 2.2),\n        (e.Epsilon = 1e-6),\n        (e.DEG2RAD = Math.PI / 180),\n        (e.RAD2DEG = 360 / (2 * Math.PI))\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Vector3 = void 0)\n      var o = n(9),\n        r = n(2),\n        i = n(10),\n        s = n(6),\n        a = (function () {\n          function t(t, e, n) {\n            void 0 === t && (t = 0), void 0 === e && (e = 0), void 0 === n && (n = 0), (this.x = t), (this.y = e), (this.z = n)\n          }\n          return (\n            Object.defineProperty(t.prototype, 'isNonUniform', {\n              get: function () {\n                var t = Math.abs(this.x),\n                  e = Math.abs(this.y)\n                if (t !== e) return !0\n                var n = Math.abs(this.z)\n                return t !== n || e !== n\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.Add = function (e, n) {\n              return new t(e.x, e.y, e.z).addInPlace(n)\n            }),\n            (t.GetClipFactor = function (e, n, o, r) {\n              var i = t.Dot(e, o) - r\n              return i / (i - (t.Dot(n, o) - r))\n            }),\n            (t.GetAngleBetweenVectors = function (e, n, r) {\n              var i = e.normalizeToRef(o.MathTmp.Vector3[1]),\n                s = n.normalizeToRef(o.MathTmp.Vector3[2]),\n                a = t.Dot(i, s),\n                p = o.MathTmp.Vector3[3]\n              return t.CrossToRef(i, s, p), t.Dot(p, r) > 0 ? Math.acos(a) : -Math.acos(a)\n            }),\n            (t.FromArray = function (e, n) {\n              return void 0 === n && (n = 0), new t(e[n], e[n + 1], e[n + 2])\n            }),\n            (t.FromFloatArray = function (e, n) {\n              return t.FromArray(e, n)\n            }),\n            (t.FromArrayToRef = function (t, e, n) {\n              ;(n.x = t[e]), (n.y = t[e + 1]), (n.z = t[e + 2])\n            }),\n            (t.FromFloatArrayToRef = function (e, n, o) {\n              return t.FromArrayToRef(e, n, o)\n            }),\n            (t.FromFloatsToRef = function (t, e, n, o) {\n              o.copyFromFloats(t, e, n)\n            }),\n            (t.Zero = function () {\n              return new t(0, 0, 0)\n            }),\n            (t.One = function () {\n              return new t(1, 1, 1)\n            }),\n            (t.Up = function () {\n              return new t(0, 1, 0)\n            }),\n            (t.Down = function () {\n              return new t(0, -1, 0)\n            }),\n            (t.Forward = function () {\n              return new t(0, 0, 1)\n            }),\n            (t.Backward = function () {\n              return new t(0, 0, -1)\n            }),\n            (t.Right = function () {\n              return new t(1, 0, 0)\n            }),\n            (t.Left = function () {\n              return new t(-1, 0, 0)\n            }),\n            (t.TransformCoordinates = function (e, n) {\n              var o = t.Zero()\n              return t.TransformCoordinatesToRef(e, n, o), o\n            }),\n            (t.TransformCoordinatesToRef = function (e, n, o) {\n              return t.TransformCoordinatesFromFloatsToRef(e.x, e.y, e.z, n, o)\n            }),\n            (t.TransformCoordinatesFromFloatsToRef = function (t, e, n, o, r) {\n              var i = o.m,\n                s = t * i[0] + e * i[4] + n * i[8] + i[12],\n                a = t * i[1] + e * i[5] + n * i[9] + i[13],\n                p = t * i[2] + e * i[6] + n * i[10] + i[14],\n                u = 1 / (t * i[3] + e * i[7] + n * i[11] + i[15])\n              ;(r.x = s * u), (r.y = a * u), (r.z = p * u)\n            }),\n            (t.TransformNormal = function (e, n) {\n              var o = t.Zero()\n              return t.TransformNormalToRef(e, n, o), o\n            }),\n            (t.TransformNormalToRef = function (t, e, n) {\n              this.TransformNormalFromFloatsToRef(t.x, t.y, t.z, e, n)\n            }),\n            (t.TransformNormalFromFloatsToRef = function (t, e, n, o, r) {\n              var i = o.m\n              ;(r.x = t * i[0] + e * i[4] + n * i[8]), (r.y = t * i[1] + e * i[5] + n * i[9]), (r.z = t * i[2] + e * i[6] + n * i[10])\n            }),\n            (t.CatmullRom = function (e, n, o, r, i) {\n              var s = i * i,\n                a = i * s\n              return new t(\n                0.5 * (2 * n.x + (-e.x + o.x) * i + (2 * e.x - 5 * n.x + 4 * o.x - r.x) * s + (-e.x + 3 * n.x - 3 * o.x + r.x) * a),\n                0.5 * (2 * n.y + (-e.y + o.y) * i + (2 * e.y - 5 * n.y + 4 * o.y - r.y) * s + (-e.y + 3 * n.y - 3 * o.y + r.y) * a),\n                0.5 * (2 * n.z + (-e.z + o.z) * i + (2 * e.z - 5 * n.z + 4 * o.z - r.z) * s + (-e.z + 3 * n.z - 3 * o.z + r.z) * a)\n              )\n            }),\n            (t.Clamp = function (e, n, o) {\n              var r = new t()\n              return t.ClampToRef(e, n, o, r), r\n            }),\n            (t.ClampToRef = function (t, e, n, o) {\n              var r = t.x\n              r = (r = r > n.x ? n.x : r) < e.x ? e.x : r\n              var i = t.y\n              i = (i = i > n.y ? n.y : i) < e.y ? e.y : i\n              var s = t.z\n              ;(s = (s = s > n.z ? n.z : s) < e.z ? e.z : s), o.copyFromFloats(r, i, s)\n            }),\n            (t.Hermite = function (e, n, o, r, i) {\n              var s = i * i,\n                a = i * s,\n                p = 2 * a - 3 * s + 1,\n                u = -2 * a + 3 * s,\n                l = a - 2 * s + i,\n                c = a - s\n              return new t(\n                e.x * p + o.x * u + n.x * l + r.x * c,\n                e.y * p + o.y * u + n.y * l + r.y * c,\n                e.z * p + o.z * u + n.z * l + r.z * c\n              )\n            }),\n            (t.Lerp = function (e, n, o) {\n              var r = new t(0, 0, 0)\n              return t.LerpToRef(e, n, o, r), r\n            }),\n            (t.LerpToRef = function (t, e, n, o) {\n              ;(o.x = t.x + (e.x - t.x) * n), (o.y = t.y + (e.y - t.y) * n), (o.z = t.z + (e.z - t.z) * n)\n            }),\n            (t.Dot = function (t, e) {\n              return t.x * e.x + t.y * e.y + t.z * e.z\n            }),\n            (t.Cross = function (e, n) {\n              var o = t.Zero()\n              return t.CrossToRef(e, n, o), o\n            }),\n            (t.CrossToRef = function (t, e, n) {\n              var o = t.y * e.z - t.z * e.y,\n                r = t.z * e.x - t.x * e.z,\n                i = t.x * e.y - t.y * e.x\n              n.copyFromFloats(o, r, i)\n            }),\n            (t.Normalize = function (e) {\n              var n = t.Zero()\n              return t.NormalizeToRef(e, n), n\n            }),\n            (t.NormalizeToRef = function (t, e) {\n              t.normalizeToRef(e)\n            }),\n            (t.Minimize = function (e, n) {\n              var o = new t(e.x, e.y, e.z)\n              return o.minimizeInPlace(n), o\n            }),\n            (t.Maximize = function (e, n) {\n              var o = new t(e.x, e.y, e.z)\n              return o.maximizeInPlace(n), o\n            }),\n            (t.Distance = function (e, n) {\n              return Math.sqrt(t.DistanceSquared(e, n))\n            }),\n            (t.DistanceSquared = function (t, e) {\n              var n = t.x - e.x,\n                o = t.y - e.y,\n                r = t.z - e.z\n              return n * n + o * o + r * r\n            }),\n            (t.Center = function (e, n) {\n              var o = t.Add(e, n)\n              return o.scaleInPlace(0.5), o\n            }),\n            (t.RotationFromAxis = function (e, n, o) {\n              var r = t.Zero()\n              return t.RotationFromAxisToRef(e, n, o, r), r\n            }),\n            (t.RotationFromAxisToRef = function (t, e, n, r) {\n              var s = o.MathTmp.Quaternion[0]\n              i.Quaternion.RotationQuaternionFromAxisToRef(t, e, n, s), r.copyFrom(s.eulerAngles)\n            }),\n            (t.prototype.toString = function () {\n              return '(' + this.x + ', ' + this.y + ', ' + this.z + ')'\n            }),\n            (t.prototype.getClassName = function () {\n              return 'Vector3'\n            }),\n            (t.prototype.getHashCode = function () {\n              var t = this.x || 0\n              return (t = (397 * (t = (397 * t) ^ (this.y || 0))) ^ (this.z || 0))\n            }),\n            (t.prototype.asArray = function () {\n              var t = []\n              return this.toArray(t, 0), t\n            }),\n            (t.prototype.toArray = function (t, e) {\n              return void 0 === e && (e = 0), (t[e] = this.x), (t[e + 1] = this.y), (t[e + 2] = this.z), this\n            }),\n            (t.prototype.toQuaternion = function () {\n              return i.Quaternion.Identity.setEuler(this.y, this.x, this.z)\n            }),\n            (t.prototype.addInPlace = function (t) {\n              return this.addInPlaceFromFloats(t.x, t.y, t.z)\n            }),\n            (t.prototype.addInPlaceFromFloats = function (t, e, n) {\n              return (this.x += t), (this.y += e), (this.z += n), this\n            }),\n            (t.prototype.add = function (e) {\n              return new t(this.x + e.x, this.y + e.y, this.z + e.z)\n            }),\n            (t.prototype.addToRef = function (t, e) {\n              return e.copyFromFloats(this.x + t.x, this.y + t.y, this.z + t.z)\n            }),\n            (t.prototype.subtractInPlace = function (t) {\n              return (this.x -= t.x), (this.y -= t.y), (this.z -= t.z), this\n            }),\n            (t.prototype.subtract = function (e) {\n              return new t(this.x - e.x, this.y - e.y, this.z - e.z)\n            }),\n            (t.prototype.subtractToRef = function (t, e) {\n              return this.subtractFromFloatsToRef(t.x, t.y, t.z, e)\n            }),\n            (t.prototype.subtractFromFloats = function (e, n, o) {\n              return new t(this.x - e, this.y - n, this.z - o)\n            }),\n            (t.prototype.subtractFromFloatsToRef = function (t, e, n, o) {\n              return o.copyFromFloats(this.x - t, this.y - e, this.z - n)\n            }),\n            (t.prototype.applyMatrix4 = function (t) {\n              this.applyMatrix4ToRef(t, this)\n            }),\n            (t.prototype.applyMatrix4ToRef = function (t, e) {\n              var n = this.x,\n                o = this.y,\n                r = this.z,\n                i = t.m,\n                s = 1 / (i[3] * n + i[7] * o + i[11] * r + i[15])\n              return (\n                (e.x = (i[0] * n + i[4] * o + i[8] * r + i[12]) * s),\n                (e.y = (i[1] * n + i[5] * o + i[9] * r + i[13]) * s),\n                (e.z = (i[2] * n + i[6] * o + i[10] * r + i[14]) * s),\n                e\n              )\n            }),\n            (t.prototype.rotate = function (t) {\n              return this.rotateToRef(t, this)\n            }),\n            (t.prototype.rotateToRef = function (t, e) {\n              var n = this.x,\n                o = this.y,\n                r = this.z,\n                i = t.x,\n                s = t.y,\n                a = t.z,\n                p = t.w,\n                u = p * n + s * r - a * o,\n                l = p * o + a * n - i * r,\n                c = p * r + i * o - s * n,\n                h = -i * n - s * o - a * r\n              return (\n                (e.x = u * p + h * -i + l * -a - c * -s),\n                (e.y = l * p + h * -s + c * -i - u * -a),\n                (e.z = c * p + h * -a + u * -s - l * -i),\n                e\n              )\n            }),\n            (t.prototype.negate = function () {\n              return new t(-this.x, -this.y, -this.z)\n            }),\n            (t.prototype.scaleInPlace = function (t) {\n              return (this.x *= t), (this.y *= t), (this.z *= t), this\n            }),\n            (t.prototype.scale = function (e) {\n              return new t(this.x * e, this.y * e, this.z * e)\n            }),\n            (t.prototype.scaleToRef = function (t, e) {\n              return e.copyFromFloats(this.x * t, this.y * t, this.z * t)\n            }),\n            (t.prototype.scaleAndAddToRef = function (t, e) {\n              return e.addInPlaceFromFloats(this.x * t, this.y * t, this.z * t)\n            }),\n            (t.prototype.equals = function (t) {\n              return t && this.x === t.x && this.y === t.y && this.z === t.z\n            }),\n            (t.prototype.equalsWithEpsilon = function (t, e) {\n              return (\n                void 0 === e && (e = r.Epsilon),\n                t &&\n                  s.Scalar.WithinEpsilon(this.x, t.x, e) &&\n                  s.Scalar.WithinEpsilon(this.y, t.y, e) &&\n                  s.Scalar.WithinEpsilon(this.z, t.z, e)\n              )\n            }),\n            (t.prototype.equalsToFloats = function (t, e, n) {\n              return this.x === t && this.y === e && this.z === n\n            }),\n            (t.prototype.multiplyInPlace = function (t) {\n              return (this.x *= t.x), (this.y *= t.y), (this.z *= t.z), this\n            }),\n            (t.prototype.multiply = function (t) {\n              return this.multiplyByFloats(t.x, t.y, t.z)\n            }),\n            (t.prototype.multiplyToRef = function (t, e) {\n              return e.copyFromFloats(this.x * t.x, this.y * t.y, this.z * t.z)\n            }),\n            (t.prototype.multiplyByFloats = function (e, n, o) {\n              return new t(this.x * e, this.y * n, this.z * o)\n            }),\n            (t.prototype.divide = function (e) {\n              return new t(this.x / e.x, this.y / e.y, this.z / e.z)\n            }),\n            (t.prototype.divideToRef = function (t, e) {\n              return e.copyFromFloats(this.x / t.x, this.y / t.y, this.z / t.z)\n            }),\n            (t.prototype.divideInPlace = function (t) {\n              return this.divideToRef(t, this)\n            }),\n            (t.prototype.minimizeInPlace = function (t) {\n              return this.minimizeInPlaceFromFloats(t.x, t.y, t.z)\n            }),\n            (t.prototype.maximizeInPlace = function (t) {\n              return this.maximizeInPlaceFromFloats(t.x, t.y, t.z)\n            }),\n            (t.prototype.minimizeInPlaceFromFloats = function (t, e, n) {\n              return t < this.x && (this.x = t), e < this.y && (this.y = e), n < this.z && (this.z = n), this\n            }),\n            (t.prototype.maximizeInPlaceFromFloats = function (t, e, n) {\n              return t > this.x && (this.x = t), e > this.y && (this.y = e), n > this.z && (this.z = n), this\n            }),\n            (t.prototype.floor = function () {\n              return new t(Math.floor(this.x), Math.floor(this.y), Math.floor(this.z))\n            }),\n            (t.prototype.fract = function () {\n              return new t(this.x - Math.floor(this.x), this.y - Math.floor(this.y), this.z - Math.floor(this.z))\n            }),\n            (t.prototype.length = function () {\n              return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z)\n            }),\n            (t.prototype.lengthSquared = function () {\n              return this.x * this.x + this.y * this.y + this.z * this.z\n            }),\n            (t.prototype.normalize = function () {\n              return this.normalizeFromLength(this.length())\n            }),\n            (t.prototype.normalizeFromLength = function (t) {\n              return 0 === t || 1 === t ? this : this.scaleInPlace(1 / t)\n            }),\n            (t.prototype.normalizeToNew = function () {\n              var e = new t(0, 0, 0)\n              return this.normalizeToRef(e), e\n            }),\n            (t.prototype.normalizeToRef = function (t) {\n              var e = this.length()\n              return 0 === e || 1 === e ? t.copyFromFloats(this.x, this.y, this.z) : this.scaleToRef(1 / e, t)\n            }),\n            (t.prototype.clone = function () {\n              return new t(this.x, this.y, this.z)\n            }),\n            (t.prototype.copyFrom = function (t) {\n              return this.copyFromFloats(t.x, t.y, t.z)\n            }),\n            (t.prototype.copyFromFloats = function (t, e, n) {\n              return (this.x = t), (this.y = e), (this.z = n), this\n            }),\n            (t.prototype.set = function (t, e, n) {\n              return this.copyFromFloats(t, e, n)\n            }),\n            (t.prototype.setAll = function (t) {\n              return (this.x = this.y = this.z = t), this\n            }),\n            t\n          )\n        })()\n      e.Vector3 = a\n    },\n    function (t, e, n) {\n      'use strict'\n      var o,\n        r =\n          (this && this.__extends) ||\n          ((o = function (t, e) {\n            return (o =\n              Object.setPrototypeOf ||\n              ({ __proto__: [] } instanceof Array &&\n                function (t, e) {\n                  t.__proto__ = e\n                }) ||\n              function (t, e) {\n                for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])\n              })(t, e)\n          }),\n          function (t, e) {\n            function n() {\n              this.constructor = t\n            }\n            o(t, e), (t.prototype = null === e ? Object.create(e) : ((n.prototype = e.prototype), new n()))\n          }),\n        i =\n          (this && this.__assign) ||\n          function () {\n            return (i =\n              Object.assign ||\n              function (t) {\n                for (var e, n = 1, o = arguments.length; n < o; n++)\n                  for (var r in (e = arguments[n])) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r])\n                return t\n              }).apply(this, arguments)\n          },\n        s =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.VideoTexture =\n          e.VideoClip =\n          e.SmartItem =\n          e.OnAnimationEnd =\n          e.OnPointerLock =\n          e.OnPointerUUIDEvent =\n          e.OnUUIDEvent =\n          e.BasicMaterial =\n          e.Material =\n          e.TransparencyMode =\n          e.TextShape =\n          e.Fonts =\n          e.Font =\n          e.OBJShape =\n          e.Animator =\n          e.Texture =\n          e.NFTShape =\n          e.PictureFrameStyle =\n          e.GLTFShape =\n          e.CylinderShape =\n          e.ConeShape =\n          e.PlaneShape =\n          e.CircleShape =\n          e.SphereShape =\n          e.BoxShape =\n          e.Shape =\n          e.Billboard =\n          e.Transform =\n          e.AvatarModifierArea =\n          e.AvatarModifiers =\n          e.CLASS_ID =\n            void 0)\n      var a,\n        p = n(0),\n        u = n(5),\n        l = n(26),\n        c = n(1),\n        h = n(16)\n      !(function (t) {\n        ;(t[(t.TRANSFORM = 1)] = 'TRANSFORM'),\n          (t[(t.UUID_CALLBACK = 8)] = 'UUID_CALLBACK'),\n          (t[(t.BOX_SHAPE = 16)] = 'BOX_SHAPE'),\n          (t[(t.SPHERE_SHAPE = 17)] = 'SPHERE_SHAPE'),\n          (t[(t.PLANE_SHAPE = 18)] = 'PLANE_SHAPE'),\n          (t[(t.CONE_SHAPE = 19)] = 'CONE_SHAPE'),\n          (t[(t.CYLINDER_SHAPE = 20)] = 'CYLINDER_SHAPE'),\n          (t[(t.TEXT_SHAPE = 21)] = 'TEXT_SHAPE'),\n          (t[(t.NFT_SHAPE = 22)] = 'NFT_SHAPE'),\n          (t[(t.UI_WORLD_SPACE_SHAPE = 23)] = 'UI_WORLD_SPACE_SHAPE'),\n          (t[(t.UI_SCREEN_SPACE_SHAPE = 24)] = 'UI_SCREEN_SPACE_SHAPE'),\n          (t[(t.UI_CONTAINER_RECT = 25)] = 'UI_CONTAINER_RECT'),\n          (t[(t.UI_CONTAINER_STACK = 26)] = 'UI_CONTAINER_STACK'),\n          (t[(t.UI_TEXT_SHAPE = 27)] = 'UI_TEXT_SHAPE'),\n          (t[(t.UI_INPUT_TEXT_SHAPE = 28)] = 'UI_INPUT_TEXT_SHAPE'),\n          (t[(t.UI_IMAGE_SHAPE = 29)] = 'UI_IMAGE_SHAPE'),\n          (t[(t.UI_SLIDER_SHAPE = 30)] = 'UI_SLIDER_SHAPE'),\n          (t[(t.CIRCLE_SHAPE = 31)] = 'CIRCLE_SHAPE'),\n          (t[(t.BILLBOARD = 32)] = 'BILLBOARD'),\n          (t[(t.ANIMATION = 33)] = 'ANIMATION'),\n          (t[(t.FONT = 34)] = 'FONT'),\n          (t[(t.UI_FULLSCREEN_SHAPE = 40)] = 'UI_FULLSCREEN_SHAPE'),\n          (t[(t.UI_BUTTON_SHAPE = 41)] = 'UI_BUTTON_SHAPE'),\n          (t[(t.GLTF_SHAPE = 54)] = 'GLTF_SHAPE'),\n          (t[(t.OBJ_SHAPE = 55)] = 'OBJ_SHAPE'),\n          (t[(t.AVATAR_SHAPE = 56)] = 'AVATAR_SHAPE'),\n          (t[(t.BASIC_MATERIAL = 64)] = 'BASIC_MATERIAL'),\n          (t[(t.PBR_MATERIAL = 65)] = 'PBR_MATERIAL'),\n          (t[(t.HIGHLIGHT_ENTITY = 66)] = 'HIGHLIGHT_ENTITY'),\n          (t[(t.SOUND = 67)] = 'SOUND'),\n          (t[(t.TEXTURE = 68)] = 'TEXTURE'),\n          (t[(t.VIDEO_CLIP = 70)] = 'VIDEO_CLIP'),\n          (t[(t.VIDEO_TEXTURE = 71)] = 'VIDEO_TEXTURE'),\n          (t[(t.AUDIO_CLIP = 200)] = 'AUDIO_CLIP'),\n          (t[(t.AUDIO_SOURCE = 201)] = 'AUDIO_SOURCE'),\n          (t[(t.AUDIO_STREAM = 202)] = 'AUDIO_STREAM'),\n          (t[(t.GIZMOS = 203)] = 'GIZMOS'),\n          (t[(t.SMART_ITEM = 204)] = 'SMART_ITEM'),\n          (t[(t.AVATAR_MODIFIER_AREA = 205)] = 'AVATAR_MODIFIER_AREA')\n      })((a = e.CLASS_ID || (e.CLASS_ID = {}))),\n        (function (t) {\n          ;(t.HIDE_AVATARS = 'HIDE_AVATARS'), (t.DISABLE_PASSPORTS = 'DISABLE_PASSPORTS')\n        })(e.AvatarModifiers || (e.AvatarModifiers = {}))\n      var d = (function (t) {\n        function e(e) {\n          var n = t.call(this) || this\n          return (n.area = e.area), (n.modifiers = e.modifiers), n\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.field], e.prototype, 'area', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'modifiers', void 0),\n          (e = s([p.Component('engine.avatarModifierArea', a.AVATAR_MODIFIER_AREA)], e))\n        )\n      })(p.ObservableComponent)\n      e.AvatarModifierArea = d\n      var f = (function (t) {\n        function e(e) {\n          void 0 === e && (e = {})\n          var n = t.call(this) || this\n          return (\n            (n.position = e.position || u.Vector3.Zero()),\n            (n.rotation = e.rotation || u.Quaternion.Identity),\n            (n.scale = e.scale || new u.Vector3(1, 1, 1)),\n            n\n          )\n        }\n        return (\n          r(e, t),\n          Object.defineProperty(e.prototype, 'eulerAngles', {\n            get: function () {\n              return this.rotation.eulerAngles\n            },\n            enumerable: !1,\n            configurable: !0,\n          }),\n          (e.prototype.lookAt = function (t, e) {\n            void 0 === e && (e = u.MathTmp.staticUp)\n            var n = new u.Matrix()\n            return u.Matrix.LookAtLHToRef(this.position, t, e, n), n.invert(), u.Quaternion.FromRotationMatrixToRef(n, this.rotation), this\n          }),\n          (e.prototype.rotate = function (t, e) {\n            return this.rotation.multiplyInPlace(this.rotation.angleAxis(e, t)), this\n          }),\n          (e.prototype.translate = function (t) {\n            return this.position.addInPlace(t), this\n          }),\n          s([p.ObservableComponent.field], e.prototype, 'position', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'rotation', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'scale', void 0),\n          (e = s([p.Component('engine.transform', a.TRANSFORM)], e))\n        )\n      })(p.ObservableComponent)\n      e.Transform = f\n      var y = (function (t) {\n        function e(e, n, o) {\n          void 0 === e && (e = !0), void 0 === n && (n = !0), void 0 === o && (o = !0)\n          var r = t.call(this) || this\n          return (r.x = !0), (r.y = !0), (r.z = !0), (r.x = e), (r.y = n), (r.z = o), r\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.field], e.prototype, 'x', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'y', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'z', void 0),\n          (e = s([p.Component('engine.billboard', a.BILLBOARD)], e))\n        )\n      })(p.ObservableComponent)\n      e.Billboard = y\n      var v = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.withCollisions = !0), (e.isPointerBlocker = !0), (e.visible = !0), e\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.field], e.prototype, 'withCollisions', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'isPointerBlocker', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'visible', void 0),\n          e\n        )\n      })(p.ObservableComponent)\n      e.Shape = v\n      var m = (function (t) {\n        function e() {\n          return (null !== t && t.apply(this, arguments)) || this\n        }\n        return r(e, t), (e = s([p.DisposableComponent('engine.shape', a.BOX_SHAPE)], e))\n      })(v)\n      e.BoxShape = m\n      var b = (function (t) {\n        function e() {\n          return (null !== t && t.apply(this, arguments)) || this\n        }\n        return r(e, t), (e = s([p.DisposableComponent('engine.shape', a.SPHERE_SHAPE)], e))\n      })(v)\n      e.SphereShape = b\n      var g = (function (t) {\n        function e() {\n          return (null !== t && t.apply(this, arguments)) || this\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.field], e.prototype, 'segments', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'arc', void 0),\n          (e = s([p.DisposableComponent('engine.shape', a.CIRCLE_SHAPE)], e))\n        )\n      })(v)\n      e.CircleShape = g\n      var _ = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.width = 1), (e.height = 1), e\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.field], e.prototype, 'width', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'height', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'uvs', void 0),\n          (e = s([p.DisposableComponent('engine.shape', a.PLANE_SHAPE)], e))\n        )\n      })(v)\n      e.PlaneShape = _\n      var C = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (\n            (e.radiusTop = 0),\n            (e.radiusBottom = 1),\n            (e.segmentsHeight = 1),\n            (e.segmentsRadial = 36),\n            (e.openEnded = !1),\n            (e.radius = null),\n            (e.arc = 360),\n            e\n          )\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.field], e.prototype, 'radiusTop', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'radiusBottom', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'segmentsHeight', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'segmentsRadial', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'openEnded', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'radius', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'arc', void 0),\n          (e = s([p.DisposableComponent('engine.shape', a.CONE_SHAPE)], e))\n        )\n      })(v)\n      e.ConeShape = C\n      var O = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (\n            (e.radiusTop = 1),\n            (e.radiusBottom = 1),\n            (e.segmentsHeight = 1),\n            (e.segmentsRadial = 36),\n            (e.openEnded = !1),\n            (e.radius = null),\n            (e.arc = 360),\n            e\n          )\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.field], e.prototype, 'radiusTop', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'radiusBottom', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'segmentsHeight', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'segmentsRadial', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'openEnded', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'radius', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'arc', void 0),\n          (e = s([p.DisposableComponent('engine.shape', a.CYLINDER_SHAPE)], e))\n        )\n      })(v)\n      e.CylinderShape = O\n      var x,\n        w = (function (t) {\n          function e(e) {\n            var n = t.call(this) || this\n            return (n.src = e), n\n          }\n          return r(e, t), s([v.readonly], e.prototype, 'src', void 0), (e = s([p.DisposableComponent('engine.shape', a.GLTF_SHAPE)], e))\n        })(v)\n      ;(e.GLTFShape = w),\n        (function (t) {\n          ;(t[(t.Classic = 0)] = 'Classic'),\n            (t[(t.Baroque_Ornament = 1)] = 'Baroque_Ornament'),\n            (t[(t.Diamond_Ornament = 2)] = 'Diamond_Ornament'),\n            (t[(t.Minimal_Wide = 3)] = 'Minimal_Wide'),\n            (t[(t.Minimal_Grey = 4)] = 'Minimal_Grey'),\n            (t[(t.Blocky = 5)] = 'Blocky'),\n            (t[(t.Gold_Edges = 6)] = 'Gold_Edges'),\n            (t[(t.Gold_Carved = 7)] = 'Gold_Carved'),\n            (t[(t.Gold_Wide = 8)] = 'Gold_Wide'),\n            (t[(t.Gold_Rounded = 9)] = 'Gold_Rounded'),\n            (t[(t.Metal_Medium = 10)] = 'Metal_Medium'),\n            (t[(t.Metal_Wide = 11)] = 'Metal_Wide'),\n            (t[(t.Metal_Slim = 12)] = 'Metal_Slim'),\n            (t[(t.Metal_Rounded = 13)] = 'Metal_Rounded'),\n            (t[(t.Pins = 14)] = 'Pins'),\n            (t[(t.Minimal_Black = 15)] = 'Minimal_Black'),\n            (t[(t.Minimal_White = 16)] = 'Minimal_White'),\n            (t[(t.Tape = 17)] = 'Tape'),\n            (t[(t.Wood_Slim = 18)] = 'Wood_Slim'),\n            (t[(t.Wood_Wide = 19)] = 'Wood_Wide'),\n            (t[(t.Wood_Twigs = 20)] = 'Wood_Twigs'),\n            (t[(t.Canvas = 21)] = 'Canvas')\n        })((x = e.PictureFrameStyle || (e.PictureFrameStyle = {})))\n      var T = (function (t) {\n        function e(e, n) {\n          void 0 === n && (n = {})\n          var o = t.call(this) || this\n          o.src = e\n          var r = new u.Color3(0.6404918, 0.611472, 0.8584906),\n            i = x.Classic\n          return (\n            n instanceof u.Color3 ? (r = n) : null != n && (n.color && (r = n.color), n.style && (i = n.style)),\n            (o.color = r),\n            (o.style = i),\n            o\n          )\n        }\n        return (\n          r(e, t),\n          s([v.readonly], e.prototype, 'src', void 0),\n          s([v.readonly], e.prototype, 'style', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'color', void 0),\n          (e = s([p.DisposableComponent('engine.shape', a.NFT_SHAPE)], e))\n        )\n      })(v)\n      e.NFTShape = T\n      var R = (function (t) {\n        function e(e, n) {\n          var o = t.call(this) || this\n          if (((o.src = e), n))\n            for (var r in n) {\n              o[r] = n[r]\n            }\n          return o\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.readonly], e.prototype, 'src', void 0),\n          s([p.ObservableComponent.readonly], e.prototype, 'samplingMode', void 0),\n          s([p.ObservableComponent.readonly], e.prototype, 'wrap', void 0),\n          s([p.ObservableComponent.readonly], e.prototype, 'hasAlpha', void 0),\n          (e = s([p.DisposableComponent('engine.texture', a.TEXTURE)], e))\n        )\n      })(p.ObservableComponent)\n      e.Texture = R\n      var A = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.states = []), e\n        }\n        return (\n          r(e, t),\n          (e.prototype.addClip = function (t) {\n            var e = this\n            return (\n              this.states.push(t),\n              t.onChange(function () {\n                e.dirty = !0\n              }),\n              this\n            )\n          }),\n          (e.prototype.getClip = function (t) {\n            for (var e = 0; e < this.states.length; e++) {\n              var n = this.states[e]\n              if (n.clip === t) return n\n            }\n            var o = new l.AnimationState(t)\n            return this.addClip(o), o\n          }),\n          s([p.ObservableComponent.readonly], e.prototype, 'states', void 0),\n          (e = s([p.Component('engine.animator', a.ANIMATION)], e))\n        )\n      })(v)\n      e.Animator = A\n      var E = (function (t) {\n        function e(e) {\n          var n = t.call(this) || this\n          return (n.src = e), n\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.readonly], e.prototype, 'src', void 0),\n          (e = s([p.DisposableComponent('engine.shape', a.OBJ_SHAPE)], e))\n        )\n      })(v)\n      e.OBJShape = E\n      var S = (function (t) {\n        function e(e) {\n          void 0 === e && (e = '')\n          var n = t.call(this) || this\n          return (n.src = e), n\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.readonly], e.prototype, 'src', void 0),\n          (e = s([p.DisposableComponent('engine.font', a.FONT)], e))\n        )\n      })(p.ObservableComponent)\n      ;(e.Font = S),\n        (function (t) {\n          ;(t.SanFrancisco = 'builtin:SF-UI-Text-Regular SDF'),\n            (t.SanFrancisco_Heavy = 'builtin:SF-UI-Text-Heavy SDF'),\n            (t.SanFrancisco_Semibold = 'builtin:SF-UI-Text-Semibold SDF'),\n            (t.LiberationSans = 'builtin:LiberationSans SDF')\n        })(e.Fonts || (e.Fonts = {}))\n      var P,\n        I = (function (t) {\n          function e(e) {\n            var n = t.call(this) || this\n            return (\n              (n.outlineWidth = 0),\n              (n.outlineColor = new u.Color3(1, 1, 1)),\n              (n.color = new u.Color3(1, 1, 1)),\n              (n.fontSize = 10),\n              (n.fontWeight = 'normal'),\n              (n.opacity = 1),\n              (n.value = ''),\n              (n.lineSpacing = '0px'),\n              (n.lineCount = 0),\n              (n.resizeToFit = !1),\n              (n.textWrapping = !1),\n              (n.shadowBlur = 0),\n              (n.shadowOffsetX = 0),\n              (n.shadowOffsetY = 0),\n              (n.shadowColor = new u.Color3(1, 1, 1)),\n              (n.zIndex = 0),\n              (n.hTextAlign = 'center'),\n              (n.vTextAlign = 'center'),\n              (n.width = 1),\n              (n.height = 1),\n              (n.paddingTop = 0),\n              (n.paddingRight = 0),\n              (n.paddingBottom = 0),\n              (n.paddingLeft = 0),\n              (n.isPickable = !1),\n              (n.billboard = !1),\n              (n.visible = !0),\n              e && (n.value = e),\n              n\n            )\n          }\n          return (\n            r(e, t),\n            s([p.ObservableComponent.field], e.prototype, 'outlineWidth', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'outlineColor', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'color', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'fontSize', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'fontWeight', void 0),\n            s([p.ObservableComponent.component], e.prototype, 'font', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'opacity', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'value', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'lineSpacing', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'lineCount', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'resizeToFit', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'textWrapping', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'shadowBlur', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'shadowOffsetX', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'shadowOffsetY', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'shadowColor', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'zIndex', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'hTextAlign', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'vTextAlign', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'width', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'height', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'paddingTop', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'paddingRight', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'paddingBottom', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'paddingLeft', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'isPickable', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'billboard', void 0),\n            s([p.ObservableComponent.field], e.prototype, 'visible', void 0),\n            (e = s([p.Component('engine.text', a.TEXT_SHAPE)], e))\n          )\n        })(p.ObservableComponent)\n      ;(e.TextShape = I),\n        (function (t) {\n          ;(t[(t.OPAQUE = 0)] = 'OPAQUE'),\n            (t[(t.ALPHA_TEST = 1)] = 'ALPHA_TEST'),\n            (t[(t.ALPHA_BLEND = 2)] = 'ALPHA_BLEND'),\n            (t[(t.ALPHA_TEST_AND_BLEND = 3)] = 'ALPHA_TEST_AND_BLEND'),\n            (t[(t.AUTO = 4)] = 'AUTO')\n        })((P = e.TransparencyMode || (e.TransparencyMode = {})))\n      var z = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.alphaTest = 0.5), (e.castShadows = !0), (e.transparencyMode = P.AUTO), e\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.field], e.prototype, 'alphaTest', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'albedoColor', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'emissiveColor', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'metallic', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'roughness', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'ambientColor', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'reflectionColor', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'reflectivityColor', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'directIntensity', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'microSurface', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'emissiveIntensity', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'environmentIntensity', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'specularIntensity', void 0),\n          s([p.ObservableComponent.component], e.prototype, 'albedoTexture', void 0),\n          s([p.ObservableComponent.component], e.prototype, 'alphaTexture', void 0),\n          s([p.ObservableComponent.component], e.prototype, 'emissiveTexture', void 0),\n          s([p.ObservableComponent.component], e.prototype, 'bumpTexture', void 0),\n          s([p.ObservableComponent.component], e.prototype, 'refractionTexture', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'castShadows', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'transparencyMode', void 0),\n          (e = s([p.DisposableComponent('engine.material', a.PBR_MATERIAL)], e))\n        )\n      })(p.ObservableComponent)\n      e.Material = z\n      var M = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.alphaTest = 0.5), (e.castShadows = !0), e\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.component], e.prototype, 'texture', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'alphaTest', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'castShadows', void 0),\n          (e = s([p.DisposableComponent('engine.material', a.BASIC_MATERIAL)], e))\n        )\n      })(p.ObservableComponent)\n      e.BasicMaterial = M\n      var D = (function (t) {\n        function e(e) {\n          var n = t.call(this) || this\n          if (((n.uuid = c.newId('UUID')), !e || !('apply' in e) || !('call' in e))) throw new Error('Callback is not a function')\n          return (n.callback = e), n\n        }\n        return (\n          r(e, t),\n          (e.uuidEvent = function (t, n) {\n            if (delete t[n]) {\n              var o = n + '_' + Math.random()\n              ;(t[o] = void 0),\n                Object.defineProperty(t, o, i(i({}, Object.getOwnPropertyDescriptor(t, o)), { enumerable: !1 })),\n                Object.defineProperty(t, n.toString(), {\n                  get: function () {\n                    return this[o]\n                  },\n                  set: function (t) {\n                    var r = this[o]\n                    if (t) {\n                      if (!(t instanceof e)) throw new Error('value is not an OnUUIDEvent')\n                      this.data[n] = t.uuid\n                    } else this.data[n] = null\n                    if (((this[o] = t), t !== r)) {\n                      this.dirty = !0\n                      for (var i = 0; i < this.subscriptions.length; i++) this.subscriptions[i](n, t, r)\n                    }\n                  },\n                  enumerable: !0,\n                })\n            }\n          }),\n          (e.prototype.toJSON = function () {\n            return { uuid: this.uuid, type: this.type }\n          }),\n          s([p.ObservableComponent.field], e.prototype, 'callback', void 0),\n          e\n        )\n      })(p.ObservableComponent)\n      e.OnUUIDEvent = D\n      var F = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.button = h.ActionButton.ANY), (e.hoverText = 'Interact'), (e.distance = 10), (e.showFeedback = !0), e\n        }\n        return (\n          r(e, t),\n          (e.prototype.toJSON = function () {\n            return {\n              uuid: this.uuid,\n              type: this.type,\n              button: this.button,\n              hoverText: this.hoverText,\n              distance: this.distance,\n              showFeedback: this.showFeedback,\n            }\n          }),\n          s([p.ObservableComponent.field], e.prototype, 'button', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'hoverText', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'distance', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'showFeedback', void 0),\n          e\n        )\n      })(D)\n      e.OnPointerUUIDEvent = F\n      var U = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.type = 'onPointerLock'), e\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = s([p.Component('engine.onPointerLock', a.UUID_CALLBACK)], e))\n        )\n      })(D)\n      e.OnPointerLock = U\n      var L = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.type = 'onAnimationEnd'), e\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = s([p.Component('engine.onAnimationEnd', a.UUID_CALLBACK)], e))\n        )\n      })(D)\n      e.OnAnimationEnd = L\n      var N = (function (t) {\n        function e() {\n          return (null !== t && t.apply(this, arguments)) || this\n        }\n        return r(e, t), (e = s([p.Component('engine.smartItem', a.SMART_ITEM)], e))\n      })(p.ObservableComponent)\n      e.SmartItem = N\n      var V = (function (t) {\n        function e(e) {\n          var n = t.call(this) || this\n          return (n.url = e), n\n        }\n        return (\n          r(e, t),\n          s([p.ObservableComponent.readonly], e.prototype, 'url', void 0),\n          (e = s([p.DisposableComponent('engine.VideoClip', a.VIDEO_CLIP)], e))\n        )\n      })(p.ObservableComponent)\n      e.VideoClip = V\n      var j = (function (t) {\n        function e(e, n) {\n          var o = t.call(this) || this\n          if (((o.volume = 1), (o.playbackRate = 1), (o.loop = !1), (o.seek = -1), (o.playing = !1), !(e instanceof V)))\n            throw new Error('Trying to create VideoTexture(VideoClip) with an invalid VideoClip')\n          if (((o.videoClipId = p.getComponentId(e)), n))\n            for (var r in n) {\n              o[r] = n[r]\n            }\n          return o\n        }\n        return (\n          r(e, t),\n          (e.prototype.play = function () {\n            this.playing = !0\n          }),\n          (e.prototype.pause = function () {\n            this.playing = !1\n          }),\n          (e.prototype.reset = function () {\n            this.seekTime(0)\n          }),\n          (e.prototype.seekTime = function (t) {\n            ;(this.seek = t), (this.dirty = !0), (this.data.nonce = Math.random())\n          }),\n          (e.prototype.toJSON = function () {\n            if (this.seek < 0) return t.prototype.toJSON.call(this)\n            var e = JSON.parse(JSON.stringify(t.prototype.toJSON.call(this)))\n            return (this.seek = -1), e\n          }),\n          s([p.ObservableComponent.readonly], e.prototype, 'videoClipId', void 0),\n          s([p.ObservableComponent.readonly], e.prototype, 'samplingMode', void 0),\n          s([p.ObservableComponent.readonly], e.prototype, 'wrap', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'volume', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'playbackRate', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'loop', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'seek', void 0),\n          s([p.ObservableComponent.field], e.prototype, 'playing', void 0),\n          (e = s([p.DisposableComponent('engine.VideoTexture', a.VIDEO_TEXTURE)], e))\n        )\n      })(p.ObservableComponent)\n      e.VideoTexture = j\n    },\n    function (t, e, n) {\n      'use strict'\n      var o =\n          (this && this.__createBinding) ||\n          (Object.create\n            ? function (t, e, n, o) {\n                void 0 === o && (o = n),\n                  Object.defineProperty(t, o, {\n                    enumerable: !0,\n                    get: function () {\n                      return e[n]\n                    },\n                  })\n              }\n            : function (t, e, n, o) {\n                void 0 === o && (o = n), (t[o] = e[n])\n              }),\n        r =\n          (this && this.__exportStar) ||\n          function (t, e) {\n            for (var n in t) 'default' === n || Object.prototype.hasOwnProperty.call(e, n) || o(e, t, n)\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        r(n(2), e),\n        r(n(9), e),\n        r(n(22), e),\n        r(n(23), e),\n        r(n(36), e),\n        r(n(37), e),\n        r(n(38), e),\n        r(n(24), e),\n        r(n(39), e),\n        r(n(40), e),\n        r(n(11), e),\n        r(n(41), e),\n        r(n(42), e),\n        r(n(25), e),\n        r(n(10), e),\n        r(n(6), e),\n        r(n(43), e),\n        r(n(15), e),\n        r(n(3), e),\n        r(n(21), e),\n        r(n(5), e)\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Scalar = void 0)\n      var o = (function () {\n        function t() {}\n        return (\n          (t.WithinEpsilon = function (t, e, n) {\n            void 0 === n && (n = 1401298e-51)\n            var o = t - e\n            return -n <= o && o <= n\n          }),\n          (t.ToHex = function (t) {\n            var e = t.toString(16)\n            return t <= 15 ? ('0' + e).toUpperCase() : e.toUpperCase()\n          }),\n          (t.Sign = function (t) {\n            var e = +t\n            return 0 === e || isNaN(e) ? e : e > 0 ? 1 : -1\n          }),\n          (t.Clamp = function (t, e, n) {\n            return void 0 === e && (e = 0), void 0 === n && (n = 1), Math.min(n, Math.max(e, t))\n          }),\n          (t.Log2 = function (t) {\n            return Math.log(t) * Math.LOG2E\n          }),\n          (t.Repeat = function (t, e) {\n            return t - Math.floor(t / e) * e\n          }),\n          (t.Normalize = function (t, e, n) {\n            return (t - e) / (n - e)\n          }),\n          (t.Denormalize = function (t, e, n) {\n            return t * (n - e) + e\n          }),\n          (t.DeltaAngle = function (e, n) {\n            var o = t.Repeat(n - e, 360)\n            return o > 180 && (o -= 360), o\n          }),\n          (t.PingPong = function (e, n) {\n            var o = t.Repeat(e, 2 * n)\n            return n - Math.abs(o - n)\n          }),\n          (t.SmoothStep = function (e, n, o) {\n            var r = t.Clamp(o)\n            return n * (r = -2 * r * r * r + 3 * r * r) + e * (1 - r)\n          }),\n          (t.MoveTowards = function (e, n, o) {\n            return Math.abs(n - e) <= o ? n : e + t.Sign(n - e) * o\n          }),\n          (t.MoveTowardsAngle = function (e, n, o) {\n            var r = t.DeltaAngle(e, n)\n            return -o < r && r < o ? n : t.MoveTowards(e, e + r, o)\n          }),\n          (t.Lerp = function (t, e, n) {\n            return t + (e - t) * n\n          }),\n          (t.LerpAngle = function (e, n, o) {\n            var r = t.Repeat(n - e, 360)\n            return r > 180 && (r -= 360), e + r * t.Clamp(o)\n          }),\n          (t.InverseLerp = function (e, n, o) {\n            return e !== n ? t.Clamp((o - e) / (n - e)) : 0\n          }),\n          (t.Hermite = function (t, e, n, o, r) {\n            var i = r * r,\n              s = r * i\n            return t * (2 * s - 3 * i + 1) + n * (-2 * s + 3 * i) + e * (s - 2 * i + r) + o * (s - i)\n          }),\n          (t.RandomRange = function (t, e) {\n            return t === e ? t : Math.random() * (e - t) + t\n          }),\n          (t.RangeToPercent = function (t, e, n) {\n            return (t - e) / (n - e)\n          }),\n          (t.PercentToRange = function (t, e, n) {\n            return (n - e) * t + e\n          }),\n          (t.NormalizeRadians = function (e) {\n            return e - t.TwoPi * Math.floor((e + Math.PI) / t.TwoPi)\n          }),\n          (t.TwoPi = 2 * Math.PI),\n          t\n        )\n      })()\n      e.Scalar = o\n    },\n    function (t, e, n) {\n      'use strict'\n      var o =\n        (this && this.__decorate) ||\n        function (t, e, n, o) {\n          var r,\n            i = arguments.length,\n            s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n          if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n          else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n          return i > 3 && s && Object.defineProperty(e, n, s), s\n        }\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.ParentChanged = e.ComponentAdded = e.ComponentRemoved = void 0)\n      var r = n(8),\n        i = (function () {\n          function t(t, e, n) {\n            ;(this.entity = t), (this.componentName = e), (this.component = n)\n          }\n          return (t = o([r.EventConstructor()], t))\n        })()\n      e.ComponentRemoved = i\n      var s = (function () {\n        function t(t, e, n) {\n          ;(this.entity = t), (this.componentName = e), (this.classId = n)\n        }\n        return (t = o([r.EventConstructor()], t))\n      })()\n      e.ComponentAdded = s\n      var a = (function () {\n        function t(t, e) {\n          ;(this.entity = t), (this.parent = e)\n        }\n        return (t = o([r.EventConstructor()], t))\n      })()\n      e.ParentChanged = a\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.EventConstructor = e.EventManager = void 0)\n      var o = n(1),\n        r = []\n      function i(t) {\n        if (!('__event_name__' in t) || 'string' != typeof t.__event_name__) throw new Error('The EventConstructor is not registered')\n        return t.__event_name__\n      }\n      var s = (function () {\n        function t() {\n          this.listeners = {}\n        }\n        return (\n          (t.prototype.addListener = function (t, e, n) {\n            if (!t || 'function' != typeof t) throw new Error('Invalid EventConstructor')\n            var o = i(t),\n              r = this.listeners[o]\n            r || (r = this.listeners[o] = [])\n            for (var s = 0; s < r.length; s++) {\n              if (r[s].listener === e) throw new Error('The provided listener is already registered')\n            }\n            return r.push({ listener: e, fn: n }), this\n          }),\n          (t.prototype.removeListener = function (t, e) {\n            if (!e || 'function' != typeof e) throw new Error('Invalid EventConstructor')\n            var n = i(e),\n              o = this.listeners[n]\n            if (!o) return !1\n            for (var r = 0; r < o.length; r++) {\n              if (o[r].listener === t) return o.splice(r, 1), !0\n            }\n            return !1\n          }),\n          (t.prototype.fireEvent = function (t) {\n            var e = i(t.constructor),\n              n = this.listeners[e]\n            if (n)\n              for (var r = 0; r < n.length; r++)\n                try {\n                  var s = n[r]\n                  s.fn.call(s.listener, t)\n                } catch (t) {\n                  o.error(t)\n                }\n            return this\n          }),\n          t\n        )\n      })()\n      ;(e.EventManager = s),\n        (e.EventConstructor = function () {\n          var t = o.newId('EV')\n          if (-1 !== r.indexOf(t)) throw new Error('The event name ' + t + ' is already taken')\n          return (\n            r.push(t),\n            function (e) {\n              return (e.__event_name__ = t), e\n            }\n          )\n        })\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.MathTmp = void 0)\n      var o = n(1),\n        r = n(3),\n        i = n(10),\n        s = n(11)\n      e.MathTmp = {\n        Vector3: o.buildArray(6, r.Vector3.Zero),\n        Matrix: o.buildArray(2, s.Matrix.Identity),\n        Quaternion: o.buildArray(3, i.Quaternion.Zero),\n        staticUp: r.Vector3.Up(),\n        tmpMatrix: s.Matrix.Zero(),\n      }\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Quaternion = void 0)\n      var o = n(11),\n        r = n(3),\n        i = n(9),\n        s = n(2),\n        a = (function () {\n          function t(t, e, n, o) {\n            void 0 === t && (t = 0),\n              void 0 === e && (e = 0),\n              void 0 === n && (n = 0),\n              void 0 === o && (o = 1),\n              (this.x = t),\n              (this.y = e),\n              (this.z = n),\n              (this.w = o)\n          }\n          return (\n            (t.FromRotationMatrix = function (e) {\n              var n = new t()\n              return t.FromRotationMatrixToRef(e, n), n\n            }),\n            (t.FromRotationMatrixToRef = function (t, e) {\n              var n,\n                o = t.m,\n                r = o[0],\n                i = o[4],\n                s = o[8],\n                a = o[1],\n                p = o[5],\n                u = o[9],\n                l = o[2],\n                c = o[6],\n                h = o[10],\n                d = r + p + h\n              d > 0\n                ? ((n = 0.5 / Math.sqrt(d + 1)), (e.w = 0.25 / n), (e.x = (c - u) * n), (e.y = (s - l) * n), (e.z = (a - i) * n))\n                : r > p && r > h\n                ? ((n = 2 * Math.sqrt(1 + r - p - h)), (e.w = (c - u) / n), (e.x = 0.25 * n), (e.y = (i + a) / n), (e.z = (s + l) / n))\n                : p > h\n                ? ((n = 2 * Math.sqrt(1 + p - r - h)), (e.w = (s - l) / n), (e.x = (i + a) / n), (e.y = 0.25 * n), (e.z = (u + c) / n))\n                : ((n = 2 * Math.sqrt(1 + h - r - p)), (e.w = (a - i) / n), (e.x = (s + l) / n), (e.y = (u + c) / n), (e.z = 0.25 * n))\n            }),\n            (t.Dot = function (t, e) {\n              return t.x * e.x + t.y * e.y + t.z * e.z + t.w * e.w\n            }),\n            (t.AreClose = function (e, n) {\n              return t.Dot(e, n) >= 0\n            }),\n            (t.Zero = function () {\n              return new t(0, 0, 0, 0)\n            }),\n            (t.Inverse = function (e) {\n              return new t(-e.x, -e.y, -e.z, e.w)\n            }),\n            (t.IsIdentity = function (t) {\n              return t && 0 === t.x && 0 === t.y && 0 === t.z && 1 === t.w\n            }),\n            (t.RotationAxis = function (e, n) {\n              var o = n * s.DEG2RAD\n              return t.RotationAxisToRef(e, o, new t())\n            }),\n            (t.RotationAxisToRef = function (t, e, n) {\n              var o = e * s.DEG2RAD,\n                r = Math.sin(o / 2)\n              return t.normalize(), (n.w = Math.cos(o / 2)), (n.x = t.x * r), (n.y = t.y * r), (n.z = t.z * r), n\n            }),\n            (t.FromArray = function (e, n) {\n              return void 0 === n && (n = 0), new t(e[n], e[n + 1], e[n + 2], e[n + 3])\n            }),\n            (t.FromEulerAnglesRef = function (e, n, o, r) {\n              return t.RotationYawPitchRollToRef(n * s.DEG2RAD, e * s.DEG2RAD, o * s.DEG2RAD, r)\n            }),\n            (t.RotationYawPitchRoll = function (e, n, o) {\n              var r = new t()\n              return t.RotationYawPitchRollToRef(e, n, o, r), r\n            }),\n            (t.RotationYawPitchRollToRef = function (t, e, n, o) {\n              var r = 0.5 * n,\n                i = 0.5 * e,\n                s = 0.5 * t,\n                a = Math.cos(i),\n                p = Math.cos(s),\n                u = Math.cos(r),\n                l = Math.sin(i),\n                c = Math.sin(s),\n                h = Math.sin(r)\n              ;(o.x = l * p * u + a * c * h), (o.y = a * c * u - l * p * h), (o.z = a * p * h + l * c * u), (o.w = a * p * u - l * c * h)\n            }),\n            (t.RotationAlphaBetaGamma = function (e, n, o) {\n              var r = new t()\n              return t.RotationAlphaBetaGammaToRef(e, n, o, r), r\n            }),\n            (t.RotationAlphaBetaGammaToRef = function (t, e, n, o) {\n              var r = 0.5 * (n + t),\n                i = 0.5 * (n - t),\n                s = 0.5 * e\n              ;(o.x = Math.cos(i) * Math.sin(s)),\n                (o.y = Math.sin(i) * Math.sin(s)),\n                (o.z = Math.sin(r) * Math.cos(s)),\n                (o.w = Math.cos(r) * Math.cos(s))\n            }),\n            (t.RotationQuaternionFromAxis = function (e, n, o) {\n              var r = new t(0, 0, 0, 0)\n              return t.RotationQuaternionFromAxisToRef(e, n, o, r), r\n            }),\n            (t.RotationQuaternionFromAxisToRef = function (e, n, r, s) {\n              var a = i.MathTmp.Matrix[0]\n              o.Matrix.FromXYZAxesToRef(e.normalize(), n.normalize(), r.normalize(), a), t.FromRotationMatrixToRef(a, s)\n            }),\n            (t.Slerp = function (e, n, o) {\n              var r = t.Identity\n              return t.SlerpToRef(e, n, o, r), r\n            }),\n            (t.SlerpToRef = function (t, e, n, o) {\n              var r,\n                i,\n                s = t.x * e.x + t.y * e.y + t.z * e.z + t.w * e.w,\n                a = !1\n              if ((s < 0 && ((a = !0), (s = -s)), s > 0.999999)) (i = 1 - n), (r = a ? -n : n)\n              else {\n                var p = Math.acos(s),\n                  u = 1 / Math.sin(p)\n                ;(i = Math.sin((1 - n) * p) * u), (r = a ? -Math.sin(n * p) * u : Math.sin(n * p) * u)\n              }\n              ;(o.x = i * t.x + r * e.x), (o.y = i * t.y + r * e.y), (o.z = i * t.z + r * e.z), (o.w = i * t.w + r * e.w)\n            }),\n            (t.Hermite = function (e, n, o, r, i) {\n              var s = i * i,\n                a = i * s,\n                p = 2 * a - 3 * s + 1,\n                u = -2 * a + 3 * s,\n                l = a - 2 * s + i,\n                c = a - s\n              return new t(\n                e.x * p + o.x * u + n.x * l + r.x * c,\n                e.y * p + o.y * u + n.y * l + r.y * c,\n                e.z * p + o.z * u + n.z * l + r.z * c,\n                e.w * p + o.w * u + n.w * l + r.w * c\n              )\n            }),\n            Object.defineProperty(t, 'Identity', {\n              get: function () {\n                return new t(0, 0, 0, 1)\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.Angle = function (e, n) {\n              var o = t.Dot(e, n)\n              return 2 * Math.acos(Math.min(Math.abs(o), 1)) * s.RAD2DEG\n            }),\n            (t.Euler = function (e, n, o) {\n              return t.RotationYawPitchRoll(n * s.DEG2RAD, e * s.DEG2RAD, o * s.DEG2RAD)\n            }),\n            (t.LookRotation = function (e, n) {\n              void 0 === n && (n = i.MathTmp.staticUp)\n              var o = r.Vector3.Normalize(e),\n                s = r.Vector3.Normalize(r.Vector3.Cross(n, o)),\n                a = r.Vector3.Cross(o, s),\n                p = s.x,\n                u = s.y,\n                l = s.z,\n                c = a.x,\n                h = a.y,\n                d = a.z,\n                f = o.x,\n                y = o.y,\n                v = o.z,\n                m = p + h + v,\n                b = new t()\n              if (m > 0) {\n                var g = Math.sqrt(m + 1)\n                return (b.w = 0.5 * g), (g = 0.5 / g), (b.x = (d - y) * g), (b.y = (f - l) * g), (b.z = (u - c) * g), b\n              }\n              if (p >= h && p >= v) {\n                var _ = Math.sqrt(1 + p - h - v),\n                  C = 0.5 / _\n                return (b.x = 0.5 * _), (b.y = (u + c) * C), (b.z = (l + f) * C), (b.w = (d - y) * C), b\n              }\n              if (h > v) {\n                var O = Math.sqrt(1 + h - p - v),\n                  x = 0.5 / O\n                return (b.x = (c + u) * x), (b.y = 0.5 * O), (b.z = (y + d) * x), (b.w = (f - l) * x), b\n              }\n              var w = Math.sqrt(1 + v - p - h),\n                T = 0.5 / w\n              return (b.x = (f + l) * T), (b.y = (y + d) * T), (b.z = 0.5 * w), (b.w = (u - c) * T), b\n            }),\n            (t.RotateTowards = function (e, n, o) {\n              var r = t.Angle(e, n)\n              if (0 === r) return n\n              var i = Math.min(1, o / r)\n              return t.Slerp(e, n, i)\n            }),\n            (t.FromToRotation = function (e, n) {\n              var o = new t(),\n                i = e.normalize(),\n                a = n.normalize(),\n                p = r.Vector3.Dot(i, a)\n              if (p > -1 + s.Epsilon) {\n                var u = Math.sqrt(2 * (1 + p)),\n                  l = 1 / u,\n                  c = r.Vector3.Cross(i, a).scaleInPlace(l)\n                o.set(c.x, c.y, c.z, 0.5 * u)\n              } else {\n                if (p > 1 - s.Epsilon) return new t(0, 0, 0, 1)\n                var h = r.Vector3.Cross(r.Vector3.Right(), i)\n                h.lengthSquared() < s.Epsilon && (h = r.Vector3.Cross(r.Vector3.Forward(), i)), o.set(h.x, h.y, h.z, 0)\n              }\n              return o.normalize()\n            }),\n            Object.defineProperty(t.prototype, 'normalized', {\n              get: function () {\n                return this.normalize()\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.prototype.setFromToRotation = function (e, n, r) {\n              void 0 === r && (r = i.MathTmp.staticUp),\n                (i.MathTmp.tmpMatrix = o.Matrix.Zero()),\n                o.Matrix.LookAtLHToRef(e, n, r, i.MathTmp.tmpMatrix),\n                i.MathTmp.tmpMatrix.invert(),\n                t.FromRotationMatrixToRef(i.MathTmp.tmpMatrix, this)\n            }),\n            Object.defineProperty(t.prototype, 'eulerAngles', {\n              get: function () {\n                var t = new r.Vector3(),\n                  e = new o.Matrix()\n                this.toRotationMatrix(e)\n                var n = o.Matrix.GetAsMatrix3x3(e)\n                return (\n                  (t.y = s.RAD2DEG * Math.asin(Math.max(-1, Math.min(1, n[6])))),\n                  Math.abs(n[6]) < 0.99999\n                    ? ((t.x = s.RAD2DEG * Math.atan2(-n[7], n[8])), (t.z = s.RAD2DEG * Math.atan2(-n[3], n[0])))\n                    : ((t.x = s.RAD2DEG * Math.atan2(n[5], n[4])), (t.z = 0)),\n                  t\n                )\n              },\n              set: function (t) {\n                this.setEuler(t.x, t.y, t.z)\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.prototype.toString = function () {\n              return '(' + this.x + ', ' + this.y + ', ' + this.z + ', ' + this.w + ')'\n            }),\n            Object.defineProperty(t.prototype, 'length', {\n              get: function () {\n                return Math.sqrt(this.lengthSquared)\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            Object.defineProperty(t.prototype, 'lengthSquared', {\n              get: function () {\n                return this.x * this.x + this.y * this.y + this.z * this.z + this.w * this.w\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.prototype.getClassName = function () {\n              return 'Quaternion'\n            }),\n            (t.prototype.getHashCode = function () {\n              var t = this.x || 0\n              return (t = (397 * (t = (397 * (t = (397 * t) ^ (this.y || 0))) ^ (this.z || 0))) ^ (this.w || 0))\n            }),\n            (t.prototype.asArray = function () {\n              return [this.x, this.y, this.z, this.w]\n            }),\n            (t.prototype.equals = function (t) {\n              return t && this.x === t.x && this.y === t.y && this.z === t.z && this.w === t.w\n            }),\n            (t.prototype.clone = function () {\n              return new t(this.x, this.y, this.z, this.w)\n            }),\n            (t.prototype.copyFrom = function (t) {\n              return (this.x = t.x), (this.y = t.y), (this.z = t.z), (this.w = t.w), this\n            }),\n            (t.prototype.copyFromFloats = function (t, e, n, o) {\n              return (this.x = t), (this.y = e), (this.z = n), (this.w = o), this\n            }),\n            (t.prototype.set = function (t, e, n, o) {\n              return this.copyFromFloats(t, e, n, o)\n            }),\n            (t.prototype.setEuler = function (e, n, o) {\n              return t.RotationYawPitchRollToRef(n * s.DEG2RAD, e * s.DEG2RAD, o * s.DEG2RAD, this), this\n            }),\n            (t.prototype.add = function (e) {\n              return new t(this.x + e.x, this.y + e.y, this.z + e.z, this.w + e.w)\n            }),\n            (t.prototype.addInPlace = function (t) {\n              return (this.x += t.x), (this.y += t.y), (this.z += t.z), (this.w += t.w), this\n            }),\n            (t.prototype.subtract = function (e) {\n              return new t(this.x - e.x, this.y - e.y, this.z - e.z, this.w - e.w)\n            }),\n            (t.prototype.scale = function (e) {\n              return new t(this.x * e, this.y * e, this.z * e, this.w * e)\n            }),\n            (t.prototype.scaleToRef = function (t, e) {\n              return (e.x = this.x * t), (e.y = this.y * t), (e.z = this.z * t), (e.w = this.w * t), this\n            }),\n            (t.prototype.scaleInPlace = function (t) {\n              return (this.x *= t), (this.y *= t), (this.z *= t), (this.w *= t), this\n            }),\n            (t.prototype.scaleAndAddToRef = function (t, e) {\n              return (e.x += this.x * t), (e.y += this.y * t), (e.z += this.z * t), (e.w += this.w * t), this\n            }),\n            (t.prototype.multiply = function (e) {\n              var n = new t(0, 0, 0, 1)\n              return this.multiplyToRef(e, n), n\n            }),\n            (t.prototype.multiplyToRef = function (t, e) {\n              var n = this.x * t.w + this.y * t.z - this.z * t.y + this.w * t.x,\n                o = -this.x * t.z + this.y * t.w + this.z * t.x + this.w * t.y,\n                r = this.x * t.y - this.y * t.x + this.z * t.w + this.w * t.z,\n                i = -this.x * t.x - this.y * t.y - this.z * t.z + this.w * t.w\n              return e.copyFromFloats(n, o, r, i), this\n            }),\n            (t.prototype.multiplyInPlace = function (t) {\n              return this.multiplyToRef(t, this), this\n            }),\n            (t.prototype.conjugateToRef = function (t) {\n              return t.copyFromFloats(-this.x, -this.y, -this.z, this.w), this\n            }),\n            (t.prototype.conjugateInPlace = function () {\n              return (this.x *= -1), (this.y *= -1), (this.z *= -1), this\n            }),\n            (t.prototype.conjugate = function () {\n              return new t(-this.x, -this.y, -this.z, this.w)\n            }),\n            (t.prototype.normalize = function () {\n              var t = 1 / this.length\n              return (this.x *= t), (this.y *= t), (this.z *= t), (this.w *= t), this\n            }),\n            (t.prototype.angleAxis = function (e, n) {\n              if (0 === n.lengthSquared()) return t.Identity\n              var o = t.Identity,\n                r = e * s.DEG2RAD\n              r *= 0.5\n              var i = n.normalize()\n              return (i = n.scaleInPlace(Math.sin(r))), (o.x = i.x), (o.y = i.y), (o.z = i.z), (o.w = Math.cos(r)), o.normalize()\n            }),\n            (t.prototype.toRotationMatrix = function (t) {\n              return o.Matrix.FromQuaternionToRef(this, t), this\n            }),\n            (t.prototype.fromRotationMatrix = function (e) {\n              return t.FromRotationMatrixToRef(e, this), this\n            }),\n            t\n          )\n        })()\n      e.Quaternion = a\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Matrix = void 0)\n      var o = n(3),\n        r = n(10),\n        i = n(9),\n        s = n(21),\n        a = (function () {\n          function t() {\n            ;(this._isIdentity = !1),\n              (this._isIdentityDirty = !0),\n              (this._isIdentity3x2 = !0),\n              (this._isIdentity3x2Dirty = !0),\n              (this._m = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]),\n              this._updateIdentityStatus(!1)\n          }\n          return (\n            Object.defineProperty(t.prototype, 'm', {\n              get: function () {\n                return this._m\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            Object.defineProperty(t, 'IdentityReadOnly', {\n              get: function () {\n                return t._identityReadOnly\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.FromArray = function (e, n) {\n              void 0 === n && (n = 0)\n              var o = new t()\n              return t.FromArrayToRef(e, n, o), o\n            }),\n            (t.FromArrayToRef = function (t, e, n) {\n              for (var o = 0; o < 16; o++) n._m[o] = t[o + e]\n              n._markAsUpdated()\n            }),\n            (t.FromFloatArrayToRefScaled = function (t, e, n, o) {\n              for (var r = 0; r < 16; r++) o._m[r] = t[r + e] * n\n              o._markAsUpdated()\n            }),\n            (t.FromValuesToRef = function (t, e, n, o, r, i, s, a, p, u, l, c, h, d, f, y, v) {\n              var m = v._m\n              ;(m[0] = t),\n                (m[1] = e),\n                (m[2] = n),\n                (m[3] = o),\n                (m[4] = r),\n                (m[5] = i),\n                (m[6] = s),\n                (m[7] = a),\n                (m[8] = p),\n                (m[9] = u),\n                (m[10] = l),\n                (m[11] = c),\n                (m[12] = h),\n                (m[13] = d),\n                (m[14] = f),\n                (m[15] = y),\n                v._markAsUpdated()\n            }),\n            (t.FromValues = function (e, n, o, r, i, s, a, p, u, l, c, h, d, f, y, v) {\n              var m = new t(),\n                b = m._m\n              return (\n                (b[0] = e),\n                (b[1] = n),\n                (b[2] = o),\n                (b[3] = r),\n                (b[4] = i),\n                (b[5] = s),\n                (b[6] = a),\n                (b[7] = p),\n                (b[8] = u),\n                (b[9] = l),\n                (b[10] = c),\n                (b[11] = h),\n                (b[12] = d),\n                (b[13] = f),\n                (b[14] = y),\n                (b[15] = v),\n                m._markAsUpdated(),\n                m\n              )\n            }),\n            (t.Compose = function (e, n, o) {\n              var r = new t()\n              return t.ComposeToRef(e, n, o, r), r\n            }),\n            (t.ComposeToRef = function (e, n, o, r) {\n              t.ScalingToRef(e.x, e.y, e.z, i.MathTmp.Matrix[1]),\n                n.toRotationMatrix(i.MathTmp.Matrix[0]),\n                i.MathTmp.Matrix[1].multiplyToRef(i.MathTmp.Matrix[0], r),\n                r.setTranslation(o)\n            }),\n            (t.Identity = function () {\n              var e = t.FromValues(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)\n              return e._updateIdentityStatus(!0), e\n            }),\n            (t.IdentityToRef = function (e) {\n              t.FromValuesToRef(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, e), e._updateIdentityStatus(!0)\n            }),\n            (t.Zero = function () {\n              var e = t.FromValues(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)\n              return e._updateIdentityStatus(!1), e\n            }),\n            (t.RotationX = function (e) {\n              var n = new t()\n              return t.RotationXToRef(e, n), n\n            }),\n            (t.Invert = function (e) {\n              var n = new t()\n              return e.invertToRef(n), n\n            }),\n            (t.RotationXToRef = function (e, n) {\n              var o = Math.sin(e),\n                r = Math.cos(e)\n              t.FromValuesToRef(1, 0, 0, 0, 0, r, o, 0, 0, -o, r, 0, 0, 0, 0, 1, n), n._updateIdentityStatus(1 === r && 0 === o)\n            }),\n            (t.RotationY = function (e) {\n              var n = new t()\n              return t.RotationYToRef(e, n), n\n            }),\n            (t.RotationYToRef = function (e, n) {\n              var o = Math.sin(e),\n                r = Math.cos(e)\n              t.FromValuesToRef(r, 0, -o, 0, 0, 1, 0, 0, o, 0, r, 0, 0, 0, 0, 1, n), n._updateIdentityStatus(1 === r && 0 === o)\n            }),\n            (t.RotationZ = function (e) {\n              var n = new t()\n              return t.RotationZToRef(e, n), n\n            }),\n            (t.RotationZToRef = function (e, n) {\n              var o = Math.sin(e),\n                r = Math.cos(e)\n              t.FromValuesToRef(r, o, 0, 0, -o, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, n), n._updateIdentityStatus(1 === r && 0 === o)\n            }),\n            (t.RotationAxis = function (e, n) {\n              var o = new t()\n              return t.RotationAxisToRef(e, n, o), o\n            }),\n            (t.RotationAxisToRef = function (t, e, n) {\n              var o = Math.sin(-e),\n                r = Math.cos(-e),\n                i = 1 - r\n              t.normalize()\n              var s = n._m\n              ;(s[0] = t.x * t.x * i + r),\n                (s[1] = t.x * t.y * i - t.z * o),\n                (s[2] = t.x * t.z * i + t.y * o),\n                (s[3] = 0),\n                (s[4] = t.y * t.x * i + t.z * o),\n                (s[5] = t.y * t.y * i + r),\n                (s[6] = t.y * t.z * i - t.x * o),\n                (s[7] = 0),\n                (s[8] = t.z * t.x * i - t.y * o),\n                (s[9] = t.z * t.y * i + t.x * o),\n                (s[10] = t.z * t.z * i + r),\n                (s[11] = 0),\n                (s[12] = 0),\n                (s[13] = 0),\n                (s[14] = 0),\n                (s[15] = 1),\n                n._markAsUpdated()\n            }),\n            (t.RotationYawPitchRoll = function (e, n, o) {\n              var r = new t()\n              return t.RotationYawPitchRollToRef(e, n, o, r), r\n            }),\n            (t.RotationYawPitchRollToRef = function (t, e, n, o) {\n              r.Quaternion.RotationYawPitchRollToRef(t, e, n, i.MathTmp.Quaternion[0]), i.MathTmp.Quaternion[0].toRotationMatrix(o)\n            }),\n            (t.Scaling = function (e, n, o) {\n              var r = new t()\n              return t.ScalingToRef(e, n, o, r), r\n            }),\n            (t.ScalingToRef = function (e, n, o, r) {\n              t.FromValuesToRef(e, 0, 0, 0, 0, n, 0, 0, 0, 0, o, 0, 0, 0, 0, 1, r), r._updateIdentityStatus(1 === e && 1 === n && 1 === o)\n            }),\n            (t.Translation = function (e, n, o) {\n              var r = new t()\n              return t.TranslationToRef(e, n, o, r), r\n            }),\n            (t.TranslationToRef = function (e, n, o, r) {\n              t.FromValuesToRef(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, e, n, o, 1, r), r._updateIdentityStatus(0 === e && 0 === n && 0 === o)\n            }),\n            (t.Lerp = function (e, n, o) {\n              var r = new t()\n              return t.LerpToRef(e, n, o, r), r\n            }),\n            (t.LerpToRef = function (t, e, n, o) {\n              for (var r = 0; r < 16; r++) o._m[r] = t._m[r] * (1 - n) + e._m[r] * n\n              o._markAsUpdated()\n            }),\n            (t.DecomposeLerp = function (e, n, o) {\n              var r = new t()\n              return t.DecomposeLerpToRef(e, n, o, r), r\n            }),\n            (t.DecomposeLerpToRef = function (e, n, s, a) {\n              var p = i.MathTmp.Vector3[0],\n                u = i.MathTmp.Quaternion[0],\n                l = i.MathTmp.Vector3[1]\n              e.decompose(p, u, l)\n              var c = i.MathTmp.Vector3[2],\n                h = i.MathTmp.Quaternion[1],\n                d = i.MathTmp.Vector3[3]\n              n.decompose(c, h, d)\n              var f = i.MathTmp.Vector3[4]\n              o.Vector3.LerpToRef(p, c, s, f)\n              var y = i.MathTmp.Quaternion[2]\n              r.Quaternion.SlerpToRef(u, h, s, y)\n              var v = i.MathTmp.Vector3[5]\n              o.Vector3.LerpToRef(l, d, s, v), t.ComposeToRef(f, y, v, a)\n            }),\n            (t.LookAtLH = function (e, n, o) {\n              var r = new t()\n              return t.LookAtLHToRef(e, n, o, r), r\n            }),\n            (t.LookAtLHToRef = function (e, n, r, s) {\n              var a = i.MathTmp.Vector3[0],\n                p = i.MathTmp.Vector3[1],\n                u = i.MathTmp.Vector3[2]\n              n.subtractToRef(e, u), u.normalize(), o.Vector3.CrossToRef(r, u, a)\n              var l = a.lengthSquared()\n              0 === l ? (a.x = 1) : a.normalizeFromLength(Math.sqrt(l)), o.Vector3.CrossToRef(u, a, p), p.normalize()\n              var c = -o.Vector3.Dot(a, e),\n                h = -o.Vector3.Dot(p, e),\n                d = -o.Vector3.Dot(u, e)\n              t.FromValuesToRef(a.x, p.x, u.x, 0, a.y, p.y, u.y, 0, a.z, p.z, u.z, 0, c, h, d, 1, s)\n            }),\n            (t.LookAtRH = function (e, n, o) {\n              var r = new t()\n              return t.LookAtRHToRef(e, n, o, r), r\n            }),\n            (t.LookAtRHToRef = function (e, n, r, s) {\n              var a = i.MathTmp.Vector3[0],\n                p = i.MathTmp.Vector3[1],\n                u = i.MathTmp.Vector3[2]\n              e.subtractToRef(n, u), u.normalize(), o.Vector3.CrossToRef(r, u, a)\n              var l = a.lengthSquared()\n              0 === l ? (a.x = 1) : a.normalizeFromLength(Math.sqrt(l)), o.Vector3.CrossToRef(u, a, p), p.normalize()\n              var c = -o.Vector3.Dot(a, e),\n                h = -o.Vector3.Dot(p, e),\n                d = -o.Vector3.Dot(u, e)\n              t.FromValuesToRef(a.x, p.x, u.x, 0, a.y, p.y, u.y, 0, a.z, p.z, u.z, 0, c, h, d, 1, s)\n            }),\n            (t.OrthoLH = function (e, n, o, r) {\n              var i = new t()\n              return t.OrthoLHToRef(e, n, o, r, i), i\n            }),\n            (t.OrthoLHToRef = function (e, n, o, r, i) {\n              var s = 2 / e,\n                a = 2 / n,\n                p = 2 / (r - o),\n                u = -(r + o) / (r - o)\n              t.FromValuesToRef(s, 0, 0, 0, 0, a, 0, 0, 0, 0, p, 0, 0, 0, u, 1, i),\n                i._updateIdentityStatus(1 === s && 1 === a && 1 === p && 0 === u)\n            }),\n            (t.OrthoOffCenterLH = function (e, n, o, r, i, s) {\n              var a = new t()\n              return t.OrthoOffCenterLHToRef(e, n, o, r, i, s, a), a\n            }),\n            (t.OrthoOffCenterLHToRef = function (e, n, o, r, i, s, a) {\n              var p = 2 / (n - e),\n                u = 2 / (r - o),\n                l = 2 / (s - i),\n                c = -(s + i) / (s - i),\n                h = (e + n) / (e - n),\n                d = (r + o) / (o - r)\n              t.FromValuesToRef(p, 0, 0, 0, 0, u, 0, 0, 0, 0, l, 0, h, d, c, 1, a), a._markAsUpdated()\n            }),\n            (t.OrthoOffCenterRH = function (e, n, o, r, i, s) {\n              var a = new t()\n              return t.OrthoOffCenterRHToRef(e, n, o, r, i, s, a), a\n            }),\n            (t.OrthoOffCenterRHToRef = function (e, n, o, r, i, s, a) {\n              t.OrthoOffCenterLHToRef(e, n, o, r, i, s, a), (a._m[10] *= -1)\n            }),\n            (t.PerspectiveLH = function (e, n, o, r) {\n              var i = new t(),\n                s = (2 * o) / e,\n                a = (2 * o) / n,\n                p = (r + o) / (r - o),\n                u = (-2 * r * o) / (r - o)\n              return t.FromValuesToRef(s, 0, 0, 0, 0, a, 0, 0, 0, 0, p, 1, 0, 0, u, 0, i), i._updateIdentityStatus(!1), i\n            }),\n            (t.PerspectiveFovLH = function (e, n, o, r) {\n              var i = new t()\n              return t.PerspectiveFovLHToRef(e, n, o, r, i), i\n            }),\n            (t.PerspectiveFovLHToRef = function (e, n, o, r, i, s) {\n              void 0 === s && (s = !0)\n              var a = o,\n                p = r,\n                u = 1 / Math.tan(0.5 * e),\n                l = s ? u / n : u,\n                c = s ? u : u * n,\n                h = (p + a) / (p - a),\n                d = (-2 * p * a) / (p - a)\n              t.FromValuesToRef(l, 0, 0, 0, 0, c, 0, 0, 0, 0, h, 1, 0, 0, d, 0, i), i._updateIdentityStatus(!1)\n            }),\n            (t.PerspectiveFovRH = function (e, n, o, r) {\n              var i = new t()\n              return t.PerspectiveFovRHToRef(e, n, o, r, i), i\n            }),\n            (t.PerspectiveFovRHToRef = function (e, n, o, r, i, s) {\n              void 0 === s && (s = !0)\n              var a = o,\n                p = r,\n                u = 1 / Math.tan(0.5 * e),\n                l = s ? u / n : u,\n                c = s ? u : u * n,\n                h = -(p + a) / (p - a),\n                d = (-2 * p * a) / (p - a)\n              t.FromValuesToRef(l, 0, 0, 0, 0, c, 0, 0, 0, 0, h, -1, 0, 0, d, 0, i), i._updateIdentityStatus(!1)\n            }),\n            (t.PerspectiveFovWebVRToRef = function (t, e, n, o, r) {\n              void 0 === r && (r = !1)\n              var i = r ? -1 : 1,\n                s = Math.tan((t.upDegrees * Math.PI) / 180),\n                a = Math.tan((t.downDegrees * Math.PI) / 180),\n                p = Math.tan((t.leftDegrees * Math.PI) / 180),\n                u = Math.tan((t.rightDegrees * Math.PI) / 180),\n                l = 2 / (p + u),\n                c = 2 / (s + a),\n                h = o._m\n              ;(h[0] = l),\n                (h[1] = h[2] = h[3] = h[4] = 0),\n                (h[5] = c),\n                (h[6] = h[7] = 0),\n                (h[8] = (p - u) * l * 0.5),\n                (h[9] = -(s - a) * c * 0.5),\n                (h[10] = -n / (e - n)),\n                (h[11] = 1 * i),\n                (h[12] = h[13] = h[15] = 0),\n                (h[14] = (-2 * n * e) / (n - e)),\n                o._markAsUpdated()\n            }),\n            (t.GetAsMatrix2x2 = function (t) {\n              return [t._m[0], t._m[1], t._m[4], t._m[5]]\n            }),\n            (t.GetAsMatrix3x3 = function (t) {\n              return [t._m[0], t._m[1], t._m[2], t._m[4], t._m[5], t._m[6], t._m[8], t._m[9], t._m[10]]\n            }),\n            (t.Transpose = function (e) {\n              var n = new t()\n              return t.TransposeToRef(e, n), n\n            }),\n            (t.TransposeToRef = function (t, e) {\n              var n = e._m,\n                o = t._m\n              ;(n[0] = o[0]),\n                (n[1] = o[4]),\n                (n[2] = o[8]),\n                (n[3] = o[12]),\n                (n[4] = o[1]),\n                (n[5] = o[5]),\n                (n[6] = o[9]),\n                (n[7] = o[13]),\n                (n[8] = o[2]),\n                (n[9] = o[6]),\n                (n[10] = o[10]),\n                (n[11] = o[14]),\n                (n[12] = o[3]),\n                (n[13] = o[7]),\n                (n[14] = o[11]),\n                (n[15] = o[15]),\n                e._updateIdentityStatus(t._isIdentity, t._isIdentityDirty)\n            }),\n            (t.Reflection = function (e) {\n              var n = new t()\n              return t.ReflectionToRef(e, n), n\n            }),\n            (t.ReflectionToRef = function (e, n) {\n              e.normalize()\n              var o = e.normal.x,\n                r = e.normal.y,\n                i = e.normal.z,\n                s = -2 * o,\n                a = -2 * r,\n                p = -2 * i\n              t.FromValuesToRef(\n                s * o + 1,\n                a * o,\n                p * o,\n                0,\n                s * r,\n                a * r + 1,\n                p * r,\n                0,\n                s * i,\n                a * i,\n                p * i + 1,\n                0,\n                s * e.d,\n                a * e.d,\n                p * e.d,\n                1,\n                n\n              )\n            }),\n            (t.FromXYZAxesToRef = function (e, n, o, r) {\n              t.FromValuesToRef(e.x, e.y, e.z, 0, n.x, n.y, n.z, 0, o.x, o.y, o.z, 0, 0, 0, 0, 1, r)\n            }),\n            (t.FromQuaternionToRef = function (t, e) {\n              var n = t.x * t.x,\n                o = t.y * t.y,\n                r = t.z * t.z,\n                i = t.x * t.y,\n                s = t.z * t.w,\n                a = t.z * t.x,\n                p = t.y * t.w,\n                u = t.y * t.z,\n                l = t.x * t.w\n              ;(e._m[0] = 1 - 2 * (o + r)),\n                (e._m[1] = 2 * (i + s)),\n                (e._m[2] = 2 * (a - p)),\n                (e._m[3] = 0),\n                (e._m[4] = 2 * (i - s)),\n                (e._m[5] = 1 - 2 * (r + n)),\n                (e._m[6] = 2 * (u + l)),\n                (e._m[7] = 0),\n                (e._m[8] = 2 * (a + p)),\n                (e._m[9] = 2 * (u - l)),\n                (e._m[10] = 1 - 2 * (o + n)),\n                (e._m[11] = 0),\n                (e._m[12] = 0),\n                (e._m[13] = 0),\n                (e._m[14] = 0),\n                (e._m[15] = 1),\n                e._markAsUpdated()\n            }),\n            (t.prototype._markAsUpdated = function () {\n              ;(this.updateFlag = t._updateFlagSeed++),\n                (this._isIdentity = !1),\n                (this._isIdentity3x2 = !1),\n                (this._isIdentityDirty = !0),\n                (this._isIdentity3x2Dirty = !0)\n            }),\n            (t.prototype.isIdentity = function () {\n              if (this._isIdentityDirty) {\n                this._isIdentityDirty = !1\n                var t = this._m\n                this._isIdentity =\n                  1 === t[0] &&\n                  0 === t[1] &&\n                  0 === t[2] &&\n                  0 === t[3] &&\n                  0 === t[4] &&\n                  1 === t[5] &&\n                  0 === t[6] &&\n                  0 === t[7] &&\n                  0 === t[8] &&\n                  0 === t[9] &&\n                  1 === t[10] &&\n                  0 === t[11] &&\n                  0 === t[12] &&\n                  0 === t[13] &&\n                  0 === t[14] &&\n                  1 === t[15]\n              }\n              return this._isIdentity\n            }),\n            (t.prototype.isIdentityAs3x2 = function () {\n              return (\n                this._isIdentity3x2Dirty &&\n                  ((this._isIdentity3x2Dirty = !1),\n                  1 !== this._m[0] ||\n                  1 !== this._m[5] ||\n                  1 !== this._m[15] ||\n                  0 !== this._m[1] ||\n                  0 !== this._m[2] ||\n                  0 !== this._m[3] ||\n                  0 !== this._m[4] ||\n                  0 !== this._m[6] ||\n                  0 !== this._m[7] ||\n                  0 !== this._m[8] ||\n                  0 !== this._m[9] ||\n                  0 !== this._m[10] ||\n                  0 !== this._m[11] ||\n                  0 !== this._m[12] ||\n                  0 !== this._m[13] ||\n                  0 !== this._m[14]\n                    ? (this._isIdentity3x2 = !1)\n                    : (this._isIdentity3x2 = !0)),\n                this._isIdentity3x2\n              )\n            }),\n            (t.prototype.determinant = function () {\n              if (!0 === this._isIdentity) return 1\n              var t = this._m,\n                e = t[0],\n                n = t[1],\n                o = t[2],\n                r = t[3],\n                i = t[4],\n                s = t[5],\n                a = t[6],\n                p = t[7],\n                u = t[8],\n                l = t[9],\n                c = t[10],\n                h = t[11],\n                d = t[12],\n                f = t[13],\n                y = t[14],\n                v = t[15],\n                m = c * v - y * h,\n                b = l * v - f * h,\n                g = l * y - f * c,\n                _ = u * v - d * h,\n                C = u * y - c * d,\n                O = u * f - d * l\n              return (\n                e * +(s * m - a * b + p * g) + n * -(i * m - a * _ + p * C) + o * +(i * b - s * _ + p * O) + r * -(i * g - s * C + a * O)\n              )\n            }),\n            (t.prototype.toArray = function () {\n              return this._m\n            }),\n            (t.prototype.asArray = function () {\n              return this._m\n            }),\n            (t.prototype.invert = function () {\n              return this.invertToRef(this), this\n            }),\n            (t.prototype.reset = function () {\n              return t.FromValuesToRef(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, this), this._updateIdentityStatus(!1), this\n            }),\n            (t.prototype.add = function (e) {\n              var n = new t()\n              return this.addToRef(e, n), n\n            }),\n            (t.prototype.addToRef = function (t, e) {\n              for (var n = 0; n < 16; n++) e._m[n] = this._m[n] + t._m[n]\n              return e._markAsUpdated(), this\n            }),\n            (t.prototype.addToSelf = function (t) {\n              for (var e = 0; e < 16; e++) this._m[e] += t._m[e]\n              return this._markAsUpdated(), this\n            }),\n            (t.prototype.invertToRef = function (e) {\n              if (!0 === this._isIdentity) return t.IdentityToRef(e), this\n              var n = this._m,\n                o = n[0],\n                r = n[1],\n                i = n[2],\n                s = n[3],\n                a = n[4],\n                p = n[5],\n                u = n[6],\n                l = n[7],\n                c = n[8],\n                h = n[9],\n                d = n[10],\n                f = n[11],\n                y = n[12],\n                v = n[13],\n                m = n[14],\n                b = n[15],\n                g = d * b - m * f,\n                _ = h * b - v * f,\n                C = h * m - v * d,\n                O = c * b - y * f,\n                x = c * m - d * y,\n                w = c * v - y * h,\n                T = +(p * g - u * _ + l * C),\n                R = -(a * g - u * O + l * x),\n                A = +(a * _ - p * O + l * w),\n                E = -(a * C - p * x + u * w),\n                S = o * T + r * R + i * A + s * E\n              if (0 === S) return e.copyFrom(this), this\n              var P = 1 / S,\n                I = u * b - m * l,\n                z = p * b - v * l,\n                M = p * m - v * u,\n                D = a * b - y * l,\n                F = a * m - y * u,\n                U = a * v - y * p,\n                L = u * f - d * l,\n                N = p * f - h * l,\n                V = p * d - h * u,\n                j = a * f - c * l,\n                H = a * d - c * u,\n                B = a * h - c * p,\n                k = -(r * g - i * _ + s * C),\n                G = +(o * g - i * O + s * x),\n                W = -(o * _ - r * O + s * w),\n                q = +(o * C - r * x + i * w),\n                Y = +(r * I - i * z + s * M),\n                X = -(o * I - i * D + s * F),\n                Z = +(o * z - r * D + s * U),\n                Q = -(o * M - r * F + i * U),\n                J = -(r * L - i * N + s * V),\n                K = +(o * L - i * j + s * H),\n                $ = -(o * N - r * j + s * B),\n                tt = +(o * V - r * H + i * B)\n              return (\n                t.FromValuesToRef(\n                  T * P,\n                  k * P,\n                  Y * P,\n                  J * P,\n                  R * P,\n                  G * P,\n                  X * P,\n                  K * P,\n                  A * P,\n                  W * P,\n                  Z * P,\n                  $ * P,\n                  E * P,\n                  q * P,\n                  Q * P,\n                  tt * P,\n                  e\n                ),\n                this\n              )\n            }),\n            (t.prototype.addAtIndex = function (t, e) {\n              return (this._m[t] += e), this._markAsUpdated(), this\n            }),\n            (t.prototype.multiplyAtIndex = function (t, e) {\n              return (this._m[t] *= e), this._markAsUpdated(), this\n            }),\n            (t.prototype.setTranslationFromFloats = function (t, e, n) {\n              return (this._m[12] = t), (this._m[13] = e), (this._m[14] = n), this._markAsUpdated(), this\n            }),\n            (t.prototype.setTranslation = function (t) {\n              return this.setTranslationFromFloats(t.x, t.y, t.z)\n            }),\n            (t.prototype.getTranslation = function () {\n              return new o.Vector3(this._m[12], this._m[13], this._m[14])\n            }),\n            (t.prototype.getTranslationToRef = function (t) {\n              return (t.x = this._m[12]), (t.y = this._m[13]), (t.z = this._m[14]), this\n            }),\n            (t.prototype.removeRotationAndScaling = function () {\n              var e = this.m\n              return (\n                t.FromValuesToRef(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, e[12], e[13], e[14], e[15], this),\n                this._updateIdentityStatus(0 === e[12] && 0 === e[13] && 0 === e[14] && 1 === e[15]),\n                this\n              )\n            }),\n            (t.prototype.multiply = function (e) {\n              var n = new t()\n              return this.multiplyToRef(e, n), n\n            }),\n            (t.prototype.copyFrom = function (t) {\n              t.copyToArray(this._m)\n              var e = t\n              return this._updateIdentityStatus(e._isIdentity, e._isIdentityDirty, e._isIdentity3x2, e._isIdentity3x2Dirty), this\n            }),\n            (t.prototype.copyToArray = function (t, e) {\n              void 0 === e && (e = 0)\n              for (var n = 0; n < 16; n++) t[e + n] = this._m[n]\n              return this\n            }),\n            (t.prototype.multiplyToRef = function (t, e) {\n              return this._isIdentity\n                ? (e.copyFrom(t), this)\n                : t._isIdentity\n                ? (e.copyFrom(this), this)\n                : (this.multiplyToArray(t, e._m, 0), e._markAsUpdated(), this)\n            }),\n            (t.prototype.multiplyToArray = function (t, e, n) {\n              var o = this._m,\n                r = t.m,\n                i = o[0],\n                s = o[1],\n                a = o[2],\n                p = o[3],\n                u = o[4],\n                l = o[5],\n                c = o[6],\n                h = o[7],\n                d = o[8],\n                f = o[9],\n                y = o[10],\n                v = o[11],\n                m = o[12],\n                b = o[13],\n                g = o[14],\n                _ = o[15],\n                C = r[0],\n                O = r[1],\n                x = r[2],\n                w = r[3],\n                T = r[4],\n                R = r[5],\n                A = r[6],\n                E = r[7],\n                S = r[8],\n                P = r[9],\n                I = r[10],\n                z = r[11],\n                M = r[12],\n                D = r[13],\n                F = r[14],\n                U = r[15]\n              return (\n                (e[n] = i * C + s * T + a * S + p * M),\n                (e[n + 1] = i * O + s * R + a * P + p * D),\n                (e[n + 2] = i * x + s * A + a * I + p * F),\n                (e[n + 3] = i * w + s * E + a * z + p * U),\n                (e[n + 4] = u * C + l * T + c * S + h * M),\n                (e[n + 5] = u * O + l * R + c * P + h * D),\n                (e[n + 6] = u * x + l * A + c * I + h * F),\n                (e[n + 7] = u * w + l * E + c * z + h * U),\n                (e[n + 8] = d * C + f * T + y * S + v * M),\n                (e[n + 9] = d * O + f * R + y * P + v * D),\n                (e[n + 10] = d * x + f * A + y * I + v * F),\n                (e[n + 11] = d * w + f * E + y * z + v * U),\n                (e[n + 12] = m * C + b * T + g * S + _ * M),\n                (e[n + 13] = m * O + b * R + g * P + _ * D),\n                (e[n + 14] = m * x + b * A + g * I + _ * F),\n                (e[n + 15] = m * w + b * E + g * z + _ * U),\n                this\n              )\n            }),\n            (t.prototype.equals = function (t) {\n              var e = t\n              if (!e) return !1\n              if ((this._isIdentity || e._isIdentity) && !this._isIdentityDirty && !e._isIdentityDirty)\n                return this._isIdentity && e._isIdentity\n              var n = this.m,\n                o = e.m\n              return (\n                n[0] === o[0] &&\n                n[1] === o[1] &&\n                n[2] === o[2] &&\n                n[3] === o[3] &&\n                n[4] === o[4] &&\n                n[5] === o[5] &&\n                n[6] === o[6] &&\n                n[7] === o[7] &&\n                n[8] === o[8] &&\n                n[9] === o[9] &&\n                n[10] === o[10] &&\n                n[11] === o[11] &&\n                n[12] === o[12] &&\n                n[13] === o[13] &&\n                n[14] === o[14] &&\n                n[15] === o[15]\n              )\n            }),\n            (t.prototype.clone = function () {\n              var e = new t()\n              return e.copyFrom(this), e\n            }),\n            (t.prototype.getClassName = function () {\n              return 'Matrix'\n            }),\n            (t.prototype.getHashCode = function () {\n              for (var t = this._m[0] || 0, e = 1; e < 16; e++) t = (397 * t) ^ (this._m[e] || 0)\n              return t\n            }),\n            (t.prototype.decompose = function (e, n, o) {\n              if (this._isIdentity) return o && o.setAll(0), e && e.setAll(1), n && n.copyFromFloats(0, 0, 0, 1), !0\n              var s = this._m\n              o && o.copyFromFloats(s[12], s[13], s[14])\n              var a = e || i.MathTmp.Vector3[0]\n              if (\n                ((a.x = Math.sqrt(s[0] * s[0] + s[1] * s[1] + s[2] * s[2])),\n                (a.y = Math.sqrt(s[4] * s[4] + s[5] * s[5] + s[6] * s[6])),\n                (a.z = Math.sqrt(s[8] * s[8] + s[9] * s[9] + s[10] * s[10])),\n                this.determinant() <= 0 && (a.y *= -1),\n                0 === a.x || 0 === a.y || 0 === a.z)\n              )\n                return n && n.copyFromFloats(0, 0, 0, 1), !1\n              if (n) {\n                var p = 1 / a.x,\n                  u = 1 / a.y,\n                  l = 1 / a.z\n                t.FromValuesToRef(\n                  s[0] * p,\n                  s[1] * p,\n                  s[2] * p,\n                  0,\n                  s[4] * u,\n                  s[5] * u,\n                  s[6] * u,\n                  0,\n                  s[8] * l,\n                  s[9] * l,\n                  s[10] * l,\n                  0,\n                  0,\n                  0,\n                  0,\n                  1,\n                  i.MathTmp.Matrix[0]\n                ),\n                  r.Quaternion.FromRotationMatrixToRef(i.MathTmp.Matrix[0], n)\n              }\n              return !0\n            }),\n            (t.prototype.getRow = function (t) {\n              if (t < 0 || t > 3) return null\n              var e = 4 * t\n              return new s.Vector4(this._m[e + 0], this._m[e + 1], this._m[e + 2], this._m[e + 3])\n            }),\n            (t.prototype.setRow = function (t, e) {\n              return this.setRowFromFloats(t, e.x, e.y, e.z, e.w)\n            }),\n            (t.prototype.transpose = function () {\n              return t.Transpose(this)\n            }),\n            (t.prototype.transposeToRef = function (e) {\n              return t.TransposeToRef(this, e), this\n            }),\n            (t.prototype.setRowFromFloats = function (t, e, n, o, r) {\n              if (t < 0 || t > 3) return this\n              var i = 4 * t\n              return (this._m[i + 0] = e), (this._m[i + 1] = n), (this._m[i + 2] = o), (this._m[i + 3] = r), this._markAsUpdated(), this\n            }),\n            (t.prototype.scale = function (e) {\n              var n = new t()\n              return this.scaleToRef(e, n), n\n            }),\n            (t.prototype.scaleToRef = function (t, e) {\n              for (var n = 0; n < 16; n++) e._m[n] = this._m[n] * t\n              return e._markAsUpdated(), this\n            }),\n            (t.prototype.scaleAndAddToRef = function (t, e) {\n              for (var n = 0; n < 16; n++) e._m[n] += this._m[n] * t\n              return e._markAsUpdated(), this\n            }),\n            (t.prototype.toNormalMatrix = function (e) {\n              var n = i.MathTmp.Matrix[0]\n              this.invertToRef(n), n.transposeToRef(e)\n              var o = e._m\n              t.FromValuesToRef(o[0], o[1], o[2], 0, o[4], o[5], o[6], 0, o[8], o[9], o[10], 0, 0, 0, 0, 1, e)\n            }),\n            (t.prototype.getRotationMatrix = function () {\n              var e = new t()\n              return this.getRotationMatrixToRef(e), e\n            }),\n            (t.prototype.getRotationMatrixToRef = function (e) {\n              var n = i.MathTmp.Vector3[0]\n              if (!this.decompose(n)) return t.IdentityToRef(e), this\n              var o = this._m,\n                r = 1 / n.x,\n                s = 1 / n.y,\n                a = 1 / n.z\n              return (\n                t.FromValuesToRef(\n                  o[0] * r,\n                  o[1] * r,\n                  o[2] * r,\n                  0,\n                  o[4] * s,\n                  o[5] * s,\n                  o[6] * s,\n                  0,\n                  o[8] * a,\n                  o[9] * a,\n                  o[10] * a,\n                  0,\n                  0,\n                  0,\n                  0,\n                  1,\n                  e\n                ),\n                this\n              )\n            }),\n            (t.prototype.toggleModelMatrixHandInPlace = function () {\n              var t = this._m\n              ;(t[2] *= -1), (t[6] *= -1), (t[8] *= -1), (t[9] *= -1), (t[14] *= -1), this._markAsUpdated()\n            }),\n            (t.prototype.toggleProjectionMatrixHandInPlace = function () {\n              var t = this._m\n              ;(t[8] *= -1), (t[9] *= -1), (t[10] *= -1), (t[11] *= -1), this._markAsUpdated()\n            }),\n            (t.prototype._updateIdentityStatus = function (e, n, o, r) {\n              void 0 === n && (n = !1),\n                void 0 === o && (o = !1),\n                void 0 === r && (r = !0),\n                (this.updateFlag = t._updateFlagSeed++),\n                (this._isIdentity = e),\n                (this._isIdentity3x2 = e || o),\n                (this._isIdentityDirty = !this._isIdentity && n),\n                (this._isIdentity3x2Dirty = !this._isIdentity3x2 && r)\n            }),\n            (t._updateFlagSeed = 0),\n            (t._identityReadOnly = t.Identity()),\n            t\n          )\n        })()\n      e.Matrix = a\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Entity = void 0)\n      var o = n(0),\n        r = n(7),\n        i = n(1),\n        s = (function () {\n          function t(t) {\n            ;(this.name = t),\n              (this.children = {}),\n              (this.eventManager = null),\n              (this.alive = !1),\n              (this.uuid = i.newId('E')),\n              (this.components = {}),\n              (this.engine = null),\n              (this._parent = null)\n          }\n          return (\n            (t.prototype.addComponentOrReplace = function (t) {\n              if ('function' == typeof t)\n                throw new Error('You passed a function or class as a component, an instance of component is expected')\n              if ('object' != typeof t) throw new Error('You passed a ' + typeof t + ', an instance of component is expected')\n              var e = o.getComponentName(t)\n              if (this.components[e]) {\n                if (this.components[e] === t) return t\n                this.removeComponent(this.components[e], !1)\n              }\n              return this.addComponent(t)\n            }),\n            (t.prototype.hasComponent = function (t) {\n              var e = typeof t\n              if ('string' !== e && 'object' !== e && 'function' !== e)\n                throw new Error('Entity#has(component): component is not a class, name or instance')\n              if (null == t) return !1\n              var n = 'string' === e ? t : o.getComponentName(t),\n                r = this.components[n]\n              return !!r && ('object' === e ? r === t : 'function' !== e || r instanceof t)\n            }),\n            (t.prototype.getComponent = function (t) {\n              var e = typeof t\n              if ('string' !== e && 'function' !== e) throw new Error('Entity#get(component): component is not a class or name')\n              var n = 'string' === e ? t : o.getComponentName(t),\n                r = this.components[n]\n              if (!r) throw new Error('Can not get component \"' + n + '\" from entity \"' + this.identifier + '\"')\n              if ('function' === e) {\n                if (r instanceof t) return r\n                throw new Error('Can not get component \"' + n + '\" from entity \"' + this.identifier + '\" (by instance)')\n              }\n              return r\n            }),\n            (t.prototype.getComponentOrNull = function (t) {\n              var e = typeof t\n              if ('string' !== e && 'function' !== e) throw new Error('Entity#getOrNull(component): component is not a class or name')\n              var n = 'string' === e ? t : o.getComponentName(t),\n                r = this.components[n]\n              return r ? ('function' === e ? (r instanceof t ? r : null) : r) : null\n            }),\n            (t.prototype.getComponentOrCreate = function (t) {\n              if ('function' != typeof t) throw new Error('Entity#getOrCreate(component): component is not a class')\n              var e = this.getComponentOrNull(t)\n              return e || ((e = new t()), o.getComponentName(e), this.addComponentOrReplace(e)), e\n            }),\n            (t.prototype.addComponent = function (t) {\n              if ('object' != typeof t)\n                throw new Error(\n                  'Entity#add(component): You passed a function or class as a component, an instance of component is expected'\n                )\n              var e = o.getComponentName(t),\n                n = o.getComponentClassId(t)\n              if (this.components[e])\n                throw new Error('A component of type \"' + e + '\" is already present in entity \"' + this.identifier + '\"')\n              ;(this.components[e] = t), this.eventManager && this.eventManager.fireEvent(new r.ComponentAdded(this, e, n))\n              var i = t\n              return 'function' == typeof i.addedToEntity && i.addedToEntity(this), t\n            }),\n            (t.prototype.removeComponent = function (t, e) {\n              void 0 === e && (e = !0)\n              var n = typeof t\n              if ('string' !== n && 'function' !== n && 'object' !== n)\n                throw new Error('Entity#remove(component): component is not a class, class or name')\n              var s = 'string' === n ? t : o.getComponentName(t),\n                a = this.components[s]\n              if (a) {\n                if ('function' === n)\n                  return a instanceof t\n                    ? (delete this.components[s],\n                      void (\n                        a &&\n                        (e && this.eventManager && this.eventManager.fireEvent(new r.ComponentRemoved(this, s, a)),\n                        'function' == typeof a.removedFromEntity && a.removedFromEntity(this))\n                      ))\n                    : void i.log(\n                        'Entity Warning: Trying to remove wrong (by constructor) component \"' +\n                          s +\n                          '\" from entity \"' +\n                          this.identifier +\n                          '\"'\n                      )\n                delete this.components[s],\n                  a &&\n                    (e && this.eventManager && this.eventManager.fireEvent(new r.ComponentRemoved(this, s, a)),\n                    'function' == typeof a.removedFromEntity && a.removedFromEntity(this))\n              } else i.log('Entity Warning: Trying to remove inexisting component \"' + s + '\" from entity \"' + this.identifier + '\"')\n            }),\n            (t.prototype.isAddedToEngine = function () {\n              return !(!this.engine || (!(this.uuid in this.engine.entities) && this.engine.rootEntity !== this))\n            }),\n            (t.prototype.setParent = function (t) {\n              var e\n              if (t && 'getEntityRepresentation' in t) {\n                if (!this.engine)\n                  throw new Error('In order to set an attachable as parent, you first need to add the entity to the engine.')\n                e = t.getEntityRepresentation(this.engine)\n              } else e = !t && this.engine ? this.engine.rootEntity : t\n              var n = this.getParent()\n              if (e === this)\n                throw new Error(\n                  'Failed to set parent for entity \"' + this.identifier + '\": An entity can\\'t set itself as a its own parent'\n                )\n              if (e === n) return this\n              var o = this.getCircularAncestor(e)\n              if (o)\n                throw new Error(\n                  'Failed to set parent for entity \"' +\n                    this.identifier +\n                    '\": Circular parent references are not allowed (See entity \"' +\n                    o +\n                    '\")'\n                )\n              return (\n                n && delete n.children[this.uuid],\n                null !== e &&\n                  '0' !== e.uuid &&\n                  (!e.isAddedToEngine() && this.isAddedToEngine() && this.engine.removeEntity(this),\n                  e.isAddedToEngine() && !this.isAddedToEngine() && e.engine.addEntity(this)),\n                (this._parent = e || null),\n                this.registerAsChild(),\n                this.eventManager && this.engine && this.eventManager.fireEvent(new r.ParentChanged(this, e)),\n                this\n              )\n            }),\n            (t.prototype.getParent = function () {\n              return this._parent\n            }),\n            Object.defineProperty(t.prototype, 'identifier', {\n              get: function () {\n                return this.name || this.uuid\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.prototype.getCircularAncestor = function (t) {\n              for (var e = this.engine ? this.engine.rootEntity : null, n = t; n && n !== e; ) {\n                var o = n.getParent()\n                if (o === this) return n.uuid\n                n = o\n              }\n              return null\n            }),\n            (t.prototype.registerAsChild = function () {\n              var t = this.getParent()\n              this.uuid && t && (t.children[this.uuid] = this)\n            }),\n            t\n          )\n        })()\n      e.Entity = s\n    },\n    function (t, e, n) {\n      'use strict'\n      var o =\n        (this && this.__decorate) ||\n        function (t, e, n, o) {\n          var r,\n            i = arguments.length,\n            s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n          if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n          else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n          return i > 3 && s && Object.defineProperty(e, n, s), s\n        }\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.PointerEvent = e.RaycastResponse = e.UUIDEvent = void 0)\n      var r = n(8),\n        i = (function () {\n          function t(t, e) {\n            ;(this.uuid = t), (this.payload = e)\n          }\n          return (t = o([r.EventConstructor()], t))\n        })()\n      e.UUIDEvent = i\n      var s = (function () {\n        function t(t) {\n          this.payload = t\n        }\n        return (t = o([r.EventConstructor()], t))\n      })()\n      e.RaycastResponse = s\n      var a = (function () {\n        function t(t) {\n          this.payload = t\n        }\n        return (t = o([r.EventConstructor()], t))\n      })()\n      e.PointerEvent = a\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.uuidEventSystem =\n          e.UUIDEventSystem =\n          e.pointerEventSystem =\n          e.PointerEventSystem =\n          e.raycastEventSystem =\n          e.RaycastEventSystem =\n            void 0)\n      var o = n(13),\n        r = n(4),\n        i = n(7),\n        s = n(16),\n        a = n(28),\n        p = (function () {\n          function t() {}\n          return (\n            (t.prototype.activate = function (t) {\n              t.eventManager.addListener(o.RaycastResponse, this, function (t) {\n                'HitFirst' === t.payload.queryType\n                  ? a.PhysicsCast.instance.handleRaycastHitFirstResponse(t)\n                  : 'HitAll' === t.payload.queryType && a.PhysicsCast.instance.handleRaycastHitAllResponse(t)\n              }),\n                'undefined' != typeof dcl && dcl.subscribe('raycastResponse')\n            }),\n            (t.prototype.deactivate = function () {\n              'undefined' != typeof dcl && dcl.unsubscribe('raycastResponse')\n            }),\n            t\n          )\n        })()\n      ;(e.RaycastEventSystem = p), (e.raycastEventSystem = new p())\n      var u = (function () {\n        function t() {}\n        return (\n          (t.prototype.activate = function (t) {\n            t.eventManager.addListener(o.PointerEvent, this, function (t) {\n              s.Input.instance.handlePointerEvent(t.payload)\n            }),\n              'undefined' != typeof dcl && (dcl.subscribe('pointerUp'), dcl.subscribe('pointerDown'), dcl.subscribe('pointerEvent'))\n          }),\n          (t.prototype.deactivate = function () {\n            'undefined' != typeof dcl && (dcl.unsubscribe('pointerUp'), dcl.unsubscribe('pointerDown'), dcl.unsubscribe('pointerEvent'))\n          }),\n          t\n        )\n      })()\n      ;(e.PointerEventSystem = u), (e.pointerEventSystem = new u())\n      var l = (function () {\n        function t() {\n          this.handlerMap = {}\n        }\n        return (\n          (t.prototype.activate = function (t) {\n            t.eventManager.addListener(o.UUIDEvent, this, this.handleEvent),\n              t.eventManager.addListener(i.ComponentAdded, this, this.componentAdded),\n              t.eventManager.addListener(i.ComponentRemoved, this, this.componentRemoved),\n              'undefined' != typeof dcl && dcl.subscribe('uuidEvent')\n          }),\n          (t.prototype.deactivate = function () {\n            'undefined' != typeof dcl && dcl.unsubscribe('uuidEvent')\n          }),\n          (t.prototype.onAddEntity = function (t) {\n            for (var e in t.components) {\n              var n = t.components[e]\n              n instanceof r.OnUUIDEvent && (this.handlerMap[n.uuid] = n)\n            }\n          }),\n          (t.prototype.onRemoveEntity = function (t) {\n            for (var e in t.components) {\n              var n = t.components[e]\n              n instanceof r.OnUUIDEvent && delete this.handlerMap[n.uuid]\n            }\n          }),\n          (t.prototype.componentAdded = function (t) {\n            if (t.entity.isAddedToEngine()) {\n              var e = t.entity.components[t.componentName]\n              e instanceof r.OnUUIDEvent && (this.handlerMap[e.uuid] = e)\n            }\n          }),\n          (t.prototype.componentRemoved = function (t) {\n            t.entity.isAddedToEngine() && t.component instanceof r.OnUUIDEvent && delete this.handlerMap[t.component.uuid]\n          }),\n          (t.prototype.handleEvent = function (t) {\n            if (t.uuid in this.handlerMap) {\n              var e = this.handlerMap[t.uuid]\n              e && e.callback && 'call' in e.callback && e.callback(t.payload)\n            }\n          }),\n          t\n        )\n      })()\n      ;(e.UUIDEventSystem = l), (e.uuidEventSystem = new l())\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Vector2 = void 0)\n      var o = n(2),\n        r = n(6),\n        i = (function () {\n          function t(t, e) {\n            void 0 === t && (t = 0), void 0 === e && (e = 0), (this.x = t), (this.y = e)\n          }\n          return (\n            (t.Zero = function () {\n              return new t(0, 0)\n            }),\n            (t.One = function () {\n              return new t(1, 1)\n            }),\n            (t.Add = function (e, n) {\n              return new t(e.x, e.y).addInPlace(n)\n            }),\n            (t.FromArray = function (e, n) {\n              return void 0 === n && (n = 0), new t(e[n], e[n + 1])\n            }),\n            (t.FromArrayToRef = function (t, e, n) {\n              ;(n.x = t[e]), (n.y = t[e + 1])\n            }),\n            (t.CatmullRom = function (e, n, o, r, i) {\n              var s = i * i,\n                a = i * s\n              return new t(\n                0.5 * (2 * n.x + (-e.x + o.x) * i + (2 * e.x - 5 * n.x + 4 * o.x - r.x) * s + (-e.x + 3 * n.x - 3 * o.x + r.x) * a),\n                0.5 * (2 * n.y + (-e.y + o.y) * i + (2 * e.y - 5 * n.y + 4 * o.y - r.y) * s + (-e.y + 3 * n.y - 3 * o.y + r.y) * a)\n              )\n            }),\n            (t.Clamp = function (e, n, o) {\n              var r = e.x\n              r = (r = r > o.x ? o.x : r) < n.x ? n.x : r\n              var i = e.y\n              return new t(r, (i = (i = i > o.y ? o.y : i) < n.y ? n.y : i))\n            }),\n            (t.Hermite = function (e, n, o, r, i) {\n              var s = i * i,\n                a = i * s,\n                p = 2 * a - 3 * s + 1,\n                u = -2 * a + 3 * s,\n                l = a - 2 * s + i,\n                c = a - s\n              return new t(e.x * p + o.x * u + n.x * l + r.x * c, e.y * p + o.y * u + n.y * l + r.y * c)\n            }),\n            (t.Lerp = function (e, n, o) {\n              return new t(e.x + (n.x - e.x) * o, e.y + (n.y - e.y) * o)\n            }),\n            (t.Dot = function (t, e) {\n              return t.x * e.x + t.y * e.y\n            }),\n            (t.Normalize = function (e) {\n              var n = new t(e.x, e.y)\n              return n.normalize(), n\n            }),\n            (t.Minimize = function (e, n) {\n              return new t(e.x < n.x ? e.x : n.x, e.y < n.y ? e.y : n.y)\n            }),\n            (t.Maximize = function (e, n) {\n              return new t(e.x > n.x ? e.x : n.x, e.y > n.y ? e.y : n.y)\n            }),\n            (t.Transform = function (e, n) {\n              var o = t.Zero()\n              return t.TransformToRef(e, n, o), o\n            }),\n            (t.TransformToRef = function (t, e, n) {\n              var o = e.m,\n                r = t.x * o[0] + t.y * o[4] + o[12],\n                i = t.x * o[1] + t.y * o[5] + o[13]\n              ;(n.x = r), (n.y = i)\n            }),\n            (t.PointInTriangle = function (t, e, n, o) {\n              var r = 0.5 * (-n.y * o.x + e.y * (-n.x + o.x) + e.x * (n.y - o.y) + n.x * o.y),\n                i = r < 0 ? -1 : 1,\n                s = (e.y * o.x - e.x * o.y + (o.y - e.y) * t.x + (e.x - o.x) * t.y) * i,\n                a = (e.x * n.y - e.y * n.x + (e.y - n.y) * t.x + (n.x - e.x) * t.y) * i\n              return s > 0 && a > 0 && s + a < 2 * r * i\n            }),\n            (t.Distance = function (e, n) {\n              return Math.sqrt(t.DistanceSquared(e, n))\n            }),\n            (t.DistanceSquared = function (t, e) {\n              var n = t.x - e.x,\n                o = t.y - e.y\n              return n * n + o * o\n            }),\n            (t.Center = function (e, n) {\n              var o = t.Add(e, n)\n              return o.scaleInPlace(0.5), o\n            }),\n            (t.DistanceOfPointFromSegment = function (e, n, o) {\n              var r = t.DistanceSquared(n, o)\n              if (0 === r) return t.Distance(e, n)\n              var i = o.subtract(n),\n                s = Math.max(0, Math.min(1, t.Dot(e.subtract(n), i) / r)),\n                a = n.add(i.multiplyByFloats(s, s))\n              return t.Distance(e, a)\n            }),\n            (t.prototype.toString = function () {\n              return '{X: ' + this.x + ' Y:' + this.y + '}'\n            }),\n            (t.prototype.getClassName = function () {\n              return 'Vector2'\n            }),\n            (t.prototype.getHashCode = function () {\n              var t = this.x || 0\n              return (t = (397 * t) ^ (this.y || 0))\n            }),\n            (t.prototype.toArray = function (t, e) {\n              return void 0 === e && (e = 0), (t[e] = this.x), (t[e + 1] = this.y), this\n            }),\n            (t.prototype.asArray = function () {\n              var t = new Array()\n              return this.toArray(t, 0), t\n            }),\n            (t.prototype.copyFrom = function (t) {\n              return (this.x = t.x), (this.y = t.y), this\n            }),\n            (t.prototype.copyFromFloats = function (t, e) {\n              return (this.x = t), (this.y = e), this\n            }),\n            (t.prototype.set = function (t, e) {\n              return this.copyFromFloats(t, e)\n            }),\n            (t.prototype.add = function (e) {\n              return new t(this.x + e.x, this.y + e.y)\n            }),\n            (t.prototype.addToRef = function (t, e) {\n              return (e.x = this.x + t.x), (e.y = this.y + t.y), this\n            }),\n            (t.prototype.addInPlace = function (t) {\n              return (this.x += t.x), (this.y += t.y), this\n            }),\n            (t.prototype.addVector3 = function (e) {\n              return new t(this.x + e.x, this.y + e.y)\n            }),\n            (t.prototype.subtract = function (e) {\n              return new t(this.x - e.x, this.y - e.y)\n            }),\n            (t.prototype.subtractToRef = function (t, e) {\n              return (e.x = this.x - t.x), (e.y = this.y - t.y), this\n            }),\n            (t.prototype.subtractInPlace = function (t) {\n              return (this.x -= t.x), (this.y -= t.y), this\n            }),\n            (t.prototype.multiplyInPlace = function (t) {\n              return (this.x *= t.x), (this.y *= t.y), this\n            }),\n            (t.prototype.multiply = function (e) {\n              return new t(this.x * e.x, this.y * e.y)\n            }),\n            (t.prototype.multiplyToRef = function (t, e) {\n              return (e.x = this.x * t.x), (e.y = this.y * t.y), this\n            }),\n            (t.prototype.multiplyByFloats = function (e, n) {\n              return new t(this.x * e, this.y * n)\n            }),\n            (t.prototype.divide = function (e) {\n              return new t(this.x / e.x, this.y / e.y)\n            }),\n            (t.prototype.divideToRef = function (t, e) {\n              return (e.x = this.x / t.x), (e.y = this.y / t.y), this\n            }),\n            (t.prototype.divideInPlace = function (t) {\n              return this.divideToRef(t, this)\n            }),\n            (t.prototype.negate = function () {\n              return new t(-this.x, -this.y)\n            }),\n            (t.prototype.scaleInPlace = function (t) {\n              return (this.x *= t), (this.y *= t), this\n            }),\n            (t.prototype.scale = function (e) {\n              var n = new t(0, 0)\n              return this.scaleToRef(e, n), n\n            }),\n            (t.prototype.scaleToRef = function (t, e) {\n              return (e.x = this.x * t), (e.y = this.y * t), this\n            }),\n            (t.prototype.scaleAndAddToRef = function (t, e) {\n              return (e.x += this.x * t), (e.y += this.y * t), this\n            }),\n            (t.prototype.equals = function (t) {\n              return t && this.x === t.x && this.y === t.y\n            }),\n            (t.prototype.equalsWithEpsilon = function (t, e) {\n              return void 0 === e && (e = o.Epsilon), t && r.Scalar.WithinEpsilon(this.x, t.x, e) && r.Scalar.WithinEpsilon(this.y, t.y, e)\n            }),\n            (t.prototype.floor = function () {\n              return new t(Math.floor(this.x), Math.floor(this.y))\n            }),\n            (t.prototype.fract = function () {\n              return new t(this.x - Math.floor(this.x), this.y - Math.floor(this.y))\n            }),\n            (t.prototype.length = function () {\n              return Math.sqrt(this.x * this.x + this.y * this.y)\n            }),\n            (t.prototype.lengthSquared = function () {\n              return this.x * this.x + this.y * this.y\n            }),\n            (t.prototype.normalize = function () {\n              var t = this.length()\n              if (0 === t) return this\n              var e = 1 / t\n              return (this.x *= e), (this.y *= e), this\n            }),\n            (t.prototype.clone = function () {\n              return new t(this.x, this.y)\n            }),\n            t\n          )\n        })()\n      e.Vector2 = i\n    },\n    function (t, e, n) {\n      'use strict'\n      var o,\n        r =\n          (this && this.__extends) ||\n          ((o = function (t, e) {\n            return (o =\n              Object.setPrototypeOf ||\n              ({ __proto__: [] } instanceof Array &&\n                function (t, e) {\n                  t.__proto__ = e\n                }) ||\n              function (t, e) {\n                for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])\n              })(t, e)\n          }),\n          function (t, e) {\n            function n() {\n              this.constructor = t\n            }\n            o(t, e), (t.prototype = null === e ? Object.create(e) : ((n.prototype = e.prototype), new n()))\n          }),\n        i =\n          (this && this.__assign) ||\n          function () {\n            return (i =\n              Object.assign ||\n              function (t) {\n                for (var e, n = 1, o = arguments.length; n < o; n++)\n                  for (var r in (e = arguments[n])) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r])\n                return t\n              }).apply(this, arguments)\n          },\n        s =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.Input = e.GlobalPointerUp = e.GlobalPointerDown = e.PointerEventComponent = e.ActionButton = void 0)\n      var a,\n        p = n(27),\n        u = n(5),\n        l = n(0)\n      !(function (t) {\n        ;(t.POINTER = 'POINTER'), (t.PRIMARY = 'PRIMARY'), (t.SECONDARY = 'SECONDARY'), (t.ANY = 'ANY')\n      })((a = e.ActionButton || (e.ActionButton = {})))\n      var c = function (t) {\n        if (((this.callback = t), !t || !('apply' in t) || !('call' in t))) throw new Error('Callback is not a function')\n        y.ensureInstance()\n      }\n      e.PointerEventComponent = c\n      var h = (function (t) {\n        function e() {\n          return (null !== t && t.apply(this, arguments)) || this\n        }\n        return r(e, t), (e = s([l.Component('pointerDown')], e))\n      })(c)\n      e.GlobalPointerDown = h\n      var d = (function (t) {\n        function e() {\n          return (null !== t && t.apply(this, arguments)) || this\n        }\n        return r(e, t), (e = s([l.Component('pointerUp')], e))\n      })(c)\n      e.GlobalPointerUp = d\n      var f = function (t, e) {\n          ;(this.fn = t), (this.useRaycast = e)\n        },\n        y = (function () {\n          function t() {\n            var t, e\n            ;(this.subscriptions =\n              (((t = {})[a.POINTER] = { BUTTON_DOWN: [], BUTTON_UP: [] }),\n              (t[a.PRIMARY] = { BUTTON_DOWN: [], BUTTON_UP: [] }),\n              (t[a.SECONDARY] = { BUTTON_DOWN: [], BUTTON_UP: [] }),\n              (t[a.ANY] = { BUTTON_DOWN: [], BUTTON_UP: [] }),\n              t)),\n              (this.internalState =\n                (((e = {})[a.POINTER] = { BUTTON_DOWN: !1 }),\n                (e[a.PRIMARY] = { BUTTON_DOWN: !1 }),\n                (e[a.SECONDARY] = { BUTTON_DOWN: !1 }),\n                (e[a.ANY] = { BUTTON_DOWN: !1 }),\n                e))\n          }\n          return (\n            Object.defineProperty(t, 'instance', {\n              get: function () {\n                return t.ensureInstance(), t._instance\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.ensureInstance = function () {\n              t._instance || (t._instance = new t())\n            }),\n            (t.prototype.isButtonPressed = function (t) {\n              return this.internalState[t]\n            }),\n            (t.prototype.subscribe = function (t, e, n, o) {\n              var r = this\n              return (\n                this.subscriptions[e][t].push(new f(o, n)),\n                function () {\n                  return r.unsubscribe(t, e, o)\n                }\n              )\n            }),\n            (t.prototype.unsubscribe = function (t, e, n) {\n              var o = this.getSubscriptionId(t, e, n)\n              return o > -1 && this.subscriptions[e][t].splice(o, 1)\n            }),\n            (t.prototype.handlePointerEvent = function (t) {\n              var e = this.getPointerById(t.buttonId),\n                n = i(i({}, t), {\n                  button: e,\n                  direction: new u.Vector3().copyFrom(t.direction),\n                  origin: new u.Vector3().copyFrom(t.origin),\n                  hit: void 0,\n                }),\n                o = t.hit\n                  ? i(i({}, t.hit), {\n                      hitPoint: new u.Vector3().copyFrom(t.hit.hitPoint),\n                      normal: new u.Vector3().copyFrom(t.hit.normal),\n                      worldNormal: new u.Vector3().copyFrom(t.hit.worldNormal),\n                    })\n                  : void 0\n              if (t.type === p.InputEventType.DOWN) {\n                this.internalState[e].BUTTON_DOWN = !0\n                for (var r = 0; r < this.subscriptions[e].BUTTON_DOWN.length; r++) {\n                  ;(s = this.subscriptions[e].BUTTON_DOWN[r]).useRaycast ? (n.hit = o) : (n.hit = void 0), s.fn(n)\n                }\n                if (o && o.entityId && l.DisposableComponent.engine)\n                  (c = (a = l.DisposableComponent.engine.entities[o.entityId]) && a.getComponentOrNull(h)) && ((n.hit = o), c.callback(n))\n              } else {\n                this.internalState[e].BUTTON_DOWN = !1\n                for (r = 0; r < this.subscriptions[e].BUTTON_UP.length; r++) {\n                  var s\n                  ;(s = this.subscriptions[e].BUTTON_UP[r]).useRaycast ? (n.hit = o) : (n.hit = void 0), s.fn(n)\n                }\n                var a, c\n                if (o && o.entityId && l.DisposableComponent.engine)\n                  (c = (a = l.DisposableComponent.engine.entities[o.entityId]) && a.getComponentOrNull(d)) && ((n.hit = o), c.callback(n))\n              }\n            }),\n            (t.prototype.getSubscriptionId = function (t, e, n) {\n              for (var o = 0; o < this.subscriptions[e][t].length; o++) if (this.subscriptions[e][t][o].fn === n) return o\n              return -1\n            }),\n            (t.prototype.getPointerById = function (t) {\n              return 0 === t ? a.POINTER : 1 === t ? a.PRIMARY : a.SECONDARY\n            }),\n            t\n          )\n        })()\n      e.Input = y\n    },\n    function (t, e, n) {\n      'use strict'\n      var o =\n          (this && this.__read) ||\n          function (t, e) {\n            var n = 'function' == typeof Symbol && t[Symbol.iterator]\n            if (!n) return t\n            var o,\n              r,\n              i = n.call(t),\n              s = []\n            try {\n              for (; (void 0 === e || e-- > 0) && !(o = i.next()).done; ) s.push(o.value)\n            } catch (t) {\n              r = { error: t }\n            } finally {\n              try {\n                o && !o.done && (n = i.return) && n.call(i)\n              } finally {\n                if (r) throw r.error\n              }\n            }\n            return s\n          },\n        r =\n          (this && this.__spread) ||\n          function () {\n            for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e]))\n            return t\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Engine = void 0)\n      var i = n(7),\n        s = n(0),\n        a = n(8),\n        p = n(32),\n        u = n(1),\n        l = n(12),\n        c = (function () {\n          function t(t) {\n            ;(this.eventManager = new a.EventManager()),\n              (this.systems = []),\n              (this.entityLists = {}),\n              (this.addedSystems = []),\n              (this._entities = {}),\n              (this._disposableComponents = {}),\n              (this._componentGroups = {}),\n              (this.simpleSystems = []),\n              this.eventManager.addListener(i.ComponentAdded, this, this.componentAddedHandler),\n              this.eventManager.addListener(i.ComponentRemoved, this, this.componentRemovedHandler),\n              (this.rootEntity = t),\n              (this.firstPersonCameraEntity = new l.Entity()),\n              (this.firstPersonCameraEntity.uuid = 'FirstPersonCameraEntityReference'),\n              this.addEntity(this.firstPersonCameraEntity),\n              (this.avatarEntity = new l.Entity()),\n              (this.avatarEntity.uuid = 'AvatarEntityReference'),\n              this.addEntity(this.avatarEntity)\n          }\n          return (\n            Object.defineProperty(t.prototype, 'entities', {\n              get: function () {\n                return this._entities\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            Object.defineProperty(t.prototype, 'disposableComponents', {\n              get: function () {\n                return this._disposableComponents\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.prototype.addEntity = function (t) {\n              var e = t.getParent()\n              if (t.isAddedToEngine()) return t\n              for (var n in ((t.eventManager = this.eventManager),\n              (t.engine = this),\n              (this._entities[t.uuid] = t),\n              this.checkRequirementsAndAdd(t),\n              e\n                ? e.isAddedToEngine() ||\n                  e === this.rootEntity ||\n                  u.log('Engine: warning, added an entity with a parent not present in the engine. Parent id: ' + e.uuid)\n                : t.setParent(this.rootEntity),\n              (t.alive = !0),\n              t.children)) {\n                var o = t.children[n]\n                o && (o.isAddedToEngine() || this.addEntity(o))\n              }\n              return t\n            }),\n            (t.prototype.removeEntity = function (t) {\n              var e = t.uuid\n              if (t.isAddedToEngine()) {\n                for (var n in t.components) {\n                  var o = this._componentGroups[n]\n                  if (o) for (var r in o) o[r].removeEntity(t)\n                  delete this.entityLists[n][e]\n                }\n                for (var i = 0; i < this.simpleSystems.length; i++) {\n                  var s = this.simpleSystems[i]\n                  s.onRemoveEntity && s.onRemoveEntity(t)\n                }\n                for (var i in t.children) {\n                  var a = t.children[i]\n                  a && this.removeEntity(a)\n                }\n                return (t.alive = !1), (t.eventManager = null), delete this._entities[e], !0\n              }\n              for (var n in (u.log('Engine: Trying to remove non existent entity from engine.'),\n              t.isAddedToEngine()\n                ? u.log('Engine: Entity id: ' + e)\n                : u.log('Engine: Entity \"' + t.uuid + '\" has not been added to any engine yet.'),\n              u.log(\"Engine: Entity's components:\"),\n              t.components))\n                u.log(n)\n              return !1\n            }),\n            (t.prototype.addSystem = function (t, e) {\n              if ((void 0 === e && (e = 0), -1 !== this.addedSystems.indexOf(t)))\n                return u.log('Engine: Trying to add a system that is already added. Aborting'), t\n              if (this.systems.length > 0)\n                for (var n = 0; n < this.systems.length; n++) {\n                  var o = this.systems[n],\n                    r = n === this.systems.length - 1\n                  if (o.priority > e) {\n                    this.addedSystems.push(t), this.systems.splice(n, 0, { system: t, priority: e })\n                    break\n                  }\n                  if (r) {\n                    this.addedSystems.push(t), this.systems.splice(n + 1, 0, { system: t, priority: e })\n                    break\n                  }\n                }\n              else this.addedSystems.push(t), this.systems.splice(1, 0, { system: t, priority: e })\n              return this.registerSystem(t), t\n            }),\n            (t.prototype.removeSystem = function (t) {\n              var e = this.addedSystems.indexOf(t)\n              if (-1 !== e) {\n                ;(t.active = !1), t.deactivate && t.deactivate(), this.addedSystems.splice(e, 1)\n                for (var n = 0; n < this.systems.length; n++) {\n                  this.systems[n].system === t && this.systems.splice(n, 1)\n                }\n                return !0\n              }\n              return !1\n            }),\n            (t.prototype.update = function (t) {\n              for (var e in this.systems) {\n                var n = this.systems[e].system\n                if (n.active && n.update)\n                  try {\n                    n.update(t)\n                  } catch (t) {\n                    u.error(t)\n                  }\n              }\n              return this\n            }),\n            (t.prototype.getEntitiesWithComponent = function (t) {\n              var e = 'string' == typeof t ? t : s.getComponentName(t)\n              return e in this.entityLists ? this.entityLists[e] : (this.entityLists[e] = {})\n            }),\n            (t.prototype.registerComponent = function (t) {\n              var e = s.getComponentId(t),\n                n = s.getComponentName(t),\n                o = s.getComponentClassId(t)\n              ;(this._disposableComponents[e] = t),\n                null !== o &&\n                  (this.eventManager.fireEvent(new s.DisposableComponentCreated(e, n, o)),\n                  this.eventManager.fireEvent(new s.DisposableComponentUpdated(e, t)))\n            }),\n            (t.prototype.disposeComponent = function (t) {\n              var e = s.getComponentId(t)\n              return (\n                delete this._disposableComponents[e] &&\n                (this.eventManager.fireEvent(new s.DisposableComponentRemoved(e)), t.onDispose && t.onDispose(), !0)\n              )\n            }),\n            (t.prototype.updateComponent = function (t) {\n              this.eventManager.fireEvent(new s.DisposableComponentUpdated(s.getComponentId(t), t))\n            }),\n            (t.prototype.getComponentGroup = function () {\n              for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]\n              var n = new (p.ComponentGroup.bind.apply(p.ComponentGroup, r([void 0], t)))()\n              n.active = !0\n              for (var o = n.requiresNames, i = 0; i < o.length; i++) {\n                var s = o[i],\n                  a = this._componentGroups[s]\n                a || (this._componentGroups[s] = a = []), -1 === a.indexOf(n) && a.push(n)\n              }\n              for (var u in this._entities) this.checkRequirements(this._entities[u], n)\n              return n\n            }),\n            (t.prototype.removeComponentGroup = function (t) {\n              if (t.active) {\n                t.active = !1\n                for (var e = t.requiresNames, n = 0; n < e.length; n++) {\n                  var o = e[n],\n                    r = this._componentGroups[o]\n                  if (r) {\n                    var i = r.indexOf(t)\n                    ;-1 !== i && r.splice(i, 1)\n                  }\n                }\n                return !0\n              }\n              return !1\n            }),\n            (t.prototype.registerSystem = function (t) {\n              ;(t.active = !0), t.activate && t.activate(this), this.simpleSystems.push(t)\n            }),\n            (t.prototype.checkRequirementsAndAdd = function (t) {\n              if (t.isAddedToEngine()) {\n                for (var e in t.components) {\n                  e in this.entityLists || (this.entityLists[e] = {}), (this.entityLists[e][t.uuid] = t)\n                  var n = this._componentGroups[e]\n                  if (n) for (var o in n) this.checkRequirements(t, n[o])\n                }\n                for (var r = 0; r < this.simpleSystems.length; r++) {\n                  var i = this.simpleSystems[r]\n                  i.onAddEntity && i.onAddEntity(t)\n                }\n              }\n            }),\n            (t.prototype.checkRequirements = function (t, e) {\n              e.meetsRequirements(t) ? e.hasEntity(t) || e.addEntity(t) : e.hasEntity(t) && e.removeEntity(t)\n            }),\n            (t.prototype.componentAddedHandler = function (t) {\n              var e,\n                n = t.entity,\n                o = t.componentName\n              if (n.isAddedToEngine()) {\n                this.entityLists[o] ? (this.entityLists[o][n.uuid] = n) : (this.entityLists[o] = (((e = {})[n.uuid] = n), e))\n                var r = this._componentGroups[o]\n                if (r) for (var i in r) this.checkRequirements(n, r[i])\n              }\n            }),\n            (t.prototype.componentRemovedHandler = function (t) {\n              var e = t.entity,\n                n = t.componentName\n              if (e.isAddedToEngine()) {\n                delete this.entityLists[n][e.uuid]\n                var o = this._componentGroups[n]\n                if (o) for (var r in o) this.checkRequirements(e, o[r])\n              }\n            }),\n            t\n          )\n        })()\n      e.Engine = c\n    },\n    function (t, e, n) {\n      'use strict'\n      var o\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.UIValue = e.UIValueType = void 0),\n        (function (t) {\n          ;(t[(t.PERCENT = 0)] = 'PERCENT'), (t[(t.PIXELS = 1)] = 'PIXELS')\n        })((o = e.UIValueType || (e.UIValueType = {})))\n      var r = (function () {\n        function t(t) {\n          if (((this.type = o.PIXELS), 'string' == typeof t)) {\n            var e = t\n            e.indexOf('px') > -1 ? (this.type = o.PIXELS) : e.indexOf('%') > -1 && (this.type = o.PERCENT), (this.value = parseFloat(e))\n          } else this.value = t\n        }\n        return (\n          (t.prototype.toString = function () {\n            var t = this.value.toString()\n            return this.type === o.PERCENT ? (t += '%') : (t += 'px'), t\n          }),\n          t\n        )\n      })()\n      e.UIValue = r\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.executeTask = void 0)\n      var o = n(1),\n        r = Promise.resolve().then.bind(Promise.resolve())\n      e.executeTask = function (t) {\n        var e = r(t)\n        return (\n          (e.isComplete = !1),\n          e\n            .then(function (t) {\n              ;(e.isComplete = !0), (e.result = t), (e.didFail = !1)\n            })\n            .catch(function (t) {\n              ;(e.isComplete = !0), (e.error = t), (e.didFail = !0), o.error('executeTask: FAILED ' + t.toString(), t)\n            }),\n          e\n        )\n      }\n    },\n    function (t, e, n) {\n      'use strict'\n      var o =\n          (this && this.__awaiter) ||\n          function (t, e, n, o) {\n            return new (n || (n = Promise))(function (r, i) {\n              function s(t) {\n                try {\n                  p(o.next(t))\n                } catch (t) {\n                  i(t)\n                }\n              }\n              function a(t) {\n                try {\n                  p(o.throw(t))\n                } catch (t) {\n                  i(t)\n                }\n              }\n              function p(t) {\n                var e\n                t.done\n                  ? r(t.value)\n                  : ((e = t.value),\n                    e instanceof n\n                      ? e\n                      : new n(function (t) {\n                          t(e)\n                        })).then(s, a)\n              }\n              p((o = o.apply(t, e || [])).next())\n            })\n          },\n        r =\n          (this && this.__generator) ||\n          function (t, e) {\n            var n,\n              o,\n              r,\n              i,\n              s = {\n                label: 0,\n                sent: function () {\n                  if (1 & r[0]) throw r[1]\n                  return r[1]\n                },\n                trys: [],\n                ops: [],\n              }\n            return (\n              (i = { next: a(0), throw: a(1), return: a(2) }),\n              'function' == typeof Symbol &&\n                (i[Symbol.iterator] = function () {\n                  return this\n                }),\n              i\n            )\n            function a(i) {\n              return function (a) {\n                return (function (i) {\n                  if (n) throw new TypeError('Generator is already executing.')\n                  for (; s; )\n                    try {\n                      if (\n                        ((n = 1),\n                        o &&\n                          (r = 2 & i[0] ? o.return : i[0] ? o.throw || ((r = o.return) && r.call(o), 0) : o.next) &&\n                          !(r = r.call(o, i[1])).done)\n                      )\n                        return r\n                      switch (((o = 0), r && (i = [2 & i[0], r.value]), i[0])) {\n                        case 0:\n                        case 1:\n                          r = i\n                          break\n                        case 4:\n                          return s.label++, { value: i[1], done: !1 }\n                        case 5:\n                          s.label++, (o = i[1]), (i = [0])\n                          continue\n                        case 7:\n                          ;(i = s.ops.pop()), s.trys.pop()\n                          continue\n                        default:\n                          if (!((r = s.trys), (r = r.length > 0 && r[r.length - 1]) || (6 !== i[0] && 2 !== i[0]))) {\n                            s = 0\n                            continue\n                          }\n                          if (3 === i[0] && (!r || (i[1] > r[0] && i[1] < r[3]))) {\n                            s.label = i[1]\n                            break\n                          }\n                          if (6 === i[0] && s.label < r[1]) {\n                            ;(s.label = r[1]), (r = i)\n                            break\n                          }\n                          if (r && s.label < r[2]) {\n                            ;(s.label = r[2]), s.ops.push(i)\n                            break\n                          }\n                          r[2] && s.ops.pop(), s.trys.pop()\n                          continue\n                      }\n                      i = e.call(t, s)\n                    } catch (t) {\n                      ;(i = [6, t]), (o = 0)\n                    } finally {\n                      n = r = 0\n                    }\n                  if (5 & i[0]) throw i[1]\n                  return { value: i[0] ? i[1] : void 0, done: !0 }\n                })([i, a])\n              }\n            }\n          },\n        i =\n          (this && this.__values) ||\n          function (t) {\n            var e = 'function' == typeof Symbol && Symbol.iterator,\n              n = e && t[e],\n              o = 0\n            if (n) return n.call(t)\n            if (t && 'number' == typeof t.length)\n              return {\n                next: function () {\n                  return t && o >= t.length && (t = void 0), { value: t && t[o++], done: !t }\n                },\n              }\n            throw new TypeError(e ? 'Object is not iterable.' : 'Symbol.iterator is not defined.')\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Observable = e.MultiObserver = e.Observer = e.ObserverEventState = void 0)\n      var s = n(19),\n        a = (function () {\n          function t(t, e, n, o) {\n            void 0 === e && (e = !1), this.initalize(t, e, n, o)\n          }\n          return (\n            (t.prototype.initalize = function (t, e, n, o) {\n              return (\n                void 0 === e && (e = !1), (this.mask = t), (this.skipNextObservers = e), (this.target = n), (this.currentTarget = o), this\n              )\n            }),\n            t\n          )\n        })()\n      e.ObserverEventState = a\n      var p = function (t, e, n) {\n        void 0 === n && (n = null),\n          (this.callback = t),\n          (this.mask = e),\n          (this.scope = n),\n          (this.unregisterOnNextCall = !1),\n          (this._willBeUnregistered = !1)\n      }\n      e.Observer = p\n      var u = (function () {\n        function t() {\n          ;(this._observers = null), (this._observables = null)\n        }\n        return (\n          (t.Watch = function (e, n, o, r) {\n            var s, a\n            void 0 === o && (o = -1), void 0 === r && (r = null)\n            var p = new t()\n            ;(p._observers = new Array()), (p._observables = e)\n            try {\n              for (var u = i(e), l = u.next(); !l.done; l = u.next()) {\n                var c = l.value.add(n, o, !1, r)\n                c && p._observers.push(c)\n              }\n            } catch (t) {\n              s = { error: t }\n            } finally {\n              try {\n                l && !l.done && (a = u.return) && a.call(u)\n              } finally {\n                if (s) throw s.error\n              }\n            }\n            return p\n          }),\n          (t.prototype.dispose = function () {\n            if (this._observers && this._observables)\n              for (var t = 0; t < this._observers.length; t++) this._observables[t].remove(this._observers[t])\n            ;(this._observers = null), (this._observables = null)\n          }),\n          t\n        )\n      })()\n      e.MultiObserver = u\n      var l = (function () {\n        function t(t) {\n          ;(this._observers = new Array()), (this._onObserverAdded = null), (this._eventState = new a(0)), t && (this._onObserverAdded = t)\n        }\n        return (\n          (t.prototype.add = function (t, e, n, o, r) {\n            if ((void 0 === e && (e = -1), void 0 === n && (n = !1), void 0 === o && (o = null), void 0 === r && (r = !1), !t)) return null\n            var i = new p(t, e, o)\n            return (\n              (i.unregisterOnNextCall = r),\n              n ? this._observers.unshift(i) : this._observers.push(i),\n              this._onObserverAdded && this._onObserverAdded(i),\n              i\n            )\n          }),\n          (t.prototype.addOnce = function (t) {\n            return this.add(t, void 0, void 0, void 0, !0)\n          }),\n          (t.prototype.remove = function (t) {\n            return !!t && -1 !== this._observers.indexOf(t) && (this._deferUnregister(t), !0)\n          }),\n          (t.prototype.removeCallback = function (t, e) {\n            for (var n = 0; n < this._observers.length; n++)\n              if (this._observers[n].callback === t && (!e || e === this._observers[n].scope))\n                return this._deferUnregister(this._observers[n]), !0\n            return !1\n          }),\n          (t.prototype.notifyObservers = function (t, e, n, o) {\n            var r, s\n            if ((void 0 === e && (e = -1), !this._observers.length)) return !0\n            var a = this._eventState\n            ;(a.mask = e), (a.target = n), (a.currentTarget = o), (a.skipNextObservers = !1), (a.lastReturnValue = t)\n            try {\n              for (var p = i(this._observers), u = p.next(); !u.done; u = p.next()) {\n                var l = u.value\n                if (\n                  !l._willBeUnregistered &&\n                  (l.mask & e &&\n                    (l.scope ? (a.lastReturnValue = l.callback.apply(l.scope, [t, a])) : (a.lastReturnValue = l.callback(t, a)),\n                    l.unregisterOnNextCall && this._deferUnregister(l)),\n                  a.skipNextObservers)\n                )\n                  return !1\n              }\n            } catch (t) {\n              r = { error: t }\n            } finally {\n              try {\n                u && !u.done && (s = p.return) && s.call(p)\n              } finally {\n                if (r) throw r.error\n              }\n            }\n            return !0\n          }),\n          (t.prototype.notifyObserversWithPromise = function (t, e, n, o) {\n            var r = this\n            void 0 === e && (e = -1)\n            var i = Promise.resolve(t)\n            if (!this._observers.length) return i\n            var s = this._eventState\n            return (\n              (s.mask = e),\n              (s.target = n),\n              (s.currentTarget = o),\n              (s.skipNextObservers = !1),\n              this._observers.forEach(function (n) {\n                s.skipNextObservers ||\n                  n._willBeUnregistered ||\n                  (n.mask & e &&\n                    ((i = n.scope\n                      ? i.then(function (e) {\n                          return (s.lastReturnValue = e), n.callback.apply(n.scope, [t, s])\n                        })\n                      : i.then(function (e) {\n                          return (s.lastReturnValue = e), n.callback(t, s)\n                        })),\n                    n.unregisterOnNextCall && r._deferUnregister(n)))\n              }),\n              i.then(function () {\n                return t\n              })\n            )\n          }),\n          (t.prototype.notifyObserver = function (t, e, n) {\n            void 0 === n && (n = -1)\n            var o = this._eventState\n            ;(o.mask = n), (o.skipNextObservers = !1), t.callback(e, o)\n          }),\n          (t.prototype.hasObservers = function () {\n            return this._observers.length > 0\n          }),\n          (t.prototype.clear = function () {\n            ;(this._observers = new Array()), (this._onObserverAdded = null)\n          }),\n          (t.prototype.clone = function () {\n            var e = new t()\n            return (e._observers = this._observers.slice(0)), e\n          }),\n          (t.prototype.hasSpecificMask = function (t) {\n            var e, n\n            void 0 === t && (t = -1)\n            try {\n              for (var o = i(this._observers), r = o.next(); !r.done; r = o.next()) {\n                var s = r.value\n                if (s.mask & t || s.mask === t) return !0\n              }\n            } catch (t) {\n              e = { error: t }\n            } finally {\n              try {\n                r && !r.done && (n = o.return) && n.call(o)\n              } finally {\n                if (e) throw e.error\n              }\n            }\n            return !1\n          }),\n          (t.prototype._deferUnregister = function (t) {\n            var e = this\n            ;(t.unregisterOnNextCall = !1),\n              (t._willBeUnregistered = !0),\n              s.executeTask(function () {\n                return o(e, void 0, void 0, function () {\n                  return r(this, function (e) {\n                    return [2, this._remove(t)]\n                  })\n                })\n              })\n          }),\n          (t.prototype._remove = function (t) {\n            if (!t) return !1\n            var e = this._observers.indexOf(t)\n            return -1 !== e && (this._observers.splice(e, 1), !0)\n          }),\n          t\n        )\n      })()\n      e.Observable = l\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Vector4 = void 0)\n      var o = n(2),\n        r = n(6),\n        i = n(3),\n        s = (function () {\n          function t(t, e, n, o) {\n            ;(this.x = t), (this.y = e), (this.z = n), (this.w = o)\n          }\n          return (\n            (t.Add = function (e, n) {\n              return new t(e.x, e.y, e.z, e.w).addInPlace(n)\n            }),\n            (t.FromArray = function (e, n) {\n              return void 0 === n && (n = 0), new t(e[n], e[n + 1], e[n + 2], e[n + 3])\n            }),\n            (t.FromArrayToRef = function (t, e, n) {\n              ;(n.x = t[e]), (n.y = t[e + 1]), (n.z = t[e + 2]), (n.w = t[e + 3])\n            }),\n            (t.FromFloatArrayToRef = function (e, n, o) {\n              t.FromArrayToRef(e, n, o)\n            }),\n            (t.FromFloatsToRef = function (t, e, n, o, r) {\n              ;(r.x = t), (r.y = e), (r.z = n), (r.w = o)\n            }),\n            (t.Zero = function () {\n              return new t(0, 0, 0, 0)\n            }),\n            (t.One = function () {\n              return new t(1, 1, 1, 1)\n            }),\n            (t.Normalize = function (e) {\n              var n = t.Zero()\n              return t.NormalizeToRef(e, n), n\n            }),\n            (t.NormalizeToRef = function (t, e) {\n              e.copyFrom(t), e.normalize()\n            }),\n            (t.Minimize = function (e, n) {\n              var o = new t(e.x, e.y, e.z, e.w)\n              return o.minimizeInPlace(n), o\n            }),\n            (t.Maximize = function (e, n) {\n              var o = new t(e.x, e.y, e.z, e.w)\n              return o.maximizeInPlace(n), o\n            }),\n            (t.Distance = function (e, n) {\n              return Math.sqrt(t.DistanceSquared(e, n))\n            }),\n            (t.DistanceSquared = function (t, e) {\n              var n = t.x - e.x,\n                o = t.y - e.y,\n                r = t.z - e.z,\n                i = t.w - e.w\n              return n * n + o * o + r * r + i * i\n            }),\n            (t.Center = function (e, n) {\n              var o = t.Add(e, n)\n              return o.scaleInPlace(0.5), o\n            }),\n            (t.TransformNormal = function (e, n) {\n              var o = t.Zero()\n              return t.TransformNormalToRef(e, n, o), o\n            }),\n            (t.TransformNormalToRef = function (t, e, n) {\n              var o = e.m,\n                r = t.x * o[0] + t.y * o[4] + t.z * o[8],\n                i = t.x * o[1] + t.y * o[5] + t.z * o[9],\n                s = t.x * o[2] + t.y * o[6] + t.z * o[10]\n              ;(n.x = r), (n.y = i), (n.z = s), (n.w = t.w)\n            }),\n            (t.TransformNormalFromFloatsToRef = function (t, e, n, o, r, i) {\n              var s = r.m\n              ;(i.x = t * s[0] + e * s[4] + n * s[8]),\n                (i.y = t * s[1] + e * s[5] + n * s[9]),\n                (i.z = t * s[2] + e * s[6] + n * s[10]),\n                (i.w = o)\n            }),\n            (t.prototype.toString = function () {\n              return '{X: ' + this.x + ' Y:' + this.y + ' Z:' + this.z + ' W:' + this.w + '}'\n            }),\n            (t.prototype.getClassName = function () {\n              return 'Vector4'\n            }),\n            (t.prototype.getHashCode = function () {\n              var t = this.x || 0\n              return (t = (397 * (t = (397 * (t = (397 * t) ^ (this.y || 0))) ^ (this.z || 0))) ^ (this.w || 0))\n            }),\n            (t.prototype.asArray = function () {\n              var t = new Array()\n              return this.toArray(t, 0), t\n            }),\n            (t.prototype.toArray = function (t, e) {\n              return void 0 === e && (e = 0), (t[e] = this.x), (t[e + 1] = this.y), (t[e + 2] = this.z), (t[e + 3] = this.w), this\n            }),\n            (t.prototype.addInPlace = function (t) {\n              return (this.x += t.x), (this.y += t.y), (this.z += t.z), (this.w += t.w), this\n            }),\n            (t.prototype.add = function (e) {\n              return new t(this.x + e.x, this.y + e.y, this.z + e.z, this.w + e.w)\n            }),\n            (t.prototype.addToRef = function (t, e) {\n              return (e.x = this.x + t.x), (e.y = this.y + t.y), (e.z = this.z + t.z), (e.w = this.w + t.w), this\n            }),\n            (t.prototype.subtractInPlace = function (t) {\n              return (this.x -= t.x), (this.y -= t.y), (this.z -= t.z), (this.w -= t.w), this\n            }),\n            (t.prototype.subtract = function (e) {\n              return new t(this.x - e.x, this.y - e.y, this.z - e.z, this.w - e.w)\n            }),\n            (t.prototype.subtractToRef = function (t, e) {\n              return (e.x = this.x - t.x), (e.y = this.y - t.y), (e.z = this.z - t.z), (e.w = this.w - t.w), this\n            }),\n            (t.prototype.subtractFromFloats = function (e, n, o, r) {\n              return new t(this.x - e, this.y - n, this.z - o, this.w - r)\n            }),\n            (t.prototype.subtractFromFloatsToRef = function (t, e, n, o, r) {\n              return (r.x = this.x - t), (r.y = this.y - e), (r.z = this.z - n), (r.w = this.w - o), this\n            }),\n            (t.prototype.negate = function () {\n              return new t(-this.x, -this.y, -this.z, -this.w)\n            }),\n            (t.prototype.scaleInPlace = function (t) {\n              return (this.x *= t), (this.y *= t), (this.z *= t), (this.w *= t), this\n            }),\n            (t.prototype.scale = function (e) {\n              return new t(this.x * e, this.y * e, this.z * e, this.w * e)\n            }),\n            (t.prototype.scaleToRef = function (t, e) {\n              return (e.x = this.x * t), (e.y = this.y * t), (e.z = this.z * t), (e.w = this.w * t), this\n            }),\n            (t.prototype.scaleAndAddToRef = function (t, e) {\n              return (e.x += this.x * t), (e.y += this.y * t), (e.z += this.z * t), (e.w += this.w * t), this\n            }),\n            (t.prototype.equals = function (t) {\n              return t && this.x === t.x && this.y === t.y && this.z === t.z && this.w === t.w\n            }),\n            (t.prototype.equalsWithEpsilon = function (t, e) {\n              return (\n                void 0 === e && (e = o.Epsilon),\n                t &&\n                  r.Scalar.WithinEpsilon(this.x, t.x, e) &&\n                  r.Scalar.WithinEpsilon(this.y, t.y, e) &&\n                  r.Scalar.WithinEpsilon(this.z, t.z, e) &&\n                  r.Scalar.WithinEpsilon(this.w, t.w, e)\n              )\n            }),\n            (t.prototype.equalsToFloats = function (t, e, n, o) {\n              return this.x === t && this.y === e && this.z === n && this.w === o\n            }),\n            (t.prototype.multiplyInPlace = function (t) {\n              return (this.x *= t.x), (this.y *= t.y), (this.z *= t.z), (this.w *= t.w), this\n            }),\n            (t.prototype.multiply = function (e) {\n              return new t(this.x * e.x, this.y * e.y, this.z * e.z, this.w * e.w)\n            }),\n            (t.prototype.multiplyToRef = function (t, e) {\n              return (e.x = this.x * t.x), (e.y = this.y * t.y), (e.z = this.z * t.z), (e.w = this.w * t.w), this\n            }),\n            (t.prototype.multiplyByFloats = function (e, n, o, r) {\n              return new t(this.x * e, this.y * n, this.z * o, this.w * r)\n            }),\n            (t.prototype.divide = function (e) {\n              return new t(this.x / e.x, this.y / e.y, this.z / e.z, this.w / e.w)\n            }),\n            (t.prototype.divideToRef = function (t, e) {\n              return (e.x = this.x / t.x), (e.y = this.y / t.y), (e.z = this.z / t.z), (e.w = this.w / t.w), this\n            }),\n            (t.prototype.divideInPlace = function (t) {\n              return this.divideToRef(t, this)\n            }),\n            (t.prototype.minimizeInPlace = function (t) {\n              return (\n                t.x < this.x && (this.x = t.x),\n                t.y < this.y && (this.y = t.y),\n                t.z < this.z && (this.z = t.z),\n                t.w < this.w && (this.w = t.w),\n                this\n              )\n            }),\n            (t.prototype.maximizeInPlace = function (t) {\n              return (\n                t.x > this.x && (this.x = t.x),\n                t.y > this.y && (this.y = t.y),\n                t.z > this.z && (this.z = t.z),\n                t.w > this.w && (this.w = t.w),\n                this\n              )\n            }),\n            (t.prototype.floor = function () {\n              return new t(Math.floor(this.x), Math.floor(this.y), Math.floor(this.z), Math.floor(this.w))\n            }),\n            (t.prototype.fract = function () {\n              return new t(\n                this.x - Math.floor(this.x),\n                this.y - Math.floor(this.y),\n                this.z - Math.floor(this.z),\n                this.w - Math.floor(this.w)\n              )\n            }),\n            (t.prototype.length = function () {\n              return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z + this.w * this.w)\n            }),\n            (t.prototype.lengthSquared = function () {\n              return this.x * this.x + this.y * this.y + this.z * this.z + this.w * this.w\n            }),\n            (t.prototype.normalize = function () {\n              var t = this.length()\n              return 0 === t ? this : this.scaleInPlace(1 / t)\n            }),\n            (t.prototype.toVector3 = function () {\n              return new i.Vector3(this.x, this.y, this.z)\n            }),\n            (t.prototype.clone = function () {\n              return new t(this.x, this.y, this.z, this.w)\n            }),\n            (t.prototype.copyFrom = function (t) {\n              return (this.x = t.x), (this.y = t.y), (this.z = t.z), (this.w = t.w), this\n            }),\n            (t.prototype.copyFromFloats = function (t, e, n, o) {\n              return (this.x = t), (this.y = e), (this.z = n), (this.w = o), this\n            }),\n            (t.prototype.set = function (t, e, n, o) {\n              return this.copyFromFloats(t, e, n, o)\n            }),\n            (t.prototype.setAll = function (t) {\n              return (this.x = this.y = this.z = this.w = t), this\n            }),\n            t\n          )\n        })()\n      e.Vector4 = s\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Angle = void 0)\n      var o = (function () {\n        function t(t) {\n          ;(this._radians = t), this._radians < 0 && (this._radians += 2 * Math.PI)\n        }\n        return (\n          (t.BetweenTwoPoints = function (e, n) {\n            var o = n.subtract(e)\n            return new t(Math.atan2(o.y, o.x))\n          }),\n          (t.FromRadians = function (e) {\n            return new t(e)\n          }),\n          (t.FromDegrees = function (e) {\n            return new t((e * Math.PI) / 180)\n          }),\n          (t.prototype.degrees = function () {\n            return (180 * this._radians) / Math.PI\n          }),\n          (t.prototype.radians = function () {\n            return this._radians\n          }),\n          t\n        )\n      })()\n      e.Angle = o\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Arc2 = void 0)\n      var o = n(22),\n        r = n(15),\n        i = n(2),\n        s = function (t, e, n) {\n          ;(this.startPoint = t), (this.midPoint = e), (this.endPoint = n)\n          var s = Math.pow(e.x, 2) + Math.pow(e.y, 2),\n            a = (Math.pow(t.x, 2) + Math.pow(t.y, 2) - s) / 2,\n            p = (s - Math.pow(n.x, 2) - Math.pow(n.y, 2)) / 2,\n            u = (t.x - e.x) * (e.y - n.y) - (e.x - n.x) * (t.y - e.y)\n          ;(this.centerPoint = new r.Vector2((a * (e.y - n.y) - p * (t.y - e.y)) / u, ((t.x - e.x) * p - (e.x - n.x) * a) / u)),\n            (this.radius = this.centerPoint.subtract(this.startPoint).length()),\n            (this.startAngle = o.Angle.BetweenTwoPoints(this.centerPoint, this.startPoint))\n          var l = this.startAngle.degrees(),\n            c = o.Angle.BetweenTwoPoints(this.centerPoint, this.midPoint).degrees(),\n            h = o.Angle.BetweenTwoPoints(this.centerPoint, this.endPoint).degrees()\n          c - l > 180 && (c -= 360),\n            c - l < -180 && (c += 360),\n            h - c > 180 && (h -= 360),\n            h - c < -180 && (h += 360),\n            (this.orientation = c - l < 0 ? i.Orientation.CW : i.Orientation.CCW),\n            (this.angle = o.Angle.FromDegrees(this.orientation === i.Orientation.CW ? l - h : h - l))\n        }\n      e.Arc2 = s\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Color4 = void 0)\n      var o = n(6),\n        r = n(2),\n        i = (function () {\n          function t(t, e, n, o) {\n            void 0 === t && (t = 0),\n              void 0 === e && (e = 0),\n              void 0 === n && (n = 0),\n              void 0 === o && (o = 1),\n              (this.r = t),\n              (this.g = e),\n              (this.b = n),\n              (this.a = o)\n          }\n          return (\n            (t.FromHexString = function (e) {\n              if ('#' !== e.substring(0, 1) || 9 !== e.length) return new t(0, 0, 0, 0)\n              var n = parseInt(e.substring(1, 3), 16),\n                o = parseInt(e.substring(3, 5), 16),\n                r = parseInt(e.substring(5, 7), 16),\n                i = parseInt(e.substring(7, 9), 16)\n              return t.FromInts(n, o, r, i)\n            }),\n            (t.Lerp = function (e, n, o) {\n              var r = new t(0, 0, 0, 0)\n              return t.LerpToRef(e, n, o, r), r\n            }),\n            (t.LerpToRef = function (t, e, n, o) {\n              ;(o.r = t.r + (e.r - t.r) * n), (o.g = t.g + (e.g - t.g) * n), (o.b = t.b + (e.b - t.b) * n), (o.a = t.a + (e.a - t.a) * n)\n            }),\n            (t.Red = function () {\n              return new t(1, 0, 0, 1)\n            }),\n            (t.Green = function () {\n              return new t(0, 1, 0, 1)\n            }),\n            (t.Blue = function () {\n              return new t(0, 0, 1, 1)\n            }),\n            (t.Black = function () {\n              return new t(0, 0, 0, 1)\n            }),\n            (t.White = function () {\n              return new t(1, 1, 1, 1)\n            }),\n            (t.Purple = function () {\n              return new t(0.5, 0, 0.5, 1)\n            }),\n            (t.Magenta = function () {\n              return new t(1, 0, 1, 1)\n            }),\n            (t.Yellow = function () {\n              return new t(1, 1, 0, 1)\n            }),\n            (t.Gray = function () {\n              return new t(0.5, 0.5, 0.5, 1)\n            }),\n            (t.Teal = function () {\n              return new t(0, 1, 1, 1)\n            }),\n            (t.Clear = function () {\n              return new t(0, 0, 0, 0)\n            }),\n            (t.FromColor3 = function (e, n) {\n              return void 0 === n && (n = 1), new t(e.r, e.g, e.b, n)\n            }),\n            (t.FromArray = function (e, n) {\n              return void 0 === n && (n = 0), new t(e[n], e[n + 1], e[n + 2], e[n + 3])\n            }),\n            (t.FromInts = function (e, n, o, r) {\n              return new t(e / 255, n / 255, o / 255, r / 255)\n            }),\n            (t.CheckColors4 = function (t, e) {\n              if (t.length === 3 * e) {\n                for (var n = [], o = 0; o < t.length; o += 3) {\n                  var r = (o / 3) * 4\n                  ;(n[r] = t[o]), (n[r + 1] = t[o + 1]), (n[r + 2] = t[o + 2]), (n[r + 3] = 1)\n                }\n                return n\n              }\n              return t\n            }),\n            (t.prototype.addInPlace = function (t) {\n              return (this.r += t.r), (this.g += t.g), (this.b += t.b), (this.a += t.a), this\n            }),\n            (t.prototype.asArray = function () {\n              var t = new Array()\n              return this.toArray(t, 0), t\n            }),\n            (t.prototype.toArray = function (t, e) {\n              return void 0 === e && (e = 0), (t[e] = this.r), (t[e + 1] = this.g), (t[e + 2] = this.b), (t[e + 3] = this.a), this\n            }),\n            (t.prototype.add = function (e) {\n              return new t(this.r + e.r, this.g + e.g, this.b + e.b, this.a + e.a)\n            }),\n            (t.prototype.subtract = function (e) {\n              return new t(this.r - e.r, this.g - e.g, this.b - e.b, this.a - e.a)\n            }),\n            (t.prototype.subtractToRef = function (t, e) {\n              return (e.r = this.r - t.r), (e.g = this.g - t.g), (e.b = this.b - t.b), (e.a = this.a - t.a), this\n            }),\n            (t.prototype.scale = function (e) {\n              return new t(this.r * e, this.g * e, this.b * e, this.a * e)\n            }),\n            (t.prototype.scaleToRef = function (t, e) {\n              return (e.r = this.r * t), (e.g = this.g * t), (e.b = this.b * t), (e.a = this.a * t), this\n            }),\n            (t.prototype.scaleAndAddToRef = function (t, e) {\n              return (e.r += this.r * t), (e.g += this.g * t), (e.b += this.b * t), (e.a += this.a * t), this\n            }),\n            (t.prototype.clampToRef = function (t, e, n) {\n              return (\n                void 0 === t && (t = 0),\n                void 0 === e && (e = 1),\n                (n.r = o.Scalar.Clamp(this.r, t, e)),\n                (n.g = o.Scalar.Clamp(this.g, t, e)),\n                (n.b = o.Scalar.Clamp(this.b, t, e)),\n                (n.a = o.Scalar.Clamp(this.a, t, e)),\n                this\n              )\n            }),\n            (t.prototype.multiply = function (e) {\n              return new t(this.r * e.r, this.g * e.g, this.b * e.b, this.a * e.a)\n            }),\n            (t.prototype.multiplyToRef = function (t, e) {\n              return (e.r = this.r * t.r), (e.g = this.g * t.g), (e.b = this.b * t.b), (e.a = this.a * t.a), e\n            }),\n            (t.prototype.toString = function () {\n              return '{R: ' + this.r + ' G:' + this.g + ' B:' + this.b + ' A:' + this.a + '}'\n            }),\n            (t.prototype.getClassName = function () {\n              return 'Color4'\n            }),\n            (t.prototype.getHashCode = function () {\n              var t = this.r || 0\n              return (t = (397 * (t = (397 * (t = (397 * t) ^ (this.g || 0))) ^ (this.b || 0))) ^ (this.a || 0))\n            }),\n            (t.prototype.clone = function () {\n              return new t(this.r, this.g, this.b, this.a)\n            }),\n            (t.prototype.copyFrom = function (t) {\n              return (this.r = t.r), (this.g = t.g), (this.b = t.b), (this.a = t.a), this\n            }),\n            (t.prototype.copyFromFloats = function (t, e, n, o) {\n              return (this.r = t), (this.g = e), (this.b = n), (this.a = o), this\n            }),\n            (t.prototype.set = function (t, e, n, o) {\n              return this.copyFromFloats(t, e, n, o)\n            }),\n            (t.prototype.toHexString = function () {\n              var t = (255 * this.r) | 0,\n                e = (255 * this.g) | 0,\n                n = (255 * this.b) | 0,\n                r = (255 * this.a) | 0\n              return '#' + o.Scalar.ToHex(t) + o.Scalar.ToHex(e) + o.Scalar.ToHex(n) + o.Scalar.ToHex(r)\n            }),\n            (t.prototype.toLinearSpace = function () {\n              var e = new t()\n              return this.toLinearSpaceToRef(e), e\n            }),\n            (t.prototype.toLinearSpaceToRef = function (t) {\n              return (\n                (t.r = Math.pow(this.r, r.ToLinearSpace)),\n                (t.g = Math.pow(this.g, r.ToLinearSpace)),\n                (t.b = Math.pow(this.b, r.ToLinearSpace)),\n                (t.a = this.a),\n                this\n              )\n            }),\n            (t.prototype.toGammaSpace = function () {\n              var e = new t()\n              return this.toGammaSpaceToRef(e), e\n            }),\n            (t.prototype.toGammaSpaceToRef = function (t) {\n              return (\n                (t.r = Math.pow(this.r, r.ToGammaSpace)),\n                (t.g = Math.pow(this.g, r.ToGammaSpace)),\n                (t.b = Math.pow(this.b, r.ToGammaSpace)),\n                (t.a = this.a),\n                this\n              )\n            }),\n            t\n          )\n        })()\n      e.Color4 = i\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Plane = void 0)\n      var o = n(3),\n        r = n(11),\n        i = n(9),\n        s = (function () {\n          function t(t, e, n, r) {\n            ;(this.normal = new o.Vector3(t, e, n)), (this.d = r)\n          }\n          return (\n            (t.FromArray = function (e) {\n              return new t(e[0], e[1], e[2], e[3])\n            }),\n            (t.FromPoints = function (e, n, o) {\n              var r = new t(0, 0, 0, 0)\n              return r.copyFromPoints(e, n, o), r\n            }),\n            (t.FromPositionAndNormal = function (e, n) {\n              var o = new t(0, 0, 0, 0)\n              return n.normalize(), (o.normal = n), (o.d = -(n.x * e.x + n.y * e.y + n.z * e.z)), o\n            }),\n            (t.SignedDistanceToPlaneFromPositionAndNormal = function (t, e, n) {\n              var r = -(e.x * t.x + e.y * t.y + e.z * t.z)\n              return o.Vector3.Dot(n, e) + r\n            }),\n            (t.prototype.asArray = function () {\n              return [this.normal.x, this.normal.y, this.normal.z, this.d]\n            }),\n            (t.prototype.clone = function () {\n              return new t(this.normal.x, this.normal.y, this.normal.z, this.d)\n            }),\n            (t.prototype.getClassName = function () {\n              return 'Plane'\n            }),\n            (t.prototype.getHashCode = function () {\n              var t = this.normal.getHashCode()\n              return (t = (397 * t) ^ (this.d || 0))\n            }),\n            (t.prototype.normalize = function () {\n              var t = Math.sqrt(this.normal.x * this.normal.x + this.normal.y * this.normal.y + this.normal.z * this.normal.z),\n                e = 0\n              return 0 !== t && (e = 1 / t), (this.normal.x *= e), (this.normal.y *= e), (this.normal.z *= e), (this.d *= e), this\n            }),\n            (t.prototype.transform = function (e) {\n              var n = i.MathTmp.Matrix[0]\n              r.Matrix.TransposeToRef(e, n)\n              var o = n.m,\n                s = this.normal.x,\n                a = this.normal.y,\n                p = this.normal.z,\n                u = this.d\n              return new t(\n                s * o[0] + a * o[1] + p * o[2] + u * o[3],\n                s * o[4] + a * o[5] + p * o[6] + u * o[7],\n                s * o[8] + a * o[9] + p * o[10] + u * o[11],\n                s * o[12] + a * o[13] + p * o[14] + u * o[15]\n              )\n            }),\n            (t.prototype.dotCoordinate = function (t) {\n              return this.normal.x * t.x + this.normal.y * t.y + this.normal.z * t.z + this.d\n            }),\n            (t.prototype.copyFromPoints = function (t, e, n) {\n              var o,\n                r = e.x - t.x,\n                i = e.y - t.y,\n                s = e.z - t.z,\n                a = n.x - t.x,\n                p = n.y - t.y,\n                u = n.z - t.z,\n                l = i * u - s * p,\n                c = s * a - r * u,\n                h = r * p - i * a,\n                d = Math.sqrt(l * l + c * c + h * h)\n              return (\n                (o = 0 !== d ? 1 / d : 0),\n                (this.normal.x = l * o),\n                (this.normal.y = c * o),\n                (this.normal.z = h * o),\n                (this.d = -(this.normal.x * t.x + this.normal.y * t.y + this.normal.z * t.z)),\n                this\n              )\n            }),\n            (t.prototype.isFrontFacingTo = function (t, e) {\n              return o.Vector3.Dot(this.normal, t) <= e\n            }),\n            (t.prototype.signedDistanceTo = function (t) {\n              return o.Vector3.Dot(t, this.normal) + this.d\n            }),\n            t\n          )\n        })()\n      e.Plane = s\n    },\n    function (t, e, n) {\n      'use strict'\n      var o,\n        r =\n          (this && this.__extends) ||\n          ((o = function (t, e) {\n            return (o =\n              Object.setPrototypeOf ||\n              ({ __proto__: [] } instanceof Array &&\n                function (t, e) {\n                  t.__proto__ = e\n                }) ||\n              function (t, e) {\n                for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])\n              })(t, e)\n          }),\n          function (t, e) {\n            function n() {\n              this.constructor = t\n            }\n            o(t, e), (t.prototype = null === e ? Object.create(e) : ((n.prototype = e.prototype), new n()))\n          }),\n        i =\n          (this && this.__assign) ||\n          function () {\n            return (i =\n              Object.assign ||\n              function (t) {\n                for (var e, n = 1, o = arguments.length; n < o; n++)\n                  for (var r in (e = arguments[n])) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r])\n                return t\n              }).apply(this, arguments)\n          },\n        s =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.AnimationState = void 0)\n      var a = n(0),\n        p = n(1),\n        u = { looping: !0, speed: 1, weight: 1 },\n        l = (function (t) {\n          function e(e, n) {\n            void 0 === n && (n = u)\n            var o = t.call(this) || this\n            return (\n              (o.isAnimationClip = !0),\n              (o.looping = u.looping),\n              (o.weight = u.weight),\n              (o.playing = !1),\n              (o.shouldReset = !1),\n              (o.speed = u.speed),\n              (o.name = p.newId('AnimClip')),\n              (o.clip = e),\n              o.setParams(i({}, n)),\n              o\n            )\n          }\n          return (\n            r(e, t),\n            (e.prototype.setParams = function (t) {\n              return (this.looping = void 0 !== t.looping ? t.looping : this.looping), (this.speed = t.speed || this.speed), this\n            }),\n            (e.prototype.toJSON = function () {\n              var e = JSON.parse(JSON.stringify(t.prototype.toJSON.call(this)))\n              return this.shouldReset && (this.shouldReset = !1), e\n            }),\n            (e.prototype.play = function () {\n              this.playing = !0\n            }),\n            (e.prototype.pause = function () {\n              this.playing = !1\n            }),\n            (e.prototype.reset = function () {\n              this.shouldReset = !0\n            }),\n            (e.prototype.stop = function () {\n              this.reset(), this.pause()\n            }),\n            s([a.ObservableComponent.readonly], e.prototype, 'clip', void 0),\n            s([a.ObservableComponent.field], e.prototype, 'looping', void 0),\n            s([a.ObservableComponent.field], e.prototype, 'weight', void 0),\n            s([a.ObservableComponent.field], e.prototype, 'playing', void 0),\n            s([a.ObservableComponent.field], e.prototype, 'shouldReset', void 0),\n            s([a.ObservableComponent.field], e.prototype, 'speed', void 0),\n            s([a.ObservableComponent.readonly], e.prototype, 'name', void 0),\n            e\n          )\n        })(a.ObservableComponent)\n      e.AnimationState = l\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.AVATAR_OBSERVABLE = e.InputEventType = void 0),\n        (function (t) {\n          ;(t[(t.DOWN = 0)] = 'DOWN'), (t[(t.UP = 1)] = 'UP')\n        })(e.InputEventType || (e.InputEventType = {})),\n        (e.AVATAR_OBSERVABLE = 'AVATAR_OBSERVABLE')\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.PhysicsCast = void 0)\n      var o,\n        r = n(5),\n        i = n(1),\n        s = n(29)\n      !(function (t) {\n        ;(t.HitFirst = 'rqhf'), (t.HitAll = 'rqha')\n      })(o || (o = {}))\n      var a = (function () {\n        function t() {\n          this.queries = {}\n        }\n        return (\n          Object.defineProperty(t, 'instance', {\n            get: function () {\n              return t.ensureInstance(), t._instance\n            },\n            enumerable: !1,\n            configurable: !0,\n          }),\n          (t.ensureInstance = function () {\n            t._instance || (t._instance = new t())\n          }),\n          (t.prototype.getRayFromCamera = function (t) {\n            var e = s.Camera.instance.rotation,\n              n = r.Matrix.Identity()\n            e.toRotationMatrix(n)\n            var o = r.Vector3.TransformCoordinates(r.Vector3.Forward(), n)\n            return { origin: s.Camera.instance.position, direction: o, distance: t }\n          }),\n          (t.prototype.getRayFromPositions = function (t, e) {\n            var n = e.subtract(t),\n              o = n.length()\n            return { origin: t, direction: n.normalize(), distance: o }\n          }),\n          (t.prototype.hitFirst = function (t, e, n) {\n            var r = 'number' == typeof n ? o.HitFirst + n : i.uuid()\n            ;(this.queries[r] = e), dcl && dcl.query('raycast', { queryId: r, queryType: 'HitFirst', ray: t })\n          }),\n          (t.prototype.hitAll = function (t, e, n) {\n            var r = 'number' == typeof n ? o.HitAll + n : i.uuid()\n            ;(this.queries[r] = e), dcl && dcl.query('raycast', { queryId: r, queryType: 'HitAll', ray: t })\n          }),\n          (t.prototype.hitFirstAvatar = function (t, e) {\n            i.log('not implemented yet')\n          }),\n          (t.prototype.hitAllAvatars = function (t, e) {\n            i.log('not implemented yet')\n          }),\n          (t.prototype.handleRaycastHitFirstResponse = function (t) {\n            this.queries[t.payload.queryId](t.payload.payload), delete this.queries[t.payload.queryId]\n          }),\n          (t.prototype.handleRaycastHitAllResponse = function (t) {\n            this.queries[t.payload.queryId](t.payload.payload), delete this.queries[t.payload.queryId]\n          }),\n          t\n        )\n      })()\n      e.PhysicsCast = a\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Camera = void 0)\n      var o = n(5),\n        r = (function () {\n          function t() {\n            var t = this\n            ;(this.position = new o.Vector3()),\n              (this.rotation = new o.Quaternion()),\n              (this.feetPosition = new o.Vector3()),\n              (this.worldPosition = new o.Vector3()),\n              (this.lastEventPosition = { x: 0, y: 0, z: 0 }),\n              (this.lastEventWorldPosition = { x: 0, y: 0, z: 0 }),\n              (this.lastEventRotation = { x: 0, y: 0, z: 0, w: 1 }),\n              (this._playerHeight = 1.6),\n              'undefined' != typeof dcl &&\n                (dcl.subscribe('positionChanged'),\n                dcl.subscribe('rotationChanged'),\n                dcl.onEvent(function (e) {\n                  switch (e.type) {\n                    case 'positionChanged':\n                      t.positionChanged(e.data)\n                      break\n                    case 'rotationChanged':\n                      t.rotationChanged(e.data)\n                  }\n                })),\n              Object.defineProperty(this.position, 'x', {\n                get: function () {\n                  return t.lastEventPosition.x\n                },\n              }),\n              Object.defineProperty(this.position, 'y', {\n                get: function () {\n                  return t.lastEventPosition.y\n                },\n              }),\n              Object.defineProperty(this.position, 'z', {\n                get: function () {\n                  return t.lastEventPosition.z\n                },\n              }),\n              Object.defineProperty(this.worldPosition, 'x', {\n                get: function () {\n                  return t.lastEventWorldPosition.x\n                },\n              }),\n              Object.defineProperty(this.worldPosition, 'y', {\n                get: function () {\n                  return t.lastEventWorldPosition.y\n                },\n              }),\n              Object.defineProperty(this.worldPosition, 'z', {\n                get: function () {\n                  return t.lastEventWorldPosition.z\n                },\n              }),\n              Object.defineProperty(this.feetPosition, 'x', {\n                get: function () {\n                  return t.lastEventPosition.x\n                },\n              }),\n              Object.defineProperty(this.feetPosition, 'y', {\n                get: function () {\n                  return t.lastEventPosition.y - t.playerHeight\n                },\n              }),\n              Object.defineProperty(this.feetPosition, 'z', {\n                get: function () {\n                  return t.lastEventPosition.z\n                },\n              }),\n              Object.defineProperty(this.rotation, 'x', {\n                get: function () {\n                  return t.lastEventRotation.x\n                },\n              }),\n              Object.defineProperty(this.rotation, 'y', {\n                get: function () {\n                  return t.lastEventRotation.y\n                },\n              }),\n              Object.defineProperty(this.rotation, 'z', {\n                get: function () {\n                  return t.lastEventRotation.z\n                },\n              }),\n              Object.defineProperty(this.rotation, 'w', {\n                get: function () {\n                  return t.lastEventRotation.w\n                },\n              })\n          }\n          return (\n            Object.defineProperty(t, 'instance', {\n              get: function () {\n                return t._instance || (t._instance = new t()), t._instance\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            Object.defineProperty(t.prototype, 'playerHeight', {\n              get: function () {\n                return this._playerHeight\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            (t.prototype.positionChanged = function (t) {\n              ;(this.lastEventPosition = t.position),\n                (this.lastEventWorldPosition = t.cameraPosition),\n                (this._playerHeight = t.playerHeight)\n            }),\n            (t.prototype.rotationChanged = function (t) {\n              this.lastEventRotation = t.quaternion\n            }),\n            t\n          )\n        })()\n      e.Camera = r\n    },\n    function (t, e, n) {\n      'use strict'\n      var o =\n          (this && this.__createBinding) ||\n          (Object.create\n            ? function (t, e, n, o) {\n                void 0 === o && (o = n),\n                  Object.defineProperty(t, o, {\n                    enumerable: !0,\n                    get: function () {\n                      return e[n]\n                    },\n                  })\n              }\n            : function (t, e, n, o) {\n                void 0 === o && (o = n), (t[o] = e[n])\n              }),\n        r =\n          (this && this.__exportStar) ||\n          function (t, e) {\n            for (var n in t) 'default' === n || Object.prototype.hasOwnProperty.call(e, n) || o(e, t, n)\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.engine = void 0),\n        r(n(31), e),\n        r(n(17), e),\n        r(n(0), e),\n        r(n(12), e),\n        r(n(7), e),\n        r(n(19), e),\n        r(n(1), e),\n        r(n(20), e),\n        r(n(18), e),\n        r(n(8), e),\n        r(n(33), e),\n        r(n(34), e)\n      var i = n(35),\n        s = n(17),\n        a = new (n(12).Entity)('scene')\n      a.uuid = '0'\n      var p = new s.Engine(a)\n      ;(e.engine = p),\n        (n(0).DisposableComponent.engine = p),\n        'undefined' != typeof dcl && p.addSystem(new i.DecentralandSynchronizationSystem(dcl), 1 / 0)\n      var u = n(14)\n      p.addSystem(u.uuidEventSystem),\n        p.addSystem(u.pointerEventSystem),\n        p.addSystem(u.raycastEventSystem),\n        r(n(27), e),\n        r(n(4), e),\n        r(n(14), e),\n        r(n(13), e),\n        r(n(29), e),\n        r(n(5), e),\n        r(n(26), e),\n        r(n(16), e),\n        r(n(44), e),\n        r(n(45), e),\n        r(n(46), e),\n        r(n(47), e),\n        r(n(48), e),\n        r(n(49), e),\n        r(n(28), e)\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Attachable = void 0)\n      var o = (function () {\n        function t() {}\n        return (\n          (t.AVATAR = {\n            getEntityRepresentation: function (t) {\n              return t.avatarEntity\n            },\n          }),\n          (t.FIRST_PERSON_CAMERA = {\n            getEntityRepresentation: function (t) {\n              return t.firstPersonCameraEntity\n            },\n          }),\n          t\n        )\n      })()\n      e.Attachable = o\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.ComponentGroup = void 0)\n      var o = n(0),\n        r = (function () {\n          function t() {\n            for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]\n            if (((this.entities = []), (this.active = !1), (this._requiresNames = []), !t))\n              throw new Error('ComponentGroup: Could not load the requires list')\n            if (!(t instanceof Array)) throw new Error('ComponentGroup: requires list is not an Array')\n            Object.defineProperty(this, 'requires', {\n              get: function () {\n                return t.slice()\n              },\n            }),\n              Object.defineProperty(this, 'requiresNames', {\n                get: function () {\n                  return this._requiresNames.slice()\n                },\n              })\n            for (\n              var n = function (e) {\n                  var n = t[e],\n                    i = null\n                  if (!n) throw new Error('ComponentGroup: the required component at location ' + e + ' is invalid')\n                  try {\n                    i = o.getComponentName(n)\n                  } catch (t) {\n                    throw new Error(\n                      'ComponentGroup: the required component at location ' +\n                        e +\n                        ' is not registered as a @Component. Remember to provide the class of the component, not the name'\n                    )\n                  }\n                  if (\n                    r._requiresNames.some(function (t) {\n                      return t === i\n                    })\n                  )\n                    throw new Error('ComponentGroup: the required component list has a repeated name ' + i)\n                  r._requiresNames.push(i)\n                },\n                r = this,\n                i = 0;\n              i < t.length;\n              i++\n            )\n              n(i)\n          }\n          return (\n            (t.prototype.hasEntity = function (t) {\n              return !!t.isAddedToEngine() && -1 !== this.entities.indexOf(t)\n            }),\n            (t.prototype.addEntity = function (t) {\n              if (!t.isAddedToEngine()) throw new TypeError('ComponentGroup: Cannot add a entity that is not added to the engine')\n              ;-1 === this.entities.indexOf(t) && this.entities.push(t)\n            }),\n            (t.prototype.removeEntity = function (t) {\n              var e = this.entities.indexOf(t)\n              ;-1 !== e && this.entities.splice(e, 1)\n            }),\n            (t.prototype.componentRemoved = function (t, e) {\n              ;-1 !== this._requiresNames.indexOf(e) && this.removeEntity(t)\n            }),\n            (t.prototype.meetsRequirements = function (t) {\n              for (var e = 0; e < this._requiresNames.length; e++) {\n                if (!(this._requiresNames[e] in t.components)) return !1\n              }\n              return !0\n            }),\n            t\n          )\n        })()\n      e.ComponentGroup = r\n    },\n    function (t, e, n) {\n      'use strict'\n      var o\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.teleportTo = void 0),\n        (e.teleportTo = function (t) {\n          var e, n\n          ;(e = 'requestTeleport'),\n            (n = [t]),\n            void 0 === o && 'undefined' != typeof dcl && (o = dcl.loadModule('@decentraland/UserActionModule')),\n            void 0 !== o &&\n              'undefined' != typeof dcl &&\n              o.then(function (t) {\n                dcl.callRpc(t.rpcHandle, e, n)\n              })\n        })\n    },\n    function (t, e, n) {\n      'use strict'\n      var o\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.movePlayerTo = void 0),\n        (e.movePlayerTo = function (t, e) {\n          var n, r\n          ;(n = 'movePlayerTo'),\n            (r = [t, e]),\n            void 0 === o && 'undefined' != typeof dcl && (o = dcl.loadModule('@decentraland/RestrictedActionModule')),\n            void 0 !== o &&\n              'undefined' != typeof dcl &&\n              o.then(function (t) {\n                dcl.callRpc(t.rpcHandle, n, r)\n              })\n        })\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.DecentralandSynchronizationSystem = void 0)\n      var o = n(0),\n        r = n(7),\n        i = n(13),\n        s = (function () {\n          function t(t) {\n            ;(this.dcl = t), (this.cachedComponents = {})\n          }\n          return (\n            (t.prototype.activate = function (t) {\n              var e = this\n              ;(this.engine = t),\n                t.eventManager.addListener(r.ComponentAdded, this, this.componentAdded),\n                t.eventManager.addListener(r.ComponentRemoved, this, this.componentRemoved),\n                t.eventManager.addListener(o.DisposableComponentCreated, this, this.disposableComponentCreated),\n                t.eventManager.addListener(o.DisposableComponentRemoved, this, this.disposableComponentRemoved),\n                t.eventManager.addListener(o.DisposableComponentUpdated, this, this.disposableComponentUpdated),\n                t.eventManager.addListener(r.ParentChanged, this, this.parentChanged)\n              var n = t.rootEntity.uuid\n              this.dcl.addEntity(n),\n                this.dcl.onUpdate(function (n) {\n                  t.update(n), e.presentEntities()\n                }),\n                this.dcl.onEvent(function (e) {\n                  var n = e.data\n                  switch (e.type) {\n                    case 'uuidEvent':\n                      t.eventManager.fireEvent(new i.UUIDEvent(n.uuid, n.payload))\n                      break\n                    case 'raycastResponse':\n                      ;('HitFirst' === n.queryType || 'HitAll' === n.queryType) && t.eventManager.fireEvent(new i.RaycastResponse(n))\n                      break\n                    case 'pointerEvent':\n                      t.eventManager.fireEvent(new i.PointerEvent(n.payload))\n                  }\n                })\n            }),\n            (t.prototype.onAddEntity = function (t) {\n              if (t && t.isAddedToEngine()) {\n                var e = t.uuid,\n                  n = t.getParent()\n                for (var r in (this.dcl.addEntity(e), n && this.dcl.setParent(e, n.uuid), (this.cachedComponents[e] = {}), t.components)) {\n                  var i = t.components[r],\n                    s = o.getComponentClassId(i)\n                  if (null !== s)\n                    if (o.isDisposableComponent(i)) this.dcl.attachEntityComponent(t.uuid, r, o.getComponentId(i))\n                    else {\n                      var a = JSON.stringify(i)\n                      this.dcl.updateEntityComponent(e, r, s, a), (this.cachedComponents[e][r] = a)\n                    }\n                }\n              }\n            }),\n            (t.prototype.onRemoveEntity = function (t) {\n              if (t.isAddedToEngine()) {\n                var e = t.uuid\n                this.dcl.removeEntity(e), delete this.cachedComponents[e]\n              }\n            }),\n            (t.prototype.presentEntities = function () {\n              for (var t in this.engine.entities) {\n                var e = this.engine.entities[t]\n                for (var n in e.components) {\n                  var r = e.components[n],\n                    i = o.getComponentClassId(r)\n                  if (null !== i && !o.isDisposableComponent(r)) {\n                    var s = this.getJsonIfDirty(e.uuid, n, r)\n                    s && (this.dcl.updateEntityComponent(e.uuid, n, i, s), this.clearDirty(e.uuid, n, r, s))\n                  }\n                }\n              }\n              for (var a in this.engine.disposableComponents) {\n                ;(r = this.engine.disposableComponents[a]) instanceof o.ObservableComponent &&\n                  r.dirty &&\n                  (this.dcl.componentUpdated(a, JSON.stringify(r)), (r.dirty = !1))\n              }\n            }),\n            (t.prototype.componentAdded = function (t) {\n              if (t.entity.isAddedToEngine()) {\n                var e = t.entity.components[t.componentName]\n                if (o.isDisposableComponent(e)) this.dcl.attachEntityComponent(t.entity.uuid, t.componentName, o.getComponentId(e))\n                else if (null !== t.classId) {\n                  var n = JSON.stringify(e)\n                  this.dcl.updateEntityComponent(t.entity.uuid, t.componentName, t.classId, n),\n                    (this.cachedComponents[t.entity.uuid][t.componentName] = n)\n                }\n              }\n            }),\n            (t.prototype.componentRemoved = function (t) {\n              t.entity.isAddedToEngine() &&\n                (this.dcl.removeEntityComponent(t.entity.uuid, t.componentName),\n                delete this.cachedComponents[t.entity.uuid][t.componentName])\n            }),\n            (t.prototype.disposableComponentCreated = function (t) {\n              this.dcl.componentCreated(t.componentId, t.componentName, t.classId)\n            }),\n            (t.prototype.disposableComponentRemoved = function (t) {\n              this.dcl.componentDisposed(t.componentId)\n            }),\n            (t.prototype.disposableComponentUpdated = function (t) {\n              this.dcl.componentUpdated(t.componentId, JSON.stringify(t.component))\n            }),\n            (t.prototype.parentChanged = function (t) {\n              this.dcl.setParent(t.entity.uuid, t.parent ? t.parent.uuid : '0')\n            }),\n            (t.prototype.getJsonIfDirty = function (t, e, n) {\n              var o = JSON.stringify(n)\n              return o !== this.cachedComponents[t][e] && o\n            }),\n            (t.prototype.clearDirty = function (t, e, n, o) {\n              this.cachedComponents[t][e] = o\n            }),\n            t\n          )\n        })()\n      e.DecentralandSynchronizationSystem = s\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Axis = void 0)\n      var o = n(3),\n        r = (function () {\n          function t() {}\n          return (t.X = new o.Vector3(1, 0, 0)), (t.Y = new o.Vector3(0, 1, 0)), (t.Z = new o.Vector3(0, 0, 1)), t\n        })()\n      e.Axis = r\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.BezierCurve = void 0)\n      var o = (function () {\n        function t() {}\n        return (\n          (t.Interpolate = function (t, e, n, o, r) {\n            for (var i = 1 - 3 * o + 3 * e, s = 3 * o - 6 * e, a = 3 * e, p = t, u = 0; u < 5; u++) {\n              var l = p * p\n              ;(p -= (i * (l * p) + s * l + a * p - t) * (1 / (3 * i * l + 2 * s * p + a))), (p = Math.min(1, Math.max(0, p)))\n            }\n            return 3 * Math.pow(1 - p, 2) * p * n + 3 * (1 - p) * Math.pow(p, 2) * r + Math.pow(p, 3)\n          }),\n          t\n        )\n      })()\n      e.BezierCurve = o\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Color3 = void 0)\n      var o = n(2),\n        r = n(24),\n        i = n(6),\n        s = (function () {\n          function t(t, e, n) {\n            void 0 === t && (t = 0), void 0 === e && (e = 0), void 0 === n && (n = 0), (this.r = t), (this.g = e), (this.b = n)\n          }\n          return (\n            (t.FromHexString = function (e) {\n              if ('#' !== e.substring(0, 1) || 7 !== e.length) return new t(0, 0, 0)\n              var n = parseInt(e.substring(1, 3), 16),\n                o = parseInt(e.substring(3, 5), 16),\n                r = parseInt(e.substring(5, 7), 16)\n              return t.FromInts(n, o, r)\n            }),\n            (t.FromArray = function (e, n) {\n              return void 0 === n && (n = 0), new t(e[n], e[n + 1], e[n + 2])\n            }),\n            (t.FromInts = function (e, n, o) {\n              return new t(e / 255, n / 255, o / 255)\n            }),\n            (t.Lerp = function (e, n, o) {\n              var r = new t(0, 0, 0)\n              return t.LerpToRef(e, n, o, r), r\n            }),\n            (t.LerpToRef = function (t, e, n, o) {\n              ;(o.r = t.r + (e.r - t.r) * n), (o.g = t.g + (e.g - t.g) * n), (o.b = t.b + (e.b - t.b) * n)\n            }),\n            (t.Red = function () {\n              return new t(1, 0, 0)\n            }),\n            (t.Green = function () {\n              return new t(0, 1, 0)\n            }),\n            (t.Blue = function () {\n              return new t(0, 0, 1)\n            }),\n            (t.Black = function () {\n              return new t(0, 0, 0)\n            }),\n            (t.White = function () {\n              return new t(1, 1, 1)\n            }),\n            (t.Purple = function () {\n              return new t(0.5, 0, 0.5)\n            }),\n            (t.Magenta = function () {\n              return new t(1, 0, 1)\n            }),\n            (t.Yellow = function () {\n              return new t(1, 1, 0)\n            }),\n            (t.Gray = function () {\n              return new t(0.5, 0.5, 0.5)\n            }),\n            (t.Teal = function () {\n              return new t(0, 1, 1)\n            }),\n            (t.Random = function () {\n              return new t(Math.random(), Math.random(), Math.random())\n            }),\n            (t.prototype.toString = function () {\n              return '{R: ' + this.r + ' G:' + this.g + ' B:' + this.b + '}'\n            }),\n            (t.prototype.getClassName = function () {\n              return 'Color3'\n            }),\n            (t.prototype.getHashCode = function () {\n              var t = this.r || 0\n              return (t = (397 * (t = (397 * t) ^ (this.g || 0))) ^ (this.b || 0))\n            }),\n            (t.prototype.toArray = function (t, e) {\n              return void 0 === e && (e = 0), (t[e] = this.r), (t[e + 1] = this.g), (t[e + 2] = this.b), this\n            }),\n            (t.prototype.toColor4 = function (t) {\n              return void 0 === t && (t = 1), new r.Color4(this.r, this.g, this.b, t)\n            }),\n            (t.prototype.asArray = function () {\n              var t = new Array()\n              return this.toArray(t, 0), t\n            }),\n            (t.prototype.toLuminance = function () {\n              return 0.3 * this.r + 0.59 * this.g + 0.11 * this.b\n            }),\n            (t.prototype.multiply = function (e) {\n              return new t(this.r * e.r, this.g * e.g, this.b * e.b)\n            }),\n            (t.prototype.multiplyToRef = function (t, e) {\n              return (e.r = this.r * t.r), (e.g = this.g * t.g), (e.b = this.b * t.b), this\n            }),\n            (t.prototype.equals = function (t) {\n              return t && this.r === t.r && this.g === t.g && this.b === t.b\n            }),\n            (t.prototype.equalsFloats = function (t, e, n) {\n              return this.r === t && this.g === e && this.b === n\n            }),\n            (t.prototype.scale = function (e) {\n              return new t(this.r * e, this.g * e, this.b * e)\n            }),\n            (t.prototype.scaleToRef = function (t, e) {\n              return (e.r = this.r * t), (e.g = this.g * t), (e.b = this.b * t), this\n            }),\n            (t.prototype.scaleAndAddToRef = function (t, e) {\n              return (e.r += this.r * t), (e.g += this.g * t), (e.b += this.b * t), this\n            }),\n            (t.prototype.clampToRef = function (t, e, n) {\n              return (\n                void 0 === t && (t = 0),\n                void 0 === e && (e = 1),\n                (n.r = i.Scalar.Clamp(this.r, t, e)),\n                (n.g = i.Scalar.Clamp(this.g, t, e)),\n                (n.b = i.Scalar.Clamp(this.b, t, e)),\n                this\n              )\n            }),\n            (t.prototype.add = function (e) {\n              return new t(this.r + e.r, this.g + e.g, this.b + e.b)\n            }),\n            (t.prototype.addToRef = function (t, e) {\n              return (e.r = this.r + t.r), (e.g = this.g + t.g), (e.b = this.b + t.b), this\n            }),\n            (t.prototype.subtract = function (e) {\n              return new t(this.r - e.r, this.g - e.g, this.b - e.b)\n            }),\n            (t.prototype.subtractToRef = function (t, e) {\n              return (e.r = this.r - t.r), (e.g = this.g - t.g), (e.b = this.b - t.b), this\n            }),\n            (t.prototype.clone = function () {\n              return new t(this.r, this.g, this.b)\n            }),\n            (t.prototype.copyFrom = function (t) {\n              return (this.r = t.r), (this.g = t.g), (this.b = t.b), this\n            }),\n            (t.prototype.copyFromFloats = function (t, e, n) {\n              return (this.r = t), (this.g = e), (this.b = n), this\n            }),\n            (t.prototype.set = function (t, e, n) {\n              return this.copyFromFloats(t, e, n)\n            }),\n            (t.prototype.toHexString = function () {\n              var t = (255 * this.r) | 0,\n                e = (255 * this.g) | 0,\n                n = (255 * this.b) | 0\n              return '#' + i.Scalar.ToHex(t) + i.Scalar.ToHex(e) + i.Scalar.ToHex(n)\n            }),\n            (t.prototype.toLinearSpace = function () {\n              var e = new t()\n              return this.toLinearSpaceToRef(e), e\n            }),\n            (t.prototype.toLinearSpaceToRef = function (t) {\n              return (\n                (t.r = Math.pow(this.r, o.ToLinearSpace)),\n                (t.g = Math.pow(this.g, o.ToLinearSpace)),\n                (t.b = Math.pow(this.b, o.ToLinearSpace)),\n                this\n              )\n            }),\n            (t.prototype.toGammaSpace = function () {\n              var e = new t()\n              return this.toGammaSpaceToRef(e), e\n            }),\n            (t.prototype.toGammaSpaceToRef = function (t) {\n              return (\n                (t.r = Math.pow(this.r, o.ToGammaSpace)),\n                (t.g = Math.pow(this.g, o.ToGammaSpace)),\n                (t.b = Math.pow(this.b, o.ToGammaSpace)),\n                this\n              )\n            }),\n            (t.prototype.toJSON = function () {\n              return { r: this.r, g: this.g, b: this.b }\n            }),\n            t\n          )\n        })()\n      e.Color3 = s\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Curve3 = void 0)\n      var o = n(3),\n        r = (function () {\n          function t(t) {\n            ;(this._length = 0), (this._points = t), (this._length = this._computeLength(t))\n          }\n          return (\n            (t.CreateQuadraticBezier = function (e, n, r, i) {\n              i = i > 2 ? i : 3\n              for (\n                var s = new Array(),\n                  a = function (t, e, n, o) {\n                    return (1 - t) * (1 - t) * e + 2 * t * (1 - t) * n + t * t * o\n                  },\n                  p = 0;\n                p <= i;\n                p++\n              )\n                s.push(new o.Vector3(a(p / i, e.x, n.x, r.x), a(p / i, e.y, n.y, r.y), a(p / i, e.z, n.z, r.z)))\n              return new t(s)\n            }),\n            (t.CreateCubicBezier = function (e, n, r, i, s) {\n              s = s > 3 ? s : 4\n              for (\n                var a = new Array(),\n                  p = function (t, e, n, o, r) {\n                    return (1 - t) * (1 - t) * (1 - t) * e + 3 * t * (1 - t) * (1 - t) * n + 3 * t * t * (1 - t) * o + t * t * t * r\n                  },\n                  u = 0;\n                u <= s;\n                u++\n              )\n                a.push(new o.Vector3(p(u / s, e.x, n.x, r.x, i.x), p(u / s, e.y, n.y, r.y, i.y), p(u / s, e.z, n.z, r.z, i.z)))\n              return new t(a)\n            }),\n            (t.CreateHermiteSpline = function (e, n, r, i, s) {\n              for (var a = new Array(), p = 1 / s, u = 0; u <= s; u++) a.push(o.Vector3.Hermite(e, n, r, i, u * p))\n              return new t(a)\n            }),\n            (t.CreateCatmullRomSpline = function (e, n, r) {\n              var i = new Array(),\n                s = 1 / n,\n                a = 0\n              if (r) {\n                for (var p = e.length, u = 0; u < p; u++) {\n                  a = 0\n                  for (var l = 0; l < n; l++)\n                    i.push(o.Vector3.CatmullRom(e[u % p], e[(u + 1) % p], e[(u + 2) % p], e[(u + 3) % p], a)), (a += s)\n                }\n                i.push(i[0])\n              } else {\n                var c = new Array()\n                c.push(e[0].clone()), Array.prototype.push.apply(c, e), c.push(e[e.length - 1].clone())\n                u = 0\n                for (u = 0; u < c.length - 3; u++) {\n                  a = 0\n                  for (l = 0; l < n; l++) i.push(o.Vector3.CatmullRom(c[u], c[u + 1], c[u + 2], c[u + 3], a)), (a += s)\n                }\n                u--, i.push(o.Vector3.CatmullRom(c[u], c[u + 1], c[u + 2], c[u + 3], a))\n              }\n              return new t(i)\n            }),\n            (t.prototype.getPoints = function () {\n              return this._points\n            }),\n            (t.prototype.length = function () {\n              return this._length\n            }),\n            (t.prototype.continue = function (e) {\n              for (var n = this._points[this._points.length - 1], o = this._points.slice(), r = e.getPoints(), i = 1; i < r.length; i++)\n                o.push(r[i].subtract(r[0]).add(n))\n              return new t(o)\n            }),\n            (t.prototype._computeLength = function (t) {\n              for (var e = 0, n = 1; n < t.length; n++) e += t[n].subtract(t[n - 1]).length()\n              return e\n            }),\n            t\n          )\n        })()\n      e.Curve3 = r\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Frustum = void 0)\n      var o = n(25),\n        r = (function () {\n          function t() {}\n          return (\n            (t.GetPlanes = function (e) {\n              for (var n = [], r = 0; r < 6; r++) n.push(new o.Plane(0, 0, 0, 0))\n              return t.GetPlanesToRef(e, n), n\n            }),\n            (t.GetNearPlaneToRef = function (t, e) {\n              var n = t.m\n              ;(e.normal.x = n[3] + n[2]), (e.normal.y = n[7] + n[6]), (e.normal.z = n[11] + n[10]), (e.d = n[15] + n[14]), e.normalize()\n            }),\n            (t.GetFarPlaneToRef = function (t, e) {\n              var n = t.m\n              ;(e.normal.x = n[3] - n[2]), (e.normal.y = n[7] - n[6]), (e.normal.z = n[11] - n[10]), (e.d = n[15] - n[14]), e.normalize()\n            }),\n            (t.GetLeftPlaneToRef = function (t, e) {\n              var n = t.m\n              ;(e.normal.x = n[3] + n[0]), (e.normal.y = n[7] + n[4]), (e.normal.z = n[11] + n[8]), (e.d = n[15] + n[12]), e.normalize()\n            }),\n            (t.GetRightPlaneToRef = function (t, e) {\n              var n = t.m\n              ;(e.normal.x = n[3] - n[0]), (e.normal.y = n[7] - n[4]), (e.normal.z = n[11] - n[8]), (e.d = n[15] - n[12]), e.normalize()\n            }),\n            (t.GetTopPlaneToRef = function (t, e) {\n              var n = t.m\n              ;(e.normal.x = n[3] - n[1]), (e.normal.y = n[7] - n[5]), (e.normal.z = n[11] - n[9]), (e.d = n[15] - n[13]), e.normalize()\n            }),\n            (t.GetBottomPlaneToRef = function (t, e) {\n              var n = t.m\n              ;(e.normal.x = n[3] + n[1]), (e.normal.y = n[7] + n[5]), (e.normal.z = n[11] + n[9]), (e.d = n[15] + n[13]), e.normalize()\n            }),\n            (t.GetPlanesToRef = function (e, n) {\n              t.GetNearPlaneToRef(e, n[0]),\n                t.GetFarPlaneToRef(e, n[1]),\n                t.GetLeftPlaneToRef(e, n[2]),\n                t.GetRightPlaneToRef(e, n[3]),\n                t.GetTopPlaneToRef(e, n[4]),\n                t.GetBottomPlaneToRef(e, n[5])\n            }),\n            t\n          )\n        })()\n      e.Frustum = r\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Path2 = void 0)\n      var o = n(15),\n        r = n(23),\n        i = n(2),\n        s = (function () {\n          function t(t, e) {\n            ;(this.closed = !1), (this._points = new Array()), (this._length = 0), this._points.push(new o.Vector2(t, e))\n          }\n          return (\n            (t.StartingAt = function (e, n) {\n              return new t(e, n)\n            }),\n            (t.prototype.addLineTo = function (t, e) {\n              if (this.closed) return this\n              var n = new o.Vector2(t, e),\n                r = this._points[this._points.length - 1]\n              return this._points.push(n), (this._length += n.subtract(r).length()), this\n            }),\n            (t.prototype.addArcTo = function (t, e, n, s, a) {\n              if ((void 0 === a && (a = 36), this.closed)) return this\n              var p = this._points[this._points.length - 1],\n                u = new o.Vector2(t, e),\n                l = new o.Vector2(n, s),\n                c = new r.Arc2(p, u, l),\n                h = c.angle.radians() / a\n              c.orientation === i.Orientation.CW && (h *= -1)\n              for (var d = c.startAngle.radians() + h, f = 0; f < a; f++) {\n                var y = Math.cos(d) * c.radius + c.centerPoint.x,\n                  v = Math.sin(d) * c.radius + c.centerPoint.y\n                this.addLineTo(y, v), (d += h)\n              }\n              return this\n            }),\n            (t.prototype.close = function () {\n              return (this.closed = !0), this\n            }),\n            (t.prototype.length = function () {\n              var t = this._length\n              if (!this.closed) {\n                var e = this._points[this._points.length - 1]\n                t += this._points[0].subtract(e).length()\n              }\n              return t\n            }),\n            (t.prototype.getPoints = function () {\n              return this._points\n            }),\n            (t.prototype.getPointAtLengthPosition = function (t) {\n              if (t < 0 || t > 1) return o.Vector2.Zero()\n              for (var e = t * this.length(), n = 0, r = 0; r < this._points.length; r++) {\n                var i = (r + 1) % this._points.length,\n                  s = this._points[r],\n                  a = this._points[i].subtract(s),\n                  p = a.length() + n\n                if (e >= n && e <= p) {\n                  var u = a.normalize(),\n                    l = e - n\n                  return new o.Vector2(s.x + u.x * l, s.y + u.y * l)\n                }\n                n = p\n              }\n              return o.Vector2.Zero()\n            }),\n            t\n          )\n        })()\n      e.Path2 = s\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Path3D = void 0)\n      var o = n(3),\n        r = n(2),\n        i = n(6),\n        s = (function () {\n          function t(t, e, n) {\n            void 0 === e && (e = null),\n              (this.path = t),\n              (this._curve = new Array()),\n              (this._distances = new Array()),\n              (this._tangents = new Array()),\n              (this._normals = new Array()),\n              (this._binormals = new Array())\n            for (var o = 0; o < t.length; o++) this._curve[o] = t[o].clone()\n            ;(this._raw = n || !1), this._compute(e)\n          }\n          return (\n            (t.prototype.getCurve = function () {\n              return this._curve\n            }),\n            (t.prototype.getTangents = function () {\n              return this._tangents\n            }),\n            (t.prototype.getNormals = function () {\n              return this._normals\n            }),\n            (t.prototype.getBinormals = function () {\n              return this._binormals\n            }),\n            (t.prototype.getDistances = function () {\n              return this._distances\n            }),\n            (t.prototype.update = function (t, e) {\n              void 0 === e && (e = null)\n              for (var n = 0; n < t.length; n++) (this._curve[n].x = t[n].x), (this._curve[n].y = t[n].y), (this._curve[n].z = t[n].z)\n              return this._compute(e), this\n            }),\n            (t.prototype._compute = function (t) {\n              var e = this._curve.length\n              ;(this._tangents[0] = this._getFirstNonNullVector(0)),\n                this._raw || this._tangents[0].normalize(),\n                (this._tangents[e - 1] = this._curve[e - 1].subtract(this._curve[e - 2])),\n                this._raw || this._tangents[e - 1].normalize()\n              var n,\n                r,\n                i,\n                s,\n                a = this._tangents[0],\n                p = this._normalVector(this._curve[0], a, t)\n              ;(this._normals[0] = p),\n                this._raw || this._normals[0].normalize(),\n                (this._binormals[0] = o.Vector3.Cross(a, this._normals[0])),\n                this._raw || this._binormals[0].normalize(),\n                (this._distances[0] = 0)\n              for (var u = 1; u < e; u++)\n                (n = this._getLastNonNullVector(u)),\n                  u < e - 1 && ((r = this._getFirstNonNullVector(u)), (this._tangents[u] = n.add(r)), this._tangents[u].normalize()),\n                  (this._distances[u] = this._distances[u - 1] + n.length()),\n                  (i = this._tangents[u]),\n                  (s = this._binormals[u - 1]),\n                  (this._normals[u] = o.Vector3.Cross(s, i)),\n                  this._raw || this._normals[u].normalize(),\n                  (this._binormals[u] = o.Vector3.Cross(i, this._normals[u])),\n                  this._raw || this._binormals[u].normalize()\n            }),\n            (t.prototype._getFirstNonNullVector = function (t) {\n              for (var e = 1, n = this._curve[t + e].subtract(this._curve[t]); 0 === n.length() && t + e + 1 < this._curve.length; )\n                e++, (n = this._curve[t + e].subtract(this._curve[t]))\n              return n\n            }),\n            (t.prototype._getLastNonNullVector = function (t) {\n              for (var e = 1, n = this._curve[t].subtract(this._curve[t - e]); 0 === n.length() && t > e + 1; )\n                e++, (n = this._curve[t].subtract(this._curve[t - e]))\n              return n\n            }),\n            (t.prototype._normalVector = function (t, e, n) {\n              var s,\n                a = e.length()\n              if ((0 === a && (a = 1), null == n)) {\n                var p = void 0\n                ;(p = i.Scalar.WithinEpsilon(Math.abs(e.y) / a, 1, r.Epsilon)\n                  ? i.Scalar.WithinEpsilon(Math.abs(e.x) / a, 1, r.Epsilon)\n                    ? i.Scalar.WithinEpsilon(Math.abs(e.z) / a, 1, r.Epsilon)\n                      ? o.Vector3.Zero()\n                      : new o.Vector3(0, 0, 1)\n                    : new o.Vector3(1, 0, 0)\n                  : new o.Vector3(0, -1, 0)),\n                  (s = o.Vector3.Cross(e, p))\n              } else (s = o.Vector3.Cross(e, n)), o.Vector3.CrossToRef(s, e, s)\n              return s.normalize(), s\n            }),\n            t\n          )\n        })()\n      e.Path3D = s\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Size = void 0)\n      var o = (function () {\n        function t(t, e) {\n          ;(this.width = t), (this.height = e)\n        }\n        return (\n          Object.defineProperty(t.prototype, 'surface', {\n            get: function () {\n              return this.width * this.height\n            },\n            enumerable: !1,\n            configurable: !0,\n          }),\n          (t.Zero = function () {\n            return new t(0, 0)\n          }),\n          (t.Lerp = function (e, n, o) {\n            return new t(e.width + (n.width - e.width) * o, e.height + (n.height - e.height) * o)\n          }),\n          (t.prototype.toString = function () {\n            return '{W: ' + this.width + ', H: ' + this.height + '}'\n          }),\n          (t.prototype.getClassName = function () {\n            return 'Size'\n          }),\n          (t.prototype.getHashCode = function () {\n            var t = this.width || 0\n            return (t = (397 * t) ^ (this.height || 0))\n          }),\n          (t.prototype.copyFrom = function (t) {\n            ;(this.width = t.width), (this.height = t.height)\n          }),\n          (t.prototype.copyFromFloats = function (t, e) {\n            return (this.width = t), (this.height = e), this\n          }),\n          (t.prototype.set = function (t, e) {\n            return this.copyFromFloats(t, e)\n          }),\n          (t.prototype.multiplyByFloats = function (e, n) {\n            return new t(this.width * e, this.height * n)\n          }),\n          (t.prototype.clone = function () {\n            return new t(this.width, this.height)\n          }),\n          (t.prototype.equals = function (t) {\n            return !!t && this.width === t.width && this.height === t.height\n          }),\n          (t.prototype.add = function (e) {\n            return new t(this.width + e.width, this.height + e.height)\n          }),\n          (t.prototype.subtract = function (e) {\n            return new t(this.width - e.width, this.height - e.height)\n          }),\n          t\n        )\n      })()\n      e.Size = o\n    },\n    function (t, e, n) {\n      'use strict'\n      var o,\n        r =\n          (this && this.__extends) ||\n          ((o = function (t, e) {\n            return (o =\n              Object.setPrototypeOf ||\n              ({ __proto__: [] } instanceof Array &&\n                function (t, e) {\n                  t.__proto__ = e\n                }) ||\n              function (t, e) {\n                for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])\n              })(t, e)\n          }),\n          function (t, e) {\n            function n() {\n              this.constructor = t\n            }\n            o(t, e), (t.prototype = null === e ? Object.create(e) : ((n.prototype = e.prototype), new n()))\n          }),\n        i =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.AudioStream = e.AudioSource = e.AudioClip = void 0)\n      var s = n(0),\n        a = n(4),\n        p = (function (t) {\n          function e(e) {\n            var n = t.call(this) || this\n            return (n.loop = !1), (n.volume = 1), (n.url = e), n\n          }\n          return (\n            r(e, t),\n            i([s.ObservableComponent.readonly], e.prototype, 'url', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'loop', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'loadingCompleteEventId', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'volume', void 0),\n            (e = i([s.DisposableComponent('engine.AudioClip', a.CLASS_ID.AUDIO_CLIP)], e))\n          )\n        })(s.ObservableComponent)\n      e.AudioClip = p\n      var u = (function (t) {\n        function e(e) {\n          var n = t.call(this) || this\n          if (((n.audioClip = e), (n.loop = !1), (n.volume = 1), (n.playing = !1), (n.pitch = 1), !(e instanceof p)))\n            throw new Error('Trying to create AudioSource(AudioClip) with an invalid AudioClip')\n          return (n.audioClipId = s.getComponentId(e)), n\n        }\n        return (\n          r(e, t),\n          (e.prototype.playOnce = function () {\n            return (this.playing = !0), (this.dirty = !0), (this.data.nonce = Math.random()), this\n          }),\n          i([s.ObservableComponent.readonly], e.prototype, 'audioClipId', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'loop', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'volume', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'playing', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'pitch', void 0),\n          (e = i([s.Component('engine.AudioSource', a.CLASS_ID.AUDIO_SOURCE)], e))\n        )\n      })(s.ObservableComponent)\n      e.AudioSource = u\n      var l = (function (t) {\n        function e(e) {\n          var n = t.call(this) || this\n          return (n.playing = !1), (n.volume = 1), (n.url = e), (n.playing = !0), n\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'url', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'playing', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'volume', void 0),\n          (e = i([s.Component('engine.AudioStream', a.CLASS_ID.AUDIO_STREAM)], e))\n        )\n      })(s.ObservableComponent)\n      e.AudioStream = l\n    },\n    function (t, e, n) {\n      'use strict'\n      var o,\n        r =\n          (this && this.__extends) ||\n          ((o = function (t, e) {\n            return (o =\n              Object.setPrototypeOf ||\n              ({ __proto__: [] } instanceof Array &&\n                function (t, e) {\n                  t.__proto__ = e\n                }) ||\n              function (t, e) {\n                for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])\n              })(t, e)\n          }),\n          function (t, e) {\n            function n() {\n              this.constructor = t\n            }\n            o(t, e), (t.prototype = null === e ? Object.create(e) : ((n.prototype = e.prototype), new n()))\n          }),\n        i =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.Gizmos = e.OnGizmoEvent = e.Gizmo = void 0)\n      var s = n(0),\n        a = n(4)\n      !(function (t) {\n        ;(t.MOVE = 'MOVE'), (t.ROTATE = 'ROTATE'), (t.SCALE = 'SCALE'), (t.NONE = 'NONE')\n      })(e.Gizmo || (e.Gizmo = {}))\n      var p = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.type = 'gizmoEvent'), e\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = i([s.Component('engine.gizmoEvent', a.CLASS_ID.UUID_CALLBACK)], e))\n        )\n      })(a.OnUUIDEvent)\n      e.OnGizmoEvent = p\n      var u = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (e.position = !0), (e.rotation = !0), (e.scale = !0), (e.cycle = !0), (e.localReference = !1), e\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.field], e.prototype, 'position', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'rotation', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'scale', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'cycle', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'selectedGizmo', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'localReference', void 0),\n          (e = i([s.Component('engine.gizmos', a.CLASS_ID.GIZMOS)], e))\n        )\n      })(s.ObservableComponent)\n      e.Gizmos = u\n    },\n    function (t, e, n) {\n      'use strict'\n      var o,\n        r =\n          (this && this.__extends) ||\n          ((o = function (t, e) {\n            return (o =\n              Object.setPrototypeOf ||\n              ({ __proto__: [] } instanceof Array &&\n                function (t, e) {\n                  t.__proto__ = e\n                }) ||\n              function (t, e) {\n                for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])\n              })(t, e)\n          }),\n          function (t, e) {\n            function n() {\n              this.constructor = t\n            }\n            o(t, e), (t.prototype = null === e ? Object.create(e) : ((n.prototype = e.prototype), new n()))\n          }),\n        i =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.UIScrollRect =\n          e.UIImage =\n          e.UIInputText =\n          e.UIText =\n          e.UIButton =\n          e.UIContainerStack =\n          e.UIStackOrientation =\n          e.UIContainerRect =\n          e.UICanvas =\n          e.UIWorldSpace =\n          e.UIFullScreen =\n          e.UIShape =\n            void 0)\n      var s = n(0),\n        a = n(4),\n        p = n(5),\n        u = (function (t) {\n          function e(e) {\n            var n = t.call(this) || this\n            return (\n              (n.name = null),\n              (n.visible = !0),\n              (n.opacity = 1),\n              (n.hAlign = 'center'),\n              (n.vAlign = 'center'),\n              (n.width = '100px'),\n              (n.height = '50px'),\n              (n.positionX = '0px'),\n              (n.positionY = '0px'),\n              (n.isPointerBlocker = !0),\n              e && ((n._parent = e), (n.data.parentComponent = s.getComponentId(e))),\n              n\n            )\n          }\n          return (\n            r(e, t),\n            Object.defineProperty(e.prototype, 'parent', {\n              get: function () {\n                return this._parent\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            Object.defineProperty(e.prototype, 'parentComponent', {\n              get: function () {\n                return this.data.parentComponent\n              },\n              enumerable: !1,\n              configurable: !0,\n            }),\n            i([s.ObservableComponent.field], e.prototype, 'name', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'visible', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'opacity', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'hAlign', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'vAlign', void 0),\n            i([s.ObservableComponent.uiValue], e.prototype, 'width', void 0),\n            i([s.ObservableComponent.uiValue], e.prototype, 'height', void 0),\n            i([s.ObservableComponent.uiValue], e.prototype, 'positionX', void 0),\n            i([s.ObservableComponent.uiValue], e.prototype, 'positionY', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'isPointerBlocker', void 0),\n            e\n          )\n        })(s.ObservableComponent)\n      e.UIShape = u\n      var l = (function (t) {\n        function e() {\n          return t.call(this, null) || this\n        }\n        return r(e, t), (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_FULLSCREEN_SHAPE)], e))\n      })(u)\n      e.UIFullScreen = l\n      var c = (function (t) {\n        function e() {\n          return t.call(this, null) || this\n        }\n        return r(e, t), (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_WORLD_SPACE_SHAPE)], e))\n      })(u)\n      e.UIWorldSpace = c\n      var h = (function (t) {\n        function e() {\n          return t.call(this, null) || this\n        }\n        return r(e, t), (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_SCREEN_SPACE_SHAPE)], e))\n      })(u)\n      e.UICanvas = h\n      var d,\n        f = (function (t) {\n          function e() {\n            var e = (null !== t && t.apply(this, arguments)) || this\n            return (e.adaptWidth = !1), (e.adaptHeight = !1), (e.thickness = 0), (e.color = p.Color4.Clear()), (e.alignmentUsesSize = !0), e\n          }\n          return (\n            r(e, t),\n            i([s.ObservableComponent.field], e.prototype, 'adaptWidth', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'adaptHeight', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'thickness', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'color', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'alignmentUsesSize', void 0),\n            (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_CONTAINER_RECT)], e))\n          )\n        })(u)\n      ;(e.UIContainerRect = f),\n        (function (t) {\n          ;(t[(t.VERTICAL = 0)] = 'VERTICAL'), (t[(t.HORIZONTAL = 1)] = 'HORIZONTAL')\n        })((d = e.UIStackOrientation || (e.UIStackOrientation = {})))\n      var y = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (\n            (e.adaptWidth = !0), (e.adaptHeight = !0), (e.color = p.Color4.Clear()), (e.stackOrientation = d.VERTICAL), (e.spacing = 0), e\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.field], e.prototype, 'adaptWidth', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'adaptHeight', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'color', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'stackOrientation', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'spacing', void 0),\n          (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_CONTAINER_STACK)], e))\n        )\n      })(u)\n      e.UIContainerStack = y\n      var v = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (\n            (e.fontSize = 10),\n            (e.fontWeight = 'normal'),\n            (e.thickness = 0),\n            (e.cornerRadius = 0),\n            (e.color = p.Color4.White()),\n            (e.background = p.Color4.White()),\n            (e.paddingTop = 0),\n            (e.paddingRight = 0),\n            (e.paddingBottom = 0),\n            (e.paddingLeft = 0),\n            (e.shadowBlur = 0),\n            (e.shadowOffsetX = 0),\n            (e.shadowOffsetY = 0),\n            (e.shadowColor = p.Color4.Black()),\n            (e.text = 'button'),\n            e\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.field], e.prototype, 'fontSize', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'fontWeight', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'thickness', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'cornerRadius', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'color', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'background', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingTop', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingRight', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingBottom', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingLeft', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowBlur', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowOffsetX', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowOffsetY', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowColor', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'text', void 0),\n          (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_BUTTON_SHAPE)], e))\n        )\n      })(u)\n      e.UIButton = v\n      var m = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (\n            (e.outlineWidth = 0),\n            (e.outlineColor = p.Color4.White()),\n            (e.color = p.Color4.White()),\n            (e.fontSize = 10),\n            (e.fontAutoSize = !1),\n            (e.fontWeight = 'normal'),\n            (e.value = ''),\n            (e.lineSpacing = 0),\n            (e.lineCount = 0),\n            (e.adaptWidth = !1),\n            (e.adaptHeight = !1),\n            (e.textWrapping = !1),\n            (e.shadowBlur = 0),\n            (e.shadowOffsetX = 0),\n            (e.shadowOffsetY = 0),\n            (e.shadowColor = p.Color4.Black()),\n            (e.hTextAlign = 'left'),\n            (e.vTextAlign = 'bottom'),\n            (e.paddingTop = 0),\n            (e.paddingRight = 0),\n            (e.paddingBottom = 0),\n            (e.paddingLeft = 0),\n            e\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.field], e.prototype, 'outlineWidth', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'outlineColor', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'color', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'fontSize', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'fontAutoSize', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'fontWeight', void 0),\n          i([s.ObservableComponent.component], e.prototype, 'font', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'value', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'lineSpacing', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'lineCount', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'adaptWidth', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'adaptHeight', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'textWrapping', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowBlur', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowOffsetX', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowOffsetY', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowColor', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'hTextAlign', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'vTextAlign', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingTop', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingRight', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingBottom', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingLeft', void 0),\n          (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_TEXT_SHAPE)], e))\n        )\n      })(u)\n      e.UIText = m\n      var b = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (\n            (e.outlineWidth = 0),\n            (e.outlineColor = p.Color4.Black()),\n            (e.color = p.Color4.Clear()),\n            (e.thickness = 1),\n            (e.fontSize = 10),\n            (e.fontWeight = 'normal'),\n            (e.value = ''),\n            (e.placeholderColor = p.Color4.White()),\n            (e.placeholder = ''),\n            (e.margin = 10),\n            (e.maxWidth = 100),\n            (e.hTextAlign = 'left'),\n            (e.vTextAlign = 'bottom'),\n            (e.autoStretchWidth = !0),\n            (e.background = p.Color4.Black()),\n            (e.focusedBackground = p.Color4.Black()),\n            (e.textWrapping = !1),\n            (e.shadowBlur = 0),\n            (e.shadowOffsetX = 0),\n            (e.shadowOffsetY = 0),\n            (e.shadowColor = p.Color4.White()),\n            (e.paddingTop = 0),\n            (e.paddingRight = 0),\n            (e.paddingBottom = 0),\n            (e.paddingLeft = 0),\n            (e.onTextSubmit = null),\n            (e.onChanged = null),\n            (e.onFocus = null),\n            (e.onBlur = null),\n            e\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.field], e.prototype, 'outlineWidth', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'outlineColor', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'color', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'thickness', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'fontSize', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'fontWeight', void 0),\n          i([s.ObservableComponent.component], e.prototype, 'font', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'value', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'placeholderColor', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'placeholder', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'margin', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'maxWidth', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'hTextAlign', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'vTextAlign', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'autoStretchWidth', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'background', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'focusedBackground', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'textWrapping', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowBlur', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowOffsetX', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowOffsetY', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'shadowColor', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingTop', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingRight', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingBottom', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingLeft', void 0),\n          i([a.OnUUIDEvent.uuidEvent], e.prototype, 'onTextSubmit', void 0),\n          i([a.OnUUIDEvent.uuidEvent], e.prototype, 'onChanged', void 0),\n          i([a.OnUUIDEvent.uuidEvent], e.prototype, 'onFocus', void 0),\n          i([a.OnUUIDEvent.uuidEvent], e.prototype, 'onBlur', void 0),\n          (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_INPUT_TEXT_SHAPE)], e))\n        )\n      })(u)\n      e.UIInputText = b\n      var g = (function (t) {\n        function e(e, n) {\n          var o = t.call(this, e) || this\n          return (\n            (o.sourceLeft = 0),\n            (o.sourceTop = 0),\n            (o.sourceWidth = 1),\n            (o.sourceHeight = 1),\n            (o.paddingTop = 0),\n            (o.paddingRight = 0),\n            (o.paddingBottom = 0),\n            (o.paddingLeft = 0),\n            (o.sizeInPixels = !0),\n            (o.onClick = null),\n            (o.source = n),\n            o\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.field], e.prototype, 'sourceLeft', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'sourceTop', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'sourceWidth', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'sourceHeight', void 0),\n          i([s.ObservableComponent.component], e.prototype, 'source', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingTop', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingRight', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingBottom', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingLeft', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'sizeInPixels', void 0),\n          i([a.OnUUIDEvent.uuidEvent], e.prototype, 'onClick', void 0),\n          (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_IMAGE_SHAPE)], e))\n        )\n      })(u)\n      e.UIImage = g\n      var _ = (function (t) {\n        function e() {\n          var e = (null !== t && t.apply(this, arguments)) || this\n          return (\n            (e.valueX = 0),\n            (e.valueY = 0),\n            (e.borderColor = p.Color4.White()),\n            (e.backgroundColor = p.Color4.Clear()),\n            (e.isHorizontal = !1),\n            (e.isVertical = !1),\n            (e.paddingTop = 0),\n            (e.paddingRight = 0),\n            (e.paddingBottom = 0),\n            (e.paddingLeft = 0),\n            (e.onChanged = null),\n            e\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.field], e.prototype, 'valueX', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'valueY', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'borderColor', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'backgroundColor', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'isHorizontal', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'isVertical', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingTop', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingRight', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingBottom', void 0),\n          i([s.ObservableComponent.field], e.prototype, 'paddingLeft', void 0),\n          i([a.OnUUIDEvent.uuidEvent], e.prototype, 'onChanged', void 0),\n          (e = i([s.DisposableComponent('engine.shape', a.CLASS_ID.UI_SLIDER_SHAPE)], e))\n        )\n      })(u)\n      e.UIScrollRect = _\n    },\n    function (t, e, n) {\n      'use strict'\n      var o,\n        r =\n          (this && this.__extends) ||\n          ((o = function (t, e) {\n            return (o =\n              Object.setPrototypeOf ||\n              ({ __proto__: [] } instanceof Array &&\n                function (t, e) {\n                  t.__proto__ = e\n                }) ||\n              function (t, e) {\n                for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])\n              })(t, e)\n          }),\n          function (t, e) {\n            function n() {\n              this.constructor = t\n            }\n            o(t, e), (t.prototype = null === e ? Object.create(e) : ((n.prototype = e.prototype), new n()))\n          }),\n        i =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.AvatarShape = void 0)\n      var s = n(0),\n        a = n(4),\n        p = (function (t) {\n          function e() {\n            var e = (null !== t && t.apply(this, arguments)) || this\n            return (e.useDummyModel = !1), (e.talking = !1), e\n          }\n          var n\n          return (\n            r(e, t),\n            (n = e),\n            (e.Dummy = function () {\n              var t = new n()\n              return (t.useDummyModel = !0), t\n            }),\n            i([s.ObservableComponent.field], e.prototype, 'id', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'name', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'expressionTriggerId', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'expressionTriggerTimestamp', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'bodyShape', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'wearables', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'skinColor', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'hairColor', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'eyeColor', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'useDummyModel', void 0),\n            i([s.ObservableComponent.field], e.prototype, 'talking', void 0),\n            (e = n = i([s.Component('engine.avatarShape', a.CLASS_ID.AVATAR_SHAPE)], e))\n          )\n        })(s.ObservableComponent)\n      e.AvatarShape = p\n    },\n    function (t, e, n) {\n      'use strict'\n      var o,\n        r =\n          (this && this.__extends) ||\n          ((o = function (t, e) {\n            return (o =\n              Object.setPrototypeOf ||\n              ({ __proto__: [] } instanceof Array &&\n                function (t, e) {\n                  t.__proto__ = e\n                }) ||\n              function (t, e) {\n                for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n])\n              })(t, e)\n          }),\n          function (t, e) {\n            function n() {\n              this.constructor = t\n            }\n            o(t, e), (t.prototype = null === e ? Object.create(e) : ((n.prototype = e.prototype), new n()))\n          }),\n        i =\n          (this && this.__decorate) ||\n          function (t, e, n, o) {\n            var r,\n              i = arguments.length,\n              s = i < 3 ? e : null === o ? (o = Object.getOwnPropertyDescriptor(e, n)) : o\n            if ('object' == typeof Reflect && 'function' == typeof Reflect.decorate) s = Reflect.decorate(t, e, n, o)\n            else for (var a = t.length - 1; a >= 0; a--) (r = t[a]) && (s = (i < 3 ? r(s) : i > 3 ? r(e, n, s) : r(e, n)) || s)\n            return i > 3 && s && Object.defineProperty(e, n, s), s\n          }\n      Object.defineProperty(e, '__esModule', { value: !0 }),\n        (e.OnPointerUp = e.OnPointerDown = e.OnClick = e.OnChanged = e.OnEnter = e.OnBlur = e.OnTextSubmit = e.OnFocus = void 0)\n      var s = n(0),\n        a = n(14),\n        p = n(4),\n        u = (function (t) {\n          function e(e) {\n            var n = t.call(this, e) || this\n            return (n.type = 'onFocus'), (a.uuidEventSystem.handlerMap[n.uuid] = n), n\n          }\n          return (\n            r(e, t),\n            i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n            (e = i([s.Component('engine.onFocus', p.CLASS_ID.UUID_CALLBACK)], e))\n          )\n        })(p.OnUUIDEvent)\n      e.OnFocus = u\n      var l = (function (t) {\n        function e(e) {\n          var n = t.call(this, e) || this\n          return (n.type = 'onTextSubmit'), (a.uuidEventSystem.handlerMap[n.uuid] = n), n\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = i([s.Component('engine.onTextSubmit', p.CLASS_ID.UUID_CALLBACK)], e))\n        )\n      })(p.OnUUIDEvent)\n      e.OnTextSubmit = l\n      var c = (function (t) {\n        function e(e) {\n          var n = t.call(this, e) || this\n          return (n.type = 'onBlur'), (a.uuidEventSystem.handlerMap[n.uuid] = n), n\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = i([s.Component('engine.onBlur', p.CLASS_ID.UUID_CALLBACK)], e))\n        )\n      })(p.OnUUIDEvent)\n      e.OnBlur = c\n      var h = (function (t) {\n        function e(e) {\n          var n = t.call(this, e) || this\n          return (n.type = 'onEnter'), (a.uuidEventSystem.handlerMap[n.uuid] = n), n\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = i([s.Component('engine.onEnter', p.CLASS_ID.UUID_CALLBACK)], e))\n        )\n      })(p.OnUUIDEvent)\n      e.OnEnter = h\n      var d = (function (t) {\n        function e(e) {\n          var n = t.call(this, e) || this\n          return (n.type = 'onChange'), (a.uuidEventSystem.handlerMap[n.uuid] = n), n\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = i([s.Component('engine.onChange', p.CLASS_ID.UUID_CALLBACK)], e))\n        )\n      })(p.OnUUIDEvent)\n      e.OnChanged = d\n      var f = (function (t) {\n        function e(e, n) {\n          var o = t.call(this, e) || this\n          return (\n            (o.type = 'onClick'),\n            (a.uuidEventSystem.handlerMap[o.uuid] = o),\n            n &&\n              ((o.showFeedback = !(!1 === n.showFeedback)),\n              n.button && (o.button = n.button),\n              n.hoverText && (o.hoverText = n.hoverText),\n              n.distance && (o.distance = n.distance)),\n            o\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = i([s.Component('engine.onClick', p.CLASS_ID.UUID_CALLBACK)], e))\n        )\n      })(p.OnPointerUUIDEvent)\n      e.OnClick = f\n      var y = (function (t) {\n        function e(e, n) {\n          var o = t.call(this, e) || this\n          return (\n            (o.type = 'pointerDown'),\n            (a.uuidEventSystem.handlerMap[o.uuid] = o),\n            n &&\n              ((o.showFeedback = !(!1 === n.showFeedback)),\n              n.button && (o.button = n.button),\n              n.hoverText && (o.hoverText = n.hoverText),\n              n.distance && (o.distance = n.distance)),\n            o\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = i([s.Component('engine.pointerDown', p.CLASS_ID.UUID_CALLBACK)], e))\n        )\n      })(p.OnPointerUUIDEvent)\n      e.OnPointerDown = y\n      var v = (function (t) {\n        function e(e, n) {\n          var o = t.call(this, e) || this\n          return (\n            (o.type = 'pointerUp'),\n            (a.uuidEventSystem.handlerMap[o.uuid] = o),\n            n &&\n              ((o.showFeedback = !(!1 === n.showFeedback)),\n              n.button && (o.button = n.button),\n              n.hoverText && (o.hoverText = n.hoverText),\n              n.distance && (o.distance = n.distance)),\n            o\n          )\n        }\n        return (\n          r(e, t),\n          i([s.ObservableComponent.readonly], e.prototype, 'type', void 0),\n          (e = i([s.Component('engine.pointerUp', p.CLASS_ID.UUID_CALLBACK)], e))\n        )\n      })(p.OnPointerUUIDEvent)\n      e.OnPointerUp = v\n    },\n    function (t, e, n) {\n      'use strict'\n      Object.defineProperty(e, '__esModule', { value: !0 }), (e.MessageBus = e.getMessageObserver = void 0)\n      var o = n(20),\n        r = n(1),\n        i = null,\n        s = null,\n        a = null\n      function p() {\n        return a || (a = new o.Observable()), a\n      }\n      e.getMessageObserver = p\n      var u = (function () {\n        function t() {\n          var t = this\n          ;(this.messageQueue = []),\n            (this.connected = !1),\n            (this.flushing = !1),\n            (function () {\n              if (!s) {\n                ;(s = dcl.loadModule('@decentraland/CommunicationsController')).then(function (t) {\n                  i = t\n                })\n                var t = p()\n                dcl.subscribe('comms'),\n                  dcl.onEvent(function (e) {\n                    'comms' === e.type && t.notifyObservers(e.data)\n                  })\n              }\n              return s\n            })().then(function (e) {\n              ;(t.connected = !0), t.flush()\n            })\n        }\n        return (\n          (t.prototype.on = function (t, e) {\n            return p().add(function (n) {\n              try {\n                var o = JSON.parse(n.message)\n                o.message === t && e(o.payload, n.sender)\n              } catch (n) {\n                dcl.error('Error parsing comms message ' + n.message, n)\n              }\n            })\n          }),\n          (t.prototype.sendRaw = function (t) {\n            this.messageQueue.push(t), this.connected && this.flush()\n          }),\n          (t.prototype.emit = function (t, e) {\n            var n = JSON.stringify({ message: t, payload: e })\n            this.sendRaw(n), p().notifyObservers({ message: n, sender: 'self' })\n          }),\n          (t.prototype.flush = function () {\n            var t = this\n            if (0 !== this.messageQueue.length && this.connected && i && !this.flushing) {\n              var e = this.messageQueue.shift()\n              ;(this.flushing = !0),\n                dcl.callRpc(i.rpcHandle, 'send', [e]).then(\n                  function (e) {\n                    ;(t.flushing = !1), t.flush()\n                  },\n                  function (e) {\n                    ;(t.flushing = !1), r.error('Error flushing MessageBus', e)\n                  }\n                )\n            }\n          }),\n          t\n        )\n      })()\n      e.MessageBus = u\n    },\n  ])\n)\n"},2934:function(e,t,n){"use strict";n.r(t),t.default='"use strict";const getGlobalThis=function(){if(typeof globalThis!=="undefined")return globalThis;if(typeof self!=="undefined")return self;if(typeof window!=="undefined")return window;if(typeof this!=="undefined")return this;throw new Error("Unable to locate global `this`")};const globalObject=getGlobalThis();var loader;(function(e){"use strict";const n=1;const t=2;let r=0;let o=[];let l=[];const i={baseUrl:""};const s={};function f(e){if(typeof e==="object"){for(let n in e){if(e.hasOwnProperty(n)){i[n]=e[n]}}}}e.config=f;function d(e,t,o){let l=null;let i={};let f=null;if(typeof e==="function"){i=e}else if(typeof e==="string"){l=e;if(typeof t==="function"){i=t}else if(t instanceof Array){f=t;i=o}}else if(e instanceof Array){f=e;if(typeof t==="function"){i=t}}f=f||["require","exports","module"];if(l===null){l=`unnamed-module-${r++}`}l=g(l);function d(e){const n=s[l];if(!n)throw new Error("Could not access registered module "+l);let t=n.exports;t=typeof i==="function"?i.apply(globalObject,e)||t:i;n.exports=t;u(l)}f=(f||[]).map((e=>m(l,e)));if(!s[l]){s[l]={name:l,parent:null,dclamd:n,dependencies:f,handlers:[],exports:{},dependants:new Set}}s[l].dependencies=f;p(f,d,(e=>{if(typeof onerror=="function"){onerror(e)}else{throw e}}),l)}e.define=d;(function(e){e.amd={};e.modules=s})(d=e.define||(e.define={}));function u(e){const n=s[e];if(!n)throw new Error("Could not access registered module "+e);n.dclamd=t;let r=n.handlers;if(r&&r.length){for(let n=0;n<r.length;n++){r[n](s[e])}}}function c(e,n,t){if(!s[e]){return null}if(e==n||t==50)return[e];const r=s[e].dependencies;for(let o=0,l=r.length;o<l;o++){let l=c(r[o],n,t+1);if(l!==null){l.push(e);return l}}return null}function a(e,n){let t=s[e];if(!t){return false}let r={};for(let e in s){r[e]=false}let o=[];o.push(t);r[e]=true;while(o.length>0){let e=o.shift();let t=e.dependencies;if(t){for(let e=0,l=t.length;e<l;e++){let l=t[e];if(l===n){return true}let i=s[l];if(i&&!r[l]){r[l]=true;o.push(i)}}}}return false}function p(e,t,r,o){let i=new Array(e.length).fill(null);let f=0;let d=false;if(typeof e==="string"){if(s[e]){if(s[e].dclamd===n){throw new Error(`Trying to load ${e} from ${o}. The first module is still loading.`)}return s[e]}throw new Error(e+" has not been defined. Please include it as a dependency in "+o+"\'s define()")}const u=e.length;for(let n=0;n<u;n++){switch(e[n]){case"require":let h=function(e,n,t){return p(e,n,t,o)};h.toUrl=function(e){return b(e,o)};i[n]=h;f++;break;case"exports":if(!s[o]){throw new Error("Parent module "+o+" not registered yet")}i[n]=s[o].exports;f++;break;case"module":i[n]={id:o,uri:b(o)};f++;break;default:{const p=e[n];const h=a(p,o);const m=()=>{i[n]=s[p].exports;f++;if(f===u&&t){d=true;t(i)}};if(h){const e=c(p,o,0);if(e){e.reverse();e.push(p);l.push(e)}w(p,(()=>{}),r,o);m()}else{w(p,m,r,o)}break}}}if(!d&&f===u&&t){t(i)}}e.require=p;function h(e,n){return function(){return dcl.callRpc(e,n.name,o.slice.call(arguments,0))}}function m(e,n){return e?b(n,e):n}function w(e,t,r,o){if(s[e]){s[e].dependants.add(o);if(s[e].dclamd===n){t&&s[e].handlers.push(t)}else{t&&t(s[e])}return}else{s[e]={name:e,parent:o,dclamd:n,handlers:[t],dependencies:[],dependants:new Set([o]),exports:{}}}if(e.indexOf("@")===0){let n=s[e].exports;if(typeof dcl.loadModule==="function"){dcl.loadModule(e,n).then((t=>{for(let e in t.methods){const r=t.methods[e];n[r.name]=h(t.rpcHandle,r)}u(e)})).catch((e=>{r(e)}))}else{throw new Error("Asynchronous modules will not work because loadModule function is not present")}}}if(typeof dcl!=="undefined"){dcl.onStart((()=>{const e=new Set;const t=[];for(let r in s){if(s[r]){if(s[r].dclamd===n){t.push(s[r])}s[r].dependencies.forEach((n=>{if(n=="require"||n=="exports"||n=="module")return;if(!s[n])e.add(n)}))}}const r=[];if(l.length){r.push(`\\n> Cyclic dependencies: ${l.map((e=>"\\n  - "+e.join(" -> "))).join("")}`)}if(e.size){r.push(`\\n> Undeclared/unknown modules: ${Array.from(e).map((e=>"\\n  - "+e)).join("")}`)}if(t.length){r.push(`\\n> These modules didn\'t load: ${t.map((e=>"\\n  - "+e.name)).join("")}.\\n`)}if(r.length){throw new Error(r.join("\\n"))}}))}function g(e){let n=e,t;t=/\\/\\.\\//;while(t.test(n)){n=n.replace(t,"/")}n=n.replace(/^\\.\\//g,"");t=/\\/(([^\\/])|([^\\/][^\\/\\.])|([^\\/\\.][^\\/])|([^\\/][^\\/][^\\/]+))\\/\\.\\.\\//;while(t.test(n)){n=n.replace(t,"/")}n=n.replace(/^(([^\\/])|([^\\/][^\\/\\.])|([^\\/\\.][^\\/])|([^\\/][^\\/][^\\/]+))\\/\\.\\.\\//,"");n=n.replace(/^\\//g,"");return n}function y(e,n){let t=e;if(!t.startsWith("@")){if(t.startsWith("./")||t.startsWith("../")){const e=n.split("/");e.pop();t=g(e.join("/")+"/"+t)}}return t}function b(e,n){switch(e){case"require":case"exports":case"module":return e}if(n){return y(e,n)}return g(e)}p.toUrl=b})(loader||(loader={}));globalObject.define=loader.define;globalObject.dclamd=loader;'},2935:function(e,t,n){"use strict";n.r(t),t.default='(function webpackUniversalModuleDefinition(root,factory){if(typeof exports===\'object\'&&typeof module===\'object\')module.exports=factory();else if(typeof define===\'function\'&&define.amd)define([],factory);else{var a=factory();for(var i in a)(typeof exports===\'object\'?exports:root)[i]=a[i];}})(window,function(){return(/******/function(modules){// webpackBootstrap\n/******/ // The module cache\n/******/var installedModules={};/******/ /******/ // The require function\n/******/function __webpack_require__(moduleId){/******/ /******/ // Check if module is in cache\n/******/if(installedModules[moduleId]){/******/return installedModules[moduleId].exports;/******/}/******/ // Create a new module (and put it into the cache)\n/******/var module=installedModules[moduleId]={/******/i:moduleId,/******/l:false,/******/exports:{}/******/};/******/ /******/ // Execute the module function\n/******/modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);/******/ /******/ // Flag the module as loaded\n/******/module.l=true;/******/ /******/ // Return the exports of the module\n/******/return module.exports;/******/}/******/ /******/ /******/ // expose the modules object (__webpack_modules__)\n/******/__webpack_require__.m=modules;/******/ /******/ // expose the module cache\n/******/__webpack_require__.c=installedModules;/******/ /******/ // define getter function for harmony exports\n/******/__webpack_require__.d=function(exports,name,getter){/******/if(!__webpack_require__.o(exports,name)){/******/Object.defineProperty(exports,name,{enumerable:true,get:getter});/******/}/******/};/******/ /******/ // define __esModule on exports\n/******/__webpack_require__.r=function(exports){/******/if(typeof Symbol!==\'undefined\'&&Symbol.toStringTag){/******/Object.defineProperty(exports,Symbol.toStringTag,{value:\'Module\'});/******/}/******/Object.defineProperty(exports,\'__esModule\',{value:true});/******/};/******/ /******/ // create a fake namespace object\n/******/ // mode & 1: value is a module id, require it\n/******/ // mode & 2: merge all properties of value into the ns\n/******/ // mode & 4: return value when already ns object\n/******/ // mode & 8|1: behave like require\n/******/__webpack_require__.t=function(value,mode){/******/if(mode&1)value=__webpack_require__(value);/******/if(mode&8)return value;/******/if(mode&4&&typeof value===\'object\'&&value&&value.__esModule)return value;/******/var ns=Object.create(null);/******/__webpack_require__.r(ns);/******/Object.defineProperty(ns,\'default\',{enumerable:true,value:value});/******/if(mode&2&&typeof value!=\'string\')for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key];}.bind(null,key));/******/return ns;/******/};/******/ /******/ // getDefaultExport function for compatibility with non-harmony modules\n/******/__webpack_require__.n=function(module){/******/var getter=module&&module.__esModule?/******/function getDefault(){return module[\'default\'];}:/******/function getModuleExports(){return module;};/******/__webpack_require__.d(getter,\'a\',getter);/******/return getter;/******/};/******/ /******/ // Object.prototype.hasOwnProperty.call\n/******/__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property);};/******/ /******/ // __webpack_public_path__\n/******/__webpack_require__.p="";/******/ /******/ /******/ // Load entry module and return exports\n/******/return __webpack_require__(__webpack_require__.s="./src/ecsScene/scene.ts");/******/}/************************************************************************/ /******/({/***/"./node_modules/decentraland-builder-scripts/channel.ts":/*!**************************************************************!*\\\n  !*** ./node_modules/decentraland-builder-scripts/channel.ts ***!\n  \\**************************************************************/ /*! no static exports found */ /***/function(module,exports,__webpack_require__){"use strict";eval("\\n/// <reference path=\\"./types.d.ts\\" />\\nexports.__esModule = true;\\nexports.createChannel = void 0;\\nvar tslib_1 = __webpack_require__(/*! tslib */ \\"./node_modules/tslib/tslib.es6.js\\");\\nvar REQUEST_VALUE = \'__request_value__\';\\nvar REPLY_VALUE = \'__reply_value__\';\\nvar POLL_INTERVAL = 5000;\\nfunction createChannel(id, host, bus) {\\n    var handlers = {};\\n    var requests = {};\\n    var responses = {};\\n    bus.on(host.name, function (action) {\\n        var handler = handlers[action.actionId];\\n        if (handler) {\\n            handler(action);\\n        }\\n        // clear all pending requests for this entity\\n        requests = {};\\n    });\\n    bus.on(REQUEST_VALUE, function (message) {\\n        if (message.sender !== id && message.entityName === host.name) {\\n            var key = message.key;\\n            var response = responses[key];\\n            if (response) {\\n                var value = response();\\n                var reply = {\\n                    entityName: host.name,\\n                    key: key,\\n                    sender: id,\\n                    value: value\\n                };\\n                bus.emit(REPLY_VALUE, reply);\\n            }\\n            // clear pending request for this key\\n            delete requests[key];\\n        }\\n    });\\n    bus.on(REPLY_VALUE, function (message) {\\n        if (message.sender !== id && message.entityName === host.name) {\\n            var key = message.key, value = message.value;\\n            var request = requests[key];\\n            if (request) {\\n                request(value);\\n            }\\n            // clear pending request for this key\\n            delete requests[key];\\n        }\\n    });\\n    return {\\n        id: id,\\n        bus: bus,\\n        createAction: function (actionId, values) {\\n            var action = {\\n                entityName: host.name,\\n                actionId: actionId,\\n                values: values\\n            };\\n            return action;\\n        },\\n        sendActions: function (actions) {\\n            var e_1, _a;\\n            if (actions === void 0) { actions = []; }\\n            try {\\n                for (var actions_1 = tslib_1.__values(actions), actions_1_1 = actions_1.next(); !actions_1_1.done; actions_1_1 = actions_1.next()) {\\n                    var base = actions_1_1.value;\\n                    var action = tslib_1.__assign(tslib_1.__assign({}, base), { sender: id });\\n                    bus.emit(action.entityName, action);\\n                }\\n            }\\n            catch (e_1_1) { e_1 = { error: e_1_1 }; }\\n            finally {\\n                try {\\n                    if (actions_1_1 && !actions_1_1.done && (_a = actions_1[\\"return\\"])) _a.call(actions_1);\\n                }\\n                finally { if (e_1) throw e_1.error; }\\n            }\\n        },\\n        handleAction: function (actionId, handler) {\\n            handlers[actionId] = handler;\\n        },\\n        request: function (key, callback) {\\n            requests[key] = callback;\\n            var request = { entityName: host.name, key: key, sender: id };\\n            var interval = setInterval(function () {\\n                if (key in requests) {\\n                    bus.emit(REQUEST_VALUE, request);\\n                }\\n                else {\\n                    clearInterval(interval);\\n                }\\n            }, POLL_INTERVAL);\\n        },\\n        reply: function (key, callback) {\\n            responses[key] = callback;\\n        }\\n    };\\n}\\nexports.createChannel = createChannel;\\n\\n\\n//# sourceURL=webpack:///./node_modules/decentraland-builder-scripts/channel.ts?");/***/},/***/"./node_modules/decentraland-builder-scripts/inventory.ts":/*!****************************************************************!*\\\n  !*** ./node_modules/decentraland-builder-scripts/inventory.ts ***!\n  \\****************************************************************/ /*! no static exports found */ /***/function(module,exports,__webpack_require__){"use strict";eval("\\n/// <reference path=\\"./types.d.ts\\" />\\nexports.__esModule = true;\\nexports.createInventory = void 0;\\nfunction createInventory(UICanvas, UIContainerStack, UIImage) {\\n    var canvas = null;\\n    var container = null;\\n    var images = {};\\n    function getContainer() {\\n        if (!canvas) {\\n            canvas = new UICanvas();\\n        }\\n        if (!container) {\\n            container = new UIContainerStack(canvas);\\n            container.isPointerBlocker = false;\\n            container.vAlign = \'bottom\';\\n            container.hAlign = \'right\';\\n            container.stackOrientation = 0;\\n            container.spacing = 0;\\n            container.positionY = 75;\\n            container.positionX = -25;\\n        }\\n        return container;\\n    }\\n    return {\\n        add: function (id, texture) {\\n            var image = images[id] || new UIImage(getContainer(), texture);\\n            image.width = 128;\\n            image.height = 128;\\n            image.sourceTop = 0;\\n            image.sourceLeft = 0;\\n            image.sourceHeight = 256;\\n            image.sourceWidth = 256;\\n            image.isPointerBlocker = false;\\n            image.visible = true;\\n            images[id] = image;\\n        },\\n        remove: function (id) {\\n            var image = images[id];\\n            if (image) {\\n                image.visible = false;\\n                image.height = 0;\\n                image.width = 0;\\n            }\\n        },\\n        has: function (id) {\\n            return id in images && images[id].visible;\\n        }\\n    };\\n}\\nexports.createInventory = createInventory;\\n\\n\\n//# sourceURL=webpack:///./node_modules/decentraland-builder-scripts/inventory.ts?");/***/},/***/"./node_modules/decentraland-ecs/dist/src/index.js":/*!*********************************************************!*\\\n  !*** ./node_modules/decentraland-ecs/dist/src/index.js ***!\n  \\*********************************************************/ /*! no static exports found */ /***/function(module,exports){eval("!function(t,e){for(var n in e)t[n]=e[n]}(this,function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&\\"object\\"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,\\"default\\",{enumerable:!0,value:t}),2&e&&\\"string\\"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,\\"a\\",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p=\\"\\",n(n.s=30)}([function(t,e,n){\\"use strict\\";var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},r=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},i=this&&this.__read||function(t,e){var n=\\"function\\"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},s=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.isDisposableComponent=e.ObservableComponent=e.getComponentId=e.getComponentClassId=e.getComponentName=e.DisposableComponent=e.Component=e.DisposableComponentUpdated=e.DisposableComponentRemoved=e.DisposableComponentCreated=void 0;var a=n(1),p=n(8),u=n(18),l=function(){function t(t,e,n){this.componentId=t,this.componentName=e,this.classId=n}return t=r([p.EventConstructor()],t)}();e.DisposableComponentCreated=l;var c=function(){function t(t){this.componentId=t}return t=r([p.EventConstructor()],t)}();e.DisposableComponentRemoved=c;var h=function(){function t(t,e){this.componentId=t,this.component=e}return t=r([p.EventConstructor()],t)}();function d(t,e){return function(n){if(n.isComponent)throw new TypeError(\\"You cannot extend a component. Trying to extend \\"+n.originalClassName+\\" with: \\"+t);if(\\"number\\"!=typeof e||isNaN(e))throw new Error(\\"classId: \\"+e+\\" is an invalid integer\\");var o=n,r=function(){if(!d.engine)throw new Error(\\"You need to set a DisposableComponent.engine before creating disposable components\\");var n=Array.prototype.slice.call(arguments),r=new(o.bind.apply(o,s([void 0],n))),i=a.newId(\\"C\\");return Object.defineProperty(r,\\"__name__symbol_\\",{enumerable:!1,writable:!1,configurable:!1,value:t}),Object.defineProperty(r,\\"__component__id_\\",{enumerable:!1,writable:!1,configurable:!1,value:i}),void 0!==e&&Object.defineProperty(r,\\"__classId__symbol_\\",{enumerable:!1,writable:!1,configurable:!1,value:e}),d.engine&&d.engine.registerComponent(r),r};return void 0!==e&&(r.__classId__symbol_=e),r.__name__symbol_=t,r.isComponent=!0,r.isDisposableComponent=!0,r.originalClassName=t,(r.prototype=n.prototype).constructor=n,r}}function f(t){if(!t)throw new TypeError(t+\\" is not a component.\\");if(t.__component__id_)return t.__component__id_;throw new TypeError(t+\\" is not a registered disposable component.\\")}e.DisposableComponentUpdated=h,e.Component=function(t,e){return function(n){if(n.isComponent)throw new TypeError(\\"You cannot extend a component. Trying to extend \\"+n.originalClassName+\\" with: \\"+t);var o=n,r=function(){var n=Array.prototype.slice.call(arguments),r=new(o.bind.apply(o,s([void 0],n)));return Object.defineProperty(r,\\"__name__symbol_\\",{enumerable:!1,writable:!1,configurable:!1,value:t}),void 0!==e&&Object.defineProperty(r,\\"__classId__symbol_\\",{enumerable:!1,writable:!1,configurable:!1,value:e}),r};return void 0!==e&&(r.__classId__symbol_=e),r.__name__symbol_=t,r.isComponent=!0,r.originalClassName=t,(r.prototype=n.prototype).constructor=n,r}},e.DisposableComponent=d,function(t){t.engine=null}(d=e.DisposableComponent||(e.DisposableComponent={})),e.getComponentName=function(t){if(!t)throw new TypeError(t+\\" is not a component.\\");if(t.__name__symbol_)return t.__name__symbol_;throw new TypeError(t+\\" is not a registered component.\\")},e.getComponentClassId=function(t){if(!t)throw new TypeError(t+\\" is not a component.\\");if(t.__classId__symbol_)return t.__classId__symbol_;if(!t.__name__symbol_)throw new TypeError(t+\\" is not a registered component.\\");return null},e.getComponentId=f;var y=function(){function t(){this.dirty=!1,this.data={},this.subscriptions=[]}return t.component=function(t,e){if(delete t[e]){var n=e+\\"_\\"+Math.random();t[n]=void 0,Object.defineProperty(t,n,o(o({},Object.getOwnPropertyDescriptor(t,n)),{enumerable:!1})),Object.defineProperty(t,e.toString(),{get:function(){return this[n]},set:function(t){var o=this[n];if(this.data[e]=t?f(t):null,this[n]=t,t!==o){this.dirty=!0;for(var r=0;r<this.subscriptions.length;r++)this.subscriptions[r](e,t,o)}},enumerable:!0})}},t.field=function(t,e){delete t[e]&&Object.defineProperty(t,e.toString(),{get:function(){return this.data[e]},set:function(t){var n=this.data[e];if(this.data[e]=t,t!==n){this.dirty=!0;for(var o=0;o<this.subscriptions.length;o++)this.subscriptions[o](e,t,n)}},enumerable:!0})},t.uiValue=function(t,e){delete t[e]&&Object.defineProperty(t,e.toString(),{get:function(){return this.data[e].toString()},set:function(t){var n=this.data[e],o=new u.UIValue(t);if(this.data[e]=o,o!==n){this.dirty=!0;for(var r=0;r<this.subscriptions.length;r++)this.subscriptions[r](e,o,n)}},enumerable:!0})},t.readonly=function(t,e){delete t[e]&&Object.defineProperty(t,e.toString(),{get:function(){if(e in this.data==!1)throw new Error(\\"The field \\"+e+\\" is uninitialized\\");return this.data[e]},set:function(t){if(e in this.data)throw new Error(\\"The field \\"+e+\\" is readonly\\");this.data[e]=t,this.dirty=!0},enumerable:!0,configurable:!1})},t.prototype.onChange=function(t){return this.subscriptions.push(t),this},t.prototype.toJSON=function(){return this.data},t}();e.ObservableComponent=y,e.isDisposableComponent=function(t){return\\"__component__id_\\"in t}},function(t,e,n){\\"use strict\\";var o=this&&this.__read||function(t,e){var n=\\"function\\"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},r=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(o(arguments[e]));return t};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.openNFTDialog=e.openExternalURL=e.buildArray=e.uuid=e.newId=e.error=e.log=void 0;var i=0;e.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];\\"undefined\\"!=typeof dcl?dcl.log.apply(dcl,r(t)):console.log.apply(console,r([\\"DEBUG:\\"],t))},e.error=function(t,e){\\"undefined\\"!=typeof dcl?dcl.error(t,e):console.error(\\"ERROR:\\",t,e)},e.newId=function(t){if(i++,0===t.length)throw new Error(\\"newId(type: string): type cannot be empty\\");return t+i.toString(36)},e.uuid=function(){return\\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\\".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return(\\"x\\"===t?e:3&e|8).toString(16)}))},e.buildArray=function(t,e){for(var n=[],o=0;o<t;++o)n.push(e());return n},e.openExternalURL=function(t){\\"undefined\\"!=typeof dcl?typeof t.startsWith ===\'function\'&&t.startsWith(\'https:\')?dcl.openExternalUrl(t):console.error(\\"ERROR: url is invalid, it must start with https:\\"):console.error(\\"ERROR: openExternalURL dcl is undefined\\")},e.openNFTDialog=function(t,e){if(void 0===e&&(e=null),\\"undefined\\"!=typeof dcl){var n=t.match(/ethereum:\\\\/\\\\/(.+)\\\\/(.+)/);if(!n||n.length<3)return;dcl.openNFTDialog(n[1],n[2],e)}else console.error(\\"ERROR: openNFTDialog dcl is undefined\\")}},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.RAD2DEG=e.DEG2RAD=e.Epsilon=e.ToLinearSpace=e.ToGammaSpace=e.Space=e.Orientation=void 0,function(t){t[t.CW=0]=\\"CW\\",t[t.CCW=1]=\\"CCW\\"}(e.Orientation||(e.Orientation={})),function(t){t[t.LOCAL=0]=\\"LOCAL\\",t[t.WORLD=1]=\\"WORLD\\",t[t.BONE=2]=\\"BONE\\"}(e.Space||(e.Space={})),e.ToGammaSpace=1/2.2,e.ToLinearSpace=2.2,e.Epsilon=1e-6,e.DEG2RAD=Math.PI/180,e.RAD2DEG=360/(2*Math.PI)},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Vector3=void 0;var o=n(9),r=n(2),i=n(10),s=n(6),a=function(){function t(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.x=t,this.y=e,this.z=n}return Object.defineProperty(t.prototype,\\"isNonUniform\\",{get:function(){var t=Math.abs(this.x),e=Math.abs(this.y);if(t!==e)return!0;var n=Math.abs(this.z);return t!==n||e!==n},enumerable:!1,configurable:!0}),t.Add=function(e,n){return new t(e.x,e.y,e.z).addInPlace(n)},t.GetClipFactor=function(e,n,o,r){var i=t.Dot(e,o)-r;return i/(i-(t.Dot(n,o)-r))},t.GetAngleBetweenVectors=function(e,n,r){var i=e.normalizeToRef(o.MathTmp.Vector3[1]),s=n.normalizeToRef(o.MathTmp.Vector3[2]),a=t.Dot(i,s),p=o.MathTmp.Vector3[3];return t.CrossToRef(i,s,p),t.Dot(p,r)>0?Math.acos(a):-Math.acos(a)},t.FromArray=function(e,n){return void 0===n&&(n=0),new t(e[n],e[n+1],e[n+2])},t.FromFloatArray=function(e,n){return t.FromArray(e,n)},t.FromArrayToRef=function(t,e,n){n.x=t[e],n.y=t[e+1],n.z=t[e+2]},t.FromFloatArrayToRef=function(e,n,o){return t.FromArrayToRef(e,n,o)},t.FromFloatsToRef=function(t,e,n,o){o.copyFromFloats(t,e,n)},t.Zero=function(){return new t(0,0,0)},t.One=function(){return new t(1,1,1)},t.Up=function(){return new t(0,1,0)},t.Down=function(){return new t(0,-1,0)},t.Forward=function(){return new t(0,0,1)},t.Backward=function(){return new t(0,0,-1)},t.Right=function(){return new t(1,0,0)},t.Left=function(){return new t(-1,0,0)},t.TransformCoordinates=function(e,n){var o=t.Zero();return t.TransformCoordinatesToRef(e,n,o),o},t.TransformCoordinatesToRef=function(e,n,o){return t.TransformCoordinatesFromFloatsToRef(e.x,e.y,e.z,n,o)},t.TransformCoordinatesFromFloatsToRef=function(t,e,n,o,r){var i=o.m,s=t*i[0]+e*i[4]+n*i[8]+i[12],a=t*i[1]+e*i[5]+n*i[9]+i[13],p=t*i[2]+e*i[6]+n*i[10]+i[14],u=1/(t*i[3]+e*i[7]+n*i[11]+i[15]);r.x=s*u,r.y=a*u,r.z=p*u},t.TransformNormal=function(e,n){var o=t.Zero();return t.TransformNormalToRef(e,n,o),o},t.TransformNormalToRef=function(t,e,n){this.TransformNormalFromFloatsToRef(t.x,t.y,t.z,e,n)},t.TransformNormalFromFloatsToRef=function(t,e,n,o,r){var i=o.m;r.x=t*i[0]+e*i[4]+n*i[8],r.y=t*i[1]+e*i[5]+n*i[9],r.z=t*i[2]+e*i[6]+n*i[10]},t.CatmullRom=function(e,n,o,r,i){var s=i*i,a=i*s;return new t(.5*(2*n.x+(-e.x+o.x)*i+(2*e.x-5*n.x+4*o.x-r.x)*s+(-e.x+3*n.x-3*o.x+r.x)*a),.5*(2*n.y+(-e.y+o.y)*i+(2*e.y-5*n.y+4*o.y-r.y)*s+(-e.y+3*n.y-3*o.y+r.y)*a),.5*(2*n.z+(-e.z+o.z)*i+(2*e.z-5*n.z+4*o.z-r.z)*s+(-e.z+3*n.z-3*o.z+r.z)*a))},t.Clamp=function(e,n,o){var r=new t;return t.ClampToRef(e,n,o,r),r},t.ClampToRef=function(t,e,n,o){var r=t.x;r=(r=r>n.x?n.x:r)<e.x?e.x:r;var i=t.y;i=(i=i>n.y?n.y:i)<e.y?e.y:i;var s=t.z;s=(s=s>n.z?n.z:s)<e.z?e.z:s,o.copyFromFloats(r,i,s)},t.Hermite=function(e,n,o,r,i){var s=i*i,a=i*s,p=2*a-3*s+1,u=-2*a+3*s,l=a-2*s+i,c=a-s;return new t(e.x*p+o.x*u+n.x*l+r.x*c,e.y*p+o.y*u+n.y*l+r.y*c,e.z*p+o.z*u+n.z*l+r.z*c)},t.Lerp=function(e,n,o){var r=new t(0,0,0);return t.LerpToRef(e,n,o,r),r},t.LerpToRef=function(t,e,n,o){o.x=t.x+(e.x-t.x)*n,o.y=t.y+(e.y-t.y)*n,o.z=t.z+(e.z-t.z)*n},t.Dot=function(t,e){return t.x*e.x+t.y*e.y+t.z*e.z},t.Cross=function(e,n){var o=t.Zero();return t.CrossToRef(e,n,o),o},t.CrossToRef=function(t,e,n){var o=t.y*e.z-t.z*e.y,r=t.z*e.x-t.x*e.z,i=t.x*e.y-t.y*e.x;n.copyFromFloats(o,r,i)},t.Normalize=function(e){var n=t.Zero();return t.NormalizeToRef(e,n),n},t.NormalizeToRef=function(t,e){t.normalizeToRef(e)},t.Minimize=function(e,n){var o=new t(e.x,e.y,e.z);return o.minimizeInPlace(n),o},t.Maximize=function(e,n){var o=new t(e.x,e.y,e.z);return o.maximizeInPlace(n),o},t.Distance=function(e,n){return Math.sqrt(t.DistanceSquared(e,n))},t.DistanceSquared=function(t,e){var n=t.x-e.x,o=t.y-e.y,r=t.z-e.z;return n*n+o*o+r*r},t.Center=function(e,n){var o=t.Add(e,n);return o.scaleInPlace(.5),o},t.RotationFromAxis=function(e,n,o){var r=t.Zero();return t.RotationFromAxisToRef(e,n,o,r),r},t.RotationFromAxisToRef=function(t,e,n,r){var s=o.MathTmp.Quaternion[0];i.Quaternion.RotationQuaternionFromAxisToRef(t,e,n,s),r.copyFrom(s.eulerAngles)},t.prototype.toString=function(){return\\"(\\"+this.x+\\", \\"+this.y+\\", \\"+this.z+\\")\\"},t.prototype.getClassName=function(){return\\"Vector3\\"},t.prototype.getHashCode=function(){var t=this.x||0;return t=397*(t=397*t^(this.y||0))^(this.z||0)},t.prototype.asArray=function(){var t=[];return this.toArray(t,0),t},t.prototype.toArray=function(t,e){return void 0===e&&(e=0),t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,this},t.prototype.toQuaternion=function(){return i.Quaternion.Identity.setEuler(this.y,this.x,this.z)},t.prototype.addInPlace=function(t){return this.addInPlaceFromFloats(t.x,t.y,t.z)},t.prototype.addInPlaceFromFloats=function(t,e,n){return this.x+=t,this.y+=e,this.z+=n,this},t.prototype.add=function(e){return new t(this.x+e.x,this.y+e.y,this.z+e.z)},t.prototype.addToRef=function(t,e){return e.copyFromFloats(this.x+t.x,this.y+t.y,this.z+t.z)},t.prototype.subtractInPlace=function(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this},t.prototype.subtract=function(e){return new t(this.x-e.x,this.y-e.y,this.z-e.z)},t.prototype.subtractToRef=function(t,e){return this.subtractFromFloatsToRef(t.x,t.y,t.z,e)},t.prototype.subtractFromFloats=function(e,n,o){return new t(this.x-e,this.y-n,this.z-o)},t.prototype.subtractFromFloatsToRef=function(t,e,n,o){return o.copyFromFloats(this.x-t,this.y-e,this.z-n)},t.prototype.applyMatrix4=function(t){this.applyMatrix4ToRef(t,this)},t.prototype.applyMatrix4ToRef=function(t,e){var n=this.x,o=this.y,r=this.z,i=t.m,s=1/(i[3]*n+i[7]*o+i[11]*r+i[15]);return e.x=(i[0]*n+i[4]*o+i[8]*r+i[12])*s,e.y=(i[1]*n+i[5]*o+i[9]*r+i[13])*s,e.z=(i[2]*n+i[6]*o+i[10]*r+i[14])*s,e},t.prototype.rotate=function(t){return this.rotateToRef(t,this)},t.prototype.rotateToRef=function(t,e){var n=this.x,o=this.y,r=this.z,i=t.x,s=t.y,a=t.z,p=t.w,u=p*n+s*r-a*o,l=p*o+a*n-i*r,c=p*r+i*o-s*n,h=-i*n-s*o-a*r;return e.x=u*p+h*-i+l*-a-c*-s,e.y=l*p+h*-s+c*-i-u*-a,e.z=c*p+h*-a+u*-s-l*-i,e},t.prototype.negate=function(){return new t(-this.x,-this.y,-this.z)},t.prototype.scaleInPlace=function(t){return this.x*=t,this.y*=t,this.z*=t,this},t.prototype.scale=function(e){return new t(this.x*e,this.y*e,this.z*e)},t.prototype.scaleToRef=function(t,e){return e.copyFromFloats(this.x*t,this.y*t,this.z*t)},t.prototype.scaleAndAddToRef=function(t,e){return e.addInPlaceFromFloats(this.x*t,this.y*t,this.z*t)},t.prototype.equals=function(t){return t&&this.x===t.x&&this.y===t.y&&this.z===t.z},t.prototype.equalsWithEpsilon=function(t,e){return void 0===e&&(e=r.Epsilon),t&&s.Scalar.WithinEpsilon(this.x,t.x,e)&&s.Scalar.WithinEpsilon(this.y,t.y,e)&&s.Scalar.WithinEpsilon(this.z,t.z,e)},t.prototype.equalsToFloats=function(t,e,n){return this.x===t&&this.y===e&&this.z===n},t.prototype.multiplyInPlace=function(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this},t.prototype.multiply=function(t){return this.multiplyByFloats(t.x,t.y,t.z)},t.prototype.multiplyToRef=function(t,e){return e.copyFromFloats(this.x*t.x,this.y*t.y,this.z*t.z)},t.prototype.multiplyByFloats=function(e,n,o){return new t(this.x*e,this.y*n,this.z*o)},t.prototype.divide=function(e){return new t(this.x/e.x,this.y/e.y,this.z/e.z)},t.prototype.divideToRef=function(t,e){return e.copyFromFloats(this.x/t.x,this.y/t.y,this.z/t.z)},t.prototype.divideInPlace=function(t){return this.divideToRef(t,this)},t.prototype.minimizeInPlace=function(t){return this.minimizeInPlaceFromFloats(t.x,t.y,t.z)},t.prototype.maximizeInPlace=function(t){return this.maximizeInPlaceFromFloats(t.x,t.y,t.z)},t.prototype.minimizeInPlaceFromFloats=function(t,e,n){return t<this.x&&(this.x=t),e<this.y&&(this.y=e),n<this.z&&(this.z=n),this},t.prototype.maximizeInPlaceFromFloats=function(t,e,n){return t>this.x&&(this.x=t),e>this.y&&(this.y=e),n>this.z&&(this.z=n),this},t.prototype.floor=function(){return new t(Math.floor(this.x),Math.floor(this.y),Math.floor(this.z))},t.prototype.fract=function(){return new t(this.x-Math.floor(this.x),this.y-Math.floor(this.y),this.z-Math.floor(this.z))},t.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},t.prototype.lengthSquared=function(){return this.x*this.x+this.y*this.y+this.z*this.z},t.prototype.normalize=function(){return this.normalizeFromLength(this.length())},t.prototype.normalizeFromLength=function(t){return 0===t||1===t?this:this.scaleInPlace(1/t)},t.prototype.normalizeToNew=function(){var e=new t(0,0,0);return this.normalizeToRef(e),e},t.prototype.normalizeToRef=function(t){var e=this.length();return 0===e||1===e?t.copyFromFloats(this.x,this.y,this.z):this.scaleToRef(1/e,t)},t.prototype.clone=function(){return new t(this.x,this.y,this.z)},t.prototype.copyFrom=function(t){return this.copyFromFloats(t.x,t.y,t.z)},t.prototype.copyFromFloats=function(t,e,n){return this.x=t,this.y=e,this.z=n,this},t.prototype.set=function(t,e,n){return this.copyFromFloats(t,e,n)},t.prototype.setAll=function(t){return this.x=this.y=this.z=t,this},t}();e.Vector3=a},function(t,e,n){\\"use strict\\";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.VideoTexture=e.VideoClip=e.SmartItem=e.OnAnimationEnd=e.OnPointerLock=e.OnPointerUUIDEvent=e.OnUUIDEvent=e.BasicMaterial=e.Material=e.TransparencyMode=e.TextShape=e.Fonts=e.Font=e.OBJShape=e.Animator=e.Texture=e.NFTShape=e.PictureFrameStyle=e.GLTFShape=e.CylinderShape=e.ConeShape=e.PlaneShape=e.CircleShape=e.SphereShape=e.BoxShape=e.Shape=e.Billboard=e.Transform=e.AvatarModifierArea=e.AvatarModifiers=e.CLASS_ID=void 0;var a,p=n(0),u=n(5),l=n(26),c=n(1),h=n(16);!function(t){t[t.TRANSFORM=1]=\\"TRANSFORM\\",t[t.UUID_CALLBACK=8]=\\"UUID_CALLBACK\\",t[t.BOX_SHAPE=16]=\\"BOX_SHAPE\\",t[t.SPHERE_SHAPE=17]=\\"SPHERE_SHAPE\\",t[t.PLANE_SHAPE=18]=\\"PLANE_SHAPE\\",t[t.CONE_SHAPE=19]=\\"CONE_SHAPE\\",t[t.CYLINDER_SHAPE=20]=\\"CYLINDER_SHAPE\\",t[t.TEXT_SHAPE=21]=\\"TEXT_SHAPE\\",t[t.NFT_SHAPE=22]=\\"NFT_SHAPE\\",t[t.UI_WORLD_SPACE_SHAPE=23]=\\"UI_WORLD_SPACE_SHAPE\\",t[t.UI_SCREEN_SPACE_SHAPE=24]=\\"UI_SCREEN_SPACE_SHAPE\\",t[t.UI_CONTAINER_RECT=25]=\\"UI_CONTAINER_RECT\\",t[t.UI_CONTAINER_STACK=26]=\\"UI_CONTAINER_STACK\\",t[t.UI_TEXT_SHAPE=27]=\\"UI_TEXT_SHAPE\\",t[t.UI_INPUT_TEXT_SHAPE=28]=\\"UI_INPUT_TEXT_SHAPE\\",t[t.UI_IMAGE_SHAPE=29]=\\"UI_IMAGE_SHAPE\\",t[t.UI_SLIDER_SHAPE=30]=\\"UI_SLIDER_SHAPE\\",t[t.CIRCLE_SHAPE=31]=\\"CIRCLE_SHAPE\\",t[t.BILLBOARD=32]=\\"BILLBOARD\\",t[t.ANIMATION=33]=\\"ANIMATION\\",t[t.FONT=34]=\\"FONT\\",t[t.UI_FULLSCREEN_SHAPE=40]=\\"UI_FULLSCREEN_SHAPE\\",t[t.UI_BUTTON_SHAPE=41]=\\"UI_BUTTON_SHAPE\\",t[t.GLTF_SHAPE=54]=\\"GLTF_SHAPE\\",t[t.OBJ_SHAPE=55]=\\"OBJ_SHAPE\\",t[t.AVATAR_SHAPE=56]=\\"AVATAR_SHAPE\\",t[t.BASIC_MATERIAL=64]=\\"BASIC_MATERIAL\\",t[t.PBR_MATERIAL=65]=\\"PBR_MATERIAL\\",t[t.HIGHLIGHT_ENTITY=66]=\\"HIGHLIGHT_ENTITY\\",t[t.SOUND=67]=\\"SOUND\\",t[t.TEXTURE=68]=\\"TEXTURE\\",t[t.VIDEO_CLIP=70]=\\"VIDEO_CLIP\\",t[t.VIDEO_TEXTURE=71]=\\"VIDEO_TEXTURE\\",t[t.AUDIO_CLIP=200]=\\"AUDIO_CLIP\\",t[t.AUDIO_SOURCE=201]=\\"AUDIO_SOURCE\\",t[t.AUDIO_STREAM=202]=\\"AUDIO_STREAM\\",t[t.GIZMOS=203]=\\"GIZMOS\\",t[t.SMART_ITEM=204]=\\"SMART_ITEM\\",t[t.AVATAR_MODIFIER_AREA=205]=\\"AVATAR_MODIFIER_AREA\\"}(a=e.CLASS_ID||(e.CLASS_ID={})),function(t){t.HIDE_AVATARS=\\"HIDE_AVATARS\\",t.DISABLE_PASSPORTS=\\"DISABLE_PASSPORTS\\"}(e.AvatarModifiers||(e.AvatarModifiers={}));var d=function(t){function e(e){var n=t.call(this)||this;return n.area=e.area,n.modifiers=e.modifiers,n}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"area\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"modifiers\\",void 0),e=s([p.Component(\\"engine.avatarModifierArea\\",a.AVATAR_MODIFIER_AREA)],e)}(p.ObservableComponent);e.AvatarModifierArea=d;var f=function(t){function e(e){void 0===e&&(e={});var n=t.call(this)||this;return n.position=e.position||u.Vector3.Zero(),n.rotation=e.rotation||u.Quaternion.Identity,n.scale=e.scale||new u.Vector3(1,1,1),n}return r(e,t),Object.defineProperty(e.prototype,\\"eulerAngles\\",{get:function(){return this.rotation.eulerAngles},enumerable:!1,configurable:!0}),e.prototype.lookAt=function(t,e){void 0===e&&(e=u.MathTmp.staticUp);var n=new u.Matrix;return u.Matrix.LookAtLHToRef(this.position,t,e,n),n.invert(),u.Quaternion.FromRotationMatrixToRef(n,this.rotation),this},e.prototype.rotate=function(t,e){return this.rotation.multiplyInPlace(this.rotation.angleAxis(e,t)),this},e.prototype.translate=function(t){return this.position.addInPlace(t),this},s([p.ObservableComponent.field],e.prototype,\\"position\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"rotation\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"scale\\",void 0),e=s([p.Component(\\"engine.transform\\",a.TRANSFORM)],e)}(p.ObservableComponent);e.Transform=f;var y=function(t){function e(e,n,o){void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===o&&(o=!0);var r=t.call(this)||this;return r.x=!0,r.y=!0,r.z=!0,r.x=e,r.y=n,r.z=o,r}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"x\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"y\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"z\\",void 0),e=s([p.Component(\\"engine.billboard\\",a.BILLBOARD)],e)}(p.ObservableComponent);e.Billboard=y;var v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.withCollisions=!0,e.isPointerBlocker=!0,e.visible=!0,e}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"withCollisions\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"isPointerBlocker\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"visible\\",void 0),e}(p.ObservableComponent);e.Shape=v;var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e=s([p.DisposableComponent(\\"engine.shape\\",a.BOX_SHAPE)],e)}(v);e.BoxShape=m;var b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e=s([p.DisposableComponent(\\"engine.shape\\",a.SPHERE_SHAPE)],e)}(v);e.SphereShape=b;var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"segments\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"arc\\",void 0),e=s([p.DisposableComponent(\\"engine.shape\\",a.CIRCLE_SHAPE)],e)}(v);e.CircleShape=g;var _=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.width=1,e.height=1,e}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"width\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"height\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"uvs\\",void 0),e=s([p.DisposableComponent(\\"engine.shape\\",a.PLANE_SHAPE)],e)}(v);e.PlaneShape=_;var C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.radiusTop=0,e.radiusBottom=1,e.segmentsHeight=1,e.segmentsRadial=36,e.openEnded=!1,e.radius=null,e.arc=360,e}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"radiusTop\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"radiusBottom\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"segmentsHeight\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"segmentsRadial\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"openEnded\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"radius\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"arc\\",void 0),e=s([p.DisposableComponent(\\"engine.shape\\",a.CONE_SHAPE)],e)}(v);e.ConeShape=C;var O=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.radiusTop=1,e.radiusBottom=1,e.segmentsHeight=1,e.segmentsRadial=36,e.openEnded=!1,e.radius=null,e.arc=360,e}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"radiusTop\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"radiusBottom\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"segmentsHeight\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"segmentsRadial\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"openEnded\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"radius\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"arc\\",void 0),e=s([p.DisposableComponent(\\"engine.shape\\",a.CYLINDER_SHAPE)],e)}(v);e.CylinderShape=O;var x,w=function(t){function e(e){var n=t.call(this)||this;return n.src=e,n}return r(e,t),s([v.readonly],e.prototype,\\"src\\",void 0),e=s([p.DisposableComponent(\\"engine.shape\\",a.GLTF_SHAPE)],e)}(v);e.GLTFShape=w,function(t){t[t.Classic=0]=\\"Classic\\",t[t.Baroque_Ornament=1]=\\"Baroque_Ornament\\",t[t.Diamond_Ornament=2]=\\"Diamond_Ornament\\",t[t.Minimal_Wide=3]=\\"Minimal_Wide\\",t[t.Minimal_Grey=4]=\\"Minimal_Grey\\",t[t.Blocky=5]=\\"Blocky\\",t[t.Gold_Edges=6]=\\"Gold_Edges\\",t[t.Gold_Carved=7]=\\"Gold_Carved\\",t[t.Gold_Wide=8]=\\"Gold_Wide\\",t[t.Gold_Rounded=9]=\\"Gold_Rounded\\",t[t.Metal_Medium=10]=\\"Metal_Medium\\",t[t.Metal_Wide=11]=\\"Metal_Wide\\",t[t.Metal_Slim=12]=\\"Metal_Slim\\",t[t.Metal_Rounded=13]=\\"Metal_Rounded\\",t[t.Pins=14]=\\"Pins\\",t[t.Minimal_Black=15]=\\"Minimal_Black\\",t[t.Minimal_White=16]=\\"Minimal_White\\",t[t.Tape=17]=\\"Tape\\",t[t.Wood_Slim=18]=\\"Wood_Slim\\",t[t.Wood_Wide=19]=\\"Wood_Wide\\",t[t.Wood_Twigs=20]=\\"Wood_Twigs\\",t[t.Canvas=21]=\\"Canvas\\"}(x=e.PictureFrameStyle||(e.PictureFrameStyle={}));var T=function(t){function e(e,n){void 0===n&&(n={});var o=t.call(this)||this;o.src=e;var r=new u.Color3(.6404918,.611472,.8584906),i=x.Classic;return n instanceof u.Color3?r=n:null!=n&&(n.color&&(r=n.color),n.style&&(i=n.style)),o.color=r,o.style=i,o}return r(e,t),s([v.readonly],e.prototype,\\"src\\",void 0),s([v.readonly],e.prototype,\\"style\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"color\\",void 0),e=s([p.DisposableComponent(\\"engine.shape\\",a.NFT_SHAPE)],e)}(v);e.NFTShape=T;var R=function(t){function e(e,n){var o=t.call(this)||this;if(o.src=e,n)for(var r in n){o[r]=n[r]}return o}return r(e,t),s([p.ObservableComponent.readonly],e.prototype,\\"src\\",void 0),s([p.ObservableComponent.readonly],e.prototype,\\"samplingMode\\",void 0),s([p.ObservableComponent.readonly],e.prototype,\\"wrap\\",void 0),s([p.ObservableComponent.readonly],e.prototype,\\"hasAlpha\\",void 0),e=s([p.DisposableComponent(\\"engine.texture\\",a.TEXTURE)],e)}(p.ObservableComponent);e.Texture=R;var A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.states=[],e}return r(e,t),e.prototype.addClip=function(t){var e=this;return this.states.push(t),t.onChange((function(){e.dirty=!0})),this},e.prototype.getClip=function(t){for(var e=0;e<this.states.length;e++){var n=this.states[e];if(n.clip===t)return n}var o=new l.AnimationState(t);return this.addClip(o),o},s([p.ObservableComponent.readonly],e.prototype,\\"states\\",void 0),e=s([p.Component(\\"engine.animator\\",a.ANIMATION)],e)}(v);e.Animator=A;var E=function(t){function e(e){var n=t.call(this)||this;return n.src=e,n}return r(e,t),s([p.ObservableComponent.readonly],e.prototype,\\"src\\",void 0),e=s([p.DisposableComponent(\\"engine.shape\\",a.OBJ_SHAPE)],e)}(v);e.OBJShape=E;var S=function(t){function e(e){void 0===e&&(e=\\"\\");var n=t.call(this)||this;return n.src=e,n}return r(e,t),s([p.ObservableComponent.readonly],e.prototype,\\"src\\",void 0),e=s([p.DisposableComponent(\\"engine.font\\",a.FONT)],e)}(p.ObservableComponent);e.Font=S,function(t){t.SanFrancisco=\\"builtin:SF-UI-Text-Regular SDF\\",t.SanFrancisco_Heavy=\\"builtin:SF-UI-Text-Heavy SDF\\",t.SanFrancisco_Semibold=\\"builtin:SF-UI-Text-Semibold SDF\\",t.LiberationSans=\\"builtin:LiberationSans SDF\\"}(e.Fonts||(e.Fonts={}));var P,I=function(t){function e(e){var n=t.call(this)||this;return n.outlineWidth=0,n.outlineColor=new u.Color3(1,1,1),n.color=new u.Color3(1,1,1),n.fontSize=10,n.fontWeight=\\"normal\\",n.opacity=1,n.value=\\"\\",n.lineSpacing=\\"0px\\",n.lineCount=0,n.resizeToFit=!1,n.textWrapping=!1,n.shadowBlur=0,n.shadowOffsetX=0,n.shadowOffsetY=0,n.shadowColor=new u.Color3(1,1,1),n.zIndex=0,n.hTextAlign=\\"center\\",n.vTextAlign=\\"center\\",n.width=1,n.height=1,n.paddingTop=0,n.paddingRight=0,n.paddingBottom=0,n.paddingLeft=0,n.isPickable=!1,n.billboard=!1,n.visible=!0,e&&(n.value=e),n}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"outlineWidth\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"outlineColor\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"color\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"fontSize\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"fontWeight\\",void 0),s([p.ObservableComponent.component],e.prototype,\\"font\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"opacity\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"value\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"lineSpacing\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"lineCount\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"resizeToFit\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"textWrapping\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"shadowBlur\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"shadowOffsetX\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"shadowOffsetY\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"shadowColor\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"zIndex\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"hTextAlign\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"vTextAlign\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"width\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"height\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"paddingTop\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"paddingRight\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"paddingBottom\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"paddingLeft\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"isPickable\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"billboard\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"visible\\",void 0),e=s([p.Component(\\"engine.text\\",a.TEXT_SHAPE)],e)}(p.ObservableComponent);e.TextShape=I,function(t){t[t.OPAQUE=0]=\\"OPAQUE\\",t[t.ALPHA_TEST=1]=\\"ALPHA_TEST\\",t[t.ALPHA_BLEND=2]=\\"ALPHA_BLEND\\",t[t.ALPHA_TEST_AND_BLEND=3]=\\"ALPHA_TEST_AND_BLEND\\",t[t.AUTO=4]=\\"AUTO\\"}(P=e.TransparencyMode||(e.TransparencyMode={}));var z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.alphaTest=.5,e.castShadows=!0,e.transparencyMode=P.AUTO,e}return r(e,t),s([p.ObservableComponent.field],e.prototype,\\"alphaTest\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"albedoColor\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"emissiveColor\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"metallic\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"roughness\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"ambientColor\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"reflectionColor\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"reflectivityColor\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"directIntensity\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"microSurface\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"emissiveIntensity\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"environmentIntensity\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"specularIntensity\\",void 0),s([p.ObservableComponent.component],e.prototype,\\"albedoTexture\\",void 0),s([p.ObservableComponent.component],e.prototype,\\"alphaTexture\\",void 0),s([p.ObservableComponent.component],e.prototype,\\"emissiveTexture\\",void 0),s([p.ObservableComponent.component],e.prototype,\\"bumpTexture\\",void 0),s([p.ObservableComponent.component],e.prototype,\\"refractionTexture\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"castShadows\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"transparencyMode\\",void 0),e=s([p.DisposableComponent(\\"engine.material\\",a.PBR_MATERIAL)],e)}(p.ObservableComponent);e.Material=z;var M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.alphaTest=.5,e.castShadows=!0,e}return r(e,t),s([p.ObservableComponent.component],e.prototype,\\"texture\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"alphaTest\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"castShadows\\",void 0),e=s([p.DisposableComponent(\\"engine.material\\",a.BASIC_MATERIAL)],e)}(p.ObservableComponent);e.BasicMaterial=M;var D=function(t){function e(e){var n=t.call(this)||this;if(n.uuid=c.newId(\\"UUID\\"),!e||!(\\"apply\\"in e)||!(\\"call\\"in e))throw new Error(\\"Callback is not a function\\");return n.callback=e,n}return r(e,t),e.uuidEvent=function(t,n){if(delete t[n]){var o=n+\\"_\\"+Math.random();t[o]=void 0,Object.defineProperty(t,o,i(i({},Object.getOwnPropertyDescriptor(t,o)),{enumerable:!1})),Object.defineProperty(t,n.toString(),{get:function(){return this[o]},set:function(t){var r=this[o];if(t){if(!(t instanceof e))throw new Error(\\"value is not an OnUUIDEvent\\");this.data[n]=t.uuid}else this.data[n]=null;if(this[o]=t,t!==r){this.dirty=!0;for(var i=0;i<this.subscriptions.length;i++)this.subscriptions[i](n,t,r)}},enumerable:!0})}},e.prototype.toJSON=function(){return{uuid:this.uuid,type:this.type}},s([p.ObservableComponent.field],e.prototype,\\"callback\\",void 0),e}(p.ObservableComponent);e.OnUUIDEvent=D;var F=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.button=h.ActionButton.ANY,e.hoverText=\\"Interact\\",e.distance=10,e.showFeedback=!0,e}return r(e,t),e.prototype.toJSON=function(){return{uuid:this.uuid,type:this.type,button:this.button,hoverText:this.hoverText,distance:this.distance,showFeedback:this.showFeedback}},s([p.ObservableComponent.field],e.prototype,\\"button\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"hoverText\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"distance\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"showFeedback\\",void 0),e}(D);e.OnPointerUUIDEvent=F;var U=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\\"onPointerLock\\",e}return r(e,t),s([p.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=s([p.Component(\\"engine.onPointerLock\\",a.UUID_CALLBACK)],e)}(D);e.OnPointerLock=U;var L=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\\"onAnimationEnd\\",e}return r(e,t),s([p.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=s([p.Component(\\"engine.onAnimationEnd\\",a.UUID_CALLBACK)],e)}(D);e.OnAnimationEnd=L;var N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e=s([p.Component(\\"engine.smartItem\\",a.SMART_ITEM)],e)}(p.ObservableComponent);e.SmartItem=N;var V=function(t){function e(e){var n=t.call(this)||this;return n.url=e,n}return r(e,t),s([p.ObservableComponent.readonly],e.prototype,\\"url\\",void 0),e=s([p.DisposableComponent(\\"engine.VideoClip\\",a.VIDEO_CLIP)],e)}(p.ObservableComponent);e.VideoClip=V;var j=function(t){function e(e,n){var o=t.call(this)||this;if(o.volume=1,o.playbackRate=1,o.loop=!1,o.seek=-1,o.playing=!1,!(e instanceof V))throw new Error(\\"Trying to create VideoTexture(VideoClip) with an invalid VideoClip\\");if(o.videoClipId=p.getComponentId(e),n)for(var r in n){o[r]=n[r]}return o}return r(e,t),e.prototype.play=function(){this.playing=!0},e.prototype.pause=function(){this.playing=!1},e.prototype.reset=function(){this.seekTime(0)},e.prototype.seekTime=function(t){this.seek=t,this.dirty=!0,this.data.nonce=Math.random()},e.prototype.toJSON=function(){if(this.seek<0)return t.prototype.toJSON.call(this);var e=JSON.parse(JSON.stringify(t.prototype.toJSON.call(this)));return this.seek=-1,e},s([p.ObservableComponent.readonly],e.prototype,\\"videoClipId\\",void 0),s([p.ObservableComponent.readonly],e.prototype,\\"samplingMode\\",void 0),s([p.ObservableComponent.readonly],e.prototype,\\"wrap\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"volume\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"playbackRate\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"loop\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"seek\\",void 0),s([p.ObservableComponent.field],e.prototype,\\"playing\\",void 0),e=s([p.DisposableComponent(\\"engine.VideoTexture\\",a.VIDEO_TEXTURE)],e)}(p.ObservableComponent);e.VideoTexture=j},function(t,e,n){\\"use strict\\";var o=this&&this.__createBinding||(Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)\\"default\\"===n||Object.prototype.hasOwnProperty.call(e,n)||o(e,t,n)};Object.defineProperty(e,\\"__esModule\\",{value:!0}),r(n(2),e),r(n(9),e),r(n(22),e),r(n(23),e),r(n(36),e),r(n(37),e),r(n(38),e),r(n(24),e),r(n(39),e),r(n(40),e),r(n(11),e),r(n(41),e),r(n(42),e),r(n(25),e),r(n(10),e),r(n(6),e),r(n(43),e),r(n(15),e),r(n(3),e),r(n(21),e),r(n(5),e)},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Scalar=void 0;var o=function(){function t(){}return t.WithinEpsilon=function(t,e,n){void 0===n&&(n=1401298e-51);var o=t-e;return-n<=o&&o<=n},t.ToHex=function(t){var e=t.toString(16);return t<=15?(\\"0\\"+e).toUpperCase():e.toUpperCase()},t.Sign=function(t){var e=+t;return 0===e||isNaN(e)?e:e>0?1:-1},t.Clamp=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.min(n,Math.max(e,t))},t.Log2=function(t){return Math.log(t)*Math.LOG2E},t.Repeat=function(t,e){return t-Math.floor(t/e)*e},t.Normalize=function(t,e,n){return(t-e)/(n-e)},t.Denormalize=function(t,e,n){return t*(n-e)+e},t.DeltaAngle=function(e,n){var o=t.Repeat(n-e,360);return o>180&&(o-=360),o},t.PingPong=function(e,n){var o=t.Repeat(e,2*n);return n-Math.abs(o-n)},t.SmoothStep=function(e,n,o){var r=t.Clamp(o);return n*(r=-2*r*r*r+3*r*r)+e*(1-r)},t.MoveTowards=function(e,n,o){return Math.abs(n-e)<=o?n:e+t.Sign(n-e)*o},t.MoveTowardsAngle=function(e,n,o){var r=t.DeltaAngle(e,n);return-o<r&&r<o?n:t.MoveTowards(e,e+r,o)},t.Lerp=function(t,e,n){return t+(e-t)*n},t.LerpAngle=function(e,n,o){var r=t.Repeat(n-e,360);return r>180&&(r-=360),e+r*t.Clamp(o)},t.InverseLerp=function(e,n,o){return e!==n?t.Clamp((o-e)/(n-e)):0},t.Hermite=function(t,e,n,o,r){var i=r*r,s=r*i;return t*(2*s-3*i+1)+n*(-2*s+3*i)+e*(s-2*i+r)+o*(s-i)},t.RandomRange=function(t,e){return t===e?t:Math.random()*(e-t)+t},t.RangeToPercent=function(t,e,n){return(t-e)/(n-e)},t.PercentToRange=function(t,e,n){return(n-e)*t+e},t.NormalizeRadians=function(e){return e-t.TwoPi*Math.floor((e+Math.PI)/t.TwoPi)},t.TwoPi=2*Math.PI,t}();e.Scalar=o},function(t,e,n){\\"use strict\\";var o=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.ParentChanged=e.ComponentAdded=e.ComponentRemoved=void 0;var r=n(8),i=function(){function t(t,e,n){this.entity=t,this.componentName=e,this.component=n}return t=o([r.EventConstructor()],t)}();e.ComponentRemoved=i;var s=function(){function t(t,e,n){this.entity=t,this.componentName=e,this.classId=n}return t=o([r.EventConstructor()],t)}();e.ComponentAdded=s;var a=function(){function t(t,e){this.entity=t,this.parent=e}return t=o([r.EventConstructor()],t)}();e.ParentChanged=a},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.EventConstructor=e.EventManager=void 0;var o=n(1),r=[];function i(t){if(!(\\"__event_name__\\"in t)||\\"string\\"!=typeof t.__event_name__)throw new Error(\\"The EventConstructor is not registered\\");return t.__event_name__}var s=function(){function t(){this.listeners={}}return t.prototype.addListener=function(t,e,n){if(!t||\\"function\\"!=typeof t)throw new Error(\\"Invalid EventConstructor\\");var o=i(t),r=this.listeners[o];r||(r=this.listeners[o]=[]);for(var s=0;s<r.length;s++){if(r[s].listener===e)throw new Error(\\"The provided listener is already registered\\")}return r.push({listener:e,fn:n}),this},t.prototype.removeListener=function(t,e){if(!e||\\"function\\"!=typeof e)throw new Error(\\"Invalid EventConstructor\\");var n=i(e),o=this.listeners[n];if(!o)return!1;for(var r=0;r<o.length;r++){if(o[r].listener===t)return o.splice(r,1),!0}return!1},t.prototype.fireEvent=function(t){var e=i(t.constructor),n=this.listeners[e];if(n)for(var r=0;r<n.length;r++)try{var s=n[r];s.fn.call(s.listener,t)}catch(t){o.error(t)}return this},t}();e.EventManager=s,e.EventConstructor=function(){var t=o.newId(\\"EV\\");if(-1!==r.indexOf(t))throw new Error(\\"The event name \\"+t+\\" is already taken\\");return r.push(t),function(e){return e.__event_name__=t,e}}},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.MathTmp=void 0;var o=n(1),r=n(3),i=n(10),s=n(11);e.MathTmp={Vector3:o.buildArray(6,r.Vector3.Zero),Matrix:o.buildArray(2,s.Matrix.Identity),Quaternion:o.buildArray(3,i.Quaternion.Zero),staticUp:r.Vector3.Up(),tmpMatrix:s.Matrix.Zero()}},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Quaternion=void 0;var o=n(11),r=n(3),i=n(9),s=n(2),a=function(){function t(t,e,n,o){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===o&&(o=1),this.x=t,this.y=e,this.z=n,this.w=o}return t.FromRotationMatrix=function(e){var n=new t;return t.FromRotationMatrixToRef(e,n),n},t.FromRotationMatrixToRef=function(t,e){var n,o=t.m,r=o[0],i=o[4],s=o[8],a=o[1],p=o[5],u=o[9],l=o[2],c=o[6],h=o[10],d=r+p+h;d>0?(n=.5/Math.sqrt(d+1),e.w=.25/n,e.x=(c-u)*n,e.y=(s-l)*n,e.z=(a-i)*n):r>p&&r>h?(n=2*Math.sqrt(1+r-p-h),e.w=(c-u)/n,e.x=.25*n,e.y=(i+a)/n,e.z=(s+l)/n):p>h?(n=2*Math.sqrt(1+p-r-h),e.w=(s-l)/n,e.x=(i+a)/n,e.y=.25*n,e.z=(u+c)/n):(n=2*Math.sqrt(1+h-r-p),e.w=(a-i)/n,e.x=(s+l)/n,e.y=(u+c)/n,e.z=.25*n)},t.Dot=function(t,e){return t.x*e.x+t.y*e.y+t.z*e.z+t.w*e.w},t.AreClose=function(e,n){return t.Dot(e,n)>=0},t.Zero=function(){return new t(0,0,0,0)},t.Inverse=function(e){return new t(-e.x,-e.y,-e.z,e.w)},t.IsIdentity=function(t){return t&&0===t.x&&0===t.y&&0===t.z&&1===t.w},t.RotationAxis=function(e,n){var o=n*s.DEG2RAD;return t.RotationAxisToRef(e,o,new t)},t.RotationAxisToRef=function(t,e,n){var o=e*s.DEG2RAD,r=Math.sin(o/2);return t.normalize(),n.w=Math.cos(o/2),n.x=t.x*r,n.y=t.y*r,n.z=t.z*r,n},t.FromArray=function(e,n){return void 0===n&&(n=0),new t(e[n],e[n+1],e[n+2],e[n+3])},t.FromEulerAnglesRef=function(e,n,o,r){return t.RotationYawPitchRollToRef(n*s.DEG2RAD,e*s.DEG2RAD,o*s.DEG2RAD,r)},t.RotationYawPitchRoll=function(e,n,o){var r=new t;return t.RotationYawPitchRollToRef(e,n,o,r),r},t.RotationYawPitchRollToRef=function(t,e,n,o){var r=.5*n,i=.5*e,s=.5*t,a=Math.cos(i),p=Math.cos(s),u=Math.cos(r),l=Math.sin(i),c=Math.sin(s),h=Math.sin(r);o.x=l*p*u+a*c*h,o.y=a*c*u-l*p*h,o.z=a*p*h+l*c*u,o.w=a*p*u-l*c*h},t.RotationAlphaBetaGamma=function(e,n,o){var r=new t;return t.RotationAlphaBetaGammaToRef(e,n,o,r),r},t.RotationAlphaBetaGammaToRef=function(t,e,n,o){var r=.5*(n+t),i=.5*(n-t),s=.5*e;o.x=Math.cos(i)*Math.sin(s),o.y=Math.sin(i)*Math.sin(s),o.z=Math.sin(r)*Math.cos(s),o.w=Math.cos(r)*Math.cos(s)},t.RotationQuaternionFromAxis=function(e,n,o){var r=new t(0,0,0,0);return t.RotationQuaternionFromAxisToRef(e,n,o,r),r},t.RotationQuaternionFromAxisToRef=function(e,n,r,s){var a=i.MathTmp.Matrix[0];o.Matrix.FromXYZAxesToRef(e.normalize(),n.normalize(),r.normalize(),a),t.FromRotationMatrixToRef(a,s)},t.Slerp=function(e,n,o){var r=t.Identity;return t.SlerpToRef(e,n,o,r),r},t.SlerpToRef=function(t,e,n,o){var r,i,s=t.x*e.x+t.y*e.y+t.z*e.z+t.w*e.w,a=!1;if(s<0&&(a=!0,s=-s),s>.999999)i=1-n,r=a?-n:n;else{var p=Math.acos(s),u=1/Math.sin(p);i=Math.sin((1-n)*p)*u,r=a?-Math.sin(n*p)*u:Math.sin(n*p)*u}o.x=i*t.x+r*e.x,o.y=i*t.y+r*e.y,o.z=i*t.z+r*e.z,o.w=i*t.w+r*e.w},t.Hermite=function(e,n,o,r,i){var s=i*i,a=i*s,p=2*a-3*s+1,u=-2*a+3*s,l=a-2*s+i,c=a-s;return new t(e.x*p+o.x*u+n.x*l+r.x*c,e.y*p+o.y*u+n.y*l+r.y*c,e.z*p+o.z*u+n.z*l+r.z*c,e.w*p+o.w*u+n.w*l+r.w*c)},Object.defineProperty(t,\\"Identity\\",{get:function(){return new t(0,0,0,1)},enumerable:!1,configurable:!0}),t.Angle=function(e,n){var o=t.Dot(e,n);return 2*Math.acos(Math.min(Math.abs(o),1))*s.RAD2DEG},t.Euler=function(e,n,o){return t.RotationYawPitchRoll(n*s.DEG2RAD,e*s.DEG2RAD,o*s.DEG2RAD)},t.LookRotation=function(e,n){void 0===n&&(n=i.MathTmp.staticUp);var o=r.Vector3.Normalize(e),s=r.Vector3.Normalize(r.Vector3.Cross(n,o)),a=r.Vector3.Cross(o,s),p=s.x,u=s.y,l=s.z,c=a.x,h=a.y,d=a.z,f=o.x,y=o.y,v=o.z,m=p+h+v,b=new t;if(m>0){var g=Math.sqrt(m+1);return b.w=.5*g,g=.5/g,b.x=(d-y)*g,b.y=(f-l)*g,b.z=(u-c)*g,b}if(p>=h&&p>=v){var _=Math.sqrt(1+p-h-v),C=.5/_;return b.x=.5*_,b.y=(u+c)*C,b.z=(l+f)*C,b.w=(d-y)*C,b}if(h>v){var O=Math.sqrt(1+h-p-v),x=.5/O;return b.x=(c+u)*x,b.y=.5*O,b.z=(y+d)*x,b.w=(f-l)*x,b}var w=Math.sqrt(1+v-p-h),T=.5/w;return b.x=(f+l)*T,b.y=(y+d)*T,b.z=.5*w,b.w=(u-c)*T,b},t.RotateTowards=function(e,n,o){var r=t.Angle(e,n);if(0===r)return n;var i=Math.min(1,o/r);return t.Slerp(e,n,i)},t.FromToRotation=function(e,n){var o=new t,i=e.normalize(),a=n.normalize(),p=r.Vector3.Dot(i,a);if(p>-1+s.Epsilon){var u=Math.sqrt(2*(1+p)),l=1/u,c=r.Vector3.Cross(i,a).scaleInPlace(l);o.set(c.x,c.y,c.z,.5*u)}else{if(p>1-s.Epsilon)return new t(0,0,0,1);var h=r.Vector3.Cross(r.Vector3.Right(),i);h.lengthSquared()<s.Epsilon&&(h=r.Vector3.Cross(r.Vector3.Forward(),i)),o.set(h.x,h.y,h.z,0)}return o.normalize()},Object.defineProperty(t.prototype,\\"normalized\\",{get:function(){return this.normalize()},enumerable:!1,configurable:!0}),t.prototype.setFromToRotation=function(e,n,r){void 0===r&&(r=i.MathTmp.staticUp),i.MathTmp.tmpMatrix=o.Matrix.Zero(),o.Matrix.LookAtLHToRef(e,n,r,i.MathTmp.tmpMatrix),i.MathTmp.tmpMatrix.invert(),t.FromRotationMatrixToRef(i.MathTmp.tmpMatrix,this)},Object.defineProperty(t.prototype,\\"eulerAngles\\",{get:function(){var t=new r.Vector3,e=new o.Matrix;this.toRotationMatrix(e);var n=o.Matrix.GetAsMatrix3x3(e);return t.y=s.RAD2DEG*Math.asin(Math.max(-1,Math.min(1,n[6]))),Math.abs(n[6])<.99999?(t.x=s.RAD2DEG*Math.atan2(-n[7],n[8]),t.z=s.RAD2DEG*Math.atan2(-n[3],n[0])):(t.x=s.RAD2DEG*Math.atan2(n[5],n[4]),t.z=0),t},set:function(t){this.setEuler(t.x,t.y,t.z)},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return\\"(\\"+this.x+\\", \\"+this.y+\\", \\"+this.z+\\", \\"+this.w+\\")\\"},Object.defineProperty(t.prototype,\\"length\\",{get:function(){return Math.sqrt(this.lengthSquared)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\\"lengthSquared\\",{get:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w},enumerable:!1,configurable:!0}),t.prototype.getClassName=function(){return\\"Quaternion\\"},t.prototype.getHashCode=function(){var t=this.x||0;return t=397*(t=397*(t=397*t^(this.y||0))^(this.z||0))^(this.w||0)},t.prototype.asArray=function(){return[this.x,this.y,this.z,this.w]},t.prototype.equals=function(t){return t&&this.x===t.x&&this.y===t.y&&this.z===t.z&&this.w===t.w},t.prototype.clone=function(){return new t(this.x,this.y,this.z,this.w)},t.prototype.copyFrom=function(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=t.w,this},t.prototype.copyFromFloats=function(t,e,n,o){return this.x=t,this.y=e,this.z=n,this.w=o,this},t.prototype.set=function(t,e,n,o){return this.copyFromFloats(t,e,n,o)},t.prototype.setEuler=function(e,n,o){return t.RotationYawPitchRollToRef(n*s.DEG2RAD,e*s.DEG2RAD,o*s.DEG2RAD,this),this},t.prototype.add=function(e){return new t(this.x+e.x,this.y+e.y,this.z+e.z,this.w+e.w)},t.prototype.addInPlace=function(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this},t.prototype.subtract=function(e){return new t(this.x-e.x,this.y-e.y,this.z-e.z,this.w-e.w)},t.prototype.scale=function(e){return new t(this.x*e,this.y*e,this.z*e,this.w*e)},t.prototype.scaleToRef=function(t,e){return e.x=this.x*t,e.y=this.y*t,e.z=this.z*t,e.w=this.w*t,this},t.prototype.scaleInPlace=function(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this},t.prototype.scaleAndAddToRef=function(t,e){return e.x+=this.x*t,e.y+=this.y*t,e.z+=this.z*t,e.w+=this.w*t,this},t.prototype.multiply=function(e){var n=new t(0,0,0,1);return this.multiplyToRef(e,n),n},t.prototype.multiplyToRef=function(t,e){var n=this.x*t.w+this.y*t.z-this.z*t.y+this.w*t.x,o=-this.x*t.z+this.y*t.w+this.z*t.x+this.w*t.y,r=this.x*t.y-this.y*t.x+this.z*t.w+this.w*t.z,i=-this.x*t.x-this.y*t.y-this.z*t.z+this.w*t.w;return e.copyFromFloats(n,o,r,i),this},t.prototype.multiplyInPlace=function(t){return this.multiplyToRef(t,this),this},t.prototype.conjugateToRef=function(t){return t.copyFromFloats(-this.x,-this.y,-this.z,this.w),this},t.prototype.conjugateInPlace=function(){return this.x*=-1,this.y*=-1,this.z*=-1,this},t.prototype.conjugate=function(){return new t(-this.x,-this.y,-this.z,this.w)},t.prototype.normalize=function(){var t=1/this.length;return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this},t.prototype.angleAxis=function(e,n){if(0===n.lengthSquared())return t.Identity;var o=t.Identity,r=e*s.DEG2RAD;r*=.5;var i=n.normalize();return i=n.scaleInPlace(Math.sin(r)),o.x=i.x,o.y=i.y,o.z=i.z,o.w=Math.cos(r),o.normalize()},t.prototype.toRotationMatrix=function(t){return o.Matrix.FromQuaternionToRef(this,t),this},t.prototype.fromRotationMatrix=function(e){return t.FromRotationMatrixToRef(e,this),this},t}();e.Quaternion=a},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Matrix=void 0;var o=n(3),r=n(10),i=n(9),s=n(21),a=function(){function t(){this._isIdentity=!1,this._isIdentityDirty=!0,this._isIdentity3x2=!0,this._isIdentity3x2Dirty=!0,this._m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this._updateIdentityStatus(!1)}return Object.defineProperty(t.prototype,\\"m\\",{get:function(){return this._m},enumerable:!1,configurable:!0}),Object.defineProperty(t,\\"IdentityReadOnly\\",{get:function(){return t._identityReadOnly},enumerable:!1,configurable:!0}),t.FromArray=function(e,n){void 0===n&&(n=0);var o=new t;return t.FromArrayToRef(e,n,o),o},t.FromArrayToRef=function(t,e,n){for(var o=0;o<16;o++)n._m[o]=t[o+e];n._markAsUpdated()},t.FromFloatArrayToRefScaled=function(t,e,n,o){for(var r=0;r<16;r++)o._m[r]=t[r+e]*n;o._markAsUpdated()},t.FromValuesToRef=function(t,e,n,o,r,i,s,a,p,u,l,c,h,d,f,y,v){var m=v._m;m[0]=t,m[1]=e,m[2]=n,m[3]=o,m[4]=r,m[5]=i,m[6]=s,m[7]=a,m[8]=p,m[9]=u,m[10]=l,m[11]=c,m[12]=h,m[13]=d,m[14]=f,m[15]=y,v._markAsUpdated()},t.FromValues=function(e,n,o,r,i,s,a,p,u,l,c,h,d,f,y,v){var m=new t,b=m._m;return b[0]=e,b[1]=n,b[2]=o,b[3]=r,b[4]=i,b[5]=s,b[6]=a,b[7]=p,b[8]=u,b[9]=l,b[10]=c,b[11]=h,b[12]=d,b[13]=f,b[14]=y,b[15]=v,m._markAsUpdated(),m},t.Compose=function(e,n,o){var r=new t;return t.ComposeToRef(e,n,o,r),r},t.ComposeToRef=function(e,n,o,r){t.ScalingToRef(e.x,e.y,e.z,i.MathTmp.Matrix[1]),n.toRotationMatrix(i.MathTmp.Matrix[0]),i.MathTmp.Matrix[1].multiplyToRef(i.MathTmp.Matrix[0],r),r.setTranslation(o)},t.Identity=function(){var e=t.FromValues(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return e._updateIdentityStatus(!0),e},t.IdentityToRef=function(e){t.FromValuesToRef(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,e),e._updateIdentityStatus(!0)},t.Zero=function(){var e=t.FromValues(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return e._updateIdentityStatus(!1),e},t.RotationX=function(e){var n=new t;return t.RotationXToRef(e,n),n},t.Invert=function(e){var n=new t;return e.invertToRef(n),n},t.RotationXToRef=function(e,n){var o=Math.sin(e),r=Math.cos(e);t.FromValuesToRef(1,0,0,0,0,r,o,0,0,-o,r,0,0,0,0,1,n),n._updateIdentityStatus(1===r&&0===o)},t.RotationY=function(e){var n=new t;return t.RotationYToRef(e,n),n},t.RotationYToRef=function(e,n){var o=Math.sin(e),r=Math.cos(e);t.FromValuesToRef(r,0,-o,0,0,1,0,0,o,0,r,0,0,0,0,1,n),n._updateIdentityStatus(1===r&&0===o)},t.RotationZ=function(e){var n=new t;return t.RotationZToRef(e,n),n},t.RotationZToRef=function(e,n){var o=Math.sin(e),r=Math.cos(e);t.FromValuesToRef(r,o,0,0,-o,r,0,0,0,0,1,0,0,0,0,1,n),n._updateIdentityStatus(1===r&&0===o)},t.RotationAxis=function(e,n){var o=new t;return t.RotationAxisToRef(e,n,o),o},t.RotationAxisToRef=function(t,e,n){var o=Math.sin(-e),r=Math.cos(-e),i=1-r;t.normalize();var s=n._m;s[0]=t.x*t.x*i+r,s[1]=t.x*t.y*i-t.z*o,s[2]=t.x*t.z*i+t.y*o,s[3]=0,s[4]=t.y*t.x*i+t.z*o,s[5]=t.y*t.y*i+r,s[6]=t.y*t.z*i-t.x*o,s[7]=0,s[8]=t.z*t.x*i-t.y*o,s[9]=t.z*t.y*i+t.x*o,s[10]=t.z*t.z*i+r,s[11]=0,s[12]=0,s[13]=0,s[14]=0,s[15]=1,n._markAsUpdated()},t.RotationYawPitchRoll=function(e,n,o){var r=new t;return t.RotationYawPitchRollToRef(e,n,o,r),r},t.RotationYawPitchRollToRef=function(t,e,n,o){r.Quaternion.RotationYawPitchRollToRef(t,e,n,i.MathTmp.Quaternion[0]),i.MathTmp.Quaternion[0].toRotationMatrix(o)},t.Scaling=function(e,n,o){var r=new t;return t.ScalingToRef(e,n,o,r),r},t.ScalingToRef=function(e,n,o,r){t.FromValuesToRef(e,0,0,0,0,n,0,0,0,0,o,0,0,0,0,1,r),r._updateIdentityStatus(1===e&&1===n&&1===o)},t.Translation=function(e,n,o){var r=new t;return t.TranslationToRef(e,n,o,r),r},t.TranslationToRef=function(e,n,o,r){t.FromValuesToRef(1,0,0,0,0,1,0,0,0,0,1,0,e,n,o,1,r),r._updateIdentityStatus(0===e&&0===n&&0===o)},t.Lerp=function(e,n,o){var r=new t;return t.LerpToRef(e,n,o,r),r},t.LerpToRef=function(t,e,n,o){for(var r=0;r<16;r++)o._m[r]=t._m[r]*(1-n)+e._m[r]*n;o._markAsUpdated()},t.DecomposeLerp=function(e,n,o){var r=new t;return t.DecomposeLerpToRef(e,n,o,r),r},t.DecomposeLerpToRef=function(e,n,s,a){var p=i.MathTmp.Vector3[0],u=i.MathTmp.Quaternion[0],l=i.MathTmp.Vector3[1];e.decompose(p,u,l);var c=i.MathTmp.Vector3[2],h=i.MathTmp.Quaternion[1],d=i.MathTmp.Vector3[3];n.decompose(c,h,d);var f=i.MathTmp.Vector3[4];o.Vector3.LerpToRef(p,c,s,f);var y=i.MathTmp.Quaternion[2];r.Quaternion.SlerpToRef(u,h,s,y);var v=i.MathTmp.Vector3[5];o.Vector3.LerpToRef(l,d,s,v),t.ComposeToRef(f,y,v,a)},t.LookAtLH=function(e,n,o){var r=new t;return t.LookAtLHToRef(e,n,o,r),r},t.LookAtLHToRef=function(e,n,r,s){var a=i.MathTmp.Vector3[0],p=i.MathTmp.Vector3[1],u=i.MathTmp.Vector3[2];n.subtractToRef(e,u),u.normalize(),o.Vector3.CrossToRef(r,u,a);var l=a.lengthSquared();0===l?a.x=1:a.normalizeFromLength(Math.sqrt(l)),o.Vector3.CrossToRef(u,a,p),p.normalize();var c=-o.Vector3.Dot(a,e),h=-o.Vector3.Dot(p,e),d=-o.Vector3.Dot(u,e);t.FromValuesToRef(a.x,p.x,u.x,0,a.y,p.y,u.y,0,a.z,p.z,u.z,0,c,h,d,1,s)},t.LookAtRH=function(e,n,o){var r=new t;return t.LookAtRHToRef(e,n,o,r),r},t.LookAtRHToRef=function(e,n,r,s){var a=i.MathTmp.Vector3[0],p=i.MathTmp.Vector3[1],u=i.MathTmp.Vector3[2];e.subtractToRef(n,u),u.normalize(),o.Vector3.CrossToRef(r,u,a);var l=a.lengthSquared();0===l?a.x=1:a.normalizeFromLength(Math.sqrt(l)),o.Vector3.CrossToRef(u,a,p),p.normalize();var c=-o.Vector3.Dot(a,e),h=-o.Vector3.Dot(p,e),d=-o.Vector3.Dot(u,e);t.FromValuesToRef(a.x,p.x,u.x,0,a.y,p.y,u.y,0,a.z,p.z,u.z,0,c,h,d,1,s)},t.OrthoLH=function(e,n,o,r){var i=new t;return t.OrthoLHToRef(e,n,o,r,i),i},t.OrthoLHToRef=function(e,n,o,r,i){var s=2/e,a=2/n,p=2/(r-o),u=-(r+o)/(r-o);t.FromValuesToRef(s,0,0,0,0,a,0,0,0,0,p,0,0,0,u,1,i),i._updateIdentityStatus(1===s&&1===a&&1===p&&0===u)},t.OrthoOffCenterLH=function(e,n,o,r,i,s){var a=new t;return t.OrthoOffCenterLHToRef(e,n,o,r,i,s,a),a},t.OrthoOffCenterLHToRef=function(e,n,o,r,i,s,a){var p=2/(n-e),u=2/(r-o),l=2/(s-i),c=-(s+i)/(s-i),h=(e+n)/(e-n),d=(r+o)/(o-r);t.FromValuesToRef(p,0,0,0,0,u,0,0,0,0,l,0,h,d,c,1,a),a._markAsUpdated()},t.OrthoOffCenterRH=function(e,n,o,r,i,s){var a=new t;return t.OrthoOffCenterRHToRef(e,n,o,r,i,s,a),a},t.OrthoOffCenterRHToRef=function(e,n,o,r,i,s,a){t.OrthoOffCenterLHToRef(e,n,o,r,i,s,a),a._m[10]*=-1},t.PerspectiveLH=function(e,n,o,r){var i=new t,s=2*o/e,a=2*o/n,p=(r+o)/(r-o),u=-2*r*o/(r-o);return t.FromValuesToRef(s,0,0,0,0,a,0,0,0,0,p,1,0,0,u,0,i),i._updateIdentityStatus(!1),i},t.PerspectiveFovLH=function(e,n,o,r){var i=new t;return t.PerspectiveFovLHToRef(e,n,o,r,i),i},t.PerspectiveFovLHToRef=function(e,n,o,r,i,s){void 0===s&&(s=!0);var a=o,p=r,u=1/Math.tan(.5*e),l=s?u/n:u,c=s?u:u*n,h=(p+a)/(p-a),d=-2*p*a/(p-a);t.FromValuesToRef(l,0,0,0,0,c,0,0,0,0,h,1,0,0,d,0,i),i._updateIdentityStatus(!1)},t.PerspectiveFovRH=function(e,n,o,r){var i=new t;return t.PerspectiveFovRHToRef(e,n,o,r,i),i},t.PerspectiveFovRHToRef=function(e,n,o,r,i,s){void 0===s&&(s=!0);var a=o,p=r,u=1/Math.tan(.5*e),l=s?u/n:u,c=s?u:u*n,h=-(p+a)/(p-a),d=-2*p*a/(p-a);t.FromValuesToRef(l,0,0,0,0,c,0,0,0,0,h,-1,0,0,d,0,i),i._updateIdentityStatus(!1)},t.PerspectiveFovWebVRToRef=function(t,e,n,o,r){void 0===r&&(r=!1);var i=r?-1:1,s=Math.tan(t.upDegrees*Math.PI/180),a=Math.tan(t.downDegrees*Math.PI/180),p=Math.tan(t.leftDegrees*Math.PI/180),u=Math.tan(t.rightDegrees*Math.PI/180),l=2/(p+u),c=2/(s+a),h=o._m;h[0]=l,h[1]=h[2]=h[3]=h[4]=0,h[5]=c,h[6]=h[7]=0,h[8]=(p-u)*l*.5,h[9]=-(s-a)*c*.5,h[10]=-n/(e-n),h[11]=1*i,h[12]=h[13]=h[15]=0,h[14]=-2*n*e/(n-e),o._markAsUpdated()},t.GetAsMatrix2x2=function(t){return[t._m[0],t._m[1],t._m[4],t._m[5]]},t.GetAsMatrix3x3=function(t){return[t._m[0],t._m[1],t._m[2],t._m[4],t._m[5],t._m[6],t._m[8],t._m[9],t._m[10]]},t.Transpose=function(e){var n=new t;return t.TransposeToRef(e,n),n},t.TransposeToRef=function(t,e){var n=e._m,o=t._m;n[0]=o[0],n[1]=o[4],n[2]=o[8],n[3]=o[12],n[4]=o[1],n[5]=o[5],n[6]=o[9],n[7]=o[13],n[8]=o[2],n[9]=o[6],n[10]=o[10],n[11]=o[14],n[12]=o[3],n[13]=o[7],n[14]=o[11],n[15]=o[15],e._updateIdentityStatus(t._isIdentity,t._isIdentityDirty)},t.Reflection=function(e){var n=new t;return t.ReflectionToRef(e,n),n},t.ReflectionToRef=function(e,n){e.normalize();var o=e.normal.x,r=e.normal.y,i=e.normal.z,s=-2*o,a=-2*r,p=-2*i;t.FromValuesToRef(s*o+1,a*o,p*o,0,s*r,a*r+1,p*r,0,s*i,a*i,p*i+1,0,s*e.d,a*e.d,p*e.d,1,n)},t.FromXYZAxesToRef=function(e,n,o,r){t.FromValuesToRef(e.x,e.y,e.z,0,n.x,n.y,n.z,0,o.x,o.y,o.z,0,0,0,0,1,r)},t.FromQuaternionToRef=function(t,e){var n=t.x*t.x,o=t.y*t.y,r=t.z*t.z,i=t.x*t.y,s=t.z*t.w,a=t.z*t.x,p=t.y*t.w,u=t.y*t.z,l=t.x*t.w;e._m[0]=1-2*(o+r),e._m[1]=2*(i+s),e._m[2]=2*(a-p),e._m[3]=0,e._m[4]=2*(i-s),e._m[5]=1-2*(r+n),e._m[6]=2*(u+l),e._m[7]=0,e._m[8]=2*(a+p),e._m[9]=2*(u-l),e._m[10]=1-2*(o+n),e._m[11]=0,e._m[12]=0,e._m[13]=0,e._m[14]=0,e._m[15]=1,e._markAsUpdated()},t.prototype._markAsUpdated=function(){this.updateFlag=t._updateFlagSeed++,this._isIdentity=!1,this._isIdentity3x2=!1,this._isIdentityDirty=!0,this._isIdentity3x2Dirty=!0},t.prototype.isIdentity=function(){if(this._isIdentityDirty){this._isIdentityDirty=!1;var t=this._m;this._isIdentity=1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&0===t[12]&&0===t[13]&&0===t[14]&&1===t[15]}return this._isIdentity},t.prototype.isIdentityAs3x2=function(){return this._isIdentity3x2Dirty&&(this._isIdentity3x2Dirty=!1,1!==this._m[0]||1!==this._m[5]||1!==this._m[15]||0!==this._m[1]||0!==this._m[2]||0!==this._m[3]||0!==this._m[4]||0!==this._m[6]||0!==this._m[7]||0!==this._m[8]||0!==this._m[9]||0!==this._m[10]||0!==this._m[11]||0!==this._m[12]||0!==this._m[13]||0!==this._m[14]?this._isIdentity3x2=!1:this._isIdentity3x2=!0),this._isIdentity3x2},t.prototype.determinant=function(){if(!0===this._isIdentity)return 1;var t=this._m,e=t[0],n=t[1],o=t[2],r=t[3],i=t[4],s=t[5],a=t[6],p=t[7],u=t[8],l=t[9],c=t[10],h=t[11],d=t[12],f=t[13],y=t[14],v=t[15],m=c*v-y*h,b=l*v-f*h,g=l*y-f*c,_=u*v-d*h,C=u*y-c*d,O=u*f-d*l;return e*+(s*m-a*b+p*g)+n*-(i*m-a*_+p*C)+o*+(i*b-s*_+p*O)+r*-(i*g-s*C+a*O)},t.prototype.toArray=function(){return this._m},t.prototype.asArray=function(){return this._m},t.prototype.invert=function(){return this.invertToRef(this),this},t.prototype.reset=function(){return t.FromValuesToRef(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,this),this._updateIdentityStatus(!1),this},t.prototype.add=function(e){var n=new t;return this.addToRef(e,n),n},t.prototype.addToRef=function(t,e){for(var n=0;n<16;n++)e._m[n]=this._m[n]+t._m[n];return e._markAsUpdated(),this},t.prototype.addToSelf=function(t){for(var e=0;e<16;e++)this._m[e]+=t._m[e];return this._markAsUpdated(),this},t.prototype.invertToRef=function(e){if(!0===this._isIdentity)return t.IdentityToRef(e),this;var n=this._m,o=n[0],r=n[1],i=n[2],s=n[3],a=n[4],p=n[5],u=n[6],l=n[7],c=n[8],h=n[9],d=n[10],f=n[11],y=n[12],v=n[13],m=n[14],b=n[15],g=d*b-m*f,_=h*b-v*f,C=h*m-v*d,O=c*b-y*f,x=c*m-d*y,w=c*v-y*h,T=+(p*g-u*_+l*C),R=-(a*g-u*O+l*x),A=+(a*_-p*O+l*w),E=-(a*C-p*x+u*w),S=o*T+r*R+i*A+s*E;if(0===S)return e.copyFrom(this),this;var P=1/S,I=u*b-m*l,z=p*b-v*l,M=p*m-v*u,D=a*b-y*l,F=a*m-y*u,U=a*v-y*p,L=u*f-d*l,N=p*f-h*l,V=p*d-h*u,j=a*f-c*l,H=a*d-c*u,B=a*h-c*p,k=-(r*g-i*_+s*C),G=+(o*g-i*O+s*x),W=-(o*_-r*O+s*w),q=+(o*C-r*x+i*w),Y=+(r*I-i*z+s*M),X=-(o*I-i*D+s*F),Z=+(o*z-r*D+s*U),Q=-(o*M-r*F+i*U),J=-(r*L-i*N+s*V),K=+(o*L-i*j+s*H),$=-(o*N-r*j+s*B),tt=+(o*V-r*H+i*B);return t.FromValuesToRef(T*P,k*P,Y*P,J*P,R*P,G*P,X*P,K*P,A*P,W*P,Z*P,$*P,E*P,q*P,Q*P,tt*P,e),this},t.prototype.addAtIndex=function(t,e){return this._m[t]+=e,this._markAsUpdated(),this},t.prototype.multiplyAtIndex=function(t,e){return this._m[t]*=e,this._markAsUpdated(),this},t.prototype.setTranslationFromFloats=function(t,e,n){return this._m[12]=t,this._m[13]=e,this._m[14]=n,this._markAsUpdated(),this},t.prototype.setTranslation=function(t){return this.setTranslationFromFloats(t.x,t.y,t.z)},t.prototype.getTranslation=function(){return new o.Vector3(this._m[12],this._m[13],this._m[14])},t.prototype.getTranslationToRef=function(t){return t.x=this._m[12],t.y=this._m[13],t.z=this._m[14],this},t.prototype.removeRotationAndScaling=function(){var e=this.m;return t.FromValuesToRef(1,0,0,0,0,1,0,0,0,0,1,0,e[12],e[13],e[14],e[15],this),this._updateIdentityStatus(0===e[12]&&0===e[13]&&0===e[14]&&1===e[15]),this},t.prototype.multiply=function(e){var n=new t;return this.multiplyToRef(e,n),n},t.prototype.copyFrom=function(t){t.copyToArray(this._m);var e=t;return this._updateIdentityStatus(e._isIdentity,e._isIdentityDirty,e._isIdentity3x2,e._isIdentity3x2Dirty),this},t.prototype.copyToArray=function(t,e){void 0===e&&(e=0);for(var n=0;n<16;n++)t[e+n]=this._m[n];return this},t.prototype.multiplyToRef=function(t,e){return this._isIdentity?(e.copyFrom(t),this):t._isIdentity?(e.copyFrom(this),this):(this.multiplyToArray(t,e._m,0),e._markAsUpdated(),this)},t.prototype.multiplyToArray=function(t,e,n){var o=this._m,r=t.m,i=o[0],s=o[1],a=o[2],p=o[3],u=o[4],l=o[5],c=o[6],h=o[7],d=o[8],f=o[9],y=o[10],v=o[11],m=o[12],b=o[13],g=o[14],_=o[15],C=r[0],O=r[1],x=r[2],w=r[3],T=r[4],R=r[5],A=r[6],E=r[7],S=r[8],P=r[9],I=r[10],z=r[11],M=r[12],D=r[13],F=r[14],U=r[15];return e[n]=i*C+s*T+a*S+p*M,e[n+1]=i*O+s*R+a*P+p*D,e[n+2]=i*x+s*A+a*I+p*F,e[n+3]=i*w+s*E+a*z+p*U,e[n+4]=u*C+l*T+c*S+h*M,e[n+5]=u*O+l*R+c*P+h*D,e[n+6]=u*x+l*A+c*I+h*F,e[n+7]=u*w+l*E+c*z+h*U,e[n+8]=d*C+f*T+y*S+v*M,e[n+9]=d*O+f*R+y*P+v*D,e[n+10]=d*x+f*A+y*I+v*F,e[n+11]=d*w+f*E+y*z+v*U,e[n+12]=m*C+b*T+g*S+_*M,e[n+13]=m*O+b*R+g*P+_*D,e[n+14]=m*x+b*A+g*I+_*F,e[n+15]=m*w+b*E+g*z+_*U,this},t.prototype.equals=function(t){var e=t;if(!e)return!1;if((this._isIdentity||e._isIdentity)&&!this._isIdentityDirty&&!e._isIdentityDirty)return this._isIdentity&&e._isIdentity;var n=this.m,o=e.m;return n[0]===o[0]&&n[1]===o[1]&&n[2]===o[2]&&n[3]===o[3]&&n[4]===o[4]&&n[5]===o[5]&&n[6]===o[6]&&n[7]===o[7]&&n[8]===o[8]&&n[9]===o[9]&&n[10]===o[10]&&n[11]===o[11]&&n[12]===o[12]&&n[13]===o[13]&&n[14]===o[14]&&n[15]===o[15]},t.prototype.clone=function(){var e=new t;return e.copyFrom(this),e},t.prototype.getClassName=function(){return\\"Matrix\\"},t.prototype.getHashCode=function(){for(var t=this._m[0]||0,e=1;e<16;e++)t=397*t^(this._m[e]||0);return t},t.prototype.decompose=function(e,n,o){if(this._isIdentity)return o&&o.setAll(0),e&&e.setAll(1),n&&n.copyFromFloats(0,0,0,1),!0;var s=this._m;o&&o.copyFromFloats(s[12],s[13],s[14]);var a=e||i.MathTmp.Vector3[0];if(a.x=Math.sqrt(s[0]*s[0]+s[1]*s[1]+s[2]*s[2]),a.y=Math.sqrt(s[4]*s[4]+s[5]*s[5]+s[6]*s[6]),a.z=Math.sqrt(s[8]*s[8]+s[9]*s[9]+s[10]*s[10]),this.determinant()<=0&&(a.y*=-1),0===a.x||0===a.y||0===a.z)return n&&n.copyFromFloats(0,0,0,1),!1;if(n){var p=1/a.x,u=1/a.y,l=1/a.z;t.FromValuesToRef(s[0]*p,s[1]*p,s[2]*p,0,s[4]*u,s[5]*u,s[6]*u,0,s[8]*l,s[9]*l,s[10]*l,0,0,0,0,1,i.MathTmp.Matrix[0]),r.Quaternion.FromRotationMatrixToRef(i.MathTmp.Matrix[0],n)}return!0},t.prototype.getRow=function(t){if(t<0||t>3)return null;var e=4*t;return new s.Vector4(this._m[e+0],this._m[e+1],this._m[e+2],this._m[e+3])},t.prototype.setRow=function(t,e){return this.setRowFromFloats(t,e.x,e.y,e.z,e.w)},t.prototype.transpose=function(){return t.Transpose(this)},t.prototype.transposeToRef=function(e){return t.TransposeToRef(this,e),this},t.prototype.setRowFromFloats=function(t,e,n,o,r){if(t<0||t>3)return this;var i=4*t;return this._m[i+0]=e,this._m[i+1]=n,this._m[i+2]=o,this._m[i+3]=r,this._markAsUpdated(),this},t.prototype.scale=function(e){var n=new t;return this.scaleToRef(e,n),n},t.prototype.scaleToRef=function(t,e){for(var n=0;n<16;n++)e._m[n]=this._m[n]*t;return e._markAsUpdated(),this},t.prototype.scaleAndAddToRef=function(t,e){for(var n=0;n<16;n++)e._m[n]+=this._m[n]*t;return e._markAsUpdated(),this},t.prototype.toNormalMatrix=function(e){var n=i.MathTmp.Matrix[0];this.invertToRef(n),n.transposeToRef(e);var o=e._m;t.FromValuesToRef(o[0],o[1],o[2],0,o[4],o[5],o[6],0,o[8],o[9],o[10],0,0,0,0,1,e)},t.prototype.getRotationMatrix=function(){var e=new t;return this.getRotationMatrixToRef(e),e},t.prototype.getRotationMatrixToRef=function(e){var n=i.MathTmp.Vector3[0];if(!this.decompose(n))return t.IdentityToRef(e),this;var o=this._m,r=1/n.x,s=1/n.y,a=1/n.z;return t.FromValuesToRef(o[0]*r,o[1]*r,o[2]*r,0,o[4]*s,o[5]*s,o[6]*s,0,o[8]*a,o[9]*a,o[10]*a,0,0,0,0,1,e),this},t.prototype.toggleModelMatrixHandInPlace=function(){var t=this._m;t[2]*=-1,t[6]*=-1,t[8]*=-1,t[9]*=-1,t[14]*=-1,this._markAsUpdated()},t.prototype.toggleProjectionMatrixHandInPlace=function(){var t=this._m;t[8]*=-1,t[9]*=-1,t[10]*=-1,t[11]*=-1,this._markAsUpdated()},t.prototype._updateIdentityStatus=function(e,n,o,r){void 0===n&&(n=!1),void 0===o&&(o=!1),void 0===r&&(r=!0),this.updateFlag=t._updateFlagSeed++,this._isIdentity=e,this._isIdentity3x2=e||o,this._isIdentityDirty=!this._isIdentity&&n,this._isIdentity3x2Dirty=!this._isIdentity3x2&&r},t._updateFlagSeed=0,t._identityReadOnly=t.Identity(),t}();e.Matrix=a},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Entity=void 0;var o=n(0),r=n(7),i=n(1),s=function(){function t(t){this.name=t,this.children={},this.eventManager=null,this.alive=!1,this.uuid=i.newId(\\"E\\"),this.components={},this.engine=null,this._parent=null}return t.prototype.addComponentOrReplace=function(t){if(\\"function\\"==typeof t)throw new Error(\\"You passed a function or class as a component, an instance of component is expected\\");if(\\"object\\"!=typeof t)throw new Error(\\"You passed a \\"+typeof t+\\", an instance of component is expected\\");var e=o.getComponentName(t);if(this.components[e]){if(this.components[e]===t)return t;this.removeComponent(this.components[e],!1)}return this.addComponent(t)},t.prototype.hasComponent=function(t){var e=typeof t;if(\\"string\\"!==e&&\\"object\\"!==e&&\\"function\\"!==e)throw new Error(\\"Entity#has(component): component is not a class, name or instance\\");if(null==t)return!1;var n=\\"string\\"===e?t:o.getComponentName(t),r=this.components[n];return!!r&&(\\"object\\"===e?r===t:\\"function\\"!==e||r instanceof t)},t.prototype.getComponent=function(t){var e=typeof t;if(\\"string\\"!==e&&\\"function\\"!==e)throw new Error(\\"Entity#get(component): component is not a class or name\\");var n=\\"string\\"===e?t:o.getComponentName(t),r=this.components[n];if(!r)throw new Error(\'Can not get component \\"\'+n+\'\\" from entity \\"\'+this.identifier+\'\\"\');if(\\"function\\"===e){if(r instanceof t)return r;throw new Error(\'Can not get component \\"\'+n+\'\\" from entity \\"\'+this.identifier+\'\\" (by instance)\')}return r},t.prototype.getComponentOrNull=function(t){var e=typeof t;if(\\"string\\"!==e&&\\"function\\"!==e)throw new Error(\\"Entity#getOrNull(component): component is not a class or name\\");var n=\\"string\\"===e?t:o.getComponentName(t),r=this.components[n];return r?\\"function\\"===e?r instanceof t?r:null:r:null},t.prototype.getComponentOrCreate=function(t){if(\\"function\\"!=typeof t)throw new Error(\\"Entity#getOrCreate(component): component is not a class\\");var e=this.getComponentOrNull(t);return e||(e=new t,o.getComponentName(e),this.addComponentOrReplace(e)),e},t.prototype.addComponent=function(t){if(\\"object\\"!=typeof t)throw new Error(\\"Entity#add(component): You passed a function or class as a component, an instance of component is expected\\");var e=o.getComponentName(t),n=o.getComponentClassId(t);if(this.components[e])throw new Error(\'A component of type \\"\'+e+\'\\" is already present in entity \\"\'+this.identifier+\'\\"\');this.components[e]=t,this.eventManager&&this.eventManager.fireEvent(new r.ComponentAdded(this,e,n));var i=t;return\\"function\\"==typeof i.addedToEntity&&i.addedToEntity(this),t},t.prototype.removeComponent=function(t,e){void 0===e&&(e=!0);var n=typeof t;if(\\"string\\"!==n&&\\"function\\"!==n&&\\"object\\"!==n)throw new Error(\\"Entity#remove(component): component is not a class, class or name\\");var s=\\"string\\"===n?t:o.getComponentName(t),a=this.components[s];if(a){if(\\"function\\"===n)return a instanceof t?(delete this.components[s],void(a&&(e&&this.eventManager&&this.eventManager.fireEvent(new r.ComponentRemoved(this,s,a)),\\"function\\"==typeof a.removedFromEntity&&a.removedFromEntity(this)))):void i.log(\'Entity Warning: Trying to remove wrong (by constructor) component \\"\'+s+\'\\" from entity \\"\'+this.identifier+\'\\"\');delete this.components[s],a&&(e&&this.eventManager&&this.eventManager.fireEvent(new r.ComponentRemoved(this,s,a)),\\"function\\"==typeof a.removedFromEntity&&a.removedFromEntity(this))}else i.log(\'Entity Warning: Trying to remove inexisting component \\"\'+s+\'\\" from entity \\"\'+this.identifier+\'\\"\')},t.prototype.isAddedToEngine=function(){return!(!this.engine||!(this.uuid in this.engine.entities)&&this.engine.rootEntity!==this)},t.prototype.setParent=function(t){var e;if(t&&\\"getEntityRepresentation\\"in t){if(!this.engine)throw new Error(\\"In order to set an attachable as parent, you first need to add the entity to the engine.\\");e=t.getEntityRepresentation(this.engine)}else e=!t&&this.engine?this.engine.rootEntity:t;var n=this.getParent();if(e===this)throw new Error(\'Failed to set parent for entity \\"\'+this.identifier+\\"\\\\\\": An entity can\'t set itself as a its own parent\\");if(e===n)return this;var o=this.getCircularAncestor(e);if(o)throw new Error(\'Failed to set parent for entity \\"\'+this.identifier+\'\\": Circular parent references are not allowed (See entity \\"\'+o+\'\\")\');return n&&delete n.children[this.uuid],null!==e&&\\"0\\"!==e.uuid&&(!e.isAddedToEngine()&&this.isAddedToEngine()&&this.engine.removeEntity(this),e.isAddedToEngine()&&!this.isAddedToEngine()&&e.engine.addEntity(this)),this._parent=e||null,this.registerAsChild(),this.eventManager&&this.engine&&this.eventManager.fireEvent(new r.ParentChanged(this,e)),this},t.prototype.getParent=function(){return this._parent},Object.defineProperty(t.prototype,\\"identifier\\",{get:function(){return this.name||this.uuid},enumerable:!1,configurable:!0}),t.prototype.getCircularAncestor=function(t){for(var e=this.engine?this.engine.rootEntity:null,n=t;n&&n!==e;){var o=n.getParent();if(o===this)return n.uuid;n=o}return null},t.prototype.registerAsChild=function(){var t=this.getParent();this.uuid&&t&&(t.children[this.uuid]=this)},t}();e.Entity=s},function(t,e,n){\\"use strict\\";var o=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.PointerEvent=e.RaycastResponse=e.UUIDEvent=void 0;var r=n(8),i=function(){function t(t,e){this.uuid=t,this.payload=e}return t=o([r.EventConstructor()],t)}();e.UUIDEvent=i;var s=function(){function t(t){this.payload=t}return t=o([r.EventConstructor()],t)}();e.RaycastResponse=s;var a=function(){function t(t){this.payload=t}return t=o([r.EventConstructor()],t)}();e.PointerEvent=a},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.uuidEventSystem=e.UUIDEventSystem=e.pointerEventSystem=e.PointerEventSystem=e.raycastEventSystem=e.RaycastEventSystem=void 0;var o=n(13),r=n(4),i=n(7),s=n(16),a=n(28),p=function(){function t(){}return t.prototype.activate=function(t){t.eventManager.addListener(o.RaycastResponse,this,(function(t){\\"HitFirst\\"===t.payload.queryType?a.PhysicsCast.instance.handleRaycastHitFirstResponse(t):\\"HitAll\\"===t.payload.queryType&&a.PhysicsCast.instance.handleRaycastHitAllResponse(t)})),\\"undefined\\"!=typeof dcl&&dcl.subscribe(\\"raycastResponse\\")},t.prototype.deactivate=function(){\\"undefined\\"!=typeof dcl&&dcl.unsubscribe(\\"raycastResponse\\")},t}();e.RaycastEventSystem=p,e.raycastEventSystem=new p;var u=function(){function t(){}return t.prototype.activate=function(t){t.eventManager.addListener(o.PointerEvent,this,(function(t){s.Input.instance.handlePointerEvent(t.payload)})),\\"undefined\\"!=typeof dcl&&(dcl.subscribe(\\"pointerUp\\"),dcl.subscribe(\\"pointerDown\\"),dcl.subscribe(\\"pointerEvent\\"))},t.prototype.deactivate=function(){\\"undefined\\"!=typeof dcl&&(dcl.unsubscribe(\\"pointerUp\\"),dcl.unsubscribe(\\"pointerDown\\"),dcl.unsubscribe(\\"pointerEvent\\"))},t}();e.PointerEventSystem=u,e.pointerEventSystem=new u;var l=function(){function t(){this.handlerMap={}}return t.prototype.activate=function(t){t.eventManager.addListener(o.UUIDEvent,this,this.handleEvent),t.eventManager.addListener(i.ComponentAdded,this,this.componentAdded),t.eventManager.addListener(i.ComponentRemoved,this,this.componentRemoved),\\"undefined\\"!=typeof dcl&&dcl.subscribe(\\"uuidEvent\\")},t.prototype.deactivate=function(){\\"undefined\\"!=typeof dcl&&dcl.unsubscribe(\\"uuidEvent\\")},t.prototype.onAddEntity=function(t){for(var e in t.components){var n=t.components[e];n instanceof r.OnUUIDEvent&&(this.handlerMap[n.uuid]=n)}},t.prototype.onRemoveEntity=function(t){for(var e in t.components){var n=t.components[e];n instanceof r.OnUUIDEvent&&delete this.handlerMap[n.uuid]}},t.prototype.componentAdded=function(t){if(t.entity.isAddedToEngine()){var e=t.entity.components[t.componentName];e instanceof r.OnUUIDEvent&&(this.handlerMap[e.uuid]=e)}},t.prototype.componentRemoved=function(t){t.entity.isAddedToEngine()&&t.component instanceof r.OnUUIDEvent&&delete this.handlerMap[t.component.uuid]},t.prototype.handleEvent=function(t){if(t.uuid in this.handlerMap){var e=this.handlerMap[t.uuid];e&&e.callback&&\\"call\\"in e.callback&&e.callback(t.payload)}},t}();e.UUIDEventSystem=l,e.uuidEventSystem=new l},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Vector2=void 0;var o=n(2),r=n(6),i=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=t,this.y=e}return t.Zero=function(){return new t(0,0)},t.One=function(){return new t(1,1)},t.Add=function(e,n){return new t(e.x,e.y).addInPlace(n)},t.FromArray=function(e,n){return void 0===n&&(n=0),new t(e[n],e[n+1])},t.FromArrayToRef=function(t,e,n){n.x=t[e],n.y=t[e+1]},t.CatmullRom=function(e,n,o,r,i){var s=i*i,a=i*s;return new t(.5*(2*n.x+(-e.x+o.x)*i+(2*e.x-5*n.x+4*o.x-r.x)*s+(-e.x+3*n.x-3*o.x+r.x)*a),.5*(2*n.y+(-e.y+o.y)*i+(2*e.y-5*n.y+4*o.y-r.y)*s+(-e.y+3*n.y-3*o.y+r.y)*a))},t.Clamp=function(e,n,o){var r=e.x;r=(r=r>o.x?o.x:r)<n.x?n.x:r;var i=e.y;return new t(r,i=(i=i>o.y?o.y:i)<n.y?n.y:i)},t.Hermite=function(e,n,o,r,i){var s=i*i,a=i*s,p=2*a-3*s+1,u=-2*a+3*s,l=a-2*s+i,c=a-s;return new t(e.x*p+o.x*u+n.x*l+r.x*c,e.y*p+o.y*u+n.y*l+r.y*c)},t.Lerp=function(e,n,o){return new t(e.x+(n.x-e.x)*o,e.y+(n.y-e.y)*o)},t.Dot=function(t,e){return t.x*e.x+t.y*e.y},t.Normalize=function(e){var n=new t(e.x,e.y);return n.normalize(),n},t.Minimize=function(e,n){return new t(e.x<n.x?e.x:n.x,e.y<n.y?e.y:n.y)},t.Maximize=function(e,n){return new t(e.x>n.x?e.x:n.x,e.y>n.y?e.y:n.y)},t.Transform=function(e,n){var o=t.Zero();return t.TransformToRef(e,n,o),o},t.TransformToRef=function(t,e,n){var o=e.m,r=t.x*o[0]+t.y*o[4]+o[12],i=t.x*o[1]+t.y*o[5]+o[13];n.x=r,n.y=i},t.PointInTriangle=function(t,e,n,o){var r=.5*(-n.y*o.x+e.y*(-n.x+o.x)+e.x*(n.y-o.y)+n.x*o.y),i=r<0?-1:1,s=(e.y*o.x-e.x*o.y+(o.y-e.y)*t.x+(e.x-o.x)*t.y)*i,a=(e.x*n.y-e.y*n.x+(e.y-n.y)*t.x+(n.x-e.x)*t.y)*i;return s>0&&a>0&&s+a<2*r*i},t.Distance=function(e,n){return Math.sqrt(t.DistanceSquared(e,n))},t.DistanceSquared=function(t,e){var n=t.x-e.x,o=t.y-e.y;return n*n+o*o},t.Center=function(e,n){var o=t.Add(e,n);return o.scaleInPlace(.5),o},t.DistanceOfPointFromSegment=function(e,n,o){var r=t.DistanceSquared(n,o);if(0===r)return t.Distance(e,n);var i=o.subtract(n),s=Math.max(0,Math.min(1,t.Dot(e.subtract(n),i)/r)),a=n.add(i.multiplyByFloats(s,s));return t.Distance(e,a)},t.prototype.toString=function(){return\\"{X: \\"+this.x+\\" Y:\\"+this.y+\\"}\\"},t.prototype.getClassName=function(){return\\"Vector2\\"},t.prototype.getHashCode=function(){var t=this.x||0;return t=397*t^(this.y||0)},t.prototype.toArray=function(t,e){return void 0===e&&(e=0),t[e]=this.x,t[e+1]=this.y,this},t.prototype.asArray=function(){var t=new Array;return this.toArray(t,0),t},t.prototype.copyFrom=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.copyFromFloats=function(t,e){return this.x=t,this.y=e,this},t.prototype.set=function(t,e){return this.copyFromFloats(t,e)},t.prototype.add=function(e){return new t(this.x+e.x,this.y+e.y)},t.prototype.addToRef=function(t,e){return e.x=this.x+t.x,e.y=this.y+t.y,this},t.prototype.addInPlace=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.addVector3=function(e){return new t(this.x+e.x,this.y+e.y)},t.prototype.subtract=function(e){return new t(this.x-e.x,this.y-e.y)},t.prototype.subtractToRef=function(t,e){return e.x=this.x-t.x,e.y=this.y-t.y,this},t.prototype.subtractInPlace=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.multiplyInPlace=function(t){return this.x*=t.x,this.y*=t.y,this},t.prototype.multiply=function(e){return new t(this.x*e.x,this.y*e.y)},t.prototype.multiplyToRef=function(t,e){return e.x=this.x*t.x,e.y=this.y*t.y,this},t.prototype.multiplyByFloats=function(e,n){return new t(this.x*e,this.y*n)},t.prototype.divide=function(e){return new t(this.x/e.x,this.y/e.y)},t.prototype.divideToRef=function(t,e){return e.x=this.x/t.x,e.y=this.y/t.y,this},t.prototype.divideInPlace=function(t){return this.divideToRef(t,this)},t.prototype.negate=function(){return new t(-this.x,-this.y)},t.prototype.scaleInPlace=function(t){return this.x*=t,this.y*=t,this},t.prototype.scale=function(e){var n=new t(0,0);return this.scaleToRef(e,n),n},t.prototype.scaleToRef=function(t,e){return e.x=this.x*t,e.y=this.y*t,this},t.prototype.scaleAndAddToRef=function(t,e){return e.x+=this.x*t,e.y+=this.y*t,this},t.prototype.equals=function(t){return t&&this.x===t.x&&this.y===t.y},t.prototype.equalsWithEpsilon=function(t,e){return void 0===e&&(e=o.Epsilon),t&&r.Scalar.WithinEpsilon(this.x,t.x,e)&&r.Scalar.WithinEpsilon(this.y,t.y,e)},t.prototype.floor=function(){return new t(Math.floor(this.x),Math.floor(this.y))},t.prototype.fract=function(){return new t(this.x-Math.floor(this.x),this.y-Math.floor(this.y))},t.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lengthSquared=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.length();if(0===t)return this;var e=1/t;return this.x*=e,this.y*=e,this},t.prototype.clone=function(){return new t(this.x,this.y)},t}();e.Vector2=i},function(t,e,n){\\"use strict\\";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Input=e.GlobalPointerUp=e.GlobalPointerDown=e.PointerEventComponent=e.ActionButton=void 0;var a,p=n(27),u=n(5),l=n(0);!function(t){t.POINTER=\\"POINTER\\",t.PRIMARY=\\"PRIMARY\\",t.SECONDARY=\\"SECONDARY\\",t.ANY=\\"ANY\\"}(a=e.ActionButton||(e.ActionButton={}));var c=function(t){if(this.callback=t,!t||!(\\"apply\\"in t)||!(\\"call\\"in t))throw new Error(\\"Callback is not a function\\");y.ensureInstance()};e.PointerEventComponent=c;var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e=s([l.Component(\\"pointerDown\\")],e)}(c);e.GlobalPointerDown=h;var d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e=s([l.Component(\\"pointerUp\\")],e)}(c);e.GlobalPointerUp=d;var f=function(t,e){this.fn=t,this.useRaycast=e},y=function(){function t(){var t,e;this.subscriptions=((t={})[a.POINTER]={BUTTON_DOWN:[],BUTTON_UP:[]},t[a.PRIMARY]={BUTTON_DOWN:[],BUTTON_UP:[]},t[a.SECONDARY]={BUTTON_DOWN:[],BUTTON_UP:[]},t[a.ANY]={BUTTON_DOWN:[],BUTTON_UP:[]},t),this.internalState=((e={})[a.POINTER]={BUTTON_DOWN:!1},e[a.PRIMARY]={BUTTON_DOWN:!1},e[a.SECONDARY]={BUTTON_DOWN:!1},e[a.ANY]={BUTTON_DOWN:!1},e)}return Object.defineProperty(t,\\"instance\\",{get:function(){return t.ensureInstance(),t._instance},enumerable:!1,configurable:!0}),t.ensureInstance=function(){t._instance||(t._instance=new t)},t.prototype.isButtonPressed=function(t){return this.internalState[t]},t.prototype.subscribe=function(t,e,n,o){var r=this;return this.subscriptions[e][t].push(new f(o,n)),function(){return r.unsubscribe(t,e,o)}},t.prototype.unsubscribe=function(t,e,n){var o=this.getSubscriptionId(t,e,n);return o>-1&&this.subscriptions[e][t].splice(o,1)},t.prototype.handlePointerEvent=function(t){var e=this.getPointerById(t.buttonId),n=i(i({},t),{button:e,direction:(new u.Vector3).copyFrom(t.direction),origin:(new u.Vector3).copyFrom(t.origin),hit:void 0}),o=t.hit?i(i({},t.hit),{hitPoint:(new u.Vector3).copyFrom(t.hit.hitPoint),normal:(new u.Vector3).copyFrom(t.hit.normal),worldNormal:(new u.Vector3).copyFrom(t.hit.worldNormal)}):void 0;if(t.type===p.InputEventType.DOWN){this.internalState[e].BUTTON_DOWN=!0;for(var r=0;r<this.subscriptions[e].BUTTON_DOWN.length;r++){(s=this.subscriptions[e].BUTTON_DOWN[r]).useRaycast?n.hit=o:n.hit=void 0,s.fn(n)}if(o&&o.entityId&&l.DisposableComponent.engine)(c=(a=l.DisposableComponent.engine.entities[o.entityId])&&a.getComponentOrNull(h))&&(n.hit=o,c.callback(n))}else{this.internalState[e].BUTTON_DOWN=!1;for(r=0;r<this.subscriptions[e].BUTTON_UP.length;r++){var s;(s=this.subscriptions[e].BUTTON_UP[r]).useRaycast?n.hit=o:n.hit=void 0,s.fn(n)}var a,c;if(o&&o.entityId&&l.DisposableComponent.engine)(c=(a=l.DisposableComponent.engine.entities[o.entityId])&&a.getComponentOrNull(d))&&(n.hit=o,c.callback(n))}},t.prototype.getSubscriptionId=function(t,e,n){for(var o=0;o<this.subscriptions[e][t].length;o++)if(this.subscriptions[e][t][o].fn===n)return o;return-1},t.prototype.getPointerById=function(t){return 0===t?a.POINTER:1===t?a.PRIMARY:a.SECONDARY},t}();e.Input=y},function(t,e,n){\\"use strict\\";var o=this&&this.__read||function(t,e){var n=\\"function\\"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},r=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(o(arguments[e]));return t};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Engine=void 0;var i=n(7),s=n(0),a=n(8),p=n(32),u=n(1),l=n(12),c=function(){function t(t){this.eventManager=new a.EventManager,this.systems=[],this.entityLists={},this.addedSystems=[],this._entities={},this._disposableComponents={},this._componentGroups={},this.simpleSystems=[],this.eventManager.addListener(i.ComponentAdded,this,this.componentAddedHandler),this.eventManager.addListener(i.ComponentRemoved,this,this.componentRemovedHandler),this.rootEntity=t,this.firstPersonCameraEntity=new l.Entity,this.firstPersonCameraEntity.uuid=\\"FirstPersonCameraEntityReference\\",this.addEntity(this.firstPersonCameraEntity),this.avatarEntity=new l.Entity,this.avatarEntity.uuid=\\"AvatarEntityReference\\",this.addEntity(this.avatarEntity)}return Object.defineProperty(t.prototype,\\"entities\\",{get:function(){return this._entities},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\\"disposableComponents\\",{get:function(){return this._disposableComponents},enumerable:!1,configurable:!0}),t.prototype.addEntity=function(t){var e=t.getParent();if(t.isAddedToEngine())return t;for(var n in t.eventManager=this.eventManager,t.engine=this,this._entities[t.uuid]=t,this.checkRequirementsAndAdd(t),e?e.isAddedToEngine()||e===this.rootEntity||u.log(\\"Engine: warning, added an entity with a parent not present in the engine. Parent id: \\"+e.uuid):t.setParent(this.rootEntity),t.alive=!0,t.children){var o=t.children[n];o&&(o.isAddedToEngine()||this.addEntity(o))}return t},t.prototype.removeEntity=function(t){var e=t.uuid;if(t.isAddedToEngine()){for(var n in t.components){var o=this._componentGroups[n];if(o)for(var r in o)o[r].removeEntity(t);delete this.entityLists[n][e]}for(var i=0;i<this.simpleSystems.length;i++){var s=this.simpleSystems[i];s.onRemoveEntity&&s.onRemoveEntity(t)}for(var i in t.children){var a=t.children[i];a&&this.removeEntity(a)}return t.alive=!1,t.eventManager=null,delete this._entities[e],!0}for(var n in u.log(\\"Engine: Trying to remove non existent entity from engine.\\"),t.isAddedToEngine()?u.log(\\"Engine: Entity id: \\"+e):u.log(\'Engine: Entity \\"\'+t.uuid+\'\\" has not been added to any engine yet.\'),u.log(\\"Engine: Entity\'s components:\\"),t.components)u.log(n);return!1},t.prototype.addSystem=function(t,e){if(void 0===e&&(e=0),-1!==this.addedSystems.indexOf(t))return u.log(\\"Engine: Trying to add a system that is already added. Aborting\\"),t;if(this.systems.length>0)for(var n=0;n<this.systems.length;n++){var o=this.systems[n],r=n===this.systems.length-1;if(o.priority>e){this.addedSystems.push(t),this.systems.splice(n,0,{system:t,priority:e});break}if(r){this.addedSystems.push(t),this.systems.splice(n+1,0,{system:t,priority:e});break}}else this.addedSystems.push(t),this.systems.splice(1,0,{system:t,priority:e});return this.registerSystem(t),t},t.prototype.removeSystem=function(t){var e=this.addedSystems.indexOf(t);if(-1!==e){t.active=!1,t.deactivate&&t.deactivate(),this.addedSystems.splice(e,1);for(var n=0;n<this.systems.length;n++){this.systems[n].system===t&&this.systems.splice(n,1)}return!0}return!1},t.prototype.update=function(t){for(var e in this.systems){var n=this.systems[e].system;if(n.active&&n.update)try{n.update(t)}catch(t){u.error(t)}}return this},t.prototype.getEntitiesWithComponent=function(t){var e=\\"string\\"==typeof t?t:s.getComponentName(t);return e in this.entityLists?this.entityLists[e]:this.entityLists[e]={}},t.prototype.registerComponent=function(t){var e=s.getComponentId(t),n=s.getComponentName(t),o=s.getComponentClassId(t);this._disposableComponents[e]=t,null!==o&&(this.eventManager.fireEvent(new s.DisposableComponentCreated(e,n,o)),this.eventManager.fireEvent(new s.DisposableComponentUpdated(e,t)))},t.prototype.disposeComponent=function(t){var e=s.getComponentId(t);return delete this._disposableComponents[e]&&(this.eventManager.fireEvent(new s.DisposableComponentRemoved(e)),t.onDispose&&t.onDispose(),!0)},t.prototype.updateComponent=function(t){this.eventManager.fireEvent(new s.DisposableComponentUpdated(s.getComponentId(t),t))},t.prototype.getComponentGroup=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=new(p.ComponentGroup.bind.apply(p.ComponentGroup,r([void 0],t)));n.active=!0;for(var o=n.requiresNames,i=0;i<o.length;i++){var s=o[i],a=this._componentGroups[s];a||(this._componentGroups[s]=a=[]),-1===a.indexOf(n)&&a.push(n)}for(var u in this._entities)this.checkRequirements(this._entities[u],n);return n},t.prototype.removeComponentGroup=function(t){if(t.active){t.active=!1;for(var e=t.requiresNames,n=0;n<e.length;n++){var o=e[n],r=this._componentGroups[o];if(r){var i=r.indexOf(t);-1!==i&&r.splice(i,1)}}return!0}return!1},t.prototype.registerSystem=function(t){t.active=!0,t.activate&&t.activate(this),this.simpleSystems.push(t)},t.prototype.checkRequirementsAndAdd=function(t){if(t.isAddedToEngine()){for(var e in t.components){e in this.entityLists||(this.entityLists[e]={}),this.entityLists[e][t.uuid]=t;var n=this._componentGroups[e];if(n)for(var o in n)this.checkRequirements(t,n[o])}for(var r=0;r<this.simpleSystems.length;r++){var i=this.simpleSystems[r];i.onAddEntity&&i.onAddEntity(t)}}},t.prototype.checkRequirements=function(t,e){e.meetsRequirements(t)?e.hasEntity(t)||e.addEntity(t):e.hasEntity(t)&&e.removeEntity(t)},t.prototype.componentAddedHandler=function(t){var e,n=t.entity,o=t.componentName;if(n.isAddedToEngine()){this.entityLists[o]?this.entityLists[o][n.uuid]=n:this.entityLists[o]=((e={})[n.uuid]=n,e);var r=this._componentGroups[o];if(r)for(var i in r)this.checkRequirements(n,r[i])}},t.prototype.componentRemovedHandler=function(t){var e=t.entity,n=t.componentName;if(e.isAddedToEngine()){delete this.entityLists[n][e.uuid];var o=this._componentGroups[n];if(o)for(var r in o)this.checkRequirements(e,o[r])}},t}();e.Engine=c},function(t,e,n){\\"use strict\\";var o;Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.UIValue=e.UIValueType=void 0,function(t){t[t.PERCENT=0]=\\"PERCENT\\",t[t.PIXELS=1]=\\"PIXELS\\"}(o=e.UIValueType||(e.UIValueType={}));var r=function(){function t(t){if(this.type=o.PIXELS,\\"string\\"==typeof t){var e=t;e.indexOf(\\"px\\")>-1?this.type=o.PIXELS:e.indexOf(\\"%\\")>-1&&(this.type=o.PERCENT),this.value=parseFloat(e)}else this.value=t}return t.prototype.toString=function(){var t=this.value.toString();return this.type===o.PERCENT?t+=\\"%\\":t+=\\"px\\",t},t}();e.UIValue=r},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.executeTask=void 0;var o=n(1),r=Promise.resolve().then.bind(Promise.resolve());e.executeTask=function(t){var e=r(t);return e.isComplete=!1,e.then((function(t){e.isComplete=!0,e.result=t,e.didFail=!1})).catch((function(t){e.isComplete=!0,e.error=t,e.didFail=!0,o.error(\\"executeTask: FAILED \\"+t.toString(),t)})),e}},function(t,e,n){\\"use strict\\";var o=this&&this.__awaiter||function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function s(t){try{p(o.next(t))}catch(t){i(t)}}function a(t){try{p(o.throw(t))}catch(t){i(t)}}function p(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}p((o=o.apply(t,e||[])).next())}))},r=this&&this.__generator||function(t,e){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},\\"function\\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError(\\"Generator is already executing.\\");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){s.label=i[1];break}if(6===i[0]&&s.label<r[1]){s.label=r[1],r=i;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(i);break}r[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},i=this&&this.__values||function(t){var e=\\"function\\"==typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&\\"number\\"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?\\"Object is not iterable.\\":\\"Symbol.iterator is not defined.\\")};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Observable=e.MultiObserver=e.Observer=e.ObserverEventState=void 0;var s=n(19),a=function(){function t(t,e,n,o){void 0===e&&(e=!1),this.initalize(t,e,n,o)}return t.prototype.initalize=function(t,e,n,o){return void 0===e&&(e=!1),this.mask=t,this.skipNextObservers=e,this.target=n,this.currentTarget=o,this},t}();e.ObserverEventState=a;var p=function(t,e,n){void 0===n&&(n=null),this.callback=t,this.mask=e,this.scope=n,this.unregisterOnNextCall=!1,this._willBeUnregistered=!1};e.Observer=p;var u=function(){function t(){this._observers=null,this._observables=null}return t.Watch=function(e,n,o,r){var s,a;void 0===o&&(o=-1),void 0===r&&(r=null);var p=new t;p._observers=new Array,p._observables=e;try{for(var u=i(e),l=u.next();!l.done;l=u.next()){var c=l.value.add(n,o,!1,r);c&&p._observers.push(c)}}catch(t){s={error:t}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(s)throw s.error}}return p},t.prototype.dispose=function(){if(this._observers&&this._observables)for(var t=0;t<this._observers.length;t++)this._observables[t].remove(this._observers[t]);this._observers=null,this._observables=null},t}();e.MultiObserver=u;var l=function(){function t(t){this._observers=new Array,this._onObserverAdded=null,this._eventState=new a(0),t&&(this._onObserverAdded=t)}return t.prototype.add=function(t,e,n,o,r){if(void 0===e&&(e=-1),void 0===n&&(n=!1),void 0===o&&(o=null),void 0===r&&(r=!1),!t)return null;var i=new p(t,e,o);return i.unregisterOnNextCall=r,n?this._observers.unshift(i):this._observers.push(i),this._onObserverAdded&&this._onObserverAdded(i),i},t.prototype.addOnce=function(t){return this.add(t,void 0,void 0,void 0,!0)},t.prototype.remove=function(t){return!!t&&(-1!==this._observers.indexOf(t)&&(this._deferUnregister(t),!0))},t.prototype.removeCallback=function(t,e){for(var n=0;n<this._observers.length;n++)if(this._observers[n].callback===t&&(!e||e===this._observers[n].scope))return this._deferUnregister(this._observers[n]),!0;return!1},t.prototype.notifyObservers=function(t,e,n,o){var r,s;if(void 0===e&&(e=-1),!this._observers.length)return!0;var a=this._eventState;a.mask=e,a.target=n,a.currentTarget=o,a.skipNextObservers=!1,a.lastReturnValue=t;try{for(var p=i(this._observers),u=p.next();!u.done;u=p.next()){var l=u.value;if(!l._willBeUnregistered&&(l.mask&e&&(l.scope?a.lastReturnValue=l.callback.apply(l.scope,[t,a]):a.lastReturnValue=l.callback(t,a),l.unregisterOnNextCall&&this._deferUnregister(l)),a.skipNextObservers))return!1}}catch(t){r={error:t}}finally{try{u&&!u.done&&(s=p.return)&&s.call(p)}finally{if(r)throw r.error}}return!0},t.prototype.notifyObserversWithPromise=function(t,e,n,o){var r=this;void 0===e&&(e=-1);var i=Promise.resolve(t);if(!this._observers.length)return i;var s=this._eventState;return s.mask=e,s.target=n,s.currentTarget=o,s.skipNextObservers=!1,this._observers.forEach((function(n){s.skipNextObservers||n._willBeUnregistered||n.mask&e&&(i=n.scope?i.then((function(e){return s.lastReturnValue=e,n.callback.apply(n.scope,[t,s])})):i.then((function(e){return s.lastReturnValue=e,n.callback(t,s)})),n.unregisterOnNextCall&&r._deferUnregister(n))})),i.then((function(){return t}))},t.prototype.notifyObserver=function(t,e,n){void 0===n&&(n=-1);var o=this._eventState;o.mask=n,o.skipNextObservers=!1,t.callback(e,o)},t.prototype.hasObservers=function(){return this._observers.length>0},t.prototype.clear=function(){this._observers=new Array,this._onObserverAdded=null},t.prototype.clone=function(){var e=new t;return e._observers=this._observers.slice(0),e},t.prototype.hasSpecificMask=function(t){var e,n;void 0===t&&(t=-1);try{for(var o=i(this._observers),r=o.next();!r.done;r=o.next()){var s=r.value;if(s.mask&t||s.mask===t)return!0}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return!1},t.prototype._deferUnregister=function(t){var e=this;t.unregisterOnNextCall=!1,t._willBeUnregistered=!0,s.executeTask((function(){return o(e,void 0,void 0,(function(){return r(this,(function(e){return[2,this._remove(t)]}))}))}))},t.prototype._remove=function(t){if(!t)return!1;var e=this._observers.indexOf(t);return-1!==e&&(this._observers.splice(e,1),!0)},t}();e.Observable=l},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Vector4=void 0;var o=n(2),r=n(6),i=n(3),s=function(){function t(t,e,n,o){this.x=t,this.y=e,this.z=n,this.w=o}return t.Add=function(e,n){return new t(e.x,e.y,e.z,e.w).addInPlace(n)},t.FromArray=function(e,n){return void 0===n&&(n=0),new t(e[n],e[n+1],e[n+2],e[n+3])},t.FromArrayToRef=function(t,e,n){n.x=t[e],n.y=t[e+1],n.z=t[e+2],n.w=t[e+3]},t.FromFloatArrayToRef=function(e,n,o){t.FromArrayToRef(e,n,o)},t.FromFloatsToRef=function(t,e,n,o,r){r.x=t,r.y=e,r.z=n,r.w=o},t.Zero=function(){return new t(0,0,0,0)},t.One=function(){return new t(1,1,1,1)},t.Normalize=function(e){var n=t.Zero();return t.NormalizeToRef(e,n),n},t.NormalizeToRef=function(t,e){e.copyFrom(t),e.normalize()},t.Minimize=function(e,n){var o=new t(e.x,e.y,e.z,e.w);return o.minimizeInPlace(n),o},t.Maximize=function(e,n){var o=new t(e.x,e.y,e.z,e.w);return o.maximizeInPlace(n),o},t.Distance=function(e,n){return Math.sqrt(t.DistanceSquared(e,n))},t.DistanceSquared=function(t,e){var n=t.x-e.x,o=t.y-e.y,r=t.z-e.z,i=t.w-e.w;return n*n+o*o+r*r+i*i},t.Center=function(e,n){var o=t.Add(e,n);return o.scaleInPlace(.5),o},t.TransformNormal=function(e,n){var o=t.Zero();return t.TransformNormalToRef(e,n,o),o},t.TransformNormalToRef=function(t,e,n){var o=e.m,r=t.x*o[0]+t.y*o[4]+t.z*o[8],i=t.x*o[1]+t.y*o[5]+t.z*o[9],s=t.x*o[2]+t.y*o[6]+t.z*o[10];n.x=r,n.y=i,n.z=s,n.w=t.w},t.TransformNormalFromFloatsToRef=function(t,e,n,o,r,i){var s=r.m;i.x=t*s[0]+e*s[4]+n*s[8],i.y=t*s[1]+e*s[5]+n*s[9],i.z=t*s[2]+e*s[6]+n*s[10],i.w=o},t.prototype.toString=function(){return\\"{X: \\"+this.x+\\" Y:\\"+this.y+\\" Z:\\"+this.z+\\" W:\\"+this.w+\\"}\\"},t.prototype.getClassName=function(){return\\"Vector4\\"},t.prototype.getHashCode=function(){var t=this.x||0;return t=397*(t=397*(t=397*t^(this.y||0))^(this.z||0))^(this.w||0)},t.prototype.asArray=function(){var t=new Array;return this.toArray(t,0),t},t.prototype.toArray=function(t,e){return void 0===e&&(e=0),t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,this},t.prototype.addInPlace=function(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this},t.prototype.add=function(e){return new t(this.x+e.x,this.y+e.y,this.z+e.z,this.w+e.w)},t.prototype.addToRef=function(t,e){return e.x=this.x+t.x,e.y=this.y+t.y,e.z=this.z+t.z,e.w=this.w+t.w,this},t.prototype.subtractInPlace=function(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this},t.prototype.subtract=function(e){return new t(this.x-e.x,this.y-e.y,this.z-e.z,this.w-e.w)},t.prototype.subtractToRef=function(t,e){return e.x=this.x-t.x,e.y=this.y-t.y,e.z=this.z-t.z,e.w=this.w-t.w,this},t.prototype.subtractFromFloats=function(e,n,o,r){return new t(this.x-e,this.y-n,this.z-o,this.w-r)},t.prototype.subtractFromFloatsToRef=function(t,e,n,o,r){return r.x=this.x-t,r.y=this.y-e,r.z=this.z-n,r.w=this.w-o,this},t.prototype.negate=function(){return new t(-this.x,-this.y,-this.z,-this.w)},t.prototype.scaleInPlace=function(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this},t.prototype.scale=function(e){return new t(this.x*e,this.y*e,this.z*e,this.w*e)},t.prototype.scaleToRef=function(t,e){return e.x=this.x*t,e.y=this.y*t,e.z=this.z*t,e.w=this.w*t,this},t.prototype.scaleAndAddToRef=function(t,e){return e.x+=this.x*t,e.y+=this.y*t,e.z+=this.z*t,e.w+=this.w*t,this},t.prototype.equals=function(t){return t&&this.x===t.x&&this.y===t.y&&this.z===t.z&&this.w===t.w},t.prototype.equalsWithEpsilon=function(t,e){return void 0===e&&(e=o.Epsilon),t&&r.Scalar.WithinEpsilon(this.x,t.x,e)&&r.Scalar.WithinEpsilon(this.y,t.y,e)&&r.Scalar.WithinEpsilon(this.z,t.z,e)&&r.Scalar.WithinEpsilon(this.w,t.w,e)},t.prototype.equalsToFloats=function(t,e,n,o){return this.x===t&&this.y===e&&this.z===n&&this.w===o},t.prototype.multiplyInPlace=function(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this},t.prototype.multiply=function(e){return new t(this.x*e.x,this.y*e.y,this.z*e.z,this.w*e.w)},t.prototype.multiplyToRef=function(t,e){return e.x=this.x*t.x,e.y=this.y*t.y,e.z=this.z*t.z,e.w=this.w*t.w,this},t.prototype.multiplyByFloats=function(e,n,o,r){return new t(this.x*e,this.y*n,this.z*o,this.w*r)},t.prototype.divide=function(e){return new t(this.x/e.x,this.y/e.y,this.z/e.z,this.w/e.w)},t.prototype.divideToRef=function(t,e){return e.x=this.x/t.x,e.y=this.y/t.y,e.z=this.z/t.z,e.w=this.w/t.w,this},t.prototype.divideInPlace=function(t){return this.divideToRef(t,this)},t.prototype.minimizeInPlace=function(t){return t.x<this.x&&(this.x=t.x),t.y<this.y&&(this.y=t.y),t.z<this.z&&(this.z=t.z),t.w<this.w&&(this.w=t.w),this},t.prototype.maximizeInPlace=function(t){return t.x>this.x&&(this.x=t.x),t.y>this.y&&(this.y=t.y),t.z>this.z&&(this.z=t.z),t.w>this.w&&(this.w=t.w),this},t.prototype.floor=function(){return new t(Math.floor(this.x),Math.floor(this.y),Math.floor(this.z),Math.floor(this.w))},t.prototype.fract=function(){return new t(this.x-Math.floor(this.x),this.y-Math.floor(this.y),this.z-Math.floor(this.z),this.w-Math.floor(this.w))},t.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},t.prototype.lengthSquared=function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w},t.prototype.normalize=function(){var t=this.length();return 0===t?this:this.scaleInPlace(1/t)},t.prototype.toVector3=function(){return new i.Vector3(this.x,this.y,this.z)},t.prototype.clone=function(){return new t(this.x,this.y,this.z,this.w)},t.prototype.copyFrom=function(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=t.w,this},t.prototype.copyFromFloats=function(t,e,n,o){return this.x=t,this.y=e,this.z=n,this.w=o,this},t.prototype.set=function(t,e,n,o){return this.copyFromFloats(t,e,n,o)},t.prototype.setAll=function(t){return this.x=this.y=this.z=this.w=t,this},t}();e.Vector4=s},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Angle=void 0;var o=function(){function t(t){this._radians=t,this._radians<0&&(this._radians+=2*Math.PI)}return t.BetweenTwoPoints=function(e,n){var o=n.subtract(e);return new t(Math.atan2(o.y,o.x))},t.FromRadians=function(e){return new t(e)},t.FromDegrees=function(e){return new t(e*Math.PI/180)},t.prototype.degrees=function(){return 180*this._radians/Math.PI},t.prototype.radians=function(){return this._radians},t}();e.Angle=o},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Arc2=void 0;var o=n(22),r=n(15),i=n(2),s=function(t,e,n){this.startPoint=t,this.midPoint=e,this.endPoint=n;var s=Math.pow(e.x,2)+Math.pow(e.y,2),a=(Math.pow(t.x,2)+Math.pow(t.y,2)-s)/2,p=(s-Math.pow(n.x,2)-Math.pow(n.y,2))/2,u=(t.x-e.x)*(e.y-n.y)-(e.x-n.x)*(t.y-e.y);this.centerPoint=new r.Vector2((a*(e.y-n.y)-p*(t.y-e.y))/u,((t.x-e.x)*p-(e.x-n.x)*a)/u),this.radius=this.centerPoint.subtract(this.startPoint).length(),this.startAngle=o.Angle.BetweenTwoPoints(this.centerPoint,this.startPoint);var l=this.startAngle.degrees(),c=o.Angle.BetweenTwoPoints(this.centerPoint,this.midPoint).degrees(),h=o.Angle.BetweenTwoPoints(this.centerPoint,this.endPoint).degrees();c-l>180&&(c-=360),c-l<-180&&(c+=360),h-c>180&&(h-=360),h-c<-180&&(h+=360),this.orientation=c-l<0?i.Orientation.CW:i.Orientation.CCW,this.angle=o.Angle.FromDegrees(this.orientation===i.Orientation.CW?l-h:h-l)};e.Arc2=s},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Color4=void 0;var o=n(6),r=n(2),i=function(){function t(t,e,n,o){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===o&&(o=1),this.r=t,this.g=e,this.b=n,this.a=o}return t.FromHexString=function(e){if(\\"#\\"!==e.substring(0,1)||9!==e.length)return new t(0,0,0,0);var n=parseInt(e.substring(1,3),16),o=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16),i=parseInt(e.substring(7,9),16);return t.FromInts(n,o,r,i)},t.Lerp=function(e,n,o){var r=new t(0,0,0,0);return t.LerpToRef(e,n,o,r),r},t.LerpToRef=function(t,e,n,o){o.r=t.r+(e.r-t.r)*n,o.g=t.g+(e.g-t.g)*n,o.b=t.b+(e.b-t.b)*n,o.a=t.a+(e.a-t.a)*n},t.Red=function(){return new t(1,0,0,1)},t.Green=function(){return new t(0,1,0,1)},t.Blue=function(){return new t(0,0,1,1)},t.Black=function(){return new t(0,0,0,1)},t.White=function(){return new t(1,1,1,1)},t.Purple=function(){return new t(.5,0,.5,1)},t.Magenta=function(){return new t(1,0,1,1)},t.Yellow=function(){return new t(1,1,0,1)},t.Gray=function(){return new t(.5,.5,.5,1)},t.Teal=function(){return new t(0,1,1,1)},t.Clear=function(){return new t(0,0,0,0)},t.FromColor3=function(e,n){return void 0===n&&(n=1),new t(e.r,e.g,e.b,n)},t.FromArray=function(e,n){return void 0===n&&(n=0),new t(e[n],e[n+1],e[n+2],e[n+3])},t.FromInts=function(e,n,o,r){return new t(e/255,n/255,o/255,r/255)},t.CheckColors4=function(t,e){if(t.length===3*e){for(var n=[],o=0;o<t.length;o+=3){var r=o/3*4;n[r]=t[o],n[r+1]=t[o+1],n[r+2]=t[o+2],n[r+3]=1}return n}return t},t.prototype.addInPlace=function(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this.a+=t.a,this},t.prototype.asArray=function(){var t=new Array;return this.toArray(t,0),t},t.prototype.toArray=function(t,e){return void 0===e&&(e=0),t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t[e+3]=this.a,this},t.prototype.add=function(e){return new t(this.r+e.r,this.g+e.g,this.b+e.b,this.a+e.a)},t.prototype.subtract=function(e){return new t(this.r-e.r,this.g-e.g,this.b-e.b,this.a-e.a)},t.prototype.subtractToRef=function(t,e){return e.r=this.r-t.r,e.g=this.g-t.g,e.b=this.b-t.b,e.a=this.a-t.a,this},t.prototype.scale=function(e){return new t(this.r*e,this.g*e,this.b*e,this.a*e)},t.prototype.scaleToRef=function(t,e){return e.r=this.r*t,e.g=this.g*t,e.b=this.b*t,e.a=this.a*t,this},t.prototype.scaleAndAddToRef=function(t,e){return e.r+=this.r*t,e.g+=this.g*t,e.b+=this.b*t,e.a+=this.a*t,this},t.prototype.clampToRef=function(t,e,n){return void 0===t&&(t=0),void 0===e&&(e=1),n.r=o.Scalar.Clamp(this.r,t,e),n.g=o.Scalar.Clamp(this.g,t,e),n.b=o.Scalar.Clamp(this.b,t,e),n.a=o.Scalar.Clamp(this.a,t,e),this},t.prototype.multiply=function(e){return new t(this.r*e.r,this.g*e.g,this.b*e.b,this.a*e.a)},t.prototype.multiplyToRef=function(t,e){return e.r=this.r*t.r,e.g=this.g*t.g,e.b=this.b*t.b,e.a=this.a*t.a,e},t.prototype.toString=function(){return\\"{R: \\"+this.r+\\" G:\\"+this.g+\\" B:\\"+this.b+\\" A:\\"+this.a+\\"}\\"},t.prototype.getClassName=function(){return\\"Color4\\"},t.prototype.getHashCode=function(){var t=this.r||0;return t=397*(t=397*(t=397*t^(this.g||0))^(this.b||0))^(this.a||0)},t.prototype.clone=function(){return new t(this.r,this.g,this.b,this.a)},t.prototype.copyFrom=function(t){return this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this},t.prototype.copyFromFloats=function(t,e,n,o){return this.r=t,this.g=e,this.b=n,this.a=o,this},t.prototype.set=function(t,e,n,o){return this.copyFromFloats(t,e,n,o)},t.prototype.toHexString=function(){var t=255*this.r|0,e=255*this.g|0,n=255*this.b|0,r=255*this.a|0;return\\"#\\"+o.Scalar.ToHex(t)+o.Scalar.ToHex(e)+o.Scalar.ToHex(n)+o.Scalar.ToHex(r)},t.prototype.toLinearSpace=function(){var e=new t;return this.toLinearSpaceToRef(e),e},t.prototype.toLinearSpaceToRef=function(t){return t.r=Math.pow(this.r,r.ToLinearSpace),t.g=Math.pow(this.g,r.ToLinearSpace),t.b=Math.pow(this.b,r.ToLinearSpace),t.a=this.a,this},t.prototype.toGammaSpace=function(){var e=new t;return this.toGammaSpaceToRef(e),e},t.prototype.toGammaSpaceToRef=function(t){return t.r=Math.pow(this.r,r.ToGammaSpace),t.g=Math.pow(this.g,r.ToGammaSpace),t.b=Math.pow(this.b,r.ToGammaSpace),t.a=this.a,this},t}();e.Color4=i},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Plane=void 0;var o=n(3),r=n(11),i=n(9),s=function(){function t(t,e,n,r){this.normal=new o.Vector3(t,e,n),this.d=r}return t.FromArray=function(e){return new t(e[0],e[1],e[2],e[3])},t.FromPoints=function(e,n,o){var r=new t(0,0,0,0);return r.copyFromPoints(e,n,o),r},t.FromPositionAndNormal=function(e,n){var o=new t(0,0,0,0);return n.normalize(),o.normal=n,o.d=-(n.x*e.x+n.y*e.y+n.z*e.z),o},t.SignedDistanceToPlaneFromPositionAndNormal=function(t,e,n){var r=-(e.x*t.x+e.y*t.y+e.z*t.z);return o.Vector3.Dot(n,e)+r},t.prototype.asArray=function(){return[this.normal.x,this.normal.y,this.normal.z,this.d]},t.prototype.clone=function(){return new t(this.normal.x,this.normal.y,this.normal.z,this.d)},t.prototype.getClassName=function(){return\\"Plane\\"},t.prototype.getHashCode=function(){var t=this.normal.getHashCode();return t=397*t^(this.d||0)},t.prototype.normalize=function(){var t=Math.sqrt(this.normal.x*this.normal.x+this.normal.y*this.normal.y+this.normal.z*this.normal.z),e=0;return 0!==t&&(e=1/t),this.normal.x*=e,this.normal.y*=e,this.normal.z*=e,this.d*=e,this},t.prototype.transform=function(e){var n=i.MathTmp.Matrix[0];r.Matrix.TransposeToRef(e,n);var o=n.m,s=this.normal.x,a=this.normal.y,p=this.normal.z,u=this.d;return new t(s*o[0]+a*o[1]+p*o[2]+u*o[3],s*o[4]+a*o[5]+p*o[6]+u*o[7],s*o[8]+a*o[9]+p*o[10]+u*o[11],s*o[12]+a*o[13]+p*o[14]+u*o[15])},t.prototype.dotCoordinate=function(t){return this.normal.x*t.x+this.normal.y*t.y+this.normal.z*t.z+this.d},t.prototype.copyFromPoints=function(t,e,n){var o,r=e.x-t.x,i=e.y-t.y,s=e.z-t.z,a=n.x-t.x,p=n.y-t.y,u=n.z-t.z,l=i*u-s*p,c=s*a-r*u,h=r*p-i*a,d=Math.sqrt(l*l+c*c+h*h);return o=0!==d?1/d:0,this.normal.x=l*o,this.normal.y=c*o,this.normal.z=h*o,this.d=-(this.normal.x*t.x+this.normal.y*t.y+this.normal.z*t.z),this},t.prototype.isFrontFacingTo=function(t,e){return o.Vector3.Dot(this.normal,t)<=e},t.prototype.signedDistanceTo=function(t){return o.Vector3.Dot(t,this.normal)+this.d},t}();e.Plane=s},function(t,e,n){\\"use strict\\";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.AnimationState=void 0;var a=n(0),p=n(1),u={looping:!0,speed:1,weight:1},l=function(t){function e(e,n){void 0===n&&(n=u);var o=t.call(this)||this;return o.isAnimationClip=!0,o.looping=u.looping,o.weight=u.weight,o.playing=!1,o.shouldReset=!1,o.speed=u.speed,o.name=p.newId(\\"AnimClip\\"),o.clip=e,o.setParams(i({},n)),o}return r(e,t),e.prototype.setParams=function(t){return this.looping=void 0!==t.looping?t.looping:this.looping,this.speed=t.speed||this.speed,this},e.prototype.toJSON=function(){var e=JSON.parse(JSON.stringify(t.prototype.toJSON.call(this)));return this.shouldReset&&(this.shouldReset=!1),e},e.prototype.play=function(){this.playing=!0},e.prototype.pause=function(){this.playing=!1},e.prototype.reset=function(){this.shouldReset=!0},e.prototype.stop=function(){this.reset(),this.pause()},s([a.ObservableComponent.readonly],e.prototype,\\"clip\\",void 0),s([a.ObservableComponent.field],e.prototype,\\"looping\\",void 0),s([a.ObservableComponent.field],e.prototype,\\"weight\\",void 0),s([a.ObservableComponent.field],e.prototype,\\"playing\\",void 0),s([a.ObservableComponent.field],e.prototype,\\"shouldReset\\",void 0),s([a.ObservableComponent.field],e.prototype,\\"speed\\",void 0),s([a.ObservableComponent.readonly],e.prototype,\\"name\\",void 0),e}(a.ObservableComponent);e.AnimationState=l},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.AVATAR_OBSERVABLE=e.InputEventType=void 0,function(t){t[t.DOWN=0]=\\"DOWN\\",t[t.UP=1]=\\"UP\\"}(e.InputEventType||(e.InputEventType={})),e.AVATAR_OBSERVABLE=\\"AVATAR_OBSERVABLE\\"},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.PhysicsCast=void 0;var o,r=n(5),i=n(1),s=n(29);!function(t){t.HitFirst=\\"rqhf\\",t.HitAll=\\"rqha\\"}(o||(o={}));var a=function(){function t(){this.queries={}}return Object.defineProperty(t,\\"instance\\",{get:function(){return t.ensureInstance(),t._instance},enumerable:!1,configurable:!0}),t.ensureInstance=function(){t._instance||(t._instance=new t)},t.prototype.getRayFromCamera=function(t){var e=s.Camera.instance.rotation,n=r.Matrix.Identity();e.toRotationMatrix(n);var o=r.Vector3.TransformCoordinates(r.Vector3.Forward(),n);return{origin:s.Camera.instance.position,direction:o,distance:t}},t.prototype.getRayFromPositions=function(t,e){var n=e.subtract(t),o=n.length();return{origin:t,direction:n.normalize(),distance:o}},t.prototype.hitFirst=function(t,e,n){var r=\\"number\\"==typeof n?o.HitFirst+n:i.uuid();this.queries[r]=e,dcl&&dcl.query(\\"raycast\\",{queryId:r,queryType:\\"HitFirst\\",ray:t})},t.prototype.hitAll=function(t,e,n){var r=\\"number\\"==typeof n?o.HitAll+n:i.uuid();this.queries[r]=e,dcl&&dcl.query(\\"raycast\\",{queryId:r,queryType:\\"HitAll\\",ray:t})},t.prototype.hitFirstAvatar=function(t,e){i.log(\\"not implemented yet\\")},t.prototype.hitAllAvatars=function(t,e){i.log(\\"not implemented yet\\")},t.prototype.handleRaycastHitFirstResponse=function(t){this.queries[t.payload.queryId](t.payload.payload),delete this.queries[t.payload.queryId]},t.prototype.handleRaycastHitAllResponse=function(t){this.queries[t.payload.queryId](t.payload.payload),delete this.queries[t.payload.queryId]},t}();e.PhysicsCast=a},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Camera=void 0;var o=n(5),r=function(){function t(){var t=this;this.position=new o.Vector3,this.rotation=new o.Quaternion,this.feetPosition=new o.Vector3,this.worldPosition=new o.Vector3,this.lastEventPosition={x:0,y:0,z:0},this.lastEventWorldPosition={x:0,y:0,z:0},this.lastEventRotation={x:0,y:0,z:0,w:1},this._playerHeight=1.6,\\"undefined\\"!=typeof dcl&&(dcl.subscribe(\\"positionChanged\\"),dcl.subscribe(\\"rotationChanged\\"),dcl.onEvent((function(e){switch(e.type){case\\"positionChanged\\":t.positionChanged(e.data);break;case\\"rotationChanged\\":t.rotationChanged(e.data)}}))),Object.defineProperty(this.position,\\"x\\",{get:function(){return t.lastEventPosition.x}}),Object.defineProperty(this.position,\\"y\\",{get:function(){return t.lastEventPosition.y}}),Object.defineProperty(this.position,\\"z\\",{get:function(){return t.lastEventPosition.z}}),Object.defineProperty(this.worldPosition,\\"x\\",{get:function(){return t.lastEventWorldPosition.x}}),Object.defineProperty(this.worldPosition,\\"y\\",{get:function(){return t.lastEventWorldPosition.y}}),Object.defineProperty(this.worldPosition,\\"z\\",{get:function(){return t.lastEventWorldPosition.z}}),Object.defineProperty(this.feetPosition,\\"x\\",{get:function(){return t.lastEventPosition.x}}),Object.defineProperty(this.feetPosition,\\"y\\",{get:function(){return t.lastEventPosition.y-t.playerHeight}}),Object.defineProperty(this.feetPosition,\\"z\\",{get:function(){return t.lastEventPosition.z}}),Object.defineProperty(this.rotation,\\"x\\",{get:function(){return t.lastEventRotation.x}}),Object.defineProperty(this.rotation,\\"y\\",{get:function(){return t.lastEventRotation.y}}),Object.defineProperty(this.rotation,\\"z\\",{get:function(){return t.lastEventRotation.z}}),Object.defineProperty(this.rotation,\\"w\\",{get:function(){return t.lastEventRotation.w}})}return Object.defineProperty(t,\\"instance\\",{get:function(){return t._instance||(t._instance=new t),t._instance},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\\"playerHeight\\",{get:function(){return this._playerHeight},enumerable:!1,configurable:!0}),t.prototype.positionChanged=function(t){this.lastEventPosition=t.position,this.lastEventWorldPosition=t.cameraPosition,this._playerHeight=t.playerHeight},t.prototype.rotationChanged=function(t){this.lastEventRotation=t.quaternion},t}();e.Camera=r},function(t,e,n){\\"use strict\\";var o=this&&this.__createBinding||(Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)\\"default\\"===n||Object.prototype.hasOwnProperty.call(e,n)||o(e,t,n)};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.engine=void 0,r(n(31),e),r(n(17),e),r(n(0),e),r(n(12),e),r(n(7),e),r(n(19),e),r(n(1),e),r(n(20),e),r(n(18),e),r(n(8),e),r(n(33),e),r(n(34),e);var i=n(35),s=n(17),a=new(n(12).Entity)(\\"scene\\");a.uuid=\\"0\\";var p=new s.Engine(a);e.engine=p,n(0).DisposableComponent.engine=p,\\"undefined\\"!=typeof dcl&&p.addSystem(new i.DecentralandSynchronizationSystem(dcl),1/0);var u=n(14);p.addSystem(u.uuidEventSystem),p.addSystem(u.pointerEventSystem),p.addSystem(u.raycastEventSystem),r(n(27),e),r(n(4),e),r(n(14),e),r(n(13),e),r(n(29),e),r(n(5),e),r(n(26),e),r(n(16),e),r(n(44),e),r(n(45),e),r(n(46),e),r(n(47),e),r(n(48),e),r(n(49),e),r(n(28),e)},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Attachable=void 0;var o=function(){function t(){}return t.AVATAR={getEntityRepresentation:function(t){return t.avatarEntity}},t.FIRST_PERSON_CAMERA={getEntityRepresentation:function(t){return t.firstPersonCameraEntity}},t}();e.Attachable=o},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.ComponentGroup=void 0;var o=n(0),r=function(){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this.entities=[],this.active=!1,this._requiresNames=[],!t)throw new Error(\\"ComponentGroup: Could not load the requires list\\");if(!(t instanceof Array))throw new Error(\\"ComponentGroup: requires list is not an Array\\");Object.defineProperty(this,\\"requires\\",{get:function(){return t.slice()}}),Object.defineProperty(this,\\"requiresNames\\",{get:function(){return this._requiresNames.slice()}});for(var n=function(e){var n=t[e],i=null;if(!n)throw new Error(\\"ComponentGroup: the required component at location \\"+e+\\" is invalid\\");try{i=o.getComponentName(n)}catch(t){throw new Error(\\"ComponentGroup: the required component at location \\"+e+\\" is not registered as a @Component. Remember to provide the class of the component, not the name\\")}if(r._requiresNames.some((function(t){return t===i})))throw new Error(\\"ComponentGroup: the required component list has a repeated name \\"+i);r._requiresNames.push(i)},r=this,i=0;i<t.length;i++)n(i)}return t.prototype.hasEntity=function(t){return!!t.isAddedToEngine()&&-1!==this.entities.indexOf(t)},t.prototype.addEntity=function(t){if(!t.isAddedToEngine())throw new TypeError(\\"ComponentGroup: Cannot add a entity that is not added to the engine\\");-1===this.entities.indexOf(t)&&this.entities.push(t)},t.prototype.removeEntity=function(t){var e=this.entities.indexOf(t);-1!==e&&this.entities.splice(e,1)},t.prototype.componentRemoved=function(t,e){-1!==this._requiresNames.indexOf(e)&&this.removeEntity(t)},t.prototype.meetsRequirements=function(t){for(var e=0;e<this._requiresNames.length;e++){if(!(this._requiresNames[e]in t.components))return!1}return!0},t}();e.ComponentGroup=r},function(t,e,n){\\"use strict\\";var o;Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.teleportTo=void 0,e.teleportTo=function(t){var e,n;e=\\"requestTeleport\\",n=[t],void 0===o&&\\"undefined\\"!=typeof dcl&&(o=dcl.loadModule(\\"@decentraland/UserActionModule\\")),void 0!==o&&\\"undefined\\"!=typeof dcl&&o.then((function(t){dcl.callRpc(t.rpcHandle,e,n)}))}},function(t,e,n){\\"use strict\\";var o;Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.movePlayerTo=void 0,e.movePlayerTo=function(t,e){var n,r;n=\\"movePlayerTo\\",r=[t,e],void 0===o&&\\"undefined\\"!=typeof dcl&&(o=dcl.loadModule(\\"@decentraland/RestrictedActionModule\\")),void 0!==o&&\\"undefined\\"!=typeof dcl&&o.then((function(t){dcl.callRpc(t.rpcHandle,n,r)}))}},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.DecentralandSynchronizationSystem=void 0;var o=n(0),r=n(7),i=n(13),s=function(){function t(t){this.dcl=t,this.cachedComponents={}}return t.prototype.activate=function(t){var e=this;this.engine=t,t.eventManager.addListener(r.ComponentAdded,this,this.componentAdded),t.eventManager.addListener(r.ComponentRemoved,this,this.componentRemoved),t.eventManager.addListener(o.DisposableComponentCreated,this,this.disposableComponentCreated),t.eventManager.addListener(o.DisposableComponentRemoved,this,this.disposableComponentRemoved),t.eventManager.addListener(o.DisposableComponentUpdated,this,this.disposableComponentUpdated),t.eventManager.addListener(r.ParentChanged,this,this.parentChanged);var n=t.rootEntity.uuid;this.dcl.addEntity(n),this.dcl.onUpdate((function(n){t.update(n),e.presentEntities()})),this.dcl.onEvent((function(e){var n=e.data;switch(e.type){case\\"uuidEvent\\":t.eventManager.fireEvent(new i.UUIDEvent(n.uuid,n.payload));break;case\\"raycastResponse\\":(\\"HitFirst\\"===n.queryType||\\"HitAll\\"===n.queryType)&&t.eventManager.fireEvent(new i.RaycastResponse(n));break;case\\"pointerEvent\\":t.eventManager.fireEvent(new i.PointerEvent(n.payload))}}))},t.prototype.onAddEntity=function(t){if(t&&t.isAddedToEngine()){var e=t.uuid,n=t.getParent();for(var r in this.dcl.addEntity(e),n&&this.dcl.setParent(e,n.uuid),this.cachedComponents[e]={},t.components){var i=t.components[r],s=o.getComponentClassId(i);if(null!==s)if(o.isDisposableComponent(i))this.dcl.attachEntityComponent(t.uuid,r,o.getComponentId(i));else{var a=JSON.stringify(i);this.dcl.updateEntityComponent(e,r,s,a),this.cachedComponents[e][r]=a}}}},t.prototype.onRemoveEntity=function(t){if(t.isAddedToEngine()){var e=t.uuid;this.dcl.removeEntity(e),delete this.cachedComponents[e]}},t.prototype.presentEntities=function(){for(var t in this.engine.entities){var e=this.engine.entities[t];for(var n in e.components){var r=e.components[n],i=o.getComponentClassId(r);if(null!==i&&!o.isDisposableComponent(r)){var s=this.getJsonIfDirty(e.uuid,n,r);s&&(this.dcl.updateEntityComponent(e.uuid,n,i,s),this.clearDirty(e.uuid,n,r,s))}}}for(var a in this.engine.disposableComponents){(r=this.engine.disposableComponents[a])instanceof o.ObservableComponent&&r.dirty&&(this.dcl.componentUpdated(a,JSON.stringify(r)),r.dirty=!1)}},t.prototype.componentAdded=function(t){if(t.entity.isAddedToEngine()){var e=t.entity.components[t.componentName];if(o.isDisposableComponent(e))this.dcl.attachEntityComponent(t.entity.uuid,t.componentName,o.getComponentId(e));else if(null!==t.classId){var n=JSON.stringify(e);this.dcl.updateEntityComponent(t.entity.uuid,t.componentName,t.classId,n),this.cachedComponents[t.entity.uuid][t.componentName]=n}}},t.prototype.componentRemoved=function(t){t.entity.isAddedToEngine()&&(this.dcl.removeEntityComponent(t.entity.uuid,t.componentName),delete this.cachedComponents[t.entity.uuid][t.componentName])},t.prototype.disposableComponentCreated=function(t){this.dcl.componentCreated(t.componentId,t.componentName,t.classId)},t.prototype.disposableComponentRemoved=function(t){this.dcl.componentDisposed(t.componentId)},t.prototype.disposableComponentUpdated=function(t){this.dcl.componentUpdated(t.componentId,JSON.stringify(t.component))},t.prototype.parentChanged=function(t){this.dcl.setParent(t.entity.uuid,t.parent?t.parent.uuid:\\"0\\")},t.prototype.getJsonIfDirty=function(t,e,n){var o=JSON.stringify(n);return o!==this.cachedComponents[t][e]&&o},t.prototype.clearDirty=function(t,e,n,o){this.cachedComponents[t][e]=o},t}();e.DecentralandSynchronizationSystem=s},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Axis=void 0;var o=n(3),r=function(){function t(){}return t.X=new o.Vector3(1,0,0),t.Y=new o.Vector3(0,1,0),t.Z=new o.Vector3(0,0,1),t}();e.Axis=r},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.BezierCurve=void 0;var o=function(){function t(){}return t.Interpolate=function(t,e,n,o,r){for(var i=1-3*o+3*e,s=3*o-6*e,a=3*e,p=t,u=0;u<5;u++){var l=p*p;p-=(i*(l*p)+s*l+a*p-t)*(1/(3*i*l+2*s*p+a)),p=Math.min(1,Math.max(0,p))}return 3*Math.pow(1-p,2)*p*n+3*(1-p)*Math.pow(p,2)*r+Math.pow(p,3)},t}();e.BezierCurve=o},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Color3=void 0;var o=n(2),r=n(24),i=n(6),s=function(){function t(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),this.r=t,this.g=e,this.b=n}return t.FromHexString=function(e){if(\\"#\\"!==e.substring(0,1)||7!==e.length)return new t(0,0,0);var n=parseInt(e.substring(1,3),16),o=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16);return t.FromInts(n,o,r)},t.FromArray=function(e,n){return void 0===n&&(n=0),new t(e[n],e[n+1],e[n+2])},t.FromInts=function(e,n,o){return new t(e/255,n/255,o/255)},t.Lerp=function(e,n,o){var r=new t(0,0,0);return t.LerpToRef(e,n,o,r),r},t.LerpToRef=function(t,e,n,o){o.r=t.r+(e.r-t.r)*n,o.g=t.g+(e.g-t.g)*n,o.b=t.b+(e.b-t.b)*n},t.Red=function(){return new t(1,0,0)},t.Green=function(){return new t(0,1,0)},t.Blue=function(){return new t(0,0,1)},t.Black=function(){return new t(0,0,0)},t.White=function(){return new t(1,1,1)},t.Purple=function(){return new t(.5,0,.5)},t.Magenta=function(){return new t(1,0,1)},t.Yellow=function(){return new t(1,1,0)},t.Gray=function(){return new t(.5,.5,.5)},t.Teal=function(){return new t(0,1,1)},t.Random=function(){return new t(Math.random(),Math.random(),Math.random())},t.prototype.toString=function(){return\\"{R: \\"+this.r+\\" G:\\"+this.g+\\" B:\\"+this.b+\\"}\\"},t.prototype.getClassName=function(){return\\"Color3\\"},t.prototype.getHashCode=function(){var t=this.r||0;return t=397*(t=397*t^(this.g||0))^(this.b||0)},t.prototype.toArray=function(t,e){return void 0===e&&(e=0),t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,this},t.prototype.toColor4=function(t){return void 0===t&&(t=1),new r.Color4(this.r,this.g,this.b,t)},t.prototype.asArray=function(){var t=new Array;return this.toArray(t,0),t},t.prototype.toLuminance=function(){return.3*this.r+.59*this.g+.11*this.b},t.prototype.multiply=function(e){return new t(this.r*e.r,this.g*e.g,this.b*e.b)},t.prototype.multiplyToRef=function(t,e){return e.r=this.r*t.r,e.g=this.g*t.g,e.b=this.b*t.b,this},t.prototype.equals=function(t){return t&&this.r===t.r&&this.g===t.g&&this.b===t.b},t.prototype.equalsFloats=function(t,e,n){return this.r===t&&this.g===e&&this.b===n},t.prototype.scale=function(e){return new t(this.r*e,this.g*e,this.b*e)},t.prototype.scaleToRef=function(t,e){return e.r=this.r*t,e.g=this.g*t,e.b=this.b*t,this},t.prototype.scaleAndAddToRef=function(t,e){return e.r+=this.r*t,e.g+=this.g*t,e.b+=this.b*t,this},t.prototype.clampToRef=function(t,e,n){return void 0===t&&(t=0),void 0===e&&(e=1),n.r=i.Scalar.Clamp(this.r,t,e),n.g=i.Scalar.Clamp(this.g,t,e),n.b=i.Scalar.Clamp(this.b,t,e),this},t.prototype.add=function(e){return new t(this.r+e.r,this.g+e.g,this.b+e.b)},t.prototype.addToRef=function(t,e){return e.r=this.r+t.r,e.g=this.g+t.g,e.b=this.b+t.b,this},t.prototype.subtract=function(e){return new t(this.r-e.r,this.g-e.g,this.b-e.b)},t.prototype.subtractToRef=function(t,e){return e.r=this.r-t.r,e.g=this.g-t.g,e.b=this.b-t.b,this},t.prototype.clone=function(){return new t(this.r,this.g,this.b)},t.prototype.copyFrom=function(t){return this.r=t.r,this.g=t.g,this.b=t.b,this},t.prototype.copyFromFloats=function(t,e,n){return this.r=t,this.g=e,this.b=n,this},t.prototype.set=function(t,e,n){return this.copyFromFloats(t,e,n)},t.prototype.toHexString=function(){var t=255*this.r|0,e=255*this.g|0,n=255*this.b|0;return\\"#\\"+i.Scalar.ToHex(t)+i.Scalar.ToHex(e)+i.Scalar.ToHex(n)},t.prototype.toLinearSpace=function(){var e=new t;return this.toLinearSpaceToRef(e),e},t.prototype.toLinearSpaceToRef=function(t){return t.r=Math.pow(this.r,o.ToLinearSpace),t.g=Math.pow(this.g,o.ToLinearSpace),t.b=Math.pow(this.b,o.ToLinearSpace),this},t.prototype.toGammaSpace=function(){var e=new t;return this.toGammaSpaceToRef(e),e},t.prototype.toGammaSpaceToRef=function(t){return t.r=Math.pow(this.r,o.ToGammaSpace),t.g=Math.pow(this.g,o.ToGammaSpace),t.b=Math.pow(this.b,o.ToGammaSpace),this},t.prototype.toJSON=function(){return{r:this.r,g:this.g,b:this.b}},t}();e.Color3=s},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Curve3=void 0;var o=n(3),r=function(){function t(t){this._length=0,this._points=t,this._length=this._computeLength(t)}return t.CreateQuadraticBezier=function(e,n,r,i){i=i>2?i:3;for(var s=new Array,a=function(t,e,n,o){return(1-t)*(1-t)*e+2*t*(1-t)*n+t*t*o},p=0;p<=i;p++)s.push(new o.Vector3(a(p/i,e.x,n.x,r.x),a(p/i,e.y,n.y,r.y),a(p/i,e.z,n.z,r.z)));return new t(s)},t.CreateCubicBezier=function(e,n,r,i,s){s=s>3?s:4;for(var a=new Array,p=function(t,e,n,o,r){return(1-t)*(1-t)*(1-t)*e+3*t*(1-t)*(1-t)*n+3*t*t*(1-t)*o+t*t*t*r},u=0;u<=s;u++)a.push(new o.Vector3(p(u/s,e.x,n.x,r.x,i.x),p(u/s,e.y,n.y,r.y,i.y),p(u/s,e.z,n.z,r.z,i.z)));return new t(a)},t.CreateHermiteSpline=function(e,n,r,i,s){for(var a=new Array,p=1/s,u=0;u<=s;u++)a.push(o.Vector3.Hermite(e,n,r,i,u*p));return new t(a)},t.CreateCatmullRomSpline=function(e,n,r){var i=new Array,s=1/n,a=0;if(r){for(var p=e.length,u=0;u<p;u++){a=0;for(var l=0;l<n;l++)i.push(o.Vector3.CatmullRom(e[u%p],e[(u+1)%p],e[(u+2)%p],e[(u+3)%p],a)),a+=s}i.push(i[0])}else{var c=new Array;c.push(e[0].clone()),Array.prototype.push.apply(c,e),c.push(e[e.length-1].clone());u=0;for(u=0;u<c.length-3;u++){a=0;for(l=0;l<n;l++)i.push(o.Vector3.CatmullRom(c[u],c[u+1],c[u+2],c[u+3],a)),a+=s}u--,i.push(o.Vector3.CatmullRom(c[u],c[u+1],c[u+2],c[u+3],a))}return new t(i)},t.prototype.getPoints=function(){return this._points},t.prototype.length=function(){return this._length},t.prototype.continue=function(e){for(var n=this._points[this._points.length-1],o=this._points.slice(),r=e.getPoints(),i=1;i<r.length;i++)o.push(r[i].subtract(r[0]).add(n));return new t(o)},t.prototype._computeLength=function(t){for(var e=0,n=1;n<t.length;n++)e+=t[n].subtract(t[n-1]).length();return e},t}();e.Curve3=r},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Frustum=void 0;var o=n(25),r=function(){function t(){}return t.GetPlanes=function(e){for(var n=[],r=0;r<6;r++)n.push(new o.Plane(0,0,0,0));return t.GetPlanesToRef(e,n),n},t.GetNearPlaneToRef=function(t,e){var n=t.m;e.normal.x=n[3]+n[2],e.normal.y=n[7]+n[6],e.normal.z=n[11]+n[10],e.d=n[15]+n[14],e.normalize()},t.GetFarPlaneToRef=function(t,e){var n=t.m;e.normal.x=n[3]-n[2],e.normal.y=n[7]-n[6],e.normal.z=n[11]-n[10],e.d=n[15]-n[14],e.normalize()},t.GetLeftPlaneToRef=function(t,e){var n=t.m;e.normal.x=n[3]+n[0],e.normal.y=n[7]+n[4],e.normal.z=n[11]+n[8],e.d=n[15]+n[12],e.normalize()},t.GetRightPlaneToRef=function(t,e){var n=t.m;e.normal.x=n[3]-n[0],e.normal.y=n[7]-n[4],e.normal.z=n[11]-n[8],e.d=n[15]-n[12],e.normalize()},t.GetTopPlaneToRef=function(t,e){var n=t.m;e.normal.x=n[3]-n[1],e.normal.y=n[7]-n[5],e.normal.z=n[11]-n[9],e.d=n[15]-n[13],e.normalize()},t.GetBottomPlaneToRef=function(t,e){var n=t.m;e.normal.x=n[3]+n[1],e.normal.y=n[7]+n[5],e.normal.z=n[11]+n[9],e.d=n[15]+n[13],e.normalize()},t.GetPlanesToRef=function(e,n){t.GetNearPlaneToRef(e,n[0]),t.GetFarPlaneToRef(e,n[1]),t.GetLeftPlaneToRef(e,n[2]),t.GetRightPlaneToRef(e,n[3]),t.GetTopPlaneToRef(e,n[4]),t.GetBottomPlaneToRef(e,n[5])},t}();e.Frustum=r},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Path2=void 0;var o=n(15),r=n(23),i=n(2),s=function(){function t(t,e){this.closed=!1,this._points=new Array,this._length=0,this._points.push(new o.Vector2(t,e))}return t.StartingAt=function(e,n){return new t(e,n)},t.prototype.addLineTo=function(t,e){if(this.closed)return this;var n=new o.Vector2(t,e),r=this._points[this._points.length-1];return this._points.push(n),this._length+=n.subtract(r).length(),this},t.prototype.addArcTo=function(t,e,n,s,a){if(void 0===a&&(a=36),this.closed)return this;var p=this._points[this._points.length-1],u=new o.Vector2(t,e),l=new o.Vector2(n,s),c=new r.Arc2(p,u,l),h=c.angle.radians()/a;c.orientation===i.Orientation.CW&&(h*=-1);for(var d=c.startAngle.radians()+h,f=0;f<a;f++){var y=Math.cos(d)*c.radius+c.centerPoint.x,v=Math.sin(d)*c.radius+c.centerPoint.y;this.addLineTo(y,v),d+=h}return this},t.prototype.close=function(){return this.closed=!0,this},t.prototype.length=function(){var t=this._length;if(!this.closed){var e=this._points[this._points.length-1];t+=this._points[0].subtract(e).length()}return t},t.prototype.getPoints=function(){return this._points},t.prototype.getPointAtLengthPosition=function(t){if(t<0||t>1)return o.Vector2.Zero();for(var e=t*this.length(),n=0,r=0;r<this._points.length;r++){var i=(r+1)%this._points.length,s=this._points[r],a=this._points[i].subtract(s),p=a.length()+n;if(e>=n&&e<=p){var u=a.normalize(),l=e-n;return new o.Vector2(s.x+u.x*l,s.y+u.y*l)}n=p}return o.Vector2.Zero()},t}();e.Path2=s},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Path3D=void 0;var o=n(3),r=n(2),i=n(6),s=function(){function t(t,e,n){void 0===e&&(e=null),this.path=t,this._curve=new Array,this._distances=new Array,this._tangents=new Array,this._normals=new Array,this._binormals=new Array;for(var o=0;o<t.length;o++)this._curve[o]=t[o].clone();this._raw=n||!1,this._compute(e)}return t.prototype.getCurve=function(){return this._curve},t.prototype.getTangents=function(){return this._tangents},t.prototype.getNormals=function(){return this._normals},t.prototype.getBinormals=function(){return this._binormals},t.prototype.getDistances=function(){return this._distances},t.prototype.update=function(t,e){void 0===e&&(e=null);for(var n=0;n<t.length;n++)this._curve[n].x=t[n].x,this._curve[n].y=t[n].y,this._curve[n].z=t[n].z;return this._compute(e),this},t.prototype._compute=function(t){var e=this._curve.length;this._tangents[0]=this._getFirstNonNullVector(0),this._raw||this._tangents[0].normalize(),this._tangents[e-1]=this._curve[e-1].subtract(this._curve[e-2]),this._raw||this._tangents[e-1].normalize();var n,r,i,s,a=this._tangents[0],p=this._normalVector(this._curve[0],a,t);this._normals[0]=p,this._raw||this._normals[0].normalize(),this._binormals[0]=o.Vector3.Cross(a,this._normals[0]),this._raw||this._binormals[0].normalize(),this._distances[0]=0;for(var u=1;u<e;u++)n=this._getLastNonNullVector(u),u<e-1&&(r=this._getFirstNonNullVector(u),this._tangents[u]=n.add(r),this._tangents[u].normalize()),this._distances[u]=this._distances[u-1]+n.length(),i=this._tangents[u],s=this._binormals[u-1],this._normals[u]=o.Vector3.Cross(s,i),this._raw||this._normals[u].normalize(),this._binormals[u]=o.Vector3.Cross(i,this._normals[u]),this._raw||this._binormals[u].normalize()},t.prototype._getFirstNonNullVector=function(t){for(var e=1,n=this._curve[t+e].subtract(this._curve[t]);0===n.length()&&t+e+1<this._curve.length;)e++,n=this._curve[t+e].subtract(this._curve[t]);return n},t.prototype._getLastNonNullVector=function(t){for(var e=1,n=this._curve[t].subtract(this._curve[t-e]);0===n.length()&&t>e+1;)e++,n=this._curve[t].subtract(this._curve[t-e]);return n},t.prototype._normalVector=function(t,e,n){var s,a=e.length();if(0===a&&(a=1),null==n){var p=void 0;p=i.Scalar.WithinEpsilon(Math.abs(e.y)/a,1,r.Epsilon)?i.Scalar.WithinEpsilon(Math.abs(e.x)/a,1,r.Epsilon)?i.Scalar.WithinEpsilon(Math.abs(e.z)/a,1,r.Epsilon)?o.Vector3.Zero():new o.Vector3(0,0,1):new o.Vector3(1,0,0):new o.Vector3(0,-1,0),s=o.Vector3.Cross(e,p)}else s=o.Vector3.Cross(e,n),o.Vector3.CrossToRef(s,e,s);return s.normalize(),s},t}();e.Path3D=s},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Size=void 0;var o=function(){function t(t,e){this.width=t,this.height=e}return Object.defineProperty(t.prototype,\\"surface\\",{get:function(){return this.width*this.height},enumerable:!1,configurable:!0}),t.Zero=function(){return new t(0,0)},t.Lerp=function(e,n,o){return new t(e.width+(n.width-e.width)*o,e.height+(n.height-e.height)*o)},t.prototype.toString=function(){return\\"{W: \\"+this.width+\\", H: \\"+this.height+\\"}\\"},t.prototype.getClassName=function(){return\\"Size\\"},t.prototype.getHashCode=function(){var t=this.width||0;return t=397*t^(this.height||0)},t.prototype.copyFrom=function(t){this.width=t.width,this.height=t.height},t.prototype.copyFromFloats=function(t,e){return this.width=t,this.height=e,this},t.prototype.set=function(t,e){return this.copyFromFloats(t,e)},t.prototype.multiplyByFloats=function(e,n){return new t(this.width*e,this.height*n)},t.prototype.clone=function(){return new t(this.width,this.height)},t.prototype.equals=function(t){return!!t&&(this.width===t.width&&this.height===t.height)},t.prototype.add=function(e){return new t(this.width+e.width,this.height+e.height)},t.prototype.subtract=function(e){return new t(this.width-e.width,this.height-e.height)},t}();e.Size=o},function(t,e,n){\\"use strict\\";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.AudioStream=e.AudioSource=e.AudioClip=void 0;var s=n(0),a=n(4),p=function(t){function e(e){var n=t.call(this)||this;return n.loop=!1,n.volume=1,n.url=e,n}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"url\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"loop\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"loadingCompleteEventId\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"volume\\",void 0),e=i([s.DisposableComponent(\\"engine.AudioClip\\",a.CLASS_ID.AUDIO_CLIP)],e)}(s.ObservableComponent);e.AudioClip=p;var u=function(t){function e(e){var n=t.call(this)||this;if(n.audioClip=e,n.loop=!1,n.volume=1,n.playing=!1,n.pitch=1,!(e instanceof p))throw new Error(\\"Trying to create AudioSource(AudioClip) with an invalid AudioClip\\");return n.audioClipId=s.getComponentId(e),n}return r(e,t),e.prototype.playOnce=function(){return this.playing=!0,this.dirty=!0,this.data.nonce=Math.random(),this},i([s.ObservableComponent.readonly],e.prototype,\\"audioClipId\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"loop\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"volume\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"playing\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"pitch\\",void 0),e=i([s.Component(\\"engine.AudioSource\\",a.CLASS_ID.AUDIO_SOURCE)],e)}(s.ObservableComponent);e.AudioSource=u;var l=function(t){function e(e){var n=t.call(this)||this;return n.playing=!1,n.volume=1,n.url=e,n.playing=!0,n}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"url\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"playing\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"volume\\",void 0),e=i([s.Component(\\"engine.AudioStream\\",a.CLASS_ID.AUDIO_STREAM)],e)}(s.ObservableComponent);e.AudioStream=l},function(t,e,n){\\"use strict\\";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.Gizmos=e.OnGizmoEvent=e.Gizmo=void 0;var s=n(0),a=n(4);!function(t){t.MOVE=\\"MOVE\\",t.ROTATE=\\"ROTATE\\",t.SCALE=\\"SCALE\\",t.NONE=\\"NONE\\"}(e.Gizmo||(e.Gizmo={}));var p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\\"gizmoEvent\\",e}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.gizmoEvent\\",a.CLASS_ID.UUID_CALLBACK)],e)}(a.OnUUIDEvent);e.OnGizmoEvent=p;var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.position=!0,e.rotation=!0,e.scale=!0,e.cycle=!0,e.localReference=!1,e}return r(e,t),i([s.ObservableComponent.field],e.prototype,\\"position\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"rotation\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"scale\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"cycle\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"selectedGizmo\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"localReference\\",void 0),e=i([s.Component(\\"engine.gizmos\\",a.CLASS_ID.GIZMOS)],e)}(s.ObservableComponent);e.Gizmos=u},function(t,e,n){\\"use strict\\";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.UIScrollRect=e.UIImage=e.UIInputText=e.UIText=e.UIButton=e.UIContainerStack=e.UIStackOrientation=e.UIContainerRect=e.UICanvas=e.UIWorldSpace=e.UIFullScreen=e.UIShape=void 0;var s=n(0),a=n(4),p=n(5),u=function(t){function e(e){var n=t.call(this)||this;return n.name=null,n.visible=!0,n.opacity=1,n.hAlign=\\"center\\",n.vAlign=\\"center\\",n.width=\\"100px\\",n.height=\\"50px\\",n.positionX=\\"0px\\",n.positionY=\\"0px\\",n.isPointerBlocker=!0,e&&(n._parent=e,n.data.parentComponent=s.getComponentId(e)),n}return r(e,t),Object.defineProperty(e.prototype,\\"parent\\",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\\"parentComponent\\",{get:function(){return this.data.parentComponent},enumerable:!1,configurable:!0}),i([s.ObservableComponent.field],e.prototype,\\"name\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"visible\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"opacity\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"hAlign\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"vAlign\\",void 0),i([s.ObservableComponent.uiValue],e.prototype,\\"width\\",void 0),i([s.ObservableComponent.uiValue],e.prototype,\\"height\\",void 0),i([s.ObservableComponent.uiValue],e.prototype,\\"positionX\\",void 0),i([s.ObservableComponent.uiValue],e.prototype,\\"positionY\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"isPointerBlocker\\",void 0),e}(s.ObservableComponent);e.UIShape=u;var l=function(t){function e(){return t.call(this,null)||this}return r(e,t),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_FULLSCREEN_SHAPE)],e)}(u);e.UIFullScreen=l;var c=function(t){function e(){return t.call(this,null)||this}return r(e,t),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_WORLD_SPACE_SHAPE)],e)}(u);e.UIWorldSpace=c;var h=function(t){function e(){return t.call(this,null)||this}return r(e,t),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_SCREEN_SPACE_SHAPE)],e)}(u);e.UICanvas=h;var d,f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.adaptWidth=!1,e.adaptHeight=!1,e.thickness=0,e.color=p.Color4.Clear(),e.alignmentUsesSize=!0,e}return r(e,t),i([s.ObservableComponent.field],e.prototype,\\"adaptWidth\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"adaptHeight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"thickness\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"color\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"alignmentUsesSize\\",void 0),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_CONTAINER_RECT)],e)}(u);e.UIContainerRect=f,function(t){t[t.VERTICAL=0]=\\"VERTICAL\\",t[t.HORIZONTAL=1]=\\"HORIZONTAL\\"}(d=e.UIStackOrientation||(e.UIStackOrientation={}));var y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.adaptWidth=!0,e.adaptHeight=!0,e.color=p.Color4.Clear(),e.stackOrientation=d.VERTICAL,e.spacing=0,e}return r(e,t),i([s.ObservableComponent.field],e.prototype,\\"adaptWidth\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"adaptHeight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"color\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"stackOrientation\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"spacing\\",void 0),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_CONTAINER_STACK)],e)}(u);e.UIContainerStack=y;var v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.fontSize=10,e.fontWeight=\\"normal\\",e.thickness=0,e.cornerRadius=0,e.color=p.Color4.White(),e.background=p.Color4.White(),e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.paddingLeft=0,e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowColor=p.Color4.Black(),e.text=\\"button\\",e}return r(e,t),i([s.ObservableComponent.field],e.prototype,\\"fontSize\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"fontWeight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"thickness\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"cornerRadius\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"color\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"background\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingTop\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingRight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingBottom\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingLeft\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowBlur\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowOffsetX\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowOffsetY\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"text\\",void 0),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_BUTTON_SHAPE)],e)}(u);e.UIButton=v;var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.outlineWidth=0,e.outlineColor=p.Color4.White(),e.color=p.Color4.White(),e.fontSize=10,e.fontAutoSize=!1,e.fontWeight=\\"normal\\",e.value=\\"\\",e.lineSpacing=0,e.lineCount=0,e.adaptWidth=!1,e.adaptHeight=!1,e.textWrapping=!1,e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowColor=p.Color4.Black(),e.hTextAlign=\\"left\\",e.vTextAlign=\\"bottom\\",e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.paddingLeft=0,e}return r(e,t),i([s.ObservableComponent.field],e.prototype,\\"outlineWidth\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"outlineColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"color\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"fontSize\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"fontAutoSize\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"fontWeight\\",void 0),i([s.ObservableComponent.component],e.prototype,\\"font\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"value\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"lineSpacing\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"lineCount\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"adaptWidth\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"adaptHeight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"textWrapping\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowBlur\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowOffsetX\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowOffsetY\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"hTextAlign\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"vTextAlign\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingTop\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingRight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingBottom\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingLeft\\",void 0),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_TEXT_SHAPE)],e)}(u);e.UIText=m;var b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.outlineWidth=0,e.outlineColor=p.Color4.Black(),e.color=p.Color4.Clear(),e.thickness=1,e.fontSize=10,e.fontWeight=\\"normal\\",e.value=\\"\\",e.placeholderColor=p.Color4.White(),e.placeholder=\\"\\",e.margin=10,e.maxWidth=100,e.hTextAlign=\\"left\\",e.vTextAlign=\\"bottom\\",e.autoStretchWidth=!0,e.background=p.Color4.Black(),e.focusedBackground=p.Color4.Black(),e.textWrapping=!1,e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowColor=p.Color4.White(),e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.paddingLeft=0,e.onTextSubmit=null,e.onChanged=null,e.onFocus=null,e.onBlur=null,e}return r(e,t),i([s.ObservableComponent.field],e.prototype,\\"outlineWidth\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"outlineColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"color\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"thickness\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"fontSize\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"fontWeight\\",void 0),i([s.ObservableComponent.component],e.prototype,\\"font\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"value\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"placeholderColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"placeholder\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"margin\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"maxWidth\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"hTextAlign\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"vTextAlign\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"autoStretchWidth\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"background\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"focusedBackground\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"textWrapping\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowBlur\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowOffsetX\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowOffsetY\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"shadowColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingTop\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingRight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingBottom\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingLeft\\",void 0),i([a.OnUUIDEvent.uuidEvent],e.prototype,\\"onTextSubmit\\",void 0),i([a.OnUUIDEvent.uuidEvent],e.prototype,\\"onChanged\\",void 0),i([a.OnUUIDEvent.uuidEvent],e.prototype,\\"onFocus\\",void 0),i([a.OnUUIDEvent.uuidEvent],e.prototype,\\"onBlur\\",void 0),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_INPUT_TEXT_SHAPE)],e)}(u);e.UIInputText=b;var g=function(t){function e(e,n){var o=t.call(this,e)||this;return o.sourceLeft=0,o.sourceTop=0,o.sourceWidth=1,o.sourceHeight=1,o.paddingTop=0,o.paddingRight=0,o.paddingBottom=0,o.paddingLeft=0,o.sizeInPixels=!0,o.onClick=null,o.source=n,o}return r(e,t),i([s.ObservableComponent.field],e.prototype,\\"sourceLeft\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"sourceTop\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"sourceWidth\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"sourceHeight\\",void 0),i([s.ObservableComponent.component],e.prototype,\\"source\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingTop\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingRight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingBottom\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingLeft\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"sizeInPixels\\",void 0),i([a.OnUUIDEvent.uuidEvent],e.prototype,\\"onClick\\",void 0),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_IMAGE_SHAPE)],e)}(u);e.UIImage=g;var _=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.valueX=0,e.valueY=0,e.borderColor=p.Color4.White(),e.backgroundColor=p.Color4.Clear(),e.isHorizontal=!1,e.isVertical=!1,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.paddingLeft=0,e.onChanged=null,e}return r(e,t),i([s.ObservableComponent.field],e.prototype,\\"valueX\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"valueY\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"borderColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"backgroundColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"isHorizontal\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"isVertical\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingTop\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingRight\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingBottom\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"paddingLeft\\",void 0),i([a.OnUUIDEvent.uuidEvent],e.prototype,\\"onChanged\\",void 0),e=i([s.DisposableComponent(\\"engine.shape\\",a.CLASS_ID.UI_SLIDER_SHAPE)],e)}(u);e.UIScrollRect=_},function(t,e,n){\\"use strict\\";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.AvatarShape=void 0;var s=n(0),a=n(4),p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.useDummyModel=!1,e.talking=!1,e}var n;return r(e,t),n=e,e.Dummy=function(){var t=new n;return t.useDummyModel=!0,t},i([s.ObservableComponent.field],e.prototype,\\"id\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"name\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"expressionTriggerId\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"expressionTriggerTimestamp\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"bodyShape\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"wearables\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"skinColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"hairColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"eyeColor\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"useDummyModel\\",void 0),i([s.ObservableComponent.field],e.prototype,\\"talking\\",void 0),e=n=i([s.Component(\\"engine.avatarShape\\",a.CLASS_ID.AVATAR_SHAPE)],e)}(s.ObservableComponent);e.AvatarShape=p},function(t,e,n){\\"use strict\\";var o,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if(\\"object\\"==typeof Reflect&&\\"function\\"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(i<3?r(s):i>3?r(e,n,s):r(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.OnPointerUp=e.OnPointerDown=e.OnClick=e.OnChanged=e.OnEnter=e.OnBlur=e.OnTextSubmit=e.OnFocus=void 0;var s=n(0),a=n(14),p=n(4),u=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\\"onFocus\\",a.uuidEventSystem.handlerMap[n.uuid]=n,n}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.onFocus\\",p.CLASS_ID.UUID_CALLBACK)],e)}(p.OnUUIDEvent);e.OnFocus=u;var l=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\\"onTextSubmit\\",a.uuidEventSystem.handlerMap[n.uuid]=n,n}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.onTextSubmit\\",p.CLASS_ID.UUID_CALLBACK)],e)}(p.OnUUIDEvent);e.OnTextSubmit=l;var c=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\\"onBlur\\",a.uuidEventSystem.handlerMap[n.uuid]=n,n}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.onBlur\\",p.CLASS_ID.UUID_CALLBACK)],e)}(p.OnUUIDEvent);e.OnBlur=c;var h=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\\"onEnter\\",a.uuidEventSystem.handlerMap[n.uuid]=n,n}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.onEnter\\",p.CLASS_ID.UUID_CALLBACK)],e)}(p.OnUUIDEvent);e.OnEnter=h;var d=function(t){function e(e){var n=t.call(this,e)||this;return n.type=\\"onChange\\",a.uuidEventSystem.handlerMap[n.uuid]=n,n}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.onChange\\",p.CLASS_ID.UUID_CALLBACK)],e)}(p.OnUUIDEvent);e.OnChanged=d;var f=function(t){function e(e,n){var o=t.call(this,e)||this;return o.type=\\"onClick\\",a.uuidEventSystem.handlerMap[o.uuid]=o,n&&(o.showFeedback=!(!1===n.showFeedback),n.button&&(o.button=n.button),n.hoverText&&(o.hoverText=n.hoverText),n.distance&&(o.distance=n.distance)),o}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.onClick\\",p.CLASS_ID.UUID_CALLBACK)],e)}(p.OnPointerUUIDEvent);e.OnClick=f;var y=function(t){function e(e,n){var o=t.call(this,e)||this;return o.type=\\"pointerDown\\",a.uuidEventSystem.handlerMap[o.uuid]=o,n&&(o.showFeedback=!(!1===n.showFeedback),n.button&&(o.button=n.button),n.hoverText&&(o.hoverText=n.hoverText),n.distance&&(o.distance=n.distance)),o}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.pointerDown\\",p.CLASS_ID.UUID_CALLBACK)],e)}(p.OnPointerUUIDEvent);e.OnPointerDown=y;var v=function(t){function e(e,n){var o=t.call(this,e)||this;return o.type=\\"pointerUp\\",a.uuidEventSystem.handlerMap[o.uuid]=o,n&&(o.showFeedback=!(!1===n.showFeedback),n.button&&(o.button=n.button),n.hoverText&&(o.hoverText=n.hoverText),n.distance&&(o.distance=n.distance)),o}return r(e,t),i([s.ObservableComponent.readonly],e.prototype,\\"type\\",void 0),e=i([s.Component(\\"engine.pointerUp\\",p.CLASS_ID.UUID_CALLBACK)],e)}(p.OnPointerUUIDEvent);e.OnPointerUp=v},function(t,e,n){\\"use strict\\";Object.defineProperty(e,\\"__esModule\\",{value:!0}),e.MessageBus=e.getMessageObserver=void 0;var o=n(20),r=n(1),i=null,s=null,a=null;function p(){return a||(a=new o.Observable),a}e.getMessageObserver=p;var u=function(){function t(){var t=this;this.messageQueue=[],this.connected=!1,this.flushing=!1,function(){if(!s){(s=dcl.loadModule(\\"@decentraland/CommunicationsController\\")).then((function(t){i=t}));var t=p();dcl.subscribe(\\"comms\\"),dcl.onEvent((function(e){\\"comms\\"===e.type&&t.notifyObservers(e.data)}))}return s}().then((function(e){t.connected=!0,t.flush()}))}return t.prototype.on=function(t,e){return p().add((function(n){try{var o=JSON.parse(n.message);o.message===t&&e(o.payload,n.sender)}catch(n){dcl.error(\\"Error parsing comms message \\"+n.message,n)}}))},t.prototype.sendRaw=function(t){this.messageQueue.push(t),this.connected&&this.flush()},t.prototype.emit=function(t,e){var n=JSON.stringify({message:t,payload:e});this.sendRaw(n),p().notifyObservers({message:n,sender:\\"self\\"})},t.prototype.flush=function(){var t=this;if(0!==this.messageQueue.length&&this.connected&&i&&!this.flushing){var e=this.messageQueue.shift();this.flushing=!0,dcl.callRpc(i.rpcHandle,\\"send\\",[e]).then((function(e){t.flushing=!1,t.flush()}),(function(e){t.flushing=!1,r.error(\\"Error flushing MessageBus\\",e)}))}},t}();e.MessageBus=u}]));\\n\\n//# sourceURL=webpack:///./node_modules/decentraland-ecs/dist/src/index.js?");/***/},/***/"./node_modules/events/events.js":/*!***************************************!*\\\n  !*** ./node_modules/events/events.js ***!\n  \\***************************************/ /*! no static exports found */ /***/function(module,exports,__webpack_require__){"use strict";eval("// Copyright Joyent, Inc. and other Node contributors.\\n//\\n// Permission is hereby granted, free of charge, to any person obtaining a\\n// copy of this software and associated documentation files (the\\n// \\"Software\\"), to deal in the Software without restriction, including\\n// without limitation the rights to use, copy, modify, merge, publish,\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\n// persons to whom the Software is furnished to do so, subject to the\\n// following conditions:\\n//\\n// The above copyright notice and this permission notice shall be included\\n// in all copies or substantial portions of the Software.\\n//\\n// THE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\n\\n\\n\\nvar R = typeof Reflect === \'object\' ? Reflect : null\\nvar ReflectApply = R && typeof R.apply === \'function\'\\n  ? R.apply\\n  : function ReflectApply(target, receiver, args) {\\n    return Function.prototype.apply.call(target, receiver, args);\\n  }\\n\\nvar ReflectOwnKeys\\nif (R && typeof R.ownKeys === \'function\') {\\n  ReflectOwnKeys = R.ownKeys\\n} else if (Object.getOwnPropertySymbols) {\\n  ReflectOwnKeys = function ReflectOwnKeys(target) {\\n    return Object.getOwnPropertyNames(target)\\n      .concat(Object.getOwnPropertySymbols(target));\\n  };\\n} else {\\n  ReflectOwnKeys = function ReflectOwnKeys(target) {\\n    return Object.getOwnPropertyNames(target);\\n  };\\n}\\n\\nfunction ProcessEmitWarning(warning) {\\n  if (console && console.warn) console.warn(warning);\\n}\\n\\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\\n  return value !== value;\\n}\\n\\nfunction EventEmitter() {\\n  EventEmitter.init.call(this);\\n}\\nmodule.exports = EventEmitter;\\nmodule.exports.once = once;\\n\\n// Backwards-compat with node 0.10.x\\nEventEmitter.EventEmitter = EventEmitter;\\n\\nEventEmitter.prototype._events = undefined;\\nEventEmitter.prototype._eventsCount = 0;\\nEventEmitter.prototype._maxListeners = undefined;\\n\\n// By default EventEmitters will print a warning if more than 10 listeners are\\n// added to it. This is a useful default which helps finding memory leaks.\\nvar defaultMaxListeners = 10;\\n\\nfunction checkListener(listener) {\\n  if (typeof listener !== \'function\') {\\n    throw new TypeError(\'The \\"listener\\" argument must be of type Function. Received type \' + typeof listener);\\n  }\\n}\\n\\nObject.defineProperty(EventEmitter, \'defaultMaxListeners\', {\\n  enumerable: true,\\n  get: function() {\\n    return defaultMaxListeners;\\n  },\\n  set: function(arg) {\\n    if (typeof arg !== \'number\' || arg < 0 || NumberIsNaN(arg)) {\\n      throw new RangeError(\'The value of \\"defaultMaxListeners\\" is out of range. It must be a non-negative number. Received \' + arg + \'.\');\\n    }\\n    defaultMaxListeners = arg;\\n  }\\n});\\n\\nEventEmitter.init = function() {\\n\\n  if (this._events === undefined ||\\n      this._events === Object.getPrototypeOf(this)._events) {\\n    this._events = Object.create(null);\\n    this._eventsCount = 0;\\n  }\\n\\n  this._maxListeners = this._maxListeners || undefined;\\n};\\n\\n// Obviously not all Emitters should be limited to 10. This function allows\\n// that to be increased. Set to zero for unlimited.\\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\\n  if (typeof n !== \'number\' || n < 0 || NumberIsNaN(n)) {\\n    throw new RangeError(\'The value of \\"n\\" is out of range. It must be a non-negative number. Received \' + n + \'.\');\\n  }\\n  this._maxListeners = n;\\n  return this;\\n};\\n\\nfunction _getMaxListeners(that) {\\n  if (that._maxListeners === undefined)\\n    return EventEmitter.defaultMaxListeners;\\n  return that._maxListeners;\\n}\\n\\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\\n  return _getMaxListeners(this);\\n};\\n\\nEventEmitter.prototype.emit = function emit(type) {\\n  var args = [];\\n  for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\\n  var doError = (type === \'error\');\\n\\n  var events = this._events;\\n  if (events !== undefined)\\n    doError = (doError && events.error === undefined);\\n  else if (!doError)\\n    return false;\\n\\n  // If there is no \'error\' event listener then throw.\\n  if (doError) {\\n    var er;\\n    if (args.length > 0)\\n      er = args[0];\\n    if (er instanceof Error) {\\n      // Note: The comments on the `throw` lines are intentional, they show\\n      // up in Node\'s output if this results in an unhandled exception.\\n      throw er; // Unhandled \'error\' event\\n    }\\n    // At least give some kind of context to the user\\n    var err = new Error(\'Unhandled error.\' + (er ? \' (\' + er.message + \')\' : \'\'));\\n    err.context = er;\\n    throw err; // Unhandled \'error\' event\\n  }\\n\\n  var handler = events[type];\\n\\n  if (handler === undefined)\\n    return false;\\n\\n  if (typeof handler === \'function\') {\\n    ReflectApply(handler, this, args);\\n  } else {\\n    var len = handler.length;\\n    var listeners = arrayClone(handler, len);\\n    for (var i = 0; i < len; ++i)\\n      ReflectApply(listeners[i], this, args);\\n  }\\n\\n  return true;\\n};\\n\\nfunction _addListener(target, type, listener, prepend) {\\n  var m;\\n  var events;\\n  var existing;\\n\\n  checkListener(listener);\\n\\n  events = target._events;\\n  if (events === undefined) {\\n    events = target._events = Object.create(null);\\n    target._eventsCount = 0;\\n  } else {\\n    // To avoid recursion in the case that type === \\"newListener\\"! Before\\n    // adding it to the listeners, first emit \\"newListener\\".\\n    if (events.newListener !== undefined) {\\n      target.emit(\'newListener\', type,\\n                  listener.listener ? listener.listener : listener);\\n\\n      // Re-assign `events` because a newListener handler could have caused the\\n      // this._events to be assigned to a new object\\n      events = target._events;\\n    }\\n    existing = events[type];\\n  }\\n\\n  if (existing === undefined) {\\n    // Optimize the case of one listener. Don\'t need the extra array object.\\n    existing = events[type] = listener;\\n    ++target._eventsCount;\\n  } else {\\n    if (typeof existing === \'function\') {\\n      // Adding the second element, need to change to array.\\n      existing = events[type] =\\n        prepend ? [listener, existing] : [existing, listener];\\n      // If we\'ve already got an array, just append.\\n    } else if (prepend) {\\n      existing.unshift(listener);\\n    } else {\\n      existing.push(listener);\\n    }\\n\\n    // Check for listener leak\\n    m = _getMaxListeners(target);\\n    if (m > 0 && existing.length > m && !existing.warned) {\\n      existing.warned = true;\\n      // No error code for this since it is a Warning\\n      // eslint-disable-next-line no-restricted-syntax\\n      var w = new Error(\'Possible EventEmitter memory leak detected. \' +\\n                          existing.length + \' \' + String(type) + \' listeners \' +\\n                          \'added. Use emitter.setMaxListeners() to \' +\\n                          \'increase limit\');\\n      w.name = \'MaxListenersExceededWarning\';\\n      w.emitter = target;\\n      w.type = type;\\n      w.count = existing.length;\\n      ProcessEmitWarning(w);\\n    }\\n  }\\n\\n  return target;\\n}\\n\\nEventEmitter.prototype.addListener = function addListener(type, listener) {\\n  return _addListener(this, type, listener, false);\\n};\\n\\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\\n\\nEventEmitter.prototype.prependListener =\\n    function prependListener(type, listener) {\\n      return _addListener(this, type, listener, true);\\n    };\\n\\nfunction onceWrapper() {\\n  if (!this.fired) {\\n    this.target.removeListener(this.type, this.wrapFn);\\n    this.fired = true;\\n    if (arguments.length === 0)\\n      return this.listener.call(this.target);\\n    return this.listener.apply(this.target, arguments);\\n  }\\n}\\n\\nfunction _onceWrap(target, type, listener) {\\n  var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\\n  var wrapped = onceWrapper.bind(state);\\n  wrapped.listener = listener;\\n  state.wrapFn = wrapped;\\n  return wrapped;\\n}\\n\\nEventEmitter.prototype.once = function once(type, listener) {\\n  checkListener(listener);\\n  this.on(type, _onceWrap(this, type, listener));\\n  return this;\\n};\\n\\nEventEmitter.prototype.prependOnceListener =\\n    function prependOnceListener(type, listener) {\\n      checkListener(listener);\\n      this.prependListener(type, _onceWrap(this, type, listener));\\n      return this;\\n    };\\n\\n// Emits a \'removeListener\' event if and only if the listener was removed.\\nEventEmitter.prototype.removeListener =\\n    function removeListener(type, listener) {\\n      var list, events, position, i, originalListener;\\n\\n      checkListener(listener);\\n\\n      events = this._events;\\n      if (events === undefined)\\n        return this;\\n\\n      list = events[type];\\n      if (list === undefined)\\n        return this;\\n\\n      if (list === listener || list.listener === listener) {\\n        if (--this._eventsCount === 0)\\n          this._events = Object.create(null);\\n        else {\\n          delete events[type];\\n          if (events.removeListener)\\n            this.emit(\'removeListener\', type, list.listener || listener);\\n        }\\n      } else if (typeof list !== \'function\') {\\n        position = -1;\\n\\n        for (i = list.length - 1; i >= 0; i--) {\\n          if (list[i] === listener || list[i].listener === listener) {\\n            originalListener = list[i].listener;\\n            position = i;\\n            break;\\n          }\\n        }\\n\\n        if (position < 0)\\n          return this;\\n\\n        if (position === 0)\\n          list.shift();\\n        else {\\n          spliceOne(list, position);\\n        }\\n\\n        if (list.length === 1)\\n          events[type] = list[0];\\n\\n        if (events.removeListener !== undefined)\\n          this.emit(\'removeListener\', type, originalListener || listener);\\n      }\\n\\n      return this;\\n    };\\n\\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\\n\\nEventEmitter.prototype.removeAllListeners =\\n    function removeAllListeners(type) {\\n      var listeners, events, i;\\n\\n      events = this._events;\\n      if (events === undefined)\\n        return this;\\n\\n      // not listening for removeListener, no need to emit\\n      if (events.removeListener === undefined) {\\n        if (arguments.length === 0) {\\n          this._events = Object.create(null);\\n          this._eventsCount = 0;\\n        } else if (events[type] !== undefined) {\\n          if (--this._eventsCount === 0)\\n            this._events = Object.create(null);\\n          else\\n            delete events[type];\\n        }\\n        return this;\\n      }\\n\\n      // emit removeListener for all listeners on all events\\n      if (arguments.length === 0) {\\n        var keys = Object.keys(events);\\n        var key;\\n        for (i = 0; i < keys.length; ++i) {\\n          key = keys[i];\\n          if (key === \'removeListener\') continue;\\n          this.removeAllListeners(key);\\n        }\\n        this.removeAllListeners(\'removeListener\');\\n        this._events = Object.create(null);\\n        this._eventsCount = 0;\\n        return this;\\n      }\\n\\n      listeners = events[type];\\n\\n      if (typeof listeners === \'function\') {\\n        this.removeListener(type, listeners);\\n      } else if (listeners !== undefined) {\\n        // LIFO order\\n        for (i = listeners.length - 1; i >= 0; i--) {\\n          this.removeListener(type, listeners[i]);\\n        }\\n      }\\n\\n      return this;\\n    };\\n\\nfunction _listeners(target, type, unwrap) {\\n  var events = target._events;\\n\\n  if (events === undefined)\\n    return [];\\n\\n  var evlistener = events[type];\\n  if (evlistener === undefined)\\n    return [];\\n\\n  if (typeof evlistener === \'function\')\\n    return unwrap ? [evlistener.listener || evlistener] : [evlistener];\\n\\n  return unwrap ?\\n    unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\\n}\\n\\nEventEmitter.prototype.listeners = function listeners(type) {\\n  return _listeners(this, type, true);\\n};\\n\\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\\n  return _listeners(this, type, false);\\n};\\n\\nEventEmitter.listenerCount = function(emitter, type) {\\n  if (typeof emitter.listenerCount === \'function\') {\\n    return emitter.listenerCount(type);\\n  } else {\\n    return listenerCount.call(emitter, type);\\n  }\\n};\\n\\nEventEmitter.prototype.listenerCount = listenerCount;\\nfunction listenerCount(type) {\\n  var events = this._events;\\n\\n  if (events !== undefined) {\\n    var evlistener = events[type];\\n\\n    if (typeof evlistener === \'function\') {\\n      return 1;\\n    } else if (evlistener !== undefined) {\\n      return evlistener.length;\\n    }\\n  }\\n\\n  return 0;\\n}\\n\\nEventEmitter.prototype.eventNames = function eventNames() {\\n  return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\\n};\\n\\nfunction arrayClone(arr, n) {\\n  var copy = new Array(n);\\n  for (var i = 0; i < n; ++i)\\n    copy[i] = arr[i];\\n  return copy;\\n}\\n\\nfunction spliceOne(list, index) {\\n  for (; index + 1 < list.length; index++)\\n    list[index] = list[index + 1];\\n  list.pop();\\n}\\n\\nfunction unwrapListeners(arr) {\\n  var ret = new Array(arr.length);\\n  for (var i = 0; i < ret.length; ++i) {\\n    ret[i] = arr[i].listener || arr[i];\\n  }\\n  return ret;\\n}\\n\\nfunction once(emitter, name) {\\n  return new Promise(function (resolve, reject) {\\n    function errorListener(err) {\\n      emitter.removeListener(name, resolver);\\n      reject(err);\\n    }\\n\\n    function resolver() {\\n      if (typeof emitter.removeListener === \'function\') {\\n        emitter.removeListener(\'error\', errorListener);\\n      }\\n      resolve([].slice.call(arguments));\\n    };\\n\\n    eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\\n    if (name !== \'error\') {\\n      addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\\n    }\\n  });\\n}\\n\\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\\n  if (typeof emitter.on === \'function\') {\\n    eventTargetAgnosticAddListener(emitter, \'error\', handler, flags);\\n  }\\n}\\n\\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\\n  if (typeof emitter.on === \'function\') {\\n    if (flags.once) {\\n      emitter.once(name, listener);\\n    } else {\\n      emitter.on(name, listener);\\n    }\\n  } else if (typeof emitter.addEventListener === \'function\') {\\n    // EventTarget does not have `error` event semantics like Node\\n    // EventEmitters, we do not listen for `error` events here.\\n    emitter.addEventListener(name, function wrapListener(arg) {\\n      // IE does not have builtin `{ once: true }` support so we\\n      // have to do it manually.\\n      if (flags.once) {\\n        emitter.removeEventListener(name, wrapListener);\\n      }\\n      listener(arg);\\n    });\\n  } else {\\n    throw new TypeError(\'The \\"emitter\\" argument must be of type EventEmitter. Received type \' + typeof emitter);\\n  }\\n}\\n\\n\\n//# sourceURL=webpack:///./node_modules/events/events.js?");/***/},/***/"./node_modules/raw-loader/dist/cjs.js!./src/ecsScene/amd-loader.js.raw":/*!******************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/ecsScene/amd-loader.js.raw ***!\n  \\******************************************************************************/ /*! exports provided: default */ /***/function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\\n/* harmony default export */ __webpack_exports__[\\"default\\"] = (\\"\\\\\\"use strict\\\\\\";const getGlobalThis=function(){if(typeof globalThis!==\\\\\\"undefined\\\\\\")return globalThis;if(typeof self!==\\\\\\"undefined\\\\\\")return self;if(typeof window!==\\\\\\"undefined\\\\\\")return window;if(typeof this!==\\\\\\"undefined\\\\\\")return this;throw new Error(\\\\\\"Unable to locate global `this`\\\\\\")};const globalObject=getGlobalThis();var loader;(function(e){\\\\\\"use strict\\\\\\";const n=1;const t=2;let r=0;let o=[];let l=[];const i={baseUrl:\\\\\\"\\\\\\"};const s={};function f(e){if(typeof e===\\\\\\"object\\\\\\"){for(let n in e){if(e.hasOwnProperty(n)){i[n]=e[n]}}}}e.config=f;function d(e,t,o){let l=null;let i={};let f=null;if(typeof e===\\\\\\"function\\\\\\"){i=e}else if(typeof e===\\\\\\"string\\\\\\"){l=e;if(typeof t===\\\\\\"function\\\\\\"){i=t}else if(t instanceof Array){f=t;i=o}}else if(e instanceof Array){f=e;if(typeof t===\\\\\\"function\\\\\\"){i=t}}f=f||[\\\\\\"require\\\\\\",\\\\\\"exports\\\\\\",\\\\\\"module\\\\\\"];if(l===null){l=`unnamed-module-${r++}`}l=g(l);function d(e){const n=s[l];if(!n)throw new Error(\\\\\\"Could not access registered module \\\\\\"+l);let t=n.exports;t=typeof i===\\\\\\"function\\\\\\"?i.apply(globalObject,e)||t:i;n.exports=t;u(l)}f=(f||[]).map((e=>m(l,e)));if(!s[l]){s[l]={name:l,parent:null,dclamd:n,dependencies:f,handlers:[],exports:{},dependants:new Set}}s[l].dependencies=f;p(f,d,(e=>{if(typeof onerror==\\\\\\"function\\\\\\"){onerror(e)}else{throw e}}),l)}e.define=d;(function(e){e.amd={};e.modules=s})(d=e.define||(e.define={}));function u(e){const n=s[e];if(!n)throw new Error(\\\\\\"Could not access registered module \\\\\\"+e);n.dclamd=t;let r=n.handlers;if(r&&r.length){for(let n=0;n<r.length;n++){r[n](s[e])}}}function c(e,n,t){if(!s[e]){return null}if(e==n||t==50)return[e];const r=s[e].dependencies;for(let o=0,l=r.length;o<l;o++){let l=c(r[o],n,t+1);if(l!==null){l.push(e);return l}}return null}function a(e,n){let t=s[e];if(!t){return false}let r={};for(let e in s){r[e]=false}let o=[];o.push(t);r[e]=true;while(o.length>0){let e=o.shift();let t=e.dependencies;if(t){for(let e=0,l=t.length;e<l;e++){let l=t[e];if(l===n){return true}let i=s[l];if(i&&!r[l]){r[l]=true;o.push(i)}}}}return false}function p(e,t,r,o){let i=new Array(e.length).fill(null);let f=0;let d=false;if(typeof e===\\\\\\"string\\\\\\"){if(s[e]){if(s[e].dclamd===n){throw new Error(`Trying to load ${e} from ${o}. The first module is still loading.`)}return s[e]}throw new Error(e+\\\\\\" has not been defined. Please include it as a dependency in \\\\\\"+o+\\\\\\"\'s define()\\\\\\")}const u=e.length;for(let n=0;n<u;n++){switch(e[n]){case\\\\\\"require\\\\\\":let h=function(e,n,t){return p(e,n,t,o)};h.toUrl=function(e){return b(e,o)};i[n]=h;f++;break;case\\\\\\"exports\\\\\\":if(!s[o]){throw new Error(\\\\\\"Parent module \\\\\\"+o+\\\\\\" not registered yet\\\\\\")}i[n]=s[o].exports;f++;break;case\\\\\\"module\\\\\\":i[n]={id:o,uri:b(o)};f++;break;default:{const p=e[n];const h=a(p,o);const m=()=>{i[n]=s[p].exports;f++;if(f===u&&t){d=true;t(i)}};if(h){const e=c(p,o,0);if(e){e.reverse();e.push(p);l.push(e)}w(p,(()=>{}),r,o);m()}else{w(p,m,r,o)}break}}}if(!d&&f===u&&t){t(i)}}e.require=p;function h(e,n){return function(){return dcl.callRpc(e,n.name,o.slice.call(arguments,0))}}function m(e,n){return e?b(n,e):n}function w(e,t,r,o){if(s[e]){s[e].dependants.add(o);if(s[e].dclamd===n){t&&s[e].handlers.push(t)}else{t&&t(s[e])}return}else{s[e]={name:e,parent:o,dclamd:n,handlers:[t],dependencies:[],dependants:new Set([o]),exports:{}}}if(e.indexOf(\\\\\\"@\\\\\\")===0){let n=s[e].exports;if(typeof dcl.loadModule===\\\\\\"function\\\\\\"){dcl.loadModule(e,n).then((t=>{for(let e in t.methods){const r=t.methods[e];n[r.name]=h(t.rpcHandle,r)}u(e)})).catch((e=>{r(e)}))}else{throw new Error(\\\\\\"Asynchronous modules will not work because loadModule function is not present\\\\\\")}}}if(typeof dcl!==\\\\\\"undefined\\\\\\"){dcl.onStart((()=>{const e=new Set;const t=[];for(let r in s){if(s[r]){if(s[r].dclamd===n){t.push(s[r])}s[r].dependencies.forEach((n=>{if(n==\\\\\\"require\\\\\\"||n==\\\\\\"exports\\\\\\"||n==\\\\\\"module\\\\\\")return;if(!s[n])e.add(n)}))}}const r=[];if(l.length){r.push(`\\\\\\\\n> Cyclic dependencies: ${l.map((e=>\\\\\\"\\\\\\\\n  - \\\\\\"+e.join(\\\\\\" -> \\\\\\"))).join(\\\\\\"\\\\\\")}`)}if(e.size){r.push(`\\\\\\\\n> Undeclared/unknown modules: ${Array.from(e).map((e=>\\\\\\"\\\\\\\\n  - \\\\\\"+e)).join(\\\\\\"\\\\\\")}`)}if(t.length){r.push(`\\\\\\\\n> These modules didn\'t load: ${t.map((e=>\\\\\\"\\\\\\\\n  - \\\\\\"+e.name)).join(\\\\\\"\\\\\\")}.\\\\\\\\n`)}if(r.length){throw new Error(r.join(\\\\\\"\\\\\\\\n\\\\\\"))}}))}function g(e){let n=e,t;t=/\\\\\\\\/\\\\\\\\.\\\\\\\\//;while(t.test(n)){n=n.replace(t,\\\\\\"/\\\\\\")}n=n.replace(/^\\\\\\\\.\\\\\\\\//g,\\\\\\"\\\\\\");t=/\\\\\\\\/(([^\\\\\\\\/])|([^\\\\\\\\/][^\\\\\\\\/\\\\\\\\.])|([^\\\\\\\\/\\\\\\\\.][^\\\\\\\\/])|([^\\\\\\\\/][^\\\\\\\\/][^\\\\\\\\/]+))\\\\\\\\/\\\\\\\\.\\\\\\\\.\\\\\\\\//;while(t.test(n)){n=n.replace(t,\\\\\\"/\\\\\\")}n=n.replace(/^(([^\\\\\\\\/])|([^\\\\\\\\/][^\\\\\\\\/\\\\\\\\.])|([^\\\\\\\\/\\\\\\\\.][^\\\\\\\\/])|([^\\\\\\\\/][^\\\\\\\\/][^\\\\\\\\/]+))\\\\\\\\/\\\\\\\\.\\\\\\\\.\\\\\\\\//,\\\\\\"\\\\\\");n=n.replace(/^\\\\\\\\//g,\\\\\\"\\\\\\");return n}function y(e,n){let t=e;if(!t.startsWith(\\\\\\"@\\\\\\")){if(t.startsWith(\\\\\\"./\\\\\\")||t.startsWith(\\\\\\"../\\\\\\")){const e=n.split(\\\\\\"/\\\\\\");e.pop();t=g(e.join(\\\\\\"/\\\\\\")+\\\\\\"/\\\\\\"+t)}}return t}function b(e,n){switch(e){case\\\\\\"require\\\\\\":case\\\\\\"exports\\\\\\":case\\\\\\"module\\\\\\":return e}if(n){return y(e,n)}return g(e)}p.toUrl=b})(loader||(loader={}));globalObject.define=loader.define;globalObject.dclamd=loader;\\");\\n\\n//# sourceURL=webpack:///./src/ecsScene/amd-loader.js.raw?./node_modules/raw-loader/dist/cjs.js");/***/},/***/"./node_modules/tslib/tslib.es6.js":/*!*****************************************!*\\\n  !*** ./node_modules/tslib/tslib.es6.js ***!\n  \\*****************************************/ /*! exports provided: __extends, __assign, __rest, __decorate, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, default */ /***/function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__extends\\", function() { return __extends; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__assign\\", function() { return __assign; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__rest\\", function() { return __rest; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__decorate\\", function() { return __decorate; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__param\\", function() { return __param; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__esDecorate\\", function() { return __esDecorate; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__runInitializers\\", function() { return __runInitializers; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__propKey\\", function() { return __propKey; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__setFunctionName\\", function() { return __setFunctionName; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__metadata\\", function() { return __metadata; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__awaiter\\", function() { return __awaiter; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__generator\\", function() { return __generator; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__createBinding\\", function() { return __createBinding; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__exportStar\\", function() { return __exportStar; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__values\\", function() { return __values; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__read\\", function() { return __read; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__spread\\", function() { return __spread; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__spreadArrays\\", function() { return __spreadArrays; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__spreadArray\\", function() { return __spreadArray; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__await\\", function() { return __await; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__asyncGenerator\\", function() { return __asyncGenerator; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__asyncDelegator\\", function() { return __asyncDelegator; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__asyncValues\\", function() { return __asyncValues; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__makeTemplateObject\\", function() { return __makeTemplateObject; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__importStar\\", function() { return __importStar; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__importDefault\\", function() { return __importDefault; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__classPrivateFieldGet\\", function() { return __classPrivateFieldGet; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__classPrivateFieldSet\\", function() { return __classPrivateFieldSet; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__classPrivateFieldIn\\", function() { return __classPrivateFieldIn; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__addDisposableResource\\", function() { return __addDisposableResource; });\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\"__disposeResources\\", function() { return __disposeResources; });\\n/******************************************************************************\\r\\nCopyright (c) Microsoft Corporation.\\r\\n\\r\\nPermission to use, copy, modify, and/or distribute this software for any\\r\\npurpose with or without fee is hereby granted.\\r\\n\\r\\nTHE SOFTWARE IS PROVIDED \\"AS IS\\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\\r\\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\\r\\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\\r\\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\\r\\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\\r\\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\\r\\nPERFORMANCE OF THIS SOFTWARE.\\r\\n***************************************************************************** */\\r\\n/* global Reflect, Promise, SuppressedError, Symbol */\\r\\n\\r\\nvar extendStatics = function(d, b) {\\r\\n    extendStatics = Object.setPrototypeOf ||\\r\\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\\r\\n        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\\r\\n    return extendStatics(d, b);\\r\\n};\\r\\n\\r\\nfunction __extends(d, b) {\\r\\n    if (typeof b !== \\"function\\" && b !== null)\\r\\n        throw new TypeError(\\"Class extends value \\" + String(b) + \\" is not a constructor or null\\");\\r\\n    extendStatics(d, b);\\r\\n    function __() { this.constructor = d; }\\r\\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\\r\\n}\\r\\n\\r\\nvar __assign = function() {\\r\\n    __assign = Object.assign || function __assign(t) {\\r\\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\\r\\n            s = arguments[i];\\r\\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\\r\\n        }\\r\\n        return t;\\r\\n    }\\r\\n    return __assign.apply(this, arguments);\\r\\n}\\r\\n\\r\\nfunction __rest(s, e) {\\r\\n    var t = {};\\r\\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\\r\\n        t[p] = s[p];\\r\\n    if (s != null && typeof Object.getOwnPropertySymbols === \\"function\\")\\r\\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\\r\\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\\r\\n                t[p[i]] = s[p[i]];\\r\\n        }\\r\\n    return t;\\r\\n}\\r\\n\\r\\nfunction __decorate(decorators, target, key, desc) {\\r\\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\\r\\n    if (typeof Reflect === \\"object\\" && typeof Reflect.decorate === \\"function\\") r = Reflect.decorate(decorators, target, key, desc);\\r\\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\\r\\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\\r\\n}\\r\\n\\r\\nfunction __param(paramIndex, decorator) {\\r\\n    return function (target, key) { decorator(target, key, paramIndex); }\\r\\n}\\r\\n\\r\\nfunction __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\\r\\n    function accept(f) { if (f !== void 0 && typeof f !== \\"function\\") throw new TypeError(\\"Function expected\\"); return f; }\\r\\n    var kind = contextIn.kind, key = kind === \\"getter\\" ? \\"get\\" : kind === \\"setter\\" ? \\"set\\" : \\"value\\";\\r\\n    var target = !descriptorIn && ctor ? contextIn[\\"static\\"] ? ctor : ctor.prototype : null;\\r\\n    var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\\r\\n    var _, done = false;\\r\\n    for (var i = decorators.length - 1; i >= 0; i--) {\\r\\n        var context = {};\\r\\n        for (var p in contextIn) context[p] = p === \\"access\\" ? {} : contextIn[p];\\r\\n        for (var p in contextIn.access) context.access[p] = contextIn.access[p];\\r\\n        context.addInitializer = function (f) { if (done) throw new TypeError(\\"Cannot add initializers after decoration has completed\\"); extraInitializers.push(accept(f || null)); };\\r\\n        var result = (0, decorators[i])(kind === \\"accessor\\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\\r\\n        if (kind === \\"accessor\\") {\\r\\n            if (result === void 0) continue;\\r\\n            if (result === null || typeof result !== \\"object\\") throw new TypeError(\\"Object expected\\");\\r\\n            if (_ = accept(result.get)) descriptor.get = _;\\r\\n            if (_ = accept(result.set)) descriptor.set = _;\\r\\n            if (_ = accept(result.init)) initializers.unshift(_);\\r\\n        }\\r\\n        else if (_ = accept(result)) {\\r\\n            if (kind === \\"field\\") initializers.unshift(_);\\r\\n            else descriptor[key] = _;\\r\\n        }\\r\\n    }\\r\\n    if (target) Object.defineProperty(target, contextIn.name, descriptor);\\r\\n    done = true;\\r\\n};\\r\\n\\r\\nfunction __runInitializers(thisArg, initializers, value) {\\r\\n    var useValue = arguments.length > 2;\\r\\n    for (var i = 0; i < initializers.length; i++) {\\r\\n        value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\\r\\n    }\\r\\n    return useValue ? value : void 0;\\r\\n};\\r\\n\\r\\nfunction __propKey(x) {\\r\\n    return typeof x === \\"symbol\\" ? x : \\"\\".concat(x);\\r\\n};\\r\\n\\r\\nfunction __setFunctionName(f, name, prefix) {\\r\\n    if (typeof name === \\"symbol\\") name = name.description ? \\"[\\".concat(name.description, \\"]\\") : \\"\\";\\r\\n    return Object.defineProperty(f, \\"name\\", { configurable: true, value: prefix ? \\"\\".concat(prefix, \\" \\", name) : name });\\r\\n};\\r\\n\\r\\nfunction __metadata(metadataKey, metadataValue) {\\r\\n    if (typeof Reflect === \\"object\\" && typeof Reflect.metadata === \\"function\\") return Reflect.metadata(metadataKey, metadataValue);\\r\\n}\\r\\n\\r\\nfunction __awaiter(thisArg, _arguments, P, generator) {\\r\\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\r\\n    return new (P || (P = Promise))(function (resolve, reject) {\\r\\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\r\\n        function rejected(value) { try { step(generator[\\"throw\\"](value)); } catch (e) { reject(e); } }\\r\\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\r\\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\\r\\n    });\\r\\n}\\r\\n\\r\\nfunction __generator(thisArg, body) {\\r\\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\\r\\n    return g = { next: verb(0), \\"throw\\": verb(1), \\"return\\": verb(2) }, typeof Symbol === \\"function\\" && (g[Symbol.iterator] = function() { return this; }), g;\\r\\n    function verb(n) { return function (v) { return step([n, v]); }; }\\r\\n    function step(op) {\\r\\n        if (f) throw new TypeError(\\"Generator is already executing.\\");\\r\\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\\r\\n            if (f = 1, y && (t = op[0] & 2 ? y[\\"return\\"] : op[0] ? y[\\"throw\\"] || ((t = y[\\"return\\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\\r\\n            if (y = 0, t) op = [op[0] & 2, t.value];\\r\\n            switch (op[0]) {\\r\\n                case 0: case 1: t = op; break;\\r\\n                case 4: _.label++; return { value: op[1], done: false };\\r\\n                case 5: _.label++; y = op[1]; op = [0]; continue;\\r\\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\\r\\n                default:\\r\\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\\r\\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\\r\\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\\r\\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\\r\\n                    if (t[2]) _.ops.pop();\\r\\n                    _.trys.pop(); continue;\\r\\n            }\\r\\n            op = body.call(thisArg, _);\\r\\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\\r\\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\\r\\n    }\\r\\n}\\r\\n\\r\\nvar __createBinding = Object.create ? (function(o, m, k, k2) {\\r\\n    if (k2 === undefined) k2 = k;\\r\\n    var desc = Object.getOwnPropertyDescriptor(m, k);\\r\\n    if (!desc || (\\"get\\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\\r\\n        desc = { enumerable: true, get: function() { return m[k]; } };\\r\\n    }\\r\\n    Object.defineProperty(o, k2, desc);\\r\\n}) : (function(o, m, k, k2) {\\r\\n    if (k2 === undefined) k2 = k;\\r\\n    o[k2] = m[k];\\r\\n});\\r\\n\\r\\nfunction __exportStar(m, o) {\\r\\n    for (var p in m) if (p !== \\"default\\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\\r\\n}\\r\\n\\r\\nfunction __values(o) {\\r\\n    var s = typeof Symbol === \\"function\\" && Symbol.iterator, m = s && o[s], i = 0;\\r\\n    if (m) return m.call(o);\\r\\n    if (o && typeof o.length === \\"number\\") return {\\r\\n        next: function () {\\r\\n            if (o && i >= o.length) o = void 0;\\r\\n            return { value: o && o[i++], done: !o };\\r\\n        }\\r\\n    };\\r\\n    throw new TypeError(s ? \\"Object is not iterable.\\" : \\"Symbol.iterator is not defined.\\");\\r\\n}\\r\\n\\r\\nfunction __read(o, n) {\\r\\n    var m = typeof Symbol === \\"function\\" && o[Symbol.iterator];\\r\\n    if (!m) return o;\\r\\n    var i = m.call(o), r, ar = [], e;\\r\\n    try {\\r\\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\\r\\n    }\\r\\n    catch (error) { e = { error: error }; }\\r\\n    finally {\\r\\n        try {\\r\\n            if (r && !r.done && (m = i[\\"return\\"])) m.call(i);\\r\\n        }\\r\\n        finally { if (e) throw e.error; }\\r\\n    }\\r\\n    return ar;\\r\\n}\\r\\n\\r\\n/** @deprecated */\\r\\nfunction __spread() {\\r\\n    for (var ar = [], i = 0; i < arguments.length; i++)\\r\\n        ar = ar.concat(__read(arguments[i]));\\r\\n    return ar;\\r\\n}\\r\\n\\r\\n/** @deprecated */\\r\\nfunction __spreadArrays() {\\r\\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\\r\\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\\r\\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\\r\\n            r[k] = a[j];\\r\\n    return r;\\r\\n}\\r\\n\\r\\nfunction __spreadArray(to, from, pack) {\\r\\n    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\\r\\n        if (ar || !(i in from)) {\\r\\n            if (!ar) ar = Array.prototype.slice.call(from, 0, i);\\r\\n            ar[i] = from[i];\\r\\n        }\\r\\n    }\\r\\n    return to.concat(ar || Array.prototype.slice.call(from));\\r\\n}\\r\\n\\r\\nfunction __await(v) {\\r\\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\\r\\n}\\r\\n\\r\\nfunction __asyncGenerator(thisArg, _arguments, generator) {\\r\\n    if (!Symbol.asyncIterator) throw new TypeError(\\"Symbol.asyncIterator is not defined.\\");\\r\\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\\r\\n    return i = {}, verb(\\"next\\"), verb(\\"throw\\"), verb(\\"return\\"), i[Symbol.asyncIterator] = function () { return this; }, i;\\r\\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\\r\\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\\r\\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\\r\\n    function fulfill(value) { resume(\\"next\\", value); }\\r\\n    function reject(value) { resume(\\"throw\\", value); }\\r\\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\\r\\n}\\r\\n\\r\\nfunction __asyncDelegator(o) {\\r\\n    var i, p;\\r\\n    return i = {}, verb(\\"next\\"), verb(\\"throw\\", function (e) { throw e; }), verb(\\"return\\"), i[Symbol.iterator] = function () { return this; }, i;\\r\\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\\r\\n}\\r\\n\\r\\nfunction __asyncValues(o) {\\r\\n    if (!Symbol.asyncIterator) throw new TypeError(\\"Symbol.asyncIterator is not defined.\\");\\r\\n    var m = o[Symbol.asyncIterator], i;\\r\\n    return m ? m.call(o) : (o = typeof __values === \\"function\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\"next\\"), verb(\\"throw\\"), verb(\\"return\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\r\\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\r\\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\r\\n}\\r\\n\\r\\nfunction __makeTemplateObject(cooked, raw) {\\r\\n    if (Object.defineProperty) { Object.defineProperty(cooked, \\"raw\\", { value: raw }); } else { cooked.raw = raw; }\\r\\n    return cooked;\\r\\n};\\r\\n\\r\\nvar __setModuleDefault = Object.create ? (function(o, v) {\\r\\n    Object.defineProperty(o, \\"default\\", { enumerable: true, value: v });\\r\\n}) : function(o, v) {\\r\\n    o[\\"default\\"] = v;\\r\\n};\\r\\n\\r\\nfunction __importStar(mod) {\\r\\n    if (mod && mod.__esModule) return mod;\\r\\n    var result = {};\\r\\n    if (mod != null) for (var k in mod) if (k !== \\"default\\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\\r\\n    __setModuleDefault(result, mod);\\r\\n    return result;\\r\\n}\\r\\n\\r\\nfunction __importDefault(mod) {\\r\\n    return (mod && mod.__esModule) ? mod : { default: mod };\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldGet(receiver, state, kind, f) {\\r\\n    if (kind === \\"a\\" && !f) throw new TypeError(\\"Private accessor was defined without a getter\\");\\r\\n    if (typeof state === \\"function\\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\\"Cannot read private member from an object whose class did not declare it\\");\\r\\n    return kind === \\"m\\" ? f : kind === \\"a\\" ? f.call(receiver) : f ? f.value : state.get(receiver);\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldSet(receiver, state, value, kind, f) {\\r\\n    if (kind === \\"m\\") throw new TypeError(\\"Private method is not writable\\");\\r\\n    if (kind === \\"a\\" && !f) throw new TypeError(\\"Private accessor was defined without a setter\\");\\r\\n    if (typeof state === \\"function\\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\\"Cannot write private member to an object whose class did not declare it\\");\\r\\n    return (kind === \\"a\\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldIn(state, receiver) {\\r\\n    if (receiver === null || (typeof receiver !== \\"object\\" && typeof receiver !== \\"function\\")) throw new TypeError(\\"Cannot use \'in\' operator on non-object\\");\\r\\n    return typeof state === \\"function\\" ? receiver === state : state.has(receiver);\\r\\n}\\r\\n\\r\\nfunction __addDisposableResource(env, value, async) {\\r\\n    if (value !== null && value !== void 0) {\\r\\n        if (typeof value !== \\"object\\") throw new TypeError(\\"Object expected.\\");\\r\\n        var dispose;\\r\\n        if (async) {\\r\\n            if (!Symbol.asyncDispose) throw new TypeError(\\"Symbol.asyncDispose is not defined.\\");\\r\\n            dispose = value[Symbol.asyncDispose];\\r\\n        }\\r\\n        if (dispose === void 0) {\\r\\n            if (!Symbol.dispose) throw new TypeError(\\"Symbol.dispose is not defined.\\");\\r\\n            dispose = value[Symbol.dispose];\\r\\n        }\\r\\n        if (typeof dispose !== \\"function\\") throw new TypeError(\\"Object not disposable.\\");\\r\\n        env.stack.push({ value: value, dispose: dispose, async: async });\\r\\n    }\\r\\n    else if (async) {\\r\\n        env.stack.push({ async: true });\\r\\n    }\\r\\n    return value;\\r\\n}\\r\\n\\r\\nvar _SuppressedError = typeof SuppressedError === \\"function\\" ? SuppressedError : function (error, suppressed, message) {\\r\\n    var e = new Error(message);\\r\\n    return e.name = \\"SuppressedError\\", e.error = error, e.suppressed = suppressed, e;\\r\\n};\\r\\n\\r\\nfunction __disposeResources(env) {\\r\\n    function fail(e) {\\r\\n        env.error = env.hasError ? new _SuppressedError(e, env.error, \\"An error was suppressed during disposal.\\") : e;\\r\\n        env.hasError = true;\\r\\n    }\\r\\n    function next() {\\r\\n        while (env.stack.length) {\\r\\n            var rec = env.stack.pop();\\r\\n            try {\\r\\n                var result = rec.dispose && rec.dispose.call(rec.value);\\r\\n                if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\\r\\n            }\\r\\n            catch (e) {\\r\\n                fail(e);\\r\\n            }\\r\\n        }\\r\\n        if (env.hasError) throw env.error;\\r\\n    }\\r\\n    return next();\\r\\n}\\r\\n\\r\\n/* harmony default export */ __webpack_exports__[\\"default\\"] = ({\\r\\n    __extends,\\r\\n    __assign,\\r\\n    __rest,\\r\\n    __decorate,\\r\\n    __param,\\r\\n    __metadata,\\r\\n    __awaiter,\\r\\n    __generator,\\r\\n    __createBinding,\\r\\n    __exportStar,\\r\\n    __values,\\r\\n    __read,\\r\\n    __spread,\\r\\n    __spreadArrays,\\r\\n    __spreadArray,\\r\\n    __await,\\r\\n    __asyncGenerator,\\r\\n    __asyncDelegator,\\r\\n    __asyncValues,\\r\\n    __makeTemplateObject,\\r\\n    __importStar,\\r\\n    __importDefault,\\r\\n    __classPrivateFieldGet,\\r\\n    __classPrivateFieldSet,\\r\\n    __classPrivateFieldIn,\\r\\n    __addDisposableResource,\\r\\n    __disposeResources,\\r\\n});\\r\\n\\n\\n//# sourceURL=webpack:///./node_modules/tslib/tslib.es6.js?");/***/},/***/"./src/ecsScene/scene.ts":/*!*******************************!*\\\n  !*** ./src/ecsScene/scene.ts ***!\n  \\*******************************/ /*! no static exports found */ /***/function(module,exports,__webpack_require__){"use strict";eval("\\nexports.__esModule = true;\\nexports.Script = exports.StaticEntity = void 0;\\nvar tslib_1 = __webpack_require__(/*! tslib */ \\"./node_modules/tslib/tslib.es6.js\\");\\nvar events_1 = __webpack_require__(/*! events */ \\"./node_modules/events/events.js\\");\\nvar decentraland_ecs_1 = __webpack_require__(/*! decentraland-ecs */ \\"./node_modules/decentraland-ecs/dist/src/index.js\\");\\nvar ECS = tslib_1.__importStar(__webpack_require__(/*! decentraland-ecs */ \\"./node_modules/decentraland-ecs/dist/src/index.js\\"));\\nvar channel_1 = __webpack_require__(/*! decentraland-builder-scripts/channel */ \\"./node_modules/decentraland-builder-scripts/channel.ts\\");\\nvar inventory_1 = __webpack_require__(/*! decentraland-builder-scripts/inventory */ \\"./node_modules/decentraland-builder-scripts/inventory.ts\\");\\nvar types_1 = __webpack_require__(/*! modules/scene/types */ \\"./src/modules/scene/types.ts\\");\\nvar _a = __webpack_require__(/*! decentraland-ecs */ \\"./node_modules/decentraland-ecs/dist/src/index.js\\"), Gizmos = _a.Gizmos, SmartItem = _a.SmartItem;\\nvar inventory = (0, inventory_1.createInventory)(ECS.UICanvas, ECS.UIContainerStack, ECS.UIImage);\\nvar MockMessageBus = /** @class */ (function () {\\n    function MockMessageBus() {\\n    }\\n    MockMessageBus.prototype.on = function (message, callback) {\\n        MockMessageBus.emitter.on(message, callback);\\n    };\\n    MockMessageBus.prototype.emit = function (message, payload) {\\n        MockMessageBus.emitter.emit(message, payload);\\n    };\\n    MockMessageBus.emitter = new events_1.EventEmitter();\\n    return MockMessageBus;\\n}());\\nMockMessageBus.emitter.setMaxListeners(1000);\\neval(__webpack_require__(/*! raw-loader!./amd-loader.js.raw */ \\"./node_modules/raw-loader/dist/cjs.js!./src/ecsScene/amd-loader.js.raw\\")[\\"default\\"]);\\neval(\\"self.provide = function(name, value) { self[name] = value }\\");\\neval(\\"self.load = function(id) { return new Promise(resolve => define(\'load\', [id + \'/item\'], item => resolve(item.default))) }\\");\\nObject.keys(ECS).forEach(function (key) { return provide(key, ECS[key]); });\\nprovide(\'MessageBus\', MockMessageBus);\\n// END DRAGONS\\nvar scriptBaseUrl = null;\\nvar scriptPromises = new Map();\\nvar scriptInstances = new Map();\\n/*\\nAfter the migration of the assets table to use UUIDs and remove duplicates, we recreated all the assets\' ids, and the legacy one was stored as a new property.\\nThis property is needed to load the AMD modules, since they have been namespaced with the old asset id, and has been uploaded to S3 (so the DB migration did not update them).\\n*/\\nvar legacyIds = new Map();\\nvar StaticEntity = /** @class */ (function () {\\n    // @ts-ignore\\n    function StaticEntity() {\\n    }\\n    StaticEntity = tslib_1.__decorate([\\n        (0, decentraland_ecs_1.Component)(\'org.decentraland.staticEntity\')\\n        // @ts-ignore\\n    ], StaticEntity);\\n    return StaticEntity;\\n}());\\nexports.StaticEntity = StaticEntity;\\nvar Script = /** @class */ (function () {\\n    function Script(assetId, src, values) {\\n        this.assetId = assetId;\\n        this.src = src;\\n        this.values = values;\\n    }\\n    Script = tslib_1.__decorate([\\n        (0, decentraland_ecs_1.Component)(\'org.decentraland.script\')\\n        // @ts-ignore\\n    ], Script);\\n    return Script;\\n}());\\nexports.Script = Script;\\nvar editorComponents = {};\\nvar staticEntity = new StaticEntity();\\nvar gizmo = new Gizmos();\\ngizmo.position = true;\\ngizmo.rotation = true;\\ngizmo.scale = true;\\ngizmo.cycle = false;\\nvar smartItemComponent = new SmartItem();\\nfunction getComponentById(id) {\\n    if (id in editorComponents) {\\n        return editorComponents[id];\\n    }\\n    return null;\\n}\\nfunction getScriptInstance(assetId) {\\n    var instance = scriptInstances.get(assetId);\\n    return instance\\n        ? Promise.resolve(instance)\\n        : scriptPromises\\n            .get(assetId)\\n            .then(function (code) { return eval(code); })\\n            .then(\\n        // if this asset has a legacy id, use that one instead to load the AMD module\\n        function () { return load(legacyIds.get(assetId) || assetId); })\\n            .then(function (Item) {\\n            var instance = new Item();\\n            scriptInstances.set(assetId, instance);\\n            return instance;\\n        })[\\"catch\\"](function (error) {\\n            console.error(error.message);\\n            // if something fails, return a dummy script\\n            console.warn(\\"Failed to load script for asset id \\".concat(assetId));\\n            return {\\n                init: function () { },\\n                spawn: function () { }\\n            };\\n        });\\n}\\nfunction handleExternalAction(message) {\\n    return tslib_1.__awaiter(this, void 0, void 0, function () {\\n        var _a, url, scene, components, entities, id, scriptGroup, assetIds, scripts, _loop_1, entityId, entityId, entity, staticEntities, componentId, entityId;\\n        return tslib_1.__generator(this, function (_b) {\\n            switch (_b.label) {\\n                case 0:\\n                    _a = message.type;\\n                    switch (_a) {\\n                        case \'Set script url\': return [3 /*break*/, 1];\\n                        case \'Update editor\': return [3 /*break*/, 2];\\n                        case \'Toggle preview\': return [3 /*break*/, 3];\\n                        case \'Close editor\': return [3 /*break*/, 7];\\n                    }\\n                    return [3 /*break*/, 8];\\n                case 1:\\n                    {\\n                        url = message.payload.url;\\n                        scriptBaseUrl = url;\\n                        return [3 /*break*/, 8];\\n                    }\\n                    _b.label = 2;\\n                case 2:\\n                    {\\n                        scene = message.payload.scene;\\n                        components = scene.components, entities = scene.entities;\\n                        for (id in components) {\\n                            createComponent(components[id], scene);\\n                            updateComponent(components[id]);\\n                        }\\n                        createEntities(entities);\\n                        removeUnusedEntities(entities);\\n                        removeUnusedComponents(components);\\n                        return [3 /*break*/, 8];\\n                    }\\n                    _b.label = 3;\\n                case 3:\\n                    if (!message.payload.isEnabled) return [3 /*break*/, 5];\\n                    scriptGroup = decentraland_ecs_1.engine.getComponentGroup(Script);\\n                    assetIds = scriptGroup.entities.reduce(function (ids, entity) {\\n                        var script = entity.getComponent(Script);\\n                        return ids.add(script.assetId);\\n                    }, new Set());\\n                    return [4 /*yield*/, Promise.all(Array.from(assetIds).map(getScriptInstance))];\\n                case 4:\\n                    scripts = _b.sent();\\n                    scripts.forEach(function (script) { return script.init({ inventory: inventory }); });\\n                    _loop_1 = function (entityId) {\\n                        var entity = decentraland_ecs_1.engine.entities[entityId];\\n                        // remove gizmos\\n                        if (entity.hasComponent(gizmo)) {\\n                            entity.removeComponent(gizmo);\\n                        }\\n                        // if entity has script...\\n                        if (scriptGroup.hasEntity(entity)) {\\n                            // ...remove the placeholder\\n                            entity.removeComponent(decentraland_ecs_1.GLTFShape);\\n                            // ...create the host entity\\n                            var transform = entity.getComponent(decentraland_ecs_1.Transform);\\n                            var hostTransform = new decentraland_ecs_1.Transform();\\n                            hostTransform.position.copyFrom(transform.position);\\n                            hostTransform.rotation.copyFrom(transform.rotation);\\n                            hostTransform.scale.copyFrom(transform.scale);\\n                            var name_1 = entity.name; // TODO fix this on the kernel\'s side\\n                            var placeholder = Object.values(decentraland_ecs_1.engine.entities).find(function (entity) { return entity.name === name_1; });\\n                            if (placeholder) {\\n                                decentraland_ecs_1.engine.removeEntity(placeholder);\\n                            }\\n                            var host = new decentraland_ecs_1.Entity(name_1);\\n                            decentraland_ecs_1.engine.addEntity(host);\\n                            host.addComponent(hostTransform);\\n                            // ...and execute the script on the host entity\\n                            var _c = entity.getComponent(Script), assetId = _c.assetId, values = _c.values;\\n                            var script = scriptInstances.get(assetId);\\n                            var channel = (0, channel_1.createChannel)(\'channel-id\', host, new MockMessageBus());\\n                            script.spawn(host, values, channel);\\n                        }\\n                    };\\n                    for (entityId in decentraland_ecs_1.engine.entities) {\\n                        _loop_1(entityId);\\n                    }\\n                    return [3 /*break*/, 6];\\n                case 5:\\n                    for (entityId in decentraland_ecs_1.engine.entities) {\\n                        entity = decentraland_ecs_1.engine.entities[entityId];\\n                        staticEntities = decentraland_ecs_1.engine.getComponentGroup(StaticEntity);\\n                        if (!staticEntities.hasEntity(entity)) {\\n                            entity.addComponentOrReplace(gizmo);\\n                        }\\n                    }\\n                    _b.label = 6;\\n                case 6: return [3 /*break*/, 8];\\n                case 7:\\n                    {\\n                        for (componentId in editorComponents) {\\n                            removeComponent(componentId);\\n                        }\\n                        for (entityId in decentraland_ecs_1.engine.entities) {\\n                            decentraland_ecs_1.engine.removeEntity(decentraland_ecs_1.engine.entities[entityId]);\\n                        }\\n                        return [3 /*break*/, 8];\\n                    }\\n                    _b.label = 8;\\n                case 8: return [2 /*return*/];\\n            }\\n        });\\n    });\\n}\\nfunction createComponent(component, scene) {\\n    var id = component.id, type = component.type, data = component.data;\\n    if (!getComponentById(id)) {\\n        switch (type) {\\n            case types_1.ComponentType.GLTFShape: {\\n                var assetId = data.assetId;\\n                var asset = scene.assets[assetId];\\n                var url = \\"\\".concat(assetId, \\"/\\").concat(asset.model);\\n                editorComponents[id] = new decentraland_ecs_1.GLTFShape(url);\\n                editorComponents[id].isPickable = true;\\n                break;\\n            }\\n            case types_1.ComponentType.Transform:\\n                editorComponents[id] = new decentraland_ecs_1.Transform();\\n                break;\\n            case types_1.ComponentType.NFTShape:\\n                editorComponents[id] = new decentraland_ecs_1.NFTShape(data.url);\\n                editorComponents[id].isPickable = true;\\n                break;\\n            case types_1.ComponentType.Script: {\\n                var _a = data, assetId = _a.assetId, values = _a.values;\\n                var asset = scene.assets[assetId];\\n                var src = asset.contents[asset.script];\\n                editorComponents[id] = new Script(assetId, src, values);\\n                if (!scriptPromises.has(assetId)) {\\n                    var url = scriptBaseUrl + src;\\n                    var promise = fetch(url).then(function (resp) { return resp.text(); });\\n                    scriptPromises.set(assetId, promise);\\n                    // store the legacy id so we can retrieve it when loading the AMD module\\n                    if (asset.legacyId) {\\n                        legacyIds.set(assetId, asset.legacyId);\\n                    }\\n                }\\n                break;\\n            }\\n        }\\n    }\\n}\\nfunction updateComponent(component) {\\n    var id = component.id, type = component.type, data = component.data;\\n    if (type === types_1.ComponentType.Transform) {\\n        var transform = editorComponents[id];\\n        var transformData = data;\\n        transform.position.copyFrom(transformData.position);\\n        transform.rotation.set(transformData.rotation.x, transformData.rotation.y, transformData.rotation.z, transformData.rotation.w);\\n        transform.scale.copyFrom(transformData.scale);\\n        transform.data[\'nonce\'] = Math.random();\\n        transform.dirty = true;\\n    }\\n    else if (type === types_1.ComponentType.Script) {\\n        var script = editorComponents[id];\\n        var scriptData = data;\\n        script.values = tslib_1.__assign({}, scriptData.values);\\n    }\\n}\\nfunction createEntities(entities) {\\n    var e_1, _a;\\n    for (var id in entities) {\\n        var builderEntity = entities[id];\\n        var entity = decentraland_ecs_1.engine.entities[id];\\n        if (!entity) {\\n            entity = new decentraland_ecs_1.Entity(builderEntity.name);\\n            entity.uuid = id;\\n            if (!builderEntity.disableGizmos) {\\n                entity.addComponentOrReplace(gizmo);\\n            }\\n            else {\\n                entity.addComponentOrReplace(staticEntity);\\n            }\\n            decentraland_ecs_1.engine.addEntity(entity);\\n        }\\n        try {\\n            for (var _b = (e_1 = void 0, tslib_1.__values(builderEntity.components)), _c = _b.next(); !_c.done; _c = _b.next()) {\\n                var componentId = _c.value;\\n                var component = getComponentById(componentId);\\n                if (component) {\\n                    entity.addComponentOrReplace(component);\\n                    if (component instanceof Script) {\\n                        entity.addComponentOrReplace(smartItemComponent);\\n                    }\\n                }\\n            }\\n        }\\n        catch (e_1_1) { e_1 = { error: e_1_1 }; }\\n        finally {\\n            try {\\n                if (_c && !_c.done && (_a = _b[\\"return\\"])) _a.call(_b);\\n            }\\n            finally { if (e_1) throw e_1.error; }\\n        }\\n    }\\n}\\nfunction removeUnusedComponents(components) {\\n    for (var componentId in editorComponents) {\\n        var inScene = componentId in components;\\n        if (!inScene) {\\n            removeComponent(componentId);\\n        }\\n    }\\n}\\nfunction removeComponent(componentId) {\\n    var originalComponent = editorComponents[componentId];\\n    if (!originalComponent)\\n        return;\\n    try {\\n        decentraland_ecs_1.engine.disposeComponent(originalComponent);\\n    }\\n    catch (e) {\\n        // stub, non-disposable components fall here\\n    }\\n    for (var entityId in decentraland_ecs_1.engine.entities) {\\n        var entity = decentraland_ecs_1.engine.entities[entityId];\\n        if (entity.hasComponent(originalComponent)) {\\n            entity.removeComponent(originalComponent);\\n        }\\n    }\\n    delete editorComponents[componentId];\\n}\\nfunction removeUnusedEntities(entities) {\\n    for (var entityId in decentraland_ecs_1.engine.entities) {\\n        var inScene = entityId in entities;\\n        if (!inScene) {\\n            decentraland_ecs_1.engine.removeEntity(decentraland_ecs_1.engine.entities[entityId]);\\n        }\\n    }\\n}\\nfunction subscribeToExternalActions() {\\n    dcl.subscribe(\'externalAction\');\\n    dcl.onEvent(function (e) {\\n        if (e.type === \'externalAction\') {\\n            handleExternalAction(e.data);\\n        }\\n    });\\n}\\nsubscribeToExternalActions();\\n\\n\\n//# sourceURL=webpack:///./src/ecsScene/scene.ts?");/***/},/***/"./src/modules/scene/types.ts":/*!************************************!*\\\n  !*** ./src/modules/scene/types.ts ***!\n  \\************************************/ /*! no static exports found */ /***/function(module,exports,__webpack_require__){"use strict";eval("\\nexports.__esModule = true;\\nexports.SDKVersion = exports.ComponentType = void 0;\\nvar ComponentType;\\n(function (ComponentType) {\\n    ComponentType[\\"GLTFShape\\"] = \\"GLTFShape\\";\\n    ComponentType[\\"Transform\\"] = \\"Transform\\";\\n    ComponentType[\\"NFTShape\\"] = \\"NFTShape\\";\\n    ComponentType[\\"Script\\"] = \\"Script\\";\\n})(ComponentType = exports.ComponentType || (exports.ComponentType = {}));\\nvar SDKVersion;\\n(function (SDKVersion) {\\n    SDKVersion[\\"SDK6\\"] = \\"sdk6\\";\\n    SDKVersion[\\"SDK7\\"] = \\"sdk7\\";\\n})(SDKVersion = exports.SDKVersion || (exports.SDKVersion = {}));\\n\\n\\n//# sourceURL=webpack:///./src/modules/scene/types.ts?");/***/}/******/}));});'},3046:function(e,t,n){var o={"./bg-BG.json":3047,"./ca-ES.json":3048,"./cs-CZ.json":3049,"./de-DE.json":3050,"./el-GR.json":3051,"./en-US.json":1667,"./es-ES.json":3052,"./et-EE.json":3053,"./fi-FI.json":3054,"./fr-FR.json":3055,"./he-IL.json":3056,"./it-IT.json":3057,"./ja-JP.json":3058,"./ko-KR.json":3059,"./nb-NO.json":3060,"./nl-NL.json":3061,"./nn-NO.json":3062,"./pl-PL.json":3063,"./pt-BR.json":3064,"./ro-RO.json":3065,"./ru-RU.json":3066,"./sk-SK.json":3067,"./sv-SE.json":3068,"./tr-TR.json":3069,"./zh-CN.json":3070};function a(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}a.keys=function(){return Object.keys(o)},a.resolve=i,e.exports=a,a.id=3046},306:function(e,t,n){"use strict";function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(!n)return i(e);const o=new URL(window.location.href),a=o.searchParams,r=[];for(const[i,s]of Object.entries(t)){const e=i in n?n[i]:a.get(s);switch(typeof e){case"string":r.push(`${s}=${e}`);break;case"number":Number.isFinite(e)||r.push(`${s}=${e}`)}}return i(e,r.join("&"))}function a(e,t){if(!t)return i(e);const n=[];return t.page&&n.push(`page=${t.page}`),t.sortBy&&(n.push(`sort_by=${t.sortBy}`),t.sortOrder&&n.push(`sort_order=${t.sortOrder}`)),i(e,n.join("&"))}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t){const n=e.indexOf("?");-1===n?e+="?"+t:n===e.length-1?e+=t:e+="&"+t}return e}function r(e,t){return void 0===e||null===e?t:e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e?("string"===typeof e&&(e=Number(e)),Number.isNaN(e)?t:Math.max(t,e)):t}function c(e,t,n){return t.includes(e)?e:n}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desc";return["desc","asc"].includes(e||"")?e:t}async function d(e){return new Promise(((t,n)=>{const o=document.createElement("script");o.src=e,o.type="text/javascript",o.async=!0,document.body.appendChild(o),o.onload=()=>t(),o.onerror=()=>n(`Error loading the script: ${e}`)}))}n.d(t,"f",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"g",(function(){return d}))},3134:function(e,t){},32:function(e,t,n){"use strict";n.d(t,"p",(function(){return i})),n.d(t,"q",(function(){return r})),n.d(t,"o",(function(){return s})),n.d(t,"nb",(function(){return c})),n.d(t,"ob",(function(){return l})),n.d(t,"mb",(function(){return d})),n.d(t,"v",(function(){return u})),n.d(t,"w",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"qb",(function(){return b})),n.d(t,"rb",(function(){return h})),n.d(t,"pb",(function(){return f})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return _})),n.d(t,"r",(function(){return g})),n.d(t,"kb",(function(){return j})),n.d(t,"lb",(function(){return O})),n.d(t,"jb",(function(){return v})),n.d(t,"j",(function(){return C})),n.d(t,"k",(function(){return x})),n.d(t,"i",(function(){return w})),n.d(t,"eb",(function(){return E})),n.d(t,"fb",(function(){return S})),n.d(t,"db",(function(){return A})),n.d(t,"m",(function(){return T})),n.d(t,"n",(function(){return R})),n.d(t,"l",(function(){return k})),n.d(t,"hb",(function(){return N})),n.d(t,"ib",(function(){return P})),n.d(t,"gb",(function(){return I})),n.d(t,"I",(function(){return L})),n.d(t,"J",(function(){return M})),n.d(t,"H",(function(){return D})),n.d(t,"Db",(function(){return F})),n.d(t,"Eb",(function(){return U})),n.d(t,"Cb",(function(){return B})),n.d(t,"L",(function(){return z})),n.d(t,"M",(function(){return H})),n.d(t,"K",(function(){return W})),n.d(t,"a",(function(){return G})),n.d(t,"b",(function(){return Y})),n.d(t,"Gb",(function(){return Q})),n.d(t,"Hb",(function(){return V})),n.d(t,"Fb",(function(){return q})),n.d(t,"V",(function(){return X})),n.d(t,"W",(function(){return $})),n.d(t,"T",(function(){return K})),n.d(t,"U",(function(){return Z})),n.d(t,"S",(function(){return J})),n.d(t,"Ob",(function(){return ee})),n.d(t,"Pb",(function(){return te})),n.d(t,"Nb",(function(){return ne})),n.d(t,"d",(function(){return oe})),n.d(t,"e",(function(){return ae})),n.d(t,"c",(function(){return ie})),n.d(t,"Y",(function(){return re})),n.d(t,"Z",(function(){return se})),n.d(t,"X",(function(){return ce})),n.d(t,"N",(function(){return le})),n.d(t,"Ib",(function(){return de})),n.d(t,"R",(function(){return ue})),n.d(t,"Jb",(function(){return pe})),n.d(t,"P",(function(){return me})),n.d(t,"Q",(function(){return be})),n.d(t,"O",(function(){return he})),n.d(t,"Lb",(function(){return fe})),n.d(t,"Mb",(function(){return ye})),n.d(t,"Kb",(function(){return _e})),n.d(t,"y",(function(){return ge})),n.d(t,"z",(function(){return je})),n.d(t,"x",(function(){return Oe})),n.d(t,"tb",(function(){return ve})),n.d(t,"ub",(function(){return Ce})),n.d(t,"sb",(function(){return xe})),n.d(t,"C",(function(){return we})),n.d(t,"D",(function(){return Ee})),n.d(t,"A",(function(){return Se})),n.d(t,"B",(function(){return Ae})),n.d(t,"xb",(function(){return Te})),n.d(t,"vb",(function(){return Re})),n.d(t,"yb",(function(){return ke})),n.d(t,"wb",(function(){return Ne})),n.d(t,"F",(function(){return Pe})),n.d(t,"G",(function(){return Ie})),n.d(t,"E",(function(){return Le})),n.d(t,"Ab",(function(){return Me})),n.d(t,"Bb",(function(){return De})),n.d(t,"zb",(function(){return Fe})),n.d(t,"g",(function(){return Ue})),n.d(t,"h",(function(){return Be})),n.d(t,"f",(function(){return ze})),n.d(t,"bb",(function(){return He})),n.d(t,"cb",(function(){return We})),n.d(t,"ab",(function(){return Ge}));var o=n(11),a=n(124);const i="[Request] Fetch Items",r="[Success] Fetch Items",s="[Failure] Fetch Items",c=(e,t)=>Object(o.action)(i,{address:e,params:t}),l=(e,t,n)=>Object(o.action)(r,{items:e,paginationStats:t,paginationIndex:n}),d=e=>Object(o.action)(s,{error:e}),u="[Request] Fetch Orphan Item",p="[Success] Fetch Orphan Item",m="[Failure] Fetch Orphan Item",b=e=>Object(o.action)(u,{address:e}),h=e=>Object(o.action)(p,{hasUserOrphanItems:e}),f=e=>Object(o.action)(m,{error:e}),y="[Request] Fetch Item",_="[Success] Fetch Item",g="[Failure] Fetch Item",j=e=>Object(o.action)(y,{id:e}),O=(e,t)=>Object(o.action)(_,{id:e,item:t}),v=(e,t)=>Object(o.action)(g,{id:e,error:t}),C="[Request] Fetch Collection Items",x="[Success] Fetch Collection Items",w="[Failure] Fetch Collection Items",E=function(e){let{page:t,limit:n,status:a,synced:i,overridePaginationData:r=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o.action)(C,{collectionId:e,overridePaginationData:r,options:{limit:n,status:a,synced:i,page:t}})},S=(e,t,n)=>Object(o.action)(x,{items:t,paginationIndex:e,paginationStats:n}),A=(e,t)=>Object(o.action)(w,{collectionId:e,error:t}),T="[Request] Fetch Collection Thumbnails",R="[Success] Fetch Collection Thumbnails",k="[Failure] Fetch Collection Thumbnails",N=e=>Object(o.action)(T,{collectionId:e}),P=(e,t)=>Object(o.action)(R,{collectionId:e,items:t}),I=(e,t)=>Object(o.action)(k,{collectionId:e,error:t}),L="[Request] Save Item",M="[Success] Save Item",D="[Failure] Save Item",F=(e,t)=>Object(o.action)(L,{item:e,contents:t}),U=(e,t)=>Object(o.action)(M,{item:e,contents:t}),B=(e,t,n)=>Object(o.action)(D,{item:e,contents:t,error:n}),z="[Request] Save Multiple Items",H="[Success] Save Multiple Items",W="[Cancelled] Save Multiple Items",G="[Cancel] Save Multiple Items",Y="[Clear] Save Multiple Items",Q=e=>Object(o.action)(z,{builtFiles:e}),V=(e,t,n)=>Object(o.action)(H,{items:e,savedFileNames:t,notSavedFileNames:n}),q=(e,t,n,a)=>Object(o.action)(W,{items:e,savedFileNames:t,notSavedFileNames:n,cancelledFileNames:a}),X=()=>Object(o.action)(G),$=()=>Object(o.action)(Y),K="[Request] Set price and beneficiary",Z="[Success] Set price and beneficiary",J="[Failure] Set price and beneficiary",ee=(e,t,n)=>Object(o.action)(K,{itemId:e,price:t,beneficiary:n}),te=(e,t,n)=>Object(o.action)(Z,{item:e,...Object(a.buildTransactionPayload)(t,n,{item:e})}),ne=(e,t,n,a)=>Object(o.action)(J,{itemId:e,price:t,beneficiary:n,error:a}),oe="[Request] Delete Item",ae="[Success] Delete Item",ie="[Failure] Delete Item",re=e=>Object(o.action)(oe,{item:e}),se=e=>Object(o.action)(ae,{item:e}),ce=(e,t)=>Object(o.action)(ie,{item:e,error:t}),le="Set Collection",de=(e,t)=>Object(o.action)(le,{item:e,collectionId:t}),ue="Set Item Collection",pe=(e,t)=>Object(o.action)(ue,{item:e,collectionId:t}),me="[Request] Set Items Token Id",be="[Success] Set Items Token Id",he="[Failure] Set Items Token Id",fe=(e,t)=>Object(o.action)(me,{collection:e,items:t}),ye=e=>Object(o.action)(be,{items:e}),_e=(e,t,n,a)=>Object(o.action)(he,{collection:e,items:t,error:n,errorCode:a}),ge="[Request] Fetch Rarities",je="[Success] Fetch Rarities",Oe="[Failure] Fetch Rarities",ve=()=>Object(o.action)(ge),Ce=e=>Object(o.action)(je,{rarities:e}),xe=e=>Object(o.action)(Oe,{error:e}),we="[Request] Rescue items",Ee="[Success] Rescue items",Se="[Chunk] Rescue items",Ae="[Failure] Rescue items",Te=(e,t,n)=>Object(o.action)(we,{collection:e,items:t,contentHashes:n}),Re=(e,t,n,i,r)=>Object(o.action)(Se,{collection:e,contentHashes:n,txHash:r,items:t,...Object(a.buildTransactionPayload)(i,r,{count:t.length,collectionId:e.id,collectionName:e.name})}),ke=(e,t,n,a,i)=>Object(o.action)(Ee,{collection:e,items:t,contentHashes:n,txHashes:i,chainId:a}),Ne=(e,t,n,a)=>Object(o.action)(Ae,{collection:e,items:t,contentHashes:n,error:a}),Pe="[Request] Reset item",Ie="[Success] Reset item",Le="[Failure] Reset item",Me=e=>Object(o.action)(Pe,{itemId:e}),De=e=>Object(o.action)(Ie,{itemId:e}),Fe=(e,t)=>Object(o.action)(Le,{itemId:e,error:t}),Ue="[Request] Download item",Be="[Success] Download item",ze="[Failure] Download item",He=e=>Object(o.action)(Ue,{itemId:e}),We=e=>Object(o.action)(Be,{itemId:e}),Ge=(e,t)=>Object(o.action)(ze,{itemId:e,error:t})},326:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var o=n(4),a=n(80);const i=function(e,t){let{initializer:n,cancellable:a}=e;for(var i=arguments.length,r=new Array(i>2?i-2:0),s=2;s<i;s++)r[s-2]=arguments[s];return Object(o.fork)((function*(){let e;for(;;){const i=yield Object(o.take)([n,a]);e&&(yield Object(o.cancel)(e)),i.type===n&&(e=yield Object(o.fork)(t,...r.concat(i)))}}))},r=()=>{const e="production"===a.a.get("ENVIRONMENT")?["peer-ec2.decentraland.org","peer-wc1.decentraland.org","peer-eu1.decentraland.org","peer-ec1.decentraland.org","interconnected.online","peer.decentral.io","peer.kyllian.me","peer.uadevops.com"]:["peer.decentraland.zone","peer-ue-2.decentraland.zone","peer-ap1.decentraland.zone"];return e[Math.floor(Math.random()*e.length)]},s={attempts:3,delay:1500}},328:function(e,t,n){e.exports={modalSubtitle:"CreateItemsModal_modalSubtitle__1TO9m",modalButtons:"CreateItemsModal_modalButtons__3Ssaf",itemSelectionButton:"CreateItemsModal_itemSelectionButton__35oEC",info:"CreateItemsModal_info__1VcTL",icon:"CreateItemsModal_icon__2knl9",sparkles:"CreateItemsModal_sparkles__3hRgW",sparkle:"CreateItemsModal_sparkle__29CF9",name:"CreateItemsModal_name__E8sWL",description:"CreateItemsModal_description__bI2Sm"}},329:function(e,t,n){"use strict";var o=n(30),a=n(298),i=n(136),r=n(491),s=n(41),c=n(2),l=n.n(c),d=n(194),u=n(124),p=n(42),m=n(1084),b=n(290),h=n(0);const f=e=>{const{onClickMyAssets:t,onClickSettings:n,onSignIn:o,...a}=e;return Object(h.jsx)(d.UserInformation,{...a,onClickMyAssets:t,onClickSettings:n,onSignIn:o})};var y=l.a.memo(f);var _=Object(o.connect)((e=>({isSignedIn:Object(p.isConnected)(e),isSigningIn:Object(p.isConnecting)(e),hasActivity:Object(b.getTransactions)(e).some((e=>Object(u.isPending)(e.status)))})),(e=>({onClickActivity:()=>e(Object(a.e)(s.a.activity())),onClickSettings:()=>e(Object(a.e)(s.a.settings())),onSignIn:()=>e(Object(m.b)())})))(y),g=n(106),j=n(105);var O=Object(o.connect)((e=>({isSignedIn:Object(p.isConnected)(e),isSigningIn:Object(p.isConnecting)(e),isActivity:Object(g.d)(e).pathname===s.a.activity(),hasActivity:Object(b.getTransactions)(e).some((e=>Object(u.isPending)(e.status)))})),(e=>({onClickActivity:()=>e(Object(a.e)(s.a.activity())),onClickSettings:()=>e(Object(a.e)(s.a.settings())),onSignOut:()=>e(Object(j.p)())})))(d.UserMenu);class v extends c.PureComponent{render(){let e=this.props;return e.isConnected&&(e={...e,rightMenu:Object(h.jsx)(O,{})}),e.isNewNavbarEnabled&&(e={...e,rightMenu:Object(h.jsx)(_,{})}),Object(h.jsx)(d.Navbar,{activePage:"builder",...e})}}var C=Object(o.connect)((e=>({isConnected:Object(i.d)(e),isNewNavbarEnabled:Object(r.d)(e)})),(e=>({onSignIn:()=>e(Object(a.e)(s.a.signIn()))})),((e,t,n)=>({...e,...t,...n})))(v);t.a=C},330:function(e,t,n){"use strict";var o=n(2),a=n(194),i=n(639);const r=Object.keys(i);var s=n(0);class c extends o.PureComponent{render(){return Object(s.jsx)(a.Footer,{locales:r,...this.props})}}t.a=c},3368:function(e){e.exports=JSON.parse('{"atlas":{"locate_land":"Locate next LAND","zoom_in":"Zoom in","zoom_out":"Zoom out"},"authorization_modal":{"title":"Authorize {token}","description":"In order to continue you will need to authorize the {contract} contract to operate {token} tokens on your behalf. This only has to be done once.","authorize":"Authorize the {contract_link} contract to operate {symbol} on your behalf","pending_tx":"Transaction pending, click the spinner to go to your activity for a detailed status"},"add_existing_item_modal":{"title":"Add Existing Item","subtitle":"Select an item that is not part of a collection yet"},"move_item_to_collection_modal":{"title":"Move Item to Collection","subtitle":"Select the collection that you want to move the item to","confirm":"Move"},"move_item_to_another_collection_modal":{"title":"Move to another collection","subtitle":"Select the collection you want to move the item to","confirm":"Confirm","cancel":"Cancel"},"asset_pack":{"confirm_delete":{"action":"Delete Asset Pack","back":"Go Back","description":"You are about to delete this Asset Pack. This action cannot be undone.","title":"Are you sure?"},"default_name":"My Asset Pack","default_name_suffix":"My Asset Pack ({suffix})","edit_asset":{"action":"Continue","action_skip":"Skip review","category":{"label":"category"},"description_create":"Review your assets, add tags and more","description_edit":"Review your assets, add tags and more","errors":{"max_name_length":"Asset names can only be up to {count} characters long","min_name_length":"Asset names must be at least {count} characters long","tag_count":"You can only specify a maximum of {count} tags"},"ground":{"label":"use as ground"},"name":{"label":"name","placeholder":"Asset Name"},"tags":{"label":"tags","placeholder":"e.g. (outdoors furniture floor)"},"title_create":"Create Asset Pack","title_edit":"Edit Asset Pack"},"edit_assetpack":{"action_add_items":"Add Assets","action_create":"Create Asset Pack","action_delete":"Delete Asset Pack","action_edit":"Save Asset Pack","description_create":"Awesome! Enter a unique name for your Asset Pack.","description_edit":"Enter a unique name for your Asset Pack. Click on an Asset to edit it.","errors":{"max_title_length":"Asset Pack titles can only be up to {count} characters long","min_title_length":"Asset Pack titles must be at least {count} characters long","thumbnail_size":"Image file size must be less than {size}"},"items":{"empty":"This Asset Pack is empty","label":"{count} {count, plural, one {Asset} other {Assets}}"},"name":{"label":"name","placeholder":"My new Asset Pack"},"reset":"Add new Assets","title_edit":"Edit Asset Pack"},"exit":{"action":"Exit","back":"Go Back","description_create":"You are about to exit the Asset Pack creation, do you want to proceed?","description_edit":"You are about to exit the Asset Pack update, do you want to proceed?","title_create":"Are you sure?","title_edit":"Are you sure?"},"import":{"action":"Import asset","action_many":"Import {count} assets","cta":"Drag and drop your asset file here ({accepted_extensions}),{enter}or {action}","upload_manually":"browse for it on your computer","description_create":"Start by adding some assets to your pack","description_edit":"Add some more items to your pack","loaded":"Item imported successfully","errors":{"duplicated":"Duplicated Asset","duplicated_asset":"{name}: There\'s already an asset in this asset pack called \\"{existingAsset}\\" that has the id \\"{id}\\", please change the id of \\"{newAsset}\\" to a different one","invalid":"Invalid Asset","max_file_size":"{name}: File size exceeds {max}mb limit","missing_extension":"{name}: Missing file extension","missing_model":"{name}: Missing 3D model (.gltf or .glb)","scene_file":"{name}: Exported scenes are not allowed"},"title_create":"Create Asset Pack","title_edit":"Edit Asset Pack"},"new_asset_pack":"New Asset Pack","progress":{"creating_asset_pack":"Creating Asset Pack","updating_asset_pack":"Updating Asset Pack","uploading_contents":"Uploading Asset Pack contents"},"success":{"continue":"Keep working","description":"Your Asset Pack was successfully uploaded. Check out the Asset Packs list to start using it. ","title":"All done!"},"title_create":"Create Asset Pack"},"banners":{"promo_subtitle":"Custom Asset Packs now available in Decentraland!","promo_title":"Personalise your world","top_banner_action":"Learn more.","top_banner_left":"September 16-30 - Intense online creation with over $250k USD in prizes to share.","top_banner_right":" "},"body_shapes":{"both":"Both","male":"Male","female":"Female","null":"None"},"item_types":{"wearable":"Wearable","smart_wearable":"Smart Wearable"},"emotes":{"idle":"Idle","clap":"Clap","dab":"Dab","dance":"Dance","fashion":"Try On","fashion-2":"Chic","fashion-3":"Fashionista","fashion-4":"Spotlight","money":"Money","love":"Love","head-explode":"Head Explode","fist-pump":"Fist Pump"},"create_collection_modal":{"title":"New Collection","subtitle":"Enter a descriptive name for your new collection","label":"Collection Name","placeholder":"My collection","message":"The name can be {maxLength} characters max","error_name_already_in_use":"Name already in use. Try a different one"},"create_third_party_collection_modal":{"title":"New Linked Wearables Collection","subtitle":"Enter a descriptive name for your new collection","third_party":{"label":"Third Party"},"name_field":{"label":"Name","message":"The name can be {maxLength} characters at most"},"urn_suffix_field":{"label":"Id","message":"We recommend including the collection contract address as part of the id. Only letters, numbers and dashes (-) are allowed"}},"model_metrics":{"triangles":"{count} {count, plural, one {triangle} other {triangles}}","materials":"{count} {count, plural, one {material} other {materials}}","textures":"{count} {count, plural, one {texture} other {textures}}","sequences":"{count} {count, plural, one {sequence} other {sequences}}","duration":"{count} {count, plural, one {second} other {seconds}}","frames":"{count} {count, plural, one {frame} other {frames}}","fps":"{count} fps","sound":"Audio clip"},"claim_ens_page":{"title":"Claim a unique Name","subtitle":"Unique names can be assigned to your avatar for use as an alias, or they can be assigned to parcels.{br} Assigning a name to a parcel or estate allows you to create a unique URL, like {exampleLink}, making it easy to send people to your LAND. When someone follows your new URL, they will be redirected to your LAND in {dclWorldLink}{br} Names are only available in Ethereum, and can only be claimed with Ethereum MANA {symbol}","world":"Decentraland!","name_label":"Name","name_message":"Names may not exceed 15 characters, contain spaces, or include any non-alphanumeric characters.","name_placeholder":"Your name goes here","repeated_message":"This name is not available.","error_message":"There is a network error, please try again","radio_label":"MANA approved","claim_button":"Claim ","need_mana_message":"Authorize the {contract_link} contract to operate MANA on your behalf","mana_not_allowed":"You need to authorize enough MANA to claim a new name","not_enough_mana":"You don\'t have enough MANA to claim a new name"},"create_single_item_modal":{"title":"New Item","thumbnail_step_title":"Edit Thumbnail","upload_video_step_title":"Upload a Video for your Smart Wearable","title_emote":"Fill Out Emote Details","add_representation":"Add {bodyShape} Representation","wrong_thumbnail_format":"The provided thumbnail is not a PNG image","name_label":"Enter a name for your item","category_label":"What\'s the category of this item?","category_placeholder":"Select a category","play_mode_label":"Play mode","play_mode_placeholder":"Select a play mode","upload_video_label":"Show users a preview of how to use this item","upload_video_placeholder":"Select a video","rarity_label":"What\'s this item\'s rarity?","rarity_placeholder":"Select a rarity","representation_label":"Select the body shape for your item","existing_item":"Is this part of an existing item?","pick_item":"Pick an item that doesn\'t have a {bodyShape}","adding_representation":"This will be added as {bodyShape} for the following item","change_item_file":"Edit representation","import_information":"For more information about uploading Wearables or Emotes {link}","import_information_link_label":"click here","upload_video_information":"Maximum file size {max_size} - Maximum duration {max_duration} seconds","error":{"item_too_big":"The entire item is too big to be uploaded. The max size for all files is {size}.","file_too_big":"{title}.{enter}File size limit is {size}. Reduce the size of the file and try again.","file_too_big_title":"The file is too large and can\'t be uploaded","thumbnail_file_too_big":"The thumbnail file is too big to be uploaded. The max size is {size}.","wrong_extension":"The file has an invalid extension.","invalid_files":"Files seem to be invalid or broken, please review them and try again.","missing_model_file":"Couldn\'t find a valid model file.","invalid_content_path":"Invalid path \\"{path}\\" for property \\"{name}\\", file not found.","invalid_enum_value":"Invalid value \\"{value}\\" for property \\"{name}\\", possible values: {values}.","invalid_model_files_representation":"The file seems to have more than one representation, please review them and try again.","emote_duration_too_long":"{title}.{enter}Duration of the Emotes has a limit of {duration} seconds.{enter}Reduce the duration of the Emote and try again.","emote_duration_too_long_title":"Your Emote exceeds the maximum duration in seconds","invalid_model_file_type":"The file has an invalid representation for this {type} item, please review it and try again.","wrong_video_format":"The provided video is not a MP4 video","unknown_required_permissions":{"title":"Smart Wearable {count, plural, one {Permission} other {Permissions}} {wrong_configurations} {count, plural, one {doesn\'t} other {don\'t}} exist. Please correct the \'scene.json\'.","message":"For more information, check the Docs to {learn_more}."},"duplicated_required_permissions":{"title":"{wrong_configurations} Smart Wearable {count, plural, one {Permission is} other {Permissions are}} duplicated. Please correct the \'scene.json\'.","message":"For more information, check the Docs to {learn_more}."},"missing_required_properties":{"title":"The {count, plural, one {property} other {properties}} {wrong_configurations} {count, plural, one {is} other {are}} missing in the configuration. Please correct the \'scene.json\'.","message":"For more information, check the Docs to {learn_more}."},"allowed_media_hostnames_empty_or_invalid":{"title":"Given that the \'ALLOW_MEDIA_HOSTNAMES\' permission is set, the \'allowedMediaHostnames\' property must be set and not empty. Please correct the \'scene.json\'.","message":"For more information, check the Docs to {learn_more}."},"item_not_allowed_in_third_party_collections":"This item type {type} is not allowed in Linked Wearables Collections","emote_animations_sync_error":"<b>Avatar and prop animations length are not the same</b><br></br>Please correct your animation and upload it again for a perfect sync.","emote_with_mesh":"<b>Your file includes the avatar mesh.</b><br></br>This mesh isn\'t necessary for this process. Please re-export your Emote file and upload it again to proceed."},"emote_notice":"Emotes are available for all body shapes.","smart_wearable_details_title":"Complete your Smart Wearable Details","smart_wearable_permissions_label":"Smart Wearable permissions","smart_wearable_notice":"Remember that Smart Wearables are available for all body shapes","thumbnail_preview_title":"Thumbnail","video_preview_title":"Video Detail"},"create_and_edit_multiple_items_modal":{"create":{"title":"Create multiple items","successful_title":"Items created","cancelled_title":"Cancelled multiple items creation","failed_title":"Failed multiple items creation","finished_successfully_subtitle":"Great! You\'ve added {number_of_items} items","finished_partial_successfully_subtitle":"You\'ve added {number_of_items} items but {number_of_failed_items} failed","saved_items_table_title":"Saved items"},"edit":{"title":"Edit items in bulk","subtitle":"In order to edit an existing item, use the same URN","successful_title":"Items updated","failed_title":"Failed multiple items update","cancelled_title":"Cancelled multiple items update","finished_successfully_subtitle":"Great! You\'ve updated {number_of_items} items","finished_partial_successfully_subtitle":"You\'ve updated {number_of_items} items but {number_of_failed_items} failed. Please review the URNs provided","saved_items_table_title":"Updated items"},"wrong_thumbnail_format":"The thumbnail.png file is not formatted as a PNG image.","wrong_file_extension":"File extension is not correct.","wearable_file_not_found":"The wearable.json file was not found.","thumbnail_file_not_generated":"The thumbnail.png file couldn\'t be generated.","not_saved_items_table_title":"Invalid items","cancelled_items_table_title":"Cancelled items","invalid_urn":"The wearable.json file has an invalid URN for this collection","invalid_title":"INVALID","valid_title":"VALID","add_more_button":"Add more","upload_items_button":"Upload items","only_valid_items_info":"Only valid items will be uploaded","done_button":"Done","importing_files_progress_label":"Processing items","uploading_items_progress_label":"Uploading {number_of_items} items","import_information_link_label":"click here","import_information":"For more information on the ZIP\'s structure {link}"},"create_items_modal":{"title":"New Item","subtitle":"Select the method for uploading your item.","single_item_button_name":"Single item","single_item_button_description":"Upload GLTF, GLB or PNG files.","multiple_items_button_name":"Multiple items","multiple_items_button_description":"Upload a ZIP file with all the files."},"edit_collection_name_modal":{"title":"Edit Collection Name","subtitle":"Set a new name for this collection"},"edit_urn_modal":{"title":"Edit URN","subtitle":"Update the URN for {name}"},"custom_layout_modal":{"subtitle_one":"You can create custom layouts for your Scene.","subtitle_two":"Enter values in the inputs below for the desired size."},"share_modal":{"title":"Share your Scene","description":"Let your friends and co-creators see your work","copy":"copy link","copied":"copied","uri":{"facebook":"https://www.facebook.com/sharer/sharer.php?u={url}&description=Introducing my latest creation, now live in Decentraland! View it below and then help me build the Metaverse by adding one of your own.","twitter":"https://twitter.com/intent/tweet?text=Just added a new design to Decentraland via the Builder. Check it out below then create your own. The virtual world\u2019s not gonna build itself you know! {url}&hashtags=builder,virtualworld,gaming"}},"deployment_status":{"online":"Published at {coords}","online_multiple":"Published at {count} locations","needs_sync":"An earlier version was published at {coords} but latest changes haven\'t been published yet","needs_sync_multiple":"{count} {count, plural, one {scene needs} other {scenes need}} to be updated"},"deployment_modal":{"clear":{"confirmation":{"action":"Unpublish","description":"You are about to unpublish \\"{project}\\" from {location}","title":"Unpublish Scene"},"connect":{"description":"Connect your wallet to continue unpublishing your Scene.","title":"Connect your wallet"},"success":{"continue":"Done","description":"The {asset} is now clear and ready to host something else!","title":"All clear!","land":"land","world":"world"},"progress":{"title":"Unpublish scene","description":"Please wait while your scene is being unpublished"}},"description":"Deploy your Scene to your LAND or apply for a permit from landowners.","land":{"confirmation":{"action":"Publish","description":"You are publishing the following Scene to your LANDs:","location_label":"Published at","size_label":"Size","title_label":"Title"},"connect":{"description":"Connect your wallet to continue.","title":"Publish Scene"},"map":{"continue":"Continue","no_land_action":"Submit to Scene pool","no_land_warning":"It seems that you don\'t own any LAND","occupied_tooltip":"You can\'t publish here{br}It\'s overlapping with the scene \\"{name}\\"","occupied_warning":"This location is overlapping with the scene \\"{name}\\"","placement_active":"Placing a {count} LAND Scene at {x},{y}","placement_default":"Select the LANDs that will host your Scene","reset":"Reset","title":"Publish Scene"},"progress":{"creating_files":{"description":"Please wait while we create the files to be uploaded.","title":"Creating Asset Files"},"recording":{"description":"Please wait while a preview of your Scene is captured.","title":"Capturing preview"},"uploading_assets":{"description":"Please wait while your Scene is uploaded.","title":"Uploading to the Metaverse"},"uploading_recording":{"description":"Please wait while upload your Scene preview.","title":"Uploading Preview"}},"success":{"jump_in":"Jump In","continue":"Continue working","description":"Your Scene has now been published.","title":"Done!"},"empty":{"title":"You don\u2019t own any LAND","description":"<b>Buy your own LAND or rent it during a period</b><br></br>Your scene is {landSize} so make sure to get a {dimension, plural, one {land} other {estate}} that is equal or bigger than that.","buy_land":"Buy land","rent_land":"Rent land"},"not_enough_land":{"title":"This scene is bigger than your LAND","description":"This scene requires an area of {cols}x{rows} parcels. Ensure your LANDs are equal to or larger than this to acommodate this scene. Have in mind that this scene could be a perfect fit for a world.","publish_world":"Publish to my world","return_scenes":"Return to scenes","claim_name":"Claim your unique name for a free World"},"title":"Publish Scene"},"option_land":{"action":"Publish to LAND","description":"Deploy your Scene to your LAND or Estate.","title":"My LAND"},"option_pool":{"action":"Apply","description":"Apply with your Scene to be deployed on LAND that belongs to others.","title":"Scene Pool"},"pool":{"action":"Submit","contact_information":"Contact information","i_accept_the":"By clicking \\"submit\\" you agree to receive news from Decentraland","progress":"Processing","sign_in":{"action":"Sign In","subtitle":"You need to sign in before you publish to the Scene pool","title":"Sign In"},"subtitle":"Your scene is about to be uploaded to the community pool, which means anyone can use it.","success":{"body":"It will be included in our public scene gallery for anyone interested in using it. Thank you for your contribution!","title":"Your scene now is part of the scene pool!"},"title":"Publish your Scene","uploading":"Uploading"},"deploy_world":{"title":"Publish to World","description":"Select the Decentraland NAME or ENS Name that will define the URL","action":"Publish","world_label":"World (NAME)","world_placeholder":"Select a NAME","back":"Go back to publish scene","close":"Close publish modal","claim_name":"Claim a new Name","empty_state_title":"You don\'t have any available World","empty_state_description":"<b>Get a free World when you own a NAME</b>.<br></br>Each NAME will give you access to one world. You can have as many as you want.","name_type":{"dcl":"NAME","ens":"ENS Names"},"success":{"title":"Your scene is published!","subtitle":"You can now explore and play in your World:","jump_in":"Jump In","share_in_twitter":"Share on Twitter","share_in_twitter_text":"I just published new content on my World\u2728\\n\\nCheck it out:\\n\ud83d\udccd"},"failure":{"title":"Something went wrong","subtitle":"We couldn\'t publish your scene","subtitle_size_error":"La escena es demasiado grande para publicarse en un mundo.<br></br>El tama\xf1o m\xe1ximo es de <b>{maxSizeMbs} mbs</b>, pero la escena actual es de <b>{deployedSizedMbs} mbs</b >."},"world_url_description":"The URL to jump in your World will be:<br></br><b>{world_url}</b>","world_has_content":"The existing content in {world} World will be replaced with the new content you\'re about to publish.","confirm_world_replace_content":"I understand that this action is irreversible","scene_information":"Scene Information"},"title":"Publish {sceneName} Scene","subtitle":"Select where you want to deploy this scene:","learn_more":"Learn more","options":{"world":{"title":"My World","description":"Not findable in Genesis City map.<br></br>Up to 100 users can join concurrently.","action":"Publish to world"},"land":{"title":"My Land","description":"Findable in Genesis City map.<br></br>Unlimited users can join concurrently.","action":"Publish to land"},"pool":{"title":"Upload to Scene Pool","description":"Your scene will be listed in a scene gallery and publicly available for download.","action":"Upload to Scene Pool"}}},"deploy_to_world_announcement_modal":{"title":"You can now publish<br></br>your scenes to Worlds","description":"Create your scene with the Builder and publish it to a World in a few clicks.","create_scene":"Create Scene"},"templates_announcement_modal":{"title":"Expand your creativity with templates and the community scene pool","description":"From now on you can start downloading and using templates and scenes from the community pool. Let your imagination shape your Worlds and LANDs!","go_to_scenes":"Go to my scenes"},"smart_wearables_announcement_modal":{"title":"Smart Wearables are now live! \ud83d\udfe2","description":"<b>Take Wearables to the next level with Portable Experiences</b><br></br>Monetize your Portable Experiences through Smart Wearables and expand the usability of Wearables by offering players new abilities (like flying!) or an extra layer of content overlaid on Decentraland scenes.","learn_more":"Learn more about Smart Wearables"},"emotes_v2_announcement_modal":{"title":"Emotes 2.0 are Live! \ud83d\udfe2","description":"<b>Emotes now offer more than movement!</b><br></br>Take advantage of these extended capabilities and enhance your Emotes with with props and sounds for a more expressive experience.","learn_more":"learn more about emotes"},"use_as_alias_modal":{"title":"Use as Alias","subtitle":"This will be your name in the Metaverse","body":"Use {newName} as your avatar\u2019s new alias. Unique names are a great way to help your friends find you in the Metaverse! This will replace {oldName}.","success":"{name} is your new alias in the Metaverse! Let other people see your new name when visiting the world.","error":"Something went wrong... Please try again later."},"deployment_contest_modal":{"action":"Join the Contest","submit":{"title":"Creator Contest","subtitle":"Earn 200 MANA (  \u0334$5 USD) for each qualifying scene that you submit to the Contest, up to a maximum of 20 scenes.","eth_address":"ETH address (optional)","invalid_eth_address":"Invalid ETH address"},"recording":{"title":"Preparing your scene","subtitle":"We are prepering your scene for the Contest, please wait."},"uploading":{"title":"Preparing your scene","subtitle":"We are prepering your scene for the Contest, please wait."},"success":{"title":"Thanks for uploading your Scene!","subtitle":"You will receive an email notification if your scene is selected."}},"dissolve_modal":{"title":"Dissolve Estate","confirm":"You are about to dissolve {name}. Do you want to proceed?","too_big":"This Estate is too big to be dissolved in one transaction. Please remove parcels until its size is at most {max} parcels."},"edit_project_modal":{"custom_layout_label":"Layout","title":"Scene details","unpublish_needed":"Please Unpublish your Scene before updating your Scene Details"},"edit_page":{"title":"Edit","subtitle":"Your are editing {name}."},"ens_list_page":{"table":{"name":"Name","link":"Link","assigned_to":"Assigned To"},"assigned_to_land":"Land ({landId})","assigned_to_estate":"Estate ({landId})","button":{"assign":"Use as Link","edit":"Edit Link","use_as_alias":"Use as Alias"},"empty_names":"It looks like you don\'t have any Names.{br} {link} to get started.","items":"{count} {count, plural, one {result} other {results}}","alias_popup":"This name is being used by your profile but it can still be assigned","not_profile_created":"You need to get into the world first to set an alias."},"worlds_list_page":{"table":{"name":"NAME","url":"URL","published_scene":"Published Scene","publish_scene":"Publish Scene","edit_scene":"Edit Scene","status":"Status","status_active":"Active","status_inactive":"Inactive","actions":"Actions","empty_url":"To activate this world you need to publish a scene"},"empty_list":{"title":"Get a free World when you own a NAME","description":"Each NAME grants you access to one World, <b>your own 3D space in the metaverse</b> where you can shape the space however you like and invite up to 100 people to visit.","cta":"Claim Name"},"name_tabs":{"dcl_names":"Decentraland names","ens_names":"ENS names"},"worlds_storage":{"space_used":"Space used","view_details":"view details"}},"error_page":{"or":"or try","reload":"reloading the page","subtitle":"There was an error, this is all we know:","support":"Contact support","title":"Oops!"},"estate_editor":{"title_edit":"Edit Estate","subtitle_edit":"Click to add or remove parcels","title_create":"Build Estate","subtitle_create":"Click on adjacent parcels to build your Estate","subtitle_form":"Write a name and description for your Estate","name_label":"Name","name_placeholder":"My Estate...","description_label":"Description","description_placeholder":"Some description...","add_limit_reached":"You can add a maximum of {max} parcels at once","remove_limit_reached":"You can remove a maximum of {max} parcels at once","needs_two_txs":"This change will send 2 transactions: one to add {toAdd} {toAdd, plural, one {parcel} other {parcels}} and another one to remove {toRemove} {toRemove, plural, one {parcel} other {parcels}}"},"export_modal":{"action":"Download scene","docs":"What is the Decentraland SDK?","description":"Transition seamlessly from the Builder to the SDK for a more interactive and personalized scene. Keep in mind that you have the option to download scenes from the scene pool and templates and upload it across different accounts.","loading":"Downloading...","title":"Download scenes and create with a higher level of complexity."},"global":{"avatar":"Avatar","activity":"Activity","approved_tx":"Approved","back":"back","blog_post":"blog post","amount":"Amount","cancel":"Cancel","close":"Close","copied":"Copied!","coming_soon":"Coming Soon","confirm":"Confirm","add":"Add","buy":"buy","continue":"Continue","create":"Create","dismiss":"Dismiss","done":"done","email":"email","error_ocurred":"An error ocurred","eth_address":"ETH address","finish":"Finish","free":"Free","here":"here","item":"Item","learn_more":"Learn more","loading":"Loading","mint":"Mint","new":"New","new_scene":"New scene","delete":"Delete","edit":"Edit","next":"next","not_found":"Not found","optional":"optional","or":"or","project":"Scene","read_more":"Read more","retry_tx":"Retry","reload":"Reload","save":"Save","send":"Send","see_in_decentraland":"See in Decentraland","share":"Share","sign_in_required":"You need to {link} to access this page.","sign_in":"Sign in","sign_up":"Sign up","skip":"Skip","submit":"Submit","subscribe":"Subscribe","terms_and_conditions":"Terms & Conditions","view_more":"View More","click_here":"Click here","proceed":"Proceed","open_in_editor":"Open in editor","address":"Address","balance":"Balance","balances":"Balances","revoke":"Revoke","set":"Set","settings":"Settings","yes":"Yes","no":"No","name":"Name","category":"Category","rarity":"Rarity","body_shape":"Body Shape","body_shape_plural":"Body Shapes","size":"Size","hash":"Hash","publish":"Publish","published":"Published","description":"Description","urn":"URN","order":{"newest":"Newest","oldest":"Oldest","name_asc":"Name \u2191","name_desc":"Name \u2193","updated_at_asc":"Last updated \u2191","updated_at_desc":"Last updated \u2193"},"total":"Total","parcel_plural":"Parcels","estate_plural":"Estates","role":"Role","none":"None","emote":"Emote"},"roles":{"1":"Owner","2":"Owner","3":"Tenant","4":"Operator"},"navigation":{"overview":"Overview","scenes":"Scenes","land":"Land","collections":"Collections","names":"Names","worlds":"Worlds","curation":"Curation"},"list":{"two":"{first} and {second}","three":"{first}, {second} and {third}","more":"{count} more"},"home_page":{"title":"Let\'s build the Metaverse together!","collections":{"card_title":"Collections","card_description":"Create, review and publish your collections of Wearables and Emotes.","cta_label":"Manage collections"},"scenes":{"card_title":"Scenes","card_description":"Build your space in your LAND. You can use free 3D models or upload your own.","cta_label":"Build scenes"},"land":{"card_title":"Land","card_description":"Publish Scenes, create Estates and manage permissions of your LAND.","cta_label":"Manage your land"},"names":{"card_title":"Names","card_description":"Claim your unique name and assign it to your avatar or your parcels.","cta_label":"Claim name"}},"scenes_page":{"my_scenes":"My Scenes","upload_scene":"Upload Scene","create_scene":"Create Scene","no_projects":"You can publish your scenes in your LAND, your Worlds or upload them to the Scene Pool.{br}Alternatively, you can also <link>upload a scene file</link> and continue working from here.","no_projects_guest":"Your Scenes have been uploaded to the Cloud{br}{sign_in} to view them.","sdk6_support":"Technical support for SDK 6 will end on December 23rd, 2023.","project_actions":{"delete_project":"Delete","duplicate_project":"Duplicate","export_project":"Download","unpublish":"Unpublish"},"choose_scene_creation":"Choose the best option to build your scene","no_scenes":{"title":"Create your first scene","description":"Unleash your creativity. Start building scenes for your LANDs and Worlds and share with the community. <a>Learn more about creating Scenes.</a>","from_scratch":{"title":"Start from scratch","description":"Start building your scenes from the ground up with the online builder in a simple and intuitive way."},"from_template":{"title":"Use predefined templates","description":"Choose one of these polished templates and release an amazing scene with just a few clicks!"}},"sort":{"name":"Name","newest":"Newest","size":"Size"},"start":"Start building","subtitle":"With easy-to-use tools and hundreds of 3D items to choose from, the Builder makes world building fun. Let your creativity loose.","templates_title":"Choose the size of your Scene to get started","title":"Build something Cool!","results":"{count} {count, plural, one {result} other {results}}","from_scene_pool":"From The Scene Pool"},"templates_page":{"title":"Choose a template","back_to_scenes":"Back to scenes","parcels":"{size} parcels","coming_soon":"Coming soon"},"import_modal":{"action":"Upload","action_many":"Upload {count} Scenes","cta":"Drag your Scene .zip file here, or {action}","description":"To transfer scenes between different accounts or upload a scene previously downloaded from the scene pool, utilize the \'upload scene\' feature. Ensure that you upload the zip file exactly as it was downloaded.","invalid_file":"Invalid file","title":"Upload Scene","upload_manually":"browse for it on your computer"},"upload_video":{"cta":"Drag and drop a video (.MP4 format) to showcase the Smart Wearable\'s functionality or {action}","upload_manually":"browse for it on your computer","error":{"video_file_too_big":{"title":"The file is too large and can\'t be uploaded.","message":"File size limit is {size}. Please reduce the size of the file and try again."},"video_file_too_long":{"title":"your video duration exceeds {max_duration} seconds.","message":"Please reduce the duration and try again."},"invalid_video":{"title":"Your video seems to be invalid or broken.","message":"Please review your file and try again."}}},"itemdrawer":{"opensea_credit":"Powered by {link}","edit_asset_pack":"Edit","empty_ground":"No Ground","no_results":"No results","results":"Results","search":"Search assets","title":"Asset Packs","search_items":"Search items"},"item_dropdown":{"placeholder":"Select an item","no_items":"No valid items found"},"collection_dropdown":{"placeholder":"Select a collection","no_collections":"No valid collections were found"},"layout_picker":{"columns":"columns","rows":"rows"},"metrics":{"bodies":"bodies","entities":"entities","height":"height","materials":"materials","meshes":"meshes","textures":"textures","too_many":"Too many {metric}","triangles":"triangles"},"video_stats":{"seconds":"{seconds} {seconds, plural, one {second} other {seconds}}","size":"{size} MB"},"mobile_page":{"desktop_too_narrow":"The Builder doesn\'t work on this resolution! Try making this window wider if you can.","gallery_title":"Check out work from Builder users!","learn_more":"Learn more about the Builder","message":"The Builder is only available on desktop right now. Sign up to receive updates and check it out on your computer.","reminder_body":"Hey there!\\n\\nWhoops! It looks like you tried to use the Builder from a mobile device!\\nThe Builder only runs on desktop and laptop computers. Grab your nearest computer, and try again at https://builder.decentraland.org\\n\\nHappy building!\\n\\nThe Decentraland Team","reminder_subject":"Reminder: Try out Decentraland\'s Builder","secondary_hero":{"action":"Send yourself a reminder","title":"Want to build something when you get to your computer?"},"success":"Thanks, we will keep you posted!","title":"Builder Tools are only available on desktop","list_title":"From your computer, you can:","first_paragraph":"Create, preview and publish {bold_text}.","first_paragraph_bold_text":"collections of Wearables and Emotes","second_paragraph":"Build {bold_text}. You can use free 3D models or upload your own.","second_paragraph_bold_text":"content for your LAND","third_paragraph":"Publish scenes, {bold_text} of your LAND.","third_paragraph_bold_text":"create estates and manage permissions","fourth_paragraph":"Claim your {bold_text} and assign it to your avatar or parcels.","fourth_paragraph_bold_text":"unique name"},"scene_list_page":{"projects_title":"Scene Pool","no_projects":"It looks like we don\'t have any Scenes","filters":{"creator-contest-2019-12":"Creator Contest (Submission)","qualified-creator-contest-2019-12":"Creator Contest","all_groups":"All collections","all_users":"All users","only_me":"Only me","newest":"Newest","likes":"Likes","items":"Items","smart_items":"Smart items","size":"Size","name":"Name"}},"public_page":{"made_with":"Scene made with Builder","made_by":"Scene by","try_it_out":"try it out","parcel_count":"{parcels} {parcels, plural, one {parcel} other {parcels}}","item_count":"{items} {items, plural, one {item} other {items}}","likes":"{likes} {likes, plural, one {like} other {likes}}"},"not_found_page":{"back":"Back to your Scenes","subtitle":"Sorry, we couldn\'t find the Scene you were looking for","title":"404"},"rental_period":{"period_over":"Rental Period Over","tenant_operator_permissions":"You will have Operator permissions until the Owner claims the Land back","lessor_operator_permissions":"You will have Operator permissions once you claim your Land back","ends_in":"Ends in"},"land_page":{"coordinates":"Coordinates","operated_by":"Operated by","type":"Type","online_scenes":"Online Scenes","owner":"Owner","operators":"Operators","results":"{count} {count, plural, one {result} other {results}}","owner_explanation":"These are lands you own.","operator_explanation":"These are lands you don\'t own, but the owner gave you permission to use them.","tenant_explanation":"These are lands you don\'t own, but you\'ve rented."},"land_detail_page":{"transfer":"Transfer","set_operator":"Set Operator","assign_name":"Set link","build_estate":"Build Estate","add_or_remove_parcels":"Add Or Remove Parcels","dissolve_estate":"Dissolve Estate","online_scenes":"Online Scenes","add_scene":"Add Scene","assigned_names":"Assigned names","description":"Description","owner":"Owner","tenant":"Tenant","land_is_locked":"This action is blocked until you claim your LAND back.","operated_by":"Operated by","total_land":"Total Land","empty_land":"Empty Land","unset_ens_content":{"title":"Are you sure?","text":"Unassigning the link will cause {link} not to take you to {land} anymore. Do you want to proceed?"}},"land_assign_ens_page":{"title":"Use {name} as link","subtitle":"This link will take you to {land}","set_name_message":"<strong>Before you can assign this name to your land, you need to submit 2 or 3 transactions:</strong> The first transaction reclaims your ENS name so you become its controller and it\'s only required if the name was bought or transferred from another user, the second one allows you to use your name as a link and the third transaction links your name to your LAND.","reclaim":"Reclaim","reclaim_explanation":"This reclaims the control of your name after it has been transferred to you. The owner of the name has the control over it until it gets reclaimed.","set_resolver":"Set Resolver","set_resolver_explanation":"This allows your name to be linked to a land.","set_content":"Set Content","set_content_explanation":"This resolves your name with a link to your land in Decentraland."},"ens_select_land_page":{"title":"Use {name} as a link","subtitle":"Select a land where the link should point to:","land_selected":"Selection:","already_assigned":"Already assigned"},"land_select_ens_page":{"title":"Select a Name","subtitle":"It will be used as a link to {land}","empty_options_message":"You don\'t have any available names. To assign a name to your LAND, you first need to claim it.","claim_new_name":"Claim a new name","select_name_title":"My names","select_name_placeholder":"Choose a name...","click_to_claim_new_name":"{click_here} to claim a new name","name_assigned":"This name has been assigned to this land"},"claim_name_fat_finger_modal":{"title":"Please confirm your new name","description":"You have chosen {name}. Re-enter your name to confirm your selection.","ok_message":"Congratulations the name {name} is yours.","name_placeholder":"Your unique name","names_different":"Names do not match","authorization":{"title_action":"purchase","action":"claim"}},"migrate_page":{"step_one_title":"Migrate your account","step_one_message_line_one":"In order to provide a seamless experience across our products, we have switched the Builder\'s account system from email to wallet based. This means that you will need to connect an Ethereum wallet to store your scenes in the Cloud. If you don\'t have a wallet you can learn more about how to get one {link}.","step_one_link":"here","step_one_message_line_two":"If you had Scenes stored in your email account, you can migrate them to your wallet account using this page.","step_one_cta":"Start Migration","step_two_title":"Login with your email","step_two_message":"Please login with your email account to find the Scenes that need to be migrated.","step_two_cta":"Login","step_three_title":"Connect your wallet","step_three_message":"Please connect your wallet to continue. If you don\'t have a wallet here\'s a {link} to get one.","step_three_link":"beginners guide","step_three_cta":"Connect","step_three_error":"Please install {metamask} or other Ethereum wallet to continue","step_four_title":"Migrate your Scenes","step_four_message":"Migrate all Scenes and asset packs under your email account into your wallet account.","step_four_cta":"Migrate","projects_title":"The following Scenes will be migrated:"},"operator_page":{"title":"Set Operator","subtitle":"You are setting an operator for {name}.<br></br>Operators can <b>only</b> deploy scenes to the LAND.","address":"Address","undo":"Undo","revoke":"Revoke","invalid_address":"Invalid address"},"popups":{"metrics_help":"See metrics here!","shortcuts_help":"See shortcuts here!","its_you":"It\'s you!"},"project_card":{"parcel_count":"{parcels} {parcels, plural, one {parcel} other {parcels}}","item_count":"{items} {items, plural, one {item} other {items}}","confirm_delete_content":"Are you sure you want to delete your Scene \\"{title}\\"? This operation is not reversible","confirm_delete_header":"Delete \\"{title}\\""},"item_card":{"move_to_collection":"Move to collection","confirm_delete_content":"Are you sure you want to delete your item \\"{name}\\"? This operation is not reversible","confirm_delete_header":"Delete \\"{name}\\""},"project_fields":{"description_field_label":"Description","description_field_placeholder":"No description","title_field_label":"Title","title_field_placeholder":"Scene title"},"project_layout_picker":{"max_area_error":"Your Scene can\'t have more than {area} parcels","min_area_error":"Your Scene is too small","decimals_error":"Your scene parcels size should not have a decimal value","empty_field_error":"You should complete the amount of rows and columns to set the scene size"},"quota_exceeded_modal":{"retry":{"description":"We were unable to save your work","title":"On snap!"},"sign_in":{"description":"You\'ve reached the limit of your browser\'s storage. Please sign in to continue","title":"Ummm..."}},"scene_detail_page":{"actions":{"duplicate":"Duplicate","delete":"Delete","unpublish":"Unpublish"},"edit_scene":"Edit Scene","download_scene":"Download Scene","published_in":"Published In","no_deployments":"This scene has not been published yet.","published":"Published","unsynced":"Unsynced","draft":"Draft","status":"Status","location":"Location","description":"Description","url":"URL"},"template_detail_page":{"select_template":"Select Template","download_scene":"Download Scene","description":"Description","creator":"Creator","scene_details":"Scene Details","built_for_world":"Built for World","personalize_it_yourself":"Personalize it yourself","parcels":"{rows} x {cols} parcels"},"shortcuts":{"delete":"Delete item","duplicate":"Duplicate item","export":"Download Scene","hold":"Hold","move":"Toggle arrows","move_camera":"Move camera","precision":"Ignore snap-to-grid","preview":"Preview","redo":"Redo","reset":"Reset item","reset_camera":"Reset camera","rotate":"Toggle orbits","scale":"Toggle scaling","shortcut_reference":"Shortcut reference","toggle_colliders":"Show colliders","toggle_sidebar":"Toggle sidebar","undo":"Undo","zoom_in":"Zoom in","zoom_out":"Zoom out","multiselect":"Select multiple items"},"shortcuts_modal":{"editor_shortcuts":"Editor","item_shortcuts":"Item","other_shortcuts":"Other","title":"Shortcuts"},"sync":{"error":"{errorCount} {errorCount, plural, one {scene} other {scenes}} failed to be uploaded","loading":"Uploading...","retry":"Retry","success":"All Scenes saved successfully!"},"create_modal":{"title":"Create a Scene","name_subtitle":"Set a name and a description for your scene","size_subtitle":"Set the parcels size of your new scene","sdk_title":"Experience the new Decentraland Web Editor","sdk_subtitle":"Harness the power of SDK 7 without any code.","sdk_description":"Enhance your scene-building process with our improved visual editor. All features from the previous Scene Builder are included, while the addition of <b>Smart Items</b> is scheduled for an upcoming update.","sdk_image_alt":"SDK 7","name_label":"Name","description_label":"Description","description_placeholder":"Some description...","use_sdk7":"Use decentraland web editor","use_sdk6":"Use legacy scene builder (SDK 6)"},"clone_template_modal":{"title":"Set a name and a description for your scene","name_label":"Name","name_max_length":"The name can be 32 characters at most","description_label":"Description","description_placeholder":"Some description..."},"templates":{"big":"Big (2x3)","custom_layout":{"title":"Custom","up_to":"Up to {max} parcels"},"description":"{dimensions} - about {amount} items max","medium":"Standard (2x2)","small":"Mini (1x1)"},"activity_page":{"latest_activity":"Latest Activity","clear_history":"Clear History","empty":"You have no activity yet.","clear_history_modal":{"title":"Are you sure?","text":"You are about to clear your transaction history. Do you want to proceed?"}},"settings_page":{"authorizations":"Authorizations","disclaimer":"You can assign other addresses to operate all your parcels or estates on your behalf. They {emphasis} be able to transfer or sell them, they will just be allowed to publish content on them.","emphasis":"will not","authorization":"You authorized {address} to operate all your {type} on your behalf.","authorization_action":"Authorize {address} to operate all your {type} on your behalf.","copy_address":"Copy Address","copied":"Copied","authorizations_title":"Active Authorizations"},"transaction":{"approved":"approved","unapproved":"unapproved","approve_token":"You {action} the {contract} contract to operate {token} on your behalf.","change_profile":"Your name is used as alias for {address}","transfer":"You transferred {name} to {address}.","edit":"You edited {name}.","set_operator_assigned":"You assigned {address} as operator of {name}.","set_operator_revoked":"You revoked the operator of {name}.","create_estate":"You created {name}.","dissolve_estate":"You dissolved {name}.","edit_estate_add":"You added {count} {count, plural, one {parcel} other {parcels}} to {name}.","edit_estate_remove":"You removed {count} {count, plural, one {parcel} other {parcels}} from {name}.","set_manager_assigned":"You assigned {address} as operator of all your {type}.","set_manager_revoked":"You revoked {address} as operator of all your {type}.","collection_published":"Published the collection {name}","collection_approved":"Approved the collection {name}","collection_rejected":"Rejected the collection {name}","set_price_and_beneficiary":"You edited the price and/or beneficiary of {name}","collection_item_minted":"Minted {itemName} for the collection {collectionName} {count, plural, one {once} other {{count} times}}","collection_items_minted":"Minted {count} items for the collection {collectionName}","updated_collection_managers":"Updated the collection\'s {name} managers","updated_collection_minters":"Updated the collection\'s {name} minters","set_collection_on_sale":"Set the collection {name} on sale","unset_collection_on_sale":"Removed the collection {name} from being on sale","set_ens_resolver":"Set resolver for the name \\"{name}\\".","set_ens_content":"Set redirection content for the name \\"{name}\\" on {land_link}.","unset_ens_content":"Removed redirection content for the name \\"{name}\\".","allowed_claim_mana":"Allowed MANA to claim a new name","disallowed_claim_mana":"Disallowed MANA to claim a new name","claim_name":"Claimed new name: \\"{name}\\".","reclaim_name":"Reclaimed the name: \\"{subdomain}\\".","rescue_items":"Approved content of {count} {count, plural, one {item} other {items}} for {collectionName}"},"transfer_page":{"title":"Transfer","subtitle":"Your are about to transfer {name}.","disclaimer":"Remember that transferring is an irreversible operation.{br}Please check the address carefully.","same_owner":"That\'s already the owner","invalid_address":"That\'s not a valid address"},"toasts":{"localstorage":"Scenes are stored in your browser. {sign_in} to save them in the Cloud!"},"topbar":{"bounds_exceeded":"Item out of bounds{br}Move the item inside the boundaries!","limits_exceeded":"Too many {metric}{br}Try deleting some items!","up_to_date":"Up to date!{br}All the changes are published","update_scene":"Update Scene"},"tutorial_modal":{"slide0":{"description":"This is Decentraland\u2019s new Scene builder. Before you get started, let us show you around.","title":"Welcome to the Builder!"},"slide1":{"description":"To move an object, click and drag the object.","title":"Moving objects"},"slide2":{"description":"Add objects to your Scene from the sidebar on the right.","title":"Adding objects"},"slide3":{"description":"Rotate objects by clicking on the Rotate tool and dragging the orbits.","title":"Arrows and orbits"},"slide4":{"description":"Drag with the left button to rotate the camera. Use the right button to pan.","title":"Controlling the camera"},"subtitle":"The Builder is super easy to use, here are some tips before you begin","title":"Get started with the Builder"},"unsupported_browser_page":{"back":"Back to your Scenes","subtitle":"The Builder does not support your browser.{br}Please visit this page using {chrome} or {firefox}","title":"Oops!"},"user_menu":{"guest":"Guest","sign_in":"Sign In","sign_out":"Sign Out"},"validation":{"project":{"description":{"length":"Description length must be between {min} and {max} characters."},"title":{"length":"Title length must be between {min} and {max} characters."}}},"video_modal":{"title":"Learn more about the Builder","youtube_id":"cHEblD8xZwI"},"wallet":{"signature_error":"Failed to sign message","no_wallet":"Wallet not found","connect_error":"Could not connect wallet","title":"Connect your wallet to sign in."},"collections_page":{"results":"{count} {count, plural, one {result} other {results}}","no_items":"No collections","new_item":"New Item","new_collection":"Create Collection","new_third_party_collection":"Create Linked Wearables Collection","type":"Type","items":"Items","collections":"Collections","collection":"Collection","single_items":"Single items","empty_description":"You have no collections yet. Create a new collection, and dress the metaverse in style!","created_at":"Created","last_modified":"Last modified"},"curation_page":{"order":{"most_relevant":"Most relevant"},"filter":{"all_status":"All status","all_assignees":"All assignees","all_types":"All types","not_reviewed":"Not reviewed","approved":"Approved","rejected":"Rejected","under_review":"Under Review","to_review":"To Review","standard":"Standard","third_party":"Linked"},"search_placeholder":"Search by name or owner address","results":"{count} {count, plural, one {result} other {results}}","collections":"{count} {count, plural, one {collection} other {collections}}","empty_collections":"There are no collections to review yet.","assign_modal":{"unassign":"Unassign","collection_unassigned":"The {collection_name} collection have been unassigned.","self_assign":{"title":"Confirm your assignation to {collection_name}","body":"You will be the responsible of {emphasis}. If needed, you will be able to reassign the collection to another curator.","emphasis":"reviewing this collection and communicating with the creator in the forum","success":"The {collection_name} collection have been assigned to you."},"reassign":{"title":"Edit assigned curator for {collection_name} collection","body":"In case you cannot review this collection, reassign it to another curator. Make sure you let them know about this change.","success":"The {collection_name} collection have been assigned to {assignee}."}},"error_message_title":"Error","error_message_body":"Something went wrong... Please try again later.","assign_success_title":"Collection Assigned","unassign_success_title":"Collection Unassigned","curator":"Curator","confirm_not_assigned_curation_modal":{"title":"Approve collection","body":"This collection is assigned to {assignee}. If needed, you can still approve it but make sure to let the assigned curator know about it.","confirm_footer":"Confirm the approval of this collection so it is enabled to be minted.","confirm_button":"Assign to me and approve collection"}},"collection_row":{"collection":"Collection","published":"Published","date":"Date","assignee":"Assignee","status":"Status","discussion":"Discussion","items":"{count} {count, plural, one {item} other {items}}","owner":"Owner","link":"Link","type":"Type","type_third_party":"Linked","type_standard":"Standard","review_request":"Review request","forum_post":"Forum Post","no_forum_post":"Not posted","to_review":"To review","under_review":"Under Review","approved":"Approved","rejected":"Rejected","disabled":"Disabled","unassigned":"Unassigned","assign_to_me":"Assign to me","you":"you"},"item_detail_page":{"details_info":{"id":"Id"},"selling":{"title":"Selling"},"representations":{"title":"Representations"},"tags":{"title":"Tags"},"details":"Details","edit_thumbnail":"Edit Thumbnail","properties":"Properties","notice":"You need to add your items to a collection before you can publish them","add_representation":"Add {bodyShape} representation","change_item_file":"Edit representation","delete_published_item":"You can\'t delete a published item","required_permissions":"Permissions","edit_video":"Edit video showcase"},"third_party_collection_detail_page":{"notice":"Each published item takes 1 Slot. Create a draft-proposal in the DAO to ask for more slots","search_placeholder":"Search {count} {count, plural, one {item} other {items}}...","search_info":"{page}-{pageTotal} of {total}","clear_selection":"Clear selection","select_all":"Select all {total} items","selection":"{count, plural, one {# item} other {# items}} selected.","max_select_count":"You can publish up to {count} items at a time","slots":"{amount, plural, =0 {No Slots} one {# Slot} other {# Slots}}","start_adding_items":"Looking good! Start adding items to your new collection","cant_remove":"You will not be able to add or remove items after publishing them.","publish_items":"Publish {count, plural, =0 {} one {# item} other {# items}}","new_items":"New Items","publish":"Publish","push_changes":"Push changes","publish_and_push_changes":"Publish & push changes","cant_publish":"This collection is still under review, once that process ends you\'ll be able to publish more items","cant_publish_items":"You\'re trying to publish {count} {count, plural, one {item} other {items}}. There are others under review right now","exceeds_available_slots":"You\'re exceeding the amount of available slots. Create a proposal in the DAO to add more slots","cant_publish_and_push_changes":"You\'re trying to publish {count} {count, plural, one {item} other {items}} and push changes at the same time. Unselect the items to publish to able to push changes","synced_filter":{"all":"All items","synced":"Synced","unsynced":"Unsynced"},"synced_statuses":{"unpublished":"Ready to publish","under_review":"Under Review","synced":"Synced","unsynced":"Unsynced"}},"collection_detail_page":{"new_item":"New Item","mint_items":"Mint Items","on_sale":"On Sale","put_for_sale":"Put up for sale","set_on_sale_popup":"This will allow your collection to be sold in the Decentraland Marketplace.","unset_on_sale_popup":"This collection is on sale in the Decentraland Marketplace.","notice":"Cool! Now you can start working on your items. {editor_link} to open the editor or click the edit button on any item.","preview":"Preview in Editor","publish":"Publish Collection","remove_from_marketplace":"Remove from marketplace","add_item":"Add Items","add_items_title":"Looking good!","add_items_subtitle":"Now you can start adding items to your collection","add_items_subtitle_extensions":"Accepted files are ZIP, GLTF, GLB, PNG.","start_adding_items":"Looking good! Start adding items to your new collection","cant_remove":"You will not be able to add or remove items after publishing your collection.","can_mint":"Minting allows you to transfer NFTs directly to an address.","cant_mint":"This collection is still under review, once that process ends you\'ll be able to mint items","cant_push":"This collection is still under review, items can still be minted but will not reflect new changes until approval","under_review":"Under Review","push_changes":"Publish Updates","cant_operate":"This collection is still locked, once publication ends you\'ll be able to operate again","locked":"Locked","publish_reason_max_items":"A collection can be published with a max amount of {maxItems} items.","publish_reason_no_items":"You need to add at least one item to publish your collection.","publish_reason_items_not_complete":"All items must be complete to publish your collection, check if all the properties are set.","emotes":"Emotes","wearables":"Wearables","table":{"item":"Item","rarity":"Rarity","category":"Category","price":"Price","supply":"Supply","play_mode":"Play Mode","status":"Status"},"missing_item_price":"You need to configure the price of one or more {item_type}.","missing_smart_wearable_video":"You need to upload a video for one or more smart wearables.","unsynced_collection_title":"There are unsynced items in this collection","unsynced_collection_message":"One or more items have been modified after this collection was approved.{br}These updates need to be published and reviewed again by the curation commitee.","under_review_collection_message":"Updated items are being reviewed by the curation committee. Once they are approved,{br}they will be automatically visible to the current owners and in the Marketplace."},"collection_context_menu":{"add_existing_item":"Add Existing Item","forum_post":"View Forum post","copy_address":"Copy address","edit_urn":"Edit URN","edit_in_bulk":"Edit in bulk","copy_urn":"Copy URN","see_in_decentraland":"See in Decentraland","unpublished":"This collection is not published yet","managers":"Collaborators","minters":"Minters","post_to_forum":"Post to forum","posting":"Posting","not_posted":"The collection wasn\'t posted to the forum. You can retry here","delete_published_collection":"You can\'t delete a published collection","change_published_urn":"You can\'t change the URN once the collection is published"},"collection_item":{"set_price":"set price","ready":"Ready","published":"Published","not_ready":"Not ready","under_review":"Under Review","unsynced":"Unsynced","edit_item":"edit","mint_item":"mint","delete_item":"Delete item","edit_price":"Edit price","see_details":"See details","edit_urn":"Edit URN","cannot_edit_urn":"You can\'t edit the URN once the item is published","reset_item":"Reset changes","move_to_another_collection":"Move to another collection","preview":"Preview in Editor"},"collection":{"type":{"standard":"Collection","third_party":"Linked Wearables Collection"}},"item":{"blockchain_id":"Blockchain ID","category":"Category","rarity":"Rarity","representation":"Representation","price":"Price","beneficiary":"Beneficiary","supply":"Supply","collection":"Collection","edit_urn":"Edit URN","copy_urn":"Copy URN","type":{"wearable":"Wearable","emote":"Emote","smart_wearable":"Smart Wearable"}},"edit_price_and_beneficiary_modal":{"title":"Set Price","for_me":"I\'m the beneficiary","free":"Make it free","price_label":"Price","price_message":"Keep in mind that the minimun amount supported for costless transactions is {minPrice}.{br}{br}If your item costs less than that, the buyer will need to cover the transaction cost in {token}.","beneficiary_label":"Beneficiary Wallet Address","beneficiary_popup":"This is the wallet address that will receive MANA when the item is sold for the first time and Royalties when it is resold. You can set a different beneficiary address for each item in a collection.","free_message":"The original Creator will be the Beneficiary for the generated Royalties"},"confirm_delete":{"content":"Delete \\"{name}\\"?","subcontent":"Are you sure you want to delete the item \\"{name}\\"? This operation is not reversible."},"delete_item_modal":{"title":"Delete {name}","subtitle":"Are you sure you want to delete {name}?{br}This operation is not reversible."},"publish_collection_modal":{"title":"Publish Collection","title_tos":"Content Policy","first_paragraph":"You are about to publish your collection, keep in mind the following things:","second_paragraph":"You will not be able to add or delete items after you publish your collection.","third_paragraph":"You won\u2019t be able to change the name of the collection. Please ensure it\u2019s spelled correctly and doesn\u2019t violate intellectual property rights.","fourth_paragraph":"You will be able to see your items in the marketplace but they will be available for sale once the collection is validated by the DAO.","items_breakdown_title":"You are about to publish {count} {count, plural, one {item} other {items}}. The MANA fee for each collection goes to the Decentraland DAO, where it is used to support the growth of the community through grants, events, and prizes.","tos_title":"I hereby represent and warrant that:","tos_first_condition":"1: The submitted Wearable/s is in full compliance with the {terms_of_use} and {content_policy}, which I acknowledge and accept.","tos_second_condition":"2: I have sufficient Intellectual Property Rights over the submitted Wearable/s.","tos_third_condition":"3: I acknowledge that the DAO may refuse to mint the Wearable/s based on infringements to the Content Policy and Terms of Use. I also acknowledge that the proposal fee won\u2019t be reimbursed in case of rejection.","invalid_email":"The given email is not valid.","terms_of_use":"Terms of Use","content_policy":"Content Policy","accept_by_publishing":"By clicking Publish you are accepting our terms","not_enough_mana":"You don\'t have enough {symbol} to publish this collection.","get_mana":"You can get more using the {link} dapp.","unsynced_collection":"The collection you are trying to publish is different from the one we have in our servers. Please, refresh the browser and try again."},"publish_collection_modal_with_oracle":{"title":"Publish Collection","title_tos":"Content Policy","first_paragraph":"You are about to publish your collection, keep in mind the following things:","second_paragraph":"You will not be able to add or delete items after you publish your collection.","third_paragraph":"You won\u2019t be able to change the name of the collection. Please ensure it\u2019s spelled correctly and doesn\u2019t violate intellectual property rights.","fourth_paragraph":"You will be able to see your items in the marketplace but they will be available for sale once the collection is validated by the DAO.","items_breakdown_title":"You are about to publish a collection with {count} {count, plural, one {item} other {items}}. In order to support the growth of the community, there is a publication fee of {publicationFee} {currency} per item (paid in MANA) that goes to the DAO and the Curation Committee.","learn_more":"Learn more about the Publication Fee","estimate_notice":"* Total in MANA is calculated based on the current market prices. This value can slightly change when the transaction is executed.","qty_of_items":"Qty. of items","fee_per_item":"Fee per item","total_in_usd":"Total in {currency}","total_in_mana":"Total in MANA","rarities_error":"There was an error while trying to fetch the publication fees.","tos_title":"I hereby represent and warrant that:","tos_first_condition":"1: The submitted Wearable/s is in full compliance with the {terms_of_use} and {content_policy}, which I acknowledge and accept.","tos_second_condition":"2: I have sufficient Intellectual Property Rights over the submitted Wearable/s.","tos_third_condition":"3: I acknowledge that the DAO may refuse to mint the Wearable/s based on infringements to the Content Policy and Terms of Use. I also acknowledge that the proposal fee won\u2019t be reimbursed in case of rejection.","invalid_email":"The given email is not valid.","terms_of_use":"Terms of Use","content_policy":"Content Policy","accept_by_publishing":"By clicking Publish you are accepting our terms","not_enough_mana":"You don\'t have enough {symbol} to publish this collection.","get_mana":"You can get more using the {link} dapp.","unsynced_collection":"The collection you are trying to publish is different from the one we have in our servers. Please, refresh the browser and try again."},"publish_wizard_collection_modal":{"title_publish_collection":"Publish Collection","title_review_content_policy":"Review Content Policy","title_pay_publication_fee":"Pay the Publication Fee","title_congratulations":"Congratulations!","publish_failed":"Failed to publish","confirm_collection_name_step":{"title":"Confirm Collection Name","subtitle":"Collection names can\'t be modified after being sent in for review","description":"Make sure it doesn\'t have any typos, or contain any Intellectual Property you don\'t own (E.g Star Wars, Sailor Moon, etc)","collection_name_label":"Collection name","collection_name_confirmation_label":"Confirm Collection Name","collection_name_placeholder":"Your collection name","collection_names_different":"Collection name does not match","confirm_name":"Confirm Name"},"confirm_collection_items_step":{"title":"Confirm Items","subtitle":"Items cannot be added or deleted from a collection nor can their rarity be changed after publication.","description":"However, an item\'s name, description, category, and price can always be modified.","confirm_items":"Confirm Items"},"review_content_policy_step":{"title":"Before sending your collection for review, please confirm your acknowledgment of the following:","content_policy_first_condition":"I understand I won\'t be able to add or delete items, or modify the name of the collection after it is published, and I can attest that \\"{collection_name}\\" as a name doesn\'t violate any Intellectual Property rights.","terms_of_use":"Terms of Use","content_policy":"Content Policy","accept_terms_of_use":"I warrant that the submitted item(s) are in full compliance with the {terms_of_use_link} and {content_policy_link}, which I acknowledge and accept.","acknowledge_dao_terms":"I acknowledge that the DAO may refuse to approve the item(s) based on infringements to the {content_policy_link} and {terms_of_use_link}. I also acknowledge that the proposal fee won\'t be reimbursed in case of rejection since its purpose is to compensate curators for their time and work.","email_disclousure":"We need your email for future communications about this collection.","email_disclousure_detail":"We will only use this email for communications about this collection in particular.{enter}It won\'t be linked to your account.","email_newsletter":"Keep me in the loop! Use this email for Decentraland\'s weekly newsletter, updates, and contest news.","continue":"Continue"},"pay_publication_fee_step":{"title":"You are about to send your collection \\"{collection_name}\\" that includes {count} {count, plural, one {item} other {items}} for review.","subtitle":"In order to support the Curators Committee and the DAO treasury, there is a publication fee of {currency} {publicationFee} per item (paid in MANA).","learn_more":"Learn more about the Publication Fee","quantity":"Quantity","items":"{count} {count, plural, one {item} other {items}}","fee_per_item":"Fee per item","total_in_usd":"Total in {currency}","total_in_mana":"Total in MANA","pay":"Pay {value} MANA"},"congratulations_step":{"title":"Your collection is now available for curators to review.","subtitle":"Any feedback will be sent in the {forum_post} where you and anyone in the community will be able to comment.","description":"The collection will be published after it is approved by the Curation Committee. Since this is a manual process, it can take a few days. Your patience is appreciated.","forum_post":"Forum Post","view_forum_post":"View Forum Post"},"authorization":{"title_action":"publication","action":"publish collection","confirm_transaction_title":"Complete transaction to publish your collection","authorize_mana_description":"Keep in mind that some wallets require setting a custom MANA spending limit. Enter a fee price of {price} or a slightly higher amount to avoid transaction rejection due to price volatility. You can change the limit at any time.","set_cap_description":"Enter a fee price of {price} or a slightly higher amount to avoid transaction rejection due to price volatility. You can change the limit at any time.","insufficient_amount_error_message":"Remember to set a spending cap equal to the fee price {price} or higher to avoid being rejected due to price volatility. Revoke your current cap and try again."}},"publish_third_party_collection_modal":{"title":"Publish Linked Items","publish_description":"About to use {slotsToUse, plural, one {# slot} other {# slots}} from {availableSlots} available slots to publish \\"{collectionName}\\".","push_changes_description":"About to push changes to {itemsWithChanges, plural, one {# item} other {# items}} for \\"{collectionName}\\".","publish_and_push_changes_description":"About to use {slotsToUse, plural, one {# slot} other {# slots}} from {availableSlots} available slots to publish \\"{collectionName}\\" and changes will be pushed to {itemsWithChanges, plural, one {# item} other {# items}}."},"mint_items_modal":{"title":"Mint Items","add_item":"Add Item","limit_reached":"You can only mint {max} items per transaction","no_items":"You have no items available to mint for \\"{name}\\"","unsynced_warning":"Some items have changes that have not been approved yet.","next":"Next","total_items":"Total items to be minted","confirm_title":"You are about to mint {count} {count, plural, one {item} other {items}}, each item will be minted to the given address with the provided amount.","beneficiary":"Beneficiary"},"reset_item_modal":{"title":"Reset Changes","content":"The item is currently different from the one that has been previously approved by the committee. {br}The version you are seeing now does not correspond to the one visible in the marketplace and in the game. {br}You can push the changes for the committee to review this new version, or you can click on the confirm button to reset the item to it\'s original state."},"sell_collection_modal":{"put_for_sale":{"title":"Do you want to put this collection for sale?","description":"The collection will be available for purchase in the Decentraland Marketplace.","cta":"Put up for Sale"},"remove_from_marketplace":{"title":"Do you want to remove this collection from the Marketplace?","description":"The collection will no longer be available for purchase in the Decentraland Marketplace.","cta":"Remove from Marketplace"},"unsynced_warning":"Some items have changes that have not been approved yet."},"manage_collection_role_modal":{"manager":{"title":"Collaborators","subtitle":"If you collaborated with other creators when making this collection, enter their ETH address","add_new":"Add Collaborator","empty":"No collaborators yet, start by"},"minter":{"title":"Minters","subtitle":"Enter the ETH address you want to allow for minting your items","add_new":"Add Minter","empty":"No minters yet, start by"},"adding_one":"adding one!"},"push_collection_changes_modal":{"title":"Push Changes","description":"Changes have been made to the collection or the items contained by it since the last time a curator has reviewed them.{br}In order to have this changes reflected on the marketplace and in the game, they have to be reviewed and approved again by the committee.{br}Are you sure you want to push the changes for review?"},"see_in_world_modal":{"title":"See in Decentraland","subtitle":"Choose a location to try your items in Decentraland","genesis":{"title":"Genesis Plaza","subtitle":"Explore, jump and interact."},"empty_parcel":{"title":"Empty Parcel","subtitle":"Just run and jump. It loads faster."},"jump_in":"Jump In"},"collection_image":{"no_items":"No Items"},"collection_card":{"item_count":"{count} {count, plural, one {item} other {items}}","confirm_delete_content":"Are you sure you want to delete your collection \\"{name}\\"? This operation is not reversible","confirm_delete_header":"Delete \\"{name}\\""},"item_editor":{"open":"Open editor","top_panel":{"reviewed_counter":"Reviewed Wearables: {count}/{threshold}","items_pending_to_review":"There are items pending to review","not_enough_items_to_curate_more":"The collection doesn\'t have more items to curate","approve":"Approve","reject":"Reject","enable":"Enable","disable":"Disable","rejection_modal":{"discussion":"Discussion","forum_link":"Forum link","go_to_forum":"Please go to related forum discussion and let the creator know your decision.","veredict_explanation":"Can you tell us why?","visit_activity":"You can check your {activity_link} to monitor the transaction","reject_curation":{"title":"Reject Changes","subtitle":"I guess the changes are not good enough, huh?","action":"Reject"},"disable_collection":{"title":"Disable Collection","subtitle":"The collection will not be available anymore. Don\'t worry, you will be able to enable it again later.","tx_pending":"Waiting for the disable collection transaction to confirm","action":"Disable"}}},"left_panel":{"title":"My Items","title_alternative":"My Collections","actions":{"new_item":"New Item","new_collection":"New Collection","add_existing_item":"Add Existing Item","edit_name":"Edit Name"},"reviewed_tab":{"page_counter":"{pageStart}-{pageEnd} of {total} items"},"get_more_samples_modal":{"title":"Get More Samples","content":"This will replace the current samples and get {count} more randomly picked samples. You can always check previous samples in the {tabName} tab.","understood":"Understood","dont_show_again":"Don\'t show this message again."},"to_review":"To review","reviewed":"Reviewed","all_items":"All items","wearable":"Wearables","emote":"Emotes","get_random_sample":"Get Random Sample","reviewed_samples_bold":"Reviewed samples: {count}","reviewed_samples":"{reviewed_samples_bold}/{total}","items":"Items","collections":"Collections","items_count":"{count} items","invalid_representation_tooltip":"This item doesn\'t have a {bodyShape} representation","no_items_to_review":"No items left to review","empty_collection":"Empty collection, add some items first!"},"center_panel":{"disabled_animation_dropdown":"There needs to be at least one visible item in order to select an avatar animation","play_emote":"Play Emote","stop":"Stop","from_collection":"From Collection","from_items":"From Items","default":"Default"},"right_panel":{"properties":"Properties","details":"Details","basics":"Basics","overrides":"Overrides","overrides_info":"Overrides determine what other wearable categories and base body parts your item will hide. Just select them on the dropdown menu.","replaces":"Replaces","replaces_info":"When a user equips your item, any other items in the category you select will be unequipped. Users must reequip them after removing your item.","hides":"Hides","hides_info":"When a user equips your item, any other items in the category you select will stay equipped, but they won\'t be rendered. Users will only see their other items reappear after removing your item.","base_body":"Base body","base_body_info":"The elements you choose from the base body dropdown menu will be hidden.","wearables":"Wearables","wearables_info":"The elements you choose from the wearables dropdown menu will be hidden.","animation":"Animation","tags":"Tags","event_tag":"Use the {event_tag} tag if you want to include this item in the {event_name} event.","select_placeholder":"Select an option","request_for_changes":"Request for changes","request_for_changes_explanation":"If you want to make changes to {name} please ask a committee member for authorization in the forum","required_permissions":"Permissions"}},"video_showcase_modal":{"title":"Detailed Video of your Smart Wearable","back":"Back","edit":"Edit Video"},"emote":{"category":{"simple":"Simple","loop":"Loop","dance":"Dance","stunt":"Stunt","greetings":"Greetings","fun":"Fun","poses":"Poses","reactions":"Reactions","horror":"Horror","miscellaneous":"Miscellaneous"},"play_mode":{"simple":{"text":"Play Once","description":"Once triggered, the Emote will play once and return to the default pose."},"loop":{"text":"Loop","description":"Once triggered, the Emote will play in loop until the player moves."}}},"wearable":{"supply":"{formatted} {count, plural, one {unit} other {units}}","rarity":{"unique":"Unique","mythic":"Mythic","legendary":"Legendary","epic":"Epic","rare":"Rare","uncommon":"Uncommon","common":"Common"},"color":{"skin":"Skin color","eye":"Eye color","hair":"Hair color"},"category":{"body_shape":"Body Shape","earring":"Earring","eyebrows":"Eyebrows","eyes":"Eyes","eyewear":"Eyewear","facial_hair":"Facial Hair","feet":"Feet","hair":"Hair","hat":"Hat","head":"Head","helmet":"Helmet","lower_body":"Lower Body","mask":"Mask","mouth":"Mouth","tiara":"Tiara","top_head":"Top Head","upper_body":"Upper Body","skin":"Skin","hands":"Hands","hands_wear":"Handwear"}},"rarity_description":{"unique":"Grail-like: One-of-a-kind","mythic":"For the lucky few: max 10","legendary":"Limited supply: max 100","epic":"Max supply: 1000","rare":"Max supply: 5000","uncommon":"Max supply: 10,000","common":"Max supply: 100,000"},"time":{"hours":"{amount}h","minutes":"{amount}m","seconds":"{amount}s"},"analytics":{"users":"Weekly Users","sessions":"Weekly Sessions","median_session_time":"Med. Session Time","max_concurrent_users":"Peak Users","notice":"*Metrics are refreshed weekly every Monday"},"maintainance":{"notice":"We\'re currently under maintainance, we\'ll be back soon!"},"networks":{"ethereum":"Ethereum","matic":"Polygon"},"tokens":{"ethereum":"ETH","matic":"MATIC"},"toast":{"meta_transaction_failure":{"title":"Meta transaction","body":"There was an error sending the meta transaction.{br}Please try again or join our {discord_link} to get support."},"deploy_item_failure":{"title":"Error on Item","body":"Fail to upload the item \\"{itemName}\\" from \\"{collectionName}\\".{br}The item size is too big for the max size of {size}"},"third_party_action_failure":{"title":"Error","body":"Something went wrong... Please try again later."},"collection_detail_page":{"move_item_to_another_collection":{"title":"Item moved to another collection","body":"{item_name} has been moved to the {collection_name} collection.","cta":"View Collection"},"item_deleted":{"title":"Item Deleted","body":"{name} has been deleted."}}},"sagas":{"collection":{"invalid_character":"Invalid character! The \\":\\" is not allowed in names","missing_salt":"The collection has no salt","collection_locked":"The collection is locked"},"item":{"invalid_identity":"Invalid Identity","invalid_character":"Invalid character! The \\":\\" is not allowed in names or descriptions","cant_save_published":"Item should not be published to save it","not_published":"Item must be published","cant_save_without_collection":"Can\'t save a published item without a collection","not_found":"Not found","item_added_toast":{"title":"Item added!","body":"The item <b>{name}</b> was added to your collection. <br></br><collection-link>View Collection</collection-link>"}}},"status":{"under_review":"Under Review","loading":"Loading...","synced":"Synced","unsynced":"Unsynced"},"editor_preview":{"loading_unity":"Loading Unity...","loading_unity_error":"Please reload your browser. If the problem persist, try using a lighter scene or contact support."},"approval_flow":{"loading":{"title":"Loading...","subtitle":"Preparing collection for approval"},"rescue":{"title":"Approve Items","subtitle":"Please approve the items and their hashes","confirm":"Confirm","items_exceed_limit":{"title":"Collection exceeds the maximum number of items","content":"Multiple transactions will be made. Be aware that you\'ll be asked to sign them."}},"consume_slots":{"title":"Approve Items","subtitle":"Please approve the following items","more_items":"And {count} other {count, plural, one {item} other {items}}","confirm":"Confirm"},"upload":{"title":"Upload Files","subtitle":"Please upload the content of the items","confirm":"Upload"},"approve":{"title":"Enable Collection","subtitle":"Please enable the collection to be minted","confirm":"Enable"},"error":{"title":"Error","subtitle":"Something went wrong..."},"success":{"title":"Collection Approved!","subtitle":"Thank you for revieweing this collection"}},"event_banner":{"small":{"title":"Prepare for Metaverse Pride \'23","subtitle":"ADD THE TAG {event_tag} TO YOUR WEARABLES & EMOTES PROMOTING PRIDE, INCLUSIVITY, AND DIVERSITY IN THE METAVERSE TO GET THEM FEATURED IN A SPECIAL PRIDE TAB OF THE MARKETPLACE FOR THE BIG EVENT.","dates":"JUNE 27-29","information":"CELEBRATE DIVERSITY AND INCLUSIVITY IN THE METAVERSE"},"event_tag":"PRIDE23"},"campaign":{"name":"Metaverse Pride","tag":"PRIDE23"},"logged_in_detail_page":{"error_title":"An error ocurred while loading the detail page"},"hands_category_ftu":{"title":"Introducing Handwear","subtitle":"A new Wearable category for all your hand-enhancing creations","img_alt":"New Handwear category","description":"Update your hand Wearables to the new category in the Editor once you\u2019ve modified them accordingly. Please note, the Handwear category is for hand accessories or Wearables that replace hands with other functionally similar ones, not for items that are held.","action":"Learn more"},"migrate_to_sdk7_modal":{"use_legacy_builder":"Continue with legacy scene builder (SDK 6)","save_a_copy":"Save a copy of the original scene in SDK 6.","saving_copy":"Saving copy in SDK 6","migrating_scene":"Migrating scene to SDK 7","image_alt":"Migrate to SDK 7","info":{"title":"Upgrade Your Scene to SDK 7 with the New Decentraland Web Editor","subtitle":"<b>This scene is currently built with SDK 6, which will stop receiving support in a few months, but it can be automatically migrated to SDK 7.</b> All features from the previous Scene Builder are included, while smart items will be added in an upcoming update.","action":"Use decentraland web editor (SDK 7)"},"info_smart_items":{"title":"Upgrade Your Scene to SDK 7 with the New Decentraland Web Editor","subtitle":"<b>This scene is currently built with SDK 6, which will stop receiving support in a few months, and contains smart items</b>. If you choose to upgrade to SDK 7 using our improved visual editor, these smart items will be removed, as they are not yet supported.","action":"Use decentraland web editor (SDK 7)"},"migrate":{"title":"Automatic Migration to SDK 7","subtitle":"This scene is currently built with SDK 6 but can be <b>automatically migrated to SDK 7</b>. This will enhance your scene-building experience with our new and improved Web Editor. <br></br><br></br><b>Ready to upgrade?</b>","action":"Migrate now"},"migrate_smart_items":{"title":"Migration Options for Your Scene","subtitle":"Your scene contains <b>{smartItemsCount} Smart Items</b> which are currently only supported in SDK 6.<br></br>You can choose to migrate to SDK 7 by removing these items, or continue using the legacy Scene Builder until Smart Items are available for SDK 7 (coming soon).","action":"Migrate and remove smart items"}},"inspector":{"top_bar":{"back":"Back to your Scene","download":"Download scene","publish":"Publish scene","preview":"Preview scene"}}}')},3369:function(e){e.exports=JSON.parse('{"atlas":{"locate_land":"Localiza la siguente LAND","zoom_in":"Acercarse","zoom_out":"Alejarse"},"authorization_modal":{"title":"Autorizar {token}","description":"Para poder continuar deber\xe1s autorizar al contrato de {contract} a operar tus tokens de {token}. Esto solo debe realizarse una \xfanica vez.","authorize":"Autoriza al contrato de {contract_link} a operar {symbol} por t\xed","pending_tx":"Transaccion pendiente, haz click aqu\xed para ir a tu pantalla de actividad y ver m\xe1s informaci\xf3n"},"add_existing_item_modal":{"title":"Agregar Item","subtitle":"Selecciona un item que no pertenezca a ninguna colecci\xf3n"},"move_item_to_collection_modal":{"title":"Mover item a colecci\xf3n","subtitle":"Selecciona la colecci\xf3n a la que quieras mover el item","confirm":"Mover"},"move_item_to_another_collection_modal":{"title":"Mover item a otra colecci\xf3n","subtitle":"Selecciona la colecci\xf3n a la que quieras mover el item","confirm":"Mover","cancel":"Cancelar"},"asset_pack":{"confirm_delete":{"action":"Eliminar Asset Pack","back":"Volver","description":"Estas a punto de eliminar este Asset Pack. Esta acci\xf3n no se puede deshacer.","title":"\xbfEst\xe1s seguro?"},"default_name":"Mi Asset Pack","default_name_suffix":"Mi Asset Pack ({suffix})","edit_asset":{"action":"Continuar","action_skip":"Saltar revisi\xf3n","category":{"label":"categor\xeda"},"description_create":"Revisa tus assets, agrega etiquetas y m\xe1s","description_edit":"Revisa tus assets, agrega etiquetas y m\xe1s","errors":{"max_name_length":"El nombre del asset s\xf3lo puede contener un m\xe1ximo de {count} caracteres","min_name_length":"El nombre del asset debe contener al menos {count} caracteres","tag_count":"S\xf3lo puedes especificar un m\xe1ximo de {count} etiquetas"},"ground":{"label":"utilizar como suelo"},"name":{"label":"nombre","placeholder":"Nombre del Asset"},"tags":{"label":"etiquetas","placeholder":"p.ej. (exterior mueble piso)"},"title_edit":"Editar Asset Pack"},"edit_assetpack":{"action_add_items":"Agregar Assets","action_create":"Crear Asset Pack","action_delete":"Eliminar Asset Pack","action_edit":"Guardar Asset Pack","description_create":"\xa1Genial! Ponle un nombre \xfanico a tu Asset Pack.","description_edit":"Elige un nombre para tu Asset Pack. Haz click en un Asset para editarlo.","errors":{"max_title_length":"El titulo del Asset Pack s\xf3lo puede contener un m\xe1ximo de {count} caracteres","min_title_length":"El titulo del Asset Pack debe contener al menos {count} caracteres","thumbnail_size":"El tama\xf1o de la imagen debe ser menor a {size}"},"items":{"empty":"Este Asset Pack se encuentra vac\xedo","label":"{count} {count, plural, one {Asset} other {Assets}}"},"name":{"label":"nombre","placeholder":"Mi nuevo Asset Pack"},"reset":"Agregar nuevos Assets","title_edit":"Editar Asset Pack"},"exit":{"action":"Salir","back":"Volver","description_create":"Estas a punto de salir de la creaci\xf3n de tu Asset Pack \xbfQuieres continuar?","description_edit":"Estas a punto de salir de la edici\xf3n de tu Asset Pack \xbfQuieres continuar?","title_create":"\xbfEst\xe1s seguro?","title_edit":"\xbfEst\xe1s seguro?"},"import":{"action":"Importar Asset","action_many":"Importar {count} Assets","cta":"Arrastra el archivo ({accepted_extensions}) de tu Asset aqu\xed,{enter}o {action}","upload_manually":"buscalo en tu computadora","description_create":"Comienza a\xf1adiendo algunos assets a tu pack","description_edit":"A\xf1ade algunos assets m\xe1s a tu pack","loaded":"Asset importado correctamente","errors":{"duplicated":"Asset duplicado","duplicated_asset":"{name}: Ya existe un asset en este asset pack llamado \\"{existingAsset}\\" que tiene el id \\"{id}\\", por favor c\xe1mbiale el id a \\"{newAsset}\\" por uno diferente","invalid":"Asset inv\xe1lido","max_file_size":"{name}: El tama\xf1o del archivo excede el l\xedmite de {max}mb","missing_extension":"{name}: Extensi\xf3n de archivo no encontrada","missing_model":"{name}: Modelo 3D (.gltf or .glb) no encontrado","scene_file":"{name}: Escenas exportadas del Builder no estan permitidas"},"title_edit":"Editar Asset Pack"},"login":{"action":"Iniciar Sesi\xf3n","description_create":"Necesitas iniciar sesi\xf3n para crear un Asset Pack","description_edit":"Necesitas iniciar sesi\xf3n para editar un Asset Pack","title":"Iniciar Sesi\xf3n"},"new_asset_pack":"Nuevo Asset Pack","progress":{"creating_asset_pack":"Creando Asset Pack","updating_asset_pack":"Actualizando Asset Pack","uploading_contents":"Subiendo contenidos del Asset Pack"},"success":{"continue":"Continuar trabajando","description":"Tu Asset Pack fue subido exitosamente. Visita el listado de Asset Packs para comenzar a usarlo.","title":"\xa1Todo listo!"},"title_create":"Crear Asset Pack"},"banners":{"promo_subtitle":"\xa1Tus Asset Packs personales ahora disponibles en Decentraland!","promo_title":"Personaliza tu mundo","top_banner_action":"Descubre m\xe1s.","top_banner_left":"Septiembre 16-30 - S\xfamate a la creaci\xf3n con m\xe1s de $250k USD en premios para compartir.","top_banner_right":" "},"body_shapes":{"both":"Ambos","male":"Hombre","female":"Mujer"},"item_types":{"wearable":"Vestimenta","smart_wearable":"Vestimenta Interactiva"},"emotes":{"idle":"Inactivo","clap":"Aplaudir","dab":"Dab","dance":"Bailar","fashion":"Probar Ropa","fashion-2":"Chic","fashion-3":"Fashionista","fashion-4":"Spotlight","money":"Dinero","love":"Amor","head-explode":"Cabeza Explotando","fist-pump":"Bomba de pu\xf1o"},"create_collection_modal":{"title":"Nueva Colecci\xf3n","subtitle":"Ponle un nombre descriptivo a tu nueva colleci\xf3n","label":"Nombre de la colecci\xf3n","placeholder":"Mi colleci\xf3n","message":"El nombre puede tener un m\xe1ximo de {maxLength} caracteres","error_name_already_in_use":"Nombre en uso. Prueba uno diferente"},"create_third_party_collection_modal":{"title":"Nueva colleci\xf3n externa","subtitle":"Ponle un nombre descriptivo a tu nueva colleci\xf3n","third_party":{"label":"Colecci\xf3n Externa"},"name_field":{"label":"Nombre","message":"El nombre puede tener un m\xe1ximo de {maxLength} caracteres"},"urn_suffix_field":{"label":"Id","message":"Recomendamos incluir la direcci\xf3n del contrato de la colecci\xf3n como parte del id. Solo puede usar letras, n\xfameros y guiones (-)"}},"model_metrics":{"triangles":"{count} {count, plural, one {tri\xe1ngulo} other {tri\xe1ngulos}}","materials":"{count} {count, plural, one {material} other {materiales}}","textures":"{count} {count, plural, one {textura} other {texturas}}","sequences":"{count} {count, plural, one {sequence} other {sequences}}","duration":"{count} {count, plural, one {segundo} other {segundos}}","frames":"{count} {count, plural, one {fotograma} other {fotogramas}}","fps":"{count} fps"},"claim_ens_page":{"title":"Reclamar un nombre \xfanico","subtitle":"Se pueden asignar nombres \xfanicos a su avatar para usarlos como un alias, o se pueden asignar a parcelas y propiedades. {br} Asignar un nombre a una parcela o propiedad le permite crear una URL \xfanica, como {exampleLink}, por lo que f\xe1cilmente podr\xe1 enviar personas a su LAND. Cuando alguien siga su nueva URL, ser\xe1 redirigido a su LAND en {dclWorldLink}{br} Los nombres estan disponibles solo en Ethereum, y solo pueden ser reclamados con MANA de Ethereum {symbol}","world":"Decentraland!","name_label":"Nombre","name_message":"Los nombres no pueden exceder los 15 caracteres, contener espacios o incluir caracteres no alfanum\xe9ricos.","name_placeholder":"Tu nombre va aqu\xed","repeated_message":"Este nombre no esta disponible.","error_message":"Hay un error de red. Vuelve a intentarlo.","radio_label":"MANA aprobado","claim_button":"Reclama","need_mana_message":"Autoriza el contrato {contract_link} a operar MANA en tu nombre","mana_not_allowed":"Debes autorizar suficiente MANA para reclamar un nuevo nombre","not_enough_mana":"No tienes suficiente MANA para reclamar un nuevo nombre"},"create_single_item_modal":{"title":"Nuevo item","thumbnail_step_title":"Editar el thumbnail","upload_video_step_title":"Sube un video para tu vestimenta inteligente","title_emote":"Nueva Animaci\xf3n","add_representation":"Agregar representaci\xf3n de {bodyShape}","wrong_thumbnail_format":"El thumbnail provisto no es una imagen PNG","name_label":"Ponle un nombre a tu item","category_label":"Cu\xe1l es la categor\xeda de este item?","category_placeholder":"Selecciona una categoria","play_mode_label":"Modo de ejecuci\xf3n","play_mode_placeholder":"Selecciona un modo de ejecuci\xf3n","upload_video_label":"Mostrar a los usuarios una vista previa de c\xf3mo usar este elemento","upload_video_placeholder":"Seleccione un video","rarity_label":"Cu\xe1l es la rareza de este item?","rarity_placeholder":"Selecciona una rareza","representation_label":"Selecciona el tipo de cuerpo para tu item","existing_item":"Es parte de un item existente?","pick_item":"Elige un item que no sea para un cuerpo con {bodyShape}","adding_representation":"Esto ser\xe1 agregado como {bodyShape} para el siguiente item","change_item_file":"Editar representaci\xf3n","upload_video_information":"Tama\xf1o m\xe1ximo de archivo {max_size} - Duraci\xf3n m\xe1xima {max_duration} segundos","error":{"item_too_big":"El item entero es demasiado grande para cargarlo. El tama\xf1o m\xe1ximo de todos los archivos es {size}.","file_too_big":"{title}.{enter}El l\xedmite m\xe1ximo de tama\xf1o de archivo es {size}. Reduzca el tama\xf1o del archivo e intente nuevamente.","file_too_big_title":"El archivo es demasiado grande y no se puede cargar","thumbnail_file_too_big":"El archivo thumbnail es demasiado grande para cargarlo. El tama\xf1o maximo es {size}.","wrong_extension":"El archivo tiene una extensi\xf3n inv\xe1lida.","invalid_files":"Los archivos parecen no ser v\xe1lidos o estar da\xf1ados. Por favor rev\xedselos y vuelva a intentarlo.","missing_model_file":"No se pudo encontrar un archivo de modelo v\xe1lido.","invalid_content_path":"La ruta \\"{path}\\" es inv\xe1lida para la propiedad \\"{name}\\", el archivo no existe.","invalid_enum_value":"Valor inv\xe1lido \\"{value}\\" para la propiedad \\"{name}\\", valores posibles: {values}.","invalid_model_files_representation":"El archivo parece tener m\xe1s de una representaci\xf3n. Por favor rev\xedselas y vuelva a intentarlo.","emote_duration_too_long":".{enter}La duraci\xf3n de los emoticones tiene un l\xedmite de {duration} segundos.{enter}Reduce la duraci\xf3n del emote e intente nuevamente.","emote_duration_too_long_title":"El emote supera la duraci\xf3n m\xe1xima en segundos","invalid_model_file_type":"El archivo tiene una representaci\xf3n inv\xe1lida para este {type}. Por favor rev\xedselo y vuelva a intentarlo.","wrong_video_format":"El video provisto no es un video MP4","unknown_required_permissions":{"title":"{count, plural, one {El permiso} other {Los permisos}} {wrong_configurations} de la vestimenta interactiva no {count, plural, one {existe} other {existen}}. Por favor, corrija el archivo \'scene.json\'.","message":"Para obtener {learn_more}, consulte la documentaci\xf3n."},"duplicated_required_permissions":{"title":"{count, plural, one {El permiso} other {Los permisos}} {wrong_configurations} {count, plural, one {est\xe1 duplicado} other {est\xe1n duplicados}}. Por favor, corrija el archivo \'scene.json\'.","message":"Para obtener {learn_more}, consulte la documentaci\xf3n."},"missing_required_properties":{"title":"{count, plural, one {La propiedad} other {Las propiedades}} {wrong_configurations} no {count, plural, one {est\xe1} other {est\xe1n}} configuradas. Por favor, corrija el archivo \'scene.json\'.","message":"Para obtener {learn_more}, consulte la documentaci\xf3n."},"allowed_media_hostnames_empty_or_invalid":{"title":"Dado que el permiso \'ALLOW_MEDIA_HOSTNAMES\' est\xe1 configurado, la propiedad \'allowedMediaHostnames\' debe ser configurada y no puede ser vac\xeda. Por favor, corrija el archivo \'scene.json\'.","message":"Para obtener {learn_more}, consulte la documentaci\xf3n."},"item_not_allowed_in_third_party_collections":"Este tipo {tipo} no est\xe1 permitido en colecciones externas","emote_animations_sync_error":"<b>Las longitudes de las animaciones del avatar y de las props no son iguales</b><br></br>Corrija su animaci\xf3n y vuelva a subirla para una sincronizaci\xf3n perfecta.","emote_with_mesh":"<b>Su archivo incluye el mesh del Avatar.</b><br></br>Esta malla no es necesaria para este proceso. Por favor, simplemente vuelva a exportarlo y vuelva a subirlo para continuar."},"emote_notice":"Las animaciones estan disponibles para todos los cuerpos.","smart_wearable_details_title":"Completa los detalles de tu vestimenta interactiva","smart_wearable_permissions_label":"Permisos de la vestimenta interactiva","smart_wearable_notice":"Recuerde que la vestimenta interactiva est\xe1 disponibles para todos los cuerpos.","thumbnail_preview_title":"Thumbnail","video_preview_title":"Detalle de video"},"create_and_edit_multiple_items_modal":{"create":{"title":"Crea multiples items","successful_title":"Items creados","cancelled_title":"Creaci\xf3n de m\xfaltiples items cancelada","failed_title":"Creaci\xf3n de m\xfaltiples items fallida","finished_successfully_subtitle":"Excelente! Agregaste {number_of_items} items","finished_partial_successfully_subtitle":"Agregaste {number_of_items} items pero {number_of_failed_items} fallaron","saved_items_table_title":"Items guardados"},"edit":{"title":"Editar multiples items","subtitle":"Para poder editar un item existente, use la misma URN","successful_title":"Items editados","cancelled_title":"Edici\xf3n de m\xfaltiples items cancelada","failed_title":"Edici\xf3n de m\xfaltiples items fallida","finished_successfully_subtitle":"Excelente! Editaste {number_of_items} items","finished_partial_successfully_subtitle":"Agregaste {number_of_items} items pero {number_of_failed_items} fallaron. Por favor revise las URNs subidas","saved_items_table_title":"Items actualizados"},"wrong_thumbnail_format":"El archivo thumbnail.png no tiene el formato de una imagen PNG.","wrong_file_extension":"La extensi\xf3n del artchivo no es correcta.","wearable_file_not_found":"El archivo wearable.json no se encontr\xf3.","thumbnail_file_not_generated":"El archivo thumbnail.png no pudo ser generado.","saved_items_table_title":"Items salvados","not_saved_items_table_title":"Invalid items","cancelled_items_table_title":"Cancelled items","invalid_urn":"El archivo wearable.json contiene una URN inv\xe1lida para esta colecci\xf3n","invalid_title":"INVALIDOS","valid_title":"VALIDOS","add_more_button":"Agregar m\xe1s","upload_items_button":"Subir items","only_valid_items_info":"S\xf3lo los items v\xe1lidos ser\xe1n subidos","done_button":"Listo","importing_files_progress_label":"Procesando items","uploading_items_progress_label":"Subiendo {number_of_items} items","import_information_link_label":"haz click aqu\xed","import_information":"Para m\xe1s informaci\xf3n sobre la estructura del ZIP {link}"},"create_items_modal":{"title":"Nuevo item","subtitle":"Selecciona el mecanismo para crear tus items.","single_item_button_name":"Un solo item","single_item_button_description":"Sube archivos GLTF, GLB, PNG o ZIP con el contenido del item.","multiple_items_button_name":"M\xfaltiples items","multiple_items_button_description":"Sube m\xfaltiples archivos ZIP con el contenido de los items."},"edit_collection_name_modal":{"title":"Editar Nombre","subtitle":"Escribe un nuevo nombre para esta colecci\xf3n","submit":"Guardar"},"edit_urn_modal":{"title":"Editar URN","subtitle":"Actualizar el URN para {name}"},"custom_layout_modal":{"subtitle_one":"Puedes crear dise\xf1os personalizados para tu Escena.","subtitle_two":"Ingresa los valores debajo para ajustar el tama\xf1o."},"share_modal":{"title":"Comparte tu Escena","description":"Deja que tus amigos y co-creadores vean tu trabajo","copy":"Copiar enlace","copied":"Copiado","uri":{"facebook":"https://www.facebook.com/sharer/sharer.php?u={url}&description=\xa1Presentando mi \xfaltima creaci\xf3n, ahora vivo en Decentraland! M\xedrala a continuaci\xf3n y luego ay\xfadame a construir el Metaverso agregando las tuyas.","twitter":"https://twitter.com/intent/tweet?text=Acabo de agregar un nuevo dise\xf1o a Decentraland a trav\xe9s del Builder. M\xedrala a continuaci\xf3n y luego crea el tuyo propio. \xa1El mundo virtual no se va a construir solo! {url}&hashtags=builder,virtualworld,gaming"}},"deployment_status":{"online":"Publicado en {coords}","online_multiple":"Publicado en {count} ubicaciones","needs_sync":"Publicado en {coords} pero est\xe1 desactualizado","needs_sync_multiple":"{count} {count, plural, one {escena est\xe1 desactualizada} other {escenas estan desactualizadas}}"},"deployment_modal":{"clear":{"confirmation":{"action":"Despublicar","description":"Est\xe1s a punto de despublicar \\"{project}\\" de {location}","title":"Despublicar Escena"},"connect":{"description":"Conecta to Wallet para despublicar to Escena.","title":"Conecta tu wallet"},"success":{"continue":"OK","description":"{asset} para publicar una nueva Escena!","title":"\xa1Todo listo!","land":"La tierra ya esta despejada y lista","world":"El mundo ya esta despejado y listo"},"progress":{"title":"Despublicar Escena","description":"Por favor, espere mientras su escena se despublica"}},"description":"Sube to Escena a tu LAND o aplica por un permiso para que due\xf1os de LAND lo hagan por t\xed.","land":{"confirmation":{"action":"Publicar","description":"Estas publicando la siguiente Escena en tu LAND:","location_label":"Publicada en","size_label":"Tama\xf1o","title_label":"T\xedtulo"},"connect":{"description":"Conecta tu wallet para continuar.","title":"Publica la Escena"},"map":{"continue":"Continuar","no_land_action":"Sube tu Escena al Pool","no_land_warning":"Parece que no posees LAND","occupied_tooltip":"Libera espacio de tu LAND{br}Despublica la Escena desde el dashboard","occupied_warning":"Al menos una Escena ya est\xe1 publicada en esta ubicaci\xf3n","placement_active":"Colocando una Escena de {count} LAND en {x},{y}","placement_default":"Selecciona las LANDs donde publicar\xe1s tu Escena","reset":"Restablecer","title":"Publica la Escena"},"progress":{"creating_files":{"description":"Por favor espera mientras se generan los archivos para ser subidos.","title":"Creando Archivos"},"recording":{"description":"Por Favor espera mientras se captura una previsualizaci\xf3n de tu Escena.","title":"Capturando previsualizaci\xf3n"},"uploading_assets":{"description":"Por favor espera mientras tu Escena es subida.","title":"Subiendo Escena al Metaverso"},"uploading_recording":{"description":"Por favor espera mientras la previsualizaci\xf3n de tu Escena es subida.","title":"Subiendo previsualizaci\xf3n"}},"success":{"jump_in":"Ingresar","continue":"Continuar trabajando","description":"\xa1Tu Escena ha sido publicada!","title":"\xa1Listo!"},"empty":{"title":"No eres due\xf1o de ninguna tierra","description":"<b>Compre su propia tierra o alquile durante un per\xedodo</b><br></br>Tu escena es {landSize}, aseg\xfarese de obtener {dimension, plural, one {una tierra} other {un estado}} que sea igual o m\xe1s grande que eso.","buy_land":"Comprar tierra","rent_land":"Alquilar tierra"},"not_enough_land":{"title":"Esta escena es m\xe1s grande que tu tierra","description":"Esta escena requiere un \xe1rea de {cols} x {rows} parcelas. Aseg\xfarese de que sus tierras sean iguales o m\xe1s grandes que esta para acomodar esta escena. Tenga en cuenta que esta escena podr\xeda ser perfecta para un mundo.","publish_world":"Publicar en mi mundo","return_scenes":"Volver a las escenas","claim_name":"Obtene tu nombre \xfanico para un mundo gratis"},"title":"Publicar Escena"},"option_land":{"action":"Publicar a LAND","description":"Publica tu Escena en tu LAND o Estate.","title":"Mi LAND"},"option_pool":{"action":"Aplicar","description":"Aplica para que tu Escena sea publicada en una LAND que pertenece a otros.","title":"Pool de Escenas"},"pool":{"action":"Enviar","contact_information":"Informaci\xf3n de contacto","i_accept_the":"Al hacer click sobre \\"enviar\\" aceptas recibir noticias de Decentraland","progress":"Procesando","sign_in":{"action":"Iniciar Sesi\xf3n","subtitle":"Necesitas iniciar sesi\xf3n para publicar tu Escena","title":"Iniciar Sesi\xf3n"},"subtitle":"Su escena est\xe1 a punto de cargarse en el grupo de la comunidad, lo que significa que cualquiera puede usarla.","success":{"body":"Se incluir\xe1 en nuestra galer\xeda de escenas p\xfablicas para cualquier persona interesada en usarla.\xa1Gracias por tu contribuci\xf3n!","title":"\xa1Tu escena ahora es parte del grupo de escenas!"},"title":"Publica tu Escena","uploading":"Subiendo..."},"deploy_world":{"title":"Publicar en tu mundo","description":"Seleccione un nombre Decentraland o un nombre ENS que definir\xe1 la URL","action":"Publicar","world_label":"Nombre (mundo)","world_placeholder":"Seleccione un nombre","back":"Volver a elegir donde publicar","close":"Cerrar modal publicaci\xf3n","claim_name":"Obtener un nombre","empty_state_title":"No tiene ning\xfan mundo disponible","empty_state_description":"<b>Obtenga un mundo gratis cuando tenga un nombre</b>.<br></br>Cada nombre le otorga acceso a un mundo. Puedes tener tantos como quieras.","name_type":{"dcl":"Nombre","ens":"Nombres de ENS"},"success":{"title":"Tu escena ha sido publicada!","subtitle":"Ahora puedes explorar y jugar en tu Mundo:","jump_in":"Ingresar","share_in_twitter":"Compartir en Twitter","share_in_twitter_text":"Acabo de publicar contenido nuevo en mi mundo\u2728\\n\\nVisitalo en:\\n\ud83d\udccd"},"failure":{"title":"Algo sali\xf3 mal","subtitle":"No pudimos publicar tu escena","subtitle_size_error":"The scene is too big to be published in a World.<br></br>The maximum size is <b>{maxSizeMbs} mbs</b>, but the current scene is <b>{deployedSizedMbs} mbs</b> large."},"world_url_description":"La URL para ingresar en tu mundo ser\xe1:<br></br><b>{world_url}</b>","world_has_content":"El contenido existente en {world} mundo se reemplazar\xe1 con el nuevo contenido que est\xe1 a punto de publicar.","confirm_world_replace_content":"Entiendo que esta acci\xf3n es irreversible","scene_information":"Informaci\xf3n de escena"},"title":"Publicar Escena {sceneName}","subtitle":"Elige donde quer\xe9s subir esta escena:","learn_more":"M\xe1s informaci\xf3n","options":{"world":{"title":"Mi Mundo","description":"No se puede encontrar en el mapa de Genesis City.<br></br>Hasta 100 usuarios pueden unirse al mismo tiempo.","action":"Publicar en el mundo"},"land":{"title":"Mi Tierra","description":"Se puede encontrar en el mapa de Genesis City.<br></br>Un n\xfamero ilimitado de usuarios pueden unirse al mismo tiempo.","action":"Publicar en la tierra"},"pool":{"title":"Subir al grupo de escenas","description":"Tu escena aparecer\xe1 en una galer\xeda de escenas y estar\xe1 disponible p\xfablicamente para su descarga.","action":"Subir al grupo de escenas"}}},"deploy_to_world_announcement_modal":{"title":"Ahora puedes publicar<br></br>tus escenas a los mundos","description":"Cree su escena con el constructor y publ\xedquela en un mundo en unos pocos clics.","create_scene":"Crear Escena"},"templates_announcement_modal":{"title":"Ampl\xede su creatividad con plantillas y el grupo de escenas comunitarias","description":"De ahora en adelante puede comenzar a descargar y usar plantillas y escenas del grupo de la comunidad.\xa1Deja que tu imaginaci\xf3n moldee tus Mundos y Tierras!","go_to_scenes":"Ir a mis escenas"},"smart_wearables_announcement_modal":{"title":"\xa1La vestimenta interactiva ya est\xe1 disponible! \ud83d\udfe2","description":"<b>Lleva la Vestimenta al siguiente nivel con Experiencias Port\xe1tiles</b><br></br>Monetiza tus Experiencias Port\xe1tiles a trav\xe9s de la Vestimenta Interactiva y ampl\xeda la usabilidad de la Vestimenta ofreciendo a los jugadores nuevas habilidades (\xa1como volar!) o una capa adicional de contenido superpuesto en escenas de Decentraland.","learn_more":"M\xe1s informaci\xf3n sobre la vestimenta interactiva"},"emotes_v2_announcement_modal":{"title":"\xa1Los emotes 2.0 estan disponibles! \ud83d\udfe2","description":"<b>\xa1Los emotes ahora ofrecen m\xe1s que movimiento!</b><br></br>Aproveche estas capacidades extendidas y mejore sus emotes con accesorios y sonidos para una experiencia m\xe1s expresiva.","learn_more":"Obtenga m\xe1s informaci\xf3n sobre Emotes"},"use_as_alias_modal":{"title":"Establece un nombre a tu avatar","subtitle":"Establece un nuevo alias para tu avatar","body":"Usa {newName} como el nuevo alias de tu avatar. \xa1Los nombres \xfanicos son una excelente manera de ayudar a tus amigos a encontrarte en Metaverso! Esto reemplazar\xe1 a {oldName}.","success":"{name} es tu nuevo alias en el Metaverso! Deja que otras personas vean tu nuevo nombre cuando visiten el mundo.","error":"Algo sali\xf3 mal... Vuelve a intentarlo m\xe1s tarde."},"deployment_contest_modal":{"action":"\xdanete al Contest","submit":{"title":"Creator Contest","subtitle":"Gana hasta 200 MANA (  \u0334$5 USD) por cada escena que envies al Creator Contest. \xa1Puedes enviar hasta 20!.","eth_address":"Direcci\xf3n ETH (optional)","invalid_eth_address":"Direcci\xf3n ETH inv\xe1lida"},"recording":{"title":"Preparando tu escena","subtitle":"Estamos preparando su escena para el concurso, por favor espere."},"uploading":{"title":"Preparando tu escena","subtitle":"Estamos preparando su escena para el concurso, por favor espere."},"success":{"title":"\xa1Gracias por subir tu escena!","subtitle":"Recibiras una notificaci\xf3n por correo electr\xf3nico si se selecciona tu escena."},"sign_in":{"title":"Inicia sesi\xf3n","subtitle":"Debes iniciar sesi\xf3n antes de enviar tu escena al concurso."}},"dissolve_modal":{"title":"Disolver Estate","confirm":"Est\xe1s por disolver a {name}. Deseas continuar?","too_big":"Este Estate es muy grane para ser disuelto en una transacci\xf3n. Por favor remueve parcelas hasta que tenga como m\xe1ximo un tama\xf1o de {max} parcelas."},"edit_project_modal":{"custom_layout_label":"Dimensiones","title":"Detalles de la Escena","unpublish_needed":"Por favor Despublica tu Escena antes de actualizar los detalles de la misma"},"ens_list_page":{"table":{"name":"Nombre","link":"Enlace","assigned_to":"Asignado a"},"assigned_to_land":"Tierra ({landId})","assigned_to_estate":"Estate ({landId})","button":{"assign":"Usar como link","edit":"Editar link","use_as_alias":"Usar como alias"},"empty_names":"No tienes ningun nombre a\xfan.{br} {link} para comenzar.","items":"{count} {count, plural, one {resultado} other {resultados}}","alias_popup":"Este nombre est\xe1 siendo usado por tu perfil pero igual puede ser asignado","not_profile_created":"Primero necesitas entrar en el mundo antes de asignar un alias."},"worlds_list_page":{"table":{"name":"NOMBRE","url":"URL","published_scene":"Escena Publicada","publish_scene":"Publicar Escena","edit_scene":"Editar Escena","status":"Estado","status_active":"Activo","status_inactive":"Inactivo","actions":"Acciones","empty_url":"Para activar este mundo, necesitas publicar una escena"},"empty_list":{"title":"Obtenga un mundo gratis cuando tenga un nombre","description":"Cada nombre le otorga acceso a un Mundo, <b>su espacio 3D personal en el metaverso</b> donde le puede dar forma como quiera e invitar hasta 100 personas a visitar su espacio.","cta":"Reclamar un nuevo Nombre"},"name_tabs":{"dcl_names":"Nombres de Decentraland","ens_names":"Nombre de ENS"},"worlds_storage":{"space_used":"Espacio utilizado","view_details":"ver detalles"}},"error_page":{"or":"o intentar","reload":"recargar la p\xe1gina","subtitle":"Ocurri\xf3 un error, esto es todo lo que sabemos:","support":"Contactar soporte","title":"Oops"},"estate_editor":{"title_edit":"Editar Estate","subtitle_edit":"Haz click para agregar o remover parcelaas","title_create":"Construir Estate","subtitle_create":"Haz click en parcelas adjacentes para construir to Estate","subtitle_form":"Escribe un nombre y descripci\xf3n para tu Estate","name_label":"Nombre","name_placeholder":"Mi Estate...","description_label":"Descripci\xf3n","description_placeholder":"Alguna descripci\xf3n...","add_limit_reached":"Puedes agregar un m\xe1ximo de {max} parcelas a la vez","remove_limit_reached":"Puedes remover un m\xe1ximo de {max} parcelas a la vez","needs_two_txs":"Este cambio enviar\xe1 dos transacciones: una para agregar {toAdd} {toAdd, plural, one {parcel} other {parcels}} y otra para remover {toRemove} {toRemove, plural, one {parcel} other {parcels}}"},"export_modal":{"action":"Descargar escena","docs":"\xbfQu\xe9 es el SDK de Decentraland?","description":"Transicione sin problemas del constructor al SDK para una escena m\xe1s interactiva y personalizada.Tenga en cuenta que tiene la opci\xf3n de descargar escenas del grupo de escenas y plantillas y cargarlo en diferentes cuentas.","loading":"Descargando...","title":"Descargue escenas y cree con un mayor nivel de complejidad."},"global":{"avatar":"Avatar","activity":"Actividad","approved_tx":"Aprobada","back":"volver","blog_post":"blog post","amount":"Cantidad","cancel":"Cancelar","coming_soon":"Pr\xf3ximamente","confirm":"Confirmar","copied":"Copiado!","add":"Agregar","buy":"Comprar","continue":"Continuar","create":"Crear","dismiss":"Descartar","done":"OK","email":"email","error_ocurred":"Ha ocurrido un error","eth_address":"ETH address","finish":"Finalizar","free":"Gratis","here":"aqu\xed","item":"Item","learn_more":"M\xe1s informaci\xf3n","loading":"Cargando","mint":"Crear","new":"Nuevo","new_scene":"Nueva escena","delete":"Borrar","edit":"Editar","next":"siguiente","optional":"opcional","or":"o","project":"Escena","read_more":"Leer m\xe1s","retry_tx":"Re Enviar","reload":"Recargar","save":"Salvar","skip":"Saltar","send":"Enviar","see_in_decentraland":"Ver en Decentraland","share":"Compartir","sign_in_required":"Debes {link} para acceder a esta p\xe1gina.","sign_in":"Iniciar sesi\xf3n","sign_up":"Suscribirse","submit":"Enviar","subscribe":"Subscribirse","terms_and_conditions":"T\xe9rminos y Condiciones","view_more":"Ver M\xe1s","click_here":"Has click aqu\xed","proceed":"Proceder","open_in_editor":"Abrir en el editor","address":"Direcci\xf3n","balance":"Balance","balances":"Balances","revoke":"Revocar","set":"Establecer","settings":"Ajustes","yes":"Si","no":"No","name":"Nombre","category":"Categor\xeda","rarity":"Rareza","body_shape":"Cuerpo","body_shape_plural":"Cuerpos","size":"Tama\xf1o","hash":"Hash","publish":"Publicar","published":"Publicado","description":"Descripci\xf3n","urn":"URN","order":{"newest":"Reciente","oldest":"Antig\xfco","name_asc":"Nombre \u2191","name_desc":"Nombre \u2193","updated_at_asc":"\xdaltima actualizaci\xf3n \u2191","updated_at_desc":"\xdaltima actualizaci\xf3n \u2193"},"total":"Total","parcel_plural":"Parcelas","estate_plural":"Estates","role":"Rol","none":"Ninguno","emote":"Animaci\xf3n"},"roles":{"1":"Due\xf1o","2":"Due\xf1o","3":"Arrendador","4":"Inquilino"},"navigation":{"overview":"Overview","scenes":"Escenas","land":"Tierras","collections":"Colecciones","names":"Nombres","worlds":"Mundos","curation":"Curado"},"list":{"two":"{first} y {second}","three":"{first}, {second} y {third}","more":"{count} m\xe1s"},"home_page":{"title":"\xa1Construyamos juntos el Metaverso!","collections":{"card_title":"Colecciones","card_description":"Crear, tener una vista previa y publicar colecciones de wearables y emotes.","cta_label":"Gestionar colecciones"},"scenes":{"card_title":"Escenas","card_description":"Crear tu espacio en tu TIERRA. Puede usar los modelos 3D gratuitos o subir los suyos propios.","cta_label":"Crear escenas"},"land":{"card_title":"Tierras","card_description":"Publicar escenas, crear estates y gestionar permisos de sus tierras.","cta_label":"Gestionar su tierra"},"names":{"card_title":"Nombres","card_description":"Reclama tu nombre unico y asignalo a tu avatar o a parcelas.","cta_label":"Reclamar nombre"}},"scenes_page":{"my_scenes":"Mis Escenas","upload_scene":"Subir Escene","create_scene":"Crear Escene","no_projects":"Puede publicar sus escenas en su LAND, sus mundos o cargarlas en el Pool de escenas.{br}Alternativamente, tambi\xe9n puede <link>cargar un archivo de escena</link> y continuar trabajando desde all\xed.","no_projects_guest":"Tus Escenas fueron subidas a la Nube{br}{sign_in} para verlas.","sdk6_support":"El soporte t\xe9cnico para SDK 6 finalizar\xe1 el 23 de diciembre de 2023.","project_actions":{"delete_project":"Borrar Escena","duplicate_project":"Duplicar Escena","export_project":"Descargar Escena","unpublish":"Despublicar"},"choose_scene_creation":"Elija la mejor opci\xf3n para construir su escena","no_scenes":{"title":"Crea tu primera escena","description":"Desata tu creatividad. Comienza a construir escenas para sus tierras y mundos y comparta con la comunidad.<a> Aprenda m\xe1s sobre c\xf3mo crear escenas. </a>","from_scratch":{"title":"Empezar desde el principio","description":"Comience a construir sus escenas desde cero con el constructor en l\xednea de una manera simple e intuitiva."},"from_template":{"title":"Use plantillas predefinidas","description":"Elija una de estas plantillas pulidas y lance una escena incre\xedble con solo unos pocos clics!"}},"sort":{"name":"Nombre","newest":"M\xe1s Nuevas","size":"Tama\xf1o"},"start":"Comenzar","subtitle":"Con herramientas simples y cientos de objetos 3D a tu disposici\xf3n, el Builder hace que crear sea divertido. \xa1Libera tu creatividad!","templates_title":"Escoge el tama\xf1o de tu Escena para comenzar","title":"\xa1Construye algo genial!","migration":"Necesitas {link} tus Escenas","migration_link":"migrar","migration_banner":"El Builder ha comenzado a utilizar billeteras en lugar de emails. Usa la {link} para migrar tus escenas.","migration_banner_link":"P\xe1gina de Migraci\xf3n","migration_modal_title":"Migraci\xf3n exitosa!","migration_modal_message":"Los siguientes datos han sido migrados:","migration_modal_dismiss":"Aceptar","results":"{count} {count, plural, one {resultado} other {resultados}}","from_scene_pool":"De La Comunidad"},"templates_page":{"title":"Elija una plantilla","back_to_scenes":"Volver a las escenas","parcels":"{size} parcelas","coming_soon":"Muy pronto"},"import_modal":{"action":"Cargar","action_many":"Cargar {count} Escenas","cta":"Arrastra un archivo .zip o {action}","description":"Para transferir escenas entre diferentes cuentas o cargar una escena previamente descargada desde el grupo de escenas, utilice la funci\xf3n de carga. Aseg\xfarese de cargar el archivo zip exactamente como se descarg\xf3.","invalid_file":"Archivo inv\xe1lido","title":"Cargar Escena","upload_manually":"buscarlo en su computadora"},"upload_video":{"cta":"Arrastre y suelte un video (formato .MP4) para mostrar la funcionalidad port\xe1til inteligente o {acci\xf3n}","upload_manually":"buscarlo en su computadora","error":{"video_file_too_big":{"title":"El archivo es demasiado grande y no se puede cargar.","message":"El l\xedmite de tama\xf1o del archivo es {tama\xf1o}. Por favor reduzca el tama\xf1o del archivo y vuelva a intentarlo."},"video_file_too_long":{"title":"La duraci\xf3n del video excede {max_duration} segundos.","message":"Por favor reduce la duraci\xf3n e int\xe9ntalo de nuevo."},"invalid_video":{"title":"Parece que el video no es v\xe1lido o est\xe1 roto.","message":"Por favor revisa tu archivo y vuelve a intentarlo."}}},"itemdrawer":{"opensea_credit":"Impulsado por {link}","edit_asset_pack":"Editar","empty_ground":"Sin piso","no_results":"Sin resultados","results":"Resultados","search":"Buscar Assets","title":"Asset Packs","search_items":"Buscar objetos"},"item_dropdown":{"placeholder":"Selecciona un item","no_items":"No hay items validos"},"collection_dropdown":{"placeholder":"Selecciona una colecci\xf3n","no_collections":"No hay colecciones v\xe1lidas"},"layout_picker":{"columns":"columnas","rows":"filas"},"metrics":{"bodies":"cuerpos","entities":"entidades","height":"altura","materials":"materiales","meshes":"meshes","textures":"texturas","too_many":"Demasiados {metric}","triangles":"tri\xe1ngulos"},"video_stats":{"seconds":"{seconds} {seconds, plural, one {segundo} other {segundos}}","size":"{size} MB"},"mobile_page":{"desktop_too_narrow":"\xa1El Builder no funciona con esta resoluci\xf3n! Intenta agrandando la ventana si puedes.","gallery_title":"Esto es lo que se est\xe1 costruyendo","learn_more":"Aprende m\xe1s acerca del Builder","message":"El Builder a\xfan no funciona en dispositivos m\xf3viles. Suscribete para recibir actualizaciones y pruebalo en tu PC.","reminder_body":"\xa1Ey!\\n\\n\xa1Al parecer has intentado utilizar el Builder desde un dispositivo movil!\\nEl Builder solo funciona en computadoras de escritorio y notebooks. Cuando estes listo ingresa a https://builder.decentraland.org\\n\\n\xa1Que lo disfrutes!\\n\\nEl equipo de Decentraland","reminder_subject":"Recordatorio: Probar el Builder de Decentraland","secondary_hero":{"action":"Enviar recordatorio","title":"\xbfQuieres comenzar a construir cuando estes en tu PC?"},"success":"Gracias, \xa1Te mantendremos al tanto!","title":"El Builder solo esta disponible para PC","list_title":"Desde tu PC, tu podras:","first_paragraph":"Crear, tener una vista previa y publicar {bold_text}.","first_paragraph_bold_text":"colecciones de wearables y emotes","second_paragraph":"Crear {bold_text}. Puede usar los modelos 3D gratuitos o subir los suyos propios.","second_paragraph_bold_text":"contenido para su LAND","third_paragraph":"Publicar escenas, {bold_text} de su LAND.","third_paragraph_bold_text":"crear estates y gestionar permisos","fourth_paragraph":"Reclama tu {bold_text} y asignalo a tus avatar o a parcelas.","fourth_paragraph_bold_text":"nombre unico"},"rental_period":{"period_over":"Per\xedodo de renta terminado","tenant_operator_permissions":"Tendr\xe1s permisos de Operador hasta que el due\xf1o pida su tierra","lessor_operator_permissions":"Tendr\xe1s permisos de Operador hasta que pidas tu tierra","ends_in":"Termina en"},"land_page":{"coordinates":"Coordenadas","operated_by":"Operado por","type":"Tipo","online_scenes":"Escenas Online","owner":"Due\xf1o","operators":"Operadores","results":"{count} {count, plural, one {resultado} other {resultados}}","owner_explanation":"Estas son tierras que te pertenecen","operator_explanation":"Estas son tierras que no son tuyas, pero donde tienes permiso","tenant_explanation":"Estas son tierras que no son tuyas, pero donde tienes una renta"},"land_detail_page":{"transfer":"Transferir","set_operator":"Configurar Operador","assign_name":"Configurar link","build_estate":"Construir Estate","add_or_remove_parcels":"A\xf1adir o Quitar Parcelas","dissolve_estate":"Disolver Estate","online_scenes":"Escenas Online","add_scene":"Agregar Escena","assigned_names":"Nombres asignados","description":"Descripci\xf3n","owner":"Due\xf1o","tenant":"Inquilino","land_is_locked":"Esta acci\xf3n est\xe1 bloqueada hasta que reclames tu tierra.","operated_by":"Operado por","total_land":"Tierras Totales","empty_land":"Tierras Vacias","unset_ens_content":{"title":"Est\xe1s seguro?","text":"Desasignar el nombre va a causar que {link} ya no te lleve a {land}. Deseas proceder?"}},"land_assign_ens_page":{"title":"Asignar {name}","subtitle":"Asigna un nombre a {land}","set_name_message":"<strong>Antes de poder asignar este nombre a su parcela, debe enviar 2 o 3 transacciones:</strong> La primera transacci\xf3n reclama tu nombre ENS para que tomes control del mismo y s\xf3lo es requerida para nombres comprados o transferidos de otros usuarios, la segunda transacci\xf3n le permite usar su nombre como enlace y la tercera transacci\xf3n vincula su nombre a su LAND.","reclaim":"Reclamar","reclaim_explanation":"Esto recupera el control de su nombre despu\xe9s de que se le haya transferido. El due\xf1o del nombre tiene control sobre \xe9l hasta que sea reclamado.","set_resolver":"Establecer Resolver","set_resolver_explanation":"Esto permite que su nombre est\xe9 vinculado a una parcela","set_content":"Establecer Contenido","set_content_explanation":"Esto resuelve su nombre con un enlace a su LAND en Decentraland"},"ens_select_land_page":{"title":"Asignar {name}","subtitle":"Puede asignar este nombre a cualquiera de sus parcelas o propiedades.","land_selected":"Seleccion:","already_assigned":"Ya asignaddo"},"land_select_ens_page":{"title":"Asigna un Nombre","subtitle":"Asigna un nombre a {land}","empty_options_message":"No tienes nombres disponibles. Para asignar un nuevo nombre a tu LAND, necesitas reclamar uno","claim_new_name":"Reclamar un nuevo nombre","select_name_title":"Mis nombres","select_name_placeholder":"Selecciona un nombre","click_to_claim_new_name":"{click_here} para obtener un nuevo nombre","name_assigned":"Este nombre ya ha sido asignado a tu tierra"},"claim_name_fat_finger_modal":{"title":"Por favor, confirme su nuevo nombre","description":"Has elegido {name}. Vuelva a ingresar su nombre para confirmar su selecci\xf3n.","ok_message":"Felicidades el nombre {name} es tuyo.","name_placeholder":"Tu nombre \xfanico","names_different":"Los nombres no son iguales","authorization":{"title_action":"compra","action":"afirmar"}},"migrate_page":{"step_one_title":"Migra tu cuenta","step_one_message_line_one":"Con el objetivo de mejor la experiencia de nuestros productos, hemos cambiado el sistema de cuentas de usuario del Builder. Hemos dejado de usar emails y pasado a usar una billetera en su lugar. Esto significa que necesitaras conectar una billetera de Ethereum para almacenar tus escenas en la nube. Si no tienes una billetera y quieres aprender como conseguir una has {link}.","step_one_link":"click aqu\xed","step_one_message_line_two":"Si tenias escenas almacenadas en tu cuenta de email, puedes migrarlas a tu billetera usando esta p\xe1gina.","step_one_cta":"Comenzar Migraci\xf3n","step_two_title":"Inicia sesi\xf3n con tu Email","step_two_message":"Por favor inicia sesi\xf3n con tu email para poder encontrar las escenas que necesitan ser migradas.","step_two_cta":"Iniciar sesi\xf3n","step_three_title":"Conecta tu billetera","step_three_message":"Por favor conecta tu billetera para continuar. Si no tienes una billetera, ahi hay una {link} para conseguir una.","step_three_link":"gu\xeda para principiantes","step_three_cta":"Conectar","step_three_error":"Por favor instala {metamask} u otra billetera de Ethereum para continuar.","step_four_title":"Migra tus escenas","step_four_message":"Migrar todas tus escenas y asset packs de tu cuenta de email a tu billetera.","step_four_cta":"Migrar","projects_title":"Las siguientes Escenas seran migradas:"},"operator_page":{"title":"Asignar Operador","subtitle":"Estas asignando un operador para {name}.<br></br>Los operadores <b>solo</b> pueden publicar escenas en la tierra.","address":"Direcci\xf3n","undo":"Deshacer","revoke":"Revocar","invalid_address":"Direcci\xf3n invalida"},"not_found_page":{"back":"Volver a tus Escenas","subtitle":"Lo sentimos, no pudimos encontrar la Escena que buscabas.","title":"404"},"scene_list_page":{"projects_title":"Escenas de la comunidad","no_projects":"No se encotraron Escenas","filters":{"creator-contest-2019-12":"Creator Contest (Submission)","qualified-creator-contest-2019-12":"Creator Contest","all_groups":"Todas las colecciones","all_users":"Todos los usuarios","only_me":"Solo yo","newest":"M\xe1s Nuevas","likes":"M\xe1s Favoritos","size":"Tama\xf1o","items":"M\xe1s Objetos","smart_items":"M\xe1s Objetos Interactivos","name":"Nombre"}},"public_page":{"made_with":"Scene made with Builder","made_by":"Scene by","try_it_out":"try it out","parcel_count":"{parcels} {parcels, plural, one {parcel} other {parcels}}","item_count":"{items} {items, plural, one {item} other {items}}","likes":"{likes} {likes, plural, one {like} other {likes}}"},"popups":{"metrics_help":"\xa1Ver m\xe9tricas aqu\xed!","shortcuts_help":"\xa1Ver atajos aqu\xed!","its_you":"\xa1Eres t\xfa!"},"project_card":{"parcel_count":"{parcels} {parcels, plural, one {parcela} other {parcelas}}","item_count":"{items} {items, plural, one {item} other {items}}","confirm_delete_content":"\xbfSeguro que quieres borrar tu Escena \\"{title}\\"? Esta operaci\xf3n es ireversible","confirm_delete_header":"Borrar \\"{title}\\""},"item_card":{"move_to_collection":"Mover a colecci\xf3n","confirm_delete_content":"\xbfSeguro que quieres borrar tu item \\"{name}\\"? Esta operaci\xf3n es ireversible","confirm_delete_header":"Borrar \\"{name}\\""},"project_fields":{"description_field_label":"Descripci\xf3n","description_field_placeholder":"Sin descripci\xf3n","title_field_label":"T\xedtulo","title_field_placeholder":"T\xedtulo de la Escena"},"project_layout_picker":{"max_area_error":"Tu Escena no puede tener m\xe1s de {area} parcelas","min_area_error":"Tu Escena es muy chica","decimals_error":"El tama\xf1o de parcelas de su escena no debe tener un valor decimal","empty_field_error":"Debe completar la cantidad de filas y columnas para establecer el tama\xf1o de la escena"},"quota_exceeded_modal":{"retry":{"description":"No hemos podido guardar tu trabajo","title":"\xa1Oh no!"},"sign_in":{"description":"Te has quedado sin espacio de almacenamiento local, inicia sesion para continuar","title":"\xa1Oh no!"}},"scene_detail_page":{"actions":{"duplicate":"Duplicar","delete":"Eliminar","unpublish":"Despublicar"},"edit_scene":"Editar Escena","download_scene":"Descargar Escena","published_in":"Publicada En","no_deployments":"Esta escena a\xfan no ha sido publicada.","published":"Publicada","unsynced":"Desactualizada","draft":"Borrador","status":"Estado","location":"Ubicaci\xf3n","description":"Descripci\xf3n","url":"URL"},"template_detail_page":{"select_template":"Seleccionar plantilla","download_scene":"Descargar Escena","description":"Descripci\xf3n","creator":"Creador","scene_details":"Detalles de la escena","built_for_world":"Construido para Mundos","personalize_it_yourself":"Personalizalo tu mismo","parcels":"{rows} x {cols} parcelas"},"shortcuts":{"delete":"Eliminar objeto","duplicate":"Objeto duplicado","export":"Descargar Escena","hold":"Sostener","move":"Alternar flechas","move_camera":"Mover c\xe1mara","precision":"Ignorar ajustado a la grilla","preview":"Avance","redo":"Rehacer","reset":"Restablecer objeto","reset_camera":"Restablecer c\xe1mara","rotate":"Alternar \xf3rbitas","scale":"Alternar escalado","shortcut_reference":"Referencia de atajos","toggle_colliders":"Mostrar colisiones","toggle_sidebar":"Alternar barra lateral","undo":"Deshacer","zoom_in":"Aumentar el zoom","zoom_out":"Disminuir el zoom","multiselect":"Seleccionar m\xfaltiples objetos"},"shortcuts_modal":{"editor_shortcuts":"Editor","item_shortcuts":"Objeto","other_shortcuts":"Otros","title":"Atajos"},"create_modal":{"title":"Crear una Escena","name_subtitle":"Escribe un nombre y una descripcion de tu Escena","size_subtitle":"Elige el tama\xf1o de tu nueva Escena","sdk_title":"Experimente el nuevo editor de Decentraland","sdk_subtitle":"Aproveche el poder de SDK 7 sin ning\xfan c\xf3digo.","sdk_description":"Mejore su proceso de construcci\xf3n de escenas con nuestro editor visual mejorado. Se incluyen todas las caracter\xedsticas del Builder anterior, mientras que la adici\xf3n de  <b>smart items</b> est\xe1 programado para una pr\xf3xima actualizaci\xf3n.","sdk_image_alt":"SDK 7","name_label":"Nombre","description_label":"Descripci\xf3n","description_placeholder":"Una descripci\xf3n...","use_sdk7":"Use el nuevo editor web de Decentraland","use_sdk6":"Use el antiguo constructor de escenas (SDK 6)","change_item_file":"Editar representation"},"clone_template_modal":{"title":"Escribe un nombre y una descripcion de tu Escena","name_label":"Nombre","name_max_length":"El nombre puede tener un m\xe1ximo de 32 caracteres","description_label":"Descripci\xf3n","description_placeholder":"Una descripci\xf3n..."},"sync":{"error":"{errorCount} {errorCount, plural, one {Escena} other {Escenas}} fallaron al ser guardadas","loading":"Guardando...","retry":"Reintentar","success":"\xa1Escenas guardadas exitosamente!"},"templates":{"big":"Grande (2x3)","custom_layout":{"title":"A medida","up_to":"Hasta {max} parcelas"},"description":"{dimensions} - {amount} objetos aprox","medium":"Est\xe1ndar (2x2)","small":"Mini (1x1)"},"activity_page":{"latest_activity":"Ultima Actividad","clear_history":"Limpiar Historial","empty":"No tienes actividad a\xfan.","clear_history_modal":{"title":"Est\xe1s seguro?","text":"Est\xe1s por limpiar tu historial. Deseas proceder?"}},"settings_page":{"authorizations":"Autorizaciones","disclaimer":"Puedes asignar a otra persona para que opere en todas tus tierras por t\xed. Ellos {emphasis} transferir o venderlas, solo podr\xe1n publicar contenido en ellas.","emphasis":"no podr\xe1n","authorization":"Haz autorizado a {address} para que pueda operar en tus {type}.","authorization_action":"Autorizar a {address} para que pueda operar tus {type}.","copy_address":"Copiar direccion","copied":"Copiada","authorizations_title":"Autorizaciones Activas"},"transaction":{"approved":"Aprobaste","not_approved":"Desaprobaste","approve_token":"{action} al contrato {contract} para que opere {token} por t\xed.","change_profile":"Tu nombre es usado como alias para {address}","transfer":"Has transferido {name} a {address}.","edit":"Has editado {name}.","set_operator_assigned":"Has asignado {address} como operador de {name}.","set_operator_revoked":"Has revocado el operador de {name}.","create_estate":"Has creado {name}.","dissolve_estate":"Has disuelto {name}.","edit_estate_add":"Has agregado {count} {count, plural, one {parcela} other {parcelas}} a {name}.","edit_estate_remove":"Has removido {count} {count, plural, one {parcela} other {parcelas}} de {name}.","set_manager_assigned":"Has asignado a {address} como operador de tus {type}.","set_manager_revoked":"Has revocado a {address} como operador de tus {type}.","collection_published":"Colecci\xf3n {name} publicada","collection_approved":"Colecci\xf3n {name} aprobada","collection_rejected":"Colecci\xf3n {name} rechazada","set_price_and_beneficiary":"Has editado el precio y/o beneficiario de {name}","collection_item_minted":"Item {itemName} creado para la colecci\xf3n {collectionName} {count, plural, one {una vez} other {{count} veces}}","collection_items_minted":"{count} items creados para la colleci\xf3n {name}","updated_collection_managers":"Actualizados los colaboradores de la colecci\xf3n {name}","updated_collection_minters":"Actualizados los emisores de la colecci\xf3n {name}","set_collection_on_sale":"Colecci\xf3n {name} puesta a la venta","unset_collection_on_sale":"La colecci\xf3n {name} ya no est\xe1 a la venta","set_ens_resolver":"Haz asignado el resolver para el nombre \\"{name}\\".","set_ens_content":"Haz asignado el contenido de redirecci\xf3n para el nombre \\"{name}\\" en {land_link}.","unset_ens_content":"Haz removido el contenido para el nombre \\"{name}\\".","allowed_claim_mana":"Permiti\xf3 el uso de MANA para reclamar un nuevo nombre","disallowed_claim_mana":"No permiti\xf3 el uso de MANA para reclamar un nuevo nombre","claim_name":"Haz reclamado el nombre: \\"{name}\\".","rescue_items":"Has aprobado el contenido de {count} {count, plural, one {item} other {items}} para la collecci\xf3n {collectionName}"},"transfer_page":{"title":"Transferir","subtitle":"Est\xe1s por transferir {name}.","disclaimer":"Recuerda que transferir es una operaci\xf3n irreversible.{br}Por favor verifica que la direcci\xf3n sea la correcta.","same_owner":"Ese ya es el due\xf1o","invalid_address":"Esto no es una direcci\xf3n v\xe1lida"},"toasts":{"localstorage":"Las Escenas se guardan en tu navegador. {sign_in} para subirlas a la nube!"},"topbar":{"bounds_exceeded":"Objeto fuera de l\xedmites{br}\xa1Muevelo dentro de los l\xedmites!","limits_exceeded":"Demasiados {metric}{br}\xa1Intenta borrar algunos objetos!","up_to_date":"\xa1Al d\xeda!{br}Todos los cambios est\xe1n actualizados","update_scene":"Actualizar Escena"},"tutorial_modal":{"slide0":{"description":"Este es el nuevo constructor de Escenas de Decentraland. Antes de comenzar, d\xe9janos mostrarte c\xf3mo funciona.","title":"\xa1Bienvenido al Builder!"},"slide1":{"description":"Para mover un objeto, haz clic y arrastralo.","title":"Moviendo objetos"},"slide2":{"description":"Agrega objetos a tu Escena desde la barra lateral a la derecha.","title":"A\xf1adiendo objetos"},"slide3":{"description":"Girar objetos haciendo clic en la herramienta Rotar y arrastrando las \xf3rbitas.","title":"Flechas y \xf3rbitas"},"slide4":{"description":"Arrastra con el bot\xf3n izquierdo para girar la c\xe1mara. Use el bot\xf3n derecho para desplazarse.","title":"Controlando la c\xe1mara"},"subtitle":"El Builder es muy f\xe1cil de usar, aqu\xed hay algunos consejos antes de comenzar","title":"Comienza con el Builder"},"unsupported_browser_page":{"back":"Volver a tus Escenas","subtitle":"El Builder no es compatible con tu navegador.{br}Visita esta p\xe1gina usando {chrome} o {firefox}","title":"\xa1Oops!"},"user_menu":{"guest":"Invitado","sign_in":"Iniciar Sesi\xf3n","sign_out":"Cerrar Sesi\xf3n"},"validation":{"project":{"description":{"length":"La longitud de la descripci\xf3n debe estar entre {min} y {max} caracteres."},"title":{"length":"La longitud del t\xedtulo debe estar entre {min} y {max} caracteres."}}},"video_modal":{"title":"Aprende m\xe1s sobre el Builder","youtube_id":"4YSdIaxfg-E"},"wallet":{"signature_error":"Error al firmar el mensaje","no_wallet":"No se encontro una billetera","connect_error":"No se pudo conectar la billetera","title":"Conecta tu billetera para iniciar sesi\xf3n.","sign_in_required":"Necesitas {sign_in} para acceder a esta p\xe1gina.","sign_in":"Iniciar sesi\xf3n"},"collections_page":{"results":"{count} {count, plural, one {resultado} other {resultados}}","no_items":"Sin colecciones","new_item":"Nuevo item","new_collection":"Crear colecci\xf3n","new_third_party_collection":"Crear colecci\xf3n externa","type":"Tipo","items":"Items","collections":"Colecciones","collection":"Colecci\xf3n","single_items":"Items individuales","empty_description":"A\xfan no tienes colecciones, comienza cre\xe1ndo una de ellas y entra al metaverso con estilo","created_at":"Creado","last_modified":"\xdaltima modificaci\xf3n"},"curation_page":{"order":{"most_relevant":"M\xe1s relevantes"},"filter":{"all_status":"Todos los estados","all_assignees":"Todos los asignados","all_types":"Todos los tipos","not_reviewed":"No revisado","approved":"Aprobado","rejected":"Rechazado","under_review":"Bajo revisi\xf3n","to_review":"A revisar","standard":"Estandar","third_party":"Externa"},"search_placeholder":"Busca por nombre o por la direcci\xf3n del due\xf1o","results":"{count} {count, plural, one {resultado} other {resultados}}","collections":"{count} {count, plural, one {colecccion} other {coleccciones}}","empty_collections":"A\xfan no hay colecciones para revisar.","assign_modal":{"unassign":"Desasignar","collection_unassigned":"La colecci\xf3n {collection_name} no se ha asignado.","self_assign":{"title":"Confirma tu asignaci\xf3n a {collection_name}","body":"Ser\xe1s el responsable de {emphasis}. Si es necesario, podr\xe1 reasignar la colecci\xf3n a otro curador.","emphasis":"revisar esta colecci\xf3n y comunicarse con el creador en el foro","success":"Se te asign\xf3 la colecci\xf3n {collection_name}."},"reassign":{"title":"Editar curador asignado para la colecci\xf3n {nombre_de_la_colecci\xf3n}","body":"En caso de que no pueda revisar esta colecci\xf3n, reas\xedgnela a otro curador. Aseg\xfarese de informarles acerca de este cambio.","success":"La colecci\xf3n {collection_name} se ha asignado a {assignee}."}},"error_message_title":"Error","error_message_body":"Algo sali\xf3 mal... Vuelve a intentarlo m\xe1s tarde.","assign_success_title":"Colecci\xf3n asignada","unassign_success_title":"Colecci\xf3n sin asignar","curator":"Curador","confirm_not_assigned_curation_modal":{"title":"Aprobar colecci\xf3n","body":"Esta colecci\xf3n est\xe1 asignada a {assignee}. Si es necesario, a\xfan puede aprobarlo, pero aseg\xfarese de informar al curador asignado.","confirm_footer":"Confirmar la aprobaci\xf3n de esta colecci\xf3n para que se habilite para ser acu\xf1ada.","confirm_button":"Asignarme y aprobar la colecci\xf3n"}},"collection_row":{"collection":"Colecci\xf3n","published":"Publicado","date":"Fecha","assignee":"Asignado a","status":"Estado","discussion":"Discusi\xf3n","items":"{count} {count, plural, one {item} other {items}}","owner":"Due\xf1o","link":"Enlace","type":"Tipo","type_third_party":"Colecci\xf3n Externa","type_standard":"Est\xe1ndar","review_request":"Solicitud de revisi\xf3n","forum_post":"Post en el foro","no_forum_post":"No hay post","approved":"Aprobada","rejected":"Rechazada","disabled":"Deshabilitada","unassigned":"Sin asignar","assign_to_me":"Asignar a m\xed","you":"usted"},"item_detail_page":{"details_info":{"id":"Id"},"selling":{"title":"Vendiendo"},"representations":{"title":"Representaciones"},"tags":{"title":"Tags"},"details":"Detalles","edit_thumbnail":"Editar Thumbnail","properties":"Propiedades","notice":"Debes agregar tus items a una colecci\xf3n antes de poder publicarlos","add_representation":"Agregar representaci\xf3n de {bodyShape}","change_item_file":"Editar representaci\xf3n","delete_published_item":"No se puede borrar un item publicado","required_permissions":"Permisos","edit_video":"Editar video"},"third_party_collection_detail_page":{"notice":"Cada item publicado toma un Slot. Crear un borrador de propuesta en el DAO para solicitar m\xe1s slots","search_placeholder":"Buscar {count} {count, plural, one {item} other {items}}...","search_info":"{page}-{pageTotal} de {total}","clear_selection":"Limpiar selecci\xf3n","select_all":"Seleccionar los {total} items","selection":"{count, plural, one {# item} other {# items}} seleccionados.","max_select_count":"Puedes publicar un m\xe1ximo de {count} items a la vez","slots":"{amount, plural, =0 {Sin Slots} one {# Slot} other {# Slots}}","start_adding_items":"\xa1Se ve bien! Ahora puedes comenzar a agregar items a tu colecci\xf3n.","cant_remove":"No podr\xe1s agregar o remover items una vez que est\xe9n publicados.","publish_items":"Publicar {count, plural, =0 {} one {# item} other {# items}}","new_items":"Nuevos items","publish":"Publicar","push_changes":"Subir cambios","publish_and_push_changes":"Publicar y subir cambios","cant_publish":"Esta colecci\xf3n todav\xeda no est\xe1 verificada, cuando ese proceso termine, podr\xe1s publicar m\xe1s items","cant_publish_items":"Estas tratando de publicar {count} {count, plural, one {item} other {items}}. Hay otro que se encuentran bajo revisi\xf3n en este momento","exceeds_available_slots":"Estas excediendo la cantidad de slots disponibles. Podr\xe1s pedir m\xe1s slots a la DAO atrav\xe9s de una propuesta","cant_publish_and_push_changes":"Estas tratando de publicar {count} {count, plural, one {item} other {items}} y subir cambios al mismo tiempo. Deselecciona los items a publicar para poder subir cambios","synced_filter":{"all":"Todos los items","synced":"Sincronizados","unsynced":"No sincronizados"},"synced_statuses":{"unpublished":"Listos para publicar","under_review":"Bajo revisi\xf3n","synced":"Sincronizado","unsynced":"No sincronizado"}},"collection_detail_page":{"new_item":"Nuevo Item","mint_items":"Crear Items","on_sale":"En venta","put_for_sale":"Poner en venta","set_on_sale_popup":"Esto permitir\xe1 que tu colecci\xf3n sea vendida en el Mercado de Decentraland.","unset_on_sale_popup":"Esta colecci\xf3n est\xe1 en venta en el Mercado de Decentraland.","notice":"Bien! Ahora puedes empezar a trabajar con tus items. {editor_link} para abrir el editor o edita cada item.","preview":"Preview en el Editor","publish":"Publicar Colecci\xf3n","remove_from_marketplace":"Remover del Marketplace","add_item":"Agregar Item","add_items_title":"Se ve bien!","add_items_subtitle":"Ahora puede comenzar a agregar items a su colecci\xf3n","add_items_subtitle_extensions":"Formatos aceptados: ZIP, GLTF, GLB, PNG.","start_adding_items":"\xa1Se ve bien! Ahora puedes comenzar a agregar items a tu colecci\xf3n.","cant_remove":"No podr\xe1s agregar o remover items de tu colecci\xf3n una vez que est\xe9 publicada.","can_mint":"Crear items le permite transferir NFTs directamente a una direcci\xf3n.","cant_mint":"Esta colecci\xf3n todav\xeda no est\xe1 verificada, cuando ese proceso termine, podr\xe1s crear items","cant_push":"Esta colecci\xf3n a\xfan est\xe1 bajo revisi\xf3n, los art\xedculos a\xfan se pueden acu\xf1ar pero no reflejar\xe1n nuevos cambios hasta su aprobaci\xf3n.","push_changes":"Subir Cambios","under_review":"No verificada","cant_operate":"Esta colecci\xf3n est\xe1 bloqueada, una vez que la publicaci\xf3n termine ser\xe1s capaz de utilizarla nuevamente","locked":"Bloqueada","publish_reason_max_items":"Las colecciones pueden publicarse con un m\xe1ximo de  {maxItems} items.","publish_reason_no_items":"Debes agregar al menos un item para publicar tu colecci\xf3n.","publish_reason_items_not_complete":"Todos los items deben estar completos para publicar tu colecci\xf3n, comprueba que todas sus propiedades est\xe9n establecidas.","emotes":"Animaciones","wearables":"Vestimentas","table":{"item":"Item","rarity":"Rareza","category":"Categoria","price":"Precio","supply":"Suministro","play_mode":"Modo de Reproducci\xf3n","status":"Estado"},"missing_item_price":"Es necesario configurar el precio de una o m\xe1s {item_type}.","missing_smart_wearable_video":"Es necesario subir un video para uno o m\xe1s vestimentas interactivas.","unsynced_collection_title":"Hay items no sincronizados con el servidor en esta colecci\xf3n","unsynced_collection_message":"Se modificaron uno o m\xe1s items despu\xe9s de que se aprob\xf3 esta colecci\xf3n.{br}Estas actualizaciones deben ser publicadas y revisadas nuevamente por el comit\xe9 de curadores.","under_review_collection_message":"Los items actualizados estan siendo revisados por el comit\xe9 de curadores.{br}Una vez aprobados, estar\xe1n visibles autom\xe1ticamente para los actuales due\xf1os{br}y en el Marketplace."},"collection_context_menu":{"add_existing_item":"Agregar item existente","forum_post":"Ver post en el foro","copy_address":"Copiar direcci\xf3n","edit_urn":"Editar URN","edit_in_bulk":"Editar en masa","copy_urn":"Copiar URN","see_in_decentraland":"Ver en Decentraland","unpublished":"Esta colleci\xf3n a\xfan no est\xe1 publicada","managers":"Colaboradores","minters":"Emisores","post_to_forum":"Post al foro","posting":"Posteando","not_posted":"La colecci\xf3n no tiene un post asociado. Puedes intentar crearlo aqu\xed","delete_published_collection":"No puedes borrar una colleci\xf3n publicada","change_published_urn":"No puedes cambiar el URN una vez que la colleci\xf3n fue publicada"},"collection_item":{"set_price":"agregar precio","ready":"Listo","published":"Publicado","not_ready":"Incompleto","under_review":"En Revisi\xf3n","unsynced":"No sincronizado","ready_to_publish":"Listo para publicar","incomplete":"Incompleto","edit_item":"editar","mint_item":"crear","delete_item":"Eliminar item","edit_price":"Editar precio","see_details":"Ver detalles","edit_urn":"Editar URN","cannot_edit_urn":"No puedes cambiar el URN una vez que el item fue publicado","reset_item":"Deshacer cambios","move_to_another_collection":"Mover a otra colecci\xf3n","preview":"Preview en el Editor"},"collection":{"type":{"standard":"Colecci\xf3n","third_party":"Colecci\xf3n Externa"}},"item":{"blockchain_id":"Blockchain ID","category":"Categor\xeda","rarity":"Rareza","representation":"Representaci\xf3n","price":"Precio","beneficiary":"Beneficiario","supply":"Suministro","collection":"Colecci\xf3n","edit_urn":"Editar URN","copy_urn":"Copiar URN","type":{"wearable":"Vestimenta","emote":"Emote","smart_wearable":"Vestimenta Interactiva"}},"edit_price_and_beneficiary_modal":{"title":"Asignar un precio","for_me":"Soy el beneficiario","free":"Hacerlo gratuito","price_label":"Precio","price_message":"Tenga en cuenta que la cantidad m\xednima admitida para transacciones sin costo es {minPrice}.{br}{br}Si el item cuesta menos que eso, el comprador deber\xe1 cubrir el costo de la transacci\xf3n en {token}.","beneficiary_label":"Direcci\xf3n de la billetera del beneficiario","beneficiary_popup":"Esta es la direcci\xf3n de la billetera que recibir\xe1 MANA cuando se venda este item por primera vez y Regal\xedas cuando sea revendido. Puede establecer una direcci\xf3n de beneficiario diferente para cada item de una colecci\xf3n.","free_message":"El creador original ser\xe1 el beneficiario de las regal\xedas"},"confirm_delete":{"content":"Eliminar \\"{name}\\"?","subcontent":"\xbfEst\xe1s seguro que quieres eliminar \\"{name}\\"?. Esta acci\xf3n es irreversible"},"delete_item_modal":{"title":"Eliminar {name}","subtitle":"\xbfEst\xe1s seguro que quieres eliminar {name}?. Esta acci\xf3n es irreversible"},"publish_collection_modal":{"title":"Publicar Colecci\xf3n","title_tos":"Pol\xedtica de contenido","first_paragraph":"Est\xe1s por publicar tu colleci\xf3n, recuerda que:","second_paragraph":"No ser\xe1s capaz de agregar o borrar items luego de publicar.","third_paragraph":"No podr\xe1s cambiar el nombre de la colecci\xf3n. Aseg\xfarese de que est\xe9 escrito correctamente y que no viole los derechos de propiedad intelectual.","fourth_paragraph":"Los items de la colecci\xf3n aparecer\xe1n en Marketplace, pero no se pueden vender hasta que sean aprobados por la DAO.","items_breakdown_title":"Estas por publicar {count} {count, plural, one {item} other {items}}. El fee de MANA por publicar la collecci\xf3n ser\xe1 enviado a la DAO, donde va a ser usado para soportar grants, eventos y premios","tos_title":"Por la presente declaro y garantizo que:","tos_first_condition":"1: Los Wearables por publicarse cumplen plenamente con los {terms_of_use} y las {content_policy}, que reconozco y acepto.","tos_second_condition":"2: Tengo suficientes derechos de propiedad intelectual sobre los Wearables que ser\xe1n publicados.","tos_third_condition":"3: Reconozco que la DAO puede negarse a aceptar los Wearables bas\xe1ndose en infracciones a la Pol\xedtica de contenido y los T\xe9rminos de uso. Tambi\xe9n reconozco que la tarifa de publicaci\xf3n no se reembolsar\xe1 en caso de rechazo.","invalid_email":"El email provisto no es v\xe1lido.","terms_of_use":"T\xe9rminos de uso","content_policy":"Pol\xedtica de contenido","accept_by_publishing":"Al presionar Publish est\xe1s aceptando nuestros t\xe9rminos y condiciones","not_enough_mana":"No tienes suficiente {symbol} para publicar la collecci\xf3n.","get_mana":"Puedes obtener m\xe1s usando la {link} dapp.","unsynced_collection":"La colecci\xf3n que est\xe1 intentando publicar tiene diferencias con la que hay en el servidor. Por favor, refresque el navegador e intente de nuevo."},"publish_collection_modal_with_oracle":{"title":"Publicar Colecci\xf3n","title_tos":"Pol\xedtica de contenido","first_paragraph":"Est\xe1s por publicar tu colleci\xf3n, recuerda que:","second_paragraph":"No ser\xe1s capaz de agregar o borrar items luego de publicar.","third_paragraph":"No podr\xe1s cambiar el nombre de la colecci\xf3n. Aseg\xfarese de que est\xe9 escrito correctamente y que no viole los derechos de propiedad intelectual.","fourth_paragraph":"Los items de la colecci\xf3n aparecer\xe1n en Marketplace, pero no se pueden vender hasta que sean aprobados por la DAO.","items_breakdown_title":"Est\xe1 a punto de publicar una colecci\xf3n con {count} {count, plural, one {item} other {items}}. Para apoyar el crecimiento de la comunidad, hay una tarifa de publicaci\xf3n de {publicationFee} {currency} por art\xedculo (pagado en MANA) que va a la DAO y al Comit\xe9 de Curadores.","learn_more":"M\xe1s informaci\xf3n sobre la tarifa de publicaci\xf3n","estimate_notice":"* El total en MANA se calcula en funci\xf3n de los precios actuales del mercado. Este valor puede cambiar ligeramente cuando se ejecuta la transacci\xf3n.","qty_of_items":"# de art\xedculos","fee_per_item":"Tarifa por art\xedculo","total_in_usd":"Total en {currency}","total_in_mana":"Total en MANA","rarities_error":"Hubo un error al intentar obtener las tarifas de publicaci\xf3n.","tos_title":"Por la presente declaro y garantizo que:","tos_first_condition":"1: Los Wearables por publicarse cumplen plenamente con los {terms_of_use} y las {content_policy}, que reconozco y acepto.","tos_second_condition":"2: Tengo suficientes derechos de propiedad intelectual sobre los Wearables que ser\xe1n publicados.","tos_third_condition":"3: Reconozco que la DAO puede negarse a aceptar los Wearables bas\xe1ndose en infracciones a la Pol\xedtica de contenido y los T\xe9rminos de uso. Tambi\xe9n reconozco que la tarifa de publicaci\xf3n no se reembolsar\xe1 en caso de rechazo.","invalid_email":"El email provisto no es v\xe1lido.","terms_of_use":"T\xe9rminos de uso","content_policy":"Pol\xedtica de contenido","accept_by_publishing":"Al presionar Publish est\xe1s aceptando nuestros t\xe9rminos y condiciones","not_enough_mana":"No tienes suficiente {symbol} para publicar la collecci\xf3n.","get_mana":"Puedes obtener m\xe1s usando la {link} dapp.","unsynced_collection":"La colecci\xf3n que est\xe1 intentando publicar tiene diferencias con la que hay en el servidor. Por favor, refresque el navegador e intente de nuevo."},"publish_wizard_collection_modal":{"title_publish_collection":"Publicar Colecci\xf3n","title_review_content_policy":"Revisar la pol\xedtica de contenido","title_pay_publication_fee":"Pagar la tarifa de publicaci\xf3n","title_congratulations":"Felicidades!","publish_failed":"Error al publicar","confirm_collection_name_step":{"title":"Confirmar nombre de la colecci\xf3n","subtitle":"El nombre de la colecci\xf3n no podra ser modificado despues de ser enviado para su revisi\xf3n.","description":"Aseg\xfarese de que est\xe9 escrito correctamente y que no viole los derechos de propiedad intelectual (ej. Star Wars, Sailor Moon, etc)","collection_name_label":"Nombre de la Colecci\xf3n","collection_name_confirmation_label":"Confirme el nombre de la Colecci\xf3n","collection_name_placeholder":"Nombre de la Colecci\xf3n","collection_names_different":"El nombre de la Colecci\xf3n no coinciden","confirm_name":"Confirmar Nombre"},"confirm_collection_items_step":{"title":"Confirmar art\xedculos","subtitle":"No se pueden agregar o eliminar elementos de una colecci\xf3n ni se puede cambiar su rareza despu\xe9s de la publicaci\xf3n.","description":"Sin embargo, el nombre, la descripci\xf3n, la categor\xeda y el precio de los art\xedculos siempre se pueden modificar.","confirm_items":"Confirmar Art\xedculos"},"review_content_policy_step":{"title":"Antes de enviar su colecci\xf3n para su revisi\xf3n, confirme su reconocimiento de lo siguiente:","content_policy_first_condition":"Entiendo que no podr\xe9 agregar o eliminar art\xedculos, ni modificar el nombre de la colecci\xf3n despu\xe9s de que se publique, y puedo dar fe de que \\"{collection_name}\\" como nombre no viola ning\xfan derecho de Propiedad Intelectual.","terms_of_use":"T\xe9rminos de uso","content_policy":"Pol\xedtica de contenido","accept_terms_of_use":"Garantizo que los art\xedculos enviados cumplen plenamente con los {terms_of_use_link} y las {content_policy_link}, que reconozco y acepto.","acknowledge_dao_terms":"Reconozco que la DAO puede negarse a aceptar los art\xedculos bas\xe1ndose en infracciones a las {content_policy_link} y los {terms_of_use_link}. Tambi\xe9n reconozco que la tarifa de publicaci\xf3n no se reembolsar\xe1 en caso de rechazo ya que su finalidad es compensar a los curadores por su tiempo y trabajo.","email_disclousure":"Necesitamos tu email para futuras comunicaciones sobre esta colecci\xf3n.","email_disclousure_detail":"Solo utilizaremos este email para comunicaciones sobre esta colecci\xf3n en particular.{enter}No estar\xe1 vinculado a su cuenta.","email_newsletter":"\xa1Mant\xe9nme al tanto! Utilice este correo electr\xf3nico para recibir el bolet\xedn semanal, las actualizaciones y las noticias del concurso de Decentraland.","continue":"Continar"},"pay_publication_fee_step":{"title":"Est\xe1s por enviar tu colecci\xf3n \\"{collection_name}\\" que incluye {count} {count, plural, one {art\xedculo} other {art\xedculos}} a revisi\xf3n.","subtitle":"Para apoyar al Comit\xe9 de Curadores y la tesorer\xeda de DAO, hay una tarifa de publicaci\xf3n de {currency} {publicationFee} por art\xedculo (pagado en MANA).","learn_more":"M\xe1s informaci\xf3n sobre la tarifa de publicaci\xf3n","quantity":"Cantidad","items":"{count} {count, plural, one {art\xedculo} other {art\xedculos}}","fee_per_item":"Tarifa por art\xedculo","total_in_usd":"Total en {currency}","total_in_mana":"Total en MANA","pay":"Pagar {value} MANA"},"congratulations_step":{"title":"Su colecci\xf3n ya esta disponible para ser verificada por los curadores.","subtitle":"Todos los comentarios seran enviados al {forum_post} donde usted y cualquier miembro de la comunidad podr\xe1n comentar.","description":"La colecci\xf3n sera publicada luego de ser aprobada por el Comit\xe9 de Curaci\xf3n. Dado que este es un proceso manual, podria tomar unos d\xedas. Se agradece su paciencia.","forum_post":"Post en el foro","view_forum_post":"Ver el Post en el foro"},"authorization":{"title_action":"publicaci\xf3n","action":"publicar colecci\xf3n","confirm_transaction_title":"Completar transacci\xf3n para publicar su colecci\xf3n","authorize_mana_description":"Tenga en cuenta que algunas billeteras requieren establecer un l\xedmite de gasto de man\xe1 personalizado.Ingrese un precio de tarifa de {price} o una cantidad ligeramente mayor para evitar el rechazo de la transacci\xf3n debido a la volatilidad del precio.Puede cambiar el l\xedmite en cualquier momento.","set_cap_description":"Ingrese un precio de tarifa de {price} o una cantidad ligeramente mayor para evitar el rechazo de la transacci\xf3n debido a la volatilidad del precio.Puede cambiar el l\xedmite en cualquier momento.","insufficient_amount_error_message":"Recuerde establecer un l\xedmite de gasto igual al precio de tarifa {price} o superior para evitar ser rechazado debido a la volatilidad del precio.Revoca su l\xedmite actual y vuelve a intentarlo."}},"sell_collection_modal":{"title":"\xbfQuieres vender tus items?","turn_on_description":"Al activar esta opci\xf3n tu colecci\xf3n estar\xe1 en venta en el mercado de Decentraland.","turn_on":"Activar","turn_off_description":"Al desactivar esta opci\xf3n tu colecci\xf3n ya no estar\xe1 en venta.","turn_off":"Desactivar","put_for_sale":{"title":"\xbfQuieres poner en venta esta colecci\xf3n?","description":"La colecci\xf3n estar\xe1 en venta en el mercado de Decentraland.","cta":"Poner en Venta"},"remove_from_marketplace":{"title":"\xbfQuieres remover esta colecci\xf3n del Marketplace?","description":"La colecci\xf3n ya no estar\xe1 en venta en el mercado de Decentraland.","cta":"Remover del Marketplace"},"unsynced_warning":"Algunos items tienen cambios que a\xfan no se han aprobado."},"publish_third_party_collection_modal":{"title":"Publicar Items externos","publish_description":"Est\xe1 por usar {slotsToUse, plural, one {# slot} other {# slots}} de {availableSlots} slots disponibles para publicar \\"{collectionName}\\"","push_changes_description":"Est\xe1 por subir cambios a {itemsWithChanges, plural, one {# item} other {# items}} for \\"{collectionName}\\".","publish_and_push_changes_description":"Est\xe1 por usar {slotsToUse, plural, one {# slot} other {# slots}} slots de {availableSlots} disponibles para publicar \\"{collectionName}\\" y subir cambios a {itemsWithChanges, plural, one {# item} other {# items}}."},"mint_items_modal":{"title":"Crear Items","add_item":"Agregar Item","limit_reached":"Solo puede crear {max} items por transaction","no_items":"No tienes items disponibles para crear en la colleci\xf3n \\"{name}\\"","unsynced_warning":"Algunos items tienen cambios que a\xfan no se han aprobado.","next":"Siguiente","total_items":"Total de items para mintear","confirm_title":"Estas por mintear  {count} {count, plural, one {item} other {items}}, cada item va a ser minteado a la direcci\xf3n indicada con la cantidad seleccionada.","beneficiary":"Beneficiario"},"reset_item_modal":{"title":"Deshacer cambios","content":"El item es actualmente diferente del que ha sido aprobado previamente por el comit\xe9. {br}La versi\xf3n que est\xe1s viendo ahora no se corresponde con la visible en el mercado y en el juego. {br}Puede subir los cambios para que el comit\xe9 revise esta nueva versi\xf3n, o puede hacer clic en el bot\xf3n de confirmaci\xf3n para restablecer el elemento a su estado original."},"manage_collection_role_modal":{"manager":{"title":"Colaboradores","subtitle":"Si has colaborado con otros emisores, agrega sus direcciones de ETH aqu\xed","add_new":"Agregar Colaborador","empty":"No hay colaboradores a\xfan, empieza"},"minter":{"title":"Emisores","subtitle":"Agrega la direcci\xf3n de ETH para permitir la creaci\xf3n de tus items","add_new":"Agregar Creador","empty":"No hay emisores a\xfan, empieza"},"adding_one":"agregando uno!"},"push_collection_changes_modal":{"title":"Subir Cambios","description":"Se han realizado cambios en la colecci\xf3n o en los art\xedculos contenidos en ella desde la \xfaltima vez que un curador los revis\xf3.{br}Para que estos cambios se reflejen en el mercado y en el juego, deben ser revisados y aprobados nuevamente por el comit\xe9.{br}\xbfEst\xe1 seguro de que desea impulsar los cambios para su revisi\xf3n?"},"see_in_world_modal":{"title":"Ver en Decentraland","subtitle":"Elige una de las opciones para probar tus items en Decentraland","genesis":{"title":"Genesis Plaza","subtitle":"Explora, salta e interact\xfaa"},"empty_parcel":{"title":"Parcela vac\xeda","subtitle":"S\xf3lo correr y saltar. Cargar\xe1 m\xe1s r\xe1pido"},"jump_in":"Ingresar"},"collection_image":{"no_items":"No Items"},"collection_card":{"item_count":"{count} {count, plural, one {item} other {items}}","subtitle":"{count} {count, plural, one {item} other {items}}","confirm_delete_content":"\xbfSeguro que quieres borrar tu colecci\xf3n \\"{name}\\"? Esta operaci\xf3n es ireversible","confirm_delete_header":"Borrar \\"{name}\\""},"item_editor":{"open":"Abrir editor","top_panel":{"reviewed_counter":"Items revisados: {count}/{threshold}","items_pending_to_review":"Hay items pendientes de ser revisados","not_enough_items_to_curate_more":"La colecci\xf3n no tiene m\xe1s items a revisar","approve":"Aprobar","reject":"Rechazar","enable":"Habilitar","disable":"Deshabilitar","rejection_modal":{"veredict_explanation":"Puedes contarnos por qu\xe9?","visit_activity":"Puedes visitar tu {activity_link} para monitoriear la transacci\xf3n","go_to_forum":"Por favor visita la discusi\xf3n asocida y expl\xedcale al creador el por qu\xe9 de tu decisi\xf3n.","forum_link":"Link al foro","discussion":"Discusi\xf3n","keep_reviewing":"Continua verificando","back_to_curation":"Volver a curar","waiting_for_upload":"Algunos items de la colecci\xf3n a\xfan se est\xe1n cargando al Catalyst. Por favor prueba nuevamente en unos momentos para proceder.","reject_curation":{"title":"Rechazar Cambios","subtitle":"Los cambios no son lo suficientemenete buenos?","action":"Rechazar"},"disable_collection":{"title":"Deshabilitar Colecci\xf3n","subtitle":"Esta colleccion no estara mas disponible. Puedes habilitarla nuevamente en el futuro.","tx_pending":"Esperando a que se confirme la transacci\xf3n de deshabilitado","action":"Deshabilitar"}}},"left_panel":{"title":"Mis Items","title_alternative":"Mis Colecciones","actions":{"new_item":"Nuevo Item","new_collection":"Nueva Colecci\xf3n","add_existing_item":"Agregar Item","edit_name":"Editar Nombre"},"reviewed_tab":{"page_counter":"{pageStart}-{pageEnd} de {total} items"},"get_more_samples_modal":{"title":"Obtener m\xe1s muestras","content":"Esto reemplazar\xe1 las muestras actuales y obtendr\xe1 {count} m\xe1s muestras seleccionadas al azar. Siempre puede consultar muestras anteriores en la pesta\xf1a {tabName}.","understood":"Comprendido","dont_show_again":"No volver a mostrar este mensaje."},"to_review":"A revisar","reviewed":"Revisado","all_items":"Todos los items","wearable":"Vestimentas","emote":"Animaciones","get_random_sample":"Obtener muestra aleatoria","reviewed_samples_bold":"Muestras revisadas: {count}","reviewed_samples":"{reviewed_samples_bold}/{total}","items":"Items","collections":"Colecciones","items_count":"{count} items","invalid_representation_tooltip":"Este item no tiene representacion de {bodyShape}","no_items_to_review":"No hay m\xe1s items para revisar","empty_collection":"La colecci\xf3n est\xe1 vac\xeda, \xa1agrega algunos items primero!"},"center_panel":{"disabled_animation_dropdown":"Tiene que haber al menos un item visible para poder activar una animacion","play_emote":"Reproducir Animaci\xf3n","stop":"Parar","from_collection":"Desde la Colecci\xf3n","from_items":"Desde los Items","default":"Predeterminadas"},"right_panel":{"properties":"Propiedades","details":"Detalles","basics":"B\xe1sico","overrides":"Avanzado","overrides_info":"Determina qu\xe9 otras categor\xedas de wearables y partes base del cuerpo esconder\xe1 su item. Simplemente seleccione en el men\xfa desplegable.","replaces":"Remplaza","replaces_info":"Cuando un usuario equipa tu item, cualquier otro item de la categor\xeda que selecciones no estar\xe1 equipado. Los usuarios deben volver a equiparlos despu\xe9s de retirar tu item.","hides":"Oculta","hides_info":"Cuando un usuario equipa tu item, cualquier otro item de la categor\xeda que selecciones permanecer\xe1 equipado, pero no se renderizar\xe1. Los usuarios solo ver\xe1n reaparecer sus otros elementos despu\xe9s de eliminar su elemento.","base_body":"Cuerpo base","base_body_info":"Los elementos que elija del men\xfa desplegable del cuerpo base estar\xe1n ocultos.","wearables":"Wearables","wearables_info":"Los elementos que elija del men\xfa desplegable estar\xe1n ocultos.","animation":"Animaci\xf3n","tags":"Etiquetas","event_tag":"Usa la etiqueta {event_tag} si quieres incluir este item en el {event_name}. {learn_more}","select_placeholder":"Selecciona una opci\xf3n","request_for_changes":"Solicitud de cambios","request_for_changes_explanation":"Si desea realizar cambios en {name}, solicite autorizaci\xf3n a un miembro del comit\xe9 en el foro","required_permissions":"Permisos"}},"video_showcase_modal":{"title":"Video detallado de su Vestimenta Interactiva","back":"Volver","edit":"Editar video"},"emote":{"category":{"simple":"Simple","loop":"Loop","dance":"Baile","stunt":"Truco","greetings":"Saludos","fun":"Divertido","poses":"Poses","reactions":"Reacciones","horror":"Horror","miscellaneous":"Miscel\xe1neos"},"play_mode":{"simple":{"text":"Reproducir una vez","description":"Una vez activada, la animaci\xf3n se reproducir\xe1 una vez y volver\xe1 a la posici\xf3n inicial."},"loop":{"text":"Loop","description":"Una vez activada, la animacion se reproducir\xe1 en loop hasta que el jugador haga un movimiento."}}},"wearable":{"supply":"{formatted} {count, plural, one {unidad} other {unidades}}","rarity":{"unique":"\xdanico","mythic":"M\xedtico","legendary":"Legendario","epic":"\xc9pico","rare":"Raro","uncommon":"Poco com\xfan","common":"Com\xfan"},"color":{"skin":"Color de piel","eye":"Color de ojos","hair":"Color de pelo"},"category":{"body_shape":"Cuerpo","earring":"Aros","eyebrows":"Cejas","eyes":"Ojos","eyewear":"Gafas","facial_hair":"Barba","feet":"Pies","hair":"Cabello","hat":"Sombrero","head":"Cabeza","helmet":"Cazco","lower_body":"Piernas","mask":"Mascara","mouth":"Boca","tiara":"Tiara","top_head":"Cabeza","upper_body":"Torso","skin":"Skin","hands":"Manos","hands_wear":"Ropa de manos"}},"rarity_description":{"unique":"\xdanico en su tipo: uno solo en existencia","mythic":"Para algunos pocos: m\xe1ximo 10","legendary":"Edici\xf3n limitada: m\xe1ximo 100","epic":"Suministro m\xe1ximo: 1000","rare":"Suministro m\xe1ximo: 5000","uncommon":"Suministro m\xe1ximo: 10.000","common":"Suministro m\xe1ximo: 100.000"},"time":{"hours":"{amount}h","minutes":"{amount}m","seconds":"{amount}s"},"analytics":{"users":"Usuarios Semanales","sessions":"Sesiones Semanales","median_session_time":"Tiempo de Sesion","max_concurrent_users":"Usuarios Concurrentes","notice":"*Las metricas se calculan una vez por semana cada Lunes"},"maintainance":{"notice":"Estamos en mantenimiento, volveremos pronto!"},"networks":{"ethereum":"Ethereum","matic":"Polygon"},"tokens":{"ethereum":"ETH","matic":"MATIC"},"toast":{"meta_transaction_failure":{"title":"Meta transacci\xf3n","body":"Ocurri\xf3 un error publicando la meta transacci\xf3n.{br}Intentelo de nuevo o ingrese a nuestro {discord_link} para obtener m\xe1s informaci\xf3n."},"deploy_item_failure":{"title":"Error en el Item","body":"Error al cargar el item \\"{itemName}\\" de \\"{collectionName}\\".{br}El tama\xf1o del item es demasiado grande y el tama\xf1o m\xe1ximo permitido es {size} "},"third_party_action_failure":{"title":"Error","body":"Algo sali\xf3 mal... Vuelve a intentarlo m\xe1s tarde."},"collection_detail_page":{"move_item_to_another_collection":{"title":"Has movido el Item a otra colecci\xf3n","body":"{item_name} ha sido movido a la colecci\xf3n {collection_name}.","cta":"Ver Colecci\xf3n"},"item_deleted":{"title":"Item Eliminado","body":"{name} ha sido eliminado."}}},"sagas":{"collection":{"invalid_character":"\xa1Car\xe1cter invalido! El \\":\\" no est\xe1 permitido en los nombres","missing_salt":"La colecci\xf3n no tiene salt","collection_locked":"La colecci\xf3n est\xe1 bloqueada"},"item":{"invalid_identity":"Identidad inv\xe1lida","invalid_character":"\xa1Car\xe1cter invalido! El \\":\\" no est\xe1 permitido en nombres o descripciones","cant_save_published":"El item no debe publicarse para guardarlo.","not_published":"El item debe estar publicado","cant_save_without_collection":"No se puede guardar una publicaci\xf3n sin una colecci\xf3n","not_found":"No se encontr\xf3","item_added_toast":{"title":"\xa1Item a\xf1adido!","body":"El item <b>{name}</b> se agrego a su colecci\xf3n. <br></br><collection-link>Ver Colecci\xf3n</collection-link>"}}},"status":{"under_review":"En Revisi\xf3n","loading":"Cargando...","synced":"Sincronizado","unsynced":"Desincronizado"},"editor_preview":{"loading_unity":"Cargando Unity...","loading_unity_error":"Por favor vuelva a cargar su navegador. Si el problema persiste, intente usar una escena m\xe1s ligera o contacte a soporte."},"approval_flow":{"loading":{"title":"Cargando...","subtitle":"Preparando colecci\xf3n para revisi\xf3n"},"rescue":{"title":"Aprobar Items","subtitle":"Por favor aprueba los items y sus hashes","confirm":"Confirmar","items_exceed_limit":{"title":"La colecci\xf3n excede el m\xe1ximo n\xfamero de items","content":"Se realizar\xe1n m\xfaltiples transacciones. Ten en cuenta que se te pedir\xe1 que las firmes."}},"consume_slots":{"title":"Aprobar Items","subtitle":"Por favor aprueba los siguientes items","more_items":"Y {count} otros {count, plural, one {item} other {items}}","confirm":"Confirmar"},"upload":{"title":"Subir Archivos","subtitle":"Por favor sube los archivos de los items","confirm":"Subir"},"approve":{"title":"Habilitar Colecci\xf3n","subtitle":"Por favor habilita la colecci\xf3n para poder mintear items","confirm":"Enable"},"error":{"title":"Error","subtitle":"Algo salio mal..."},"success":{"title":"Colecci\xf3n Aprobada!","subtitle":"Gracias por revisar esta colleci\xf3n"}},"event_banner":{"small":{"title":"Preparate para Metaverse Pride \'23","subtitle":"AGREGA EL TAG {event_tag} A TUS COLECCIONABLES Y ANIMACIONES PROMOVIENDO EL ORGULLO, LA INCLUSI\xd3N Y LA DIVERSIDAD EN EL METAVERSO PARA QUE APAREZCAN EN UNA PESTA\xd1A ESPECIAL DE ORGULLO DEL MERCADO PARA EL GRAN EVENTO","dates":"JUNIO 27-29","information":"CELEBRA LA DIVERSIDAD E INCLUSION EN EL METAVERSO"},"event_tag":"PRIDE23"},"campaign":{"name":"Metaverse Pride","tag":"PRIDE23"},"logged_in_detail_page":{"error_title":"Ocurri\xf3 un error al cargar la p\xe1gina de detalles"},"hands_category_ftu":{"title":"Introducci\xf3n de ropa de mano","subtitle":"Una nueva categor\xeda de wearables para todas sus creaciones de ropa mano","img_alt":"Nueva categor\xeda de ropa de mano","description":"Actualice sus wearables a la nueva categor\xeda en el editor una vez que los haya modificado en consecuencia. Tenga en cuenta que la categor\xeda de ropa de mano es para accesorios manuales o port\xe1tiles que reemplazan las manos con otros funcionalmente similares, no para elementos que se sostienen.","action":"Aprende m\xe1s"},"migrate_to_sdk7_modal":{"use_legacy_builder":"Contin\xfae con el editor de escenas antiguo (SDK 6)","save_a_copy":"Guarde una copia de la escena original en SDK 6.","saving_copy":"Guardando copia en SDK 6","migrating_scene":"Migrando escena a SDK 7","image_alt":"Migrar a SDK 7","info":{"title":"Actualice su escena a SDK 7 con el nuevo editor web de Decentraland","subtitle":"<b>Esta escena est\xe1 actualmente construida con SDK 6, lo que dejar\xe1 de recibir soporte en unos pocos meses, pero se puede migrar autom\xe1ticamente al SDK 7.</b> Se incluyen todas las caracter\xedsticas del constructor de escenas anterior, mientras que los elementos inteligentes se agregar\xe1n en una pr\xf3xima actualizaci\xf3n.","action":"Use el editor web de Decentraland (SDK 7)"},"info_smart_items":{"title":"Actualice su escena a SDK 7 con el nuevo editor web de Decentraland","subtitle":"<b>Esta escena est\xe1 actualmente construida con SDK 6, que dejar\xe1 de recibir soporte en unos pocos meses, y contiene elementos inteligentes </b>.Si elige actualizar a SDK 7 utilizando nuestro editor visual mejorado, estos elementos inteligentes se eliminar\xe1n, ya que a\xfan no son compatibles.","action":"Use el editor web de Decentraland (SDK 7)"},"migrate":{"title":"Migraci\xf3n autom\xe1tica a SDK 7","subtitle":"Esta escena est\xe1 actualmente construida con SDK 6, pero se puede migrar autom\xe1ticamente a SDK 7 </b>.Esto mejorar\xe1 su experiencia de construcci\xf3n de escenas con nuestro nuevo y mejorado editor web.<br> </br> <br> </br> <b> \xbfListo para actualizar? </b>","action":"Migrar ahora"},"migrate_smart_items":{"title":"Opciones de migraci\xf3n para su escena","subtitle":"Tu escena contiene <b>{smartItemsCount} Smart Items</b> wActualmente, solo solo son compatibles en SDK 6. <br> </br> Puede optar por migrar al SDK 7 eliminando estos elementos o continuar utilizando el constructor de escenas heredadas hasta que los elementos inteligentes est\xe9n disponibles para SDK 7 (pr\xf3ximamente).","action":"Migrar y eliminar elementos inteligentes"}},"inspector":{"top_bar":{"back":"Volver a tu escena","download":"Descargar escena","publish":"Publicar escena","preview":"Avance de escena"}}}')},3370:function(e){e.exports=JSON.parse('{"atlas":{"locate_land":"\u5b9a\u4f4d\u4e0b\u4e00\u5730\u5757","zoom_in":"\u653e\u5927","zoom_out":"\u7f29\u5c0f"},"authorization_modal":{"title":"\u6388\u6743{token}","description":"\u6b32\u7ee7\u7eed\u64cd\u4f5c\uff0c\u60a8\u9700\u8981\u6388\u6743{contract}\u5408\u540c\u4ee3\u8868\u60a8\u64cd\u4f5c{token}\u4ee4\u724c\u3002\u53ea\u9700\u6267\u884c\u4e00\u6b21.","authorize":"\u6388\u6743{contract_link}\u5408\u7ea6\u4ee3\u8868\u60a8\u64cd\u4f5c{symbol}","pending_tx":"\u5f85\u5904\u7406\u7684\u4ea4\u6613\uff0c\u8bf7\u5355\u51fb\u5fae\u8c03\u5668\u4ee5\u8f6c\u5230\u6d3b\u52a8\u8be6\u7ec6\u72b6\u6001"},"add_existing_item_modal":{"title":"\u6dfb\u52a0\u73b0\u6709\u9879\u76ee","subtitle":"\u9009\u62e9\u4e00\u4e2a\u4e0d\u5c5e\u4e8e\u96c6\u5408\u7684\u9879\u76ee"},"move_item_to_collection_modal":{"title":"\u5c06\u9879\u76ee\u79fb\u81f3\u6536\u85cf\u5939","subtitle":"\u9009\u62e9\u8981\u5c06\u9879\u76ee\u79fb\u52a8\u5230\u7684\u96c6\u5408","confirm":"\u79fb\u52a8"},"move_item_to_another_collection_modal":{"title":"\u5c06\u9879\u76ee\u79fb\u81f3\u6536\u85cf\u5939","subtitle":"\u9009\u62e9\u8981\u5c06\u9879\u76ee\u79fb\u52a8\u5230\u7684\u96c6\u5408","confirm":"\u786e\u8ba4","cancel":"\u53d6\u6d88"},"asset_pack":{"confirm_delete":{"action":"\u6e05\u9664Asset Pack","back":"\u5fa1\u5b87","description":"\u60a8\u5c06\u8981\u5220\u9664\u5b83Asset Pack\u3002\u6b64\u64cd\u4f5c\u65e0\u6cd5\u64a4\u6d88\u3002","title":"\u4f60\u786e\u5b9a\u5417\uff1f"},"default_name":"\u6211\u7684Asset Pack","default_name_suffix":"\u6211\u7684Asset Pack ({suffix})","edit_asset":{"action":"\u7ee7\u7eed","action_skip":"\u8df3\u8fc7\u8bc4\u8bba","category":{"label":"\u7c7b\u522b"},"description_create":"\u67e5\u770b\u60a8\u7684assets\uff0c\u6dfb\u52a0\u6807\u7b7e\u7b49","description_edit":"\u67e5\u770b\u60a8\u7684assets\uff0c\u6dfb\u52a0\u6807\u7b7e\u7b49","errors":{"max_name_length":"Asset\u540d\u79f0\u957f\u5ea6\u6700\u591a\u53ea\u80fd\u4e3a{count}\u4e2a\u5b57\u7b26","min_name_length":"\u8d44\u4ea7\u540d\u79f0\u957f\u5ea6\u5fc5\u987b\u81f3\u5c11\u4e3a{count}\u4e2a\u5b57\u7b26","tag_count":"\u60a8\u6700\u591a\u53ea\u80fd\u6307\u5b9a{count}\u4e2a\u6807\u7b7e"},"ground":{"label":"\u7528\u4f5c\u5730\u9762"},"name":{"label":"\u540d\u79f0","placeholder":"Asset\u540d\u79f0"},"tags":{"label":"\u6807\u7b7e","placeholder":"\u4f8b\u5982 \uff08\u6237\u5916\u5bb6\u5177\u697c\uff09"},"title_edit":"\u4fee\u6539Asset Pack"},"edit_assetpack":{"action_add_items":"\u52a0Assets","action_create":"\u521b\u9020Asset Pack","action_delete":"\u5220\u9664Asset Pack","action_edit":"\u6551Asset Pack","description_create":"\u771f\u68d2\uff01\u8f93\u5165Asset Pack\u7684\u552f\u4e00\u540d\u79f0","description_edit":"\u771f\u68d2\uff01 \u8f93\u5165\u60a8\u7684\u552f\u4e00\u540d\u79f0Asset Pack. \u5355\u51fb\u8d44\u4ea7\u8fdb\u884c\u7f16\u8f91\u3002","errors":{"max_title_length":"Asset Pack\u6807\u9898\u6700\u591a\u53ea\u80fd\u5305\u542b{count}\u4e2a\u5b57\u7b26","min_title_length":"Asset Pack\u540d\u79f0\u7684\u957f\u5ea6\u5fc5\u987b\u81f3\u5c11\u4e3a{count}\u4e2a\u5b57\u7b26","thumbnail_size":"\u56fe\u50cf\u6587\u4ef6\u5927\u5c0f\u5fc5\u987b\u5c0f\u4e8e {size}"},"items":{"empty":"\u8fd9Asset Pack\u4e2a\u897f\u662f\u7a7a\u7684","label":"{count} {count, plural, one {Asset} other {Assets}}"},"name":{"label":"\u540d\u79f0","placeholder":"\u6211\u7684\u65b0Asset Pack"},"reset":"\u6dfb\u52a0\u65b0Assets","title_edit":"\u4fee\u6539Asset Pack"},"exit":{"action":"\u51fa\u53e3","back":"\u56de\u53bb","description_create":"\u60a8\u5373\u5c06\u9000\u51faAsset Pack\u521b\u5efa\uff0c\u60a8\u8981\u7ee7\u7eed\u5417","description_edit":"\u60a8\u5373\u5c06\u9000\u51faAsset Pack\u66f4\u65b0\uff0c\u60a8\u8981\u7ee7\u7eed\u5417\uff1f","title_create":"\u4f60\u786e\u5b9a\u5417\uff1f","title_edit":"\u4f60\u786e\u5b9a\u5417\uff1f"},"import":{"action":"\u5bfc\u5165{\u8d44\u4ea7}","action_many":"\u5bfc\u5165{count} Asset","cta":"\u5728\u6b64\u5904\u62d6\u653e\u60a8\u7684\u8d44\u4ea7\u6587\u4ef6 ({accepted_extensions}),{enter}\u6216{action}","upload_manually":"\u5728\u8ba1\u7b97\u673a\u4e0a\u6d4f\u89c8\u5b83","description_create":"\u9996\u5148\u5c06\u6a21\u578b\u6dfb\u52a0\u5230Asset Pack","description_edit":"\u5411\u60a8\u6dfb\u52a0\u66f4\u591a\u9879\u76eeAsset Pack","loaded":"\u9879\u76ee\u5bfc\u5165\u6210\u529f","errors":{"duplicated":"\u91cd\u590d\u8d44\u4ea7","duplicated_asset":"{name}\uff1a\u6b64\u8d44\u4ea7\u5305\u4e2d\u5df2\u7ecf\u6709\u4e00\u4e2a\u540d\u4e3a\\"{existingAsset}\\"\u7684\u8d44\u4ea7\uff0c\u5176ID\u4e3a\\"{id}\\"\uff0c\u8bf7\u5c06\\"{newAsset}\\"\u7684ID\u66f4\u6539\u4e3a\u53e6\u4e00\u79cd","invalid":"\u65e0\u6548\u8d44\u4ea7","max_file_size":"{name}: \u6587\u4ef6\u5927\u5c0f\u8d85\u8fc7{max}mb\u7684\u9650\u5236","missing_extension":"{name}: \u7f3a\u5c11\u6587\u4ef6\u6269\u5c55\u540d","missing_model":"{name}: \u7f3a\u5c11 3D \u6a21\u578b (.gltf \u6216\u8005 .glb)","scene_file":"{name}: \u4e0d\u5141\u8bb8\u5bfc\u51fa\u573a\u666f"},"title_edit":"\u521b\u9020Asset Pack"},"new_asset_pack":"\u65b0\u7684Asset Pack","progress":{"creating_asset_pack":"\u521b\u5efaAsset Pack","updating_asset_pack":"\u66f4\u65b0Asset Pack","uploading_contents":"\u6b63\u5728\u4e0a\u4f20Asset Pack\u5185\u5bb9"},"success":{"continue":"\u7ee7\u7eed\u5de5\u4f5c","description":"\u60a8\u7684Asset Pack\u5df2\u6210\u529f\u4e0a\u4f20\u3002 \u67e5\u770b\u9879\u76ee\u62bd\u5c49\u4ee5\u5f00\u59cb\u4f7f\u7528\u5b83\u3002","title":"\u5168\u90e8\u505a\u5b8c\uff01"},"title_create":"\u521b\u9020Asset Pack"},"banners":{"promo_subtitle":"\u81ea\u5b9a\u4e49\u8d44\u4ea7\u5305\u73b0\u5728\u5728Decentraland\u4e2d\u53ef\u7528\uff01","promo_title":"\u4e2a\u6027\u5316\u60a8\u7684\u4e16\u754c","top_banner_action":"\u5b66\u5230\u66f4\u591a\u3002","top_banner_left":"9\u670816\u65e5\u81f330\u65e5-\u6fc0\u70c8\u7684\u5728\u7ebf\u521b\u4f5c\uff0c\u5206\u4eab\u4e86\u8d85\u8fc725\u4e07\u7f8e\u5143\u7684\u5956\u54c1\u3002","top_banner_right":" "},"body_shapes":{"both":"\u4e24\u4e2a\u90fd","male":"\u7537","female":"\u5973","null":"\u6ca1\u6709\u4efb\u4f55"},"item_types":{"wearable":"\u53ef\u7a7f\u6234","smart_wearable":"\u667a\u80fd\u7a7f\u6234"},"emotes":{"idle":"\u95f2","clap":"\u62cd","dab":"\u8f7b\u62cd","dance":"\u821e","fashion":"\u8bd5\u7a7f","fashion-2":"\u522b\u81f4","fashion-3":"\u65f6\u5c1a\u8fbe\u4eba","fashion-4":"\u805a\u5149\u706f","money":"\u94b1","love":"\u7231","head-explode":"\u5934\u90e8\u7206\u70b8","fist-pump":"\u62f3\u5934\u6cf5"},"create_collection_modal":{"title":"\u65b0\u7cfb\u5217","subtitle":"\u8f93\u5165\u65b0\u6536\u85cf\u7684\u63cf\u8ff0\u6027\u540d\u79f0","label":"\u6536\u96c6\u540d\u79f0","placeholder":"\u6211\u7684\u5927\u5b66","message":"\u540d\u79f0\u6700\u591a\u53ef\u4ee5\u662f {maxLength} \u4e2a\u5b57\u7b26","error_name_already_in_use":"\u4f7f\u7528\u4e2d\u7684\u540d\u79f0\u3002 \u5c1d\u8bd5\u5176\u4ed6"},"create_third_party_collection_modal":{"title":"\u65b0\u7684\u94fe\u63a5\u53ef\u7a7f\u6234\u8bbe\u5907\u7cfb\u5217","subtitle":"\u4e3a\u60a8\u7684\u65b0\u96c6\u5408\u8f93\u5165\u4e00\u4e2a\u63cf\u8ff0\u6027\u540d\u79f0","third_party":{"label":"\u7b2c\u4e09\u8005"},"name_field":{"label":"\u59d3\u540d","message":"\u540d\u79f0\u6700\u591a\u53ef\u4ee5\u662f {maxLength} \u4e2a\u5b57\u7b26"},"urn_suffix_field":{"label":"Id","message":"\u6211\u4eec\u5efa\u8bae\u5c06\u6536\u6b3e\u5408\u7ea6\u5730\u5740\u4f5c\u4e3a id \u7684\u4e00\u90e8\u5206\u3002\u53ea\u5141\u8bb8\u4f7f\u7528\u5b57\u6bcd\u3001\u6570\u5b57\u548c\u7834\u6298\u53f7 (-)"}},"model_metrics":{"triangles":"{count}\u4e2a\u4e09\u89d2\u5f62","materials":"{count}\u4e2a\u6750\u6599","textures":"{count}\u4e2a\u7eb9\u7406","sequences":"{count}\u5e8f\u5217","duration":"{count}\u79d2","frames":"{count}\u5e27","fps":"{count}fps"},"claim_ens_page":{"title":"\u7d22\u53d6\u552f\u4e00\u540d\u79f0","subtitle":"\u53ef\u4ee5\u5c06\u552f\u4e00\u540d\u79f0\u5206\u914d\u7ed9\u60a8\u7684\u5316\u8eab\u4ee5\u7528\u4f5c\u522b\u540d\uff0c\u4e5f\u53ef\u4ee5\u5c06\u5b83\u4eec\u5206\u914d\u7ed9\u5b97\u5730\u548c\u5730\u4ea7\u3002{br}\u4e3a\u5b97\u5730\u6216\u5730\u4ea7\u5206\u914d\u540d\u79f0\u53ef\u4ee5\u4f7f\u60a8\u521b\u5efa\u552f\u4e00\u7684URL\uff0c\u4f8b\u5982{exampleLink} \u8f7b\u677e\u5c06\u4eba\u4eec\u9001\u5f80\u60a8\u7684LAND\u3002 \u5f53\u6709\u4eba\u4f7f\u7528\u60a8\u7684\u65b0\u7f51\u5740\u65f6\uff0c\u4ed6\u4eec\u5c06\u5728{dclWorldLink}\u4e2d\u91cd\u5b9a\u5411\u5230\u60a8\u7684LAND{br} \u540d\u79f0\u4ec5\u5728\u4ee5\u592a\u574a\u4e2d\u63d0\u4f9b\uff0c\u5e76\u4e14\u53ea\u80fd\u4f7f\u7528\u4ee5\u592a\u574a MANA {symbol} \u8fdb\u884c\u8ba4\u9886","world":"Decentraland!","name_label":"\u540d\u79f0","name_message":"\u540d\u79f0\u4e0d\u5f97\u8d85\u8fc715\u4e2a\u5b57\u7b26\uff0c\u4e0d\u5f97\u5305\u542b\u7a7a\u683c\u6216\u4efb\u4f55\u975e\u5b57\u6bcd\u6570\u5b57\u5b57\u7b26\u3002","name_placeholder":"\u4f60\u7684\u540d\u5b57\u5728\u8fd9\u91cc","repeated_message":"\u6b64\u540d\u79f0\u4e0d\u53ef\u7528\u3002","error_message":"\u7f51\u7edc\u51fa\u73b0\u9519\u8bef\uff0c\u8bf7\u91cd\u8bd5","radio_label":"MANA\u6279\u51c6","claim_button":"\u8981\u6c42 ","feed_mana_message":"\u6388\u6743{contract_link}\u5408\u540c\u4ee3\u8868\u60a8\u64cd\u4f5cMANA","mana_not_allowed":"\u60a8\u9700\u8981\u6388\u6743\u8db3\u591f\u7684MANA\u624d\u80fd\u7533\u8bf7\u65b0\u540d\u79f0","not_enough_mana":"\u60a8\u6ca1\u6709\u8db3\u591f\u7684MANA\u6765\u7533\u8bf7\u65b0\u540d\u79f0"},"create_single_item_modal":{"title":"\u65b0\u7269\u54c1","thumbnail_step_title":"\u7f16\u8f91\u7f29\u7565\u56fe","upload_video_step_title":"\u4e0a\u4f20\u60a8\u7684\u667a\u80fd\u53ef\u7a7f\u6234\u8bbe\u5907\u7684\u89c6\u9891","title_emote":"\u65b0\u8868\u60c5","add_representation":"\u6dfb\u52a0{bodyShape}","wrong_thumbnail_format":"\u63d0\u4f9b\u7684\u7f29\u7565\u56fe\u4e0d\u662f PNG \u56fe\u50cf","name_label":"\u7ed9\u60a8\u7684\u65b0\u5546\u54c1\u8d77\u4e2a\u540d\u5b57","category_label":"\u8fd9\u4e2a\u9879\u76ee\u662f\u4ec0\u4e48\u7c7b\u522b\uff1f","category_placeholder":"\u9009\u62e9\u4e00\u4e2a\u7c7b\u522b","play_mode_label":"\u6e38\u620f\u6a21\u5f0f","play_mode_placeholder":"\u9009\u62e9\u64ad\u653e\u6a21\u5f0f","upload_video_label":"\u5411\u7528\u6237\u5c55\u793a\u5982\u4f55\u4f7f\u7528\u6b64\u9879\u76ee\u7684\u9884\u89c8","upload_video_placeholder":"\u9009\u62e9\u89c6\u9891","rarity_label":"\u8fd9\u4e2a\u7269\u54c1\u7684\u7a00\u6709\u5ea6\u662f\u591a\u5c11\uff1f","rarity_placeholder":"\u9009\u62e9\u7a00\u6709","representation_label":"\u9009\u62e9\u60a8\u7684\u9879\u76ee\u7684\u8eab\u4f53\u5f62\u72b6","existing_item":"\u8fd9\u662f\u73b0\u6709\u9879\u76ee\u7684\u4e00\u90e8\u5206\u5417\uff1f","pick_item":"\u9009\u62e9\u6ca1\u6709{bodyShape}\u7684\u5546\u54c1","adding_representation":"\u8fd9\u5c06\u6dfb\u52a0\u4e3a\u4ee5\u4e0b\u9879\u76ee\u7684{body Shape}","change_item_file":"\u7f16\u8f91\u5236\u56fe\u8868\u8fbe","upload_video_information":"\u6700\u5927\u6587\u4ef6\u5927\u5c0f {max_size} - \u6700\u5927\u6301\u7eed\u65f6\u95f4 {max_duration} \u79d2","error":{"item_too_big":"\u6574\u4e2a\u9879\u76ee\u592a\u5927\uff0c\u65e0\u6cd5\u4e0a\u4f20\u3002 \u6240\u6709\u6587\u4ef6\u7684\u6700\u5927\u5927\u5c0f\u4e3a {size}\u3002","file_too_big":"{title}.{enter}\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u4e3a {size}\u3002\u51cf\u5c0f\u6587\u4ef6\u7684\u5927\u5c0f\uff0c\u7136\u540e\u91cd\u8bd5\u3002","file_too_big_title":"\u6587\u4ef6\u592a\u5927\uff0c\u65e0\u6cd5\u4e0a\u4f20","thumbnail_file_too_big":"\u6587\u4ef6\u592a\u5927\uff0c\u65e0\u6cd5\u4e0a\u4f20\u3002 \u6700\u5927\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u4e3a {size}\u3002","wrong_extension":"\u8be5\u6587\u4ef6\u7684\u6269\u5c55\u540d\u65e0\u6548\u3002","invalid_files":"\u6587\u4ef6\u4f3c\u4e4e\u65e0\u6548\u6216\u635f\u574f\uff0c\u8bf7\u68c0\u67e5\u5e76\u91cd\u8bd5\u3002","missing_model_file":"\u627e\u4e0d\u5230\u6709\u6548\u7684\u6a21\u578b\u6587\u4ef6\u3002","invalid_content_path":"\u5c5e\u6027 \\"{name}\\" \u7684\u65e0\u6548\u8def\u5f84 \\"{path}\\"\uff0c\u627e\u4e0d\u5230\u6587\u4ef6\u3002","invalid_enum_value":"\u5c5e\u6027 \\"{name}\\" \u7684\u65e0\u6548\u503c \\"{value}\\"\uff0c\u53ef\u80fd\u7684\u503c\uff1a{values}\u3002","invalid_model_files_representation":"\u8be5\u6587\u4ef6\u4f3c\u4e4e\u6709\u591a\u4e2a\u8868\u793a\uff0c\u8bf7\u67e5\u770b\u5b83\u4eec\u5e76\u91cd\u8bd5\u3002","emote_duration_too_long":"{title}.{enter}\u8868\u60c5\u7684\u6301\u7eed\u65f6\u95f4\u9650\u5236\u4e3a {duration} \u79d2\u3002{enter}\u51cf\u5c11\u8868\u60c5\u7684\u6301\u7eed\u65f6\u95f4\uff0c\u7136\u540e\u91cd\u8bd5\u3002","emote_duration_too_long_title":"\u60a8\u7684\u8868\u60c5\u8d85\u8fc7\u4e86\u6700\u957f\u6301\u7eed\u65f6\u95f4\uff08\u4ee5\u79d2\u4e3a\u5355\u4f4d\uff09","invalid_model_file_type":"\u8be5\u6587\u4ef6\u5bf9\u6b64 {type} \u9879\u76ee\u7684\u8868\u793a\u65e0\u6548\uff0c\u8bf7\u68c0\u67e5\u5b83\u5e76\u91cd\u8bd5\u3002","wrong_video_format":"\u63d0\u4f9b\u7684\u89c6\u9891\u4e0d\u662fMP4\u89c6\u9891","unknown_required_permissions":{"title":"\u667a\u80fd\u7a7f\u6234\u8bbe\u5907{count,plural,\u4e00\u4e2a{\u6743\u9650}\u5176\u4ed6{\u6743\u9650}}{wrong_configurations}{count,plural,\u4e00\u4e2a{\u4e0d}\u5176\u4ed6{\u4e0d}}\u5b58\u5728\u3002\u8bf7\u66f4\u6b63\' \u573a\u666f.json\'\u3002","message":"\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u67e5\u770b\u6587\u6863 {learn_more}\u3002"},"duplicated_required_permissions":{"title":"{wrong_configurations} \u667a\u80fd\u7a7f\u6234\u8bbe\u5907 {count,plural, one {Permission is} other {Permissions are}} \u91cd\u590d\u3002\u8bf7\u66f4\u6b63 \'scene.json\'\u3002","message":"\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u67e5\u770b\u6587\u6863 {learn_more}\u3002"},"missing_required_properties":{"title":"\u914d\u7f6e\u4e2d\u7f3a\u5c11 {count,plural,one{property}other{properties}}{wrong_configurations}{count,plural,one{is}other{are}}\u3002\u8bf7\u66f4\u6b63 \'scene.json\' .","message":"\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u67e5\u770b\u6587\u6863 {learn_more}\u3002"},"allowed_media_hostnames_empty_or_invalid":{"title":"\u9274\u4e8e\u8bbe\u7f6e\u4e86 \'ALLOW_MEDIA_HOSTNAMES\' \u6743\u9650\uff0c\u56e0\u6b64\u5fc5\u987b\u8bbe\u7f6e \'allowedMediaHostnames\' \u5c5e\u6027\u4e14\u4e0d\u4e3a\u7a7a\u3002\u8bf7\u66f4\u6b63 \'scene.json\'\u3002","message":"\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u67e5\u770b\u6587\u6863 {learn_more}\u3002"},"item_not_allowed_in_third_party_collections":"\u6b64\u9879\u76ee\u7c7b\u578b{type}\u5728\u94fe\u63a5\u7684\u53ef\u7a7f\u6234\u8bbe\u5907\u96c6\u5408\u4e2d\u4e0d\u5141\u8bb8","emote_animations_sync_error":"<b>\u5934\u50cf\u548c\u9053\u5177\u52a8\u753b\u957f\u5ea6\u4e0d\u4e00\u6837</b><br></br>\u8bf7\u66f4\u6b63\u60a8\u7684\u52a8\u753b\uff0c\u7136\u540e\u518d\u6b21\u4e0a\u4f20\u4ee5\u83b7\u5f97\u5b8c\u7f8e\u7684\u540c\u6b65.","emote_with_mesh":"<b>\u60a8\u7684\u6587\u4ef6\u5305\u62ec\u5934\u50cf\u7f51\u3002</b><br></br>\u5bf9\u4e8e\u6b64\u8fc7\u7a0b\uff0c\u6b64\u7f51\u683c\u4e0d\u662f\u5fc5\u9700\u7684\u3002\u8bf7\uff0c\u53ea\u9700\u91cd\u65b0\u51fa\u53e3\u5e76\u518d\u6b21\u4e0a\u4f20\u5373\u53ef\u7ee7\u7eed\u3002"},"emote_notice":"\u8868\u60c5\u9002\u7528\u4e8e\u6240\u6709\u4f53\u578b\u3002","smart_wearable_details_title":"\u5b8c\u5584\u60a8\u7684\u667a\u80fd\u53ef\u7a7f\u6234\u8bbe\u5907\u8be6\u7ec6\u4fe1\u606f","smart_wearable_permissions_label":"\u667a\u80fd\u53ef\u7a7f\u6234\u6743\u9650","smart_wearable_notice":"\u8bf7\u8bb0\u4f4f\uff0c\u667a\u80fd\u53ef\u7a7f\u6234\u8bbe\u5907\u53ef\u7528\u4e8e\u6240\u6709\u8eab\u4f53\u5f62\u72b6","thumbnail_preview_title":"\u7f29\u7565\u56fe","video_preview_title":"\u89c6\u9891\u7ec6\u8282"},"create_and_edit_multiple_items_modal":{"create":{"title":"\u521b\u5efa\u591a\u4e2a\u53ef\u7a7f\u6234\u8bbe\u5907","successful_title":"\u521b\u5efa\u7684\u53ef\u7a7f\u6234\u7269\u54c1","cancelled_title":"\u53d6\u6d88\u4e86\u591a\u4e2a\u53ef\u7a7f\u6234\u9879\u76ee\u7684\u521b\u5efa","failed_title":"\u591a\u4e2a\u53ef\u7a7f\u6234\u9879\u76ee\u521b\u5efa\u5931\u8d25","finished_successfully_subtitle":"\u4f1f\u5927\u7684\uff01 \u60a8\u5df2\u6dfb\u52a0 {number_of_items} \u9879","finished_partial_successfully_subtitle":"\u60a8\u5df2\u6dfb\u52a0 {number_of_items} \u4e2a\u9879\u76ee\uff0c\u4f46 {number_of_failed_items} \u4e2a\u5931\u8d25","saved_items_table_title":"\u4fdd\u5b58\u7684\u9879\u76ee"},"edit":{"title":"\u6279\u91cf\u7f16\u8f91\u9879\u76ee","subtitle":"\u8981\u7f16\u8f91\u73b0\u6709\u9879\u76ee\uff0c\u8bf7\u4f7f\u7528\u76f8\u540c\u7684 URN","successful_title":"\u66f4\u65b0\u7684\u9879\u76ee","failed_title":"\u591a\u4e2a\u9879\u76ee\u66f4\u65b0\u5931\u8d25","cancelled_title":"\u53d6\u6d88\u4e86\u591a\u9879\u66f4\u65b0","finished_successfully_subtitle":"\u4f1f\u5927\u7684\uff01\u60a8\u5df2\u66f4\u65b0 {number_of_items} \u9879","finished_partial_successfully_subtitle":"\u60a8\u5df2\u66f4\u65b0 {number_of_items} \u4e2a\u9879\u76ee\uff0c\u4f46 {number_of_failed_items} \u4e2a\u5931\u8d25\u3002\u8bf7\u67e5\u770b\u63d0\u4f9b\u7684 URN","saved_items_table_title":"\u66f4\u65b0\u9879\u76ee"},"wrong_thumbnail_format":"thumbnail.png \u6587\u4ef6\u672a\u683c\u5f0f\u5316\u4e3a PNG \u56fe\u50cf\u3002","wrong_file_extension":"\u6587\u4ef6\u6269\u5c55\u540d\u4e0d\u6b63\u786e\u3002","wearable_file_not_found":"\u627e\u4e0d\u5230wearable.json \u6587\u4ef6\u3002","thumbnail_file_not_generated":"\u65e0\u6cd5\u751f\u6210 thumbnail.png \u6587\u4ef6\u3002","not_saved_items_table_title":"\u65e0\u6548\u7684\u53ef\u7a7f\u6234\u8bbe\u5907","cancelled_items_table_title":"\u53d6\u6d88\u7684\u53ef\u7a7f\u6234\u8bbe\u5907","invalid_urn":"wearable.json \u6587\u4ef6\u5305\u542b\u6b64\u96c6\u5408\u7684\u65e0\u6548 URN","invalid_title":"\u65e0\u6548\u7684","valid_title":"\u6709\u6548\u7684\u6863\u6848","add_more_button":"\u6dfb\u52a0\u66f4\u591a","upload_items_button":"\u4e0a\u4f20\u53ef\u7a7f\u6234\u7269\u54c1","only_valid_items_info":"\u53ea\u4f1a\u4e0a\u4f20\u6709\u6548\u7684\u9879\u76ee","done_button":"\u5b8c\u6210","importing_files_progress_label":"\u52a0\u5de5\u9879\u76ee","uploading_items_progress_label":"\u4e0a\u4f20 {number_of_items} \u4e2a\u9879\u76ee","import_information_link_label":"\u70b9\u51fb\u8fd9\u91cc","import_information":"\u6709\u5173 ZIP \u7ed3\u6784\u7684\u66f4\u591a\u4fe1\u606f {link}"},"create_items_modal":{"title":"New Item","subtitle":"Select the method for uploading your item.","single_item_button_name":"Single item","single_item_button_description":"Upload GLTF, GLB or PNG files.","multiple_items_button_name":"Multiple items","multiple_items_button_description":"Upload a ZIP file with all the files."},"edit_collection_name_modal":{"title":"\u7f16\u8f91\u96c6\u5408\u540d\u79f0","subtitle":"\u4e3a\u6b64\u6536\u85cf\u96c6\u8bbe\u7f6e\u4e00\u4e2a\u65b0\u540d\u79f0","submit":"\u6551"},"edit_urn_modal":{"title":"\u7f16\u8f91 URN","subtitle":"\u66f4\u65b0 {name} \u7684 URN"},"custom_layout_modal":{"subtitle_one":"\u60a8\u53ef\u4ee5\u81ea\u5b9a\u4e49\u573a\u666f\u5e03\u5c40.","subtitle_two":"\u5728\u4e0b\u9762\u7684\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u6240\u9700\u7684\u5927\u5c0f\u503c."},"share_modal":{"title":"\u5206\u4eab\u60a8\u7684\u573a\u666f","description":"\u8ba9\u4f60\u7684\u670b\u53cb\u548c\u5408\u4f5c\u8005\u6b23\u8d4f\u60a8\u7684\u4f5c\u54c1","copy":"\u590d\u5236\u94fe\u63a5","copied":"\u5df2\u590d\u5236","uri":{"facebook":"https://www.facebook.com/sharer/sharer.php?u={url}&description=\u6211\u7684\u6700\u65b0\u4f5c\u54c1\u5df2\u7ecf\u5728 Decentraland \u4e2d\u5b89\u5bb6\u4e86\uff01 \u656c\u8bf7\u67e5\u770b\uff0c\u5e76\u4e14\u6dfb\u52a0\u81ea\u5df1\u7684\u573a\u666f\u5171\u5efa\u865a\u62df\u4e16\u754c\u3002","twitter":"https://twitter.com/intent/tweet?text=\u521a\u521a\u901a\u8fc7 Builder \u5728 Decentraland \u4e2d\u90e8\u7f72\u4e86\u6211\u7684\u65b0\u8bbe\u8ba1\u3002 \u656c\u8bf7\u67e5\u770b\uff0c\u4e5f\u8bf7\u60a8\u521b\u5efa\u60a8\u81ea\u5df1\u7684\u573a\u666f\u3002 \u56e0\u4e3a\u865a\u62df\u4e16\u754c\u4e5f\u4e0d\u4f1a\u51ed\u7a7a\u800c\u5efa! {url}&hashtags=builder,virtualworld,gaming"}},"deployment_status":{"online":"\u53d1\u5e03\u5230{coords}","online_multiple":"\u5728{count}\u4e2a\u4f4d\u7f6e\u53d1\u5e03","needs_sync":"\u5728{coords}\u53d1\u5e03\uff0c\u4f46\u5df2\u8fc7\u65f6","needs_sync_multiple":"{count}\u4e2a\u573a\u666f\u9700\u8981\u66f4\u65b0"},"deployment_modal":{"clear":{"confirmation":{"action":"\u64a4\u56de\u53d1\u5e03","description":"\u60a8\u5373\u5c06\u4ece {location} \u53d6\u6d88\u53d1\u5e03\\"{project}\\"","title":"\u64a4\u56de\u5df2\u53d1\u5e03\u7684\u573a\u666f"},"connect":{"description":"\u8bf7\u8fde\u63a5\u5230\u60a8\u7684\u94b1\u5305\u4ee5\u64a4\u56de\u5df2\u53d1\u5e03\u7684\u573a\u666f\u3002","title":"\u8fde\u63a5\u60a8\u7684\u94b1\u5305"},"success":{"continue":"\u5df2\u5b8c\u6210","description":"{asset}\u73b0\u5728\u5df2\u7ecf\u6e05\u6670\uff0c\u51c6\u5907\u6258\u7ba1\u5176\u4ed6\u4e1c\u897f\uff01","title":"\u5df2\u6e05\u7a7a\u571f\u5730!","land":"\u571f\u5730","world":"\u4e16\u754c"},"progress":{"title":"\u672a\u51fa\u7248\u7684\u573a\u666f","description":"\u8bf7\u7b49\u5f85\u60a8\u7684\u573a\u666f\u672a\u51fa\u7248\u65f6"}},"description":"\u5c06\u573a\u666f\u90e8\u7f72\u5230\u571f\u5730\u4e0a\uff0c\u6216\u5411\u571f\u5730\u6240\u6709\u8005\u7533\u8bf7\u8bb8\u53ef\u3002","land":{"confirmation":{"action":"\u53d1\u5e03","description":"\u60a8\u5c06\u53d1\u5e03\u4ee5\u4e0b\u573a\u666f\u5230\u571f\u5730:","location_label":"\u53d1\u5e03\u5230","size_label":"\u5927\u5c0f","title_label":"\u6807\u9898"},"connect":{"description":"\u8fde\u63a5\u60a8\u7684\u94b1\u5305\u7ee7\u7eed\u3002","title":"\u53d1\u5e03\u573a\u666f"},"map":{"continue":"\u7ee7\u7eed","no_land_action":"\u63d0\u4ea4\u5230\u573a\u666f\u6c60","no_land_warning":"\u597d\u8c61\u60a8\u6ca1\u6709\u4efb\u4f55\u571f\u5730","occupied_tooltip":"\u6e05\u7a7a\u571f\u5730\u7a7a\u95f4{br}\u4ece\u4eea\u8868\u677f\u64a4\u56de\u53d1\u5e03\u7684\u573a\u666f","occupied_warning":"\u5728\u8fd9\u4e2a\u4f4d\u7f6e\u81f3\u5c11\u6709\u4e00\u4e2a\u573a\u666f\u5e03\u7f72","placement_active":"\u5728 {x},{y} \u5e03\u7f72 {count} \u5757\u571f\u5730\u573a\u666f ","placement_default":"\u9009\u62e9\u8981\u53d1\u5e03\u573a\u666f\u7684\u571f\u5730","reset":"\u91cd\u7f6e","title":"\u53d1\u5e03\u573a\u666f"},"progress":{"creating_files":{"description":"\u6b63\u5728\u5efa\u7acb\u4e0a\u4f20\u7684\u6587\u4ef6\uff0c\u8bf7\u7a0d\u7b49\u3002","title":"\u521b\u5efa\u8d44\u6e90\u6587\u4ef6"},"recording":{"description":"\u8bf7\u7a0d\u7b49\uff0c\u6b63\u5728\u5f55\u5236\u573a\u666f\u9884\u89c8\u3002","title":"\u5f55\u5236\u573a\u666f\u9884\u89c8"},"uploading_assets":{"description":"\u6b63\u5728\u4e0a\u4f20\u573a\u666f\uff0c\u8bf7\u7a0d\u7b49\u3002","title":"\u4e0a\u4f20\u5230\u865a\u62df\u4e16\u754c"},"uploading_recording":{"description":"\u6b63\u4e0a\u4f20\u573a\u666f\u9884\u89c8\uff0c\u8bf7\u7a0d\u5019\u3002","title":"\u6b63\u5728\u4e0a\u4f20\u9884\u89c8"}},"success":{"jump_in":"\u8fdb\u5165","continue":"\u7ee7\u7eed\u5de5\u4f5c","description":"\u573a\u666f\u5df2\u4e0a\u4f20\u3002","title":"\u5df2\u5b8c\u6210!"},"empty":{"title":"\u60a8\u6ca1\u6709\u4efb\u4f55\u571f\u5730\u3002","description":"<b>Buy your o\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u79df\u7528\u571f\u5730\u6216\u79df\u7528</b><br></br>\u60a8\u7684\u573a\u666f\u662f {landSize} \u56e0\u6b64\uff0c\u8bf7\u786e\u4fdd\u83b7\u5f97 {dimension, plural, one {\u571f\u5730} other {\u8d22\u4ea7}} \u90a3\u662f\u76f8\u7b49\u6216\u66f4\u5927\u7684\u3002","buy_land":"\u8d2d\u4e70\u571f\u5730","rent_land":"\u51fa\u79df\u571f\u5730"},"not_enough_land":{"title":"\u8fd9\u4e2a\u573a\u666f\u6bd4\u4f60\u7684\u571f\u5730\u66f4\u5927","description":"\u6b64\u573a\u666f\u9700\u8981{cols} x {rows}\u5305\u88f9\u7684\u533a\u57df\u3002\u786e\u4fdd\u60a8\u7684\u571f\u5730\u7b49\u4e8e\u6216\u5927\u4e8e\u6216\u66f4\u5927\uff0c\u4ee5\u9002\u5e94\u8fd9\u4e00\u573a\u666f\u3002\u8bf7\u8bb0\u4f4f\uff0c\u8fd9\u4e2a\u573a\u666f\u53ef\u80fd\u975e\u5e38\u9002\u5408\u4e00\u4e2a\u4e16\u754c\u3002","publish_world":"\u51fa\u7248\u7ed9\u6211\u7684\u4e16\u754c","return_scenes":"\u8fd4\u56de\u573a\u666f","claim_name":"\u4e3a\u81ea\u7531\u4e16\u754c\u7d22\u53d6\u60a8\u7684\u72ec\u7279\u540d\u79f0"},"title":"\u53d1\u5e03\u573a\u666f"},"option_land":{"action":"\u5e03\u7f72\u5230 LAND \u571f\u5730","description":"\u5e03\u7f72\u573a\u666f\u5230 LAND \u571f\u5730\u6216 Estate \u8fde\u5757\u571f\u5730.","title":"\u6211\u7684 LAND \u571f\u5730"},"option_pool":{"action":"\u5e94\u7528","description":"\u5c06\u4f60\u7684\u573a\u666f\u5e94\u7528\u5230\u5176\u4ed6\u4eba\u7684\u9886\u5730\u3002","title":"\u573a\u666f\u6c60"},"pool":{"action":"\u63d0\u4ea4","contact_information":"\u8054\u7cfb\u4fe1\u606f","i_accept_the":"\u70b9\u51fb \\"\u63d0\u4ea4\\" \u540c\u610f\u63a5\u53d7\u6765\u81ea Decentraland \u7684\u65b0\u95fb","progress":"\u6b63\u5728\u5904\u7406","sign_in":{"action":"\u767b\u5f55","subtitle":"\u767b\u5f55\u4ee5\u53d1\u5e03\u5230\u573a\u666f\u6c60","title":"\u767b\u5f55"},"subtitle":"\u60a8\u7684\u573a\u666f\u5373\u5c06\u4e0a\u4f20\u5230\u793e\u533a\u6c60\uff0c\u8fd9\u610f\u5473\u7740\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u4f7f\u7528\u5b83\u3002","success":{"body":"\u5b83\u5c06\u5305\u542b\u5728\u6211\u4eec\u7684\u516c\u5171\u573a\u666f\u5e93\u4e2d\uff0c\u9002\u5408\u6709\u5174\u8da3\u4f7f\u7528\u5b83\u7684\u4efb\u4f55\u4eba\u3002\u611f\u8c22\u60a8\u7684\u8d21\u732e\uff01","title":"\u73b0\u5728\uff0c\u60a8\u7684\u573a\u666f\u662f\u573a\u666f\u6c60\u7684\u4e00\u90e8\u5206\uff01"},"title":"\u6b63\u5728\u53d1\u5e03\u573a\u666f","uploading":"\u4e0a\u4f20\u4e2d..."},"deploy_world":{"title":"\u53d1\u5e03\u5230\u68a6\u5883\u7a7a\u95f4","description":"\u9009\u62e9\u5c06\u5b9a\u4e49 URL \u7684\u53bb\u4e2d\u5fc3\u5316\u540d\u79f0\u6216 ENS \u540d\u79f0","action":"\u53d1\u5e03","world_label":"\u4e16\u754c\uff08\u540d\u79f0\uff09","world_placeholder":"\u9009\u62e9\u4e00\u4e2a\u540d\u79f0","back":"\u56de\u5230\u53d1\u5e03\u573a\u666f","close":"\u5173\u95ed\u53d1\u5e03\u6a21\u5f0f","claim_name":"\u7d22\u8d54\u540d\u79f0","empty_state_title":"\u60a8\u6ca1\u6709\u4efb\u4f55\u53ef\u7528\u7684\u68a6\u5883\u7a7a\u95f4\u3002","empty_state_description":"<b>\u5f53\u60a8\u62e5\u6709\u4e00\u4e2a\u540d\u5b57\u65f6\uff0c\u83b7\u5f97\u4e00\u4e2a\u514d\u8d39\u7684\u68a6\u5883\u7a7a\u95f4</b>.<br></br>\u6bcf\u4e2a\u540d\u79f0\u90fd\u4f1a\u8ba9\u60a8\u8fdb\u5165\u4e00\u4e2a\u4e16\u754c\u3002\u60a8\u53ef\u4ee5\u62e5\u6709\u60f3\u8981\u7684\u6570\u91cf\u3002","name_type":{"dcl":"\u6570","ens":"ENS \u7f16\u53f7"},"success":{"title":"\u60a8\u7684\u573a\u666f\u5df2\u51fa\u7248\uff01","subtitle":"\u60a8\u73b0\u5728\u53ef\u4ee5\u5728\u60a8\u7684\u4e16\u754c\u4e2d\u63a2\u7d22\u548c\u73a9\u800d\uff1a","jump_in":"\u8df3\u8fdb\u53bb","share_in_twitter":"\u5206\u4eabTwitter","share_in_twitter_text":"\u6211\u521a\u521a\u5728\u6211\u7684\u4e16\u754c\u4e0a\u53d1\u8868\u4e86\u65b0\u5185\u5bb9\u2728\\n\\n\u4e00\u63a2\u7a76\u7adf:\\n\ud83d\udccd"},"failure":{"title":"\u51fa\u4e86\u4e9b\u95ee\u9898","subtitle":"\u6211\u4eec\u65e0\u6cd5\u53d1\u5e03\u60a8\u7684\u573a\u666f","subtitle_size_error":"\u573a\u666f\u592a\u5927\uff0c\u65e0\u6cd5\u53d1\u5e03\u5230\u4e16\u754c\u3002<br></br>\u6700\u5927\u5927\u5c0f\u4e3a <b>{maxSizeMbs} mbs</b>\uff0c\u4f46\u5f53\u524d\u573a\u666f\u4e3a <b>{deployedSizedMbs} mbs</b> >\u3002"},"world_url_description":"\u8df3\u5165\u60a8\u7684\u4e16\u754c\u7684URL\u5c06\u662f:<br></br><b>{world_url}</b>","world_has_content":"{world}\u68a6\u4e2d\u7684\u73b0\u6709\u5185\u5bb9\u5c06\u88ab\u60a8\u5373\u5c06\u53d1\u5e03\u7684\u65b0\u5185\u5bb9\u66ff\u6362\u3002","confirm_world_replace_content":"\u6211\u77e5\u9053\u8fd9\u4e2a\u52a8\u4f5c\u662f\u4e0d\u53ef\u9006\u8f6c\u7684","scene_information":"\u573a\u666f\u4fe1\u606f"},"title":"\u6b63\u5728\u53d1\u5e03\u573a\u666f {sceneName}","subtitle":"\u9009\u62e9\u8981\u90e8\u7f72\u6b64\u573a\u666f\u7684\u4f4d\u7f6e\uff1a","learn_more":"\u4e86\u89e3\u66f4\u591a","options":{"world":{"title":"\u6211\u7684\u4e16\u754c","description":"\u5728Genesis City Map\u4e2d\u627e\u4e0d\u5230\u3002<br> </br>\u6700\u591a\u53ef\u4ee5\u540c\u65f6\u52a0\u5165100\u4f4d\u7528\u6237\u3002","description2":"\u5728 Genesis City \u5730\u56fe\u4e2d\u627e\u4e0d\u5230\u3002<br></br>\u6700\u591a 100 \u4e2a\u7528\u6237\u53ef\u4ee5\u540c\u65f6\u52a0\u5165\u3002","action":"\u53d1\u5e03\u5230\u4e16\u754c"},"land":{"title":"\u6211\u7684\u5730\u76d8","description":"\u5c3a\u5bf8\u9650\u5236\uff1a\u6bcf\u4e2a\u5305\u88f915 MB\u3002<br> </br>\u5728Genesis City Map\u4e2d\u53ef\u627e\u5230\u3002<br> </br>\u65e0\u9650\u7528\u6237\u53ef\u4ee5\u540c\u65f6\u52a0\u5165\u3002","action":"\u53d1\u5e03\u5230\u571f\u5730"},"pool":{"title":"\u4e0a\u4f20\u5230\u573a\u666f\u6c60","description":"\u60a8\u7684\u573a\u666f\u5c06\u5728\u573a\u666f\u5e93\u4e2d\u5217\u51fa\uff0c\u5e76\u516c\u5f00\u4e0b\u8f7d\u3002","action":"\u4e0a\u4f20\u5230\u573a\u666f\u6c60"}}},"deploy_to_world_announcement_modal":{"title":"\u60a8\u73b0\u5728\u53ef\u4ee5\u53d1\u5e03<br></br>\u60a8\u7684\u573a\u666f\u7ed9\u4e16\u754c","description":"\u4f7f\u7528\u6784\u5efa\u5668\u521b\u5efa\u60a8\u7684\u573a\u666f\uff0c\u5e76\u5355\u51fb\u51e0\u4e0b\u5c06\u5176\u53d1\u5e03\u5230\u4e16\u754c\u3002","create_scene":"\u521b\u5efa\u573a\u666f"},"templates_announcement_modal":{"title":"\u901a\u8fc7\u6a21\u677f\u548c\u793e\u533a\u573a\u666f\u6c60\u6269\u5927\u521b\u9020\u529b","description":"\u4ece\u73b0\u5728\u5f00\u59cb\uff0c\u60a8\u53ef\u4ee5\u5f00\u59cb\u4e0b\u8f7d\u548c\u4f7f\u7528\u793e\u533a\u6c60\u4e2d\u7684\u6a21\u677f\u548c\u573a\u666f\u3002\u8ba9\u60a8\u7684\u60f3\u8c61\u529b\u5851\u9020\u60a8\u7684\u4e16\u754c\u548c\u571f\u5730\uff01","go_to_scenes":"\u53bb\u6211\u7684\u573a\u666f"},"smart_wearables_announcement_modal":{"title":"\u667a\u80fd\u7a7f\u6234\u8bbe\u5907\u73b0\u5df2\u4e0a\u7ebf\uff01\ud83d\udfe2","description":"<b>\u901a\u8fc7\u4fbf\u643a\u5f0f\u4f53\u9a8c\u5c06\u53ef\u7a7f\u6234\u8bbe\u5907\u63d0\u5347\u5230\u4e00\u4e2a\u65b0\u7684\u6c34\u5e73</b><br></br>\u901a\u8fc7\u667a\u80fd\u53ef\u7a7f\u6234\u8bbe\u5907\u5c06\u60a8\u7684\u4fbf\u643a\u5f0f\u4f53\u9a8c\u8d27\u5e01\u5316\uff0c\u5e76\u901a\u8fc7\u4e3a\u73a9\u5bb6\u63d0\u4f9b\u65b0\u7684\u80fd\u529b\uff08\u4f8b\u5982\u98de\u884c\uff01\uff09\u6765\u6269\u5c55\u53ef\u7a7f\u6234\u8bbe\u5907\u7684\u53ef\u7528\u6027\u3002 ) \u6216\u8986\u76d6\u5728 Decentraland \u573a\u666f\u4e0a\u7684\u989d\u5916\u5185\u5bb9\u5c42\u3002","learn_more":"\u4e86\u89e3\u6709\u5173\u667a\u80fd\u53ef\u7a7f\u6234\u8bbe\u5907\u7684\u66f4\u591a\u4fe1\u606f"},"emotes_v2_announcement_modal":{"title":"\u60c5\u7eea2.0\u662f\u6d3b\u7684\uff01 \ud83d\udfe2","description":"<b>\u73b0\u5728\u7684\u60c5\u7eea\u4e0d\u4ec5\u4ec5\u662f\u52a8\u4f5c\uff01</b><br></br>\u5229\u7528\u8fd9\u4e9b\u6269\u5c55\u7684\u529f\u80fd\uff0c\u5e76\u901a\u8fc7\u9053\u5177\u548c\u58f0\u97f3\u589e\u5f3a\u60a8\u7684\u60c5\u7eea\uff0c\u4ee5\u83b7\u5f97\u66f4\u5177\u8868\u73b0\u529b\u7684\u4f53\u9a8c\u3002","learn_more":"\u4e86\u89e3\u6709\u5173\u60c5\u611f\u7684\u66f4\u591a\u4fe1\u606f"},"use_as_alias_modal":{"title":"\u4e3a\u5934\u50cf\u5206\u914d\u540d\u79f0","subtitle":"\u4e3a\u60a8\u7684\u5934\u50cf\u5206\u914d\u65b0\u7684\u522b\u540d","body":"\u4f7f\u7528{newName}\u4f5c\u4e3a\u5934\u50cf\u7684\u65b0\u522b\u540d\u3002 \u552f\u4e00\u540d\u79f0\u662f\u5e2e\u52a9\u60a8\u7684\u670b\u53cb\u5728Metaverse\u4e2d\u627e\u5230\u60a8\u7684\u597d\u65b9\u6cd5\uff01 \u8fd9\u5c06\u66ff\u6362{oldName}\u3002","success":"{name}\u662f\u60a8\u5728Metaverse\u4e2d\u7684\u65b0\u522b\u540d\uff01 \u73af\u6e38\u4e16\u754c\u65f6\uff0c\u8ba9\u5176\u4ed6\u4eba\u770b\u5230\u60a8\u7684\u65b0\u540d\u5b57\u3002","error":"\u53d1\u751f\u9519\u8bef\u3002\u8bf7\u7a0d\u540e\u518d\u8bd5\u3002"},"deployment_contest_modal":{"action":"\u53c2\u52a0\u6bd4\u8d5b","submit":{"title":"\u521b\u5efa\u5927\u8d5b","subtitle":"\u5c06\u573a\u666f\u53d1\u9001\u5230\u521b\u5efa\u5927\u8d5b\u3002","eth_address":"ETH\u5730\u5740 (\u53ef\u9009)","invalid_eth_address":"\u65e0\u6548\u7684ETH\u5730\u5740"},"recording":{"title":"\u51c6\u5907\u573a\u666f","subtitle":"\u6211\u4eec\u6b63\u5728\u51c6\u5907\u60a8\u53c2\u8d5b\u7684\u573a\u666f\uff0c\u8bf7\u7a0d\u4faf\u3002"},"uploading":{"title":"\u51c6\u5907\u573a\u666f","subtitle":"\u6211\u4eec\u6b63\u5728\u51c6\u5907\u60a8\u53c2\u8d5b\u7684\u573a\u666f\uff0c\u8bf7\u7a0d\u4faf\u3002"},"success":{"title":"\u611f\u8c22\u60a8\u4e0a\u4f20\u573a\u666f\uff01","subtitle":"\u82e5\u60a8\u7684\u573a\u666f\u5165\u9009\u4e86\uff0c\u60a8\u5c06\u63a5\u83b7\u7535\u90ae\u901a\u77e5\u3002"}},"dissolve_modal":{"title":"\u89e3\u6563\u4ea7\u4e1a","confirm":"\u60a8\u5373\u5c06\u89e3\u6563{name}\u3002\u60a8\u8981\u7ee7\u7eed\u5417\uff1f","too_big":"\u8fd9\u4e2a\u4ea7\u4e1a\u592a\u5927\uff0c\u65e0\u6cd5\u5728\u4e00\u9879\u4ea4\u6613\u4e2d\u89e3\u51b3\u3002\u8bf7\u79fb\u9664\u5305\u88f9\uff0c\u76f4\u5230\u5176\u5927\u5c0f\u6700\u5927\u4e3a{max}\u4e2a\u5305\u88f9\u4e3a\u6b62\u3002"},"edit_project_modal":{"custom_layout_label":"\u5e03\u5c40","title":"\u573a\u666f\u8be6\u7ec6\u4fe1\u606f","unpublish_needed":"\u8bf7\u5728\u66f4\u65b0\u60a8\u7684\u573a\u666f\u7ec6\u8282\u4e4b\u524d\u5148\u53d6\u6d88\u53d1\u5e03\u60a8\u7684\u573a\u666f"},"edit_page":{"title":"\u7f16\u8f91","subtitle":"\u60a8\u6b63\u5728\u7f16\u8f91{name}\u3002"},"error_page":{"or":"\u6216\u8005\u91cd\u8bd5","reload":"\u91cd\u65b0\u52a0\u8f7d\u9875\u9762","subtitle":"\u53d1\u751f\u4e86\u4e00\u4e2a\u9519\u8bef\uff0c\u4ee5\u4e0b\u662f\u9519\u8bef\u4fe1\u606f:","support":"\u8054\u7cfb\u652f\u6301\u670d\u52a1","title":"\u7cdf\u7cd5\uff01"},"ens_list_page":{"table":{"name":"\u540d\u79f0","link":"\u94fe\u63a5","assigned_to":"\u5206\u914d\u7ed9"},"assigned_to_land":"\u571f\u5730 ({landId})","assigned_to_estate":"\u5dde ({landId})","button":{"assign":"\u5206\u914d","edit":"\u4fee","use_as_alias":"\u7528\u4f5c\u522b\u540d"},"empty_names":"\u770b\u6765\u60a8\u6ca1\u6709\u4efb\u4f55\u540d\u79f0\u3002{br} {link}\u5f00\u59cb\u4f7f\u7528\u3002","items":"{count}\u7ed3\u679c","alias_popup":"\u60a8\u7684\u4e2a\u4eba\u8d44\u6599\u6b63\u5728\u4f7f\u7528\u6b64\u540d\u79f0\uff0c\u4f46\u4ecd\u53ef\u4ee5\u5206\u914d","not_profile_created":"\u60a8\u9700\u8981\u5148\u8fdb\u5165\u4e16\u754c\u624d\u80fd\u8bbe\u7f6e\u522b\u540d\u3002"},"worlds_list_page":{"table":{"name":"\u59d3\u540d","url":"url","published_scene":"\u51fa\u7248\u7684\u573a\u666f","publish_scene":"\u53d1\u5e03\u573a\u666f","edit_scene":"\u7f16\u8f91\u573a\u666f","status":"\u5730\u4f4d","status_active":"\u79ef\u6781\u7684","status_inactive":"\u4e0d\u6d3b\u52a8","actions":"\u52a8\u4f5c","empty_url":"\u8981\u6fc0\u6d3b\u8fd9\u4e2a\u4e16\u754c\uff0c\u60a8\u9700\u8981\u53d1\u5e03\u4e00\u4e2a\u573a\u666f"},"empty_list":{"title":"\u5f53\u60a8\u62e5\u6709\u4e00\u4e2a\u540d\u5b57\u65f6\u83b7\u5f97\u4e00\u4e2a\u81ea\u7531\u7684\u4e16\u754c","description":"\u6bcf\u4e2a\u540d\u79f0\u90fd\u6388\u4e88\u60a8\u8bbf\u95ee\u4e00\u4e2a\u4e16\u754c\u7684\u6743\u9650\uff0c<b>\u60a8\u81ea\u5df1\u5728 metaverse \u4e2d\u7684 3D \u7a7a\u95f4</b>\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u968f\u5fc3\u6240\u6b32\u5730\u5851\u9020\u7a7a\u95f4\u5e76\u9080\u8bf7\u591a\u8fbe 100 \u4eba\u53c2\u89c2\u3002","cta":"\u7d22\u8d54\u540d\u79f0"},"name_tabs":{"dcl_names":"Decentraland \u540d\u79f0","ens_names":"ENS \u540d\u79f0"},"worlds_storage":{"space_used":"\u4f7f\u7528\u7a7a\u95f4","view_details":"\u67e5\u770b\u8be6\u60c5"}},"estate_editor":{"title_edit":"\u7f16\u8f91\u4ea7\u4e1a","subtitle_edit":"\u5355\u51fb\u4ee5\u6dfb\u52a0\u6216\u5220\u9664\u5305\u88f9","title_create":"\u5efa\u9020\u4ea7\u4e1a","subtitle_create":"\u5355\u51fb\u76f8\u90bb\u7684\u5730\u5757\u4ee5\u5efa\u9020\u4f60\u7684\u4ea7\u4e1a","subtitle_form":"\u4e3a\u60a8\u7684\u4ea7\u4e1a\u5199\u4e0a\u540d\u79f0\u548c\u63cf\u8ff0","name_label":"\u540d\u79f0","name_placeholder":"\u6211\u7684\u4ea7\u4e1a...","description_label":"\u63cf\u8ff0","description_placeholder":"\u4e00\u4e9b\u63cf\u8ff0...","add_limit_reached":"\u60a8\u4e00\u6b21\u6700\u591a\u53ef\u4ee5\u6dfb\u52a0{max}\u4e2a\u5730\u5757","remove_limit_reached":"\u60a8\u4e00\u6b21\u6700\u591a\u53ef\u4ee5\u5220\u9664{max}\u4e2a\u5730\u5757","needs_two_txs":"\u6b64\u66f4\u6539\u5c06\u53d1\u90012\u7b14\u4ea4\u6613\uff1a\u4e00\u7b14\u4ea4\u6613\u6dfb\u52a0{toAdd}\u5730\u5757\uff0c\u53e6\u4e00\u7b14\u4ea4\u6613\u5220\u9664{toRemove}\u5730\u5757"},"export_modal":{"action":"\u4e0b\u8f7d\u573a\u666f","docs":"\u4ec0\u4e48\u662f\u5206\u6563\u7684SDK\uff1f","description":"\u6ca1\u6709\u5efa\u9020\u8005\u95ee\u9898\u7684\u8fc7\u6e21\u5230SDK\uff0c\u4ee5\u8fdb\u884c\u66f4\u5177\u4ea4\u4e92\u6027\u548c\u4e2a\u6027\u5316\u7684\u573a\u666f\u3002\u8003\u8651\u5230\u60a8\u53ef\u4ee5\u9009\u62e9\u4ece\u573a\u666f\u548c\u6a21\u677f\u7ec4\u4e0b\u8f7d\u573a\u666f\u5e76\u5c06\u5176\u52a0\u8f7d\u5230\u4e0d\u540c\u7684\u5e10\u6237\u4e2d\u3002","loading":"\u4e0b\u8f7d...","title":"\u4e0b\u8f7d\u573a\u666f\u5e76\u4ee5\u66f4\u9ad8\u7684\u590d\u6742\u7a0b\u5ea6\u521b\u5efa."},"global":{"avatar":"\u5934\u50cf","activity":"\u6d3b\u52a8","approved_tx":"\u6279\u51c6\u7684TX","back":"\u8fd4\u56de","blog_post":"\u535a\u5ba2","cancel":"\u53d6\u6d88","coming_soon":"\u5feb\u6765\u4e86","confirm":"\u786e\u8ba4","copied":"\u590d\u5236!","add":"\u6dfb\u52a0","buy":"\u4e70","continue":"\u7ee7\u7eed","create":"\u521b\u5efa","dismiss":"\u89e3\u6563","done":"\u5b8c\u6210","email":"email","error_ocurred":"\u51fa\u9519\u4e86","eth_address":"ETH \u5730\u5740","finish":"\u5b8c","free":"\u81ea\u7531","here":"\u8fd9\u91cc","item":"\u7269\u54c1","learn_more":"\u66f4\u591a","loading":"\u88c5\u8f7d","mint":"\u94f8\u5e01","new":"\u65b0","new_scene":"\u65b0\u573a\u666f","delete":"\u5220\u9664","edit":"\u8f91","next":"\u4e0b\u4e00\u4e2a","optional":"\u53ef\u9009","or":"\u6216","project":"\u573a\u666f","read_more":"\u9605\u8bfb\u66f4\u591a","retry_tx":"\u91cd\u8bd5","reload":"\u91cd\u65b0\u52a0\u8f7d","save":"\u4fdd\u5b58","skip":"\u8df3\u8fc7","send":"\u53d1\u9001","see_in_decentraland":"\u53c2\u89c1 Decentraland","share":"\u5206\u4eab","sign_in_required":"\u60a8\u9700\u8981{link}\u624d\u80fd\u8bbf\u95ee\u6b64\u9875\u9762\u3002","sign_in":"\u767b\u5f55","sign_up":"\u6ce8\u518c","submit":"\u63d0\u4ea4","subscribe":"\u8ba2\u9605","terms_and_conditions":"\u4f7f\u7528\u6761\u6b3e","view_more":"\u67e5\u770b\u66f4\u591a","click_here":"\u70b9\u51fb\u8fd9\u91cc","proceed":"\u7ee7\u7eed","open_in_editor":"\u5728\u7f16\u8f91\u5668\u4e2d\u6253\u5f00","address":"\u5730\u5740","balance":"\u4f59\u989d","balances":"\u5929\u5e73","revoke":"\u64a4\u6d88","set":"\u5b9a","settings":"\u8bbe\u5b9a","yes":"\u662f","no":"\u6ca1\u6709","name":"\u540d\u79f0","category":"\u7c7b\u522b","rarity":"\u7a00\u6709\u5ea6","body_shape":"\u8eab\u6750","body_shape_plural":"\u673a\u6784","size":"\u5927\u5c0f","hash":"\u6563 \u5217","publish":"\u53d1\u5e03","published":"\u5df2\u53d1\u8868","description":"\u63cf\u8ff0","urn":"URN","order":{"newest":"\u6700\u65b0","oldest":"\u6700\u8001\u7684","name_asc":"\u540d\u79f0\u2191","name_desc":"\u540d\u79f0\u2193","updated_at_asc":"\u6700\u540e\u66f4\u65b0\u2191","updated_at_desc":"\u6700\u540e\u66f4\u65b0\u2193"},"total":"\u5168\u90e8\u7684","parcel_plural":"\u5305\u88f9","estate_plural":"\u5e84\u56ed","role":"\u89d2\u8272","none":"\u6ca1\u6709\u4efb\u4f55","emote":"\u8868\u60c5"},"roles":{"1":"\u6301\u6709\u8005","2":"\u6301\u6709\u8005","3":"\u51fa\u79df\u4eba","4":"\u79df\u6237"},"navigation":{"overview":"\u6982\u8ff0","scenes":"\u573a\u666f","land":"\u571f\u5730","collections":"\u9986\u85cf","names":"\u540d\u5b57","worlds":"\u4e16\u754c","curation":"\u7b56\u5c55"},"list":{"two":"{first} \u53ca {second}","three":"{first}, {second} \u53ca {third}","more":"{count} \u66f4\u591a"},"home_page":{"title":"\u8ba9\u6211\u4eec\u4e00\u8d77\u5efa\u8bbe\u5143\u5b87\u5b99\uff01","collections":{"card_title":"\u6536\u85cf\u54c1","card_description":"\u521b\u5efa\u3001\u5ba1\u67e5\u548c\u53d1\u5e03\u60a8\u7684\u53ef\u7a7f\u6234\u8bbe\u5907\u548c\u8868\u60c5\u6536\u85cf\u3002","cta_label":"\u7ba1\u7406\u96c6\u5408"},"scenes":{"card_title":"\u573a\u666f","card_description":"\u5728\u4f60\u7684\u571f\u5730\u4e0a\u5efa\u9020\u4f60\u7684\u7a7a\u95f4\u3002 \u60a8\u53ef\u4ee5\u4f7f\u7528\u514d\u8d39\u7684 3D \u6a21\u578b\u6216\u4e0a\u4f20\u60a8\u81ea\u5df1\u7684\u6a21\u578b\u3002","cta_label":"\u6784\u5efa\u573a\u666f"},"land":{"card_title":"\u571f\u5730","card_description":"\u53d1\u5e03\u573a\u666f\u3001\u521b\u5efa\u5e84\u56ed\u5e76\u7ba1\u7406\u60a8\u571f\u5730\u7684\u6743\u9650\u3002","cta_label":"\u7ba1\u7406\u4f60\u7684\u571f\u5730"},"names":{"card_title":"\u540d\u79f0","card_description":"\u58f0\u660e\u60a8\u7684\u552f\u4e00\u540d\u79f0\u5e76\u5c06\u5176\u5206\u914d\u7ed9\u60a8\u7684\u5934\u50cf\u6216\u60a8\u7684\u5305\u88f9\u3002","cta_label":"\u7d22\u8d54\u540d\u79f0"}},"scenes_page":{"my_scenes":"\u6211\u7684\u573a\u666f","upload_scene":"\u4e0a\u4f20\u573a\u666f","create_scene":"\u521b\u5efa\u573a\u666f","no_projects":"\u60a8\u53ef\u4ee5\u5728\u60a8\u7684 LAND\u3001\u60a8\u7684\u4e16\u754c\u4e2d\u53d1\u5e03\u60a8\u7684\u573a\u666f\u6216\u5c06\u5b83\u4eec\u4e0a\u4f20\u5230\u573a\u666f\u6c60\u3002{br}\u6216\u8005\uff0c\u60a8\u4e5f\u53ef\u4ee5<link>\u4e0a\u4f20\u573a\u666f\u6587\u4ef6</link>\u5e76\u4ece\u8fd9\u91cc\u7ee7\u7eed\u5de5\u4f5c\u3002","no_projects_guest":"\u60a8\u7684\u573a\u666f\u5df2\u4e0a\u4f20\u5230\u4e91\u7aef{br}{sign_in}\u67e5\u770b\u5b83\u4eec.","sdk6_support":"SDK 6\u7684\u6280\u672f\u652f\u6301\u5c06\u4e8e2023\u5e7412\u670823\u65e5\u7ed3\u675f\u3002","project_actions":{"delete_project":"\u5220\u9664\u573a\u666f","duplicate_project":"\u590d\u5236\u573a\u666f","export_project":"\u573a\u666f\u5bfc\u51fa","unpublish":"\u64a4\u6d88\u53d1\u5e03"},"choose_scene_creation":"\u9009\u62e9\u5efa\u7acb\u573a\u666f\u7684\u6700\u4f73\u9009\u62e9","no_scenes":{"title":"\u521b\u5efa\u60a8\u7684\u7b2c\u4e00\u4e2a\u573a\u666f","description":"\u91ca\u653e\u60a8\u7684\u521b\u9020\u529b\u3002\u5f00\u59cb\u4e3a\u60a8\u7684\u571f\u5730\u548c\u4e16\u754c\u5efa\u7acb\u573a\u666f\uff0c\u5e76\u4e0e\u793e\u533a\u5206\u4eab\u3002<a>\u4e86\u89e3\u6709\u5173\u521b\u5efa\u573a\u666f\u7684\u66f4\u591a\u4fe1\u606f\u3002</a>","from_scratch":{"title":"\u767d\u624b\u8d77\u5bb6","description":"\u4ee5\u7b80\u5355\u800c\u76f4\u89c2\u7684\u65b9\u5f0f\u5f00\u59cb\u7528\u5728\u7ebf\u6784\u5efa\u5668\u5f00\u59cb\u6784\u5efa\u60a8\u7684\u573a\u666f."},"from_template":{"title":"\u4f7f\u7528\u9884\u5b9a\u4e49\u7684\u6a21\u677f","description":"\u9009\u62e9\u8fd9\u4e9b\u629b\u5149\u6a21\u677f\u4e4b\u4e00\uff0c\u5e76\u53ea\u9700\u5355\u51fb\u51e0\u4e0b\u5373\u53ef\u53d1\u5e03\u4e00\u4e2a\u60ca\u4eba\u7684\u573a\u666f!"}},"sort":{"name":"\u540d\u79f0","newest":"\u6700\u65b0","size":"\u5c3a\u5bf8"},"start":"\u5f00\u59cb\u8bbe\u8ba1","subtitle":"\u6613\u4e8e\u4f7f\u7528\u7684\u5de5\u5177\u548c\u6570\u4ee5\u767e\u8ba1\u7684 3D \u7d20\u6750\uff0c\u4f7f\u5f97\u573a\u666f\u8bbe\u8ba1\u5145\u6ee1\u4e50\u8da3\u3002\u5feb\u6765\u91ca\u653e\u60a8\u7684\u521b\u9020\u529b\u5427\u3002","templates_title":"\u8bf7\u5148\u9009\u62e9\u573a\u666f\u5927\u5c0f","title":"\u8bbe\u8ba1\u9177\u70ab\u573a\u666f\uff01","results":"{count}\u7ed3\u679c","from_scene_pool":"\u81ea\u573a\u666f\u6c60"},"templates_page":{"title":"\u9009\u62e9\u4e00\u4e2a\u6a21\u677f","back_to_scenes":"\u56de\u5230\u573a\u666f","parcels":"{size} \u5305\u88f9","coming_soon":"\u5373\u5c06\u63a8\u51fa"},"import_modal":{"action":"\u4e0a\u4f20","action_many":"\u4e0a\u4f20{count}\u573a\u666f","cta":"\u62d6\u62fd\u573a\u666f\u6587\u4ef6\u5230\u6b64\uff0c\u6216\u8005 {action}","description":"\u8981\u5728\u4e0d\u540c\u5e10\u6237\u4e4b\u95f4\u4f20\u8f93\u573a\u666f\u6216\u5bfc\u5165\u5148\u524d\u4ece\u573a\u666f\u6c60\u4e0b\u8f7d\u7684\u573a\u666f\uff0c\u8bf7\u4f7f\u7528\u5bfc\u5165\u529f\u80fd\u3002\u786e\u4fdd\u60a8\u6309\u7167\u4e0b\u8f7d\u5b8c\u5168\u5bfc\u5165zip\u6587\u4ef6\u3002","invalid_file":"\u65e0\u6548\u6587\u4ef6","title":"\u5bfc\u5165\u573a\u666f","upload_manually":"\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u6d4f\u89c8\u5b83"},"upload_video":{"cta":"\u62d6\u653e\u89c6\u9891\uff08\u683c\u5f0f.MP4\uff09\u4ee5\u5c55\u793a\u667a\u80fd\u53ef\u7a7f\u6234\u529f\u80fd\u6216{action}","upload_manually":"\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u6d4f\u89c8\u5b83","error":{"video_file_too_big":{"title":"\u6587\u4ef6\u592a\u5927\uff0c\u65e0\u6cd5\u4e0a\u4f20\u3002","message":"\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u4e3a {size}\u3002\u8bf7\u51cf\u5c0f\u6587\u4ef6\u5927\u5c0f\u5e76\u91cd\u8bd5\u3002"},"video_file_too_long":{"title":"\u60a8\u7684\u89c6\u9891\u65f6\u957f\u8d85\u8fc7 {max_duration} \u79d2\u3002","message":"\u8bf7\u51cf\u5c11\u6301\u7eed\u65f6\u95f4\u5e76\u91cd\u8bd5\u3002"},"invalid_video":{"title":"\u60a8\u7684\u89c6\u9891\u4f3c\u4e4e\u65e0\u6548\u6216\u5df2\u635f\u574f\u3002","message":"\u8bf7\u68c0\u67e5\u60a8\u7684\u6587\u4ef6\u5e76\u91cd\u8bd5\u3002"}}},"itemdrawer":{"opensea_credit":"\u7531{link}\u63d0\u4f9b\u652f\u6301","edit_asset_pack":"\u7f16\u8f91","empty_ground":"\u672b\u8bbe\u7f6e\u5730\u9762","no_results":"\u6ca1\u627e\u5230","results":"\u7ed3\u679c","search":"\u641c\u7d22","title":"\u7269\u54c1\u76ee\u5f55","search_items":"\u641c\u7d22"},"item_dropdown":{"placeholder":"\u9009\u62e9\u4e00\u4e2a\u9879\u76ee","no_items":"\u627e\u4e0d\u5230\u6709\u6548\u7684\u9879\u76ee"},"collection_dropdown":{"placeholder":"\u9009\u62e9\u4e00\u4e2a\u96c6\u5408","no_collections":"\u672a\u627e\u5230\u6709\u6548\u96c6\u5408"},"layout_picker":{"columns":"\u5217","rows":"\u884c"},"metrics":{"bodies":"\u7269\u4f53","entities":"\u5b9e\u4f53","height":"\u9ad8\u5ea6","materials":"\u6750\u8d28","meshes":"\u7f51\u683c","textures":"\u7eb9\u7406","too_many":"{metric} \u8fc7\u591a","triangles":"\u4e09\u89d2\u5f62"},"video_stats":{"seconds":"{seconds} {seconds, plural, one {\u7b2c\u4e8c} other {\u79d2}}","size":"{size} MB"},"mobile_page":{"desktop_too_narrow":"\u751f\u6210\u5668\u4e0d\u9002\u7528\u4e8e\u6b64\u5206\u8fa8\u7387\uff01 \u5982\u679c\u53ef\u4ee5\uff0c\u8bf7\u5c1d\u8bd5\u6269\u5927\u6b64\u7a97\u53e3\u3002","gallery_title":"\u67e5\u770b\u5185\u5bb9\u7f16\u8f91\u7528\u6237\u7684\u4f5c\u54c1!","learn_more":"\u4e86\u89e3\u6709\u5173Builder\u7684\u66f4\u591a\u4fe1\u606f","message":"\u5185\u5bb9\u7f16\u8f91\u5668\u76ee\u524d\u53ea\u652f\u6301\u684c\u9762\u7248\uff0c\u6ce8\u518c\u4ee5\u63a5\u6536\u66f4\u65b0\u5e76\u5728\u7535\u8111\u4e0a\u67e5\u770b\u3002","reminder_body":"\u60a8\u597d\uff01\\n\u770b\u6765\u60a8\u8bd5\u56fe\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u4f7f\u7528\u5185\u5bb9\u7f16\u8f91\u5668\\n\u76ee\u524d\u5185\u5bb9\u7f16\u8f91\u5668\u53ea\u80fd\u8fd0\u884c\u5728\u53f0\u5f0f\u673a\u548c\u7b14\u8bb0\u672c\u7535\u8111\u4e0a\u3002\u62ff\u8d77\u4f60\u6700\u8fd1\u7684\u7b14\u8bb0\u672c\u7535\u8111\u6216\u53f0\u5f0f\u7535\u8111\uff0c\u4f7f\u7528 https://builder.decentraland.org\\n\\n\u5feb\u4e50\u7684\u5efa\u7b51\uff01\u518d\u8bd5 !\\n\\n\u795d\u5f00\u53d1\u5feb\u4e50\uff01\\n\\nThe Decentraland Team","reminder_subject":"\u63d0\u9192\uff1a\u8bd5\u8bd5Decentraland\u7684Builder","secondary_hero":{"action":"\u53d1\u9001\u63d0\u9192","title":"\u5f53\u56de\u5230\u7535\u8111\u524d\u5c31\u521b\u4f5c\u573a\u666f?"},"success":"\u8c22\u8c22\uff0c\u6211\u4eec\u4f1a\u4e0e\u60a8\u8054\u7cfb!","title":"\u6784\u5efa\u5668\u5de5\u5177\u4ec5\u5728\u684c\u9762\u4e0a\u53ef\u7528","list_title":"\u4ece\u60a8\u7684\u8ba1\u7b97\u673a\uff0c\u60a8\u53ef\u4ee5\uff1a","first_paragraph":"\u521b\u5efa\u3001\u9884\u89c8\u548c\u53d1\u5e03 {bold_text}\u3002","first_paragraph_bold_text":"\u53ef\u7a7f\u6234\u8bbe\u5907\u548c\u8868\u60c5\u7684\u96c6\u5408","second_paragraph":"\u6784\u5efa {bold_text}\u3002 \u60a8\u53ef\u4ee5\u4f7f\u7528\u514d\u8d39\u7684 3D \u6a21\u578b\u6216\u4e0a\u4f20\u60a8\u81ea\u5df1\u7684\u6a21\u578b\u3002","second_paragraph_bold_text":"\u571f\u5730\u7684\u5185\u5bb9","third_paragraph":"\u53d1\u5e03\u60a8\u571f\u5730\u7684\u573a\u666f\uff0c{bold_text}\u3002","third_paragraph_bold_text":"\u521b\u5efa\u5e84\u56ed\u548c\u7ba1\u7406\u6743\u9650","fourth_paragraph":"\u9886\u53d6\u60a8\u7684 {bold_text} \u5e76\u5c06\u5176\u5206\u914d\u7ed9\u60a8\u7684\u5934\u50cf\u6216\u5305\u88f9\u3002","fourth_paragraph_bold_text":"\u552f\u4e00\u540d\u79f0"},"rental_period":{"period_over":"\u79df\u671f\u7ed3\u675f","tenant_operator_permissions":"\u5728\u6240\u6709\u8005\u6536\u56de\u571f\u5730\u4e4b\u524d\uff0c\u60a8\u5c06\u62e5\u6709\u64cd\u4f5c\u5458\u6743\u9650","lessor_operator_permissions":"\u4e00\u65e6\u4f60\u6536\u56de\u4f60\u7684\u571f\u5730\uff0c\u4f60\u5c06\u62e5\u6709\u64cd\u4f5c\u5458\u6743\u9650","ends_in":"\u7ed3\u675f\u4e8e"},"land_page":{"coordinates":"\u5750\u6807","operated_by":"\u7ecf\u8425\u8005","type":"\u7c7b\u578b","online_scenes":"\u5728\u7ebf\u573a\u666f","owner":"\u6240\u6709\u8005","operators":"\u8fd0\u8425\u5546","results":"{count}\u4e2a\u7ed3\u679c","owner_explanation":"\u8fd9\u4e9b\u662f\u4f60\u62e5\u6709\u7684\u571f\u5730\u3002","operator_explanation":"\u8fd9\u4e9b\u662f\u60a8\u4e0d\u62e5\u6709\u7684\u571f\u5730\uff0c\u4f46\u6240\u6709\u8005\u6388\u4e88\u60a8\u4f7f\u7528\u5b83\u4eec\u7684\u8bb8\u53ef\u3002","tenant_explanation":"\u8fd9\u4e9b\u571f\u5730\u4e0d\u5c5e\u4e8e\u4f60\uff0c\u4f46\u4f60\u5df2\u7ecf\u79df\u7528\u4e86\u3002"},"land_detail_page":{"transfer":"\u8f6c\u79fb","edit":"\u7f16\u8f91","set_operator":"\u8bbe\u5b9a\u64cd\u4f5c\u8005","assign_name":"\u5206\u914d\u540d\u79f0","build_estate":"\u5efa\u7acb\u4ea7\u4e1a","add_or_remove_parcels":"\u6dfb\u52a0\u6216\u5220\u9664\u5730\u5757","dissolve_estate":"\u89e3\u6563\u4ea7\u4e1a","online_scenes":"\u5728\u7ebf\u573a\u666f","add_scene":"\u6dfb\u52a0\u573a\u666f","assigned_names":"\u5206\u914d\u540d\u79f0","description":"\u63cf\u8ff0","owner":"\u6301\u6709\u8005","tenant":"\u79df\u6237","land_is_locked":"\u5728\u60a8\u6536\u56de LAND \u4e4b\u524d\uff0c\u6b64\u64cd\u4f5c\u5c06\u88ab\u963b\u6b62\u3002","operated_by":"\u7ecf\u8425\u8005","total_land":"\u603b\u571f\u5730","empty_land":"\u7a7a\u5730","unset_ens_content":{"title":"\u662f\u5426\u786e\u5b9a\uff1f","text":"\u53d6\u6d88\u5206\u914d\u94fe\u63a5\u5c06\u5bfc\u81f4 {link} \u4e0d\u518d\u5e26\u60a8\u5230 {land} \u3002\u4f60\u60f3\u7ee7\u7eed\u5417\uff1f"}},"land_assign_ens_page":{"title":"\u5206\u914d{name}","subtitle":"\u7ed9...\u5206\u914d\u4e00\u4e2a\u540d\u5b57 {land}","set_name_message":"<strong>\u5728\u60a8\u53ef\u4ee5\u5c06\u6b64\u540d\u79f0\u5206\u914d\u7ed9\u60a8\u7684\u571f\u5730\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u63d0\u4ea4 2 \u6216 3 \u7b14\u4ea4\u6613\uff1a</strong> \u7b2c\u4e00\u4e2a\u4ea4\u6613\u6536\u56de\u4f60\u7684 ENS \u540d\u79f0\uff0c\u56e0\u6b64\u4f60\u6210\u4e3a\u5b83\u7684\u63a7\u5236\u8005\uff0c\u53ea\u6709\u5f53\u540d\u79f0\u662f\u4ece\u53e6\u4e00\u4e2a\u7528\u6237\u90a3\u91cc\u8d2d\u4e70\u6216\u8f6c\u8ba9\u65f6\u624d\u9700\u8981\uff0c\u7b2c\u4e8c\u4e2a\u4ea4\u6613\u5141\u8bb8\u4f60\u4f7f\u7528\u4f60\u7684\u540d\u5b57\u4f5c\u4e3a\u94fe\u63a5\uff0c\u7b2c\u4e09\u4e2a\u4ea4\u6613\u5c06\u4f60\u7684\u540d\u5b57\u94fe\u63a5\u5230\u4f60\u7684 LAND\u3002","reclaim":"\u5f00\u57a6\u571f\u5730","reclaim_explanation":"\u5728\u60a8\u7684\u540d\u5b57\u8f6c\u79fb\u7ed9\u60a8\u4e4b\u540e\uff0c\u8fd9\u4f1a\u6536\u56de\u60a8\u7684\u540d\u5b57\u7684\u63a7\u5236\u6743\u3002 \u540d\u79f0\u7684\u6240\u6709\u8005\u5bf9\u5176\u62e5\u6709\u63a7\u5236\u6743\uff0c\u76f4\u5230\u5b83\u88ab\u6536\u56de\u3002","set_resolver":"\u8bbe\u7f6e\u89e3\u6790\u5668","set_resolver_explanation":"\u8fd9\u6837\u53ef\u4ee5\u5c06\u60a8\u7684\u540d\u5b57\u94fe\u63a5\u5230\u5305\u88f9","set_content":"\u8bbe\u5b9a\u5185\u5bb9","set_content_explanation":"\u8fd9\u4f1a\u901a\u8fc7\u94fe\u63a5\u5230Decentraland\'s World\u4e2d\u7684LAND\u7684\u65b9\u5f0f\u89e3\u6790\u60a8\u7684\u59d3\u540d"},"ens_select_land_page":{"title":"\u5206\u914d{name}","subtitle":"\u60a8\u53ef\u4ee5\u5c06\u6b64\u540d\u79f0\u5206\u914d\u7ed9\u60a8\u7684\u4efb\u4f55\u5305\u88f9\u6216\u5730\u4ea7\u3002","land_selected":"\u9009\u62d4\uff1a","already_assigned":"\u5df2\u5206\u914d"},"land_select_ens_page":{"title":"\u5206\u914d\u540d\u79f0","subtitle":"\u7ed9...\u5206\u914d\u4e00\u4e2a\u540d\u5b57 {land}","empty_options_message":"\u60a8\u6ca1\u6709\u53ef\u7528\u7684\u540d\u79f0\u3002 \u8981\u4e3a\u60a8\u7684LAND\u5206\u914d\u540d\u79f0\uff0c\u60a8\u9996\u5148\u9700\u8981\u58f0\u660e\u5b83\u3002","claim_new_name":"\u7533\u8bf7\u65b0\u540d\u5b57","select_name_title":"\u6211\u7684\u540d\u5b57\u662f","select_name_placeholder":"\u9009\u62e9\u4e00\u4e2a\u540d\u5b57","click_to_claim_new_name":"{click_here}\u7533\u8bf7\u65b0\u540d\u79f0","name_assigned":"\u8fd9\u4e2a\u540d\u5b57\u5df2\u7ecf\u5206\u914d\u7ed9\u8fd9\u7247\u571f\u5730"},"claim_name_fat_finger_modal":{"title":"\u8bf7\u786e\u8ba4\u60a8\u7684\u65b0\u540d\u5b57","description":"\u60a8\u5df2\u9009\u62e9{name}\u3002\u91cd\u65b0\u8f93\u5165\u60a8\u7684\u59d3\u540d\u4ee5\u786e\u8ba4\u60a8\u7684\u9009\u62e9\u3002","ok_message":"\u606d\u559c{name}\u662f\u60a8\u7684\u540d\u5b57\u3002","name_placeholder":"\u60a8\u7684\u552f\u4e00\u540d\u5b57","names_different":"\u540d\u79f0\u4e0d\u7b26","authorization":{"title_action":"\u8d2d\u4e70","action":"\u5ba3\u79f0"}},"migrate_page":{"step_one_title":"\u8fc1\u79fb\u60a8\u7684\u5e10\u6237","step_one_message_line_one":"\u4e3a\u4e86\u5728\u6211\u4eec\u7684\u4ea7\u54c1\u4e2d\u63d0\u4f9b\u9690\u79d8\u7684\u4f53\u9a8c\uff0c\u6211\u4eec\u5df2\u5c06Builder\u7684\u5e10\u6237\u7cfb\u7edf\u4ece\u7535\u5b50\u90ae\u4ef6\u5207\u6362\u4e3a\u57fa\u4e8e\u94b1\u5305\u7684\u5e10\u6237\u3002\u8fd9\u610f\u5473\u7740\u60a8\u5c06\u9700\u8981\u8fde\u63a5\u4e00\u4e2a\u4ee5\u592a\u574a\u94b1\u5305\uff0c\u4ee5\u5c06\u573a\u666f\u5b58\u50a8\u5728\u4e91\u4e2d\u3002\u5982\u679c\u60a8\u6ca1\u6709\u94b1\u5305\uff0c\u53ef\u4ee5\u4e86\u89e3\u66f4\u591a\u6709\u5173\u5982\u4f55\u83b7\u5f97\u94b1\u5305\u7684\u4fe1\u606f{link}\u3002","step_one_link":"\u8fd9\u91cc","step_one_message_line_two":"\u5982\u679c\u60a8\u7684\u573a\u666f\u5df2\u5b58\u50a8\u5728\u7535\u5b50\u90ae\u4ef6\u5e10\u6237\u4e2d\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u6b64\u9875\u9762\u5c06\u5b83\u4eec\u8fc1\u79fb\u5230\u60a8\u7684\u94b1\u5305\u5e10\u6237\u3002","step_one_cta":"\u5f00\u59cb\u8fc1\u79fb","step_two_title":"\u4f7f\u7528\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u767b\u5f55","step_two_message":"\u8bf7\u4f7f\u7528\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u5e10\u6237\u767b\u5f55\u4ee5\u67e5\u627e\u9700\u8981\u8fc1\u79fb\u7684\u573a\u666f\u3002","step_two_cta":"\u767b\u5f55","step_three_title":"\u8fde\u63a5\u4f60\u7684\u94b1\u5305","step_three_message":"\u8bf7\u8fde\u63a5\u60a8\u7684\u94b1\u5305\u4ee5\u7ee7\u7eed\u3002\u5982\u679c\u60a8\u6ca1\u6709\u94b1\u5305\uff0c\u8bf7\u70b9\u51fb{link}\u3002","step_three_link":"\u521d\u5b66\u8005\u6307\u5357","step_three_cta":"\u8fde\u63a5","step_three_error":"\u8bf7\u5b89\u88c5{metamask}\u6216\u5176\u5b83\u4ee5\u592a\u574a\u94b1\u5305\u4ee5\u7ee7\u7eed","step_four_title":"\u8fc1\u79fb\u573a\u666f","step_four_message":"\u5c06\u7535\u5b50\u90ae\u4ef6\u5e10\u6237\u4e0b\u7684\u6240\u6709\u573a\u666f\u548c\u8d44\u4ea7\u5305\u8fc1\u79fb\u5230\u60a8\u7684\u94b1\u5305\u5e10\u6237\u4e2d\u3002","step_four_cta":"\u8fc1\u79fb","projects_title":"\u4ee5\u4e0b\u573a\u666f\u5c06\u88ab\u8fc1\u79fb\uff1a"},"operator_page":{"title":"\u8bbe\u5b9a\u64cd\u4f5c\u8005","subtitle":"\u60a8\u6b63\u5728\u4e3a {name} \u8bbe\u7f6e\u64cd\u4f5c\u5458\u3002<br></br>o\u64cd\u4f5c\u5458\u53ef\u4ee5<b>\u4ec5</b>\u5c06\u573a\u666f\u90e8\u7f72\u5230\u571f\u5730\u4e0a\u3002","address":"\u5730\u5740","undo":"\u590d\u539f","revoke":"\u64a4\u6d88","invalid_address":"\u65e0\u6548\u5730\u5740"},"scene_list_page":{"projects_title":"\u793e\u533a\u573a\u666f","no_projects":"\u6ca1\u6709\u7ed3\u679c","filters":{"creator-contest-2019-12":"Creator Contest (Submission)","qualified-creator-contest-2019-12":"Creator Contest","all_groups":"\u6240\u6709\u6536\u85cf","all_users":"\u5168\u90e8\u7528\u6237","only_me":"\u53ea\u6709\u6211","newest":"\u6700\u65b0","likes":"\u6700\u559c\u6b22","size":"\u5c3a\u5bf8","items":"\u9879\u76ee","smart_items":"\u4e92\u52a8\u9879\u76ee","name":"\u540d\u79f0"}},"public_page":{"made_with":"Scene made with Builder","made_by":"Scene by","try_it_out":"try it out","parcel_count":"{parcels} {parcels, plural, one {parcel} other {parcels}}","item_count":"{items} {items, plural, one {item} other {items}}","likes":"{likes} {likes, plural, one {like} other {likes}}"},"not_found_page":{"back":"\u8fd4\u56de\u573a\u666f","subtitle":"\u4e0d\u597d\u610f\u601d\uff0c\u6ca1\u6709\u627e\u5230\u4f60\u8981\u7684\u573a\u666f","title":"404"},"popups":{"metrics_help":"\u67e5\u770b\u573a\u666f\u6307\u6807","shortcuts_help":"\u5728\u6b64\u67e5\u770b\u5feb\u6377\u952e","its_you":"\u662f\u4f60"},"project_card":{"parcel_count":"{parcels} {parcels, plural, one {\u5305\u88f9} other {\u5305\u88f9}}","item_count":"{items} {items, plural, one {\u7269\u54c1} other {\u9879\u76ee}}","confirm_delete_content":"\u60a8\u786e\u8ba4\u5220\u9664\u573a\u666f \\"{title}\\"? \u6b64\u64cd\u4f5c\u4e0d\u80fd\u56de\u9000\uff01","confirm_delete_header":"\u5220\u9664 \\"{title}\\""},"item_card":{"move_to_collection":"\u79fb\u81f3\u6536\u85cf","confirm_delete_content":"\u60a8\u786e\u5b9a\u8981\u5220\u9664\u9879\u76ee\\"{name}\\"\u5417\uff1f \u6b64\u64cd\u4f5c\u4e0d\u53ef\u9006\u8f6c\uff01","confirm_delete_header":"\u5220\u9664 \\"{name}\\""},"project_fields":{"description_field_label":"\u63cf\u8ff0\u6216\u8bf4\u80c6","description_field_placeholder":"\u6ca1\u6709\u8bf4\u660e","title_field_label":"\u540d\u79f0","title_field_placeholder":"\u573a\u666f\u540d\u79f0"},"project_layout_picker":{"max_area_error":"\u60a8\u7684\u573a\u666f\u4e0d\u5f97\u8d85\u8fc7 {area} \u5757\u5730\u5757","min_area_error":"\u60a8\u7684\u573a\u666f\u592a\u5c0f\u4e86","decimals_error":"\u60a8\u7684\u573a\u666f\u5305\u88f9\u5c3a\u5bf8\u4e0d\u5e94\u5177\u6709\u5c0f\u6570\u4e3a\u5c0f\u6570","empty_field_error":"\u60a8\u5e94\u8be5\u5b8c\u6210\u884c\u548c\u5217\u7684\u6570\u91cf\uff0c\u4ee5\u8bbe\u7f6e\u5305\u88f9\u5c3a\u5bf8"},"quota_exceeded_modal":{"retry":{"description":"\u65e0\u6cd5\u4fdd\u5b58","title":"\u7cdf\u7cd5\uff01"},"sign_in":{"description":"\u60a8\u5df2\u8fbe\u5230\u6d4f\u89c8\u5668\u5b58\u50a8\u7a7a\u95f4\u7684\u9650\u5236\uff0c\u8bf7\u767b\u5f55\u4ee5\u7ee7\u7eed","title":"\u7cdf\u7cd5\uff01"}},"scene_detail_page":{"actions":{"duplicate":"\u91cd\u590d","delete":"\u5220\u9664","unpublish":"\u53d6\u6d88\u53d1\u5e03"},"edit_scene":"\u7f16\u8f91\u573a\u666f","download_scene":"\u4e0b\u8f7d\u573a\u666f","published_in":"\u51fa\u7248\u4e8e","no_deployments":"\u8fd9\u4e2a\u573a\u666f\u5c1a\u672a\u51fa\u7248\u3002","published":"\u51fa\u7248","unsynced":"\u672a\u540c\u6b65","draft":"\u8349\u7a3f","status":"\u72b6\u6001","location":"\u4f4d\u7f6e","description":"\u63cf\u8ff0","url":"URL"},"template_detail_page":{"select_template":"\u9009\u62e9\u6a21\u677f","download_scene":"\u4e0b\u8f7d\u573a\u666f","description":"\u63cf\u8ff0","creator":"\u521b\u9020\u8005","scene_details":"\u573a\u666f\u7ec6\u8282","built_for_world":"\u4e3a\u4e16\u754c\u5efa\u9020","personalize_it_yourself":"\u81ea\u5df1\u4e2a\u6027\u5316","parcels":"{rows} x {cols} \u5305\u88f9"},"shortcuts":{"delete":"\u5220\u9664","duplicate":"\u590d\u5236","export":"\u573a\u666f\u5bfc\u51fa","hold":"\u6309\u4f4f","move":"\u5750\u6807\u8f74","move_camera":"\u79fb\u52a8\u6444\u76f8\u673a","precision":"\u7cbe\u786e\u5ea6","preview":"\u9884\u89c8","redo":"\u91cd\u505a","reset":"\u91cd\u7f6e","reset_camera":"\u91cd\u7f6e\u6444\u76f8\u673a","rotate":"\u65cb\u8f6c\u8f74","scale":"\u5207\u6362\u7f29\u653e","shortcut_reference":"\u5feb\u6377\u65b9\u5f0f","toggle_colliders":"\u78b0\u649e\u5668","toggle_sidebar":"\u4fa7\u8fb9\u680f","undo":"\u64a4\u6d88","zoom_in":"\u653e\u5927","zoom_out":"\u7f29\u5c0f","multiselect":"\u9009\u62e9\u591a\u4e2a\u9879\u76ee"},"shortcuts_modal":{"editor_shortcuts":"\u7f16\u8f91\u5668","item_shortcuts":"\u7269\u54c1","other_shortcuts":"\u5176\u5b83","title":"\u5feb\u6377\u952e"},"sync":{"error":"{errorCount} {errorCount, plural, one {\u573a\u666f} other {\u573a\u666f}} \u65e0\u6cd5\u4e0a\u4f20","loading":"\u4e0a\u4f20\u4e2d...","retry":"\u91cd\u8bd5","success":"\u6240\u6709\u573a\u666f\u6210\u529f\u4fdd\u5b58\uff01"},"create_modal":{"title":"\u521b\u5efa\u4e00\u4e2a\u573a\u666f","name_subtitle":"\u4e3a\u60a8\u7684\u573a\u666f\u8bbe\u7f6e\u540d\u79f0\u548c\u63cf\u8ff0","size_subtitle":"\u8bbe\u7f6e\u65b0\u573a\u666f\u7684\u5927\u5c0f","sdk_title":"\u4f53\u9a8c\u65b0\u7684\u5206\u6563\u7f16\u8f91","sdk_subtitle":"\u5728\u6ca1\u6709\u4efb\u4f55\u4ee3\u7801\u7684\u60c5\u51b5\u4e0b\u5229\u7528SDK 7\u7684\u529f\u7387\u3002","sdk_description":"\u901a\u8fc7\u6539\u8fdb\u7684\u89c6\u89c9\u7f16\u8f91\u5668\u6765\u589e\u5f3a\u573a\u666f\u6784\u5efa\u8fc7\u7a0b\u3002\u5305\u62ec\u4e0a\u4e00\u4e2a\u573a\u666f\u6784\u5efa\u5668\u4e2d\u7684\u6240\u6709\u529f\u80fd\uff0c\u800c\u6dfb\u52a0<b>\u667a\u80fd\u9879\u76ee\u7684\u6dfb\u52a0</b>\u662f\u4e3a\u5373\u5c06\u8fdb\u884c\u66f4\u65b0\u7684\u3002","sdk_image_alt":"SDK 7","name_label":"\u540d\u79f0","description_label":"\u63cf\u8ff0","description_placeholder":"\u4e00\u4e9b\u63cf\u8ff0...","use_sdk7":"\u4f7f\u7528\u5206\u6563\u7f51\u7edc\u7f16\u8f91\u5668","use_sdk6":"\u4f7f\u7528\u4f20\u7edf\u573a\u666f\u5efa\u9020\u8005 (SDK 6)"},"clone_template_modal":{"title":"\u4e3a\u60a8\u7684\u573a\u666f\u8bbe\u7f6e\u540d\u79f0\u548c\u63cf\u8ff0","name_label":"\u59d3\u540d","name_max_length":"\u8be5\u540d\u79f0\u6700\u591a\u53ef\u4ee5\u662f32\u4e2a\u5b57\u7b26","description_label":"\u63cf\u8ff0","description_placeholder":"\u4e00\u4e9b\u63cf\u8ff0..."},"templates":{"big":"\u5927 (2x3)","custom_layout":{"title":"\u81ea\u5b9a\u4e49","up_to":"\u6700\u5927 {max} \u5757\u5730\u5757"},"description":"{dimensions} - \u6700\u591a {amount} \u4e2a\u6a21\u578b","medium":"\u4e2d (2x2)","small":"\u5c0f (1x1)"},"activity_page":{"latest_activity":"\u6700\u65b0\u6d3b\u52a8","clear_history":"\u6e05\u9664\u5386\u53f2\u8bb0\u5f55","empty":"\u60a8\u5c1a\u65e0\u6d3b\u52a8\u3002","clear_history_modal":{"title":"\u60a8\u786e\u5b9a\u5417\uff1f","text":"\u60a8\u5c06\u6e05\u9664\u4ea4\u6613\u8bb0\u5f55\u3002\u60a8\u8981\u7ee7\u7eed\u5417\uff1f"}},"settings_page":{"authorizations":"\u6743\u9650","disclaimer":"\u60a8\u53ef\u4ee5\u5206\u914d\u5176\u4ed6\u5730\u5740\u6765\u4ee3\u8868\u60a8\u7ecf\u8425\u6240\u6709\u5305\u88f9\u6216\u5730\u4ea7\u3002\u4ed6\u4eec{emphasis}\u80fd\u591f\u8f6c\u8ba9\u6216\u51fa\u552e\u5b83\u4eec\uff0c\u53ea\u5141\u8bb8\u4ed6\u4eec\u5728\u5176\u4e0a\u53d1\u5e03\u5185\u5bb9\u3002","emphasis":"\u5c06\u4e0d\u4f1a","authorization":"\u60a8\u6388\u6743{address}\u4ee3\u8868\u60a8\u64cd\u4f5c\u6240\u6709{type}\u3002","authorization_action":"\u6388\u6743{address}\u4ee3\u8868\u60a8\u64cd\u4f5c\u6240\u6709{type}\u3002","copy_address":"\u590d\u5236\u5730\u5740","copied":"\u5df2\u590d\u5236","authorizations_title":"\u6d3b\u52a8\u6388\u6743"},"transaction":{"approved":"\u5df2\u6279\u51c6","not_approved":"\u672a\u6279\u51c6","approve_token":"\u60a8{action} {contract}\u5408\u540c\u4ee3\u8868\u60a8\u64cd\u4f5c{token}\u3002","change_profile":"\u60a8\u7684\u540d\u5b57\u7528\u4f5c{address}\u7684\u5225\u540d","transfer":"\u60a8\u5df2\u5c06{name}\u8f6c\u79fb\u5230{address}\u3002","edit":"\u60a8\u5df2\u7f16\u8f91{name}.","set_operator_assigned":"\u60a8\u5df2\u5c06{address}\u5206\u914d\u4e3a{name}\u7684\u64cd\u4f5c\u8005\u3002","set_operator_revoked":"\u60a8\u64a4\u9500\u4e86{name}\u7684\u64cd\u4f5c\u8005\u3002","create_estate":"\u60a8\u521b\u5efa\u4e86{name}\u3002","dissolve_estate":"\u60a8\u89e3\u6563\u4e86{name}\u3002","edit_estate_add":"\u60a8\u5728{name}\u4e2d\u6dfb\u52a0\u4e86{count}\u571f\u5730\u3002","edit_estate_remove":"\u60a8\u4ece{name}\u4e2d\u5220\u9664\u4e86{count}\u571f\u5730\u3002","set_manager_assigned":"\u60a8\u5df2\u5c06{\u5730\u5740}\u5206\u914d\u3001\u4e3a\u6240\u6709{type}\u7684\u8fd0\u7b97\u7b26\u3002","set_manager_revoked":"\u60a8\u5df2\u64a4\u9500{address}\u4e3a\u6240\u6709{type}\u7684\u64cd\u4f5c\u5458\u3002","collection_published":"\u53d1\u5e03\u4e86\u6536\u85cf\u96c6{name}","collection_approved":"\u6279\u51c6\u4e86\u96c6\u5408{name}","collection_rejected":"\u62d2\u7edd\u6536\u85cf{name}","set_price_and_beneficiary":"\u60a8\u7f16\u8f91\u4e86{name}\u7684\u4ef7\u683c\u548c/\u6216\u53d7\u76ca\u4eba","collection_item_minted":"\u4e3a\u96c6\u5408 {collectionName} \u94f8\u9020\u4e86 {itemName} {count, plural, one {\u4e00\u6b21} other {{count} \u6b21}}","collection_items_minted":"\u4e3a{name}\u6536\u96c6\u4e86{count}\u4e2a\u9879\u76ee","updated_collection_managers":"\u66f4\u65b0\u4e86\u96c6\u5408 {name} \u7ba1\u7406\u5668","updated_collection_minters":"\u66f4\u65b0\u4e86\u96c6\u5408 {name} \u94f8\u5e01\u5382","set_collection_on_sale":"\u8bbe\u7f6e\u8981\u51fa\u552e\u7684\u6536\u85cf\u96c6{name}","unset_collection_on_sale":"\u5df2\u5c06\u96c6\u5408{name}\u4ece\u51fa\u552e\u4e2d\u79fb\u9664","set_ens_resolver":"\u4e3a\u540d\u79f0\\"{name}\\"\u8bbe\u7f6e\u89e3\u6790\u5668","set_ens_content":"\u5728{land_link}\u4e0a\u4e3a\u540d\u79f0\\"{name}\\"\u8bbe\u7f6e\u91cd\u5b9a\u5411\u5185\u5bb9\u3002","unset_ens_content":"\u5220\u9664\u540d\u79f0\\" {name} \\"\u7684\u91cd\u5b9a\u5411\u5185\u5bb9","allowed_claim_mana":"\u5141\u8bb8MANA\u58f0\u660e\u65b0\u540d\u79f0","disallowed_claim_mana":"\u4e0d\u5141\u8bb8MANA\u7533\u8bf7\u65b0\u540d\u79f0","claim_name":"\u58f0\u660e\u65b0\u540d\u79f0\uff1a\\"{name}\\"\u3002","rescue_items":"\u60a8\u5df2\u6279\u51c6 {count} \u9879\u76ee \u7684\u5185\u5bb9\uff0c\u7528\u4e8e {collectionName} \u96c6\u5408"},"transfer_page":{"title":"\u8f6c\u79fb","subtitle":"\u60a8\u5373\u5c06\u8f6c\u79fb{name}\u3002","disclaimer":"\u8bf7\u8bb0\u4f4f\uff0c\u8f6c\u79fb\u662f\u4e0d\u53ef\u9006\u7684\u64cd\u4f5c\u3002{br}\u8bf7\u4ed4\u7ec6\u68c0\u67e5\u5730\u5740\u3002"},"toasts":{"localstorage":"\u573a\u666f\u5b58\u50a8\u5728\u672c\u5730\u6d4f\u89c8\u5668\u4e2d\u3002 {sign_in}\u4ee5\u5c06\u5176\u4fdd\u5b58\u5728\u4e91\u7aef\uff01"},"topbar":{"bounds_exceeded":"\u7269\u4f53\u8d85\u8fc7\u8fb9\u754c{br}\u8bf7\u5c06\u7269\u54c1\u79fb\u52a8\u5230\u8fb9\u754c\u5185\uff01","limits_exceeded":"{metric} \u592a\u591a{br}\u8bf7\u5c1d\u8bd5\u5220\u9664\u4e00\u4e9b\u7269\u54c1\uff01","publish":"\u53d1\u5e03","up_to_date":"\u5df2\u6700\u65b0\uff01{br}\u6240\u6709\u66f4\u6539\u90fd\u5df2\u53d1\u5e03","update_scene":"\u66f4\u65b0\u573a\u666f"},"tutorial_modal":{"slide0":{"description":"\u8fd9\u662f Decentraland \u7684\u65b0\u573a\u666f\u6784\u5efa\u5668\u3002","title":"\u6b22\u8fce\u60a8\u7684\u5230\u6765\uff01"},"slide1":{"description":"\u8981\u79fb\u52a8\u5bf9\u8c61\uff0c\u8bf7\u5355\u51fb\u5e76\u62d6\u52a8\u5bf9\u8c61\u3002","title":"\u79fb\u52a8\u7269\u4f53"},"slide2":{"description":"\u4ece\u53f3\u4fa7\u8fb9\u680f\u5411\u573a\u666f\u6dfb\u52a0\u5bf9\u8c61\u3002","title":"\u6dfb\u52a0\u5bf9\u8c61"},"slide3":{"description":"\u901a\u8fc7\u5355\u51fb\\"\u65cb\u8f6c\\"\u5de5\u5177\u5e76\u62d6\u52a8\u8f68\u9053\u6765\u65cb\u8f6c\u5bf9\u8c61\u3002","title":"\u8f68\u9053\u548c\u7bad\u5934"},"slide4":{"description":"\u4f7f\u7528\u5de6\u952e\u62d6\u52a8\u53ef\u65cb\u8f6c\u76f8\u673a\u3002","title":"\u76f8\u673a\u63a7\u5236"},"subtitle":"\u5185\u5bb9\u7f16\u8f91\u5668\u975e\u5e38\u5bb9\u6613\u4f7f\u7528\uff0c\u5728\u60a8\u5f00\u59cb\u4e4b\u524d\uff0c\u8fd9\u91cc\u6709\u4e00\u4e9b\u6280\u5de7\u548c\u63d0\u793a","title":"\u5f00\u59cb\u4f7f\u7528 the Builder"},"unsupported_browser_page":{"back":"\u8fd4\u56de\u60a8\u7684\u573a\u666f","subtitle":"The Builder \u4e0d\u652f\u6301\u60a8\u7684\u6d4f\u89c8\u5668.{br}\u8bf7\u4f7f\u7528 {chrome} \u6216 {firefox}","title":"Oops!"},"user_menu":{"guest":"\u5ba2\u4eba","sign_in":"\u767b\u5f55","sign_out":"\u6ce8\u9500"},"validation":{"project":{"description":{"length":"\u63cf\u8ff0\u957f\u5ea6\u5fc5\u987b\u662f {min} \u5230 {max} \u4e2a\u5b57\u7b26."},"title":{"length":"\u540d\u79f0\u957f\u5ea6\u5fc5\u987b\u662f {min} \u5230 {max} \u4e2a\u5b57\u7b26."}}},"video_modal":{"title":"\u66f4\u591a","youtube_id":"NhaP_M7tVc8"},"wallet":{"title":"\u8fde\u63a5\u60a8\u7684\u94b1\u5305\u4ee5\u767b\u5165\u3002","sign_in_required":"\u60a8\u9700\u8981{sign_in}\u624d\u80fd\u8bbf\u95ee\u6b64\u9875\u9762\u3002","sign_in":"\u767b\u5165"},"collections_page":{"results":"{count} {count\uff0c\u590d\u6570\uff0c\u4e00\u4e2a{result}\u5176\u4ed6{results}}","no_items":"\u6ca1\u6709\u6536\u85cf","new_item":"\u9879\u76ee","new_collection":"\u521b\u5efa\u96c6\u5408","new_third_party_collection":"\u521b\u5efa\u94fe\u63a5\u7684\u53ef\u7a7f\u6234\u8bbe\u5907\u96c6\u5408","type":"\u7c7b\u578b","items":"\u6a21\u578b","collections":"\u6536\u85cf\u54c1","collection":"\u6536\u85cf","single_items":"\u5355\u54c1","empty_description":"\u60a8\u8fd8\u6ca1\u6709\u6536\u85cf\u3002\u521b\u5efa\u4e00\u4e2a\u65b0\u7cfb\u5217\uff0c\u5e76\u4ee5\u65f6\u5c1a\u7684\u65b9\u5f0f\u88c5\u626e\u865a\u62df\u5b87\u5b99\uff01","created_at":"\u5df2\u521b\u5efa","last_modified":"\u4e0a\u4e00\u6b21\u66f4\u6539"},"curation_page":{"order":{"most_relevant":"\u6700\u76f8\u5173\u7684"},"filter":{"all_status":"\u6240\u6709\u72b6\u6001","all_assignees":"\u6240\u6709\u53d7\u8ba9\u4eba","all_types":"\u6240\u6709\u7c7b\u578b","not_reviewed":"\u5c1a\u672a\u5ba1\u6838","approved":"\u5df2\u6279\u51c6","rejected":"\u62d2\u7edd\u4e86","under_review":"\u5ba1\u67e5\u4e2d","to_review":"\u56de\u987e","standard":"\u6807\u51c6","third_party":"\u94fe\u63a5\u7684"},"search_placeholder":"\u6309\u540d\u79f0\u6216\u6240\u6709\u8005\u5730\u5740\u641c\u7d22","results":"{count} {count\uff0c\u590d\u6570\uff0c\u4e00\u4e2a{result}\u5176\u4ed6{results}}","collections":"{count} {count, plural, one {\u4e2a\u5408\u96c6} other {\u4e2a\u6536\u85cf}}","empty_collections":"\u5c1a\u65e0\u8981\u5ba1\u67e5\u7684\u6536\u85cf\u96c6\u3002","assign_modal":{"unassign":"\u53d6\u6d88\u5206\u914d","collection_unassigned":"{collection_name} \u96c6\u5408\u5df2\u53d6\u6d88\u5206\u914d\u3002","self_assign":{"title":"\u786e\u8ba4\u60a8\u5bf9 {collection_name} \u7684\u5206\u914d","body":"\u60a8\u5c06\u8d1f\u8d23 {emphasis}\u3002\u5982\u679c\u9700\u8981\uff0c\u60a8\u53ef\u4ee5\u5c06\u6536\u85cf\u91cd\u65b0\u5206\u914d\u7ed9\u5176\u4ed6\u7b56\u5c55\u4eba\u3002","emphasis":"\u5ba1\u9605\u6b64\u6536\u85cf\u5e76\u5728\u8bba\u575b\u4e2d\u4e0e\u521b\u4f5c\u8005\u4ea4\u6d41","success":"{collection_name} \u96c6\u5408\u5df2\u5206\u914d\u7ed9\u60a8\u3002"},"reassign":{"title":"\u7f16\u8f91 {collection_name} \u6536\u85cf\u7684\u6307\u5b9a\u7b56\u5c55\u4eba","body":"\u5982\u679c\u60a8\u65e0\u6cd5\u67e5\u770b\u6b64\u6536\u85cf\uff0c\u8bf7\u5c06\u5176\u91cd\u65b0\u5206\u914d\u7ed9\u5176\u4ed6\u7b56\u5c55\u4eba\u3002\u786e\u4fdd\u8ba9\u4ed6\u4eec\u77e5\u9053\u6b64\u66f4\u6539","success":"{collection_name} \u96c6\u5408\u5df2\u5206\u914d\u7ed9 {assignee}\u3002"}},"error_message_title":"\u9519\u8bef","error_message_body":"\u53d1\u751f\u9519\u8bef\u3002\u8bf7\u7a0d\u540e\u518d\u8bd5\u3002","assign_success_title":"\u5df2\u5206\u914d\u96c6\u5408","unassign_success_title":"\u96c6\u5408\u672a\u5206\u914d","curator":"\u9986\u957f","confirm_not_assigned_curation_modal":{"title":"\u6279\u51c6\u6536\u96c6","body":"\u6b64\u96c6\u5408\u5df2\u5206\u914d\u7ed9 {assignee}\u3002\u5982\u679c\u9700\u8981\uff0c\u60a8\u4ecd\u7136\u53ef\u4ee5\u6279\u51c6\u5b83\uff0c\u4f46\u8bf7\u786e\u4fdd\u8ba9\u6307\u5b9a\u7684\u7b56\u5c55\u4eba\u77e5\u9053\u5b83\u3002","confirm_footer":"\u786e\u8ba4\u6b64\u96c6\u5408\u7684\u6279\u51c6\uff0c\u4f7f\u5176\u80fd\u591f\u88ab\u94f8\u9020\u3002","confirm_button":"\u5206\u914d\u7ed9\u6211\u5e76\u6279\u51c6\u6536\u85cf"}},"collection_row":{"collection":"\u6536\u85cf","published":"\u53d1\u8868","date":"\u65e5\u671f","assignee":"\u53d7\u8ba9\u4eba","status":"\u5730\u4f4d","discussion":"\u8ba8\u8bba","items":"{count} \u9879","owner":"\u6240\u6709\u8005","link":"\u5173\u8054","type":"\u7c7b\u578b","type_third_party":"\u94fe\u63a5\u7684","type_standard":"\u6807\u51c6","review_request":"\u5ba1\u67e5\u8bf7\u6c42","forum_post":"\u8bba\u575b\u5e16\u5b50","no_forum_post":"\u5c1a\u672a\u53d1\u5e03\u5230\u8bba\u575b","approved":"\u5df2\u6279\u51c6","rejected":"\u62d2\u7edd\u4e86","disabled":"\u7981\u7528","unassigned":"\u672a\u5206\u914d","assign_to_me":"\u5206\u914d\u7ed9\u6211","you":"\u4f60"},"item_detail_page":{"details_info":{"id":"ID"},"selling":{"title":"\u9500\u552e"},"representations":{"title":"\u9648\u8ff0"},"tags":{"title":"\u6807\u7b7e"},"details":"\u7ec6\u8282","edit_thumbnail":"\u7f16\u8f91\u7f29\u7565\u56fe","properties":"\u7279\u6027","notice":"\u60a8\u9700\u8981\u5148\u5c06\u9879\u76ee\u6dfb\u52a0\u5230\u96c6\u5408\u4e2d\uff0c\u7136\u540e\u624d\u80fd\u53d1\u5e03\u5b83\u4eec","add_representation":"\u6dfb\u52a0{bodyShape}","change_item_file":"\u7f16\u8f91\u8868\u793a","delete_published_item":"\u60a8\u65e0\u6cd5\u5220\u9664\u5df2\u53d1\u5e03\u7684\u9879\u76ee","required_permissions":"\u6743\u9650","edit_video":"\u7f16\u8f91\u89c6\u9891\u5c55\u793a\u67dc"},"third_party_collection_detail_page":{"notice":"\u6bcf\u4e2a\u53d1\u5e03\u7684\u9879\u76ee\u5360\u7528 1 \u4e2a Slot\u3002\u5728 DAO \u4e2d\u521b\u5efa\u63d0\u6848\u8349\u6848\u4ee5\u7533\u8bf7\u66f4\u591a\u63d2\u69fd","search_placeholder":"\u641c\u7d22 {count} {count, plural, one {\u7269\u54c1} other {\u9879\u76ee}}...","search_info":"{page}-{pageTotal} \u4e2a\uff0c\u5171 {total} \u4e2a","clear_selection":"\u6e05\u7a7a\u9009\u9879","select_all":"\u9009\u62e9\u6240\u6709 {total} \u9879","selection":"{count, plural, one {# \u7269\u54c1} other {# \u9879\u76ee}} \u9009\u4e2d.","max_select_count":"\u60a8\u4e00\u6b21\u6700\u591a\u53ef\u4ee5\u53d1\u5e03 {count} \u4e2a\u9879\u76ee","slots":"{amount, plural, =0 {\u6ca1\u6709\u63d2\u69fd} other {# \u4e2a\u63d2\u69fd}}","start_adding_items":"\u770b\u8d77\u6765\u4e0d\u9519\uff01 \u73b0\u5728\u60a8\u53ef\u4ee5\u5f00\u59cb\u5c06\u9879\u76ee\u6dfb\u52a0\u5230\u60a8\u7684\u6536\u85cf\u4e2d\u4e86\u3002","cant_remove":"\u53d1\u5e03\u9879\u76ee\u540e\uff0c\u60a8\u5c06\u65e0\u6cd5\u6dfb\u52a0\u6216\u5220\u9664\u9879\u76ee\u3002","publish_items":"\u53d1\u5e03 {count, plural, =0 {} other {# \u9879}}","new_items":"\u65b0\u7684\u53ef\u7a7f\u6234\u7269\u54c1","publish":"\u53d1\u5e03","push_changes":"\u63a8\u9001\u66f4\u6539","publish_and_push_changes":"\u53d1\u5e03\u548c\u63a8\u9001\u66f4\u6539","cant_publish":"\u6b64\u96c6\u5408\u4ecd\u5728\u5ba1\u6838\u4e2d\uff0c\u4e00\u65e6\u8be5\u8fc7\u7a0b\u7ed3\u675f\uff0c\u60a8\u5c06\u80fd\u591f\u53d1\u5e03\u66f4\u591a\u9879\u76ee","cant_publish_items":"\u60a8\u6b63\u5728\u5c1d\u8bd5\u53d1\u5e03 {count} {count\uff0c\u590d\u6570\uff0c\u4e00\u4e2a {item} \u5176\u4ed6 {items}}\u3002\u76ee\u524d\u8fd8\u6709\u5176\u4ed6\u4eba\u6b63\u5728\u5ba1\u67e5\u4e2d","exceeds_available_slots":"\u60a8\u8d85\u51fa\u4e86\u53ef\u7528\u63d2\u69fd\u7684\u6570\u91cf\u3002\u5728 DAO \u4e2d\u521b\u5efa\u63d0\u6848\u4ee5\u6dfb\u52a0\u66f4\u591a\u63d2\u69fd","cant_publish_and_push_changes":"\u60a8\u6b63\u5728\u5c1d\u8bd5\u53d1\u5e03 {count} {count\uff0c\u590d\u6570\uff0c\u4e00\u4e2a {item} \u5176\u4ed6 {items}} \u5e76\u540c\u65f6\u63a8\u9001\u66f4\u6539\u3002\u53d6\u6d88\u9009\u62e9\u8981\u53d1\u5e03\u7684\u9879\u76ee\u4ee5\u63a8\u9001\u66f4\u6539","synced_filter":{"all":"\u6240\u6709\u9879\u76ee","synced":"\u540c\u6b65\u7684","unsynced":"\u4e0d\u540c\u6b65"},"synced_statuses":{"unpublished":"\u51c6\u5907\u53d1\u5e03","under_review":"\u5ba1\u67e5\u4e2d","synced":"\u540c\u6b65","unsynced":"\u672a\u540c\u6b65"}},"collection_detail_page":{"new_item":"\u65b0\u7269\u54c1","mint_items":"\u8584\u8377\u9879\u76ee","on_sale":"\u7279\u4ef7\u4e2d","put_for_sale":"\u51fa\u552e","set_on_sale_popup":"\u8fd9\u5c06\u5141\u8bb8\u60a8\u7684\u6536\u85cf\u5728 Decentraland \u5e02\u573a\u4e0a\u51fa\u552e\u3002","unset_on_sale_popup":"\u8be5\u7cfb\u5217\u5728 Decentraland \u5e02\u573a\u4e0a\u6709\u552e\u3002","notice":"\u51c9\u723d\u7684\uff01 \u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u5f00\u59cb\u5904\u7406\u9879\u76ee\u4e86\u3002 {editor_link}\u6253\u5f00\u7f16\u8f91\u5668\uff0c\u6216\u5728\u4efb\u4f55\u9879\u76ee\u4e0a\u5355\u51fb\u201c\u7f16\u8f91\u201d\u6309\u94ae\u3002","preview":"\u5728\u7f16\u8f91\u5668\u4e2d\u9884\u89c8","publish":"\u53d1\u5e03\u5408\u96c6","remove_from_marketplace":"\u4ece\u5e02\u573a\u4e2d\u5220\u9664","add_item":"\u6dfb\u52a0\u9879\u76ee","add_items_title":"\u770b\u8d77\u6765\u4e0d\u9519\uff01","add_items_subtitle":"\u73b0\u5728\u60a8\u53ef\u4ee5\u5f00\u59cb\u5c06\u9879\u76ee\u6dfb\u52a0\u5230\u60a8\u7684\u6536\u85cf\u4e2d","add_items_subtitle_extensions":"\u63a5\u53d7\u7684\u6587\u4ef6\u662f ZIP\u3001GLTF\u3001GLB\u3001PNG\u3002","start_adding_items":"\u770b\u8d77\u6765\u4e0d\u9519\uff01 \u73b0\u5728\u60a8\u53ef\u4ee5\u5f00\u59cb\u5c06\u9879\u76ee\u6dfb\u52a0\u5230\u60a8\u7684\u6536\u85cf\u4e2d\u4e86\u3002","cant_remove":"\u96c6\u5408\u53d1\u5e03\u540e\uff0c\u60a8\u5c06\u65e0\u6cd5\u5c06\u5176\u5220\u9664\u6216\u6dfb\u52a0\u5230\u96c6\u5408\u4e2d\u3002","can_mint":"\u94f8\u5e01\u5141\u8bb8\u60a8\u5c06 NFT \u76f4\u63a5\u8f6c\u79fb\u5230\u4e00\u4e2a\u5730\u5740\u3002","cant_mint":"\u8be5\u6536\u85cf\u96c6\u4ecd\u5728\u5ba1\u6838\u4e2d\uff0c\u4e00\u65e6\u8be5\u8fc7\u7a0b\u7ed3\u675f\uff0c\u60a8\u5c06\u80fd\u591f\u94f8\u9020\u5546\u54c1","cant_push":"\u6b64\u96c6\u5408\u4ecd\u5728\u5ba1\u67e5\u4e2d\uff0c\u9879\u76ee\u4ecd\u7136\u53ef\u4ee5\u94f8\u9020\uff0c\u4f46\u4e0d\u4f1a\u53cd\u6620\u8fdb\u4e00\u6b65\u7684\u53d8\u5316\uff0c\u76f4\u5230\u6279\u51c6\u3002","push_changes":"\u4e0a\u4f20\u66f4\u6539","under_review":"\u5ba1\u6838\u4e2d","cant_operate":"\u6b64\u5408\u96c6\u4ecd\u5904\u4e8e\u9501\u5b9a\u72b6\u6001\uff0c\u4e00\u65e6\u53d1\u5e03\u7ed3\u675f\u60a8\u5c06\u53ef\u4ee5\u518d\u6b21\u64cd\u4f5c","locked":"\u9501\u5b9a","publish_reason_max_items":"\u53ef\u4ee5\u53d1\u5e03\u5305\u542b\u6700\u591a {maxItems} \u4e2a\u9879\u76ee\u7684\u96c6\u5408\u3002","publish_reason_no_items":"\u60a8\u9700\u8981\u6dfb\u52a0\u81f3\u5c11\u4e00\u9879\u624d\u80fd\u53d1\u5e03\u60a8\u7684\u6536\u85cf\u3002","publish_reason_items_not_complete":"\u6240\u6709\u9879\u76ee\u5fc5\u987b\u5b8c\u6574\u624d\u80fd\u53d1\u5e03\u60a8\u7684\u6536\u85cf\uff0c\u68c0\u67e5\u662f\u5426\u8bbe\u7f6e\u4e86\u6240\u6709\u5c5e\u6027\u3002","emotes":"\u8868\u60c5","wearables":"\u53ef\u7a7f\u6234\u8bbe\u5907","table":{"item":"\u7269\u54c1","rarity":"\u7a00\u6709\u5ea6","category":"\u7c7b\u522b","price":"\u4ef7\u683c","supply":"\u4f9b\u5e94","play_mode":"\u6e38\u620f\u6a21\u5f0f","status":"\u5730\u4f4d"},"missing_item_price":"\u60a8\u9700\u8981\u914d\u7f6e\u4e00\u4e2a\u6216\u591a\u4e2a {item_type} \u7684\u4ef7\u683c\u3002","missing_smart_wearable_video":"\u60a8\u9700\u8981\u4e0a\u4f20\u4e00\u4e2a\u6216\u591a\u4e2a\u667a\u80fd\u53ef\u7a7f\u6234\u8bbe\u5907\u7684\u89c6\u9891\u3002","unsynced_collection_title":"\u6b64\u96c6\u5408\u4e2d\u6709\u672a\u540c\u6b65\u7684\u9879\u76ee","unsynced_collection_message":"\u5728\u6b64\u96c6\u5408\u83b7\u5f97\u6279\u51c6\u540e\uff0c\u5bf9\u4e00\u9879\u6216\u591a\u9879\u8fdb\u884c\u4e86\u4fee\u6539\u3002{br}\u8fd9\u4e9b\u66f4\u65b0\u9700\u8981\u53d1\u5e03\u5e76\u7531\u7b56\u5c55\u59d4\u5458\u4f1a\u518d\u6b21\u5ba1\u6838\u3002","under_review_collection_message":"\u7ba1\u7406\u59d4\u5458\u4f1a\u6b63\u5728\u5ba1\u67e5\u66f4\u65b0\u7684\u9879\u76ee\u3002{br}\u4e00\u65e6\u83b7\u5f97\u6279\u51c6\uff0c\u5b83\u4eec\u5c06\u81ea\u52a8\u5bf9\u5f53\u524d\u6240\u6709\u8005\u548c\u5e02\u573a\u53ef\u89c1\u3002"},"collection_context_menu":{"add_existing_item":"\u6dfb\u52a0\u73b0\u6709\u9879\u76ee","forum_post":"\u67e5\u770b\u8bba\u575b\u5e16\u5b50","copy_address":"\u590d\u5236\u5730\u5740","edit_urn":"\u7f16\u8f91 URN","edit_in_bulk":"\u6279\u91cf\u7f16\u8f91","copy_urn":"\u590d\u5236 URN","see_in_decentraland":"\u53c2\u89c1 Decentraland","unpublished":"\u6b64\u5408\u96c6\u5c1a\u672a\u53d1\u5e03","managers":"\u5408\u4f5c\u8005","minters":"\u94f8\u5e01\u5382","post_to_forum":"\u53d1\u5e03\u5230\u8bba\u575b","posting":"\u8fc7\u5e10","not_posted":"\u8be5\u6536\u85cf\u96c6\u5c1a\u672a\u53d1\u5e03\u5230\u8bba\u575b\u3002 \u60a8\u53ef\u4ee5\u5728\u8fd9\u91cc\u91cd\u8bd5","delete_published_collection":"\u60a8\u65e0\u6cd5\u5220\u9664\u5df2\u53d1\u5e03\u7684\u96c6\u5408","change_published_urn":"\u96c6\u5408\u53d1\u5e03\u540e\uff0c\u60a8\u5c06\u65e0\u6cd5\u66f4\u6539 URN"},"collection_item":{"set_price":"\u8bbe\u5b9a\u4ef7\u683c","ready":"\u5df2\u5b8c\u6210","published":"\u53d1\u8868","not_ready":"\u6ca1\u6709\u51c6\u5907\u597d","under_review":"\u5ba1\u67e5\u4e2d","unsynced":"\u672a\u540c\u6b65","ready_to_publish":"\u51c6\u5907\u53d1\u5e03","incomplete":"\u4e0d\u5b8c\u6574","edit_item":"\u7f16\u8f91","mint_item":"\u94f8\u5e01","delte_item":"\u5220\u9664\u9879\u76ee","edit_price":"\u4fee\u6539\u4ef7\u683c","see_details":"\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","edit_urn":"\u7f16\u8f91 URN","cannot_edit_urn":"\u9879\u76ee\u53d1\u5e03\u540e\u60a8\u65e0\u6cd5\u7f16\u8f91 URN","reset_item":"\u64a4\u6d88","move_to_another_collection":"\u79fb\u52a8\u5230\u53e6\u4e00\u4e2a\u96c6\u5408","preview":"\u5728\u7f16\u8f91\u5668\u4e2d\u9884\u89c8"},"collection":{"type":{"standard":"\u91c7\u96c6","third_party":"\u94fe\u63a5\u7684\u53ef\u7a7f\u6234\u8bbe\u5907\u7cfb\u5217"}},"item":{"blockchain_id":"\u533a\u5757\u94feID","category":"\u7c7b\u522b","rarity":"\u7a00\u6709\u5ea6","representation":"\u8868\u793a","price":"\u4ef7\u94b1","beneficiary":"\u53d7\u76ca\u4eba","supply":"\u4f9b\u5e94","collection":"\u91c7\u96c6","edit_urn":"\u7f16\u8f91 URN","copy_urn":"Copy URN","type":{"wearable":"\u53ef\u7a7f\u6234","emote":"\u8868\u60c5","smart_wearable":"\u667a\u80fd\u53ef\u7a7f\u6234"}},"edit_price_and_beneficiary_modal":{"title":"\u8bbe\u5b9a\u4ef7\u683c","for_me":"\u6211\u662f\u53d7\u76ca\u4eba","free":"\u514d\u8d39","price_label":"\u4ef7\u683c","price_message":"\u8bf7\u8bb0\u4f4f\uff0c\u65e0\u6210\u672c\u4ea4\u6613\u652f\u6301\u7684\u6700\u4f4e\u91d1\u989d\u662f {minPrice}\u3002{br}{br}\u5982\u679c\u60a8\u7684\u5546\u54c1\u4ef7\u683c\u4f4e\u4e8e\u6b64\u4ef7\u683c\uff0c\u4e70\u5bb6\u5c06\u9700\u8981\u652f\u4ed8 {token} \u4e2d\u7684\u4ea4\u6613\u8d39\u7528\u3002","beneficiary_label":"\u6536\u6b3e\u4eba\u94b1\u5305\u5730\u5740","beneficiary_popup":"\u8fd9\u662f\u7b2c\u4e00\u6b21\u51fa\u552e\u7269\u54c1\u65f6\u5c06\u6536\u5230 MANA \u548c\u6709\u4eba\u8f6c\u552e\u65f6\u6536\u53d6\u7248\u7a0e\u7684\u94b1\u5305\u5730\u5740\u3002 \u60a8\u53ef\u4ee5\u4e3a\u96c6\u5408\u4e2d\u7684\u6bcf\u4e2a\u9879\u76ee\u8bbe\u7f6e\u4e0d\u540c\u7684\u6536\u6b3e\u4eba\u5730\u5740\u3002","free_message":"\u539f\u59cb\u521b\u4f5c\u8005\u5c06\u6210\u4e3a\u6240\u4ea7\u751f\u7248\u7a0e\u7684\u53d7\u76ca\u4eba"},"confirm_delete":{"content":"\u5220\u9664\\"{name}\\"?","subcontent":"\u60a8\u786e\u5b9a\u8981\u5220\u9664\u9879\u76ee\u201c{name}\u201d\u5417\uff1f\u6b64\u64cd\u4f5c\u4e0d\u53ef\u9006"},"delete_item_modal":{"title":"\u5220\u9664 {name}","subtitle":"\u60a8\u786e\u5b9a\u8981\u5220\u9664{name}\u5417\uff1f{br}\u6b64\u64cd\u4f5c\u4e0d\u53ef\u9006\u3002"},"publish_collection_modal":{"title":"\u53d1\u5e03\u6536\u85cf","title_tos":"\u5185\u5bb9\u653f\u7b56","first_paragraph":"\u60a8\u5c06\u8981\u53d1\u5e03\u60a8\u7684\u6536\u85cf\u96c6\uff0c\u8bf7\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a","second_paragraph":"\u53d1\u5e03\u6536\u85cf\u96c6\u540e\uff0c\u60a8\u5c06\u65e0\u6cd5\u6dfb\u52a0\u6216\u5220\u9664\u9879\u76ee","third_paragraph":"\u60a8\u5c06\u65e0\u6cd5\u66f4\u6539\u96c6\u5408\u7684\u540d\u79f0\u3002\u8bf7\u786e\u4fdd\u62fc\u5199\u6b63\u786e\u4e14\u4e0d\u4fb5\u72af\u77e5\u8bc6\u4ea7\u6743\u3002","fourth_paragraph":"\u60a8\u6536\u85cf\u4e2d\u7684\u7269\u54c1\u5c06\u51fa\u73b0\u5728\u5e02\u573a\u4e2d\uff0c\u4f46\u53ea\u6709\u83b7\u5f97\u6279\u51c6\uff0c\u624d\u80fd\u51fa\u552e\u3002","items_breakdown_title":"\u201c\u60a8\u5373\u5c06\u53d1\u5e03{count} {count, \u590d\u6570\uff0c\u4e00\u4e2a{item} \u5176\u4ed6{items}}\u3002\u60a8\u9700\u8981Polygon MANA \u6765\u652f\u4ed8\u4ea4\u6613\u8d39\u7528\uff0c\u6240\u6709\u8fd9\u4e9b\u8d39\u7528\u90fd\u4ea4\u7ed9Decentraland DAO\u3002DAO \u4f7f\u7528\u8fd9\u4e2aMANA \u6765\u652f\u4ed8 \u7528\u4e8e\u5bf9\u60a8\u63d0\u4ea4\u7684\u5185\u5bb9\u8fdb\u884c\u6280\u672f\u5ba1\u67e5\uff0c\u5e76\u901a\u8fc7\u8d60\u6b3e\u3001\u6d3b\u52a8\u548c\u5956\u54c1\u652f\u6301\u793e\u533a\u7684\u53d1\u5c55\u201d","tos_title":"\u6211\u5728\u6b64\u58f0\u660e\u5e76\u4fdd\u8bc1\uff1a","tos_first_condition":"1\uff1a\u63d0\u4ea4\u7a7f\u6234\u5f0f\u662f\u5b8c\u5168\u7b26\u5408{TERMS_OF_USE}\u548c{} content_policy\uff0c\u6211\u627f\u8ba4\u5e76\u63a5\u53d7\u3002","tos_second_condition":"2\uff1a\u6211\u5bf9\u63d0\u4ea4\u7684\u7a7f\u6234\u5f0f\u62e5\u6709\u8db3\u591f\u7684\u77e5\u8bc6\u4ea7\u6743\u3002","tos_third_condition":"3\uff1a\u6211\u627f\u8ba4\uff0cDAO \u53ef\u80fd\u4f1a\u56e0\u8fdd\u53cd\u5185\u5bb9\u653f\u7b56\u548c\u4f7f\u7528\u6761\u6b3e\u800c\u62d2\u7edd\u521b\u5efa\u7a7f\u6234\u5f0f\u3002 \u6211\u4e5f\u627f\u8ba4\uff0c\u5982\u679c\u88ab\u62d2\u7edd\uff0c\u5c06\u4e0d\u4f1a\u9000\u8fd8\u63d0\u6848\u8d39\u3002","invalid_email":"\u7ed9\u5b9a\u7684\u7535\u5b50\u90ae\u4ef6\u65e0\u6548\u3002","terms_of_use":"\u4f7f\u7528\u6761\u6b3e","content_policy":"\u5185\u5bb9\u653f\u7b56","accept_by_publishing":"\u901a\u8fc7\u70b9\u51fb\u53d1\u8868\u60a8\u63a5\u53d7\u6211\u4eec\u7684\u6761\u4ef6","publish":"\u53d1\u5e03","not_enough_mana":"\u60a8\u6ca1\u6709\u8db3\u591f\u7684{symbol} \u6765\u53d1\u5e03\u6b64\u6536\u85cf\u96c6\u3002","get_mana":"\u60a8\u53ef\u4ee5\u4f7f\u7528{link} dapp\u83b7\u5f97\u66f4\u591a\u4fe1\u606f\u3002","unsynced_collection":"\u60a8\u5c1d\u8bd5\u53d1\u5e03\u7684\u96c6\u5408\u4e2d\u7684\u9879\u4e0e\u670d\u52a1\u5668\u4e0a\u7684\u9879\u5b58\u5728\u5dee\u5f02\u3002\u8bf7\u5237\u65b0\u6d4f\u89c8\u5668\uff0c\u7136\u540e\u91cd\u8bd5\u3002"},"publish_collection_modal_with_oracle":{"title":"\u53d1\u5e03\u6536\u85cf","title_tos":"\u5185\u5bb9\u653f\u7b56","first_paragraph":"\u60a8\u5c06\u8981\u53d1\u5e03\u60a8\u7684\u6536\u85cf\u96c6\uff0c\u8bf7\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a","second_paragraph":"\u53d1\u5e03\u6536\u85cf\u96c6\u540e\uff0c\u60a8\u5c06\u65e0\u6cd5\u6dfb\u52a0\u6216\u5220\u9664\u9879\u76ee","third_paragraph":"\u60a8\u5c06\u65e0\u6cd5\u66f4\u6539\u96c6\u5408\u7684\u540d\u79f0\u3002\u8bf7\u786e\u4fdd\u62fc\u5199\u6b63\u786e\u4e14\u4e0d\u4fb5\u72af\u77e5\u8bc6\u4ea7\u6743\u3002","fourth_paragraph":"\u60a8\u6536\u85cf\u4e2d\u7684\u7269\u54c1\u5c06\u51fa\u73b0\u5728\u5e02\u573a\u4e2d\uff0c\u4f46\u53ea\u6709\u83b7\u5f97\u6279\u51c6\uff0c\u624d\u80fd\u51fa\u552e\u3002","items_breakdown_title":"\u60a8\u5c06\u8981\u53d1\u5e03\u4e00\u4e2a\u5305\u542b {count} {count\uff0c plural\uff0c one {item} other {items}} \u7684\u96c6\u5408\u3002\u4e3a\u4e86\u652f\u6301\u793e\u533a\u7684\u53d1\u5c55\uff0c\u6bcf\u7bc7\u6587\u7ae0\uff08\u4ee5MANA\u652f\u4ed8\uff09\u7684\u51fa\u7248\u8d39\u4e3a\u7f8e\u5143{\u51fa\u7248\u8d39}\uff0c\u8be5\u8d39\u7528\u5c06\u652f\u4ed8\u7ed9DAO\u548c\u7b56\u5c55\u4eba\u59d4\u5458\u4f1a\u3002","learn_more":"\u8be6\u7ec6\u4e86\u89e3\u53d1\u5e03\u8d39","estimate_notice":"* MANA\u4e2d\u7684\u603b\u989d\u662f\u6839\u636e\u5f53\u524d\u5e02\u573a\u4ef7\u683c\u8ba1\u7b97\u7684\u3002\u6267\u884c\u4e8b\u52a1\u65f6\uff0c\u6b64\u503c\u53ef\u80fd\u4f1a\u7565\u6709\u53d8\u5316\u3002","qty_of_items":"\u9879\u76ee\u6570","fee_per_item":"\u6bcf\u4ef6\u5546\u54c1\u7684\u8d39\u7528","total_in_usd":"\u603b\u8ba1\uff08\u7f8e\u5143\uff09","total_in_mana":"MANA \u4e2d\u7684\u603b\u8ba1","rarities_error":"\u5c1d\u8bd5\u83b7\u53d6\u51fa\u7248\u8d39\u65f6\u51fa\u9519\u3002","tos_title":"\u6211\u5728\u6b64\u58f0\u660e\u5e76\u4fdd\u8bc1\uff1a","tos_first_condition":"1\uff1a\u63d0\u4ea4\u7a7f\u6234\u5f0f\u662f\u5b8c\u5168\u7b26\u5408{TERMS_OF_USE}\u548c{} content_policy\uff0c\u6211\u627f\u8ba4\u5e76\u63a5\u53d7\u3002","tos_second_condition":"2\uff1a\u6211\u5bf9\u63d0\u4ea4\u7684\u7a7f\u6234\u5f0f\u62e5\u6709\u8db3\u591f\u7684\u77e5\u8bc6\u4ea7\u6743\u3002","tos_third_condition":"3\uff1a\u6211\u627f\u8ba4\uff0cDAO \u53ef\u80fd\u4f1a\u56e0\u8fdd\u53cd\u5185\u5bb9\u653f\u7b56\u548c\u4f7f\u7528\u6761\u6b3e\u800c\u62d2\u7edd\u521b\u5efa\u7a7f\u6234\u5f0f\u3002 \u6211\u4e5f\u627f\u8ba4\uff0c\u5982\u679c\u88ab\u62d2\u7edd\uff0c\u5c06\u4e0d\u4f1a\u9000\u8fd8\u63d0\u6848\u8d39\u3002","invalid_email":"\u7ed9\u5b9a\u7684\u7535\u5b50\u90ae\u4ef6\u65e0\u6548\u3002","terms_of_use":"\u4f7f\u7528\u6761\u6b3e","content_policy":"\u5185\u5bb9\u653f\u7b56","accept_by_publishing":"\u901a\u8fc7\u70b9\u51fb\u53d1\u8868\u60a8\u63a5\u53d7\u6211\u4eec\u7684\u6761\u4ef6","publish":"\u53d1\u5e03","not_enough_mana":"\u60a8\u6ca1\u6709\u8db3\u591f\u7684{symbol} \u6765\u53d1\u5e03\u6b64\u6536\u85cf\u96c6\u3002","get_mana":"\u60a8\u53ef\u4ee5\u4f7f\u7528{link} dapp\u83b7\u5f97\u66f4\u591a\u4fe1\u606f\u3002","unsynced_collection":"\u60a8\u5c1d\u8bd5\u53d1\u5e03\u7684\u96c6\u5408\u4e2d\u7684\u9879\u4e0e\u670d\u52a1\u5668\u4e0a\u7684\u9879\u5b58\u5728\u5dee\u5f02\u3002\u8bf7\u5237\u65b0\u6d4f\u89c8\u5668\uff0c\u7136\u540e\u91cd\u8bd5\u3002"},"publish_wizard_collection_modal":{"title_publish_collection":"\u53d1\u5e03\u6536\u85cf","title_review_content_policy":"\u5ba1\u67e5\u5185\u5bb9\u653f\u7b56","title_pay_publication_fee":"\u652f\u4ed8\u51fa\u7248\u8d39","title_congratulations":"\u606d\u559c\uff01","publish_failed":"\u767c\u5e03\u5931\u6557","confirm_collection_name_step":{"title":"\u786e\u8ba4\u6536\u85cf\u540d\u79f0","subtitle":"\u4f5c\u54c1\u96c6\u540d\u79f0\u9001\u5ba1\u540e\u4e0d\u53ef\u4fee\u6539\u3002","description":"\u786e\u4fdd\u5b83\u6ca1\u6709\u4efb\u4f55\u62fc\u5199\u9519\u8bef\uff0c\u5e76\u4e14\u4e0d\u5305\u542b\u60a8\u4e0d\u62e5\u6709\u7684\u4efb\u4f55\u77e5\u8bc6\u4ea7\u6743 (E.g Star Wars, Sailor Moon, etc)","collection_name_label":"\u96c6\u5408\u540d\u79f0","collection_name_confirmation_label":"\u786e\u8ba4\u6536\u85cf\u540d\u79f0","collection_name_placeholder":"\u60a8\u7684\u6536\u85cf\u540d\u79f0","collection_names_different":"\u96c6\u5408\u540d\u79f0\u4e0d\u5339\u914d","confirm_name":"\u786e\u8ba4\u59d3\u540d"},"confirm_collection_items_step":{"title":"\u786e\u8ba4\u9879\u76ee","subtitle":"\u9879\u76ee\u4e0d\u80fd\u5728\u96c6\u5408\u4e2d\u6dfb\u52a0\u6216\u5220\u9664\uff0c\u4e5f\u4e0d\u80fd\u5728\u53d1\u5e03\u540e\u66f4\u6539\u5176\u7a00\u6709\u5ea6\u3002","description":"\u4f46\u662f\uff0c\u5546\u54c1\u7684\u540d\u79f0\u3001\u63cf\u8ff0\u3001\u7c7b\u522b\u548c\u4ef7\u683c\u59cb\u7ec8\u53ef\u4ee5\u4fee\u6539\u3002","confirm_items":"\u786e\u8ba4\u9879\u76ee"},"review_content_policy_step":{"title":"\u5728\u5c06\u60a8\u7684\u6536\u85cf\u53d1\u9001\u4ee5\u4f9b\u5ba1\u6838\u4e4b\u524d\uff0c\u8bf7\u786e\u8ba4\u60a8\u5df2\u786e\u8ba4\u4ee5\u4e0b\u5185\u5bb9\uff1a","content_policy_first_condition":"\u6211\u4e86\u89e3\u6211\u5c06\u65e0\u6cd5\u6dfb\u52a0\u6216\u5220\u9664\u9879\u76ee\uff0c\u6216\u5728\u96c6\u5408\u53d1\u5e03\u540e\u4fee\u6539\u5176\u540d\u79f0\uff0c\u5e76\u4e14\u6211\u53ef\u4ee5\u8bc1\u660e\\"{collection_name}\\"\u4f5c\u4e3a\u540d\u79f0\u4e0d\u4fb5\u72af\u4efb\u4f55\u77e5\u8bc6\u4ea7\u6743\u3002","terms_of_use":"\u4f7f\u7528\u6761\u6b3e","content_policy":"\u5185\u5bb9\u653f\u7b56","accept_terms_of_use":"\u6211\u4fdd\u8bc1\u63d0\u4ea4\u7684\u9879\u76ee\u5b8c\u5168\u7b26\u5408\u6211\u627f\u8ba4\u5e76\u63a5\u53d7\u7684 {terms_of_use_link} \u548c {content_policy_link}\u3002","acknowledge_dao_terms":"\u6211\u627f\u8ba4 DAO \u53ef\u80fd\u4f1a\u56e0\u8fdd\u53cd {content_policy_link} \u548c {terms_of_use_link} \u800c\u62d2\u7edd\u6279\u51c6\u8be5\u9879\u76ee\u3002 \u6211\u4e5f\u627f\u8ba4\uff0c\u5982\u679c\u88ab\u62d2\u7edd\uff0c\u63d0\u6848\u8d39\u5c06\u4e0d\u4e88\u9000\u8fd8\uff0c\u56e0\u4e3a\u5176\u76ee\u7684\u662f\u8865\u507f\u7b56\u5c55\u4eba\u7684\u65f6\u95f4\u548c\u5de5\u4f5c\u3002","email_disclousure":"\u6211\u4eec\u9700\u8981\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\uff0c\u4ee5\u4fbf\u5c06\u6765\u5c31\u8be5\u7cfb\u5217\u8fdb\u884c\u4ea4\u6d41\u3002","email_disclousure_detail":"\u6211\u4eec\u53ea\u4f1a\u5c06\u8fd9\u5c01\u7535\u5b50\u90ae\u4ef6\u7528\u4e8e\u7279\u522b\u662f\u6709\u5173\u6b64\u6536\u85cf\u7684\u901a\u4fe1\u3002{enter}\u5b83\u4e0d\u4f1a\u4e0e\u60a8\u7684\u5e10\u6237\u76f8\u5173\u8054\u3002","email_newsletter":"\u4fdd\u6301\u8054\u7cfb\uff01\u4f7f\u7528\u6b64\u7535\u5b50\u90ae\u4ef6\u83b7\u53d6 Decentraland \u7684\u6bcf\u5468\u65b0\u95fb\u901a\u8baf\u3001\u66f4\u65b0\u548c\u7ade\u8d5b\u65b0\u95fb\u3002","continue":"\u7ee7\u7eed"},"pay_publication_fee_step":{"title":"\u60a8\u5373\u5c06\u53d1\u9001\u60a8\u7684\u6536\u85cf\\"{collection_name}\\"\uff0c\u5176\u4e2d\u5305\u62ec {count} {count, plural, one {\u7269\u54c1} other {\u9879\u76ee}} \u4f9b\u5ba1\u6838\u3002","subtitle":"\u4e3a\u4e86\u652f\u6301\u7b56\u5c55\u4eba\u59d4\u5458\u4f1a\u548c DAO \u91d1\u5e93\uff0c\u6bcf\u4ef6\u4f5c\u54c1\u9700\u652f\u4ed8 {currency} {publicationFee} \u7684\u51fa\u7248\u8d39\uff08\u4ee5 MANA \u652f\u4ed8\uff09\u3002","learn_more":"\u8be6\u7ec6\u4e86\u89e3\u53d1\u5e03\u8d39","quantity":"\u6570\u91cf","items":"{count} {count, plural, one {\u7269\u54c1} other {\u9879\u76ee}}","fee_per_item":"\u6bcf\u4ef6\u8d39\u7528","total_in_usd":"\u603b\u8ba1 {currency}","total_in_mana":"\u603b\u8ba1 MANA","pay":"\u652f\u4ed8 {value} MANA"},"congratulations_step":{"title":"\u60a8\u7684\u6536\u85cf\u73b0\u5728\u53ef\u4f9b\u7b56\u5c55\u4eba\u67e5\u770b\u3002","subtitle":"\u4efb\u4f55\u53cd\u9988\u90fd\u5c06\u5728 {forum_post} \u4e2d\u53d1\u9001\uff0c\u60a8\u548c\u793e\u533a\u4e2d\u7684\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u53d1\u8868\u8bc4\u8bba\u3002","description":"\u8be5\u5408\u96c6\u5c06\u5728\u7b56\u5c55\u59d4\u5458\u4f1a\u6279\u51c6\u540e\u53d1\u5e03\u3002\u7531\u4e8e\u8fd9\u662f\u4e00\u4e2a\u624b\u52a8\u8fc7\u7a0b\uff0c\u53ef\u80fd\u9700\u8981\u51e0\u5929\u65f6\u95f4\u3002\u611f\u8c22\u60a8\u7684\u8010\u5fc3\u7b49\u5f85\u3002","forum_post":"\u8bba\u575b\u5e16\u5b50","view_forum_post":"\u67e5\u770b\u8bba\u575b\u5e16\u5b50"},"authorization":{"title_action":"\u51fa\u7248\u7269","action":"\u53d1\u5e03\u96c6\u5408","confirm_transaction_title":"\u5b8c\u6574\u7684\u4ea4\u6613\u4ee5\u53d1\u5e03\u60a8\u7684\u6536\u85cf","authorize_mana_description":"\u8bf7\u8bb0\u4f4f\uff0c\u67d0\u4e9b\u94b1\u5305\u9700\u8981\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u7684\u6cd5\u529b\u652f\u51fa\u9650\u5236\u3002\u8f93\u5165{price}\u7684\u8d39\u7528\u6216\u7a0d\u9ad8\u7684\u91d1\u989d\uff0c\u4ee5\u907f\u514d\u7531\u4e8e\u4ef7\u683c\u6ce2\u52a8\u800c\u62d2\u7edd\u4ea4\u6613\u3002\u60a8\u53ef\u4ee5\u968f\u65f6\u66f4\u6539\u9650\u5236\u3002","set_cap_description":"\u8f93\u5165{price}\u7684\u8d39\u7528\u6216\u7a0d\u9ad8\u7684\u91d1\u989d\uff0c\u4ee5\u907f\u514d\u7531\u4e8e\u4ef7\u683c\u6ce2\u52a8\u800c\u62d2\u7edd\u4ea4\u6613\u3002\u60a8\u53ef\u4ee5\u968f\u65f6\u66f4\u6539\u9650\u5236\u3002","insufficient_amount_error_message":"\u8bf7\u8bb0\u4f4f\uff0c\u5c06\u652f\u51fa\u4e0a\u9650\u8bbe\u7f6e\u4e3a\u7b49\u4e8e\u8d39\u7528{price}\u6216\u66f4\u9ad8\u7684\u8d39\u7528\uff0c\u4ee5\u514d\u7531\u4e8e\u4ef7\u683c\u6ce2\u52a8\u800c\u88ab\u62d2\u7edd\u3002\u64a4\u9500\u60a8\u5f53\u524d\u7684\u4e0a\u9650\uff0c\u7136\u540e\u91cd\u8bd5\u3002"}},"sell_collection_modal":{"title":"\u60a8\u60f3\u51fa\u552e\u60a8\u7684\u7269\u54c1\u5417\uff1f","turn_on_description":"\u901a\u8fc7\u6253\u5f00\u6b64\u5f00\u5173\uff0c\u60a8\u7684\u6536\u85cf\u5c06\u53ef\u4ee5\u5728 Decentraland \u5e02\u573a\u4e0a\u8d2d\u4e70\u3002","turn_on":"\u6253\u5f00","turn_off_description":"\u5173\u95ed\u6b64\u5f00\u5173\u540e\uff0c\u60a8\u7684\u6536\u85cf\u5c06\u4e0d\u518d\u53ef\u7528\u3002","turn_off":"\u5173\u6389","put_for_sale":{"title":"\u60a8\u60f3\u51fa\u552e\u6b64\u6536\u85cf\u5417\uff1f","description":"\u8be5\u7cfb\u5217\u5c06\u53ef\u5728 Decentraland \u5e02\u573a\u4e0a\u8d2d\u4e70\u3002","cta":"\u51fa\u552e"},"remove_from_marketplace":{"title":"\u4f60\u60f3\u4ece\u5e02\u573a\u4e2d\u5220\u9664\u8fd9\u4e2a\u96c6\u5408\u5417\uff1f","description":"\u8be5\u7cfb\u5217\u5c06\u4e0d\u518d\u53ef\u5728 Decentraland \u5e02\u573a\u4e0a\u8d2d\u4e70\u3002","cta":"\u4ece\u5e02\u573a\u4e2d\u5220\u9664"},"unsynced_warning":"\u6709\u4e9b\u9879\u76ee\u6709\u5c1a\u672a\u6279\u51c6\u7684\u66f4\u6539\u3002"},"collection_managers_modal":{},"manage_collection_role_modal":{"manager":{"title":"\u5408\u4f5c\u8005","subtitle":"\u5982\u679c\u60a8\u5728\u5236\u4f5c\u6b64\u6536\u85cf\u96c6\u65f6\u4e0e\u5176\u4ed6\u521b\u4f5c\u8005\u5408\u4f5c\uff0c\u8bf7\u8f93\u5165\u4ed6\u4eec\u7684ETH\u5730\u5740","add_new":"\u6dfb\u52a0\u534f\u4f5c\u8005","empty":"\u8fd8\u6ca1\u6709\u5408\u4f5c\u8005\uff0c\u9996\u5148"},"minter":{"title":"\u94f8\u5e01\u5382","subtitle":"\u8f93\u5165\u60a8\u8981\u5141\u8bb8\u94f8\u9020\u60a8\u7684\u7269\u54c1\u7684 ETH \u5730\u5740","add_new":"\u6dfb\u52a0\u94f8\u5e01\u5382","empty":"\u8fd8\u6ca1\u6709\u94f8\u5e01\u673a\uff0c\u5f00\u59cb\u5427"},"adding_one":"\u52a0\u4e00\u4e2a\uff01"},"push_collection_changes_modal":{"title":"\u4e0a\u4f20\u66f4\u6539","description":"\u81ea\u4e0a\u6b21\u7b56\u5c55\u4eba\u5ba1\u67e5\u85cf\u54c1\u6216\u5176\u4e2d\u5305\u542b\u7684\u6587\u7ae0\u4ee5\u6765\uff0c\u5bf9\u6536\u85cf\u54c1\u6216\u5176\u4e2d\u5305\u542b\u7684\u6587\u7ae0\u8fdb\u884c\u4e86\u66f4\u6539\u3002{br}\u8981\u4f7f\u8fd9\u4e9b\u53d8\u5316\u53cd\u6620\u5728\u5e02\u573a\u548c\u6e38\u620f\u4e2d\uff0c\u5fc5\u987b\u518d\u6b21\u5f97\u5230\u59d4\u5458\u4f1a\u7684\u5ba1\u67e5\u548c\u6279\u51c6\u3002{br}\u60a8\u786e\u5b9a\u8981\u63a8\u52a8\u66f4\u6539\u4ee5\u4f9b\u5ba1\u6838\u5417\uff1f"},"see_in_world_modal":{"title":"\u53c2\u89c1 Decentraland","subtitle":"\u5728 Decentraland \u4e2d\u9009\u62e9\u4e00\u4e2a\u4f4d\u7f6e\u6765\u8bd5\u7528\u60a8\u7684\u5546\u54c1","genesis":{"title":"Genesis Plaza","subtitle":"\u63a2\u7d22\u3001\u8df3\u8dc3\u548c\u4e92\u52a8\u3002"},"empty_parcel":{"title":"\u7a7a\u5730\u5757","subtitle":"\u53ea\u662f\u8dd1\u548c\u8df3\u3002 \u5b83\u52a0\u8f7d\u901f\u5ea6\u66f4\u5feb\u3002"},"jump_in":"\u8df3\u8fdb\u53bb"},"publish_third_party_collection_modal":{"title":"\u53d1\u5e03\u94fe\u63a5\u9879\u76ee","publish_description":"\u5373\u5c06\u4f7f\u7528 {availableSlots} \u4e2a\u53ef\u7528\u63d2\u69fd\u4e2d\u7684 {slotsToUse\uff0c\u590d\u6570\uff0c\u4e00\u4e2a {# slot} \u5176\u4ed6 {# slot}} \u6765\u53d1\u5e03 \\"{collectionName}\\"\u3002","push_changes_description":"\u5373\u5c06\u5bf9 \\"{collectionName}\\" \u63a8\u9001\u5bf9 {itemsWithChanges, \u590d\u6570\uff0c\u4e00\u4e2a {# item} \u5176\u4ed6 {# items}} \u7684\u66f4\u6539\u3002","publish_and_push_changes_description":"\u5373\u5c06\u4f7f\u7528 {slotsToUse\uff0c\u590d\u6570\uff0c\u4e00\u4e2a {# slot} \u5176\u4ed6 {# slot}} \u6765\u81ea {availableSlots} \u53ef\u7528\u63d2\u69fd\u6765\u53d1\u5e03 \\"{collectionName}\\"\uff0c\u5e76\u4e14\u66f4\u6539\u5c06\u88ab\u63a8\u9001\u5230 {itemsWithChanges\uff0c\u590d\u6570\uff0c\u4e00\u4e2a {# item}\u5176\u4ed6\u9879\u76ee}}\u3002"},"mint_items_modal":{"title":"\u8584\u8377\u9879\u76ee","add_item":"\u65b0\u589e\u9879\u76ee","limit_reached":"\u6bcf\u7b14\u4ea4\u6613\u53ea\u80fd\u94f8\u9020 {max} \u4ef6\u7269\u54c1","no_items":"\u60a8\u6ca1\u6709\u53ef\u7528\u4e8e\\"{name}\\"\u7684\u9879\u76ee","unsynced_warning":"\u6709\u4e9b\u9879\u76ee\u6709\u5c1a\u672a\u6279\u51c6\u7684\u66f4\u6539\u3002","next":"\u4e0b\u4e00\u500b","total_items":"\u8981\u9444\u9020\u7684\u7e3d\u7269\u54c1","confirm_title":"\u60a8\u5373\u5c07\u9444\u9020 {count} \u4ef6\u7269\u54c1\uff0c\u6bcf\u4ef6\u7269\u54c1\u5c07\u6309\u7167\u63d0\u4f9b\u7684\u91d1\u984d\u9444\u9020\u5230\u7d66\u5b9a\u5730\u5740\u3002","beneficiary":"\u53d7\u76ca\u4eba"},"reset_item_modal":{"title":"\u64a4\u6d88","content":"\u8be5\u9879\u76ee\u76ee\u524d\u4e0e\u59d4\u5458\u4f1a\u4ee5\u524d\u6279\u51c6\u7684\u9879\u76ee\u4e0d\u540c\u3002{br}\u60a8\u73b0\u5728\u770b\u5230\u7684\u7248\u672c\u4e0e\u5e02\u573a\u4e0a\u548c\u6e38\u620f\u4e2d\u53ef\u89c1\u7684\u7248\u672c\u4e0d\u5bf9\u5e94\u3002{br}\u60a8\u53ef\u4ee5\u4e0a\u4f20\u66f4\u6539\u4f9b\u59d4\u5458\u4f1a\u5ba1\u67e5\u6b64\u65b0\u7248\u672c\uff0c\u4e5f\u53ef\u4ee5\u5355\u51fb\u786e\u8ba4\u6309\u94ae\u5c06\u9879\u76ee\u91cd\u7f6e\u4e3a\u539f\u59cb\u72b6\u6001\u3002"},"collection_image":{"no_items":"\u6ca1\u6709\u9879\u76ee"},"collection_card":{"item_count":"{count} {count, plural, one {\u7269\u54c1} other {\u9879\u76ee}}","subtitle":"{count} {count, plural, one {\u9879\u76ee} other {\u9879\u76ee}}","confirm_delete_content":"\u60a8\u786e\u5b9a\u8981\u5220\u9664\u60a8\u7684\u6536\u85cf\u96c6 \\"{name}\\" \u5417\uff1f \u6b64\u64cd\u4f5c\u4e0d\u53ef\u9006\uff01","confirm_delete_header":"\u5220\u9664\u6536\u85cf"},"item_editor":{"open":"\u6253\u5f00\u7f16\u8f91\u5668","top_panel":{"reviewed_counter":"\u70b9\u8bc4\u53ef\u7a7f\u6234\u8bbe\u5907\uff1a{count}/{threshold}","items_pending_to_review":"\u6709\u5f85\u5ba1\u6838\u7684\u9879\u76ee","not_enough_items_to_curate_more":"\u8be5\u7cfb\u5217\u6ca1\u6709\u66f4\u591a\u8981\u6574\u7406\u7684\u9879\u76ee","approve":"\u6279\u51c6","reject":"\u62d2\u7edd","enable":"\u4f7f","disable":"\u7981\u7528","rejection_modal":{"veredict_explanation":"\u4f60\u80fd\u544a\u8bc9\u6211\u4eec\u4e3a\u4ec0\u4e48\u5417\uff1f","visit_activity":"\u60a8\u53ef\u4ee5\u68c0\u67e5\u60a8\u7684 {activity_link} \u4ee5\u76d1\u63a7\u4ea4\u6613","go_to_forum":"\u8bf7\u8f6c\u5230\u76f8\u5173\u8bba\u575b\u8ba8\u8bba\uff0c\u5e76\u8ba9\u521b\u5efa\u8005\u77e5\u9053\u60a8\u7684\u51b3\u5b9a\u3002","forum_link":"\u8bba\u575b\u94fe\u63a5","discussion":"\u8ba8\u8bba","keep_reviewing":"\u7ee7\u7eed\u5ba1\u6838","back_to_curation":"\u56de\u5230\u7b56\u5c55","waiting_for_upload":"\u6536\u85cf\u4e2d\u7684\u67d0\u4e9b\u9879\u76ee\u4ecd\u5728\u4e0a\u4f20\u5230 Catalyst\u3002 \u8bf7\u5c3d\u5feb\u56de\u6765\u67e5\u770b\u4ee5\u7ee7\u7eed\u7b56\u5c55\u3002","reject_curation":{"title":"\u62d2\u7edd\u66f4\u6539","subtitle":"\u6211\u60f3\u8fd9\u4e9b\u53d8\u5316\u8fd8\u4e0d\u591f\u597d\uff0c \u55ef\uff1f","action":"\u62d2\u7edd\u66f4\u6539"},"disable_collection":{"title":"\u7981\u7528\u96c6\u5408","subtitle":"\u6b64\u96c6\u5408\u5c06\u4e0d\u518d\u53ef\u7528\u3002\u5c06\u6765\u53ef\u4ee5\u518d\u6b21\u542f\u7528\u5b83\u3002","tx_pending":"\u7b49\u5f85\u5df2\u7981\u7528\u7684\u4ea4\u6613\u5f97\u5230\u786e\u8ba4\u3002","action":"\u7981\u7528"}}},"left_panel":{"title":"\u6211\u7684\u7269\u54c1","title_alternative":"\u6211\u7684\u6536\u85cf","actions":{"new_item":"\u65b0\u7269\u54c1","new_collection":"\u65b0\u7cfb\u5217","add_existing_item":"\u6dfb\u52a0\u73b0\u6709\u9879\u76ee","edit_name":"\u7f16\u8f91\u540d\u79f0"},"reviewed_tab":{"page_counter":"{pageStart}-{pageEnd} \u4e2a\uff0c\u5171 {total} \u4e2a\u9879\u76ee"},"get_more_samples_modal":{"title":"\u83b7\u53d6\u66f4\u591a\u6837\u54c1","content":"\u8fd9\u5c06\u66ff\u6362\u5f53\u524d\u6837\u672c\u5e76\u83b7\u5f97 {count} \u4e2a\u968f\u673a\u9009\u53d6\u7684\u6837\u672c\u3002\u60a8\u59cb\u7ec8\u53ef\u4ee5\u5728 {tabName} \u9009\u9879\u5361\u4e2d\u67e5\u770b\u4ee5\u524d\u7684\u793a\u4f8b\u3002","understood":"\u660e\u767d\u4e86","dont_show_again":"\u4e0d\u518d\u663e\u793a\u6b64\u6d88\u606f\u3002"},"to_review":"\u56de\u987e","reviewed":"\u5df2\u5ba1\u6838","all_items":"\u6240\u6709\u9879\u76ee","wearable":"\u53ef\u7a7f\u6234","emote":"\u8868\u60c5","get_random_sample":"\u83b7\u53d6\u968f\u673a\u6837\u672c","reviewed_samples_bold":"\u5ba1\u67e5\u6837\u672c\uff1a {count}","reviewed_samples":"{reviewed_samples_bold}/{total}","items":"\u7269\u54c1","collections":"\u9986\u85cf","items_count":"{count}\u4e2a\u9879\u76ee","invalid_representation_tooltip":"\u6b64\u9879\u6ca1\u6709{bodyShape}\u8868\u793a\u5f62\u5f0f","no_items_to_review":"\u6ca1\u6709\u5f85\u5ba1\u6838\u7684\u9879\u76ee","empty_collection":"\u7a7a\u96c6\u5408\uff0c\u5148\u6dfb\u52a0\u4e00\u4e9b\u9879\u76ee\uff01"},"center_panel":{"disabled_animation_dropdown":"\u9700\u8981\u81f3\u5c11\u53ef\u89c1\u4e00\u4e2a\u9879\u76ee\u624d\u80fd\u9009\u62e9\u5934\u50cf\u52a8\u753b","play_emote":"\u73a9\u8868\u60c5","stop":"\u505c\u6b62","from_collection":"\u4ece\u6536\u85cf","from_items":"\u4ece\u9879\u76ee","default":"\u9ed8\u8ba4"},"right_panel":{"properties":"\u7269\u4ea7","details":"\u7ec6\u8282","basics":"\u57fa\u672c","overrides":"\u8986\u5199","overrides_info":"\u8986\u76d6\u786e\u5b9a\u60a8\u7684\u7269\u54c1\u5c06\u9690\u85cf\u7684\u5176\u4ed6\u54ea\u4e9b\u53ef\u7a7f\u6234\u7c7b\u522b\u548c\u57fa\u672c\u96f6\u4ef6\u3002\u53ea\u9700\u5728\u4e0b\u62c9\u83dc\u5355\u4e0a\u9009\u62e9\u5b83\u4eec\u5373\u53ef\u3002","replaces":"\u53d6\u4ee3","replaces_info":"\u5f53\u7528\u6237\u88c5\u5907\u60a8\u7684\u7269\u54c1\u65f6\uff0c\u60a8\u9009\u62e9\u7684\u7c7b\u522b\u4e2d\u7684\u5176\u4ed6\u4efb\u4f55\u7269\u54c1\u90fd\u5c06\u88ab\u53d6\u6d88\u88c5\u5907\u3002 \u7528\u6237\u5220\u9664\u7269\u54c1\u540e\u5fc5\u987b\u91cd\u65b0\u88c5\u5907\u5b83\u4eec\u3002","hides":"\u76ae","hides_info":"\u5f53\u7528\u6237\u88c5\u5907\u60a8\u7684\u7269\u54c1\u65f6\uff0c\u60a8\u9009\u62e9\u7684\u7c7b\u522b\u4e2d\u7684\u6240\u6709\u5176\u4ed6\u7269\u54c1\u5c06\u4fdd\u6301\u88c5\u5907\u72b6\u6001\uff0c\u4f46\u4e0d\u4f1a\u88ab\u6e32\u67d3\u3002 \u7528\u6237\u4ec5\u4f1a\u5728\u5220\u9664\u60a8\u7684\u5546\u54c1\u540e\u770b\u5230\u4ed6\u4eec\u7684\u5176\u4ed6\u5546\u54c1\u3002 ","base_body":"\u57fa\u4f53","base_body_info":"\u60a8\u4ece\u57fa\u672c\u8f66\u8eab\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u7684\u5143\u7d20\u5c06\u88ab\u9690\u85cf\u3002","wearables":"\u53ef\u7a7f\u6234\u8bbe\u5907","wearables_info":"\u60a8\u4ece\u53ef\u7a7f\u6234\u8bbe\u5907\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u7684\u5143\u7d20\u5c06\u88ab\u9690\u85cf\u3002","animation":"\u52a8\u753b","tags":"\u6807\u7b7e","event_tag":"\u5982\u679c\u60a8\u60f3\u5c06\u6b64\u9879\u76ee\u5305\u542b\u5728 {event_tag} \u4e2d\uff0c\u8bf7\u4f7f\u7528 {event_name} \u6807\u7b7e\u3002{learn_more}","select_placeholder":"\u9009\u62e9\u4e00\u4e2a\u9009\u9879","request_for_changes":"\u8981\u6c42\u53d8\u66f4","request_for_changes_explanation":"\u5982\u679c\u60a8\u60f3\u66f4\u6539{name}\uff0c\u8bf7\u5728\u8bba\u575b\u4e2d\u8bf7\u6c42\u59d4\u5458\u4f1a\u6210\u5458\u7684\u6388\u6743","required_permissions":"\u6743\u9650"}},"video_showcase_modal":{"title":"\u60a8\u667a\u80fd\u53ef\u7a7f\u6234\u7684\u8be6\u7ec6\u89c6\u9891","back":"\u540e\u9000","edit":"\u7f16\u8f91\u89c6\u9891"},"emote":{"category":{"simple":"\u7b80\u5355\u7684","loop":"\u73af\u5f62","dance":"\u821e\u8e48","stunt":"\u7279\u6280","greetings":"\u95ee\u5019","fun":"\u4e50\u8da3","poses":"\u59ff\u52bf","reactions":"\u53cd\u5e94","horror":"\u6050\u6016","miscellaneous":"\u5404\u79cd\u5404\u6837\u7684"},"play_mode":{"simple":{"text":"\u73a9\u4e00\u6b21","description":"\u89e6\u53d1\u540e\uff0c\u8868\u60c5\u5c06\u64ad\u653e\u4e00\u6b21\u5e76\u8fd4\u56de\u9ed8\u8ba4\u59ff\u52bf\u3002"},"loop":{"text":"\u73af\u5f62","description":"\u89e6\u53d1\u540e\uff0c\u8868\u60c5\u5c06\u5faa\u73af\u64ad\u653e\uff0c\u76f4\u5230\u73a9\u5bb6\u79fb\u52a8\u3002"}}},"wearable":{"supply":"{formatted}\u4ef6\u5546\u54c1","rarity":{"unique":"\u72ec\u7279","mythic":"\u795e\u8bdd","legendary":"\u4f20\u5947","epic":"\u53f2\u8bd7","rare":"\u7a00\u6709","uncommon":"\u7f55\u89c1","common":"\u5e38\u89c1"},"color":{"skin":"\u80a4\u8272","eye":"\u773c\u775b\u7684\u989c\u8272","hair":"\u53d1\u8272"},"category":{"body_shape":"\u8eab\u6750","earring":"\u8033\u73af","eyebrows":"\u7709\u6bdb","eyes":"\u773c\u775b","eyewear":"\u773c\u955c","facial_hair":"\u80e1\u5b50","feet":"\u817f\u90e8","hair":"\u5934\u53d1","hat":"\u5e3d\u5b50","head":"\u5934","helmet":"\u5934\u76d4","lower_body":"\u4e0b\u534a\u8eab","mask":"\u9762\u5177","mouth":"\u5634\u5df4","tiara":"\u5934\u9970","top_head":"\u5934\u9876","upper_body":"\u4e0a\u534a\u8eab","skin":"\u76ae\u80a4","hands":"\u624b","hands_wear":"\u624b\u5de5"}},"rarity_tooltip":{"unique":"\u50cf\u5723\u676f\u4e00\u6837\uff1a\u72ec\u4e00\u65e0\u4e8c","mythic":"\u7ed9\u5e78\u8fd0\u7684\u4eba\uff1a\u6700\u591a10\u4e2a","legendary":"\u9650\u91cf\u4f9b\u5e94\uff1a\u6700\u591a100\u4e2a","epic":"\u6700\u5927\u4f9b\u5e94\u91cf\uff1a1000\u4e2a","rare":"\u6700\u5927\u4f9b\u5e94\u91cf\uff1a5000\u4e2a","uncommon":"\u6700\u5927\u4f9b\u5e94\u91cf\uff1a10,000\u4e2a","common":"\u6700\u5927\u4f9b\u5e94\u91cf\uff1a100,000\u4e2a"},"time":{"hours":"{amount}\u5c0f\u65f6","minutes":"{amount}\u5206\u949f","seconds":"{amount}\u79d2"},"analytics":{"users":"\u6bcf\u5468\u7528\u6237","sessions":"\u6bcf\u5468\u4f1a\u8bae","median_session_time":"\u4f1a\u8bdd\u65f6\u95f4\u4e2d\u4f4d\u6570","max_concurrent_users":"\u9ad8\u5cf0\u7528\u6237","notice":"*\u8fd9\u4e9b\u6307\u6807\u662f\u6bcf\u4e2a\u661f\u671f\u4e00\u6bcf\u5468\u8ba1\u7b97\u4e00\u6b21"},"maintainance":{"notice":"\u6211\u4eec\u76ee\u524d\u6b63\u5728\u7ef4\u62a4\u4e2d\uff0c\u6211\u4eec\u4f1a\u5f88\u5feb\u56de\u6765\uff01"},"networks":{"ethereum":"Ethereum","matic":"Polygon"},"tokens":{"ethereum":"ETH","matic":"MATIC"},"toast":{"meta_transaction_failure":{"title":"\u5143\u4ea4\u6613","body":"\u53d1\u9001\u5143\u4ea4\u6613\u65f6\u51fa\u9519\u3002{br}\u8bf7\u91cd\u8bd5\u6216\u52a0\u5165\u6211\u4eec\u7684{discord_link}\u4ee5\u83b7\u53d6\u652f\u6301\u3002"},"deploy_item_failure":{"title":"\u9879\u76ee\u9519\u8bef","body":"\u65e0\u6cd5\u4ece \\"{collectionName}\\" \u4e0a\u4f20\u9879\u76ee \\"{itemName}\\"\u3002{br}\u5546\u54c1\u5c3a\u5bf8\u8fc7\u5927\uff0c\u5141\u8bb8\u7684\u6700\u5927\u5c3a\u5bf8\u4e3a {size}"},"third_party_action_failure":{"title":"\u9519\u8bef","body":"\u53d1\u751f\u9519\u8bef\u3002\u8bf7\u7a0d\u540e\u518d\u8bd5\u3002"},"collection_detail_page":{"move_item_to_another_collection":{"title":"\u9879\u76ee\u5df2\u79fb\u81f3\u53e6\u4e00\u4e2a\u96c6\u5408","body":"{item_name} \u5df2\u79fb\u81f3 {collection_name} \u96c6\u5408\u3002","cta":"\u67e5\u770b\u5408\u96c6"},"item_deleted":{"title":"\u9879\u76ee\u5df2\u5220\u9664","body":"{name} \u5df2\u88ab\u5220\u9664\u3002"}}},"sagas":{"collection":{"invalid_character":"\u65e0\u6548\u5b57\u7b26\uff01 \u540d\u79f0\u4e2d\u4e0d\u5141\u8bb8\u4f7f\u7528 \\":\\"","missing_salt":"\u96c6\u5408\u6ca1\u6709\u76d0","collection_locked":"\u6536\u85cf\u5df2\u9501\u5b9a"},"item":{"invalid_identity":"\u65e0\u6548\u8eab\u4efd","invalid_character":"\u65e0\u6548\u5b57\u7b26\uff01 \u540d\u79f0\u6216\u63cf\u8ff0\u4e2d\u4e0d\u5141\u8bb8\u4f7f\u7528 \\":\\"","cant_save_published":"\u4e0d\u5e94\u53d1\u5e03\u9879\u76ee\u4ee5\u4fdd\u5b58\u5b83","not_published":"\u5fc5\u987b\u53d1\u5e03\u9879\u76ee\u624d\u80fd\u4f7f\u7528\u4e8b\u52a1\u4fdd\u5b58","cant_save_without_collection":"\u6ca1\u6709\u6536\u85cf\u5c31\u65e0\u6cd5\u4fdd\u5b58\u5df2\u53d1\u5e03","not_found":"\u672a\u627e\u5230\u9879\u76ee","item_added_toast":{"title":"\u9879\u76ee\u5df2\u6dfb\u52a0\uff01","body":"\u9879\u76ee <b>{name}</b> \u5df2\u6dfb\u52a0\u5230\u60a8\u7684\u6536\u85cf\u4e2d\u3002 <br></br><collection-link>\u67e5\u770b\u6536\u85cf</collection-link>"}}},"status":{"under_review":"\u5ba1\u6838\u4e2d","loading":"\u52a0\u8f7d\u4e2d...","synced":"\u540c\u6b65","unsynced":"\u672a\u540c\u6b65"},"editor_preview":{"loading_unity":"\u6b63\u5728\u52a0\u8f7d\u7edf\u4e00...","loading_unity_error":"\u8bf7\u91cd\u65b0\u52a0\u8f7d\u60a8\u7684\u6d4f\u89c8\u5668\u3002 \u5982\u679c\u95ee\u9898\u6301\u7eed\u5b58\u5728\uff0c\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u66f4\u8f7b\u7684\u573a\u666f\u6216\u8054\u7cfb\u652f\u6301\u3002"},"approval_flow":{"loading":{"title":"\u52a0\u8f7d\u4e2d...","subtitle":"\u51c6\u5907\u6536\u96c6\u4ee5\u4f9b\u6279\u51c6"},"rescue":{"title":"\u6551\u63f4\u7269\u54c1","subtitle":"\u8bf7\u6279\u51c6\u9879\u76ee\u53ca\u5176\u54c8\u5e0c\u503c","confirm":"\u786e\u8ba4","items_exceed_limit":{"title":"\u96c6\u5408\u8d85\u8fc7\u6700\u5927\u9879\u76ee\u6570","content":"\u5c06\u8fdb\u884c\u591a\u7b14\u4ea4\u6613\u3002 \u8bf7\u6ce8\u610f\uff0c\u60a8\u5c06\u88ab\u8981\u6c42\u7b7e\u7f72\u5b83\u4eec\u3002"}},"consume_slots":{"title":"\u6279\u51c6\u9879\u76ee","subtitle":"\u8bf7\u6279\u51c6\u4ee5\u4e0b\u9879\u76ee","more_items":"\u8fd8\u6709 {count} \u4e2a\u5176\u4ed6 {count\uff0c\u590d\u6570\uff0c\u4e00\u4e2a {item} \u5176\u4ed6 {items}}","confirm":"\u786e\u8ba4"},"\u4e0a\u4f20":{"title":"\u4e0a\u4f20\u6587\u4ef6","subtitle":"\u8bf7\u4e0a\u4f20\u9879\u76ee\u5185\u5bb9","\u786e\u8ba4":"\u4e0a\u4f20"},"\u6279\u51c6":{"title":"\u542f\u7528\u6536\u85cf","subtitle":"\u8bf7\u542f\u7528\u8981\u94f8\u9020\u7684\u96c6\u5408","\u786e\u8ba4":"\u542f\u7528"},"\u9519\u8bef":{"title":"\u9519\u8bef","subtitle":"\u51fa\u4e86\u70b9\u95ee\u9898......"},"\u6210\u529f":{"title":"\u6536\u85cf\u5df2\u83b7\u6279\u51c6\uff01","subtitle":"\u611f\u8c22\u60a8\u67e5\u770b\u6b64\u5408\u96c6"}},"event_banner":{"small":{"title":"\u70ba \u5143\u754c \u81ea\u8c6a \'23 \u505a\u6e96\u5099","subtitle":"\u5c07\u6a19\u7c64 {event_tag} \u6dfb\u52a0\u5230\u60a8\u7684\u6536\u85cf\u54c1\u548c\u52d5\u756b\u4e2d\uff0c\u4ee5\u4fc3\u9032 \u5143\u754c \u4e2d\u7684\u81ea\u8c6a\u611f\u3001\u5305\u5bb9\u6027\u548c\u591a\u6a23\u6027\uff0c\u4ee5\u51fa\u73fe\u5728\u5927\u578b\u6d3b\u52d5\u7684\u7279\u6b8a\u9a55\u50b2\u5e02\u5834\u6a19\u7c64\u4e2d","dates":"\u6708 27 \u65e5\u81f3 29 \u65e5","information":"\u6176\u795d \u5143\u754c \u7684\u591a\u6a23\u6027\u548c\u5305\u5bb9\u6027"},"event_tag":"PRIDE23"},"campaign":{"name":"\u505a\u6e96\u5099 \'23","tag":"PRIDE23"},"logged_in_detail_page":{"error_title":"\u52a0\u8f7d\u8be6\u7ec6\u4fe1\u606f\u9875\u9762\u65f6\u51fa\u9519"},"hands_category_ftu":{"title":"\u4ecb\u7ecd\u624b\u5de5","subtitle":"\u4e00\u4e2a\u65b0\u7684\u53ef\u7a7f\u6234\u7c7b\u522b\uff0c\u7528\u4e8e\u60a8\u6240\u6709\u7684\u624b\u5de5\u589e\u5f3a\u4f5c\u54c1","img_alt":"\u65b0\u624b\u5957\u7c7b\u522b","description":"\u5bf9\u7f16\u8f91\u5668\u8fdb\u884c\u4e86\u76f8\u5e94\u4fee\u6539\u540e\uff0c\u5c06\u624b\u52a8\u53ef\u7a7f\u6234\u8bbe\u5907\u66f4\u65b0\u4e3a\u7f16\u8f91\u5668\u4e2d\u7684\u65b0\u7c7b\u522b\u3002\u8bf7\u6ce8\u610f\uff0c\u624b\u5957\u7c7b\u522b\u7528\u4e8e\u624b\u52a8\u914d\u4ef6\u6216\u53ef\u7a7f\u6234\u8bbe\u5907\uff0c\u8fd9\u4e9b\u624b\u5de5\u88c5\u9970\u54c1\u6216\u53ef\u7a7f\u6234\u8bbe\u5907\u5c06\u624b\u7528\u5176\u4ed6\u529f\u80fd\u76f8\u4f3c\u7684\u624b\u52a8\u4ee3\u66ff\uff0c\u800c\u4e0d\u662f\u7528\u4e8e\u6301\u6709\u7684\u7269\u54c1\u3002","action":"\u4e86\u89e3\u66f4\u591a"},"migrate_to_sdk7_modal":{"use_legacy_builder":"\u7ee7\u7eed\u4f7f\u7528Legacy Scene Builder\uff08SDK 6\uff09","save_a_copy":"\u4fdd\u5b58SDK 6\u4e2d\u539f\u59cb\u573a\u666f\u7684\u526f\u672c.","saving_copy":"\u5728SDK 6\u4e2d\u4fdd\u5b58\u526f\u672c6","migrating_scene":"\u8fc1\u79fb\u5230SDK 7","image_alt":"\u8fc1\u79fb\u5230SDK 7","info":{"title":"\u5c06\u60a8\u7684\u573a\u666f\u5347\u7ea7\u5230SDK 7\u4e0e\u65b0\u7684\u5206\u6563\u7f51\u7edc\u7f16\u8f91\u5668","subtitle":"<b>\u76ee\u524d\uff0c\u6b64\u573a\u666f\u662f\u4f7f\u7528SDK 6\u6784\u5efa\u7684\uff0c\u8be5\u573a\u666f\u5c06\u5728\u51e0\u4e2a\u6708\u5185\u505c\u6b62\u63a5\u6536\u652f\u6301\uff0c\u4f46\u662f\u5b83\u53ef\u4ee5\u81ea\u52a8\u8fc1\u79fb\u5230SDK7\u3002</b>\u5305\u62ec\u4e0a\u4e00\u4e2a\u573a\u666f\u6784\u5efa\u5668\u7684\u6240\u6709\u529f\u80fd\uff0c\u800c\u667a\u80fd\u9879\u76ee\u5c06\u5728\u5373\u5c06\u8fdb\u884c\u7684\u66f4\u65b0\u4e2d\u6dfb\u52a0\u3002","action":"\u4f7f\u7528\u5206\u6563\u7f51\u7edc\u7f16\u8f91\u5668\uff08SDK 7)"},"info_smart_items":{"title":"\u5c06\u60a8\u7684\u573a\u666f\u5347\u7ea7\u5230SDK 7\u4e0e\u65b0\u7684\u5206\u6563\u7f51\u7edc\u7f16\u8f91\u5668","subtitle":"<b>\u6b64\u573a\u666f\u76ee\u524d\u662f\u4f7f\u7528SDK 6\u6784\u5efa\u7684\uff0c\u8be5\u573a\u666f\u5c06\u5728\u51e0\u4e2a\u6708\u5185\u505c\u6b62\u83b7\u5f97\u652f\u6301\uff0c\u5e76\u5305\u542b\u667a\u80fd\u9879\u76ee</b>\u3002\u5982\u679c\u60a8\u9009\u62e9\u4f7f\u7528\u6211\u4eec\u6539\u8fdb\u7684\u89c6\u89c9\u7f16\u8f91\u5668\u5347\u7ea7\u5230SDK 7\uff0c\u5219\u8fd9\u4e9b\u667a\u80fd\u9879\u76ee\u5c06\u88ab\u5220\u9664\uff0c\u56e0\u4e3a\u5b83\u4eec\u5c1a\u672a\u5f97\u5230\u652f\u6301\u3002","action":"\u4f7f\u7528\u5206\u6563\u7f51\u7edc\u7f16\u8f91\u5668\uff08SDK 7)"},"migrate":{"title":"\u81ea\u52a8\u8fc1\u79fb\u5230SDK 7","subtitle":"\u8be5\u573a\u666f\u76ee\u524d\u662f\u4f7f\u7528SDK 6\u6784\u5efa\u7684\uff0c\u4f46\u53ef\u4ee5\u81ea\u52a8\u8fc1\u79fb\u5230SDK 7 </b>\u3002\u8fd9\u5c06\u901a\u8fc7\u6211\u4eec\u7684\u65b0\u7684\u548c\u6539\u8fdb\u7684Web\u7f16\u8f91\u5668\u6765\u589e\u5f3a\u60a8\u7684\u573a\u666f\u5efa\u8bbe\u4f53\u9a8c\u3002<br> </br> <br> </br> <b>\u51c6\u5907\u5347\u7ea7\uff1f</b>","action":"\u8fc1\u79fbw"},"migrate_smart_items":{"title":"\u573a\u666f\u7684\u8fc1\u79fb\u9009\u9879","subtitle":"\u60a8\u7684\u573a\u666f\u5305\u542b<b> {smartItemScount}\u667a\u80fd\u9879\u76ee</b>\u5f53\u524d\u4ec5\u5728SDK 6\u4e2d\u652f\u6301\u3002<br> </br>\u60a8\u53ef\u4ee5\u9009\u62e9\u901a\u8fc7\u5220\u9664\u8fd9\u4e9b\u9879\u76ee\u6765\u9009\u62e9\u8fc1\u79fb\u5230SDK 7\uff0c\u6216\u7ee7\u7eed\u4f7f\u7528\u4f20\u7edf\u573a\u666f\u6784\u5efa\u5668\u76f4\u5230\u53ef\u7528\u4e8eSDK 7\u7684\u667a\u80fd\u7269\u54c1\uff08\u5373\u5c06\u63a8\u51fa\uff09\u3002","action":"\u8fc1\u79fb\u5e76\u5220\u9664\u667a\u80fd\u9879\u76ee"}},"inspector":{"top_bar":{"back":"\u56de\u5230\u4f60\u7684\u73b0\u573a","download":"\u4e0b\u8f7d","publish":"\u53d1\u5e03","preview":"\u9884\u89c8"}}}')},3410:function(e){e.exports=JSON.parse('{"name":"@dcl/builder-site","version":"0.1.0","private":true,"dependencies":{"@babylonjs/core":"^4.2.0","@babylonjs/loaders":"^4.2.0","@dcl/builder-client":"^3.3.0","@dcl/content-hash-tree":"^1.1.3","@dcl/crypto":"^3.0.1","@dcl/hashing":"^3.0.4","@dcl/mini-rpc":"^1.0.7","@dcl/schemas":"^9.4.1","@dcl/sdk":"7.3.16-6253385478.commit-dea8a53","@dcl/single-sign-on-client":"^0.1.0","@dcl/ui-env":"^1.2.0","@sentry/react":"^7.64.0","@testing-library/jest-dom":"^5.16.4","@testing-library/user-event":"^13.5.0","@typechain/ethers-v5":"^10.1.0","@types/jszip":"^3.1.6","@well-known-components/fetch-component":"^2.0.1","ajv":"^8.12.0","apollo-boost":"^0.4.8","apollo-cache-inmemory":"^1.6.6","apollo-client":"^2.6.9","apollo-link-http":"^1.5.17","blob-to-buffer":"^1.2.9","cids":"^0.7.2","classnames":"^2.3.2","connected-react-router":"^6.9.2","date-fns":"^2.28.0","dcl-catalyst-client":"^21.5.5","dcl-scene-writer":"^1.1.2","decentraland":"^3.3.0","decentraland-builder-scripts":"^0.24.0","decentraland-dapps":"^16.10.0","decentraland-ecs":"^6.6.1-20201020183014.commit-bdc29ef-hotfix","decentraland-experiments":"^1.0.2","decentraland-transactions":"^1.47.0","decentraland-ui":"^4.19.0","ethers":"^5.6.8","file-saver":"^2.0.1","graphql":"^15.8.0","interface-datastore":"^0.7.0","ipfs-unixfs-engine":"^0.35.4","ismobilejs":"^1.1.1","jszip":"^3.2.1","lottie-react":"^2.3.1","mousetrap":"^1.6.2","p-queue":"^6.6.2","pull-stream":"^3.6.12","raw-loader":"^4.0.2","rc-slider":"^8.7.1","react":"^17.0.2","react-dnd":"^7.0.2","react-dnd-html5-backend":"^7.0.2","react-dom":"^17.0.2","react-dropzone":"^10.1.3","react-redux":"^7.2.4","react-router":"^5.3.4","react-router-dom":"^5.3.4","react-scripts":"^4.0.3","redux-logger":"^3.0.6","redux-saga":"^1.1.3","redux-saga-test-plan":"^4.0.3","redux-undo":"^1.0.1","reselect":"^4.0.0","slug":"^5.3.0","three":"^0.107.0","typechain":"^8.1.0","typesafe-actions":"^4.4.2","uuid":"^3.3.2","web-encoding":"^1.1.3","web-vitals":"^2.1.4"},"devDependencies":{"@testing-library/react":"^12.1.5","@types/blob-to-buffer":"^1.2.0","@types/file-saver":"^2.0.0","@types/interface-datastore":"^1.0.0","@types/mousetrap":"^1.6.3","@types/pull-stream":"^3.6.2","@types/rc-slider":"^8.6.5","@types/react":"^16.7.18","@types/react-copy-to-clipboard":"^4.3.0","@types/react-dom":"^17.0.5","@types/react-router":"^5.1.18","@types/react-router-dom":"^5.3.3","@types/redux-logger":"^3.0.6","@types/reselect":"^2.2.0","@types/slug":"^5.0.2","@types/uuid":"^3.4.4","@typescript-eslint/eslint-plugin":"^5.36.2","@typescript-eslint/parser":"^5.36.2","concurrently":"^7.2.2","decentraland-rpc":"^3.1.8","eslint":"^7.28.0","eslint-config-prettier":"^8.5.0","husky":"^8.0.1","prettier":"^2.7.1","react-error-overlay":"6.0.9","typescript":"^4.6.4"},"scripts":{"postinstall":"node ./scripts/postinstall.js","test":"react-scripts test","test:coverage":"npm run test -- --coverage","eject":"react-scripts eject","prebuild":"node scripts/prebuild.js","build":"npm run postinstall && npm run prebuild && npm run build:scene && react-scripts build","build:ci":"npm run lint && npm run build","start":"npm run build:scene && concurrently -n \\"scene,builder\\" \\"decentraland-compiler buildScene.json --watch\\" \\"npm run start:website\\"","start:website":"react-scripts start","build:scene":"decentraland-compiler buildScene.json","bundle:svg":"npx svg-sprite -D src/components/Icon --css-dimensions \\"\\" --cs icons.svg --css --css-dest . --css-bust false --css-prefix \\".Icon.%s\\" --css-render-css src/icons/*.svg","build:contracts":"typechain --target ethers-v5 --out-dir src/contracts src/contracts/*.json","lint":"eslint -c .eslintrc.json --ext .ts src","check:code":"eslint -c .eslintrc.json src","check:prettier":"prettier --config .prettierrc.json -c \'src/**/*.{js,ts,json,yml,md,tsx,html,css}\'","fix:code":"npm run check:code -- --fix","fix:prettier":"npm run check:prettier -- --write","pre-commit:fix:code":"eslint -c .eslintrc.json --fix","pre-commit:fix:prettier":"prettier --config .prettierrc.json --write","prepare":"husky install"},"jest":{"moduleNameMapper":{"^.+\\\\.module\\\\.(css|sass|scss)$":"identity-obj-proxy","^!?raw-loader!.*$":"identity-obj-proxy","^three/.*$":"identity-obj-proxy","^@babylonjs.*$":"identity-obj-proxy","^.*/modules/curations/collectionCuration/toasts.*$":"identity-obj-proxy","@dcl/ecs":"identity-obj-proxy","@dcl/single-sign-on-client":"identity-obj-proxy"}},"engines":{"node":"16.13.0"},"browserslist":["chrome >= 67","edge >= 79","firefox >= 68","opera >= 54","safari >= 14"],"homepage":""}')},3411:function(e,t,n){},3412:function(e,t,n){},3413:function(e,t,n){},3414:function(e,t,n){},3415:function(e,t,n){},3416:function(e,t,n){},3417:function(e,t,n){},3418:function(e,t,n){},3419:function(e,t,n){},342:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var o=n(80),a=n(496);const i=o.a.get("PEER_URL",""),r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`${i}/content/contents/${e}`};class s extends a.BaseAPI{constructor(){super(...arguments),this.fetchScene=async(e,t)=>{const n=await fetch(`${this.url}/content/entities/scene?pointer=${e},${t}`);return await n.json()}}}new s(i)},3420:function(e,t,n){},3421:function(e,t,n){},3422:function(e,t,n){},3423:function(e,t,n){},3424:function(e,t,n){},3425:function(e,t,n){},3426:function(e,t,n){},3427:function(e,t,n){},3428:function(e,t,n){},3429:function(e,t,n){},3430:function(e,t,n){},3431:function(e,t,n){},3432:function(e,t,n){},3433:function(e,t,n){},3434:function(e,t,n){},3435:function(e,t,n){},3436:function(e,t,n){},3437:function(e,t,n){},3438:function(e,t,n){},3439:function(e,t,n){},3440:function(e,t,n){},3441:function(e,t,n){},3442:function(e,t,n){},3443:function(e,t,n){},3444:function(e,t,n){},3445:function(e,t,n){},3446:function(e,t,n){},3447:function(e,t,n){},3448:function(e,t,n){},3449:function(e,t,n){},3450:function(e,t,n){},3451:function(e,t,n){},3452:function(e,t,n){},3453:function(e,t,n){},3454:function(e,t,n){},3455:function(e,t,n){},3456:function(e,t,n){},3457:function(e,t,n){},3458:function(e,t,n){},3459:function(e,t,n){},3460:function(e,t,n){},3461:function(e,t,n){},3462:function(e,t,n){},3463:function(e,t,n){},3464:function(e,t,n){},3465:function(e,t,n){},3466:function(e,t,n){},3467:function(e,t,n){},3468:function(e,t,n){},3469:function(e,t,n){},3470:function(e,t,n){},3471:function(e,t,n){},3472:function(e,t,n){},3473:function(e,t,n){},3474:function(e,t,n){},3478:function(e,t,n){},3479:function(e,t,n){},348:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return l}));var o=n(11);const a="Dismiss sync toast",i=()=>Object(o.action)(a),r="Dismiss sign in toast",s=()=>Object(o.action)(r),c="Set sync",l=e=>Object(o.action)(c,{didSync:e})},3480:function(e,t,n){},3481:function(e,t,n){},3482:function(e,t,n){},3483:function(e,t,n){},3484:function(e,t,n){},3486:function(e,t,n){},3487:function(e,t,n){},3488:function(e,t,n){},3489:function(e,t,n){},3490:function(e,t,n){},3491:function(e,t,n){},3492:function(e,t,n){},3493:function(e,t,n){},3494:function(e,t,n){},3495:function(e,t,n){},3496:function(e,t,n){},3497:function(e,t,n){},3498:function(e,t,n){},3499:function(e,t,n){},3500:function(e,t,n){},3501:function(e,t,n){},3502:function(e,t,n){},3503:function(e,t,n){},3504:function(e,t,n){},3505:function(e,t,n){},3506:function(e,t,n){},3507:function(e,t,n){},352:function(e,t,n){e.exports={container:"SceneCard_container__345-R",media:"SceneCard_media__3slQ1",thumbnail:"SceneCard_thumbnail__35_ke",hidden:"SceneCard_hidden__25PUG",cardInfo:"SceneCard_cardInfo__1ABzo",info:"SceneCard_info__1BHZV",description:"SceneCard_description__1JuOy",descriptionInfo:"SceneCard_descriptionInfo__1d2Sb",title:"SceneCard_title__1GZFM",subtitle:"SceneCard_subtitle__3jx1b",badge:"SceneCard_badge__qQBiI"}},3561:function(e,t,n){},3562:function(e,t,n){},3563:function(e,t,n){},3564:function(e,t,n){},3565:function(e,t,n){},3566:function(e,t,n){},3567:function(e,t,n){},3568:function(e,t,n){},3569:function(e,t,n){},3570:function(e,t,n){},3571:function(e,t,n){},3572:function(e,t,n){},3573:function(e,t,n){},3574:function(e,t,n){},3575:function(e,t,n){},3576:function(e,t,n){},3577:function(e,t,n){},3578:function(e,t,n){},3579:function(e,t,n){},3580:function(e,t,n){},3581:function(e,t,n){},3582:function(e,t,n){},3583:function(e,t,n){},3584:function(e,t,n){},3586:function(e,t,n){},3587:function(e,t,n){},3588:function(e,t,n){},3592:function(e,t,n){},3593:function(e,t,n){},3594:function(e,t,n){},3595:function(e,t,n){},3596:function(e,t,n){},3597:function(e,t,n){},3598:function(e,t,n){},3599:function(e,t,n){},3600:function(e,t,n){"use strict";n.r(t);var o={};n.r(o),n.d(o,"LoginModal",(function(){return nd.a})),n.d(o,"AddExistingItemModal",(function(){return cd})),n.d(o,"ApprovalFlowModal",(function(){return gd})),n.d(o,"ClaimNameFatFingerModal",(function(){return Cd})),n.d(o,"CollectionManagersModal",(function(){return Td})),n.d(o,"ContestModal",(function(){return Bd})),n.d(o,"CreateAssetPackModal",(function(){return su})),n.d(o,"CreateCollectionModal",(function(){return uu})),n.d(o,"CreateSingleItemModal",(function(){return Bu})),n.d(o,"CreateAndEditMultipleItemsModal",(function(){return Zu})),n.d(o,"CreateItemsModal",(function(){return np})),n.d(o,"CreateThirdPartyCollectionModal",(function(){return rp})),n.d(o,"CustomLayoutModal",(function(){return gp})),n.d(o,"CloneTemplateModal",(function(){return vp})),n.d(o,"DeleteItemModal",(function(){return xp})),n.d(o,"DeployModal",(function(){return sm})),n.d(o,"DissolveModal",(function(){return lm})),n.d(o,"EditAssetPackModal",(function(){return pm})),n.d(o,"EditCollectionNameModal",(function(){return bm})),n.d(o,"EditCollectionURNModal",(function(){return ym})),n.d(o,"EditItemURNModal",(function(){return _m})),n.d(o,"EditPriceAndBeneficiaryModal",(function(){return ju})),n.d(o,"EditProjectModal",(function(){return xm})),n.d(o,"EstateEditorModal",(function(){return Sm})),n.d(o,"ExportModal",(function(){return Tm})),n.d(o,"ImportModal",(function(){return Nm})),n.d(o,"LikeModal",(function(){return Im})),n.d(o,"ManageCollectionRoleModal",(function(){return Bm})),n.d(o,"MintItemsModal",(function(){return Qm})),n.d(o,"PublishWizardCollectionModal",(function(){return ob})),n.d(o,"PublishThirdPartyCollectionModal",(function(){return sb})),n.d(o,"PushCollectionChangesModal",(function(){return db})),n.d(o,"QuotaExceededModal",(function(){return pb})),n.d(o,"ResetItemModal",(function(){return hb})),n.d(o,"SellCollectionModal",(function(){return yb})),n.d(o,"ShareModal",(function(){return Ob})),n.d(o,"ShortcutsModal",(function(){return Tb})),n.d(o,"TutorialModal",(function(){return Lb})),n.d(o,"UnsetENSContentModal",(function(){return Db})),n.d(o,"UseAsAliasModal",(function(){return Ub})),n.d(o,"VideoModal",(function(){return zb})),n.d(o,"WalletLoginModal",(function(){return Nd})),n.d(o,"EditCurationAssigneeModal",(function(){return Yb})),n.d(o,"MoveItemToCollectionModal",(function(){return Xb})),n.d(o,"MoveItemToAnotherCollectionModal",(function(){return Kb})),n.d(o,"EditThumbnailModal",(function(){return Jb})),n.d(o,"SeeInWorldModal",(function(){return oh})),n.d(o,"SceneCreationModal",(function(){return sh})),n.d(o,"EditVideoModal",(function(){return dh})),n.d(o,"EmotesV2AnnouncementModal",(function(){return fh}));var a=n(159),i=n(30),r=n(106),s=n(549),c=n(1048),l=n.n(c),d=n(1848),u=n.n(d),p=n(1849),m=n.n(p),b=n(1850),h=n.n(b),f=n(1852),y=n.n(f),_=n(464),g=n(374),j=n(1817),O=n(458),v=n(1864),C=n(308),x=n(466),w=n(495),E=n(744),S=n(80),A=n(1869),T=n(1870),R=n(1871),k=n(77),N=n(492),P=n(195),I=n(42),L=n(65),M=n(86),D=n(49),F=n(149),U=n(43),B=n(852),z=n(46),H=n(129);const W={data:{},progress:{stage:H.b.NONE,value:0},loading:[],error:null},G=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case M.h:return{...e,error:null,loading:Object(z.loadingReducer)(e.loading,t)};case M.i:return{...e,data:{...e.data},progress:{stage:H.b.NONE,value:0},error:null,loading:Object(z.loadingReducer)(e.loading,t)};case M.g:return{...e,data:{...e.data},progress:{stage:H.b.NONE,value:0},error:t.payload.error,loading:Object(z.loadingReducer)(e.loading,t)};case M.e:return{...e,error:null,loading:Object(z.loadingReducer)(e.loading,t)};case M.f:{const{deployment:n,overrideDeploymentId:o}=t.payload,a={...e.data,[n.id]:n};return o&&delete a[o],{...e,data:a,progress:{stage:H.b.NONE,value:0},error:null,loading:Object(z.loadingReducer)(e.loading,t)}}case M.d:return{...e,data:{...e.data},error:t.payload.error};case M.k:case M.n:case M.q:return{...e,error:null,loading:Object(z.loadingReducer)(e.loading,t)};case M.l:{const{deployment:n}=t.payload;return{...e,data:{...e.data,[n.id]:{...n}},loading:Object(z.loadingReducer)(e.loading,t),progress:{stage:H.b.NONE,value:0}}}case M.j:case M.m:case M.p:return{...e,error:t.payload.error,loading:Object(z.loadingReducer)(e.loading,t)};case M.s:{const{stage:n,value:o}=t.payload;return{...e,progress:{...e.progress,stage:n,value:o}}}case M.b:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case M.c:{const{deploymentId:n}=t.payload,o={...e,data:{...e.data},progress:{stage:H.b.NONE,value:0},loading:Object(z.loadingReducer)(e.loading,t)};return delete o.data[n],o}case M.a:return{...e,data:{...e.data},progress:{stage:H.b.NONE,value:0},loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};case D.c:{const{project:n}=t.payload,o={...e,data:{...e.data},progress:{stage:H.b.NONE,value:0}};return delete o.data[n.id],o}case M.o:case M.r:return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,...t.payload.deployments.reduce(((e,t)=>(e[t.id]=t,e)),{})},error:null};default:return e}};var Y=n(203);const Q={2:e=>({...e,project:{...e.project,loading:[]}}),3:e=>{for(const t of Object.values(e&&e.scene&&e.scene.present&&e.scene.present.data||{}))Object(B.a)(t);return e},4:e=>{const t=!!e.project&&!!e.project.data;return{...e,project:t?{...e.project,data:Object.keys(e.project.data).reduce(((t,n)=>(t[n]=Object(Y.j)(e.project.data[n]),t)),{})}:e.project}},5:e=>{for(const t of Object.values(e&&e.scene&&e.scene.present&&e.scene.present.data||{}))Object(Y.c)(t);return e},6:e=>{for(const t in e.scene.present.data){const n=e.scene.present.data[t];Object(Y.b)(n)}return e},7:e=>{for(const t in e.scene.present.data){const n=e.scene.present.data[t];Object(Y.a)(n)}return e},8:e=>{for(const t in e.scene.present.data){const n=e.scene.present.data[t];Object(Y.e)(n)}return e},9:e=>{for(const t in e.scene.present.data){const n=e.scene.present.data[t];Object(Y.h)(n)}return e},10:e=>{for(const t in e.scene.present.data){const n=e.scene.present.data[t];Object(Y.i)(n)}return e},11:e=>{for(const t in e.scene.present.data){const n=e.scene.present.data[t];Object(Y.d)(n)}return e},12:e=>{for(const t in e.project.data){const n=e.project.data[t];Object(Y.f)(n)}return e},13:e=>{const t=!!(e&&e.ui&&e.ui.dashboard&&e.ui.dashboard.didSync);return t&&(e.ui.dashboard.needsMigration=t),e},14:e=>(!!(e.deployment&&e.deployment.data&&Object.keys(e.deployment.data).length>0)&&(e.deployment=W),e),15:e=>{for(const t in e.scene.present.data){const n=e.scene.present.data[t];e.scene.present.data[t]=Object(Y.k)(n)}return e}};var V=n(136),q=n(280),X=n(348),$=n(105),K=n(11);const Z="[Request] Fetch Tiles",J="[Success] Fetch Tiles",ee="[Failure] Fetch Tiles";var te=n(413),ne=n(139),oe=n(316);var ae=n(342);var ie=n(1877),re=n(1878),se=n(1879),ce=n(1320),le=n(1880),de=n(1881),ue=n(1882),pe=n(1883),me=n(1884);let be;!function(e){e[e.NONE=0]="NONE",e[e.CREATE_ASSET_PACK=1]="CREATE_ASSET_PACK",e[e.UPLOAD_CONTENTS=2]="UPLOAD_CONTENTS"}(be||(be={}));const he="[Request] Load Asset Packs",fe="[Success] Load Asset Packs",ye="[Failure] Load Asset Packs",_e=()=>Object(K.action)(he,{}),ge="[Request] Save AssetPack",je="[Success] Save AssetPack",Oe="[Failure] Save AssetPack",ve=(e,t)=>Object(K.action)(ge,{assetPack:e,contents:t}),Ce="Set AssetPack progress",xe=(e,t)=>Object(K.action)(Ce,{stage:e,value:t}),we="[Request] Delete AssetPack",Ee="[Success] Delete AssetPack",Se="[Failure] Delete AssetPack",Ae="Clear Asset Packs",Te={data:{},loading:[],progress:{stage:be.NONE,value:0},error:null},Re=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Te,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case he:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case fe:{const{assetPacks:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null,data:{...e.data,...n.reduce(((e,t)=>({...e,[t.id]:{...t,assets:t.assets.map((e=>e.id))}})),{})}}}case ye:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};case ge:case je:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case Oe:return{...e,error:t.payload.error,loading:Object(z.loadingReducer)(e.loading,t)};case Ee:{const{assetPack:n}=t.payload,o={...e,data:{...e.data}};return delete o.data[n.id],o}case Ce:{const{stage:n,value:o}=t.payload;return{...e,progress:{stage:n,value:o}}}case Ae:return Te;default:return e}},ke="[Request] Load Collectibles",Ne="[Success] Load Collectibles",Pe="Load assets",Ie={data:{},loading:[],error:null},Le=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ie,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ke:case he:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case fe:{const{assetPacks:n}=t.payload,o={};for(const e of n)for(const t of e.assets)o[t.id]={...t};return{loading:Object(z.loadingReducer)(e.loading,t),error:null,data:{...e.data,...o}}}case ye:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};case Ne:{const n={};for(const e of t.payload.assets)n[e.id]={...e};return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null,data:{...e.data,...n}}}case je:{const{assetPack:n}=t.payload,o={...e,data:{...e.data}};for(const t of Object.keys(e.data)){const e=o.data[t];e.assetPackId===n.id&&delete o.data[e.id]}return o}case Pe:return{...e,data:{...e.data,...t.payload.assets}};default:return e}};var Me=n(476),De=n.n(Me),Fe=n(298),Ue=n(279),Be=n(185),ze=n(84),He=n(44),We=n(115);const Ge={data:{},loading:[],error:null,pagination:null,lastFetchParams:void 0};function Ye(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ge,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case P.CLOSE_MODAL:case P.CLOSE_ALL_MODALS:case Fe.b:return{...e,error:null};case He.k:case He.y:case He.e:case He.s:case He.b:case He.v:case He.E:case He.F:case He.B:case He.C:case He.p:case He.q:case Be.c:case Be.f:case He.c:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case He.h:{const{params:n,useCachedResults:o}=t.payload;return{...e,...o&&De()(n,e.lastFetchParams)?{}:{loading:Object(z.loadingReducer)(e.loading,t)}}}case He.i:{const{collections:n,paginationStats:o,params:a}=t.payload,i=void 0!==o;return{...e,data:{...e.data,...Object(We.y)(n)},loading:Object(z.loadingReducer)(e.loading,t),...i?{pagination:{ids:n.map((e=>e.id)),total:o.total,limit:o.limit,currentPage:o.page,totalPages:o.pages}}:{},error:null,lastFetchParams:a}}case He.l:case He.z:{const{collection:n}=t.payload;return{...e,data:{...e.data,...Object(We.y)([n])},loading:Object(z.loadingReducer)(e.loading,t),error:null}}case He.f:{const{collection:n}=t.payload,o={...e,data:{...e.data},loading:Object(z.loadingReducer)(e.loading,t),error:null};return delete o.data[n.id],o}case He.t:{const{collection:n}=t.payload;return{...e,data:{...e.data,[n.id]:{...e.data[n.id],lock:n.lock}},loading:Object(z.loadingReducer)(e.loading,t)}}case ze.o:{const{collectionId:n}=t.payload,o=Date.now();return{...e,data:{...e.data,[n]:{...e.data[n],isPublished:!0,createdAt:o,updatedAt:o,reviewedAt:o}}}}case Be.d:{const{collection:n,forumLink:o}=t.payload;return{...e,data:{...e.data,[n.id]:{...e.data[n.id],forumLink:o}},loading:Object(z.loadingReducer)(e.loading,t)}}case Be.g:{const{collection:n,forumPostReply:o}=t.payload;return{...e,data:{...e.data,[n.id]:{...e.data[n.id],forumPostReply:o}},loading:Object(z.loadingReducer)(e.loading,t)}}case He.g:case He.j:case He.x:case He.d:case He.r:case He.a:case He.u:case He.D:case He.A:case He.o:case Be.b:case Be.e:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};case Ue.FETCH_TRANSACTION_SUCCESS:{const n=t.payload.transaction;switch(n.actionType){case He.t:{const{collection:o}=n.payload,a=Date.now();return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[o.id]:{...e.data[o.id],isPublished:!0,createdAt:a,updatedAt:a,reviewedAt:a}}}}case He.c:{const{collection:t}=n.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,{type:n.actionType}),data:{...e.data,[t.id]:{...e.data[t.id],reviewedAt:Date.now(),isApproved:!0}}}}case He.w:{const{collection:t}=n.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,{type:n.actionType}),data:{...e.data,[t.id]:{...e.data[t.id],reviewedAt:Date.now(),isApproved:!1}}}}case He.F:{const{collection:t,minters:o}=n.payload;return{...e,data:{...e.data,[t.id]:{...e.data[t.id],minters:[...o]}}}}case He.C:{const{collection:t,managers:o}=n.payload;return{...e,data:{...e.data,[t.id]:{...e.data[t.id],managers:[...o]}}}}default:return e}}default:return e}}var Qe=n(510);const Ve={data:{members:[]},loading:[],error:null};function qe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ve,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Qe.b:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case Qe.c:{const{members:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null,data:{...e.data,members:[...n]}}}case Qe.a:{const{error:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:n}}default:return e}}var Xe=n(187),$e=n(102);const Ke={data:{},loading:[],error:null};function Ze(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $e.e:case $e.h:case $e.k:case $e.b:case $e.n:case $e.q:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case $e.f:{const{curations:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:n.reduce(((e,t)=>({...e,[t.collectionId]:t})),{}),error:null}}case $e.r:case $e.i:{const{collectionId:n,curation:o}=t.payload,a={...e.data};return o?a[n]=o:delete a[n],{...e,data:a,loading:Object(z.loadingReducer)(e.loading,t),error:null}}case $e.c:{const{collectionId:n}=t.payload;return{...e,data:{...e.data,[n]:{...e.data[n],status:Xe.b.APPROVED}},loading:Object(z.loadingReducer)(e.loading,t),error:null}}case $e.o:{const{collectionId:n}=t.payload;return{...e,data:{...e.data,[n]:{...e.data[n],status:Xe.b.REJECTED}},loading:Object(z.loadingReducer)(e.loading,t),error:null}}case $e.l:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null};case $e.d:case $e.g:case $e.j:case $e.m:case $e.a:case $e.p:{const{error:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:n}}default:return e}}var Je=n(284);const et={data:{},loading:[],error:null};function tt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ze.n:case ze.q:case ze.k:case Je.e:case Je.b:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case Je.f:{var n;const{collectionId:o,itemCuration:a}=t.payload,i=(null===(n=e.data[o])||void 0===n?void 0:n.filter((e=>e.itemId!==(null===a||void 0===a?void 0:a.itemId))))||[];return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[o]:[...i,a]},error:null}}case ze.c:{const{collection:n,itemCurations:o}=t.payload;return{...e,data:{...e.data,[n.id]:[...o]}}}case Je.c:{const{itemCurations:n,collectionId:o}=t.payload,a=e.data[o];return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[o]:a?[...a.filter((e=>!n.find((t=>t.itemId===e.itemId)))),...n]:n},error:null}}case ze.o:{const{itemCurations:n,collectionId:o}=t.payload,a=e.data[o],i=a?[...a,...n]:[...n];return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[o]:i},error:null}}case ze.r:case ze.l:{const{itemCurations:n,collectionId:o}=t.payload,a=e.data[o],i=n.map((e=>e.itemId)),r=a.filter((e=>!i.includes(e.itemId)));return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[o]:[...r,...n]},error:null}}case ze.j:case ze.m:case ze.p:case Je.a:case Je.d:{const{error:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:n}}default:return e}}var nt=n(31),ot=n(32),at=n(40),it=n(1054),rt=n(120),st=n(147);const ct={gizmo:rt.a.NONE,preview:!1,sidebar:!0,snapToGrid:!0,multiselectionEnabled:!1,selectedEntityIds:[],entitiesOutOfBoundaries:[],isReady:!1,isLoading:!1,isScreenshotReady:!1,isReadOnly:!1,hasLoadedAssetPacks:!1,export:{isLoading:!1,progress:0,total:0},bodyShape:Object(st.n)([nt.BodyShape.MALE,nt.BodyShape.FEMALE]),emote:nt.PreviewEmote.IDLE,wearablePreviewController:null,isPlayingEmote:!1,skinColor:Object(st.n)(Object(it.c)()),eyeColor:Object(st.n)(Object(it.a)()),hairColor:Object(st.n)(Object(it.b)()),baseWearables:[],selectedBaseWearablesByBodyShape:null,visibleItemIds:[],loading:[],fetchingBaseWearablesError:null},lt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ct,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case U.v:{const{gizmo:n}=t.payload;return{...e,gizmo:n}}case U.E:{const{isEnabled:n}=t.payload;return{...e,preview:n}}case U.F:{const{isEnabled:n}=t.payload;return{...e,sidebar:n}}case U.z:return{...e,selectedEntityIds:t.payload.entityIds?t.payload.entityIds:[]};case U.o:{const{isReady:n}=t.payload;return{...e,isLoading:n,isReady:n}}case U.b:return{...ct};case U.G:return{...e,snapToGrid:t.payload.enabled};case U.s:return{...e,entitiesOutOfBoundaries:t.payload.entities};case L.d:return{...e,entitiesOutOfBoundaries:e.entitiesOutOfBoundaries.filter((t=>!e.selectedEntityIds.includes(t)))};case D.i:return{...e,export:{...e.export,isLoading:!0}};case U.t:{const{loaded:n,total:o}=t.payload;return{...e,export:{...e.export,...t.payload,progress:n,total:o}}}case D.j:return{...e,export:{...e.export,isLoading:!1,progress:0,total:0}};case U.n:return{...e,isLoading:t.payload.isLoading};case U.p:return{...e,isReadOnly:t.payload.isReadOnly};case U.y:return{...e,isScreenshotReady:t.payload.isScreenshotReady};case fe:return{...e,hasLoadedAssetPacks:!0};case U.D:return{...e,multiselectionEnabled:t.payload.enabled};case U.m:return{...e,bodyShape:t.payload.bodyShape};case U.q:return{...e,emote:t.payload.emote};case U.r:return{...e,isPlayingEmote:t.payload.isPlayingEmote};case U.B:return{...e,wearablePreviewController:t.payload.controller};case U.A:return{...e,skinColor:t.payload.skinColor};case U.u:return{...e,eyeColor:t.payload.eyeColor};case U.w:return{...e,hairColor:t.payload.hairColor};case U.l:{var n;const{category:o,bodyShape:a,wearable:i}=t.payload;return{...e,selectedBaseWearablesByBodyShape:{...null!==(n=e.selectedBaseWearablesByBodyShape)&&void 0!==n?n:{},[a]:{...e.selectedBaseWearablesByBodyShape[a],[o]:i}}}}case U.g:return{...e,fetchingBaseWearablesError:null,loading:Object(z.loadingReducer)(e.loading,t)};case U.f:return{...e,fetchingBaseWearablesError:t.payload.error,loading:Object(z.loadingReducer)(e.loading,t)};case U.h:{const{wearables:n}=t.payload;return{...e,baseWearables:n,fetchingBaseWearablesError:null,loading:Object(z.loadingReducer)(e.loading,t),selectedBaseWearablesByBodyShape:{[nt.BodyShape.FEMALE]:{[nt.WearableCategory.HAIR]:Object(st.n)(Object(st.i)(n,nt.WearableCategory.HAIR,nt.BodyShape.FEMALE)),[nt.WearableCategory.FACIAL_HAIR]:null,[nt.WearableCategory.UPPER_BODY]:Object(st.n)(Object(st.i)(n,nt.WearableCategory.UPPER_BODY,nt.BodyShape.FEMALE)),[nt.WearableCategory.LOWER_BODY]:Object(st.n)(Object(st.i)(n,nt.WearableCategory.LOWER_BODY,nt.BodyShape.FEMALE))},[nt.BodyShape.MALE]:{[nt.WearableCategory.HAIR]:Object(st.n)(Object(st.i)(n,nt.WearableCategory.HAIR,nt.BodyShape.MALE)),[nt.WearableCategory.FACIAL_HAIR]:Object(st.n)(Object(st.i)(n,nt.WearableCategory.FACIAL_HAIR,nt.BodyShape.MALE)),[nt.WearableCategory.UPPER_BODY]:Object(st.n)(Object(st.i)(n,nt.WearableCategory.UPPER_BODY,nt.BodyShape.MALE)),[nt.WearableCategory.LOWER_BODY]:Object(st.n)(Object(st.i)(n,nt.WearableCategory.LOWER_BODY,nt.BodyShape.MALE))}}}}case U.x:return{...e,visibleItemIds:t.payload.items.filter((t=>Object(at.O)(t,e.bodyShape))).map((e=>e.id))};case ot.e:return{...e,visibleItemIds:e.visibleItemIds.filter((e=>e!==t.payload.item.id))};default:return e}};var dt=n(66),ut=n(477);const pt={data:{},externalNames:{},authorizations:{},loading:[],error:null};function mt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case dt.f:case dt.y:case dt.n:case dt.j:case dt.p:case dt.s:case dt.B:case dt.E:case dt.C:case dt.F:case dt.b:case dt.c:case dt.v:return{...e,error:null,loading:Object(z.loadingReducer)(e.loading,t)};case dt.o:return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,...t.payload.ensList.reduce(((e,t)=>(e[t.subdomain]={...e[t.subdomain],...t},e)),{...e.data})}};case dt.k:{const{authorization:n,address:o}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),authorizations:{...e.authorizations,[o]:{...n}}}}case dt.q:{const{ens:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[n.subdomain]:{...n}}}}case dt.t:{const{ens:n}=t.payload;let o;return o=Object(ut.j)(n.subdomain)?{externalNames:{...e.externalNames,[n.subdomain]:{...n}}}:{data:{...e.data,[n.subdomain]:{...n}}},{...e,loading:Object(z.loadingReducer)(e.loading,t),...o}}case dt.z:case dt.g:{const{ens:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[n.subdomain]:{...e.data[n.subdomain],...n}}}}case dt.w:{const{owner:n,names:o}=t.payload,a=o.map((e=>({subdomain:e,nftOwnerAddress:n,content:"",ensOwnerAddress:"",name:e,resolver:"",tokenId:""}))).reduce(((e,t)=>(e[t.subdomain]=t,e)),{});return{...e,loading:Object(z.loadingReducer)(e.loading,t),externalNames:{...e.externalNames,...a}}}case dt.d:return{...e,error:null};case dt.x:case dt.e:case dt.D:case dt.A:case dt.l:case dt.r:case dt.m:case dt.i:case dt.a:case dt.u:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:{...t.payload.error}};case Ue.FETCH_TRANSACTION_SUCCESS:{const n=t.payload.transaction;switch(n.actionType){case dt.F:{const{ens:o,resolver:a}=n.payload,{subdomain:i}=o;return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[i]:{...e.data[i],resolver:a}}}}case dt.C:{const{ens:o,content:a,land:i}=n.payload,{subdomain:r}=o;return{...e,loading:Object(z.loadingReducer)(e.loading,t),data:{...e.data,[r]:{...e.data[r],content:a,landId:i?i.id:""}}}}case dt.c:{const{allowance:o,address:a}=n.payload;return{...e,authorizations:{...e.authorizations,[a]:{...e.authorizations[a],allowance:o}},loading:Object(z.loadingReducer)(e.loading,t)}}default:return e}}default:return e}}const bt="[Request] Fetch Entities By Pointers",ht="[Success] Fetch Entities By Pointers",ft="[Failure] Fetch Entities By Pointers",yt=(e,t)=>Object(K.action)(bt,{type:e,pointers:t}),_t="[Request] Fetch Entities By Ids",gt="[Success] Fetch Entities By Ids",jt="[Failure] Fetch Entities By Ids",Ot="[Request] Deploy entities",vt="[Success] Deploy entities",Ct="[Failure] Deploy entities",xt={data:{},loading:[],error:null};function wt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case bt:case _t:case Ot:case vt:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null};case ht:case gt:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null,data:{...e.data,...t.payload.entities.reduce(((e,t)=>(e[t.id]=t,e)),{})}};case ft:case jt:case Ct:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};default:return e}}const Et={data:{},loading:[],error:null};function St(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Et,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $.c:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case $.d:{const{address:n,identity:o}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null,data:{...e.data,[n]:o}}}case $.b:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};case $.a:{const{address:n}=t.payload,o={...e.data};return delete o[n],{...e,data:o}}default:return e}}var At=n(92);const Tt={data:{},rarities:[],loading:[],hasUserOrphanItems:void 0,error:null,pagination:null};function Rt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Fe.b:return{...e,error:null};case ot.p:case ot.y:case ot.s:case ot.j:case ot.m:case ot.P:case ot.T:case ot.I:case ot.d:case ot.F:case ot.C:case ot.g:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case ot.v:return{...e,hasUserOrphanItems:void 0,loading:Object(z.loadingReducer)(e.loading,t)};case ot.q:case ot.k:{const{paginationIndex:n,items:o,paginationStats:a}=t.payload,i=void 0!==a;return{...e,data:{...e.data,...Object(at.eb)(o)},loading:Object(z.loadingReducer)(e.loading,t),pagination:{...e.pagination,...i?{[n]:{ids:o.map((e=>e.id)),total:a.total,limit:a.limit,currentPage:a.page,totalPages:a.pages}}:{}},error:null}}case ot.w:{const{hasUserOrphanItems:n}=t.payload;return{...e,hasUserOrphanItems:n,loading:Object(z.loadingReducer)(e.loading,t),error:null}}case ot.n:{const{items:n}=t.payload;return{...e,data:{...e.data,...Object(at.eb)(n)},loading:Object(z.loadingReducer)(e.loading,t),error:null}}case ot.Q:{const{items:n}=t.payload;return{...e,data:{...e.data,...Object(at.eb)(n)},loading:Object(z.loadingReducer)(e.loading,t),error:null}}case ot.D:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null};case ot.A:{const{items:n}=t.payload;return{...e,data:{...e.data,...Object(at.eb)(n)}}}case ot.z:{const{rarities:n}=t.payload;return{...e,rarities:n,loading:Object(z.loadingReducer)(e.loading,t),error:null}}case ot.o:case ot.r:case ot.l:case ot.i:case ot.O:case ot.S:case ot.H:case ot.x:case ot.c:case ot.E:case ot.B:case ot.f:case ot.u:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};case ot.t:case ot.U:case ot.J:{const{item:n}=t.payload;return{...e,data:{...e.data,...Object(at.eb)([n])},loading:Object(z.loadingReducer)(e.loading,t),error:null}}case ot.b:return{...e,error:null};case ot.K:case ot.M:{const{items:n}=t.payload;return{...e,data:{...e.data,...Object(at.eb)(n)}}}case ot.G:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null};case ot.e:{const{item:n}=t.payload,o={...e,data:{...e.data},loading:Object(z.loadingReducer)(e.loading,t),error:null};return delete o.data[n.id],o}case ot.N:{const{item:n,collectionId:o}=t.payload,a={...n};return o?a.collectionId=o:delete a.collectionId,{...e,data:{...e.data,[a.id]:a}}}case ot.R:{const{item:n,collectionId:o}=t.payload,a={...n,collectionId:o};return{...e,data:{...e.data,[a.id]:a}}}case ot.h:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null};case Ue.FETCH_TRANSACTION_SUCCESS:{const n=t.payload.transaction;switch(n.actionType){case He.c:{const{collection:t}=n.payload;return{...e,data:{...e.data,...Object.values(e.data).reduce(((n,o)=>(o.collectionId===t.id?n[o.id]={...e.data[o.id],...o,isApproved:!0}:n[o.id]=o,n)),{})}}}case He.w:{const{collection:t}=n.payload;return{...e,data:{...e.data,...Object.values(e.data).reduce(((n,o)=>(o.collectionId===t.id?n[o.id]={...e.data[o.id],...o,isApproved:!1}:n[o.id]=o,n)),{})}}}case ze.l:case ze.o:case He.t:{const t=n.payload.items;return{...e,data:{...e.data,...t.reduce(((t,n)=>(t[n.id]={...e.data[n.id],...n,isPublished:!0},t)),{})}}}case He.q:{const t=n.payload.mints;return{...e,data:{...e.data,...t.reduce(((t,n)=>{const o=e.data[n.item.id],a=(o.totalSupply||0)+n.amount;return t[o.id]={...e.data[o.id],totalSupply:a},t}),{})}}}default:return e}}case He.z:{const{collection:n}=t.payload,o=Object(At.e)(n.urn);return{...e,data:Object.keys(e.data).reduce(((t,a)=>{const i=e.data[a];if(i.collectionId===n.id&&i.urn){let n;const a=Object(At.e)(i.urn);if(o.type===At.a.COLLECTIONS_THIRDPARTY){if(a.type!==At.a.COLLECTIONS_THIRDPARTY)throw new Error(`The item ${i.id} is not part of a third-party collection but it should be`);n=Object(At.d)(o.thirdPartyName,o.thirdPartyCollectionId,a.thirdPartyTokenId)}else{if(o.type!==At.a.COLLECTIONS_V2)throw new Error(`The item ${i.id} has an incorrect URN type`);if(a.type!==At.a.COLLECTIONS_V2)throw new Error(`The item ${i.id} is not part of a decentraland collection but it should be`);n=Object(At.b)(o.collectionAddress,a.tokenId)}t[i.id]={...e.data[i.id],urn:n}}else t[i.id]=i;return t}),{})}}default:return e}}var kt=n(117);const Nt={data:{},authorizations:[],rentals:[],loading:[],error:null};function Pt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case kt.j:return{...e,authorizations:[],rentals:[],loading:Object(z.loadingReducer)(e.loading,t)};case kt.k:{const{address:n,lands:o,authorizations:a,rentals:i}=t.payload;return{data:{...e.data,[n]:o},authorizations:a,rentals:i,loading:Object(z.loadingReducer)(e.loading,t),error:null}}case kt.i:{const{error:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:n}}default:return e}}const It={hasHistory:!1};function Lt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:It,t=arguments.length>1?arguments[1]:void 0;return t.type===Fe.b?{...e,hasHistory:!t.payload.isFirstRendering}:e}const Mt="[Request] Record media",Dt=()=>Object(K.action)(Mt,{}),Ft="[Success] Record media",Ut=e=>Object(K.action)(Ft,{media:e}),Bt="[Progress] Record media",zt=e=>Object(K.action)(Bt,{progress:e}),Ht={media:null,progress:0},Wt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ht,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Ft:{const{north:n,east:o,south:a,west:i,preview:r}=t.payload.media;return e.media&&Object.values(e.media).forEach((e=>window.URL.revokeObjectURL(e))),{...e,media:{north:window.URL.createObjectURL(n),east:window.URL.createObjectURL(o),south:window.URL.createObjectURL(a),west:window.URL.createObjectURL(i),preview:window.URL.createObjectURL(r)},progress:0}}case Mt:return{...e,media:null};case Bt:return{...e,progress:t.payload.progress};default:return e}},Gt="[Request] Load pool groups",Yt="[Success] Load pool groups",Qt="[Failure] Load pool groups",Vt={data:{},loading:[],error:{}},qt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Gt:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case Yt:{const{poolGroups:n}=t.payload;return{...e,data:{...e.data,...n},loading:Object(z.loadingReducer)(e.loading,t)}}case Qt:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};default:return e}};var Xt=n(271);const $t={data:{},loading:[],error:{},list:null,total:null},Kt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$t,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Xt.a:case Xt.c:case Xt.e:case Xt.d:return{...e,list:null,total:null,loading:Object(z.loadingReducer)(e.loading,t)};case Xt.f:{const{pools:n,total:o}=t.payload,a=Object.keys(n);return{...e,total:o,list:a,data:Object.keys(n).reduce(((t,o)=>(t[o]={...e.data[o],...n[o]},t)),e.data),loading:Object(z.loadingReducer)(e.loading,t)}}case D.w:{const{project:n,type:o}=t.payload;return"pool"!==o?{...e,loading:Object(z.loadingReducer)(e.loading,t)}:{...e,data:{...e.data,[n.id]:n}}}case Xt.b:{const{pool:n,like:o}=t.payload;if(!e.data[n])return e;const a=o?1:-1,i=e.data[n];return{...e,data:{...e.data,[n]:{...i,likes:(i.likes||0)+a,like:o}}}}default:return e}},Zt={data:{},loading:[],error:null},Jt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case D.a:case D.A:{const{project:n}=t.payload;return{...e,data:{...e.data,[n.id]:{...n,updatedAt:(new Date).toISOString()}}}}case D.h:{const{id:n,thumbnail:o}=t.payload;return{...e,data:{...e.data,[n]:{...e.data[n],thumbnail:o,updatedAt:(new Date).toISOString()}}}}case D.c:{const{project:n}=t.payload,o={...e,data:{...e.data}};return delete o.data[n.id],o}case D.q:case D.z:{const{projects:n}=t.payload;return{...e,data:{...e.data,...n},loading:Object(z.loadingReducer)(e.loading,t)}}case D.o:case D.x:case D.u:case D.l:case D.d:{const{error:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:n}}case D.w:{const{project:n,type:o}=t.payload;return o!==rt.b.PUBLIC?{...e,loading:Object(z.loadingReducer)(e.loading,t)}:{...e,data:{...e.data,[n.id]:n},loading:Object(z.loadingReducer)(e.loading,t)}}case D.n:{const{manifest:n}=t.payload;return e.data[n.project.id]?{...e,loading:Object(z.loadingReducer)(e.loading,t)}:{...e,data:{...e.data,[n.project.id]:{...n.project}},loading:Object(z.loadingReducer)(e.loading,t)}}case D.p:case D.y:case D.v:case D.m:case D.e:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case D.f:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null};default:return e}};var en=n(748);const tn={data:{},loading:[],error:null},nn=n.n(en)()((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case L.c:case D.t:{const{scene:n}=t.payload;return n.sdk6?{...e,data:{...e.data,[n.sdk6.id]:{...n,sdk6:{...n.sdk6,components:{...n.sdk6.components},entities:{...n.sdk6.entities}}}}}:{...e,data:{...e.data,[n.sdk7.id]:{...n}}}}case L.s:{const{scene:n}=t.payload;return{...e,data:{...e.data,[n.id]:{...e.data[n.id],sdk6:null,sdk7:{...n}}}}}case L.l:case L.h:case L.q:{const{scene:n}=t.payload,o=e.data[n.id];return{...e,data:{...e.data,[n.id]:{...o,sdk6:{...n,components:{...n.components},entities:{...n.entities}},sdk7:null}}}}case L.r:{const{sceneId:n,metrics:o,limits:a}=t.payload,i=e.data[n];return i.sdk6?{...e,data:{...e.data,[n]:{...i,sdk6:{...i.sdk6,metrics:{...i.sdk6.metrics,...o},limits:{...i.sdk6.limits,...a,materials:1.1*a.materials}}}}}:e}case D.c:{const{project:n}=t.payload,o={...e,data:{...e.data}};return delete o.data[n.sceneId],o}case L.j:case L.i:case L.k:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};default:return e}}),{limit:48,undoType:U.e,redoType:U.d,clearHistoryType:[U.i,en.ActionTypes.CLEAR_HISTORY],filter:Object(en.includeAction)([L.c,L.l])});var on=n(559);const an={data:{weekly:{}},loading:[],error:null};function rn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:an,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case on.b:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case on.c:{const{base:n,stats:o}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null,data:{...e.data,weekly:{...e.data.weekly,[n]:o}}}}case on.a:{const{error:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:n}}default:return e}}var sn=n(696);const cn="Init",ln=e=>Object(K.action)(cn,{localIds:e}),dn="Request",un=e=>Object(K.action)(dn,{id:e}),pn="Success",mn=e=>Object(K.action)(pn,{id:e}),bn="Failure",hn=(e,t)=>Object(K.action)(bn,{id:e,error:t}),fn="Create",yn=e=>Object(K.action)(fn,{id:e}),_n="Remove",gn=e=>Object(K.action)(_n,{id:e});function jn(e,t){return[...On(e,t),t]}function On(e,t){return e.filter((e=>e!==t))}function vn(e,t,n){return{...e,[t]:n}}function Cn(e,t){const n={...e};return delete n[t],n}const xn={localIds:[],loadingIds:[],errorsById:{}};function wn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case cn:{const{localIds:n}=t.payload;return{...e,localIds:n}}case dn:{const{id:n}=t.payload;return{...e,loadingIds:jn(e.loadingIds,n)}}case pn:{const{id:n}=t.payload;return{...e,localIds:On(e.localIds,n),loadingIds:On(e.loadingIds,n),errorsById:Cn(e.errorsById,n)}}case bn:{const{id:n,error:o}=t.payload;return{...e,localIds:jn(e.localIds,n),loadingIds:On(e.loadingIds,n),errorsById:vn(e.errorsById,n,o)}}case fn:{const{id:n}=t.payload;return{...e,localIds:jn(e.localIds,n)}}case _n:{const{id:n}=t.payload;return{...e,localIds:On(e.localIds,n),loadingIds:On(e.loadingIds,n),errorsById:Cn(e.errorsById,n)}}}}const En={project:xn},Sn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:En,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case sn.STORAGE_LOAD:{const{payload:n}=t,o=n.project&&n.project.data?Object.keys(n.project.data):[];return{...e,project:wn(e.project,ln(o))}}case F.d:{const{project:n}=t.payload;return{...e,project:wn(e.project,un(n.id))}}case F.e:{const{project:n}=t.payload;return{...e,project:wn(e.project,mn(n.id))}}case F.c:{const{project:n,error:o}=t.payload;return{...e,project:wn(e.project,hn(n.id,o))}}case D.a:{const{project:n}=t.payload;return{...e,project:wn(e.project,yn(n.id))}}case D.c:{const{project:n}=t.payload;return{...e,project:wn(e.project,gn(n.id))}}default:return e}},An={data:{},itemSlotPrice:null,loading:[],error:null,errors:[]};function Tn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:An,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ze.b:case ze.h:case ze.e:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null,errors:[]};case ze.f:{const{thirdParties:n}=t.payload;return{...e,data:{...e.data,...n.reduce(((e,t)=>(e[t.id]={...t},e)),{})},loading:Object(z.loadingReducer)(e.loading,t),error:null}}case ze.i:{const{thirdPartyId:n,availableSlots:o}=t.payload;return{...e,data:{...e.data,[n]:{...e.data[n],availableSlots:o}},loading:Object(z.loadingReducer)(e.loading,t),error:null}}case ze.c:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null};case ze.g:case ze.d:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};case ze.a:return{...e,loading:Object(z.loadingReducer)(e.loading,t),errors:t.payload.errors,error:t.payload.errorMessage||null};default:return e}}const Rn={data:{},loading:[],error:null};function kn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Z:return{...e,loading:Object(z.loadingReducer)(e.loading,t)};case J:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null,data:t.payload.tiles};case ee:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:t.payload.error};default:return e}}var Nn=n(224);const Pn={selectedAssetPackId:null,selectedCategory:null,search:"",scripts:!1,view:n(857).a.GRID},In={didCreate:!1,didSync:!1,didDismissSyncedToast:!1,didDismissSignInToast:!1,needsMigration:!1,didMigrate:!1};var Ln=n(516),Mn=n(1787);const Dn={view:Ln.a.GRID};var Fn=n(1788),Un=n(1789);const Bn={view:Fn.a.GRID};const zn="[Update progress] Save Multiple Items";let Hn;!function(e){e[e.NOT_STARTED=0]="NOT_STARTED",e[e.UPLOADING=1]="UPLOADING",e[e.CANCELLED=2]="CANCELLED",e[e.FINISHED_UNSUCCESSFULLY=3]="FINISHED_UNSUCCESSFULLY",e[e.FINISHED_SUCCESSFULLY=4]="FINISHED_SUCCESSFULLY"}(Hn||(Hn={}));const Wn={state:Hn.NOT_STARTED,progress:0,savedItemsFiles:[],notSavedItemsFiles:[],cancelledItemFiles:[]},Gn="[Update progress] Third Party Action";let Yn;!function(e){e[e.PUSH_CHANGES=0]="PUSH_CHANGES",e[e.APPROVE_COLLECTION=1]="APPROVE_COLLECTION"}(Yn||(Yn={}));const Qn={progress:{[Yn.APPROVE_COLLECTION]:0,[Yn.PUSH_CHANGES]:0}},Vn=Object(g.combineReducers)({sidebar:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Nn.a:return{...e,search:t.payload.search.toLowerCase().trim()};case Nn.d:return{...e,view:t.payload.view,selectedCategory:null};case Nn.c:return{...e,search:"",selectedCategory:t.payload.category};case Nn.b:return{...e,search:"",selectedAssetPackId:t.payload.assetPackId};case U.i:return{...Pn};case Nn.e:return{...e,scripts:t.payload.value};default:return e}},dashboard:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:In,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case D.a:return{...e,didCreate:!0};case X.c:return{...e,didSync:t.payload.didSync};case X.b:return{...e,didDismissSyncedToast:!0};case X.a:return{...e,didDismissSignInToast:!0};default:return e}},collection:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dn,t=arguments.length>1?arguments[1]:void 0;return t.type===Mn.a?{...e,view:t.payload.view}:e},land:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bn,t=arguments.length>1?arguments[1]:void 0;return t.type===Un.a?{...e,view:t.payload.view}:e},createMultipleItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ot.b:return Wn;case ot.K:{const{savedFileNames:n,notSavedFileNames:o,cancelledFileNames:a}=t.payload;return{...e,savedItemsFiles:n,notSavedItemsFiles:o,cancelledItemFiles:a,state:Hn.CANCELLED}}case ot.L:return{...e,state:Hn.UPLOADING};case ot.M:{const{savedFileNames:n,notSavedFileNames:o}=t.payload;return{...e,savedItemsFiles:n,notSavedItemsFiles:o,state:Hn.FINISHED_SUCCESSFULLY}}case zn:{const{progress:n}=t.payload;return{...e,progress:n}}default:return e}},thirdParty:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qn,t=arguments.length>1?arguments[1]:void 0;if(t.type===Gn){const{progress:n,action:o}=t.payload;return{...e,progress:{...e.progress,[o]:n}}}return e}});var qn=n(258);const Xn={screenshotEnabled:!0,isReloading:!1};function $n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case qn.g:return{...e,screenshotEnabled:t.payload.enabled};case qn.f:return{...e,isReloading:t.payload.value};default:return e}}var Kn=n(570);const Zn={data:{},walletStats:{},loading:[],error:null};function Jn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zn,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Kn.b:return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:null};case Kn.a:{const{error:n}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),error:n}}case Kn.c:{const{address:n,stats:o}=t.payload;return{...e,loading:Object(z.loadingReducer)(e.loading,t),walletStats:{...e.walletStats,[n]:o}}}default:return e}}var eo=n(4),to=n(517),no=n(1894),oo=n(1895),ao=n(1896),io=n(1897),ro=n(1898),so=n(1899),co=n(54),lo=n(215),uo=n(124),po=n(414),mo=n(388),bo=n(79);const ho="Share Scene",fo=e=>Object(K.action)(ho,{target:e});function yo(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e.payload;Object(k.add)(e,t,n)}function _o(e){if(!e.payload.asset)return e.payload;const t={...e.payload.asset,contents:void 0};return{...e.payload,asset:t}}function go(e){if(!e.payload.project)return e.payload;const{id:t,layout:n}=e.payload.project,{rows:o,cols:a}=n,i={projectId:t,rows:o,cols:a};return e.payload.sdkVersion&&(i.sdk=e.payload.sdkVersion),i}yo(po.GRANT_TOKEN_SUCCESS,"Authorize"),yo(po.REVOKE_TOKEN_SUCCESS,"Unauthorize"),yo(L.e,"Drop item",_o),yo(L.m,"Reset item"),yo(L.f,"Duplicate item"),yo(D.a,"Create project",go),yo(D.A,"Set project",go),yo(U.e,"Editor undo"),yo(U.d,"Editor redo"),yo(U.E,"Toggle preview"),yo(U.F,"Toggle sidebar"),yo(Nn.d,"Set sidebar view"),yo(Nn.b,"Select asset pack"),yo(Nn.c,"Select category"),yo(bo.OPEN_MODAL,"Open modal"),yo(bo.CLOSE_MODAL,"Close modal"),yo(U.v,"Set gizmo"),yo(L.n,"Set ground",_o),yo(U.I,"Zoom in"),yo(U.J,"Zoom out"),yo(U.k,"Reset camera"),yo(D.i,"Export project",go),yo(D.k,"Import project",(()=>({}))),yo(F.e,"Save project success",go),yo(F.c,"Save project failure",go),yo($.f,"Login"),yo($.h,"Logout"),yo(ho,"Share scene"),yo(Xt.b,"Like pool"),Object(k.add)(kt.q,"Transfer land",(e=>{const{payload:t}=e;return{id:t.land.id,type:t.land.type,name:t.land.name,address:t.address}})),Object(k.add)(kt.h,"Edit land",(e=>{const{payload:t}=e;return{id:t.land.id,type:t.land.type,name:t.name,desciption:t.description}})),Object(k.add)(kt.m,(e=>e.payload.address?"Add operator":"Remove operator"),(e=>{const{payload:t}=e;return{id:t.land.id,type:t.land.type,address:t.address}})),yo(kt.b,"Create estate"),Object(k.add)(kt.f,(e=>"add"===e.payload.type?"Add parcels":"Remove parcels"),(e=>{const{payload:t}=e;return{id:t.land.id,type:t.land.type,name:t.land.name,coords:t.coords}})),Object(k.add)(kt.d,"Dissolve estate",(e=>{const{payload:t}=e;return{id:t.land.id,type:t.land.type}})),Object(k.add)(kt.o,(e=>e.payload.isApproved?"Add manager":"Remove manager"),(e=>{const{payload:t}=e;return{address:t.address,type:t.type}})),Object(k.add)(ot.J,"Save item",(e=>{const{payload:t}=e;return{item:t.item}})),Object(k.add)(ot.H,"Save item error",(e=>{const{payload:t}=e;return{item:t.item,error:t.error}})),yo(ot.e,"Delete item"),yo(ot.c,"Delete item error"),yo(ot.U,"Set price and beneficiary"),yo(ot.S,"Set price and beneficiary failure"),yo(He.z,"Save collection"),yo(He.x,"Save collection error"),yo(He.f,"Delete collection"),yo(He.d,"Delete collection error"),Object(k.add)(He.t,"Publish collection",(e=>{const{payload:t}=e;return{collection:t.collection}})),Object(k.add)(He.r,"Publish collection error",(e=>{const{payload:t}=e;return{collection:t.collection,error:t.error}})),yo(He.q,"Mint items"),yo(He.o,"Mint items error"),yo(He.F,"Set minters"),yo(He.D,"Set minters error"),yo(He.C,"Set collaborators"),yo(He.A,"Set collaborators error"),yo(He.c,"Approve collection"),yo(He.a,"Approve collection error"),yo(He.w,"Reject collection"),yo(He.u,"Reject collection error"),yo(Be.d,"Create forum post"),yo(Be.b,"Create forum post error"),yo($e.l,"Push curation"),yo($e.j,"Push curation error"),yo(ot.D,"Rescue items"),yo(ot.B,"Rescue items error"),yo(vt,"Deploy entities"),yo(Ct,"Deploy entities failure"),yo($e.c,"Approve curation"),yo($e.a,"Approve curation error"),yo($e.o,"Reject curation"),yo($e.m,"Reject curation error"),yo(ot.G,"Reset changes"),yo(ot.E,"Reset changes error"),Object(k.add)(dt.F,"Set ENS Resolver",(e=>{const{payload:t}=Object(uo.getTransactionFromAction)(e),{ens:n,resolver:o,address:a}=t;return{address:a,ens:n,resolver:o}})),Object(k.add)(dt.C,"Set ENS Content",(e=>{const{payload:t}=Object(uo.getTransactionFromAction)(e),{ens:n,content:o,land:a,address:i}=t;return{address:i,ens:n,content:o,land:a}})),yo(mo.SET_PROFILE_AVATAR_ALIAS_SUCCESS,"Use as Alias"),yo(dt.c,"Allow Claim Mana"),Object(k.add)(dt.g,"Claim Name",(e=>{const{payload:t}=e,{name:n,ens:o}=t;return{name:n,ens:o}})),Object(k.add)($e.r,(e=>e.payload.curation.assignee?"Assign curator":"Unassign curator"),(e=>{var t;const{payload:n}=e;return{collectionId:n.collectionId,assignee:null===(t=n.curation)||void 0===t?void 0:t.assignee}})),yo($e.p,"Assign curator error"),Object(k.add)(L.k,"Migrate to SDK7"),Object(k.add)(L.i,"Migrate to SDK7 error");var jo=n(245);const Oo=Object(so.createAnalyticsSaga)();function*vo(){yield Object(eo.takeLatest)(U.i,Eo),yield Object(eo.takeLatest)(L.a,So),yield Object(eo.takeLatest)(L.f,So),yield Object(eo.takeLatest)(L.n,So),yield Object(eo.takeLatest)(L.d,Ao),yield Object(eo.takeLatest)(U.G,Ro),yield Object(eo.takeLatest)(L.t,ko),yield Object(eo.takeLatest)(M.i,No),yield Object(eo.takeLatest)(M.f,Po),yield Object(eo.takeLatest)(M.c,Io),yield Object(eo.takeLatest)(Nn.a,Lo),yield Object(eo.takeLatest)(F.f,Mo),yield Object(eo.takeLatest)($.g,Do),yield Object(eo.takeLatest)(je,Fo),yield Object(eo.takeLatest)(Ee,Uo),yield Object(eo.takeLatest)(Oe,Bo),yield Object(eo.takeLatest)(Se,zo),yield Object(eo.takeLatest)(ze.o,wo)}function*Co(){yield Object(eo.all)([Oo(),vo()])}const xo=(e,t)=>Object(k.getAnalytics)().track(e,t);function wo(e){const{items:t}=e.payload;xo("Publish TP Item",{items:t})}function*Eo(e){const t=yield Object(eo.select)(co.b);t&&xo("Open project",{projectId:t.id})}function*So(e){const t=yield Object(eo.select)(co.b);if(t){if(e.type===L.a){const t=yield Object(eo.select)(lo.a);xo(L.a,{..._o(e),search:t})}xo("New item",{projectId:t.id})}}function*Ao(e){const t=yield Object(eo.select)(co.b);t&&xo("Delete item",{projectId:t.id})}let To=!1;function*Ro(e){if(e.payload.enabled)To=!1;else{const e=yield Object(eo.select)(co.b);if(!e)return;To||(xo("Enable precision",{projectId:e.id}),To=!0)}}function*ko(e){const t=yield Object(eo.select)(co.b);t&&xo("Update item",{projectId:t.id})}function*No(e){const t=yield Object(eo.select)(co.b);if(!t)return;const n=yield Object(eo.select)(I.getAddress);xo("[Success] Deploy to LAND pool",{project_id:t.id,eth_address:n})}function*Po(e){const{deployment:{placement:t}}=e.payload,n=yield Object(eo.select)(co.b);if(!n)return;const o=yield Object(eo.select)(I.getAddress),a=yield Object(eo.select)(jo.k),i=(yield Object(eo.select)(jo.f))[`${t.point.x},${t.point.y}`],r=i&&a.some((e=>e.tokenId===i.land.tokenId&&e.type===i.land.type));xo("[Success] Deploy to LAND",{project_id:n.id,eth_address:o,isRented:r})}function*Io(e){const t=yield Object(eo.select)(co.b);if(!t)return;const n=yield Object(eo.select)(I.getAddress);xo("[Success] Clear Deployment",{project_id:t.id,eth_address:n})}function*Lo(e){const t=(yield Object(eo.select)(lo.d)).reduce(((e,t)=>e+t.assets.length),0);xo("Search assets",{...e.payload,hits:t})}function*Mo(e){const t=yield Object(eo.select)(q.e);t.length>0&&xo("Sync projects",{count:t.length})}function Do(e){const{address:t}=e.payload.wallet;Object(k.getAnalytics)().identify(t)}function*Fo(e){const{assetPack:t}=e.payload,n=yield Object(eo.select)(co.b);if(!n)return;const o=yield Object(eo.select)(I.getAddress);xo("[Success] Save AssetPack",{project_id:n.id,eth_address:o,assetPack:t})}function*Uo(e){const{assetPack:t}=e.payload,n=yield Object(eo.select)(co.b);if(!n)return;const o=yield Object(eo.select)(I.getAddress);xo("[Success] Delete AssetPack",{project_id:n.id,eth_address:o,assetPack:t})}function*Bo(e){const{assetPack:t}=e.payload,n=yield Object(eo.select)(co.b);if(!n)return;const o=yield Object(eo.select)(I.getAddress);xo("[Failure] Save AssetPack",{project_id:n.id,eth_address:o,assetPack:t})}function*zo(e){const{assetPack:t}=e.payload,n=yield Object(eo.select)(co.b);if(!n)return;const o=yield Object(eo.select)(I.getAddress);xo("[Failure] Delete AssetPack",{project_id:n.id,eth_address:o,assetPack:t})}var Ho=n(251),Wo=n(146);function*Go(e){yield Object(eo.takeLatest)(he,(function*(t){try{const t=yield Object(eo.select)(I.getData),n=yield Object(eo.call)([e,"fetchAssetPacks"],null===t||void 0===t?void 0:t.address);yield Object(eo.put)((e=>Object(K.action)(fe,{assetPacks:e}))(n))}catch(n){yield Object(eo.put)((e=>Object(K.action)(ye,{error:e}))(n.message))}})),yield Object(eo.takeLatest)(ge,(function*(t){const{assetPack:n,contents:o}=t.payload;try{yield Object(eo.put)(xe(be.CREATE_ASSET_PACK,0)),yield Object(eo.call)((()=>e.saveAssetPack(n))),yield Object(eo.put)(xe(be.CREATE_ASSET_PACK,50)),Object(Wo.g)(n.thumbnail)||(yield Object(eo.call)((()=>e.saveAssetPackThumbnail(n)))),yield Object(eo.put)(xe(be.CREATE_ASSET_PACK,100)),yield Object(eo.put)(xe(be.UPLOAD_CONTENTS,0));const t=n.assets.filter((e=>Object.keys(o[e.id]).length>0)),a=yield function*(e){const t=1/e*100|0,n=yield Object(eo.select)(Ho.e),o=n.value/t+1,a=n.value+t,i=o!==e?a:100;yield Object(eo.put)(xe(be.UPLOAD_CONTENTS,i))}(t.length),i=t.map((t=>e.saveAssetContents(t,o[t.id]).then(a)));i.length>0?yield Object(eo.all)(i):yield Object(eo.put)(xe(be.UPLOAD_CONTENTS,100)),yield Object(eo.put)((e=>Object(K.action)(je,{assetPack:e}))(n)),yield Object(eo.put)(xe(be.NONE,0)),yield Object(eo.put)(_e())}catch(a){yield Object(eo.put)(((e,t)=>Object(K.action)(Oe,{assetPack:e,error:t}))(n,a.message))}})),yield Object(eo.takeLatest)(we,(function*(t){const{assetPack:n}=t.payload;try{yield Object(eo.call)((()=>e.deleteAssetPack(n))),yield Object(eo.put)((e=>Object(K.action)(Ee,{assetPack:e}))(n)),yield Object(eo.put)(Object(Nn.g)(null)),yield Object(eo.put)(Object(Nn.h)(null))}catch(o){yield Object(eo.put)(((e,t)=>Object(K.action)(Se,{assetPack:e,error:t}))(n,o.message))}}))}var Yo=n(135),Qo=n(144),Vo=n(55),qo=n(551),Xo=n(1900),$o=n(27);const Ko=e=>{switch(e){case nt.WearableCategory.EYEBROWS:case nt.WearableCategory.EYES:case nt.WearableCategory.MASK:case nt.WearableCategory.MOUTH:case nt.WearableCategory.SKIN:return Sa.FRONT;default:return Sa.DEFAULT}};function Zo(e){let{contents:t,file:n}=e;const o=t&&Object.keys(t).find((e=>Object(at.V)(e)));if(t&&!o)throw Error("Not valid main content");return{id:"some-id",name:"",description:"",image:"",thumbnail:"",i18n:[],emoteDataADR74:{category:nt.EmoteCategory.DANCE,tags:[],representations:[{bodyShapes:[nt.BodyShape.MALE,nt.BodyShape.FEMALE],mainFile:o||"model.glb",contents:t?Object.entries(t).map((e=>{let[t,n]=e;return{key:t,blob:n}})):n?[{key:"model.glb",blob:n}]:[]}],loop:!1}}}var Jo=n(2),ea=n.n(Jo),ta=n(5),na=n(218),oa=n(0);class aa{constructor(e){this.message=void 0,this.message=e}}class ia{constructor(e,t){this.title=void 0,this.message=void 0,this.title=e,this.message=t}}class ra extends Error{constructor(){super(Object(ta.t)("create_single_item_modal.error.item_too_big",{size:`${Object(na.c)(at.d+at.f)}MB`}))}}class sa extends aa{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:at.d;super(Object(ta.t)("create_single_item_modal.error.file_too_big",{title:Object(Jo.createElement)("b",null,Object(ta.t)("create_single_item_modal.error.file_too_big_title")),enter:Object(Jo.createElement)("br"),size:`${Object(na.c)(e)}MB`}))}}class ca extends Error{constructor(){super(Object(ta.t)("create_single_item_modal.error.thumbnail_file_too_big",{size:`${Object(na.c)(at.f)}MB`}))}}class la extends Error{constructor(){super(Object(ta.t)("upload_video.error.video_file_too_big.message",{size:`${Object(na.c)(at.h)}MB`})),this.title=void 0,this.title=Object(ta.t)("upload_video.error.video_file_too_big.title")}}class da extends Error{constructor(){super(Object(ta.t)("upload_video.error.video_file_too_long.message")),this.title=void 0,this.title=Object(ta.t)("upload_video.error.video_file_too_long.title",{max_duration:at.g})}}class ua extends Error{constructor(){super(Object(ta.t)("create_single_item_modal.error.wrong_extension"))}}class pa extends Error{constructor(){super(Object(ta.t)("create_single_item_modal.error.invalid_files"))}}class ma extends Error{constructor(){super(Object(ta.t)("upload_video.error.invalid_video.message")),this.title=void 0,this.title=Object(ta.t)("upload_video.error.invalid_video.title")}}class ba extends Error{constructor(){super(Object(ta.t)("create_single_item_modal.error.missing_model_file"))}}class ha extends Error{constructor(){super(Object(ta.t)("create_single_item_modal.error.invalid_model_files_representation"))}}class fa extends aa{constructor(){super(Object(ta.t)("create_single_item_modal.error.emote_duration_too_long",{title:Object(Jo.createElement)("b",null,Object(ta.t)("create_single_item_modal.error.emote_duration_too_long_title")),enter:Object(Jo.createElement)("br"),duration:at.b}))}}class ya extends aa{constructor(e){super(Object(ta.t)("create_single_item_modal.error.invalid_model_file_type",{type:Object(Jo.createElement)("b",null,Object(ta.t)(`item.type.${e}`))}))}}class _a extends aa{constructor(e){super(Object(ta.t)("create_single_item_modal.error.item_not_allowed_in_third_party_collections",{type:Object(Jo.createElement)("b",null,Object(ta.t)(`item.type.${e}`))}))}}class ga extends aa{constructor(){super(Object(ta.t)("create_single_item_modal.error.emote_animations_sync_error",{br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e})}))}}class ja extends aa{constructor(){super(Object(ta.t)("create_single_item_modal.error.emote_with_mesh",{br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e})}))}}var Oa=n(210);n(3602);const va="Model is EMOTE";function Ca(e){const t=e.getChildren().filter((e=>"__root__"!==e.id));if(t.length>0){const n=t[0];let o=n.getBoundingInfo(),a=o.boundingBox.minimumWorld.add(n.position),i=o.boundingBox.maximumWorld.add(n.position);for(let e=1;e<t.length;e++){const n=t[e];o=n.getBoundingInfo();const r=o.boundingBox.minimumWorld.add(n.position),s=o.boundingBox.maximumWorld.add(n.position);a=Oa.m.Minimize(a,r),i=Oa.m.Maximize(i,s)}e.setBoundingInfo(new Oa.a(a,i))}}const xa=["hair_mat","avatarskin_mat"];async function wa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{width:n,height:o,extension:a,thumbnailType:i}={...Ta,...t},r=document.createElement("canvas");r.width=n,r.height=o,r.style.visibility="hidden",document.body.appendChild(r);const s=new Oa.e(r,!0,{preserveDrawingBuffer:!0,stencil:!0}),c=new Oa.h(s);if(c.autoClear=!0,c.clearColor=new Oa.c(0,0,0,0),await Oa.i.AppendAsync(e,"",c,void 0,a),await c.whenReadyAsync(),c.animationGroups.length>0)throw new Error(va);const l=new Oa.k("targetCamera",new Oa.m(0,0,0),c);switch(l.mode=Oa.b.ORTHOGRAPHIC_CAMERA,l.orthoTop=1,l.orthoBottom=-1,l.orthoLeft=-1,l.orthoRight=1,i){case Sa.FRONT:l.position=new Oa.m(0,0,2);break;case Sa.TOP:l.position=new Oa.m(0,1,0);break;default:l.position=new Oa.m(-2,2,2)}l.setTarget(Oa.m.Zero()),l.attachControl(r,!0);const d=new Oa.d("directional",new Oa.m(0,0,1),c);d.intensity=1;const u=new Oa.f("top",new Oa.m(0,-1,0),c);u.intensity=1;const p=new Oa.f("bottom",new Oa.m(0,1,0),c);p.intensity=1;const m=new Oa.j("spot",new Oa.m(-2,2,2),new Oa.m(2,-2,-2),Math.PI/2,1e3,c);m.intensity=1;const b=new Oa.g("parent",c);for(const g of c.meshes)g!==b&&g.setParent(b);for(const g of xa){for(const e of c.materials)e.name.toLowerCase().includes(g)&&(e.alpha=0,c.removeMaterial(e));for(const e of c.textures)e.name.toLowerCase().includes(g)&&(e.dispose(),c.removeTexture(e))}Ca(b);const h=b.getBoundingInfo().boundingBox.extendSize,f=h.length(),y=new Oa.m(1/f,1/f,1/f);b.scaling=y;const _=b.getBoundingInfo().boundingBox.center.multiply(y);return b.position.subtractInPlace(_),document.body.removeChild(r),Oa.l.CreateScreenshotUsingRenderTargetAsync(s,l,{width:n,height:o},void 0,void 0,!0)}const Ea="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNiYAAAAAkAAxkR2eQAAAAASUVORK5CYII=";let Sa,Aa;!function(e){e.DEFAULT="default",e.TOP="top",e.FRONT="front"}(Sa||(Sa={})),function(e){e.THREE="three",e.BABYLON="babylon"}(Aa||(Aa={}));const Ta={width:1024,height:1024,extension:".glb",engine:Aa.THREE,thumbnailType:Sa.DEFAULT};async function Ra(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{width:n,height:o,mappings:a}={...Ta,...t},i=new Vo.pb({alpha:!0});let r;i.setSize(n,o,!1),i.domElement.style.visibility="hidden",document.body.appendChild(i.domElement),a&&(r=new Vo.D,r.setURLModifier((e=>{const t=Object(qo.basename)(new URL(e.replace("blob:","")).pathname.slice(1)),n=Object.keys(a).find((e=>e.endsWith(t)));return n?a[n]:e})));const s=new Xo.a(r);return{renderer:i,gltf:await new Promise(((t,n)=>s.load(e,t,void 0,n)))}}async function ka(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{width:n,height:o,mappings:a,engine:i,thumbnailType:r}={...Ta,...t};try{const s=new Set;let c=0,l=0;const{gltf:d,renderer:u}=await Ra(e,{width:n,height:o,mappings:a});d.scene.traverse((e=>{if(e instanceof Vo.H)if(c++,e.material&&s.add(e.material.name),e.name.includes("_collider")){if(e.geometry instanceof Vo.n)l+=e.geometry.faces.length;else if(e.geometry instanceof Vo.f){const t=(new Vo.n).fromBufferGeometry(e.geometry);l+=t.faces.length}e.visible=!1}else e.material instanceof Vo.J&&e.material.name.toLowerCase().includes("hair_mat")&&(e.visible=!1)}));const p=d.scene,m=new Vo.bb;let b;m.add(p);const h=(new Vo.d).setFromObject(p).getSize(new Vo.mb).length();p.scale.multiplyScalar(1/h);const f=(new Vo.d).setFromObject(p).getCenter(new Vo.mb);switch(r){case Sa.FRONT:b=new Vo.Q(-.5,.5,.5,-.5,0,1e3),b.position.set(f.x+0,f.y+0,f.z+1);break;case Sa.TOP:b=new Vo.Q(-.25,.25,.25,-.25,0,1e3),b.position.set(f.x+0,f.y+1,f.z+0);break;default:b=new Vo.Q(-.5,.5,.5,-.5,0,1e3),b.position.set(f.x+1,f.y+1,f.z+1)}b.lookAt(f),b.updateProjectionMatrix();const y=new Vo.a(16777215,1.2);switch(m.add(y),r){case Sa.FRONT:{const e=new Vo.j(16777215,1);e.position.set(f.x+0,f.y+1,f.z+0),e.lookAt(f),m.add(e);break}default:{const e=new Vo.j(16777215,.8);e.position.set(f.x+1,f.y+1,f.z-1),e.lookAt(f),m.add(e);const t=new Vo.Z(16777215,.5,n,o);t.position.set(-3,0,0),t.lookAt(f),m.add(t);break}}u.render(m,b),document.body.removeChild(u.domElement);const _={triangles:u.info.render.triangles+l,materials:s.size,textures:u.info.memory.textures,meshes:u.info.memory.geometries,bodies:c,entities:1};return{info:_,image:i===Aa.THREE?u.domElement.toDataURL():await wa(e,t),type:$o.m.WEARABLE}}catch(s){const e={triangles:0,materials:0,textures:0,meshes:0,bodies:0,entities:1},t=Ea;let n=$o.m.WEARABLE;return s instanceof Error&&s.message===va&&(n=$o.m.EMOTE),{info:e,image:t,type:n}}}async function Na(e){const{gltf:t,renderer:n}=await Ra(URL.createObjectURL(e));document.body.removeChild(n.domElement);const o=t.animations[0],a=t.animations.length>1?t.animations[1]:null;let i=0;for(let r=0;r<o.tracks.length;r++){const e=o.tracks[r];i=Math.max(i,e.times.length)}if(t.scene.children.some((e=>e.children.some((e=>e.name.toLowerCase().includes("basemesh")||e.name.toLowerCase().includes("avatar_mesh"))))))throw new ja;if(a&&a.duration!==o.duration)throw new ga;return{sequences:t.animations.length,duration:o.duration,frames:i,fps:i/o.duration,props:t.scene.children.some((e=>{let{name:t}=e;return"Armature_Prop"===t}))?1:0}}function*Pa(e){async function t(n,o){const a=await e.getNFTs({owner:n,cursor:o}),{next:i,nfts:r}=a;if(i){const e=await t(n,i);return[...r,...e]}return r}yield Object(eo.takeLatest)(ke,(function*(e){const n=yield Object(eo.select)(I.getAddress);try{if(!n)throw new Error(`Invalid address: ${n}`);const e=[],o=yield Object(eo.call)(t,n);for(const t of o){const n=`ethereum://${t.contract.address}/${t.tokenId}`;e.push({assetPackId:Yo.a,id:n,tags:[],category:t.contract.name,contents:{},name:t.name||"",model:n,script:null,thumbnail:t.imageThumbnailUrl||Ea,metrics:{triangles:0,materials:0,meshes:0,bodies:0,entities:0,textures:0},parameters:[],actions:[]})}yield Object(eo.put)((e=>Object(K.action)(Ne,{assets:e}))(e))}catch(o){yield Object(eo.put)((e=>Object(K.action)("[Failure] Load Collectibles",{error:e}))(o.message))}})),yield Object(eo.takeLatest)(Qo.CONNECT_WALLET_SUCCESS,(function*(){yield Object(eo.take)($.d),yield Object(eo.put)(Object(K.action)(ke,{}))}))}var Ia=n(344),La=n.n(Ia),Ma=n(415),Da=n(289),Fa=n(71),Ua=n(1901),Ba=n(93),za=n(400),Ha=n(103);const Wa=S.a.get("TRANSACTIONS_API_URL");async function Ga(){const e=await Object(Ha.getConnectedProvider)();if(!e)throw new Error("Could not get a valid connected Wallet");return new Fa.ethers.providers.Web3Provider(e)}function*Ya(){const e=yield Object(eo.select)(I.getData);if(!e)throw new Error("Could not get current wallet from state");return e}async function Qa(e){return(await e).data}var Va=n(41),qa=n(118);const Xa=S.a.get("MARKETPLACE_WEB_URL","");function $a(e){const t=[];return e.description&&t.push(`- Description: ${e.description}`),e.rarity&&t.push(`- Rarity: ${e.rarity}`),e.data.category&&t.push(`- Category: ${e.data.category}`),`**${e.name}**\n${t.join("\n")}\n![](${Object(at.K)(e)})\n[Link to editor](${window.location.origin}${Va.a.itemEditor({itemId:e.id})})`}function Ka(e,t){return"The collection has been "+(e?null!==t&&void 0!==t&&t.avatars[0].name?`assigned to <a target="_blank" href="${Xa}/accounts/${e}">${t.avatars[0].name}</a>`:`assigned to ${e}`:"unassigned.")}var Za=n(474),Ja=n(417),ei=n(82),ti=n(387),ni=n(552),oi=n(302),ai=n(287);function ii(e){return e.startsWith("Qm")}function ri(e){return Object.values(e.contents).some((e=>ii(e)))}async function si(e,t){const n=Object.fromEntries(Object.entries(e).filter((e=>{let[t,n]=e;return ii(n)}))),o=await t.fetchContents(n),a=await Object(ai.b)(o);return Object.fromEntries(Object.keys(n).map((e=>[e,{hash:a[e],content:o[e]}])))}async function ci(e,t,n){const o=await Object(ai.b)(t),a={};for(const u in e.contents)o[u]&&e.contents[u]===o[u]||(a[u]=e.contents[u]);const i=await n.fetchContents(a),r={...t,...i},s={...o,...a};let c=0;if(!r[$o.g])try{c=(await Object(at.q)(e,{thumbnail:r[$o.t]})).size}catch(d){console.error(d)}const l=function(e,t){const n=[...new Set(Object.values(e))],o=Object.keys(e).reduce(((t,n)=>(t[e[n]]=n,t)),{});return n.map((e=>t[o[e]]))}(s,r);return c+di(l)}function li(e){return di([e])}function di(e){return e.reduce(((e,t)=>t.size+e),0)}function ui(e,t,n){const o=Object.keys(n),{index:a,proof:i}=e.proofs[t];return{index:a,proof:i,hashingKeys:o,entityHash:t}}function pi(e,t){if(!e.contractAddress||!t.tokenId)throw new Error("You need the collection and item to be published");return{id:Object(At.b)(e.contractAddress,t.tokenId),name:t.name,description:t.description,collectionAddress:e.contractAddress,rarity:t.rarity,i18n:[{code:nt.Locale.EN,text:t.name}],data:{replaces:t.data.replaces,hides:t.data.hides,..."removesDefaultHiding"in t.data?{removesDefaultHiding:t.data.removesDefaultHiding}:{},tags:t.data.tags,category:t.data.category,representations:t.data.representations},image:$o.g,thumbnail:$o.t,metrics:t.metrics}}function mi(e,t){if(!e.contractAddress||!t.tokenId)throw new Error("You need the collection and item to be published");return{id:Object(At.b)(e.contractAddress,t.tokenId),name:t.name,description:t.description,collectionAddress:e.contractAddress,rarity:t.rarity,i18n:[{code:nt.Locale.EN,text:t.name}],emoteDataADR74:{category:t.data.category,representations:t.data.representations,tags:t.data.tags,loop:t.data.loop},image:$o.g,thumbnail:$o.t,metrics:at.a}}async function bi(e){const t={...e.contents};if(!e.contents[$o.g]){const n=await Object(at.p)(e);t[$o.g]=n.hash}return $o.v in t&&delete t[$o.v],t}async function hi(e,t,n,o,a){const i=await async function(e,t){const[n,o]=await Promise.all([t.fetchContents(e.contents),e.contents[$o.g]?null:Object(at.q)(e)]);return n[$o.g]=null!==o&&void 0!==o?o:n[$o.g],$o.v in n&&delete n[$o.v],n}(n,e),r=await Object(ai.c)(i);let s;const c=Object($o.x)(n);return s=c?mi(t,n):o&&a?function(e,t,n){if(!e.urn)throw new Error("Item does not have URN");const o={id:e.urn,name:e.name,description:e.description,i18n:[{code:nt.Locale.EN,text:e.name}],data:{replaces:e.data.replaces,hides:e.data.hides,..."removesDefaultHiding"in e.data?{removesDefaultHiding:e.data.removesDefaultHiding}:{},tags:e.data.tags,category:e.data.category,representations:e.data.representations},image:$o.g,thumbnail:$o.t,metrics:e.metrics,content:e.contents};return{...o,merkleProof:ui(n,t,o)}}(n,a,o):pi(t,n),Object(ni.buildEntity)({type:c?nt.EntityType.EMOTE:nt.EntityType.WEARABLE,pointers:[s.id],metadata:s,files:r,timestamp:Date.now()})}async function fi(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$o.d.V1;const o=await bi(t),a=Object.keys(o).map((e=>({file:e,hash:o[e]}))),i=Object($o.x)(t)?mi(e,t):pi(e,t);return n===$o.d.V0?(await Object(oi.calculateMultipleHashesADR32LegacyQmHash)(a,i)).hash:(await Object(oi.calculateMultipleHashesADR32)(a,i)).hash}var yi=n(404);const _i="[Request] Subscribe to newsletter";let gi;!function(e){e.LOADING="loading",e.RESCUE="rescue",e.CONSUME_TP_SLOTS="consume_tp_slots",e.DEPLOY="deploy",e.DEPLOY_TP="deploy_third_party",e.DEPLOYING_TP="deploying_third_party",e.APPROVE="approve",e.SUCCESS="success",e.ERROR="error"}(gi||(gi={}));var ji=n(76),Oi=n(189);function*vi(e,t){function*n(e){const t=yield Object(eo.select)(ti.d),n=yield Object(eo.select)(ei.b,e.id);yield function*(e,t){const n=yield Object(eo.select)(I.getAddress);if(!Object(We.u)(e,n))return;t.some((e=>!e.tokenId))&&(yield Object(eo.put)(Object(ot.Lb)(e,t)))}(e,n),e.forumLink||(yield Object(eo.put)(Object(Be.l)(e,function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=window.location.origin+Va.a.itemEditor({collectionId:e.id});return{title:`Collection '${e.name}' created by ${n||Object(qa.e)(e.owner)} is ready for review!`,raw:`# ${e.name}\n\n  [View entire collection](${o})\n    \n  ## Wearables\n\n  ${t.map($a).join("\n\n")}`}}(e,n,t||""))))}function*o(e,t){const n=Object(Ha.getChainIdByNetwork)(nt.Network.MATIC),o=Object(Ba.getContract)(Ba.ContractName.Committee,n),{abi:a}=Object(Ba.getContract)(Ba.ContractName.ERC721CollectionV2,n),i=new Ma.Contract(e.contractAddress,a),r=Object(Ba.getContract)(Ba.ContractName.CollectionManager,n),s=Object(Ba.getContract)(Ba.ContractName.Forwarder,n),c=yield Object(eo.call)(Qa,i.populateTransaction.setApproved(t));return yield Object(eo.call)(za.sendTransaction,o,(t=>t.manageCollection(r.address,s.address,e.contractAddress,[c])))}function*a(e){return(yield Object(eo.select)(ei.h)).filter((t=>t.collectionId===e.id))}function*i(t){const n=[],o=[],i=yield Object(eo.select)(ei.e),r=yield a(t);for(const a of r){const r=i[a.id];if(!r||!Object(at.j)(a,r)){const i=yield Object(eo.call)(hi,e,t,a,void 0,void 0);n.push(a),o.push(i)}}return{itemsToDeploy:n,entitiesToDeploy:o}}yield Object(eo.takeEvery)(He.h,(function*(t){const{address:n,params:o,useCachedResults:a}=t.payload;try{if(a){const e=yield Object(eo.select)(ji.h);if(De()(o,e)){const e=yield Object(eo.select)(ji.f),t=yield Object(eo.select)(ji.k);return void(yield Object(eo.put)(Object(He.R)(Object.values(e),t?Object(We.z)(t):void 0,o)))}}const t=yield Object(eo.call)([e,"fetchCollections"],n,o);if(function(e){return void 0!==e.results}(t)){const{results:e,limit:n,page:a,pages:i,total:r}=t;yield Object(eo.put)(Object(He.R)(e,{limit:n,page:a,pages:i,total:r},o))}else yield Object(eo.put)(Object(He.R)(t,void 0,o))}catch(i){yield Object(eo.put)(Object(He.P)(i.message))}})),yield Object(eo.takeEvery)(He.k,(function*(t){const{id:n}=t.payload;try{const t=yield Object(eo.call)([e,"fetchCollection"],n);yield Object(eo.put)(Object(He.O)(n,t))}catch(o){yield Object(eo.put)(Object(He.M)(n,o.message))}})),yield Object(eo.takeLatest)(He.i,(function*(){let e=yield Object(eo.select)(ei.q);0===e.length&&(yield Object(eo.take)(ot.q),e=yield Object(eo.select)(ei.q));try{const e=yield Object(eo.select)(ji.p);for(const t of e)t.isPublished&&(yield n(t))}catch(t){console.error(t)}})),yield Object(eo.takeEvery)(ot.k,(function*(e){const{paginationIndex:t}=e.payload;try{const e=yield Object(eo.select)(ji.b,t);e.isPublished&&(yield n(e))}catch(o){console.error(o)}})),yield Object(eo.takeEvery)(He.y,(function*(t){const{collection:n}=t.payload;try{if(!Object(at.Z)(n.name))throw new Error(yield Object(eo.call)(ta.t,"sagas.collection.invalid_character"));if(Object(We.s)(n))throw new Error(yield Object(eo.call)(ta.t,"sagas.collection.collection_locked"));let t="";if(Object(We.l)(n)===Oi.b.STANDARD){const e=yield Object(eo.select)((e=>Object(ei.b)(e,n.id))),o=yield Object(eo.select)(I.getAddress),a=Object(Ha.getChainIdByNetwork)(nt.Network.MATIC),i=Object(ji.m)(a),{abi:r}=Object(Ba.getContract)(Ba.ContractName.ERC721CollectionV2,a),s=yield Object(eo.call)(Ha.getNetworkProvider,a),c=new Ma.Contract(Da.constants.AddressZero,r,new Da.providers.Web3Provider(s));t=yield Object(eo.call)(Qa,c.populateTransaction.initialize(n.name,Object(We.k)(n),Object(We.h)(),o,!0,!1,i.address,Object(at.db)(e)))}const o=yield Object(eo.call)([e,"saveCollection"],n,t),a={...n,...o};yield Object(eo.put)(Object(He.fb)(a))}catch(o){yield Object(eo.put)(Object(He.db)(n,o.message))}})),yield Object(eo.takeLatest)(He.z,(function*(e){const t=yield Object(eo.select)(N.getOpenModals);if(t.CreateCollectionModal||t.CreateThirdPartyCollectionModal){const{collection:t}=e.payload,n=Object(We.v)(t)?Va.a.thirdPartyCollectionDetail:Va.a.collectionDetail;yield Object(eo.put)(Object(Fe.e)(n(t.id)))}yield Object(eo.put)(Object(bo.closeModal)("CreateCollectionModal")),yield Object(eo.put)(Object(bo.closeModal)("CreateThirdPartyCollectionModal")),yield Object(eo.put)(Object(bo.closeModal)("EditCollectionURNModal")),yield Object(eo.put)(Object(bo.closeModal)("EditCollectionNameModal"))})),yield Object(eo.takeLatest)(ot.J,(function*(e){const{item:t}=e.payload;if(t.collectionId&&!t.isPublished){const e=yield Object(eo.select)(ji.b,t.collectionId);yield Object(eo.put)(Object(He.eb)(e))}})),yield Object(eo.takeLatest)(ot.M,(function*(e){const{items:t}=e.payload;if(t.length>0&&t[0].collectionId){const e=yield Object(eo.select)(ji.b,t[0].collectionId);yield Object(eo.put)(Object(He.eb)(e))}})),yield Object(eo.takeEvery)(He.e,(function*(t){const{collection:n}=t.payload;try{yield Object(eo.call)((()=>e.deleteCollection(n.id))),yield Object(eo.put)(Object(He.L)(n));(yield Object(eo.select)(Za.a))===n.id&&(yield Object(eo.put)(Object(Fe.f)(Va.a.collections())))}catch(o){yield Object(eo.put)(Object(He.J)(n,o.message))}})),yield Object(eo.takeEvery)(He.s,(function*(t){const{items:n,email:o,subscribeToNewsletter:a}=t.payload;if(a){const e=n.some((e=>e.type===$o.m.EMOTE)),t=n.some((e=>e.type===$o.m.WEARABLE));yield Object(eo.put)(((e,t)=>Object(K.action)(_i,{email:e,source:t}))(o,e&&t?"Builder Emotes & Wearables creator":e?"Builder Emotes creator":"Builder Wearables creator"))}let{collection:i}=t.payload;try{if(!Object(We.s)(i)){yield Object(eo.put)(Object(He.eb)(i));const e=yield Object(eo.race)({success:Object(eo.take)(He.z),failure:Object(eo.take)(He.x)});if(!e.success)throw new Error(e.failure.payload.error);i=e.success.payload.collection}if(!i.salt)throw new Error(yield Object(eo.call)(ta.t,"sagas.item.missing_salt"));const t=yield Object(eo.call)([e,"fetchCollectionItems"],i.id);if(t.length!==n.length)throw new Error(`${We.d} Different items length`);t.forEach((e=>{if(!n.find((t=>t.id===e.id)))throw new Error(`${We.d} Item found in the server but not in the browser`)}));for(const e of n)if(ri(e)){yield Object(eo.put)(Object(ot.Db)(e,{}));const t=yield Object(eo.race)({success:Object(eo.take)(ot.J),failure:Object(eo.take)(ot.H)});if(t.failure)throw new Error(t.failure.payload.error)}const a=yield Object(eo.select)(I.getAddress),r=yield Object(eo.call)(Ha.getChainIdByNetwork,nt.Network.MATIC),s=Object(Ba.getContract)(Ba.ContractName.Forwarder,r),c=Object(We.j)(r),l=Object(Ba.getContract)(Ba.ContractName.CollectionManager,r);yield Object(eo.retry)(10,500,e.saveTOS,i,o);const d=yield Object(eo.call)(za.sendTransaction,l,(e=>e.createCollection(s.address,c.address,i.salt,i.name,Object(We.k)(i),Object(We.h)(),a,Object(at.db)(n)))),u=yield Object(eo.retry)(10,500,e.lockCollection,i);i={...i,lock:+new Date(u)},yield Object(eo.put)(Object(He.Z)(i,n,r,d))}catch(r){const e=(null===r||void 0===r?void 0:r.code)===Ba.ErrorCode.HIGH_CONGESTION?"":r.message;yield Object(eo.put)(Object(He.X)(i,n,e))}})),yield Object(eo.takeEvery)(He.E,(function*(e){const{collection:t,accessList:n}=e.payload;try{const e=Object(Ha.getChainIdByNetwork)(nt.Network.MATIC),o=[],a=[],i=new Set(t.minters);for(const{address:t,hasAccess:c}of n)o.push(t),a.push(c),c?i.add(t):i.delete(t);const r={...Object(Ba.getContract)(Ba.ContractName.ERC721CollectionV2,e),address:t.contractAddress},s=yield Object(eo.call)(za.sendTransaction,r,(e=>e.setMinters(o,a)));yield Object(eo.put)(Object(He.lb)(t,Array.from(i),e,s)),yield Object(eo.put)(Object(Fe.f)(Va.a.activity()))}catch(o){yield Object(eo.put)(Object(He.jb)(t,n,o.message))}})),yield Object(eo.takeEvery)(He.B,(function*(e){const{collection:t,accessList:n}=e.payload;try{const e=Object(Ha.getChainIdByNetwork)(nt.Network.MATIC),o=[],a=[],i=new Set(t.managers);for(const{address:t,hasAccess:c}of n)o.push(t),a.push(c),c?i.add(t):i.delete(t);const r={...Object(Ba.getContract)(Ba.ContractName.ERC721CollectionV2,e),address:t.contractAddress},s=yield Object(eo.call)(za.sendTransaction,r,(e=>e.setManagers(o,a)));yield Object(eo.put)(Object(He.ib)(t,Array.from(i),e,s)),yield Object(eo.put)(Object(Fe.f)(Va.a.activity()))}catch(o){yield Object(eo.put)(Object(He.gb)(t,n,o.message))}})),yield Object(eo.takeEvery)(He.p,(function*(e){const{collection:t,mints:n}=e.payload;try{const e=Object(Ha.getChainIdByNetwork)(nt.Network.MATIC),o=[],a=[];for(const t of n){const e=t.address;for(let n=0;n<t.amount;n++)o.push(e),a.push(t.item.tokenId)}const i={...Object(Ba.getContract)(Ba.ContractName.ERC721CollectionV2,e),address:t.contractAddress},r=yield Object(eo.call)(za.sendTransaction,i,(e=>e.issueTokens(o,a)));yield Object(eo.put)(Object(He.W)(t,n,e,r)),yield Object(eo.put)(Object(bo.closeModal)("MintItemsModal")),yield Object(eo.put)(Object(Fe.f)(Va.a.activity()))}catch(o){yield Object(eo.put)(Object(He.U)(t,n,o.message))}})),yield Object(eo.takeEvery)(He.b,(function*(e){const{collection:t}=e.payload;try{const e=yield o(t,!0);yield Object(eo.put)(Object(He.I)(t,Object(Ha.getChainIdByNetwork)(nt.Network.MATIC),e))}catch(n){yield Object(eo.put)(Object(He.G)(t,n.message))}})),yield Object(eo.takeEvery)(He.v,(function*(e){const{collection:t}=e.payload;try{const e=(yield Ya()).networks.MATIC.chainId,n=yield o(t,!1);yield Object(eo.put)(Object(He.cb)(t,e,n))}catch(n){yield Object(eo.put)(Object(He.ab)(t,n.message))}})),yield Object(eo.takeLatest)(Ue.FETCH_TRANSACTION_SUCCESS,(function*(e){const t=e.payload.transaction;try{switch(t.actionType){case He.t:{const e=t.payload.collection.id,o=yield Object(eo.select)((t=>Object(ji.b)(t,e)));yield n(o);break}}}catch(o){console.error(o)}})),yield Object(eo.takeLatest)(He.m,(function*(e){const{collection:t}=e.payload;try{if(!t.isPublished)throw new Error("The collection can't be approved because it's not published");const e={view:gi.LOADING,collection:t};yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",e));const n=[],o=[];let r=yield a(t);r.some((e=>!e.tokenId))&&(yield Object(eo.put)(Object(ot.Lb)(t,r)),yield Object(eo.take)(ot.Q),r=yield a(t));for(const a of r)if(!a.currentContentHash||Object($o.x)(a)){const e=yield Object(eo.call)(fi,t,a,$o.d.V0),i=yield Object(eo.call)(fi,t,a,$o.d.V1);e!==a.blockchainContentHash&&i!==a.blockchainContentHash&&(n.push(a),o.push(i))}else a.currentContentHash!==a.blockchainContentHash&&(n.push(a),o.push(a.currentContentHash));if(n.length>0){const e={view:gi.RESCUE,collection:t,items:n,contentHashes:o};yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",e));const{success:a,failure:i,cancel:r}=yield Object(eo.race)({success:Object(eo.take)(ot.D),failure:Object(eo.take)(ot.B),cancel:Object(eo.take)(bo.CLOSE_MODAL)});if(a)yield function*(e,t,n){const o=new Map;for(let r=0;r<e.length;r++)o.set(e[r].id,t[r]);let a=!1;const i=e.map((e=>e.id));for(;!a;){yield Object(eo.delay)(1e3),yield Object(eo.put)(Object(ot.eb)(n)),yield Object(eo.race)({success:Object(eo.take)(ot.k),failure:Object(eo.take)(ot.i)});const e=yield Object(eo.select)(ei.c);a=i.every((t=>e[t].blockchainContentHash===o.get(t)))}}(n,o,t.id);else{if(i)throw new Error(i.payload.error);if(r)return}}const{itemsToDeploy:s,entitiesToDeploy:c}=yield Object(eo.call)(i,t);if(s.length>0){const e={view:gi.DEPLOY,collection:t,items:s,entities:c};yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",e));const{failure:n,cancel:o}=yield Object(eo.race)({success:Object(eo.take)(vt),failure:Object(eo.take)(Ct),cancel:Object(eo.take)(bo.CLOSE_MODAL)});if(n)throw new Error(n.payload.error);if(o)return}if(t.isApproved){const e=(yield Object(eo.select)(yi.b))[t.id];if(e&&e.status===Xe.b.PENDING){yield Object(eo.put)(Object($e.t)(e.collectionId));const{failure:n}=yield Object(eo.race)({success:Object(eo.take)($e.c),failure:Object(eo.take)($e.a)});if(n){const e={view:gi.ERROR,collection:t,error:n.payload.error};return void(yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",e)))}}}else{const e={view:gi.APPROVE,collection:t};yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",e));const{failure:n,cancel:o}=yield Object(eo.race)({success:Object(eo.take)(He.c),failure:Object(eo.take)(He.a),cancel:Object(eo.take)(bo.CLOSE_MODAL)});if(n)throw new Error(n.payload.error);if(o)return}yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",{view:gi.SUCCESS,collection:t}))}catch(n){const e={view:gi.ERROR,collection:t,error:n.message};yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",e))}})),yield Object(eo.takeLatest)(He.n,(function*(n){const{collection:o}=n.payload;try{if(!o.isPublished)throw new Error("The collection can't be approved because it's not published");yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",{view:gi.LOADING,collection:o}));const n=yield Object(eo.select)(ei.m,o.id),a=50,i=10,r=Object(Ja.c)(Math.ceil(n.total/a)),s=new La.a({concurrency:i}),c=r.map((t=>()=>e.fetchCollectionItems(o.id,{page:t,limit:a,status:Xe.b.PENDING}))),l=(yield s.addAll(c)).flatMap((e=>e.results));if(!l.length)throw Error("Error fetching items to approve");const{cheque:d,content_hashes:u,chequeWasConsumed:p,root:m}=yield Object(eo.call)([e,"fetchApprovalData"],o.id),b=Object(Ua.generateTree)(Object.values(u)),h=l.filter((e=>!e.isApproved)).length;if(d.qty<h)throw Error("Invalid qty of items to approve in the cheque");if(m!==b.merkleRoot){const{r:e,s:n,v:a}=Fa.ethers.utils.splitSignature(d.signature),i={qty:d.qty,salt:d.salt,sigR:e,sigS:n,sigV:a},r={view:gi.CONSUME_TP_SLOTS,items:l,collection:o,merkleTreeRoot:b.merkleRoot,slots:p?[]:[i]};yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",r));const{failure:s,cancel:c}=yield Object(eo.race)({success:Object(eo.take)(ze.u),failure:Object(eo.take)(ze.s),cancel:Object(eo.take)(bo.CLOSE_MODAL)});if(s)throw new Error(s.payload.error);if(c)return;yield function*(e,n){for(let o=0;o<160;o++){if((yield Object(eo.call)([t,"getThirdParty"],e)).root===n)return;yield Object(eo.delay)(1e3)}throw new Error("The Merkle Root was not set in time")}(Object(At.g)(o.urn),b.merkleRoot)}if(l.length>0){const e={view:gi.DEPLOY_TP,collection:o,tree:b,items:l,hashes:u};yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",e));const{failure:t,cancel:n}=yield Object(eo.race)({success:Object(eo.take)(ze.c),failure:Object(eo.take)(ze.a),cancel:Object(eo.take)(bo.CLOSE_MODAL)});if(t)throw new Error(t.payload.errorMessage);if(n)return}yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",{view:gi.SUCCESS,collection:o}))}catch(a){const e={view:gi.ERROR,collection:o,error:a.message};yield Object(eo.put)(Object(bo.openModal)("ApprovalFlowModal",e))}}))}function*Ci(e){yield Object(eo.takeLatest)(Qo.CONNECT_WALLET_SUCCESS,xi),yield Object(eo.takeEvery)(Qe.b,(function*(){try{const t=(yield Object(eo.call)((()=>e.fetchCommittee()))).map((e=>e.address));yield Object(eo.put)(Object(Qe.f)(t))}catch(t){yield Object(eo.put)(Object(Qe.d)(t.message))}}))}function*xi(){yield Object(eo.put)(Object(Qe.e)())}var wi=n(127);const Ei=44640;function*Si(){if(yield Object(eo.select)((e=>!Object(V.d)(e)))){yield Object(eo.put)(Object(bo.openModal)("WalletLoginModal"));if((yield Ai($.g,$.e)).success)return yield Object(eo.delay)(1e3),yield Si()}return yield Object(eo.select)(V.a)}function Ai(e,t){return Object(eo.race)({success:Object(eo.take)(e),failure:Object(eo.take)(t)})}var Ti=n(81),Ri=n(72),ki=n(48);const Ni=e=>e.media,Pi=e=>Ni(e).media,Ii=e=>Ni(e).progress,Li=Object(ki.a)(Pi,Ii,((e,t)=>!e&&t>0));var Mi=n(249),Di=n(182),Fi=n(256),Ui=n(376);const Bi=e=>t=>{const{loaded:n,total:o}=t,a=n/o*100|0;Xl.dispatch(Object(M.L)(e,a))};function*zi(e,t){function*n(t,n,o,a,i){const r=(yield Object(eo.select)(co.c))[o];if(!r)return void(yield Object(eo.put)(t("Unable to Publish: Invalid project")));const s=yield Object(eo.call)(Di.g,r.id);if(s){if(s.sdk6){const o=yield Object(eo.call)(Si);if(!o)return void(yield Object(eo.put)(t("Unable to Publish: Invalid identity")));const c=yield Object(eo.select)(ti.d);let l=null;if(yield Object(eo.select)(V.d)){const t=yield Object(eo.select)(Pi);if(t){const[n,o,a,i,s]=yield Object(eo.all)([Object(eo.call)(Wo.h,t.north),Object(eo.call)(Wo.h,t.east),Object(eo.call)(Wo.h,t.south),Object(eo.call)(Wo.h,t.west),Object(eo.call)(Wo.h,t.preview)]);yield Object(eo.call)([e,"uploadMedia"],r.id,s,{north:n,east:o,south:a,west:i},Bi(H.b.UPLOAD_RECORDING)),l=Object(ne.e)(r.id)}else console.warn("Failed to upload scene preview")}const d=yield Object(eo.call)(Mi.d,{project:r,scene:s.sdk6,point:a.point,rotation:a.rotation,author:c,thumbnail:l,isDeploy:!0,onProgress:Bi(H.b.CREATE_FILES),world:i}),u=yield Object(eo.call)(ai.c,d),p=JSON.parse(d[Mi.a.SCENE_FILE]),{entityId:m,files:b}=yield Object(eo.call)(ni.buildEntity,{type:nt.EntityType.SCENE,pointers:[...p.scene.parcels],metadata:p,files:u}),h=oe.Authenticator.signPayload(o,m);yield Object(eo.call)([n,"deploy"],{entityId:m,files:b,authChain:h});return{id:m,placement:a,owner:yield Object(eo.select)(I.getAddress)||"",timestamp:+new Date,layout:r.layout,name:r.title,thumbnail:l,projectId:r.id,base:p.scene.base,parcels:p.scene.parcels,world:i}}{const o=yield Object(eo.call)(Si);if(!o)return void(yield Object(eo.put)(t("Unable to Publish: Invalid identity")));const c=yield Object(eo.select)(I.getAddress),l=yield Object(eo.select)(ti.d),d={};d["bin/index.js"]=yield Object(eo.call)([e,"fetchMain"],r.id),d["main.crdt"]=yield Object(eo.call)([e,"fetchCrdt"],r.id);for(const t of Object.keys(s.sdk7.mappings)){const n=s.sdk7.mappings[t],o=yield Object(eo.call)([e,"fetchContent"],n);d[t]=o}let u=null;const p=yield Object(eo.select)(Pi);if(p){const t=yield Object(eo.call)(Wo.h,p.preview);yield Object(eo.call)([e,"uploadMedia"],r.id,t,{north:t,east:t,south:t,west:t},Bi(H.b.UPLOAD_RECORDING)),d["scene-thumbnail.png"]=t,u=Object(ne.e)(r.id)}else console.warn("Failed to upload scene preview");const m=Object(Ui.c)(r.layout,a.point,a.rotation),b=m.reduce(((e,t)=>t.x<=e.x&&t.y<=e.y?t:e),m[0]),h=e=>{let{x:t,y:n}=e;return`${t},${n}`},f={allowedMediaHostnames:[],owner:c||"",main:"bin/index.js",contact:{name:l||"",email:""},display:{title:r.title,favicon:"favicon_asset",navmapThumbnail:"scene-thumbnail.png"},tags:[],scene:{base:h(b),parcels:m.map(h)},ecs7:!0,runtimeVersion:"7",source:{version:1,origin:"builder",point:b,projectId:r.id,layout:{rows:r.layout.rows,cols:r.layout.cols}}};i&&(f.worldConfiguration={name:i});const y=yield Object(eo.call)(ai.c,d),{entityId:_,files:g}=yield Object(eo.call)(ni.buildEntity,{type:nt.EntityType.SCENE,pointers:f.scene.parcels,metadata:f,files:y}),j=oe.Authenticator.signPayload(o,_);return yield Object(eo.call)([n,"deploy"],{entityId:_,files:g,authChain:j}),{id:_,placement:a,owner:c,timestamp:+new Date,layout:r.layout,name:r.title,thumbnail:u,projectId:r.id,base:f.scene.base,parcels:f.scene.parcels,world:i}}}yield Object(eo.put)(t("Unable to Publish: Invalid scene"))}function o(e,t){const n=new Map;for(const a of e.sort(((e,t)=>e.timestamp>t.timestamp?1:-1))){const e=t(a);if(e){const[t,i]=Object(Ti.v)(a.pointers[0]),r=a.content,s=a.metadata;let c="Untitled Scene";s&&s.display&&s.display.title&&"interactive-text"!==s.display.title&&(c=s.display.title);const l=Object(Fi.g)(s,r),d={point:{x:t,y:i},rotation:s&&s.source&&s.source.rotation||"north"},u=s&&s.source&&s.source.projectId||null,p=s&&s.source&&s.source.layout||null,{base:m,parcels:b}=s.scene;var o;if(!!(s&&s.source&&s.source.isEmpty))n.delete(e);else n.set(e,{id:a.id,timestamp:a.timestamp,projectId:u,name:c,thumbnail:l,placement:d,owner:s.owner,layout:p,base:m,parcels:b,world:null===(o=s.worldConfiguration)||void 0===o?void 0:o.name})}}return Array.from(n.values())}yield Object(eo.takeLatest)(M.h,(function*(t){const{projectId:n,additionalInfo:o}=t.payload,a=yield Object(eo.select)(co.b);if(a&&a.id===n){const{thumbnail:t,...n}=a;try{yield Object(eo.put)(Object(M.L)(H.b.NONE,1)),yield Object(eo.put)(Dt());const t=yield Object(eo.take)(Ft),{north:i,east:r,south:s,west:c,preview:l}=t.payload.media;if(!i||!r||!s||!c||!l)throw new Error("Failed to capture scene preview");yield Object(eo.put)(Object(M.L)(H.b.NONE,30)),yield Object(eo.call)((()=>e.uploadMedia(a.id,l,{north:i,east:r,south:s,west:c}))),yield Object(eo.put)(Object(M.L)(H.b.NONE,60)),yield Object(eo.put)(Object(U.nb)()),yield Object(eo.put)(Object(M.L)(H.b.NONE,90)),yield Object(eo.call)((()=>e.deployToPool(n.id,o))),yield Object(eo.put)(Object(M.L)(H.b.NONE,100)),yield Object(eo.put)(Object(M.B)(window.URL.createObjectURL(l)))}catch(i){yield Object(eo.put)(Object(M.z)(i.message))}}else a?yield Object(eo.put)(Object(M.z)("Unable to Publish: Not current project")):yield Object(eo.put)(Object(M.z)("Unable to Publish: Invalid project"))})),yield Object(eo.takeLatest)(M.e,(function*(e){const{placement:o,projectId:a,overrideDeploymentId:i}=e.payload;try{const e=yield Object(eo.call)([t,"getContentClient"]),r=yield Object(eo.call)(n,M.w,e,a,o);yield Object(eo.put)(Object(M.y)(r,i))}catch(r){yield Object(eo.put)(Object(M.w)(r.message.split("\n")[0]))}})),yield Object(eo.takeLatest)(M.b,(function*(e){const{deploymentId:n}=e.payload,o=(yield Object(eo.select)(wi.c))[n];if(!o)return void(yield Object(eo.put)(Object(M.w)("Unable to Publish: Invalid deployment")));let a;a=o.world?Object(E.createContentClient)({url:S.a.get("WORLDS_CONTENT_SERVER",""),fetcher:Object(w.createFetchComponent)()}):yield Object(eo.call)([t,"getContentClient"]);const i=yield Si();if(!i)return void(yield Object(eo.put)(Object(M.w)("Unable to Publish: Invalid identity")));try{var r;const{placement:e}=o,[t,s]=Object(Fi.e)(o.projectId||Fi.a),c=yield Object(eo.call)(Mi.d,{project:t,scene:s,point:e.point,rotation:e.rotation,thumbnail:Object(ne.d)(),author:null,isDeploy:!0,isEmpty:!0,onProgress:Bi(H.b.CREATE_FILES),world:null!==(r=o.world)&&void 0!==r?r:void 0}),l=yield Object(eo.call)(ai.c,c),d=JSON.parse(c[Mi.a.SCENE_FILE]),{entityId:u,files:p}=yield Object(eo.call)(ni.buildEntity,{type:nt.EntityType.SCENE,pointers:[...d.scene.parcels],metadata:d,files:l}),m=oe.Authenticator.signPayload(i,u);yield Object(eo.call)([a,"deploy"],{entityId:u,files:p,authChain:m}),yield Object(eo.put)(Object(M.v)(n))}catch(s){yield Object(eo.put)(Object(M.t)(n,s.message))}})),yield Object(eo.takeLatest)(M.n,(function*(e){const{coords:n}=e.payload;try{let e=[];if(n.length>0){const o=yield Object(eo.call)([t,"getContentClient"]);e=yield Object(eo.call)([o,"fetchEntitiesByPointers"],n)}const a=e=>e.pointers[0];yield Object(eo.put)(Object(M.H)(n,o(e,a)))}catch(a){yield Object(eo.put)(Object(M.F)(n,a.message))}})),yield Object(eo.takeLatest)(kt.k,(function*(e){const t=[];for(const n of e.payload.lands)switch(n.type){case Ri.a.PARCEL:t.push(Object(Ti.f)(n.x,n.y));break;case Ri.a.ESTATE:{const e=yield Object(eo.select)(jo.b);if(n.id in e)for(const o of e[n.id])t.push(o)}}yield Object(eo.put)(Object(M.G)(t))})),yield Object(eo.takeLatest)(M.k,(function*(e){const{world:t,projectId:o}=e.payload,a=Object(E.createContentClient)({url:S.a.get("WORLDS_CONTENT_SERVER",""),fetcher:Object(w.createFetchComponent)()});try{const e=yield Object(eo.call)(n,M.C,a,o,{point:{x:0,y:0},rotation:"north"},t);yield Object(eo.put)(Object(dt.X)(t)),yield Object(eo.put)(Object(M.J)([t])),yield Object(eo.put)(Object(M.E)(e))}catch(i){yield Object(eo.put)(Object(M.C)(i.message.split("\n")[0]))}})),yield Object(eo.takeLatest)(M.q,(function*(e){const{worlds:t}=e.payload,n=Object(E.createContentClient)({url:S.a.get("WORLDS_CONTENT_SERVER",""),fetcher:Object(w.createFetchComponent)()});try{const e=[];if(t.length>0)for(const o of t){const t=yield Object(eo.call)([n,"fetchEntitiesByPointers"],[o]);e.push(t[0])}const a=e=>e.id;yield Object(eo.put)(Object(M.K)(t,o(e,a)))}catch(a){yield Object(eo.put)(Object(M.I)(t,a.message))}}))}var Hi=n(70);const Wi="Bind keyboard shortcuts",Gi="Unbind keyboard shortcuts";var Yi=n(89),Qi=n(83),Vi=n(184),qi=n(202),Xi=n(373),$i=n(170);const Ki=5e6,Zi="thumbnail.png";async function Ji(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n={...e,assets:[]},o={};for(const a of e.assets){const{contents:e,thumbnail:i}=a,r=t.includes(a.id);o[a.id]={};const s={...a,contents:{}};s.contents=r?a.contents:await Object($i.f)(a);for(const t of Object.keys(s.contents)){const n=s.contents[t];r||(o[a.id][n]=e[t])}if(Object(Wo.f)(i)){const e=Object(Wo.d)(i),t=await Object(Wo.b)(e,Zi);s.thumbnail=Object(ne.c)(t),s.model=`${a.assetPackId}/${a.model}`,o[a.id][t]=e}n.assets.push(s)}return[n,o]}var er=n(654),tr=n(96),nr=n(730),or=n(345);const ar=window;function*ir(){yield Object(eo.takeLatest)(U.a,sr),yield Object(eo.takeLatest)(U.H,cr),yield Object(eo.takeLatest)(U.i,_r),yield Object(eo.takeLatest)(U.b,gr),yield Object(eo.takeLatest)(L.l,ur),yield Object(eo.takeLatest)(U.d,pr),yield Object(eo.takeLatest)(U.e,pr),yield Object(eo.takeLatest)(U.v,jr),yield Object(eo.takeLatest)(U.E,Or),yield Object(eo.takeLatest)(U.I,vr),yield Object(eo.takeLatest)(U.J,Cr),yield Object(eo.takeLatest)(U.k,Er),yield Object(eo.takeLatest)(U.B,Sr),yield Object(eo.takeLatest)(L.e,Ar),yield Object(eo.takeLatest)(U.C,Tr),yield Object(eo.takeLatest)(U.o,xr),yield Object(eo.takeLatest)(U.z,Rr),yield Object(eo.takeLatest)(U.G,kr),yield Object(eo.takeLatest)(U.j,Nr),yield Object(eo.takeLatest)(U.c,lr),yield Object(eo.takeLatest)(U.m,Ir),yield Object(eo.takeLatest)(U.g,Lr)}function*rr(e){yield function*(e){let t,n;do{n=Object.values(e.entities).length,t=yield Object(eo.select)(Yi.f),yield Object(eo.delay)(300)}while(n>0&&0===t.entities);for(;null!==ar.editor.getLoadingEntities();)yield Object(eo.delay)(500)}(e),yield Object(eo.put)(Object(U.X)(!1))}function*sr(){const e=Object(Xi.b)(Xl);yield Object(eo.put)((e=>Object(K.action)(Wi,{shortcuts:e}))(e))}function*cr(){const e=Object(Xi.b)(Xl);yield Object(eo.put)((e=>Object(K.action)(Gi,{shortcuts:e}))(e))}function*lr(e){yield dr(e.payload.project)}function*dr(e){const t={type:"update",payload:{scene:Object(st.l)(e)}};yield Object(eo.call)([ar.editor,"handleMessage"],t),yield Er()}function*ur(e){const{scene:t,init:n}=e.payload;yield mr(t),n||(yield Object(eo.put)(Object(U.nb)()))}function*pr(){const e=yield Object(eo.select)(Yi.g);e.sdk6&&(yield mr(e.sdk6),yield Object(eo.put)(Object(U.nb)()))}function*mr(e){if(ar.editor||(yield Object(eo.take)(U.i)),e){const t=yield Object(eo.select)(tr.j);(yield Object(eo.select)(tr.w))&&(e=Object(st.h)(e)),yield Object(eo.call)((()=>ar.editor.sendExternalAction(Object(U.tb)(e.id,{...e},t))))}}function br(e){const{metrics:t,limits:n}=e,o=Object(Yi.g)(Xl.getState());o&&o.sdk6&&Xl.dispatch(Object(L.L)(o.sdk6.id,t,n))}function hr(e){const t=Object(co.a)(Xl.getState());if(!Object(co.b)(Xl.getState()))return;const n=Object(Yi.g)(Xl.getState());if(n&&n.sdk6){const o=Object(Yi.j)(Xl.getState()),a=[];for(const n of e.transforms){let e={x:0,y:0,z:0};const i=o[n.entityId][Qi.a.Transform];if(!i)continue;t&&(e=Object(Di.k)(n.position,t));const r=Object(st.p)(n.scale);if(i){const t={position:e,rotation:n.rotation,scale:r};if(Object(st.f)(i.data,t))continue;a.push({componentId:i.id,data:t})}else console.warn(`Unable to find Transform component for ${n.entityId}`)}a.length>0&&Xl.dispatch(Object(L.N)(n.sdk6.id,a))}}function fr(e){const{gizmoType:t,entities:n}=e,o=Xl.getState(),a=Object(tr.h)(o),i=Object(tr.t)(o);a!==t&&Xl.dispatch(Object(U.fb)(t));const r=Object(tr.l)(o);let s=r;if(0===n.length)!i&&r.length>0&&(s=[]);else if(i)for(const c of n)s.includes(c)?s=s.filter((e=>e!==c)):s.push(c);else s=n;Xl.dispatch(Object(U.kb)(s))}function yr(){Xl.dispatch(Object(U.Z)(!0))}function*_r(e){const{isReadOnly:t,type:n}=e.payload;yield Object(eo.call)([ar.editor,"on"],"metrics",br),yield Object(eo.call)([ar.editor,"on"],"transform",hr),yield Object(eo.call)([ar.editor,"on"],"ready",yr),yield Object(eo.call)([ar.editor,"on"],"gizmoSelected",fr),yield Object(eo.call)([ar.editor,"on"],"entitiesOutOfBoundaries",Pr);const o=yield n===rt.b.POOL?Object(eo.select)(er.a):Object(eo.select)(co.b);if(o){(yield Object(eo.select)(tr.q))||(yield Object(eo.put)(_e()));const e=yield Object(Di.g)(o.id,n);if(e.sdk6){yield Object(eo.put)(Object(L.A)(e.sdk6));let n=(yield Object(eo.take)(L.h)).payload.scene;const a=yield Object(eo.select)(Ho.d);Object(Hi.isLoadingType)(a,he)&&(yield Object(eo.take)(fe)),yield Object(eo.put)(Object(L.J)(n));n=(yield Object(eo.take)(L.q)).payload.scene,yield Object(eo.put)(Object(U.Y)(t)),yield dr(o),yield Object(eo.call)((()=>ar.editor.sendExternalAction(Object(U.jb)(Object(ne.c)())))),yield mr(n),yield kr(Object(U.rb)(!0)),yield Object(eo.call)((()=>ar.editor.selectGizmo(rt.a.NONE)))}else console.error("Scene is not SDK6")}else console.error(`Unable to Open Editor: Invalid ${n}`)}function*gr(){yield Object(eo.call)((()=>ar.editor.off("metrics",br))),yield Object(eo.call)((()=>ar.editor.off("transform",hr))),yield Object(eo.call)((()=>ar.editor.off("ready",yr))),yield Object(eo.call)((()=>ar.editor.off("gizmoSelected",fr))),yield Object(eo.call)((()=>ar.editor.off("entitiesOutOfBoundaries",Pr)));(yield Object(eo.select)(tr.x))&&(yield Object(eo.call)((()=>ar.editor.sendExternalAction(Object(U.L)())))),yield Object(eo.put)(Object(U.sb)())}function*jr(e){(yield Object(eo.select)(tr.x))&&(yield Object(eo.call)((()=>ar.editor.selectGizmo(e.payload.gizmo))))}function*Or(e){const{editor:t}=ar,{isEnabled:n}=e.payload,o=yield Object(eo.select)(tr.h),a=yield Object(eo.select)(co.b);if(!a)return;const i=a.layout.rows*qi.e/2;if(yield Object(eo.call)((()=>{t.setPlayMode(n),t.sendExternalAction(e),t.selectGizmo(n?rt.a.NONE:o)})),n)t.setCameraPosition({x:i,y:1.5,z:-1}),t.setCameraRotation(0,0);else{const e=yield Object(eo.select)(Yi.b);Object.values(e).some((e=>e.type===Qi.a.Script))&&(yield dr(a),yield Object(eo.call)((()=>ar.editor.sendExternalAction(Object(U.jb)(Object(ne.c)()))))),yield Er();const t=yield Object(eo.select)(Yi.g);t.sdk6?yield mr(t.sdk6):console.error("Scene is not SDK6")}yield wr(!n)}function vr(){ar.editor.setCameraZoomDelta(-5)}function Cr(){ar.editor.setCameraZoomDelta(5)}function*xr(e){const{isReady:t}=e.payload,n=yield Object(eo.select)(co.b);if(n){if(t)try{const e=yield Object(Di.g)(n.id);e.sdk6?yield rr(e.sdk6):console.error("Scene is not SDK6")}catch(o){console.error(o)}yield wr(t)}}function*wr(e){e?yield Object(eo.put)(Object(U.K)()):yield Object(eo.put)(Object(U.sb)())}function*Er(){const e=yield Object(eo.select)(co.b);if(!e)return;const t=e.layout.rows*qi.e/2,n=e.layout.cols*qi.e/2;ar.editor.resetCameraZoom(),ar.editor.setCameraPosition({x:t,y:0,z:n}),ar.editor.setCameraRotation(7*Math.PI/4,Math.PI/6)}function*Sr(){const e=yield Object(eo.select)(tr.p);if(e){const n=function(e){return Object(O.eventChannel)((t=>{const n=e=>{t(e)},o=t=>{e.emote.events.on(t,(()=>n(t)))};return o(nt.PreviewEmoteEventType.ANIMATION_PLAY),o(nt.PreviewEmoteEventType.ANIMATION_PAUSE),o(nt.PreviewEmoteEventType.ANIMATION_END),()=>{e.emote.events.off(nt.PreviewEmoteEventType.ANIMATION_PLAY,n),e.emote.events.off(nt.PreviewEmoteEventType.ANIMATION_PAUSE,n),e.emote.events.off(nt.PreviewEmoteEventType.ANIMATION_END,n)}}))}(e);try{for(;;)try{switch(yield Object(eo.take)(n)){case nt.PreviewEmoteEventType.ANIMATION_PLAY:yield Object(eo.put)(Object(U.bb)(!0));break;case nt.PreviewEmoteEventType.ANIMATION_PAUSE:case nt.PreviewEmoteEventType.ANIMATION_END:yield Object(eo.put)(Object(U.bb)(!1))}}catch(t){yield Object(eo.put)(Object(U.bb)(!1))}}finally{n.close()}}}function*Ar(e){const{asset:t,x:n,y:o}=e.payload;if(t.category===Vi.b){const e=yield Object(eo.select)(co.b);if(!e)return;yield Object(eo.put)(Object(L.H)(e.id,t))}else{const e=yield Object(eo.call)((()=>ar.editor.getMouseWorldPosition(n,o)));yield Object(eo.put)(Object(L.u)(t,e))}}function*Tr(e){yield Object(eo.put)(Object(U.ib)(!1));try{const e=yield Object(eo.select)(co.b);if(!e)return;const t=yield Object(eo.select)(Yi.g);if(!t)return;if(t.sdk6){let t=yield Object(eo.select)(tr.x);for(;!t;){t=(yield Object(eo.take)(U.o)).payload.isReady}let n=yield Object(eo.select)(tr.s);for(;n;){n=(yield Object(eo.take)(U.n)).payload.isLoading}yield Object(eo.delay)(2e3);const o=yield Object(eo.call)((()=>ar.editor.takeScreenshot()));if(!o)return;const a=yield Object(eo.call)((()=>Object(st.o)(o,st.e,st.d)));if(!a)return;yield Object(eo.put)(Object(D.J)(e.id,a))}else{const t=document.getElementById("inspector");if(!t||!t.contentWindow)return;const n=new nr.MessageTransport(window,t.contentWindow),o=new or.CameraClient(n),a=yield Object(eo.call)([o,"takeScreenshot"],+t.width,+t.height),i=yield Object(eo.call)(st.o,a,st.e,st.d);if(!i)return;yield Object(eo.put)(Object(D.J)(e.id,i))}}catch(t){}yield Object(eo.put)(Object(U.ib)(!0))}function*Rr(e){yield Object(eo.call)((()=>{try{ar.editor.setSelectedEntities(e.payload.entityIds)}catch(t){}}))}function*kr(e){yield Object(eo.call)((()=>{e.payload.enabled?ar.editor.setGridResolution(st.a,st.b,st.c):ar.editor.setGridResolution(0,0,0)}))}function*Nr(e){yield Object(eo.call)((()=>{const t=Object.entries(e.payload.asset.contents);for(const[n,o]of t)(n.endsWith(".png")||n.endsWith(".glb")||n.endsWith(".gltf"))&&!n.endsWith(Zi)&&ar.editor.preloadFile(`${o}\t${e.payload.asset.id}/${n}`)}))}function Pr(e){const{entities:t}=e,n=Xl.getState(),o=Object(tr.f)(n);if(0===t.length&&0===o.length)return;Object(tr.v)(n)||Xl.dispatch(Object(U.cb)(t))}function*Ir(e){const t=yield Object(eo.select)(tr.o);yield Object(eo.put)(Object(U.hb)(t))}function*Lr(){try{const e=yield Object(eo.call)(fetch,`${ae.a}/lambdas/collections/wearables?collectionId=urn:decentraland:off-chain:base-avatars`);if(!e.ok)throw new Error("Failed to fetch base wearables");const t=(yield e.json()).wearables.filter((e=>{const t=e.data.hides&&e.data.hides.length>0,n=e.data.replaces&&e.data.replaces.length>0;return!t&&!n})).map(st.j);yield Object(eo.put)(Object(U.R)(t))}catch(e){yield Object(eo.put)(Object(U.P)(e.message))}}var Mr=n(502);const Dr=[{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"resolver",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"label",type:"bytes32"},{name:"owner",type:"address"}],name:"setSubnodeOwner",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"ttl",type:"uint64"}],name:"setTTL",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"ttl",outputs:[{name:"",type:"uint64"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"resolver",type:"address"}],name:"setResolver",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"owner",type:"address"}],name:"setOwner",outputs:[],payable:!1,type:"function"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"label",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"NewOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"resolver",type:"address"}],name:"NewResolver",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"ttl",type:"uint64"}],name:"NewTTL",type:"event"}];class Fr{static createInterface(){return new Da.utils.Interface(Dr)}static connect(e,t){return new Ma.Contract(e,Dr,t)}}Fr.abi=Dr;const Ur=[{constant:!0,inputs:[{internalType:"bytes4",name:"interfaceID",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"pure",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes",name:"data",type:"bytes"}],name:"setDNSRecords",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"string",name:"key",type:"string"},{internalType:"string",name:"value",type:"string"}],name:"setText",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes4",name:"interfaceID",type:"bytes4"}],name:"interfaceImplementer",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"uint256",name:"contentTypes",type:"uint256"}],name:"ABI",outputs:[{internalType:"uint256",name:"",type:"uint256"},{internalType:"bytes",name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"x",type:"bytes32"},{internalType:"bytes32",name:"y",type:"bytes32"}],name:"setPubkey",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes",name:"hash",type:"bytes"}],name:"setContenthash",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"addr",outputs:[{internalType:"address payable",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"target",type:"address"},{internalType:"bool",name:"isAuthorised",type:"bool"}],name:"setAuthorisation",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"name",type:"bytes32"}],name:"hasDNSRecords",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"string",name:"key",type:"string"}],name:"text",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"uint256",name:"contentType",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],name:"setABI",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"string",name:"name",type:"string"}],name:"setName",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"uint256",name:"coinType",type:"uint256"},{internalType:"bytes",name:"a",type:"bytes"}],name:"setAddr",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"name",type:"bytes32"},{internalType:"uint16",name:"resource",type:"uint16"}],name:"dnsRecord",outputs:[{internalType:"bytes",name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"clearDNSZone",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"contenthash",outputs:[{internalType:"bytes",name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"pubkey",outputs:[{internalType:"bytes32",name:"x",type:"bytes32"},{internalType:"bytes32",name:"y",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"a",type:"address"}],name:"setAddr",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes4",name:"interfaceID",type:"bytes4"},{internalType:"address",name:"implementer",type:"address"}],name:"setInterface",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"uint256",name:"coinType",type:"uint256"}],name:"addr",outputs:[{internalType:"bytes",name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"authorisations",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{inputs:[{internalType:"contract ENS",name:"_ens",type:"address"}],payable:!1,stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"target",type:"address"},{indexed:!1,internalType:"bool",name:"isAuthorised",type:"bool"}],name:"AuthorisationChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!0,internalType:"string",name:"indexedKey",type:"string"},{indexed:!1,internalType:"string",name:"key",type:"string"}],name:"TextChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"bytes32",name:"x",type:"bytes32"},{indexed:!1,internalType:"bytes32",name:"y",type:"bytes32"}],name:"PubkeyChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"string",name:"name",type:"string"}],name:"NameChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!0,internalType:"bytes4",name:"interfaceID",type:"bytes4"},{indexed:!1,internalType:"address",name:"implementer",type:"address"}],name:"InterfaceChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"bytes",name:"name",type:"bytes"},{indexed:!1,internalType:"uint16",name:"resource",type:"uint16"},{indexed:!1,internalType:"bytes",name:"record",type:"bytes"}],name:"DNSRecordChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"bytes",name:"name",type:"bytes"},{indexed:!1,internalType:"uint16",name:"resource",type:"uint16"}],name:"DNSRecordDeleted",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"}],name:"DNSZoneCleared",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"bytes",name:"hash",type:"bytes"}],name:"ContenthashChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"address",name:"a",type:"address"}],name:"AddrChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!1,internalType:"uint256",name:"coinType",type:"uint256"},{indexed:!1,internalType:"bytes",name:"newAddress",type:"bytes"}],name:"AddressChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"node",type:"bytes32"},{indexed:!0,internalType:"uint256",name:"contentType",type:"uint256"}],name:"ABIChanged",type:"event"}];class Br{static createInterface(){return new Da.utils.Interface(Ur)}static connect(e,t){return new Ma.Contract(e,Ur,t)}}Br.abi=Ur;var zr=n(645);const Hr=[{inputs:[{internalType:"contract IERC20Token",name:"_acceptedToken",type:"address"},{internalType:"contract IDCLRegistrar",name:"_registrar",type:"address"}],payable:!1,stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_oldMaxGasPrice",type:"uint256"},{indexed:!0,internalType:"uint256",name:"_newMaxGasPrice",type:"uint256"}],name:"MaxGasPriceChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_caller",type:"address"},{indexed:!0,internalType:"address",name:"_beneficiary",type:"address"},{indexed:!1,internalType:"uint256",name:"_price",type:"uint256"},{indexed:!1,internalType:"string",name:"_name",type:"string"}],name:"NameBought",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{constant:!0,inputs:[],name:"PRICE",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"acceptedToken",outputs:[{internalType:"contract IERC20Token",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"isOwner",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"maxGasPrice",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_beneficiary",type:"address"}],name:"register",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"registrar",outputs:[{internalType:"contract IDCLRegistrar",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"renounceOwnership",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"uint256",name:"_maxGasPrice",type:"uint256"}],name:"updateMaxGasPrice",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}];class Wr{static createInterface(){return new Da.utils.Interface(Hr)}static connect(e,t){return new Ma.Contract(e,Hr,t)}}Wr.abi=Hr;const Gr=[{constant:!0,inputs:[],name:"mintingFinished",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_spender",type:"address"},{name:"_value",type:"uint256"}],name:"approve",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_from",type:"address"},{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transferFrom",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"unpause",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_amount",type:"uint256"}],name:"mint",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"_value",type:"uint256"}],name:"burn",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"paused",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"balance",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"finishMinting",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[],name:"pause",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"},{name:"_spender",type:"address"}],name:"allowance",outputs:[{name:"remaining",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"to",type:"address"},{name:"amount",type:"uint256"}],name:"setBalance",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{anonymous:!1,inputs:[{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"amount",type:"uint256"}],name:"Mint",type:"event"},{anonymous:!1,inputs:[],name:"MintFinished",type:"event"},{anonymous:!1,inputs:[],name:"Pause",type:"event"},{anonymous:!1,inputs:[],name:"Unpause",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"burner",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Burn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"spender",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!1,name:"value",type:"uint256"}],name:"Transfer",type:"event"}];class Yr{static createInterface(){return new Da.utils.Interface(Gr)}static connect(e,t){return new Ma.Contract(e,Gr,t)}}Yr.abi=Gr;var Qr=n(126),Vr=n(1334),qr=n(1928),Xr=n(1927),$r=n(1926);function Kr(e){const t=new $r.a({uri:e});return new qr.a({link:t,cache:new Xr.a({addTypename:!1}),defaultOptions:{query:{fetchPolicy:"no-cache"}}})}const Zr=Kr(S.a.get("MARKETPLACE_GRAPH_URL","")),Jr=1e3;const es=new class{async fetchENSList(e){if(!e)return[];const t=e.toLowerCase();let n=[],o=[],a=0,i=!0;for(;i;){const{data:e}=await Zr.query({query:Vr.a`
  query getUserNames($owner: String, $offset: Int) {
    nfts(first: ${Jr}, skip: $offset, where: { owner: $owner, category: ens }) {
      ens {
        subdomain
      }
    }
  }
`,variables:{owner:t,offset:a}});o=e.nfts.map((e=>e.ens.subdomain.toString())),n=[...n,...o],o.length===Jr?a+=Jr:i=!1}return n}};var ts=n(496);const ns=S.a.get("DCL_LISTS_SERVER","");class os extends ts.BaseAPI{async fetchBannedNames(){return(await this.request("POST","/banned-names")).data}}const as=new os(ns),is=S.a.get("WORLDS_CONTENT_SERVER","");class rs extends ts.BaseAPI{constructor(){super(...arguments),this.fetchWalletStats=async e=>{const t=await fetch(`${this.url}/wallet/${e}/stats`);if(t.ok){return await t.json()}return null}}async fetchWorld(e){const t=await fetch(`${this.url}/world/${e}/about`);if(t.ok){return await t.json()}return null}}const ss=new rs(is);var cs=n(232),ls=n(1308);function*ds(e,t){function*n(){try{return yield Object(eo.call)([as,"fetchBannedNames"])}catch(e){return console.error("Failed to load banned domains",e),[]}}yield Object(eo.takeLatest)(kt.k,(function*(){yield Object(eo.put)(Object(dt.O)()),yield Object(eo.put)(Object(dt.S)())})),yield Object(eo.takeEvery)(dt.p,(function*(t){const{name:n,land:o}=t.payload,a=n.toLowerCase()+".dcl.eth";try{const t=yield Object(eo.call)(Ya),i=yield Object(eo.call)(Ha.getSigner),r=t.address,s=Object(Mr.c)(a),c=Fr.connect(Qr.b,i),l=zr.a.connect(Qr.g,i),[d,u,p]=yield Object(eo.all)([Object(eo.call)([c,"resolver"],s),Object(eo.call)([c,"owner"],s),Object(eo.call)([l,"getTokenId"],n)]),m=u.toLowerCase(),b=p.toString();if(d.toString()===Fa.ethers.constants.AddressZero)return void(yield Object(eo.put)(Object(dt.V)({name:n,tokenId:b,ensOwnerAddress:m,nftOwnerAddress:r,subdomain:a,resolver:Fa.ethers.constants.AddressZero,content:Fa.ethers.constants.AddressZero})));const h=Br.connect(d,i),[f,y]=Object(Ti.h)(Object(Ti.o)(o)),{ipfsHash:_,contentHash:g}=yield Object(eo.call)([e,"createLandRedirectionFile"],{x:f,y:y},Object(ta.getCurrentLocale)().locale),j=yield Object(eo.call)([h,"contenthash"],s);if(j===Fa.ethers.constants.AddressZero)return void(yield Object(eo.put)(Object(dt.V)({name:n,tokenId:b,ensOwnerAddress:m,nftOwnerAddress:r,subdomain:a,resolver:d.toString(),content:Fa.ethers.constants.AddressZero,ipfsHash:_})));if(`0x${g}`===j)return void(yield Object(eo.put)(Object(dt.V)({name:n,tokenId:b,ensOwnerAddress:m,nftOwnerAddress:r,subdomain:a,resolver:Qr.c,content:g,ipfsHash:_,landId:o.id})));yield Object(eo.put)(Object(dt.V)({name:n,tokenId:b,ensOwnerAddress:m,nftOwnerAddress:r,subdomain:a,resolver:Qr.c,content:null!==j&&void 0!==j?j:Fa.ethers.constants.AddressZero,landId:""}))}catch(i){const e={message:i.message};yield Object(eo.put)(Object(dt.Q)(e))}})),yield Object(eo.takeEvery)(dt.s,(function*(e){const{subdomain:t}=e.payload;try{let e;if(Object(ut.j)(t)){const n=(yield Object(eo.select)(cs.i))[t];if(!n)throw new Error(`ENS ${t} not found in store`);e=n}else e=yield Object(eo.select)(cs.c,t);let o=null;try{const e=yield Object(eo.call)([ss,"fetchWorld"],t);if(e){const{healthy:t,configurations:n}=e,a=Object(At.f)(n.scenesUrn[0]);o={healthy:t,scene:{urn:n.scenesUrn[0],entityId:a}}}}catch(n){console.error("Failed to load ens world status",n)}yield Object(eo.put)(Object(dt.Y)({...e,worldStatus:o}))}catch(n){const e={message:n.message};yield Object(eo.put)(Object(dt.W)(e))}})),yield Object(eo.takeEvery)(dt.E,(function*(e){const{ens:t}=e.payload;try{const e=yield Ya(),n=yield Object(Ha.getSigner)(),o=e.address,a=Object(Mr.c)(t.subdomain),i=Fr.connect(Qr.b,n),r=yield Object(eo.call)((()=>i.setResolver(a,Qr.c)));yield Object(eo.put)(Object(dt.kb)(t,Qr.c,o,e.chainId,r.hash))}catch(n){const e={message:n.message,code:n.code,origin:ls.a.RESOLVER};yield Object(eo.put)(Object(dt.ib)(t,e))}})),yield Object(eo.takeEvery)(dt.B,(function*(t){const{ens:n,land:o}=t.payload;try{const t=yield Ya(),a=yield Object(Ha.getSigner)(),i=t.address;let r="";if(o){const[t,n]=Object(Ti.h)(Object(Ti.o)(o)),{contentHash:a}=yield Object(eo.call)([e,"createLandRedirectionFile"],{x:t,y:n},Object(ta.getCurrentLocale)().locale);r=`0x${a}`}else r=Fa.ethers.constants.AddressZero;const s=Object(Mr.c)(n.subdomain),c=Br.connect(Qr.c,a),l=yield Object(eo.call)((()=>c.setContenthash(s,r)));yield Object(eo.put)(Object(dt.hb)(n,r,o,i.toString(),t.chainId,l.hash)),o||(yield Object(eo.put)(Object(bo.closeModal)("UnsetENSContentModal")))}catch(a){const e={message:a.message,code:a.code,origin:ls.a.CONTENT};yield Object(eo.put)(Object(dt.fb)(n,o,e))}})),yield Object(eo.takeEvery)(dt.j,(function*(e){try{const e=yield Object(eo.select)(I.getAddress),t=yield Object(eo.call)(Ha.getChainIdByNetwork,nt.Network.ETHEREUM),n=Object(Ba.getContract)(Ba.ContractName.MANAToken,t),o=yield Object(eo.call)(Ha.getNetworkProvider,t),a=new Fa.ethers.Contract(n.address,n.abi,new Fa.ethers.providers.Web3Provider(o)),i={allowance:yield Object(eo.call)(a.allowance,e,Qr.a)};yield Object(eo.put)(Object(dt.P)(i,e.toString()))}catch(t){const e={message:t.message};yield Object(eo.put)(Object(dt.N)(e))}})),yield Object(eo.takeEvery)(dt.n,(function*(t){try{const t=yield Object(eo.select)(jo.g),o=t.map((e=>Object(Ti.h)(Object(Ti.o)(e)))).map((e=>({x:e[0],y:e[1]}))),a=o.length>0?yield Object(eo.call)([e,"getLandRedirectionHashes"],o,Object(ta.getCurrentLocale)().locale):[],i=[];for(const{x:e,y:n,contentHash:_}of a){const o=t.find((t=>t.type===Ri.a.ESTATE?t.parcels.some((t=>t.x===e&&t.y===n)):t.x===e&&t.y===n));o&&i.push({hash:`0x${_}`,id:o.id})}const r=yield Object(eo.call)(Ya),s=yield Object(eo.call)(Ha.getSigner),c=r.address,l=yield Object(eo.call)([Fr,"connect"],Qr.b,s),d=yield Object(eo.call)([zr.a,"connect"],Qr.g,s);let u=yield Object(eo.call)([es,"fetchENSList"],c);const p=yield Object(eo.call)(n);u=u.filter((e=>!p.includes(e)));const m=25,b=new La.a({concurrency:m}),h=[],f=u.map((e=>async()=>{const t=e,n=`${e.toLowerCase()}.dcl.eth`;let o,a="",r=null;const u=Object(Mr.c)(n),[p,m,b]=await Promise.all([l.resolver(u),l.owner(u).then((e=>e.toLowerCase())),d.getTokenId(t).then((e=>e.toString()))]),f=p.toString();if(f!==Fa.ethers.constants.AddressZero)try{const e=Br.connect(p,s);a=await e.contenthash(u);const t=i.find((e=>e.hash===a));t&&(o=t.id)}catch(y){console.error("Failed to load ens resolver",y)}try{const e=await ss.fetchWorld(n);if(e){const{healthy:t,configurations:o}=e,a=Object(At.f)(o.scenesUrn[0]);r={healthy:t,scene:{urn:o.scenesUrn[0],entityId:a}},h.push(n)}}catch(y){console.error("Failed to load ens world status",y)}return{name:t,tokenId:b,ensOwnerAddress:m,nftOwnerAddress:c,subdomain:n,resolver:f,content:a,landId:o,worldStatus:r}})),y=yield b.addAll(f);h.length>0&&(yield Object(eo.put)(Object(M.J)(h))),yield Object(eo.put)(Object(dt.T)(y))}catch(o){const e={message:o.message};yield Object(eo.put)(Object(dt.R)(e))}})),yield Object(eo.takeEvery)(dt.f,(function*(e){const{name:t}=e.payload;try{const e=yield Object(eo.call)(Ya),n=yield Object(eo.call)(Ha.getSigner),o=e.address,a=yield Object(eo.call)([Wr,"connect"],Qr.a,n),i=zr.a.connect(Qr.g,n),r=yield Object(eo.call)([a,"register"],t,o);yield Object(eo.put)(Object(dt.M)(t,e.address,e.chainId,r.hash)),yield Object(eo.call)(uo.waitForTx,r.hash);const s=yield Object(eo.call)([i,"getTokenId"],t),c={name:t,tokenId:s.toString(),ensOwnerAddress:e.address,nftOwnerAddress:e.address,subdomain:Object(ut.e)(t),resolver:Fa.ethers.constants.AddressZero,content:Fa.ethers.constants.AddressZero};yield Object(eo.put)(Object(dt.L)(c,t)),yield Object(eo.put)(Object(bo.closeModal)("ClaimNameFatFingerModal"))}catch(n){const e={message:n.message};yield Object(eo.put)(Object(dt.J)(e))}})),yield Object(eo.takeEvery)(dt.b,(function*(e){const{allowance:t}=e.payload;try{const e=yield Object(eo.call)(Ya),n=yield Object(eo.call)(Ha.getSigner),o=e.address,a=yield Object(eo.call)([Yr,"connect"],Qr.f,n),i=yield Object(eo.call)([a,"approve"],Qr.a,t);yield Object(eo.put)(Object(dt.H)(t,o.toString(),e.chainId,i.hash))}catch(n){const e={message:n.message};yield Object(eo.put)(Object(dt.G)(e))}})),yield Object(eo.takeEvery)(dt.y,(function*(e){const{ens:t}=e.payload;try{const e=yield Ya(),n=yield Object(Ha.getSigner)(),o=zr.a.connect(Qr.g,n),a=yield Object(eo.call)([o,"reclaim"],t.tokenId,e.address);yield Object(eo.put)(Object(dt.eb)(a.hash,e.chainId,{...t,ensOwnerAddress:e.address}))}catch(n){const e={message:n.message};yield Object(eo.put)(Object(dt.cb)(e))}})),yield Object(eo.takeEvery)(dt.v,(function*(e){var n;const o=null!==(n=e.payload.owner)&&void 0!==n?n:yield Object(eo.select)(I.getAddress);try{if(!o)throw new Error("No owner address provided");const e=yield Object(eo.call)([t,t.fetchExternalNames],o);yield Object(eo.put)(Object(dt.bb)(o,e))}catch(a){const e={message:a.message};yield Object(eo.put)(Object(dt.Z)(e,o))}}))}var us=n(336);function*ps(e){yield Object(eo.takeEvery)(Be.c,(function*(t){const{collection:n,forumPost:o}=t.payload;try{const t=yield Object(eo.call)([e,"createCollectionForumPost"],n,o);yield Object(eo.put)(Object(Be.m)(n,t))}catch(l){if(e.isAxiosError(l)&&l.response){var a,i,r,s,c;const e=409===l.response.status,t=null===(a=l.response.data)||void 0===a||null===(i=a.data)||void 0===i?void 0:i.forum_link;if(e&&t)return void(yield Object(eo.put)(Object(Be.m)(n,t)));if(500===l.response.status&&(null===(r=l.response.data)||void 0===r||null===(s=r.data)||void 0===s||null===(c=s.errors)||void 0===c?void 0:c.includes("Title has already been used")))return void(yield Object(eo.put)(Object(Be.l)(n,{...o,title:`${o.title} ${Object(qa.e)(n.contractAddress)}`})))}yield Object(eo.put)(Object(Be.k)(n,o,l.message))}})),yield Object(eo.takeEvery)(Be.b,ms),yield Object(eo.takeEvery)($e.r,(function*(e){const{collectionId:t,curation:n}=e.payload;yield Object(eo.put)(Object(Be.i)(t,n))})),yield Object(eo.takeEvery)(Be.a,(function*(t){const{collectionId:n,curation:o}=t.payload,a=yield Object(eo.select)(ji.b,n),i=o.assignee?yield Object(eo.select)(us.getProfileOfAddress,o.assignee):null;if(a.forumLink){const t=a.forumLink.split("/").pop(),s={topic_id:parseInt(t,10),raw:Ka(o.assignee,i)};try{yield Object(eo.call)([e,"createCollectionNewAssigneeForumPost"],a,s),yield Object(eo.put)(Object(Be.j)())}catch(r){yield Object(eo.put)(Object(Be.h)(n,s,r.message))}}})),yield Object(eo.takeEvery)(Be.f,(function*(t){const{collectionId:n}=t.payload,o=yield Object(eo.select)(ji.b,n),a=o.forumLink?o.forumLink.split("/").pop():null;try{if(!a)throw new Error(`Invalid forum topic id for the collection id: ${n}`);{const t=yield Object(eo.call)([e,"getCollectionForumPostReply"],a);yield Object(eo.put)(Object(Be.p)(o,t))}}catch(i){yield Object(eo.put)(Object(Be.n)(o,i.message))}}))}function*ms(e){const{collection:t,forumPost:n}=e.payload;yield Object(eo.delay)(5e3),yield Object(eo.put)(Object(Be.l)(t,n))}function*bs(){yield Object(eo.takeLatest)(Qo.CONNECT_WALLET_SUCCESS,_s),yield Object(eo.takeLatest)(Qo.CHANGE_ACCOUNT,gs),yield Object(eo.takeLatest)($.c,hs),yield Object(eo.takeLatest)($.f,fs),yield Object(eo.takeLatest)($.h,ys)}function*hs(e){const t=e.payload.address.toLowerCase();try{const e=yield Object(eo.select)(I.getData);(null===e||void 0===e?void 0:e.providerType)===nt.ProviderType.WALLET_CONNECT&&(yield Object(eo.delay)(1e3));const n=yield Object(eo.call)(Ga),o=Fa.ethers.Wallet.createRandom(),a={address:o.address.toString(),publicKey:Fa.ethers.utils.hexlify(o.publicKey),privateKey:Fa.ethers.utils.hexlify(o.privateKey)},i=Number(S.a.get("IDENTITY_EXPIRATION_MINUTES",Ei.toString())),r=n.getSigner(),s=yield oe.Authenticator.initializeAuthChain(t,a,i,(e=>r.signMessage(e)));yield Object(eo.call)(_.storeIdentity,t,s),yield Object(eo.put)(Object($.l)(t,s))}catch(n){yield Object(eo.put)(Object($.j)(t,n))}}function*fs(e){const{restoreSession:t,providerType:n}=e.payload;if((yield Object(eo.select)((e=>!Object(V.d)(e))))&&!t){if(yield Object(eo.select)((e=>!Object(I.isConnected)(e)))){if(!n)return void(yield Object(eo.put)(Object($.m)("Undefined provider type")));yield Object(eo.put)(Object(Qo.enableWalletRequest)(n));const e=yield Ai(Qo.ENABLE_WALLET_SUCCESS,Qo.ENABLE_WALLET_FAILURE);if(!e.success)return void(yield Object(eo.put)(Object($.m)(e.failure.payload.error)));const t=yield Ai(Qo.CONNECT_WALLET_SUCCESS,Qo.CONNECT_WALLET_FAILURE);if(!t.success)return void(yield Object(eo.put)(Object($.m)(t.failure.payload.error)))}const e=yield Object(eo.select)(I.getAddress),t=yield Object(eo.call)(_.getIdentity,e);if(t)yield Object(eo.put)(Object($.l)(e,t));else{yield Object(eo.put)(Object($.k)(e));const t=yield Ai($.d,$.b);if(!t.success)return void(yield Object(eo.put)(Object($.m)(t.failure.payload.error)))}}const o=yield Object(eo.select)(I.getData),a=yield Object(eo.select)(V.a);o&&a?(yield Object(eo.put)(Object($.o)(o,a)),yield Object(eo.put)(Object(bo.closeModal)("WalletLoginModal"))):yield Object(eo.put)(Object($.m)(t?"Failed to restore session":"Failed to login"))}function*ys(e){const t=yield Object(eo.select)(I.getAddress);t&&(yield Object(eo.put)(Object(Qo.disconnectWallet)()),yield Object(eo.put)(Object($.i)(t)),yield Object(eo.call)(_.clearIdentity,t))}function*_s(e){const{wallet:t}=e.payload,{address:n,providerType:o}=t,a=yield Object(eo.call)(_.getIdentity,n);a?(yield Object(eo.put)(Object($.l)(n,a)),yield Object(eo.put)(Object($.n)(o,!0))):yield Object(eo.put)(Object($.n)(o))}function*gs(e){const{wallet:t}=e.payload,{address:n,providerType:o}=t,a=yield Object(eo.call)(_.getIdentity,n);a?(yield Object(eo.put)(Object($.l)(n,a)),yield Object(eo.put)(Object($.n)(o,!0))):yield Object(eo.put)(Object($.n)(o)),yield Object(eo.put)(Object(K.action)(Ae));(yield Object(eo.select)(r.d)).pathname.includes("editor")&&(yield Object(eo.put)(Object(Fe.f)(Va.a.root())))}var js=n(341),Os=n(7);function vs(e){var t;const n={id:e.id,name:e.name,thumbnail:e.thumbnail,owner:e.eth_address,description:null!==(t=e.description)&&void 0!==t?t:"",isPublished:e.is_published,isApproved:e.is_approved,inCatalyst:e.in_catalyst,type:e.type,data:e.data,contents:e.contents,blockchainContentHash:e.content_hash,currentContentHash:e.local_content_hash,catalystContentHash:e.catalyst_content_hash,metrics:e.metrics,createdAt:+new Date(e.created_at),updatedAt:+new Date(e.created_at)};return e.collection_id&&(n.collectionId=e.collection_id),e.blockchain_item_id&&(n.tokenId=e.blockchain_item_id),e.price&&(n.price=e.price),e.urn&&(n.urn=e.urn),e.beneficiary&&(n.beneficiary=e.beneficiary),e.rarity&&(n.rarity=function(e){switch(e){case nt.Rarity.UNIQUE:return $o.l.UNIQUE;case nt.Rarity.MYTHIC:return $o.l.MYTHIC;case nt.Rarity.LEGENDARY:return $o.l.LEGENDARY;case nt.Rarity.EPIC:return $o.l.EPIC;case nt.Rarity.RARE:return $o.l.RARE;case nt.Rarity.UNCOMMON:return $o.l.UNCOMMON;case nt.Rarity.COMMON:return $o.l.COMMON;default:throw new Error("Unknown rarity")}}(e.rarity)),null!==e.total_supply&&(n.totalSupply=e.total_supply),n}var Cs=n(361),xs=n(239),ws=n(326);function*Es(e){for(;;){const{success:t,failure:n}=yield Object(eo.race)({success:Object(eo.take)(Ue.FETCH_TRANSACTION_SUCCESS),failure:Object(eo.take)(Ue.FETCH_TRANSACTION_FAILURE)});if((null===t||void 0===t?void 0:t.payload.transaction.hash)===e)break;if((null===n||void 0===n?void 0:n.payload.transaction.hash)===e)throw new Error(`The transaction ${e} failed to be mined.`)}}var Ss=n(623),As=n.n(Ss),Ts=n(1907);async function Rs(e,t){const n=new As.a;for(const a in t){const e=t[a];n.file(a,e)}const o=await n.generateAsync({type:"blob"});return Object(Ts.saveAs)(o,`${e}.zip`)}var ks=n(353);function*Ns(e,t){const n=Object(O.channel)(),o=Object(O.channel)();function*a(t,n,o){const a=new La.a({concurrency:10}),i=[];n.forEach((n=>{i.push((()=>e.fetchCollectionItems(t,{page:n,...o})))}));const r=yield a.addAll(i),{limit:s}=o,c=void 0!==r[0].total?{limit:s,page:r[0].page,pages:r[0].pages,total:r[0].total}:void 0;return{items:s?r.flatMap((e=>e.results)):r.flat(),paginationStats:c}}function*i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=yield Object(eo.select)(ei.m,e),{currentPage:o,limit:a,total:i}=n||{},r=Math.ceil((i+t)/a);r!==o?yield Object(eo.put)(Object(Fe.e)(Va.a.thirdPartyCollectionDetail(e,{page:r}))):yield Object(eo.put)(Object(ot.eb)(e,{page:o,limit:a}))}yield Object(eo.takeEvery)(ot.p,(function*(t){const{address:n,params:o}=t.payload;try{const t=yield Object(eo.call)([e,"fetchItems"],n,{...o,collectionId:"null"}),{limit:a,page:i,pages:r,results:s,total:c}=t;yield Object(eo.put)(Object(ot.ob)(s,{limit:a,page:i,pages:r,total:c},n))}catch(a){yield Object(eo.put)(Object(ot.mb)(a.message))}})),yield Object(eo.takeEvery)(ot.s,(function*(t){const{id:n}=t.payload;try{const t=yield Object(eo.call)((()=>e.fetchItem(n)));yield Object(eo.put)(Object(ot.lb)(n,t))}catch(o){yield Object(eo.put)(Object(ot.jb)(n,o.message))}})),yield Object(eo.takeEvery)(ot.v,(function*(t){const{address:n}=t.payload;try{const t=yield Object(eo.call)([e,"fetchItems"],n,{page:1,limit:1,collectionId:"null"}),{total:o}=t;yield Object(eo.put)(Object(ot.rb)(o>0))}catch(o){yield Object(eo.put)(Object(ot.pb)(o.message))}})),yield Object(eo.takeEvery)(ot.j,(function*(e){const{collectionId:t,overridePaginationData:n,options:o}=e.payload,{page:i=Ja.a,...r}=o,s=Array.isArray(i);try{const{items:e,paginationStats:o}=yield Object(eo.call)(a,t,s?i:[i],r);yield Object(eo.put)(Object(ot.fb)(t,e,n?o:void 0))}catch(c){yield Object(eo.put)(Object(ot.db)(t,c.message))}})),yield Object(eo.takeEvery)(ot.m,(function*(t){const{collectionId:n}=t.payload;try{const{results:t}=yield Object(eo.call)([e,"fetchCollectionItems"],n,{page:1,limit:4});yield Object(eo.put)(Object(ot.ib)(n,t))}catch(o){yield Object(eo.put)(Object(ot.gb)(n,o.message))}})),yield Object(eo.takeEvery)(ot.I,(function*(t){const{item:n,contents:o}=t.payload;try{const t={...n,updatedAt:Date.now()},a=yield Object(eo.select)(ei.g,n.id),i=a&&a.rarity!==t.rarity;if(!Object(at.Z)(t.name)||!Object(at.Z)(t.description))throw new Error(Object(ta.t)("sagas.item.invalid_character"));const r=yield Object(eo.call)(si,t.contents,e),s=Object.fromEntries(Object.entries(r).map((e=>{let[t,n]=e;return[t,n.hash]}))),c=Object.fromEntries(Object.entries(r).map((e=>{let[t,n]=e;return[t,n.content]})));t.contents={...t.contents,...s};const l={...o,...c},d=t.collectionId?yield Object(eo.select)(ji.b,t.collectionId):void 0;if(d&&Object(We.s)(d))throw new Error(Object(ta.t)("sagas.collection.collection_locked"));if(l[$o.t]||!t.contents[$o.g]||i){const e=yield Object(eo.call)(at.p,t,{thumbnail:l[$o.t]});l[$o.g]=e.content,t.contents[$o.g]=e.hash}if(Object.keys(l).length>0){const{[$o.t]:n,[$o.v]:o,...a}=l,{[$o.t]:i,[$o.v]:r,...s}=t.contents,c=yield Object(eo.call)(ci,{...t,contents:s},a,e);let d=0,u=0;if(n&&(d=yield Object(eo.call)(li,n),d>at.f))throw new ca;if(o&&(u=yield Object(eo.call)(li,o),u>at.h))throw new la;if(c+d>at.d+at.f)throw new ra}yield Object(eo.call)([e,"saveItem"],t,l),yield Object(eo.put)(Object(ot.Eb)(t,l))}catch(a){yield Object(eo.put)(Object(ot.Cb)(n,o,a.message))}})),yield Object(eo.takeEvery)([ot.M,ot.K],(function*(e){const{items:t}=e.payload,n=t.length>0?t[0].collectionId:null,o=yield Object(eo.select)(r.d);n&&o.pathname===Va.a.thirdPartyCollectionDetail(n)&&(yield Object(eo.call)(i,n,t.length))})),yield Object(eo.takeEvery)(ot.J,(function*(e){const t=yield Object(eo.select)(I.getAddress),n=yield Object(eo.select)(N.getOpenModals),o=yield Object(eo.select)(r.d),{item:a}=e.payload,s=a.collectionId;if(["EditItemURNModal","EditPriceAndBeneficiaryModal","AddExistingItemModal"].some((e=>n[e])))yield Object(eo.put)(Object(P.closeAllModals)());else if(n.CreateSingleItemModal)if(o.pathname===Va.a.collectionDetail(s)&&a.type===$o.m.EMOTE)yield Object(eo.put)(Object(U.hb)([a])),yield Object(eo.put)(Object(Fe.e)(Va.a.itemEditor({collectionId:s,itemId:a.id,newItem:a.name}),{fromParam:Cs.a.COLLECTIONS}));else{if(o.pathname===Va.a.itemEditor())if(yield Object(eo.put)(Object(U.hb)([a])),s){const e=yield Object(eo.select)(ei.m,s);yield Object(eo.put)(Object(ot.eb)(s,e?{page:e.currentPage,limit:e.limit}:{page:Ja.a,limit:Ja.b}))}else{const e=yield Object(eo.select)(ei.m,t);yield Object(eo.put)(Object(ot.nb)(t,e?{page:e.currentPage,limit:e.limit}:{page:Ja.a,limit:Ja.b}))}yield Object(eo.put)(Object(P.closeModal)("CreateSingleItemModal"))}o.pathname===Va.a.thirdPartyCollectionDetail(s)&&(yield Object(eo.call)(i,s));Object(At.i)(a.urn)&&a.isPublished&&(yield Object(eo.put)(Object(Je.h)(a.collectionId,a.id)))})),yield Object(eo.takeEvery)(ot.T,(function*(e){const{itemId:t,price:n,beneficiary:o}=e.payload;try{const e=(yield Object(eo.select)(ei.h)).find((e=>e.id===t)),a=(yield Object(eo.select)(ji.d)).find((t=>e&&t.id===e.collectionId));if(!e||!a)throw new Error(yield Object(eo.call)(ta.t,"sagas.item.not_found"));if(!e.isPublished)throw new Error(yield Object(eo.call)(ta.t,"sagas.item.not_published"));const i={...e,price:n,beneficiary:o,updatedAt:Date.now()},r=yield Object(eo.call)(Ha.getChainIdByNetwork,nt.Network.MATIC),s={...Object(Ba.getContract)(Ba.ContractName.ERC721CollectionV2,r),address:a.contractAddress},c=yield Object(eo.call)(Ha.getNetworkProvider,r),l=new Ma.Contract(s.address,s.abi,new Da.providers.Web3Provider(c)),{metadata:d}=yield Object(eo.call)(l.items,e.tokenId),u=yield Object(eo.call)(za.sendTransaction,s,(e=>e.editItemsData([i.tokenId],[i.price],[i.beneficiary],[d])));yield Object(eo.put)(Object(ot.Pb)(i,r,u))}catch(a){yield Object(eo.put)(Object(ot.Nb)(t,n,o,a.message))}})),yield Object(eo.takeEvery)(ot.d,(function*(t){const{item:n}=t.payload;try{yield Object(eo.call)((()=>e.deleteItem(n.id))),yield Object(eo.put)(Object(ot.Z)(n));(yield Object(eo.select)(Za.b))===n.id&&(yield Object(eo.put)(Object(Fe.f)(Va.a.collections()))),yield Object(eo.put)(Object(P.closeModal)("DeleteItemModal")),yield Object(eo.put)(Object(js.showToast)((e=>({type:Os.ToastType.INFO,className:"CollectionDetailPage deleted-item",icon:Object(oa.jsx)("div",{className:"delete-icon"}),title:Object(oa.jsx)(ta.T,{id:"toast.collection_detail_page.item_deleted.title"}),body:Object(oa.jsx)(oa.Fragment,{children:Object(oa.jsx)("span",{className:"description",children:Object(oa.jsx)(ta.T,{id:"toast.collection_detail_page.item_deleted.body",values:{name:Object(oa.jsx)("strong",{children:e.name})}})})}),timeout:1e4,closable:!0}))(n),"bottom center"))}catch(o){yield Object(eo.put)(Object(ot.X)(n,o.message))}})),yield Object(eo.takeEvery)(ot.e,(function*(e){const{item:t}=e.payload,n=t.collectionId,o=yield Object(eo.select)(r.d),a=o.pathname===Va.a.thirdPartyCollectionDetail(n),i=o.pathname===Va.a.collections();if(a||i){const e=yield Object(eo.select)(I.getAddress),o=a?n:e,i=yield Object(eo.select)(ei.m,o),{currentPage:r,limit:s,ids:c}=i,l=r>1&&1===c.length&&c[0]===t.id;if(a&&l)yield Object(eo.put)(Object(Fe.e)(Va.a.thirdPartyCollectionDetail(n,{page:r-1})));else{const e=a?ot.eb:ot.nb;yield Object(eo.put)(e(o,{page:r,limit:s}))}}})),yield Object(eo.takeLatest)(ot.N,(function*(e){const{item:t,collectionId:n}=e.payload,o={...t},a=yield Object(eo.select)(I.getAddress);null===n?delete o.collectionId:o.collectionId=n;yield Object(eo.put)(Object(ot.Db)(o,{})),yield Object(eo.take)(ot.J),yield Object(eo.put)(Object(P.closeModal)("MoveItemToCollectionModal")),yield Object(eo.put)(Object(ot.nb)(a))})),yield Object(eo.takeLatest)(ot.R,(function*(e){const{item:t,collectionId:n}=e.payload,o={...t,collectionId:n},a=yield Object(eo.select)(I.getAddress),i=yield Object(eo.select)(ji.b,n);yield Object(eo.put)(Object(ot.Db)(o,{})),yield Object(eo.take)(ot.J),yield Object(eo.put)(Object(P.closeModal)("MoveItemToAnotherCollectionModal")),yield Object(eo.put)(Object(js.showToast)(((e,t)=>({type:Os.ToastType.INFO,className:"CollectionDetailPage move-item-to-another-collection",icon:Object(oa.jsx)("div",{className:"two-way-arrow-icon"}),title:Object(oa.jsx)(ta.T,{id:"toast.collection_detail_page.move_item_to_another_collection.title"}),body:Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("span",{className:"description",children:Object(oa.jsx)(ta.T,{id:"toast.collection_detail_page.move_item_to_another_collection.body",values:{item_name:Object(oa.jsx)("strong",{children:e.name}),collection_name:Object(oa.jsx)("strong",{children:t.name})}})}),Object(oa.jsx)(ks.a,{className:"cta",to:Va.a.collectionDetail(t.id),children:Object(oa.jsx)(ta.T,{id:"toast.collection_detail_page.move_item_to_another_collection.cta"})})]}),timeout:1e4,closable:!0}))(t,i),"bottom center"));const{payload:{id:r}}=yield Object(eo.take)(js.RENDER_TOAST);yield Object(eo.put)(Object(ot.nb)(a));(yield Object(eo.take)(Fe.b)).pathname!==Va.a.collectionDetail(t.collectionId)&&(yield Object(eo.put)(Object(js.hideToast)(r)))})),yield Object(eo.takeLatest)(ot.P,(function*(t){const{collection:n,items:o}=t.payload;try{const{items:t}=yield Object(eo.call)([e,"publishStandardCollection"],n.id);yield Object(eo.put)(Object(ot.Mb)(t))}catch(a){yield Object(eo.put)(Object(ot.Kb)(n,o,a.message,parseInt(a.code)))}})),yield Object(eo.takeEvery)(ot.O,(function*(e){const{collection:t,error:n,errorCode:o}=e.payload;if(401===o){yield Object(eo.delay)(5e3);const e=yield Object(eo.select)(ji.b,t.id),n=yield Object(eo.select)(ei.b,t.id);yield Object(eo.put)(Object(ot.Lb)(e,n))}else yield Object(eo.put)(Object(js.showToast)({type:Os.ToastType.ERROR,title:Object(ta.t)("publish_wizard_collection_modal.publish_failed"),body:n,timeout:6e3,closable:!0}))})),yield Object(eo.takeEvery)(ot.y,(function*(){try{const t=yield Object(eo.call)([e,"fetchRarities"]);yield Object(eo.put)(Object(ot.ub)(t))}catch(t){yield Object(eo.put)(Object(ot.sb)(t.message))}})),yield Object(eo.takeEvery)(ot.C,(function*(e){const{collection:t,items:n,contentHashes:o}=e.payload;try{const e=yield Object(eo.call)(Ha.getChainIdByNetwork,nt.Network.MATIC),a=n.map((e=>e.tokenId)),i=n.map((e=>Object(at.E)(e))),r=Object(Ba.getContract)(Ba.ContractName.Committee,e),{abi:s}=Object(Ba.getContract)(Ba.ContractName.ERC721CollectionV2,e),c=new Ma.Contract(t.contractAddress,s),l=Object(Ba.getContract)(Ba.ContractName.CollectionManager,e),d=Object(Ba.getContract)(Ba.ContractName.Forwarder,e),u=Object(at.N)(a,xs.a),p=Object(at.N)(n,xs.a),m=Object(at.N)(i,xs.a),b=Object(at.N)(o,xs.a),h=[];for(let n=0;n<u.length;n++){const o=yield Object(eo.call)(Qa,c.populateTransaction.rescueItems(u[n],b[n],m[n])),a=yield Object(eo.call)(za.sendTransaction,r,(e=>e.manageCollection(l.address,d.address,t.contractAddress,[o])));h.push(a),yield Object(eo.put)(Object(ot.vb)(t,p[n],b[n],e,a)),yield Object(eo.call)(Es,a)}const f=n.map(((e,t)=>({...e,blockchainContentHash:o[t]})));yield Object(eo.put)(Object(ot.yb)(t,f,o,e,h))}catch(a){yield Object(eo.put)(Object(ot.wb)(t,n,o,a.message))}})),yield Object(eo.takeEvery)(ot.F,Ps),yield Object(eo.takeEvery)(ot.g,(function*(t){const{itemId:n}=t.payload;try{const t=(yield Object(eo.select)(ei.c))[n];if(!t)throw new Error(`Item not found for itemId="${n}"`);const o=yield Object(eo.call)([e,"fetchContents"],t.contents),a=[],i=[];for(const e of Object.keys(t.contents)){const n=t.contents[e];e.startsWith($o.a.MALE)?a.push(n):e.startsWith($o.a.FEMALE)&&i.push(n)}const r=a.length===i.length&&a.every((e=>i.includes(e))),s=yield Object(eo.call)(at.k,o,r),c=t.name.replace(/\s/g,"_");yield Object(eo.call)(Rs,c,s),yield Object(eo.put)(Object(ot.cb)(n))}catch(o){yield Object(eo.put)(Object(ot.ab)(n,o.message))}})),yield Object(eo.takeEvery)(o,(function*(e){yield Object(eo.put)((t=e.progress,Object(K.action)(zn,{progress:t})));var t})),yield Object(eo.takeEvery)(n,(function*(e){const{items:t,savedFileNames:n,notSavedFileNames:o,cancelledFileNames:a}=e;yield Object(eo.put)(Object(ot.Fb)(t,n,o,a))})),yield Object(ws.c)({initializer:ot.L,cancellable:ot.a},(function*(e){const{builtFiles:a}=e.payload,i=[],r=[],s=[],c=new La.a({concurrency:8});try{const e=[];for(const n of a)e.push((async()=>{try{const e=await t.upsertItem(n.item,n.newContent);i.push(n.fileName),s.push(e)}catch(e){r.push(n.fileName)}}));c.on("next",(()=>{o.put({progress:Math.round((a.length-(c.size+c.pending))/a.length*100)})})),yield c.addAll(e),yield Object(eo.put)(Object(ot.Hb)(s.map((e=>vs(e))),i,r))}finally{(yield Object(eo.cancelled)())&&(c.clear(),c.on("idle",(()=>{const e=a.filter((e=>!i.includes(e.fileName)&&!r.includes(e.fileName)));n.put({items:s.map((e=>vs(e))),savedFileNames:i,notSavedFileNames:r,cancelledFileNames:e.map((e=>e.fileName))})})))}})),yield Object(eo.fork)((function*(){for(;;){const e=yield Object(eo.take)([ot.q,ot.k]),{items:t}=e.payload,n=t.filter((e=>e.isPublished)).map((e=>e.urn));n.length>0&&(yield Object(eo.put)(yt(nt.EntityType.WEARABLE,n)))}}))}function*Ps(e){const{itemId:t}=e.payload,n=yield Object(eo.select)(ei.c),o=yield Object(eo.select)(ei.e),a=n[t],i=o[t];try{const e=i.metadata;if(!i.content)throw new Error("Entity does not have content");const n=i.content.reduce(((e,t)=>{let{file:n,hash:o}=t;return e[n]=o,e}),{}),o=yield Promise.all(Object.entries(n).map((async e=>{let[t,n]=e;return[t,await fetch(Object(ae.b)(n)).then((e=>e.blob()))]}))).then((e=>e.reduce(((e,t)=>{let[n,o]=t;return e[n]=o,e}),{}))),r={...a,name:e.name,description:e.description,contents:n,data:e.data};yield Object(eo.put)(Object(ot.Db)(r,o));const s=yield Object(eo.race)({success:Object(eo.take)(ot.J),failure:Object(eo.take)(ot.H)});s.success?yield Object(eo.put)(Object(ot.Bb)(t)):s.failure&&(yield Object(eo.put)(Object(ot.zb)(t,s.failure.payload.error)))}catch(r){yield Object(eo.put)(Object(ot.zb)(t,r.message))}}var Is=n(1325),Ls=n.n(Is);function*Ms(){yield Object(eo.takeLatest)(Wi,Ds),yield Object(eo.takeLatest)(Gi,Fs)}function Ds(e){for(const t of e.payload.shortcuts){const{combination:e,callback:n,action:o}=t;Ls.a.bind(e,n,o)}}function Fs(e){for(const t of e.payload.shortcuts){const{combination:e,action:n}=t;Ls.a.unbind(e,n)}}const Us=Kr(S.a.get("LAND_MANAGER_GRAPH_URL","")),Bs=1e3,zs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Vr.a`
  query Land($address: Bytes, $tenantTokenIds: [String!], $lessorTokenIds: [String!]) {
    tenantParcels: parcels(first: ${Bs}, skip: ${e}, where: { tokenId_in: $tenantTokenIds }) {
      ...parcelFields
    }
    tenantEstates: estates(first: ${Bs}, skip: ${e}, where: { id_in: $tenantTokenIds }) {
      ...estateFields
    }
    lessorParcels: parcels(first: ${Bs}, skip: ${e}, where: { tokenId_in: $lessorTokenIds }) {
      ...parcelFields
    }
    lessorEstates: estates(first: ${Bs}, skip: ${e}, where: { id_in: $lessorTokenIds }) {
      ...estateFields
    }
    ownerParcels: parcels(first: ${Bs}, skip: ${e}, where: { estate: null, owner: $address }) {
      ...parcelFields
    }
    ownerEstates: estates(first: ${Bs}, skip: ${e}, where: { owner: $address }) {
      ...estateFields
    }
    updateOperatorParcels: parcels(first: ${Bs}, skip: ${e}, where: { updateOperator: $address }) {
      ...parcelFields
    }
    updateOperatorEstates: estates(first: ${Bs}, skip: ${e}, where: { updateOperator: $address }) {
      ...estateFields
    }
    ownerAuthorizations: authorizations(first: ${Bs}, skip: ${e}, where: { owner: $address, type: "UpdateManager" }) {
      operator
      isApproved
      tokenAddress
    }
    operatorAuthorizations: authorizations(first: ${Bs}, skip: ${e}, where: { operator: $address, type: "UpdateManager" }) {
      owner {
        address
        parcels(first: ${Bs}, skip: ${e}, where: { estate: null }) {
          ...parcelFields
        }
        estates(first: ${Bs}) {
          ...estateFields
        }
      }
      isApproved
      tokenAddress
    }
  }
  ${Object(Ri.d)()}
  ${Object(Ri.c)()}
`},Hs=(e,t)=>{const n={id:Object(Ti.f)(e.x,e.y),tokenId:e.tokenId,name:e.data&&e.data.name||"Parcel",type:Ri.a.PARCEL,roles:[t],role:t,description:e.data&&e.data.description||null,x:parseInt(e.x,10),y:parseInt(e.y,10),owner:e.owner.address,operators:[]};return e.updateOperator&&n.operators.push(e.updateOperator),n},Ws=(e,t)=>{const n=e.id,o={id:n,tokenId:n,name:e.data&&e.data.name||`Estate ${n}`,type:Ri.a.ESTATE,roles:[t],role:t,description:e.data&&e.data.description||null,size:e.size,parcels:e.parcels.map((e=>({x:parseInt(e.x,10),y:parseInt(e.y,10),id:Object(Ti.f)(e.x,e.y)}))),owner:e.owner.address,operators:[]};return e.updateOperator&&o.operators.push(e.updateOperator),o};function Gs(e){return Object.values(e).some((e=>e.length>=Bs))}const Ys=new class{constructor(){var e=this;this.fetchLand=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const i=t.toLowerCase(),{data:r}=await Us.query({query:zs(a),variables:{address:i,tenantTokenIds:n,lessorTokenIds:o}}),s=[],c=new Set,l=new Set;for(const e of r.ownerParcels)s.push(Hs(e,Ri.b.OWNER));for(const e of r.ownerEstates)s.push(Ws(e,Ri.b.OWNER));for(const e of r.updateOperatorParcels)s.push(Hs(e,Ri.b.OPERATOR));for(const e of r.updateOperatorEstates)s.push(Ws(e,Ri.b.OPERATOR));for(const e of r.tenantParcels)s.push(Hs(e,Ri.b.TENANT));for(const e of r.tenantEstates)s.push(Ws(e,Ri.b.TENANT));for(const e of r.lessorParcels)s.push(Hs(e,Ri.b.LESSOR));for(const e of r.lessorEstates)s.push(Ws(e,Ri.b.LESSOR));for(const e of r.ownerAuthorizations){const{operator:t,isApproved:n,tokenAddress:o}=e;switch(o){case Qr.e:n?c.add(t):c.delete(t);break;case Qr.d:n?l.add(t):l.delete(t)}}for(const e of r.operatorAuthorizations){const{owner:t}=e;for(const e of t.parcels){const t=Hs(e,Ri.b.OPERATOR);t.operators.push(i),s.some((e=>e.id===t.id))||s.push(t)}for(const e of t.estates)if(e.parcels.length>0){const t=Ws(e,Ri.b.OPERATOR);t.operators.push(i),s.some((e=>e.id===t.id))||s.push(t)}}const d=[];for(const e of c.values()){d.push({address:e,type:Ri.a.PARCEL});const t=s.filter((e=>e.type===Ri.a.PARCEL&&e.role===Ri.b.OWNER));for(const n of t)n.operators.push(e)}for(const e of l.values()){d.push({address:e,type:Ri.a.ESTATE});const t=s.filter((e=>e.type===Ri.a.ESTATE&&e.role===Ri.b.OWNER));for(const n of t)n.operators.push(e)}const u={};for(const e of s){if(e.type===Ri.a.ESTATE&&e.parcels.length<=0)continue;e.operators=Array.from(new Set(e.operators)).filter((e=>!Object(qa.d)(e)));const t=u[e.id];t?(t.roles=[...t.roles,e.role].sort(),t.role=t.roles[0]):u[e.id]=e}if(Gs(r)){const[t,r]=await e.fetchLand(i,n,o,a+Bs);return[[...Object.values(u),...t],[...d,...r]]}return[Object.values(u),d]}}};var Qs=n(1326);const Vs=Kr(S.a.get("RENTALS_GRAPH_URL",""));function qs(e){return{id:e.id,type:Object(Ti.n)(e.contractAddress),tokenId:e.tokenId,lessor:e.lessor,tenant:e.tenant,operator:e.operator,startedAt:Object(Qs.a)(+e.startedAt),endsAt:Object(Qs.a)(+e.endsAt)}}const Xs=new class{constructor(){this.fetchRentalTokenIds=async e=>{const{data:t}=await Vs.query({query:Vr.a`
  query Rentals($address: Bytes) {
    tenantRentals: rentals(where: { tenant: $address, isActive: true }) {
      ...rentalFields
    }
    lessorRentals: rentals(where: { lessor: $address, isActive: true }) {
      ...rentalFields
    }
  }
  ${Object(Ri.e)()}
`,variables:{address:e.toLowerCase()}});return{lessorRentals:t.lessorRentals.map(qs),tenantRentals:t.tenantRentals.map(qs)}}}};var $s=n(469),Ks=n(515);const Zs=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_contractAddress",type:"address"},{indexed:!0,internalType:"uint256",name:"_tokenId",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"}],name:"AssetClaimed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_signer",type:"address"},{indexed:!0,internalType:"address",name:"_contractAddress",type:"address"},{indexed:!0,internalType:"uint256",name:"_tokenId",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_newIndex",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"}],name:"AssetIndexUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_contractAddress",type:"address"},{indexed:!0,internalType:"uint256",name:"_tokenId",type:"uint256"},{indexed:!1,internalType:"address",name:"_lessor",type:"address"},{indexed:!1,internalType:"address",name:"_tenant",type:"address"},{indexed:!1,internalType:"address",name:"_operator",type:"address"},{indexed:!1,internalType:"uint256",name:"_rentalDays",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_pricePerDay",type:"uint256"},{indexed:!1,internalType:"bool",name:"_isExtension",type:"bool"},{indexed:!1,internalType:"address",name:"_sender",type:"address"},{indexed:!1,internalType:"bytes",name:"_signature",type:"bytes"}],name:"AssetRented",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_newIndex",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"}],name:"ContractIndexUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"_from",type:"address"},{indexed:!1,internalType:"address",name:"_to",type:"address"},{indexed:!1,internalType:"address",name:"_sender",type:"address"}],name:"FeeCollectorUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint256",name:"_from",type:"uint256"},{indexed:!1,internalType:"uint256",name:"_to",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"}],name:"FeeUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_userAddress",type:"address"},{indexed:!0,internalType:"address",name:"_relayerAddress",type:"address"},{indexed:!1,internalType:"bytes",name:"_functionData",type:"bytes"}],name:"MetaTransactionExecuted",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_signer",type:"address"},{indexed:!1,internalType:"uint256",name:"_newIndex",type:"uint256"},{indexed:!1,internalType:"address",name:"_sender",type:"address"}],name:"SignerIndexUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[{components:[{internalType:"address",name:"signer",type:"address"},{internalType:"address",name:"contractAddress",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"uint256",name:"expiration",type:"uint256"},{internalType:"uint256[3]",name:"indexes",type:"uint256[3]"},{internalType:"uint256[]",name:"pricePerDay",type:"uint256[]"},{internalType:"uint256[]",name:"maxDays",type:"uint256[]"},{internalType:"uint256[]",name:"minDays",type:"uint256[]"},{internalType:"address",name:"target",type:"address"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct Rentals.Listing",name:"_listing",type:"tuple"},{internalType:"address",name:"_operator",type:"address"},{internalType:"uint256",name:"_conditionIndex",type:"uint256"},{internalType:"uint256",name:"_rentalDays",type:"uint256"},{internalType:"bytes32",name:"_fingerprint",type:"bytes32"}],name:"acceptListing",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"address",name:"signer",type:"address"},{internalType:"address",name:"contractAddress",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"uint256",name:"expiration",type:"uint256"},{internalType:"uint256[3]",name:"indexes",type:"uint256[3]"},{internalType:"uint256",name:"pricePerDay",type:"uint256"},{internalType:"uint256",name:"rentalDays",type:"uint256"},{internalType:"address",name:"operator",type:"address"},{internalType:"bytes32",name:"fingerprint",type:"bytes32"},{internalType:"bytes",name:"signature",type:"bytes"}],internalType:"struct Rentals.Offer",name:"_offer",type:"tuple"}],name:"acceptOffer",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_contractAddress",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"bumpAssetIndex",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"bumpContractIndex",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"bumpSignerIndex",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_contractAddresses",type:"address[]"},{internalType:"uint256[]",name:"_tokenIds",type:"uint256[]"}],name:"claim",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_userAddress",type:"address"},{internalType:"bytes",name:"_functionData",type:"bytes"},{internalType:"bytes",name:"_signature",type:"bytes"}],name:"executeMetaTransaction",outputs:[{internalType:"bytes",name:"",type:"bytes"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"_contractAddress",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"address",name:"_signer",type:"address"}],name:"getAssetIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getContractIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getFeeCollector",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_contractAddress",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"getIsRented",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_signer",type:"address"}],name:"getNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_contractAddress",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"getRental",outputs:[{components:[{internalType:"address",name:"lessor",type:"address"},{internalType:"address",name:"tenant",type:"address"},{internalType:"uint256",name:"endDate",type:"uint256"}],internalType:"struct Rentals.Rental",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_signer",type:"address"}],name:"getSignerIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getToken",outputs:[{internalType:"contract IERC20",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_owner",type:"address"},{internalType:"contract IERC20",name:"_token",type:"address"},{internalType:"address",name:"_feeCollector",type:"address"},{internalType:"uint256",name:"_fee",type:"uint256"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_operator",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"onERC721Received",outputs:[{internalType:"bytes4",name:"",type:"bytes4"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"renounceOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_fee",type:"uint256"}],name:"setFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_feeCollector",type:"address"}],name:"setFeeCollector",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_contractAddress",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"uint256[][]",name:"_landTokenIds",type:"uint256[][]"},{internalType:"address[]",name:"_operators",type:"address[]"}],name:"setManyLandUpdateOperator",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address[]",name:"_contractAddresses",type:"address[]"},{internalType:"uint256[]",name:"_tokenIds",type:"uint256[]"},{internalType:"address[]",name:"_operators",type:"address[]"}],name:"setUpdateOperator",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unpause",outputs:[],stateMutability:"nonpayable",type:"function"}];class Js{static createInterface(){return new Da.utils.Interface(Zs)}static connect(e,t){return new Ma.Contract(e,Zs,t)}}function*ec(){yield Object(eo.takeEvery)(kt.n,tc),yield Object(eo.takeEvery)(kt.c,nc),yield Object(eo.takeEvery)(kt.e,ac),yield Object(eo.takeEvery)(kt.a,oc),yield Object(eo.takeEvery)(kt.l,ic),yield Object(eo.takeEvery)(kt.g,rc),yield Object(eo.takeEvery)(kt.p,sc),yield Object(eo.takeEvery)(kt.j,cc),yield Object(eo.takeLatest)(Qo.CONNECT_WALLET_SUCCESS,lc),yield Object(eo.takeLatest)(Qo.CHANGE_ACCOUNT,lc)}function*tc(e){const{address:t,isApproved:n,type:o}=e.payload;try{const e=yield Ya(),a=yield Object(Ha.getSigner)(),i=e.address,r=t;switch(o){case Ri.a.PARCEL:{const s=$s.a.connect(Qr.e,a),c=yield Object(eo.call)((()=>s.setUpdateManager(i,r,n)));yield Object(eo.put)(Object(kt.L)(t,o,n,e.chainId,c.hash));break}case Ri.a.ESTATE:{const s=Ks.a.connect(Qr.d,a),c=yield Object(eo.call)((()=>s.setUpdateManager(i,r,n)));yield Object(eo.put)(Object(kt.L)(t,o,n,e.chainId,c.hash));break}}yield Object(eo.put)(Object(Fe.e)(Va.a.activity()))}catch(a){yield Object(eo.put)(Object(kt.J)(t,o,n,a.message))}}function*nc(e){const{land:t}=e.payload;try{if(t.type!==Ri.a.ESTATE)throw new Error(`Invalid LandType: "${t.type}"`);const e=yield Ya(),n=yield Object(Ha.getSigner)(),o=e.address,a=$s.a.connect(Qr.e,n),i=Ks.a.connect(Qr.d,n),r=yield Object(eo.all)(t.parcels.map((e=>a.encodeTokenId(e.x,e.y)))),s=yield Object(eo.call)((()=>i.transferManyLands(t.id,r,o)));yield Object(eo.put)(Object(kt.w)(t,e.chainId,s.hash)),yield Object(eo.put)(Object(bo.closeModal)("DissolveModal")),yield Object(eo.put)(Object(Fe.e)(Va.a.activity()))}catch(n){yield Object(eo.put)(Object(kt.u)(t,n.message))}}function*oc(e){const{name:t,description:n,coords:o}=e.payload;try{const e=yield Ya(),a=yield Object(Ha.getSigner)(),i=e.address,[r,s]=Object(Ti.z)(o),c=$s.a.connect(Qr.e,a),l=Object(Ti.d)(t,n),d=yield Object(eo.call)((()=>c.createEstateWithMetadata(r,s,i,l)));yield Object(eo.put)(Object(kt.t)(t,n,o,e.chainId,d.hash)),yield Object(eo.put)(Object(bo.closeModal)("EstateEditorModal")),yield Object(eo.put)(Object(Fe.e)(Va.a.activity()))}catch(a){yield Object(eo.put)(Object(kt.r)(t,n,o,a.message))}}function*ac(e){const{land:t,toAdd:n,toRemove:o}=e.payload;try{const e=yield Ya(),a=yield Object(Ha.getSigner)(),i=e.address,r=$s.a.connect(Qr.e,a);if(n.length>0){const[o,a]=Object(Ti.z)(n),i=yield Object(eo.call)((()=>r.transferManyLandToEstate(o,a,t.id)));yield Object(eo.put)(Object(kt.z)(t,n,"add",e.chainId,i.hash))}if(o.length>0){const n=Ks.a.connect(Qr.d,a),s=yield Object(eo.all)(o.map((e=>{let{x:t,y:n}=e;return r.encodeTokenId(t,n)}))),c=yield Object(eo.call)((()=>n.transferManyLands(t.id,s,i)));yield Object(eo.put)(Object(kt.z)(t,o,"remove",e.chainId,c.hash))}yield Object(eo.put)(Object(bo.closeModal)("EstateEditorModal")),yield Object(eo.put)(Object(Fe.e)(Va.a.activity()))}catch(a){yield Object(eo.put)(Object(kt.x)(t,n,o,a.message))}}function*ic(e){const{land:t,address:n}=e.payload;try{const e=yield Ya(),o=yield Object(Ha.getSigner)(),a=null!==n&&void 0!==n?n:Fa.ethers.constants.AddressZero;switch(t.type){case Ri.a.PARCEL:{const i=$s.a.connect(Qr.e,o),r=yield Object(eo.call)([i,"encodeTokenId"],t.x,t.y);let s;if(t.role===Ri.b.TENANT){const e=Js.connect(Qr.h,o);s=yield Object(eo.call)([e,"setUpdateOperator"],[Qr.e],[r],[a])}else s=yield Object(eo.call)([i,"setUpdateOperator"],r,a);yield Object(eo.put)(Object(kt.I)(t,n,e.chainId,s.hash));break}case Ri.a.ESTATE:{const i=Ks.a.connect(Qr.d,o);let r;if(t.role===Ri.b.TENANT){const e=Js.connect(Qr.h,o);r=yield Object(eo.call)([e,"setUpdateOperator"],[Qr.d],[t.id],[a])}else r=yield Object(eo.call)([i,"setUpdateOperator"],t.id,a);yield Object(eo.put)(Object(kt.I)(t,n,e.chainId,r.hash));break}default:throw new Error(`Unknown Land Type: ${t.type}`)}yield Object(eo.put)(Object(Fe.e)(Va.a.activity()))}catch(o){yield Object(eo.put)(Object(kt.G)(t,n,o.message))}}function*rc(e){const{land:t,name:n,description:o}=e.payload,a=Object(Ti.d)(n,o);try{const e=yield Ya(),i=yield Object(Ha.getSigner)();switch(t.type){case Ri.a.PARCEL:{const r=$s.a.connect(Qr.e,i),s=yield Object(eo.call)((()=>r.updateLandData(t.x,t.y,a)));yield Object(eo.put)(Object(kt.C)(t,n,o,e.chainId,s.hash));break}case Ri.a.ESTATE:{const r=Ks.a.connect(Qr.d,i),s=yield Object(eo.call)((()=>r.updateMetadata(t.id,a)));yield Object(eo.put)(Object(kt.C)(t,n,o,e.chainId,s.hash));break}default:throw new Error(`Unknown Land Type: ${t.type}`)}yield Object(eo.put)(Object(Fe.e)(Va.a.activity()))}catch(i){yield Object(eo.put)(Object(kt.A)(t,n,o,i.message))}}function*sc(e){const{land:t,address:n}=e.payload;try{const e=yield Ya(),o=yield Object(Ha.getSigner)(),a=e.address,i=n;switch(t.type){case Ri.a.PARCEL:{const r=$s.a.connect(Qr.e,o),s=yield Object(eo.call)((()=>r.encodeTokenId(t.x,t.y))),c=yield Object(eo.call)((()=>r.transferFrom(a,i,s)));yield Object(eo.put)(Object(kt.O)(t,n,e.chainId,c.hash));break}case Ri.a.ESTATE:{const r=Ks.a.connect(Qr.d,o),s=yield Object(eo.call)((()=>r.transferFrom(a,i,t.id)));yield Object(eo.put)(Object(kt.O)(t,n,e.chainId,s.hash));break}default:throw new Error(`Unknown Land Type: ${t.type}`)}yield Object(eo.put)(Object(Fe.e)(Va.a.activity()))}catch(o){yield Object(eo.put)(Object(kt.M)(t,n,o.message))}}function*cc(e){const{address:t}=e.payload;try{const e=yield Object(eo.call)([Xs,"fetchRentalTokenIds"],t),n=e.tenantRentals.map((e=>e.tokenId)),o=e.lessorRentals.map((e=>e.tokenId)),[a,i]=yield Object(eo.call)([Ys,"fetchLand"],t,n,o);yield Object(eo.put)(Object(kt.F)(t,a,i,e.tenantRentals.concat(e.lessorRentals)))}catch(n){yield Object(eo.put)(Object(kt.D)(t,n.message))}}function*lc(e){const{address:t}=e.payload.wallet;yield Object(eo.put)(Object(kt.E)(t))}Js.abi=Zs;const dc="[Request] Redirect request";function*uc(){yield Object(eo.all)([Object(eo.takeLatest)($.g,pc),Object(eo.takeLatest)(dt.C,mc),Object(eo.takeLatest)(dt.g,bc),Object(eo.takeLatest)(Fe.b,hc),Object(eo.takeLatest)(dc,fc)])}function*pc(e){const t=yield Object(eo.select)(r.d),{pathname:n,search:o}=t;if(n===Va.a.signIn()){const e=new URLSearchParams(o).get("redirectTo");e?yield Object(eo.put)(Object(Fe.e)(decodeURIComponent(e))):yield Object(eo.put)(Object(Fe.e)(Va.a.root()))}}function*mc(e){const{land:t}=e.payload;t||(yield Object(eo.put)(Object(Fe.f)(Va.a.activity())))}function*bc(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const n=yield Object(eo.select)(r.d),o=(null===(e=n.state)||void 0===e?void 0:e.fromParam)===Cs.a.DEPLOY_TO_WORLD||n.query.from===Cs.a.DEPLOY_TO_WORLD;if(n.pathname===Va.a.claimENS()&&o&&t){var a;const e=(null===(a=n.state)||void 0===a?void 0:a.projectId)||n.query.projectId;yield Object(eo.put)(Object(Fe.f)(Va.a.sceneEditor(e),{fromParam:Cs.a.CLAIM_NAME,claimedName:t.payload.ens.subdomain}))}else yield Object(eo.put)(Object(Fe.f)(Va.a.activity()))}function*hc(){const{query:{redirectTo:e}}=yield Object(eo.select)(r.d);e&&(yield Object(eo.put)((e=>Object(K.action)(dc,{redirectTo:e}))(e)))}function*fc(e){const{redirectTo:t}=e.payload;function*n(e){yield Object(eo.put)(((e,t)=>Object(K.action)("[Failure] Redirect failure",{redirectTo:e,error:t}))(t,e))}try{const e=JSON.parse(decodeURIComponent(t));switch(e.type){case Cs.b.COLLECTION_DETAIL_BY_CONTRACT_ADDRESS:{const{success:o,failure:a}=yield Object(eo.race)({success:Object(eo.take)(He.i),failure:Object(eo.take)(He.g)});if(o){const o=yield Object(eo.select)(ji.e),{contractAddress:a}=e.data,i=o[a];i?(yield Object(eo.put)(Object(Fe.e)(Va.a.collectionDetail(i.id))),yield Object(eo.put)((e=>Object(K.action)("[Success] Redirect success",{redirectTo:e}))(t))):(yield,yield n(`Collection with contract address ${a} not found`))}a&&(yield n(`Could not get collections. ${a.payload.error}`));break}default:yield n(`Invalid redirect to type "${e.type}"`)}}catch(o){yield n(o.message)}}const yc=window,_c={NORTH:Math.PI/2,EAST:0,SOUTH:1.5*Math.PI,WEST:Math.PI};function*gc(){yield Object(eo.takeLatest)(Mt,jc)}function*jc(){const e=yield Object(eo.select)(co.b);if(!e)return;const t=yield Object(eo.select)(Yi.g);if(t)if(t.sdk6){const{rows:t,cols:n}=e.layout;yield Object(eo.put)(Object(U.kb)([]));const o=32*(Math.max(n,t)-1),a=yield Object(eo.call)((()=>yc.editor.getDCLCanvas())),i=Math.PI/1.5,r={north:null,east:null,south:null,west:null};a.classList.add("recording"),yc.editor.resetCameraZoom(),yield Object(eo.delay)(200),yc.editor.setCameraZoomDelta(o),yc.editor.setCameraRotation(0,Math.PI/6),yc.editor.setCameraPosition({x:t*qi.e/2,y:2,z:n*qi.e/2}),yield Object(eo.put)(zt(0)),r.north=yield Oc(_c.NORTH),yield Object(eo.put)(zt(20)),r.east=yield Oc(_c.EAST),yield Object(eo.put)(zt(40)),r.south=yield Oc(_c.SOUTH),yield Object(eo.put)(zt(60)),r.west=yield Oc(_c.WEST),yield Object(eo.put)(zt(80));const s=yield Oc(i);yield Object(eo.put)(zt(100)),a.classList.remove("recording"),yield Object(eo.put)(Ut({...r,preview:s}))}else{const t=document.getElementById("inspector");if(!t||!t.contentWindow)return;const n=new nr.MessageTransport(window,t.contentWindow),o=new or.CameraClient(n);yield Object(eo.call)([o,"setPosition"],0,0,0);const a=yield Object(eo.call)(vc,o,t,e.layout);yield Object(eo.put)(Ut({north:new Blob([""]),east:new Blob([""]),south:new Blob([""]),west:new Blob([""]),preview:a}))}}function*Oc(e){yc.editor.setCameraRotation(e,Math.PI/6);const t=yield Object(eo.call)((()=>yc.editor.takeScreenshot()));return Object(Wo.d)(t)}function*vc(e,t,n){const{rows:o,cols:a}=n,i=8*o,r=8*a,s=Math.sqrt(Math.pow(i,2)+Math.pow(r,2));yield Object(eo.call)([e,"setPosition"],Math.min(-i,-16),Math.max(s,24),Math.min(-r,-16)),yield Object(eo.delay)(100),yield Object(eo.call)([e,"setTarget"],i/2,Math.max(Math.sqrt(s),4),r/2),yield Object(eo.delay)(100);const c=yield Object(eo.call)([e,"takeScreenshot"],+t.width,+t.height),l=yield Object(eo.call)(st.o,c,1024,1024);return Object(Wo.d)(l)}function*Cc(){yield Object(eo.takeEvery)(Fe.b,xc),yield Object(eo.takeEvery)([$e.l,ot.G,ot.U,D.j],wc)}function*xc(){const e=yield Object(eo.select)(N.getOpenModals);Object.keys(e).length>0&&(yield Object(eo.delay)(100),yield wc())}function*wc(){yield Object(eo.put)(Object(bo.closeAllModals)())}function*Ec(e){yield Object(eo.fork)(Sc),yield Object(eo.takeLatest)(Gt,(function*(t){try{const t=yield Object(eo.call)((()=>e.fetchPoolGroups())),n={};for(const e of t)n[e.id]=e;yield Object(eo.put)((e=>Object(K.action)(Yt,{poolGroups:e}))(n))}catch(o){yield Object(eo.put)((n=o.message,Object(K.action)(Qt,{error:n})))}var n}))}function*Sc(){yield Object(eo.put)(Object(K.action)(Gt,{}))}var Ac=n(429);function*Tc(e){const t=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>"";const o=new Map;return function*a(i){const r=n(i);if(o.has(r)){const[e,n]=o.get(r);return void o.set(r,[e,t(e,n,i)])}o.set(r,[i,null]),yield*e(i);const[,s]=o.get(r);o.delete(r),s&&(yield*a(s))}}((function*(t){const{pool:n,like:o}=t.payload;try{yield Object(eo.call)((()=>e.likePool(n,o))),yield Object(eo.put)(Object(Xt.i)())}catch(a){yield Object(eo.put)(Object(Xt.g)(a.message))}}),(function(e,t,n){return null===t&&e.payload.like!==n.payload.like?n:t&&t.payload.like!==n.payload.like?null:t}),(function(e){return e.payload.pool}));yield Object(eo.takeLatest)(Xt.b,t),yield Object(eo.takeLatest)(Xt.e,(function*(t){const{group:n,page:o,sortBy:a,sortOrder:i,ethAddress:r}=t.payload;try{const{offset:t,limit:s}=function(e,t){return e=!Number.isFinite(e)||e<=0?1:e,{limit:t=!Number.isFinite(e)||e<=0?1:t,offset:e*t-t}}(o||1,Ac.a),{items:c,total:l}=yield Object(eo.call)((()=>e.fetchPoolsPage({offset:t,limit:s,group:n,eth_address:r,sort_by:a,sort_order:i}))),d={};for(const e of c)d[e.id]=e;yield Object(eo.put)(Object(Xt.l)(d,l))}catch(s){yield Object(eo.put)(Object(Xt.j)(s.message))}}))}var Rc=n(166),kc=n.n(Rc),Nc=n(1086),Pc=n(644),Ic=n(513);function*Lc(e){yield Object(eo.takeLatest)(D.b,(function*(e){const{template:t}=e.payload,{rows:n,cols:o}=t,{title:a,description:i,sdk:r,onSuccess:s}=e.meta;let c;if(r===Qi.b.SDK7){const{engine:e,components:t}=Object(or.createEngineContext)();t.Scene.createOrReplace(e.RootEntity,{layout:{parcels:Object(Ic.b)({rows:n,cols:o}),base:{x:0,y:0}}}),c={sdk6:null,sdk7:{id:kc()(),composite:Nc.a.toJson(Object(or.dumpEngineToComposite)(e,"json")),mappings:{}}}}else c={sdk6:{id:kc()(),entities:{},components:{},assets:{},metrics:Pc.a,limits:Pc.a,ground:null},sdk7:null};const l=yield Object(eo.select)(I.getAddress),d={id:kc()(),title:a||Object(ta.t)("global.new_scene"),description:i||"",thumbnail:"",isPublic:!1,layout:{rows:n,cols:o},sceneId:c.sdk6?c.sdk6.id:c.sdk7.id,ethAddress:l||null,createdAt:(new Date).toISOString(),updatedAt:(new Date).toISOString(),isTemplate:!1,video:null,templateStatus:null};yield Object(eo.put)(Object(L.w)(c)),yield Object(eo.put)(Object(D.C)(d,r)),s&&(s(d,c),yield Object(eo.put)(Object(L.H)(d.id,Object(Fi.c)())))})),yield Object(eo.takeLatest)(D.e,(function*(e){const{project:t,type:n,shouldRedirect:o}=e.payload,a=yield Object(eo.select)(I.getAddress),i=yield Object(Di.g)(t.id,n);let r=t.thumbnail;try{t.isTemplate?r=yield Object(eo.call)(Ui.b,`${ne.a}/projects/${t.id}/media/thumbnail.png`):r&&Object(Wo.g)(r)&&(r=yield Object(eo.call)(Ui.b,t.thumbnail));const e=kc()(),s=i.sdk6?{sdk6:{...i.sdk6,id:e},sdk7:null}:{sdk7:{...i.sdk7,id:e},sdk6:null},c={...t,ethAddress:a,sceneId:e,id:kc()(),createdAt:(new Date).toISOString(),updatedAt:(new Date).toISOString(),thumbnail:r,isTemplate:!1,video:null,templateStatus:null};yield Object(eo.put)(Object(L.w)(s)),yield Object(eo.put)(Object(D.C)(c,i.sdk6?Qi.b.SDK6:Qi.b.SDK7)),t.isTemplate?(yield Object(eo.take)(F.e),yield Object(eo.put)(Object(Fe.e)(Va.a.sceneEditor(c.id)))):o&&(yield Object(eo.put)(Object(Fe.e)(Va.a.scenes()))),yield Object(eo.put)(Object(D.H)(c,n))}catch(s){yield Object(eo.put)(Object(D.F)(s.message))}})),yield Object(eo.takeLatest)(D.g,(function*(e){const{id:t,project:n}=e.payload,o=(yield Object(eo.select)(co.c))[t];if(!o||!n)return;const a=(yield Object(eo.select)(Yi.h))[o.sceneId];if(!a)return;const i=Object(Ui.a)(n,o),r={...o,...n};if(yield Object(eo.put)(Object(D.cb)(r)),i)if(a.sdk6)yield Object(eo.put)(Object(U.Z)(!1)),yield Object(eo.put)(Object(U.M)(r)),yield Object(eo.take)(U.o),yield Object(eo.put)(Object(L.v)(r)),yield Object(eo.put)(en.ActionCreators.clearHistory()),yield Object(eo.put)(Object(U.nb)());else if(a.sdk7){const e=Object(Ic.a)(a.sdk7,n.layout);yield Object(eo.put)(Object(qn.m)(!0)),yield Object(eo.put)(Object(L.M)(e));const{failure:t}=yield Object(eo.race)({success:Object(eo.take)(F.e),failure:Object(eo.take)(F.c)});yield Object(eo.put)(Object(qn.m)(!1)),t&&console.error(`Error saving project=${n.id}`)}})),yield Object(eo.takeLatest)(D.B,(function*(e){const{id:t}=e.payload;if(!(yield Object(Di.g)(t)))return;const n=(yield Object(eo.select)(co.c))[t];if(!n)return;if(!n.isPublic){const e={...n,isPublic:!0};yield Object(eo.put)(Object(D.cb)(e))}yield Object(eo.put)(Object(U.fb)(rt.a.NONE)),yield Object(eo.put)(Object(U.nb)()),yield Object(eo.race)([Object(eo.take)(D.h),Object(eo.delay)(1e3)]),yield Object(eo.put)(Object(F.l)(n,!1))})),yield Object(eo.takeLatest)(D.i,(function*(t){const{project:n}=t.payload,o=yield Object(Di.g)(n.id,n.isTemplate||n.isPublic?rt.b.PUBLIC:rt.b.PROJECT);yield Object(eo.put)(Object(U.db)({loaded:0,total:0}));let a={};if(o.sdk6){const e=yield Object(eo.select)(ti.d);a=yield Object(eo.call)(Mi.d,{project:n,scene:o.sdk6,point:{x:0,y:0},rotation:"east",isDeploy:!1,thumbnail:null,author:e,onProgress:e=>Xl.dispatch(Object(U.db)(e))})}else a=yield Object(eo.call)(Mi.f,{project:n,scene:o.sdk7,builderAPI:e});const i=n.title.replace(/\s/g,"_");yield Object(eo.call)(Rs,i,a),yield Object(eo.put)(Object(D.L)())})),yield Object(eo.takeLatest)(D.k,(function*(e){const{projects:t}=e.payload;for(const n of t)n.scene&&n.project&&(yield Object(eo.all)([Object(eo.put)(Object(L.w)(n.scene)),Object(eo.put)(Object(D.C)({...n.project,ethAddress:yield Object(eo.select)(I.getAddress)}))]))})),yield Object(eo.takeLatest)(D.v,(function*(t){const{id:n,type:o}=t.payload;try{const t=yield Object(eo.call)((()=>e.fetchPublicProject(n,o)));yield Object(eo.put)(Object(D.Y)(t,o)),t&&t.ethAddress&&(yield Object(eo.put)(Object(mo.loadProfileRequest)(t.ethAddress)))}catch(a){yield Object(eo.put)(Object(D.W)(a.message))}})),yield Object(eo.takeLatest)(D.p,(function*(){try{const t=yield Object(eo.call)([e,"fetchProjects"]),n={};for(const e of t)n[e.id]=e;yield Object(eo.put)(Object(D.V)(n))}catch(t){yield Object(eo.put)(Object(D.T)(t.message))}})),yield Object(eo.takeLatest)(D.y,(function*(){try{const t=yield Object(eo.call)([e,"fetchTemplates"]),n={};for(const e of t)n[e.id]=e;yield Object(eo.put)(Object(D.bb)(n))}catch(t){yield Object(eo.put)(Object(D.Z)(t.message))}})),yield Object(eo.takeLatest)(D.m,(function*(t){const{id:n,type:o}=t.payload;try{const t=yield Object(eo.call)([e,"fetchManifest"],n,o);yield Object(eo.put)(Object(D.P)(t))}catch(a){yield Object(eo.put)(Object(D.N)(a.message))}})),yield Object(eo.takeLatest)($.g,(function*(e){yield Object(eo.put)(Object(D.U)()),yield Object(eo.put)(Object(D.ab)())})),yield Object(eo.takeLatest)(D.c,(function*(e){yield Object(eo.put)(Object(Fe.e)(Va.a.scenes()))})),yield Object(eo.takeEvery)(D.s,(function*(t){const{project:n,type:o}=t.payload;try{const t=yield Object(eo.select)(Yi.h);if(t&&t[n.sceneId])return void(yield Object(eo.put)(Object(D.S)(t[n.sceneId])));const a=yield Object(eo.call)([e,"fetchManifest"],n.id,o);yield Object(eo.put)(Object(D.S)(a.scene))}catch(a){yield Object(eo.put)(Object(D.Q)(a.message))}}))}var Mc=n(217);const Dc="asset.json",Fc=/\/\*! "src(\/|\\)([A-z0-9|/|\\|\-|_])*\.ts" [a-f0-9]+ \*\//,Uc="//# sourceMappingURL";const Bc=window;function*zc(e){function*t(e,t,n,o){const a=yield Object(eo.select)(Mc.d),i={...e.components},r={...e.assets};let s=Object(Di.a)(e),c=kc()();if(o){const r=(yield Object(eo.select)(Yi.l))[o.id],l=r?r.id:null;l?c=l:i[c]={id:c,type:Qi.a.GLTFShape,data:{assetId:o.id}},e.ground&&(s=Object(Di.b)(e.ground.componentId,s));for(let o=0;o<n;o++)for(let n=0;n<t;n++){const t=kc()(),r=kc()();i[r]={id:r,type:Qi.a.Transform,data:{position:{x:n*qi.e+qi.e/2,y:0,z:o*qi.e+qi.e/2},rotation:{x:0,y:0,z:0,w:1},scale:{x:1,y:1,z:1}}};const l=[c,r];s[t]={id:t,components:l,disableGizmos:!0,name:Object(Di.d)({...e,entities:s},l,a)}}}else e.ground&&(s=Object(Di.b)(e.ground.componentId,s));const l=o?{assetId:o.id,componentId:c}:null;for(const d of Object.values(i))Object.values(s).some((e=>e.components.some((e=>e===d.id))))||delete i[d.id];e.ground&&delete r[e.ground.assetId],l&&(r[l.assetId]=o),yield Object(eo.put)(Object(L.F)({...e,components:i,entities:s,ground:l,assets:r}))}yield Object(eo.takeLatest)(L.a,(function*(e){(yield Object(eo.select)(tr.x))||(yield Object(eo.take)(U.o));const t=yield Object(eo.select)(Yi.g);if(!t)return;if(!t.sdk6)return void console.error("Scene is not SDK6");let n,o=null,{position:a}=e.payload;const{asset:i}=e.payload,r=kc()(),s={...t.sdk6.components};a||(a=yield Object(eo.call)(Bc.editor.getCameraTarget),a.y=0);if(i.assetPackId===Yo.a){const e=yield Object(eo.select)(Yi.a),t=e[i.model];n=t?e[i.model].id:null,n||(n=kc()(),s[n]={id:n,type:Qi.a.NFTShape,data:{url:i.model}}),a={...a,y:1.72}}else{const e=(yield Object(eo.select)(Yi.l))[i.id];n=e?e.id:null,n||(n=kc()(),s[n]={id:n,type:Qi.a.GLTFShape,data:{assetId:i.id}})}const c=yield Object(eo.select)(co.a);c&&(a=Object(Di.k)(a,c));a=Object(Di.l)(a),s[r]={id:r,type:Qi.a.Transform,data:{position:a,rotation:{x:0,y:0,z:0,w:1},scale:{x:1,y:1,z:1}}};const l=Object.keys(i.contents).find((e=>e.endsWith(".js")));l&&(o=kc()(),s[o]={id:o,type:Qi.a.Script,data:{assetId:i.id,src:i.contents[l],values:{}}});const d={...t.sdk6.entities},u=kc()(),p=[r,n];o&&p.unshift(o);const m={...t.sdk6,components:s,entities:d},b=yield Object(eo.select)(Mc.d),h=Object(Di.d)(m,p,b);if(d[u]={id:u,components:p,name:h},m.assets[i.id]=i,o){const e=yield Object(eo.select)(Mc.a);m.components[o].data.values=Object(Di.c)(h,i.parameters,e)}yield Object(eo.put)(Object(U.kb)([])),yield Object(eo.put)(Object(L.F)(m)),yield Object(eo.delay)(500);for(;null!==Bc.editor.getLoadingEntities()&&Bc.editor.getLoadingEntities().includes(u);)yield Object(eo.delay)(200);yield Object(eo.put)(Object(U.kb)([u]))})),yield Object(eo.takeLatest)(L.t,(function*(e){const t=yield Object(eo.select)(Yi.g);if(!t)return;if(!t.sdk6)return void console.error("Scene is not SDK6");const{components:n}=e.payload,o={...t.sdk6.components};for(const a of n)a.componentId in t.sdk6.components&&(o[a.componentId]={...o[a.componentId],data:{position:{...a.data.position},rotation:{...a.data.rotation},scale:{...a.data.scale}}});yield Object(eo.put)(Object(L.F)({...t.sdk6,components:o}))})),yield Object(eo.takeLatest)(L.m,(function*(e){const t=yield Object(eo.select)(Yi.g);if(!t)return;if(!t.sdk6)return void console.error("Scene is not SDK6");const n=yield Object(eo.select)(tr.l);if(0===n.length)return;const o=yield Object(eo.select)(Yi.j),a={...t.sdk6.components};for(const i of n){const e=o[i][Qi.a.Transform];e&&(a[e.id]={...e,data:{...e.data,position:Object(Di.l)(e.data.position),rotation:{x:0,y:0,z:0,w:1},scale:{x:1,y:1,z:1}}})}yield Object(eo.put)(Object(L.F)({...t.sdk6,components:a}))})),yield Object(eo.takeLatest)(L.f,(function*(e){const t=yield Object(eo.select)(Mc.d),n=yield Object(eo.select)(Yi.g);if(!n)return;if(!n.sdk6)return void console.error("Scene is not SDK6");const o=yield Object(eo.select)(tr.l);if(0===o.length)return;const a={...n.sdk6.components},i={...n.sdk6.entities},r=[];for(const s of o){const e=[],o=(yield Object(eo.select)(Yi.o))[s];if(e.push(o.id),o&&o.type===Qi.a.NFTShape)continue;const c=yield Object(eo.select)(Yi.j),l=c[s][Qi.a.Transform],d=c[s][Qi.a.Script];if(!o||!l)continue;const{data:{position:u,rotation:p,scale:m}}=l,b=kc()();a[b]={id:b,type:Qi.a.Transform,data:{position:{...u},rotation:{...p},scale:{...m}}},e.push(b);const h=kc()(),f=Object(Di.d)({...n.sdk6,components:a,entities:i},e,t);if(i[h]={id:h,components:e,name:f},r.push(h),d){const{data:{values:o,assetId:i}}=d,r=kc()(),c=JSON.parse(JSON.stringify(o));Object(Di.j)(t[i].parameters,c,n.sdk6.entities[s].name,f),a[r]={id:r,type:Qi.a.Script,data:{values:c,assetId:i}},e.unshift(r)}}yield Object(eo.put)(Object(U.kb)([])),yield Object(eo.put)(Object(L.F)({...n.sdk6,components:a,entities:i})),yield Object(eo.delay)(300);for(;null!==Bc.editor.getLoadingEntities()&&Bc.editor.getLoadingEntities().some((e=>r.includes(e)));)yield Object(eo.delay)(200);yield Object(eo.put)(Object(U.kb)(r))})),yield Object(eo.takeLatest)(L.d,(function*(e){const t=yield Object(eo.select)(Yi.g);if(!t)return;if(!t.sdk6)return void console.error("Scene is not SDK6");const n=yield Object(eo.select)(tr.l);if(0===n.length)return;const o={...t.sdk6.components},a={...t.sdk6.entities},i={...t.sdk6.assets};for(const s of n){const e=(yield Object(eo.select)(Yi.c))[s],n=e?e.filter((e=>!!e)).map((e=>e.id)):[];delete a[s];for(const t of n)Object.values(a).some((e=>e.components.some((e=>t===e))))||delete o[t];for(const a in o){const e=o[a];e.type===Qi.a.Script&&Object(Di.i)(i[e.data.assetId].parameters,e.data.values,t.sdk6.entities[s].name)}}const r=Object.values(o).reduce(((e,t)=>{if(t.type===Qi.a.GLTFShape||t.type===Qi.a.Script){const n=t;e.add(n.data.assetId)}return e}),new Set);for(const s of Object.values(i))r.has(s.id)||delete i[s.id];yield Object(eo.put)(Object(U.kb)([])),yield Object(eo.put)(Object(L.F)({...t.sdk6,components:o,entities:a,assets:i}))})),yield Object(eo.takeLatest)(L.n,(function*(e){const{asset:n,projectId:o}=e.payload,a=(yield Object(eo.select)(co.c))[o];if(!a)return;const i=(yield Object(eo.select)(Yi.h))[a.sceneId];if(!i)return;if(!i.sdk6)return void console.error("Scene is not SDK6");const{rows:r,cols:s}=a.layout;n&&(yield t(i.sdk6,r,s,n))})),yield Object(eo.takeLatest)(L.g,(function*(e){const{scene:t}=e.payload,n={},o={},a=yield Object(eo.select)(Ho.a),i=yield Object(eo.select)(Mc.d),r=Object.values(t.components).filter((e=>e.type===Qi.a.GLTFShape));for(const c of r){const e=c.data.src;if(!e)continue;if(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/.test(e.split("/")[0])){const[t,...r]=e.split("/"),s=r.join("/"),l=a[t];if(l){const e=l.assets.map((e=>i[e])).find((e=>e.model===s));if(e){const t={...c,data:{assetId:e.id}};n[t.id]=t;continue}}if("mappings"in c.data){const e={},a=c.data.mappings;for(const t of Object.keys(a)){const n=t.split("/").slice(1).join("/");e[n]=a[t]}const i=kc()(),r={id:i,model:s,assetPackId:t,contents:e,name:"Dummy",script:null,thumbnail:"",tags:[],category:"decorations",metrics:{triangles:0,materials:0,meshes:0,bodies:0,entities:0,textures:0},parameters:[],actions:[]};o[i]=r;const l={...c,data:{...c.data,assetId:r.id}};n[l.id]=l}}}let s=t;Object.keys(n).length>0&&(s={...t,assets:{...t.assets,...o},components:{...t.components,...n}});yield Object(eo.put)(Object(L.B)(s))})),yield Object(eo.takeLatest)(L.p,(function*(e){const{scene:t}=e.payload,n={},o={},a=yield Object(eo.select)(Mc.d);for(const r of Object.values(t.components))if(r.type===Qi.a.GLTFShape){const e=r,{assetId:i}=e.data,s=a[i];if(s)n[s.id]=s;else{const e=t.assets[i];e&&(o[e.id]={...e,assetPackId:"dummy-asset-pack-id"})}}const i={...t,assets:{...t.assets,...n}};yield Object(eo.put)((e=>Object(K.action)(Pe,{assets:e}))(o)),yield Object(eo.put)(Object(L.K)(i))})),yield Object(eo.takeLatest)(L.b,(function*(e){const{project:n}=e.payload,{rows:o,cols:a}=n.layout,i=(yield Object(eo.select)(Yi.h))[n.sceneId];if(!i)return;if(!i.sdk6)return void console.error("Scene is not SDK6");if(i.sdk6.ground){const e=i.sdk6.ground.assetId,n=(yield Object(eo.select)(Mc.f))[e];yield t(i.sdk6,o,a,n)}})),yield Object(eo.takeLatest)(L.o,(function*(e){const{entityId:t,values:n}=e.payload,o=yield Object(eo.select)(Yi.g);if(o&&o.sdk6){const e=o.sdk6.entities[t].components.find((e=>o.sdk6.components[e].type===Qi.a.Script));if(e){const t={...o.sdk6,components:{...o.sdk6.components,[e]:{...o.sdk6.components[e],data:{...o.sdk6.components[e].data,values:{...o.sdk6.components[e].data.values,...n}}}}};yield Object(eo.put)(Object(L.F)(t))}}})),yield Object(eo.takeLatest)(L.j,(function*(t){const{project:n,shouldSaveCopy:o}=t.payload,a=(yield Object(eo.select)(Yi.h))[n.sceneId];if(a.sdk7)return void Object(eo.put)(Object(L.C)("Scene is already in SDK7"));try{if(o){const e={...n,title:`Old_${n.title}`};yield Object(eo.put)(Object(D.G)(e,rt.b.PROJECT,!1));const t=yield Object(eo.race)({success:Object(eo.take)(D.f),failure:Object(eo.take)(D.d)});if(t.failure)return void Object(eo.put)(Object(L.C)(t.failure.payload.error))}const t=Object(Ic.c)(a.sdk6,n),i=Object(Ic.e)(a.sdk6),r=new Blob([Object(Ic.d)(a.sdk6)]),s={id:a.sdk6.id,composite:t,mappings:i};yield Object(eo.call)([e,"uploadCrdt"],r,n.id),yield Object(eo.put)(Object(L.M)(s)),yield Object(eo.put)(Object(Fe.e)(Va.a.inspector(n.id))),yield Object(eo.put)(Object(L.E)())}catch(i){Object(eo.put)(Object(L.C)(i))}}))}let Hc;const Wc=new class{async fetchWeeklyStats(e){Hc||(Hc=fetch("https://cdn-data.decentraland.org/scenes/scene-stats.json").then((e=>e.json())));const t=await Hc,n=e in t?t[e].last_7d:null;return{base:e,users:n?n.users:0,sessions:n?n.sessions:0,medianSessionTime:n?n.median_session_time:0,maxConcurrentUsers:n&&n.max_concurrent_users||0}}};function*Gc(){yield Object(eo.takeEvery)(on.b,(function*(e){const{base:t}=e.payload;try{const e=yield Object(eo.call)((()=>Wc.fetchWeeklyStats(t)));yield Object(eo.put)(Object(on.f)(t,e))}catch(n){yield Object(eo.put)(Object(on.d)(t,n.message))}}))}var Yc=n(506);const Qc=Object(Yc.b)(((e,t,n)=>n.saveProject(e,t)),4e3);const Vc=Object(Yc.c)(((e,t)=>t.saveProjectThumbnail(e)),3e4);function*qc(e,t,n){for(const o of e){const e=t[o];e&&(yield Object(eo.put)(n(e)))}}function*Xc(e){yield Object(eo.takeLatest)($.g,(function*(e){yield Object(eo.put)(Object(F.n)())})),yield Object(eo.takeLatest)(F.f,(function*(e){const t=yield Object(eo.select)(q.e),n=yield Object(eo.select)(co.c);yield qc(t,n,(e=>Object(F.l)(e)))})),yield Object(eo.takeLatest)(F.b,(function*(e){const t=yield Object(eo.select)(q.b),n=yield Object(eo.select)(co.c);yield qc(t,n,(e=>Object(F.l)(e)))})),yield Object(eo.takeEvery)(F.d,(function*(t){const n=t.payload.project,o=t.payload.debounce,a=(yield Object(eo.select)(Yi.h))[n.sceneId];try{yield Object(eo.call)((()=>function(e,t,n,o){return arguments.length>4&&void 0!==arguments[4]&&!arguments[4]?o.saveProject(t,n):Qc(e,t,n,o)}(n.id,n,a,e,o))),yield Object(eo.put)(Object(F.m)(n))}catch(i){yield Object(eo.put)(Object(F.k)(n,i))}})),yield Object(eo.takeLatest)(F.a,(function*(t){const{id:n}=t.payload;try{yield Object(eo.call)((()=>e.deleteProject(n))),yield Object(eo.put)(Object(F.i)(n))}catch(o){yield Object(eo.put)(Object(F.g)(n,o))}})),yield Object(eo.takeLatest)(D.a,(function*(e){(yield Object(eo.select)(V.d))&&(yield Object(eo.put)(Object(F.l)(e.payload.project)))})),yield Object(eo.takeLatest)(D.A,(function*(e){(yield Object(eo.select)(V.d))&&(yield Object(eo.put)(Object(F.l)(e.payload.project)))})),yield Object(eo.takeLatest)(D.c,(function*(e){(yield Object(eo.select)(V.d))&&(yield Object(eo.put)(Object(F.h)(e.payload.project.id)))})),yield Object(eo.takeLatest)(L.l,(function*(e){if(e.payload.init)return;if(yield Object(eo.select)(V.d)){const e=yield Object(eo.select)(co.b);e&&(yield Object(eo.put)(Object(F.l)(e)))}})),yield Object(eo.takeLatest)(F.e,(function*(t){let n=(yield Object(eo.select)(co.c))[t.payload.project.id];if(!n)return;if(!n.thumbnail){const e=yield Object(eo.take)(D.h);n={...n,thumbnail:e.payload.thumbnail}}try{Vc(n.id,n,e)}catch(o){console.error(o)}})),yield Object(eo.takeLatest)(L.s,(function*(e){if(yield Object(eo.select)(V.d)){const e=yield Object(eo.select)(co.b);e&&(yield Object(eo.put)(Object(F.l)(e)))}}))}var $c=n(488),Kc=n(397);function*Zc(e,t){const n=Object(O.channel)();function o(e){const t=e[0].collectionId;if(!t)throw new Error("The item does not have a collection associated");return t}function*a(t,n){const a=o(n),{signature:i,salt:r}=yield Object(eo.call)(Kc.a,t.id,n.length),{items:s,itemCurations:c}=yield Object(eo.call)([e,"publishTPCollection"],a,n.map((e=>e.id)),{signature:i,qty:n.length,salt:r});return{newItems:s,newItemCurations:c}}function*i(){yield Object(eo.put)(Object(js.showToast)({type:Os.ToastType.ERROR,title:Object(ta.t)("toast.third_party_action_failure.title"),body:Object(ta.t)("toast.third_party_action_failure.body"),timeout:6e3,closable:!0}))}function*r(t){const a=o(t),i=yield Object(eo.select)($c.a,a),r=new La.a({concurrency:3}),s=t.map((o=>{const a=i.find((e=>e.itemId===o.id));return n.put({progress:Math.round((t.length-(r.size+r.pending))/t.length*100),tpAction:Yn.PUSH_CHANGES}),(null===a||void 0===a?void 0:a.status)===Xe.b.PENDING?()=>e.updateItemCurationStatus(o.id,Xe.b.PENDING):()=>e.pushItemCuration(o.id)})),c=yield r.addAll(s);if(c.some((e=>void 0===e)))throw Error("Some item curations were not pushed");return c}yield Object(eo.takeLatest)($.g,(function*(e){const{wallet:t}=e.payload;yield Object(eo.put)(Object(ze.z)(t.address))})),yield Object(eo.takeLatest)(ze.b,(function*(o){const{items:a,collection:i,tree:r,hashes:s}=o.payload,c=new La.a({concurrency:5}),l=[],d=yield Object(eo.call)(Si);if(!d)return void(yield Object(eo.put)(Object(ze.v)(l,"Invalid Identity")));yield Object(eo.put)(Object(P.openModal)("ApprovalFlowModal",{view:gi.DEPLOYING_TP}));const u=a.map((o=>async()=>{let u;try{u=await async function(e,t,n,o,a){return hi(e,t,n,o,a)}(e,i,o,r,s[o.id]);try{const i=await t.getContentClient();let r;await i.deploy({...u,authChain:oe.Authenticator.signPayload(d,u.entityId)}),n.put({progress:Math.round((a.length-(c.size+c.pending))/a.length*100),tpAction:Yn.APPROVE_COLLECTION});try{return r=await e.updateItemCurationStatus(o.id,Xe.b.APPROVED),r}catch(p){l.push(new We.b(o))}}catch(p){l.push(new We.c(o))}}catch(p){l.push(new We.a(o))}return Promise.resolve()})),p=yield Object(eo.call)([c,"addAll"],u);l.length?yield Object(eo.put)(Object(ze.v)(l)):yield Object(eo.put)(Object(ze.x)(i,p))})),yield Object(eo.takeEvery)(ze.e,(function*(t){const{address:n}=t.payload;try{const t=yield Object(eo.call)([e,"fetchThirdParties"],n);yield Object(eo.put)(Object(ze.A)(t))}catch(o){yield Object(eo.put)(Object(ze.y)(o.message))}})),yield Object(eo.takeEvery)(ze.h,(function*(t){const{thirdPartyId:n}=t.payload;try{const t=yield Object(eo.call)([e,"fetchThirdPartyAvailableSlots"],n);yield Object(eo.put)(Object(ze.D)(n,t))}catch(o){yield Object(eo.put)(Object(ze.B)(o.message))}})),yield Object(eo.takeEvery)(ze.n,(function*(e){const{thirdParty:t,items:n}=e.payload;try{const e=o(n),{newItems:i,newItemCurations:r}=yield Object(eo.call)(a,t,n);yield Object(eo.put)(Object(ze.J)(t.id,e,i,r))}catch(r){yield i(),yield Object(eo.put)(Object(ze.H)(r.message))}finally{yield Object(eo.put)(Object(P.closeModal)("PublishThirdPartyCollectionModal"))}})),yield Object(eo.takeEvery)(ze.q,(function*(e){const{items:t}=e.payload;try{const e=o(t),n=yield Object(eo.call)(r,t);yield Object(eo.put)(Object(ze.M)(e,n))}catch(n){yield i(),yield Object(eo.put)(Object(ze.K)(n.message))}finally{yield Object(eo.put)(Object(P.closeModal)("PublishThirdPartyCollectionModal"))}})),yield Object(eo.takeEvery)(ze.k,(function*(e){const{thirdParty:t,itemsToPublish:n,itemsWithChanges:s}=e.payload,c=o(n);try{const e=yield Object(eo.call)(a,t,n),o=yield Object(eo.call)(r,s),i=[...e.newItemCurations,...o];yield Object(eo.put)(Object(ze.G)(c,e.newItems,i)),yield Object(eo.put)(Object(ze.C)(t.id))}catch(l){yield i(),yield Object(eo.put)(Object(ze.E)(l.message))}finally{yield Object(eo.put)(Object(P.closeModal)("PublishThirdPartyCollectionModal"))}})),yield Object(eo.takeEvery)(ze.o,(function*(e){const{thirdPartyId:t}=e.payload;yield Object(eo.put)(Object(ze.C)(t))})),yield Object(eo.takeLatest)(ze.t,(function*(e){const{thirdPartyId:t,slots:n,merkleTreeRoot:o}=e.payload;try{const e=yield Object(eo.call)(Ha.getChainIdByNetwork,nt.Network.MATIC),a=yield Object(eo.call)(Ba.getContract,Ba.ContractName.ThirdPartyRegistry,e),i=yield Object(eo.call)(za.sendTransaction,a,"reviewThirdPartyWithRoot",t,o,n.map((e=>[e.qty,e.salt,e.sigR,e.sigS,e.sigV])));yield Object(eo.put)(Object(ze.Q)(i,e)),yield Object(eo.call)(Es,i),yield Object(eo.put)(Object(ze.P)())}catch(a){yield Object(eo.put)(Object(ze.N)(a))}})),yield Object(eo.takeEvery)(n,(function*(e){yield Object(eo.put)((t=e.progress,n=e.tpAction,Object(K.action)(Gn,{progress:t,action:n})));var t,n})),yield Object(eo.takeEvery)([ze.j,ze.l,ze.r,ze.p],(function*(){yield n.put({progress:0,tpAction:Yn.PUSH_CHANGES})}))}const Jc=S.a.get("MARKETPLACE_URL","");function*el(){yield Object(eo.takeEvery)(Z,tl)}function*tl(e){try{const e=yield Object(eo.call)((()=>Os.Atlas.fetchTiles(Jc+"/tiles")));yield Object(eo.put)((e=>Object(K.action)(J,{tiles:e}))(e))}catch(t){yield Object(eo.put)((e=>Object(K.action)(ee,{error:e}))(t.message))}}var nl=n(489),ol=n(620),al=n(1908),il=n(639);function*rl(){const e=Object(al.createTranslationSaga)({translations:il});yield Object(eo.takeLatest)(sn.STORAGE_LOAD,sl),yield e()}function*sl(){const e=yield Object(eo.select)(nl.getLocale),t=new URLSearchParams(window.location.search).get("locale"),n=Object.keys(il);t&&t!==e&&n.includes(t)&&(yield Object(eo.put)(Object(ol.changeLocale)(t)))}var cl=n(692);function*ll(){yield Object(eo.takeLatest)(F.e,dl),yield Object(eo.takeLatest)(D.c,ul)}function*dl(){yield Object(eo.put)(Object(X.f)(!0))}function*ul(){0===(yield Object(eo.select)(cl.e)).length&&(yield Object(eo.put)(Object(X.f)(!1)))}function*pl(){yield Object(eo.all)([ll()])}var ml=n(1909),bl=n(1040);const hl=Object(ml.createWalletSaga)({CHAIN_ID:S.a.get("CHAIN_ID")||nt.ChainId.ETHEREUM_MAINNET,POLL_INTERVAL:0,TRANSACTIONS_API_URL:Wa});function*fl(){yield Object(eo.all)([hl(),yl()])}function*yl(){yield Object(eo.takeEvery)(Qo.CONNECT_WALLET_SUCCESS,_l),yield Object(eo.takeEvery)(Qo.CHANGE_ACCOUNT,_l),yield Object(eo.takeEvery)(Qo.CHANGE_NETWORK,_l)}function*_l(e){const{wallet:t}=e.payload,n=t.networks.MATIC.chainId,o=[];try{o.push(Object(bl.a)(t.address,n,Ba.ContractName.CollectionManager)),yield Object(eo.put)(Object(po.fetchAuthorizationsRequest)(o))}catch(a){console.error(a)}}function*gl(e){yield Object(eo.takeEvery)(bt,(function*(t){const{type:n,pointers:o}=t.payload;try{const t=yield Object(eo.call)([e,"getContentClient"]),a=yield Object(eo.call)([t,"fetchEntitiesByPointers"],o);yield Object(eo.put)(((e,t,n)=>Object(K.action)(ht,{entities:n,type:e,pointers:t}))(n,o,a))}catch(a){yield Object(eo.put)(((e,t,n)=>Object(K.action)(ft,{error:n,type:e,pointers:t}))(n,o,a.message))}})),yield Object(eo.takeEvery)(_t,(function*(t){const{type:n,ids:o}=t.payload;try{const t=yield Object(eo.call)([e,"getContentClient"]),a=yield Object(eo.call)([t,"fetchEntitiesByIds"],o);yield Object(eo.put)(((e,t,n)=>Object(K.action)(gt,{type:e,ids:t,entities:n}))(n,o,a))}catch(a){yield Object(eo.put)(((e,t,n)=>Object(K.action)(jt,{type:e,ids:t,error:n}))(n,o,a.message))}})),yield Object(eo.takeEvery)(Ot,(function*(t){const{entities:n}=t.payload;try{const t=yield Si();if(!t)throw new Error("Invalid Identity");const o=yield Object(eo.call)([e,"getContentClient"]);yield Object(eo.all)(n.map((e=>Object(eo.call)([o,"deploy"],{...e,authChain:oe.Authenticator.signPayload(t,e.entityId)})))),yield Object(eo.put)((e=>Object(K.action)(vt,{entities:e}))(n))}catch(o){yield Object(eo.put)(((e,t)=>Object(K.action)(Ct,{entities:e,error:t}))(n,o.message))}})),yield Object(eo.takeEvery)(vt,(function*(e){const t=e.payload.entities.map((e=>e.entityId));t.length>0&&(yield Object(eo.put)(((e,t)=>Object(K.action)(_t,{type:e,ids:t}))(nt.EntityType.WEARABLE,t)))}))}var jl=n(1084);function*Ol(e){if(!(yield Object(eo.select)(V.d))){yield Object(eo.put)(Object(bo.openModal)("LoginModal"));const{success:e,close:t}=yield Object(eo.race)({success:Object(eo.take)(Qo.CONNECT_WALLET_SUCCESS),failure:Object(eo.take)(Qo.CONNECT_WALLET_FAILURE),close:Object(eo.take)(bo.CLOSE_MODAL)});if(t)return;e&&(yield Object(eo.put)(Object(bo.closeModal)("LoginModal")))}}function*vl(){yield Object(eo.takeEvery)(jl.a,Ol)}function*Cl(e){yield Object(eo.takeLatest)(_i,(function*(t){const{email:n,source:o}=t.payload;try{yield Object(eo.call)([e,"subscribeToNewsletter"],n,o),yield Object(eo.put)(Object(K.action)("[Success] Subscribe to newsletter",{}))}catch(a){yield Object(eo.put)(((e,t)=>Object(K.action)("[Failure] Subscribe to newsletter",{email:e,error:t}))(n,a.message))}}))}var xl=n(128),wl=n(845),El=n(475);const Sl=(e,t,n)=>Object(oa.jsx)(ta.T,{id:e?`curation_page.assign_modal.${e===t?wl.a.SELF_ASSIGN:wl.a.REASSIGN}.success`:"curation_page.assign_modal.collection_unassigned",values:{collection_name:Object(oa.jsx)("strong",{children:n}),assignee:e?Object(oa.jsx)("strong",{children:Object(oa.jsx)(El.a,{textOnly:!0,address:e})}):null}});function*Al(e){yield Object(xl.w)($e.e,(function*(){try{const t=yield Object(xl.d)([e,"fetchCurations"]);yield Object(xl.o)(Object($e.A)(t))}catch(t){yield Object(xl.o)(Object($e.y)(t.message))}})),yield Object(xl.w)($e.k,(function*(t){const{collectionId:n}=t.payload;try{yield Object(xl.d)([e,"pushCuration"],n),yield Object(xl.o)(Object($e.D)()),yield Object(xl.o)(Object($e.w)(n))}catch(o){yield Object(xl.o)(Object($e.B)(o.message))}})),yield Object(xl.w)($e.h,(function*(t){try{const{collectionId:n}=t.payload,o=yield Object(xl.d)([e,"fetchCuration"],n);yield Object(xl.o)(Object($e.x)(n,o))}catch(n){yield Object(xl.o)(Object($e.v)(n.message))}})),yield Object(xl.w)($e.b,(function*(t){const{collectionId:n}=t.payload;try{yield Object(xl.d)([e,"updateCurationStatus"],n,Xe.b.APPROVED),yield Object(xl.o)(Object($e.u)(n))}catch(o){yield Object(xl.o)(Object($e.s)(n,o.message))}})),yield Object(xl.w)($e.n,(function*(t){const{collectionId:n}=t.payload;try{yield Object(xl.d)([e,"updateCurationStatus"],n,Xe.b.REJECTED),yield Object(xl.o)(Object($e.G)(n))}catch(o){yield Object(xl.o)(Object($e.E)(n,o.message))}})),yield Object(xl.w)(Qo.CONNECT_WALLET_SUCCESS,(function*(){yield Object(xl.v)($.d),yield Object(xl.o)(Object($e.z)())})),yield Object(xl.w)($e.q,(function*(t){const{collectionId:n,assignee:o,curation:a}=t.payload,i=yield Object(xl.s)(ji.b,n),r=yield Object(xl.s)(I.getAddress);try{let t;t=a?yield Object(xl.d)([e,"updateCuration"],n,{assignee:o}):yield Object(xl.d)([e,"pushCuration"],n,o),yield Object(xl.o)(Object($e.J)(n,t)),yield Object(xl.o)(Object(js.showToast)({type:Os.ToastType.INFO,title:o?Object(ta.t)("curation_page.assign_success_title"):Object(ta.t)("curation_page.unassign_success_title"),body:Sl(o,r,i.name),timeout:6e3,closable:!0}))}catch(s){yield Object(xl.o)(Object(js.showToast)({type:Os.ToastType.ERROR,title:Object(ta.t)("curation_page.error_message_title"),body:Object(ta.t)("curation_page.error_message_body"),timeout:6e3,closable:!0})),yield Object(xl.o)(Object($e.H)(n,s.message))}finally{yield Object(xl.o)(Object(P.closeModal)("EditCurationAssigneeModal"))}}))}function*Tl(e){yield Object(xl.w)(Je.e,(function*(t){const{collectionId:n,itemId:o}=t.payload;try{const t=yield Object(xl.d)([e,"fetchItemCuration"],o);yield Object(xl.o)(Object(Je.i)(n,t))}catch(a){yield Object(xl.o)(Object(Je.g)(a.message))}})),yield Object(xl.w)(Je.b,(function*(t){const{collectionId:n,items:o}=t.payload;try{let t=[];if(o&&o.length>0){const r=new La.a({concurrency:10}),s=(a=o,i=30,Array.from({length:Math.ceil(a.length/i)},((e,t)=>a.slice(t*i,t*i+i)))).map((t=>()=>e.fetchItemCurations(n,t.map((e=>e.id))))),c=yield r.addAll(s);t=c.flat()}yield Object(xl.o)(Object(Je.l)(n,t))}catch(r){yield Object(xl.o)(Object(Je.j)(r.message))}var a,i})),yield Object(xl.x)(ot.k,(function*(e){var t,n;const{items:o}=e.payload,a=o.filter((e=>e.isPublished)),i=Object(At.i)(null===(t=o[0])||void 0===t?void 0:t.urn),r=null===(n=o[0])||void 0===n?void 0:n.collectionId;r&&i&&a.length>0&&(yield Object(xl.o)(Object(Je.k)(r,o.filter((e=>e.isPublished)))))}))}var Rl=n(1910);function*kl(){yield Object(eo.takeEvery)(Kn.b,Nl)}function*Nl(e){let t=e.payload.address;t||(t=yield Object(eo.select)(I.getAddress));try{if(!t){const{success:e}=yield Object(eo.race)({success:Object(eo.take)(Qo.CONNECT_WALLET_SUCCESS),failure:Object(eo.take)(Qo.CONNECT_WALLET_FAILURE)});if(!e)throw new Error("An address is required");t=e.payload.wallet.address}const e=yield Object(eo.call)([ss,ss.fetchWalletStats],t);if(!e)throw new Error("Could not fetch wallet stats");yield Object(eo.put)(Object(Kn.f)(t,e))}catch(n){yield Object(eo.put)(Object(Kn.d)(n.message,t))}}const Pl=Object(no.createProfileSaga)({peerUrl:ae.a,peerWithNoGbCollectorUrl:Object(ws.a)()});const Il=n(3410).version;Object(k.configure)({transformPayload:e=>"string"===typeof e||void 0===e?e:{...e,version:Il}});const Ll=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({stateSanitizer:e=>{const{scene:t,...n}=e;return n}}):g.compose,Ml=Object(C.a)(),Dl=(Fl=Ml,Object(ce.storageReducerWrapper)(Object(g.combineReducers)({asset:Le,assetPack:Re,authorization:ie.authorizationReducer,collection:Ye,committee:qe,collectionCuration:Ze,itemCuration:tt,deployment:G,editor:lt,ens:mt,entity:wt,identity:St,item:Rt,land:Pt,location:Lt,media:Wt,modal:re.modalReducer,pool:Kt,poolGroup:qt,profile:se.profileReducer,project:Jt,router:Object(r.b)(Fl),scene:nn,stats:rn,storage:ce.storageReducer,sync:Sn,thirdParty:Tn,tile:kn,toast:le.toastReducer,transaction:de.transactionReducer,translation:ue.translationReducer,ui:Vn,wallet:pe.walletReducer,features:me.featuresReducer,inspector:$n,worlds:Jn})));var Fl;const Ul=Object(j.a)(Ml),Bl=Object(O.default)(),zl=Object(v.createLogger)({predicate:()=>te.a,collapsed:()=>!0}),{storageMiddleware:Hl,loadStorageMiddleware:Wl}=Object(T.createStorageMiddleware)({migrations:Q,storageKey:S.a.get("LOCAL_STORAGE_KEY","builder"),paths:[["project","data"],["scene","present"],["ui","dashboard"],["auth","data"],["sync","localProjectIds"]],actions:[D.a,D.A,L.c,L.l,U.e,U.d,D.c,M.f,M.c,$.g,$.e,F.e,D.h,X.a,X.b,X.c],transform:e=>{const t={},n={};for(const o of e.sync.project.localIds){const a=e.project.data[o];a&&(t[o]=a,n[a.sceneId]=e.scene.present.data[a.sceneId])}return{...e,project:{...e.project,data:t},scene:{...e.scene,present:{...e.scene.present,data:n}}}},onError:(e,t)=>{const n=!!Object(N.getOpenModals)(t.getState()).QuotaExceededModal;e instanceof DOMException&&"QuotaExceededError"===e.name&&!n&&t.dispatch(Object(P.openModal)("QuotaExceededModal"))}}),Gl=Object(A.createTransactionMiddleware)(),Yl=Object(R.createAnalyticsMiddleware)(S.a.get("SEGMENT_API_KEY")),Ql=[Ul,Bl,zl,Hl,Yl,Gl].filter((e=>null!==e)),Vl=Object(g.applyMiddleware)(...Ql),ql=Ll(Vl),Xl=Object(g.createStore)(Dl,ql),$l=new ne.b(ne.a,new class{constructor(e){this.store=void 0,this.store=e}async createAuthHeaders(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"get",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n={},o=this.store.getState(),a=Object(I.getAddress)(o);if(a){const o=await Object(_.getIdentity)(a);if(o){const a=(e+":"+t).toLowerCase(),i=oe.Authenticator.signPayload(o,a);for(let e=0;e<i.length;e++)n[`x-identity-auth-chain-${e}`]=JSON.stringify(i[e])}}return n}}(Xl)),Kl=Object(E.createCatalystClient)({url:ae.a,fetcher:Object(w.createFetchComponent)()}),Zl=ne.a.replace("/v1",""),Jl=new x.BuilderClient(Zl,(()=>Object(V.b)(Xl.getState())[Object(I.getAddress)(Xl.getState())]),(()=>Object(I.getAddress)(Xl.getState())),fetch),ed=new class{constructor(e){this.subgraph=e,this.fetchExternalNames=async e=>{const t=e.toLowerCase();let n;try{n=await fetch(this.subgraph,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({query:`\n            {\n              domains(\n                where: {or: [{wrappedOwner: "${t}"}, {registrant: "${t}"}]}\n              ) {\n                name\n              }\n            }\n          `})})}catch(a){throw new Error(`Failed to fetch ENS list - ${a.message}`)}if(!n.ok)throw new Error(`Failed to fetch ENS list - ${n.status}`);const o=await n.json();if("errors"in o)throw new Error(`Failed to fetch ENS list - ${JSON.stringify(o.errors)}`);return o.data.domains.map((e=>e.name))}}}(S.a.get("ENS_SUBGRAPH_URL"));if(Bl.run((function*(e,t,n,o,a){yield Object(eo.all)([Co(),Go(e),Pa(t),Object(ao.authorizationSaga)(),vi(e,t),Ci(e),zi(e,n),ir(),ds(t,a),gl(n),ps(e),bs(),Ns(e,t),Ms(),ec(),uc(),gc(),Cc(),Ec(e),Tc(e),Pl(),Lc(e),zc(e),Gc(),Xc(e),Zc(e,n),el(),Object(io.toastSaga)(),Object(oo.transactionSaga)(),rl(),pl(),fl(),Al(e),Tl(e),Object(ro.featuresSaga)({polling:{apps:[to.ApplicationName.BUILDER],delay:6e4}}),Object(Rl.a)(e,o),vl(),Cl(e),kl()])}),$l,Jl,Kl,Xl,ed),Wl(Xl),te.a){window.getState=Xl.getState}window.onbeforeunload=function(){return Object(q.d)(Xl.getState()).size>0||null},Xl.dispatch(Object(K.action)(Z));var td=n(828),nd=n.n(td),od=n(33),ad=n.n(od);n(3411);class id extends Jo.PureComponent{constructor(){super(...arguments),this.handleChange=(e,t)=>{const{items:n,onChange:o}=this.props,a=n.find((e=>e.id===t.value));a&&o(a)}}getOptions(){const{items:e,filter:t}=this.props,n=t?e.filter(t):e,o=[];for(const a of n)o.push({value:a.id,text:a.name,image:Object(at.K)(a)});return o}renderTrigger(e){const{value:t,placeholder:n}=this.props;return t?Object(oa.jsxs)(Os.Row,{className:"selected-item",children:[Object(oa.jsx)("img",{src:Object(at.K)(t),alt:t.name}),Object(oa.jsx)("div",{className:"name",children:t.name})]}):e.length>0?Object(oa.jsx)("p",{className:"placeholder",children:n||Object(oa.jsxs)(oa.Fragment,{children:[Object(ta.t)("item_dropdown.placeholder"),"\u2026"]})}):Object(oa.jsx)("p",{className:"no-items",children:Object(ta.t)("item_dropdown.no_items")})}render(){const{isDisabled:e}=this.props,t=this.getOptions();return Object(oa.jsx)(Os.Dropdown,{className:"ItemDropdown",trigger:this.renderTrigger(t),inline:!0,direction:"right",options:t,onChange:this.handleChange,scrolling:t.length>4,disabled:e||t.length<=0})}}var rd=Object(i.connect)((e=>({items:Object(ei.a)(e)})))(id);class sd extends Jo.PureComponent{constructor(){super(...arguments),this.state={},this.handleChangeItem=e=>{this.setState({item:e})}}componentDidMount(){const{address:e,onFetchItems:t}=this.props;t(e)}render(){const{name:e,onClose:t,onSubmit:n,metadata:o,isLoading:a}=this.props,{collectionId:i}=o,{item:r}=this.state;return Object(oa.jsxs)(ad.a,{name:e,onClose:t,size:"tiny",children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("add_existing_item_modal.title"),subtitle:Object(ta.t)("add_existing_item_modal.subtitle"),onClose:t}),Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsx)(rd,{value:r,onChange:this.handleChangeItem,filter:e=>!e.collectionId})}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:()=>r&&n(r,i),loading:a,disabled:!r,children:Object(ta.t)("global.add")})})]})}}var cd=Object(i.connect)((e=>({address:Object(I.getAddress)(e),isLoading:Object(Hi.isLoadingType)(Object(ei.i)(e),ot.I)})),(e=>({onSubmit:(t,n)=>e(Object(ot.Ib)(t,n)),onFetchItems:t=>e(Object(ot.nb)(t))})))(sd),ld=n(1083),dd=n(290),ud=n(366);const pd=e=>e.ui.thirdParty,md=e=>pd(e).progress[Yn.APPROVE_COLLECTION],bd=e=>pd(e).progress[Yn.PUSH_CHANGES];var hd=n(194),fd=n(263);const yd=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(e<0)return"N/A";if(0===e)return"0 Bytes";const n=1024,o=t<0?0:t,a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(n));return`${parseFloat((e/Math.pow(n,i)).toFixed(o))} ${a[i]}`};n(3415);class _d extends Jo.PureComponent{constructor(){super(...arguments),this.state={didRescue:!1,didApproveConsumeSlots:!1},this.handleConfirm=()=>{const{metadata:e,onRescueItems:t}=this.props,{collection:n,items:o,contentHashes:a}=e;this.setState({didRescue:!0}),t(n,o,a)},this.handleReviewThirdParty=()=>{const{metadata:e,onReviewThirdParty:t}=this.props,{collection:n,merkleTreeRoot:o,slots:a}=e;this.setState({didApproveConsumeSlots:!0});t(Object(At.g)(n.urn),a,o)}}canCloseModal(){const{isConfirmingRescueTx:e,isDeployingItems:t,isConfirmingApproveTx:n,isAwaitingApproveTx:o}=this.props;return!e&&!t&&!n&&!o}renderHash(e){return e.slice(0,6)+"..."+e.slice(-6)}renderLoadingView(){return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.loading.title"),subtitle:Object(ta.t)("approval_flow.loading.subtitle")}),Object(oa.jsx)(Os.ModalContent,{className:"loading",children:Object(oa.jsx)(Os.Center,{children:Object(oa.jsx)(Os.Loader,{active:!0,size:"huge"})})})]})}renderRescueView(){const{onClose:e,metadata:t,isConfirmingRescueTx:n}=this.props,{items:o,contentHashes:a}=t,{didRescue:i}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.rescue.title"),subtitle:Object(ta.t)("approval_flow.rescue.subtitle"),onClose:this.canCloseModal()?e:void 0}),o.length>xs.a?Object(oa.jsx)(Os.Message,{warning:!0,size:"tiny",visible:!0,className:"warning-rescue-message",content:Object(ta.t)("approval_flow.rescue.items_exceed_limit.content"),header:Object(ta.t)("approval_flow.rescue.items_exceed_limit.title")}):null,Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsxs)(Os.Table,{basic:"very",children:[Object(oa.jsx)(Os.Table.Header,{children:Object(oa.jsxs)(Os.Table.Row,{children:[Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("global.name")}),Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("global.category")}),Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("global.body_shape_plural")}),Object(oa.jsx)(Os.Table.HeaderCell,{textAlign:"right",children:Object(ta.t)("global.hash")})]})}),Object(oa.jsx)(Os.Table.Body,{children:o.map(((e,t)=>Object(oa.jsxs)(Os.Table.Row,{className:"item",children:[Object(oa.jsxs)(Os.Table.Cell,{className:"name",children:[Object(oa.jsx)(fd.a,{item:e}),e.name]}),Object(oa.jsx)(Os.Table.Cell,{children:Object(ta.t)(`${e.type}.category.${e.data.category}`)}),Object(oa.jsx)(Os.Table.Cell,{children:Object(at.u)(e).map((e=>Object(ta.t)(`body_shapes.${Object(at.cb)(e)}`))).join(", ")}),Object(oa.jsx)(Os.Table.Cell,{textAlign:"right",children:this.renderHash(a[t])})]},e.id)))})]})}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{primary:!0,disabled:i||n,loading:i,onClick:this.handleConfirm,children:Object(ta.t)("approval_flow.rescue.confirm")}),Object(oa.jsx)(Os.Button,{secondary:!0,onClick:e,disabled:!this.canCloseModal(),children:Object(ta.t)("global.cancel")})]})]})}renderConsumeTPSlotsView(){const{onClose:e,metadata:t,isConfirmingReviewThirdPartyTx:n}=this.props,{items:o}=t,{didApproveConsumeSlots:a}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.consume_slots.title"),subtitle:Object(ta.t)("approval_flow.consume_slots.subtitle"),onClose:this.canCloseModal()?e:void 0}),Object(oa.jsxs)(Os.ModalContent,{children:[Object(oa.jsxs)(Os.Table,{basic:"very",children:[Object(oa.jsx)(Os.Table.Header,{children:Object(oa.jsxs)(Os.Table.Row,{children:[Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("global.name")}),Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("global.category")}),Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("global.body_shape_plural")})]})}),Object(oa.jsx)(Os.Table.Body,{children:o.slice(0,xs.b).map((e=>Object(oa.jsxs)(Os.Table.Row,{className:"item",children:[Object(oa.jsxs)(Os.Table.Cell,{className:"name",children:[Object(oa.jsx)(fd.a,{item:e}),e.name]}),Object(oa.jsx)(Os.Table.Cell,{children:Object(ta.t)(`wearable.category.${e.data.category}`)}),Object(oa.jsx)(Os.Table.Cell,{children:Object(at.u)(e).map((e=>Object(ta.t)(`body_shapes.${Object(at.cb)(e)}`))).join(", ")})]},e.id)))})]}),o.length>xs.b?Object(oa.jsx)("span",{children:Object(ta.t)("approval_flow.consume_slots.more_items",{count:o.length-xs.b})}):null]}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{primary:!0,disabled:a||n,loading:a,onClick:this.handleReviewThirdParty,children:Object(ta.t)("approval_flow.rescue.confirm")}),Object(oa.jsx)(Os.Button,{secondary:!0,onClick:e,disabled:!this.canCloseModal(),children:Object(ta.t)("global.cancel")})]})]})}renderDeployThirdPartyView(){const{onClose:e,metadata:t,onDeployThirdPartyItems:n,isDeployingItems:o}=this.props,{items:a,collection:i,tree:r,hashes:s}=t;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.upload.title"),subtitle:Object(ta.t)("approval_flow.upload.subtitle"),onClose:this.canCloseModal()?e:void 0}),Object(oa.jsxs)(Os.ModalContent,{children:[Object(oa.jsxs)(Os.Table,{basic:"very",children:[Object(oa.jsx)(Os.Table.Header,{children:Object(oa.jsx)(Os.Table.Row,{children:Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("global.name")})})}),Object(oa.jsx)(Os.Table.Body,{children:a.slice(0,xs.b).map((e=>Object(oa.jsx)(Os.Table.Row,{className:"item",children:Object(oa.jsxs)(Os.Table.Cell,{className:"name",children:[Object(oa.jsx)(fd.a,{item:e}),e.name]})},e.id)))})]}),a.length>xs.b?Object(oa.jsx)("span",{children:Object(ta.t)("approval_flow.consume_slots.more_items",{count:a.length-xs.b})}):null]}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{primary:!0,disabled:o,loading:o,onClick:()=>n(a,i,r,s),children:Object(ta.t)("approval_flow.upload.confirm")}),Object(oa.jsx)(Os.Button,{secondary:!0,onClick:e,disabled:!this.canCloseModal(),children:Object(ta.t)("global.cancel")})]})]})}renderProgressBar(){const{TPDeployItemsProgress:e}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.upload.title"),subtitle:Object(ta.t)("approval_flow.upload.subtitle")}),Object(oa.jsx)(hd.Modal.Content,{children:Object(oa.jsx)("div",{className:"progressBarContainer",children:Object(oa.jsx)(Os.Progress,{percent:e,className:"progressBar",progress:!0})})})]})}renderDeployView(){const{onClose:e,metadata:t,onDeployItems:n,isDeployingItems:o}=this.props,{items:a,entities:i}=t;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.upload.title"),subtitle:Object(ta.t)("approval_flow.upload.subtitle"),onClose:this.canCloseModal()?e:void 0}),Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsxs)(Os.Table,{basic:"very",children:[Object(oa.jsx)(Os.Table.Header,{children:Object(oa.jsxs)(Os.Table.Row,{children:[Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("global.name")}),Object(oa.jsx)(Os.Table.HeaderCell,{textAlign:"right",children:Object(ta.t)("global.size")})]})}),Object(oa.jsx)(Os.Table.Body,{children:a.map(((e,t)=>Object(oa.jsxs)(Os.Table.Row,{className:"item",children:[Object(oa.jsxs)(Os.Table.Cell,{className:"name",children:[Object(oa.jsx)(fd.a,{item:e}),e.name]}),Object(oa.jsx)(Os.Table.Cell,{textAlign:"right",children:yd(Array.from(i[t].files.values()).reduce(((e,t)=>e+t.buffer.byteLength),0))})]},e.id)))})]})}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{primary:!0,disabled:o,loading:o,onClick:()=>n(i),children:Object(ta.t)("approval_flow.upload.confirm")}),Object(oa.jsx)(Os.Button,{secondary:!0,onClick:e,disabled:!this.canCloseModal(),children:Object(ta.t)("global.cancel")})]})]})}renderApproveView(){const{onClose:e,metadata:t,onApproveCollection:n,isConfirmingApproveTx:o,isAwaitingApproveTx:a}=this.props,{collection:i}=t;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.approve.title"),subtitle:Object(ta.t)("approval_flow.approve.subtitle"),onClose:this.canCloseModal()?e:void 0}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{primary:!0,disabled:o||a,loading:a,onClick:()=>n(i),children:Object(ta.t)("approval_flow.approve.confirm")}),Object(oa.jsx)(Os.Button,{secondary:!0,onClick:e,disabled:!this.canCloseModal(),children:Object(ta.t)("global.cancel")})]})]})}renderErrorView(){const{onClose:e,metadata:t,errors:n}=this.props,{error:o}=t;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.error.title"),subtitle:Object(ta.t)("approval_flow.error.subtitle"),onClose:e}),Object(oa.jsx)(Os.ModalContent,{className:"error",children:Object(oa.jsxs)(oa.Fragment,{children:[o,null!==n&&void 0!==n&&n.length?Object(oa.jsx)(oa.Fragment,{children:Object(oa.jsxs)(Os.Table,{basic:"very",children:[Object(oa.jsx)(Os.Table.Header,{children:Object(oa.jsxs)(Os.Table.Row,{children:[Object(oa.jsx)(Os.Table.HeaderCell,{width:11,children:Object(ta.t)("global.name")}),Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("approval_flow.error.title")})]})}),Object(oa.jsx)(Os.Table.Body,{children:n.map((e=>Object(oa.jsxs)(Os.Table.Row,{className:"item",children:[Object(oa.jsxs)(Os.Table.Cell,{className:"name",children:[Object(oa.jsx)(fd.a,{item:e.item}),Object(oa.jsxs)("div",{className:"error-container",children:[Object(oa.jsx)("span",{children:e.item.name}),Object(oa.jsx)("p",{className:"urn",children:e.item.urn})]})]}),Object(oa.jsx)(Os.Table.Cell,{children:e.message})]},e.item.id)))})]})}):null]})}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(Os.Button,{secondary:!0,onClick:e,children:Object(ta.t)("global.close")})})]})}renderSuccessView(){const{onClose:e}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("approval_flow.success.title"),subtitle:Object(ta.t)("approval_flow.success.subtitle"),onClose:e}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(Os.Button,{secondary:!0,onClick:e,children:Object(ta.t)("global.close")})})]})}render(){const{name:e,onClose:t,metadata:n}=this.props,{view:o}=n;let a,i="small";switch(o){case gi.LOADING:a=this.renderLoadingView(),i="tiny";break;case gi.RESCUE:a=this.renderRescueView();break;case gi.CONSUME_TP_SLOTS:a=this.renderConsumeTPSlotsView();break;case gi.DEPLOY:a=this.renderDeployView();break;case gi.DEPLOY_TP:a=this.renderDeployThirdPartyView();break;case gi.DEPLOYING_TP:a=this.renderProgressBar();break;case gi.APPROVE:a=this.renderApproveView(),i="tiny";break;case gi.ERROR:a=this.renderErrorView();break;case gi.SUCCESS:a=this.renderSuccessView(),i="tiny"}return Object(oa.jsx)(hd.Modal,{name:e,onClose:this.canCloseModal()?t:void 0,className:"ApprovalFlowModal",size:i,closeOnEscape:this.canCloseModal(),closeOnDimmerClick:this.canCloseModal(),children:a})}}var gd=Object(i.connect)((e=>{const t=Object(ld.b)(e),n=Object(ei.i)(e),o=Object(ji.i)(e),a=Object(dd.getPendingTransactions)(e);return{isConfirmingRescueTx:n.some((e=>e.type===ot.C)),isConfirmingReviewThirdPartyTx:n.some((e=>e.type===ze.t)),isDeployingItems:t.some((e=>e.type===Ot))||Object(ud.g)(e),isConfirmingApproveTx:o.some((e=>e.type===He.b)),isAwaitingApproveTx:a.some((e=>e.actionType===He.c)),TPDeployItemsProgress:md(e),errors:Object(ud.d)(e)}}),(e=>({onRescueItems:(t,n,o)=>e(Object(ot.xb)(t,n,o)),onDeployItems:t=>e((e=>Object(K.action)(Ot,{entities:e}))(t)),onDeployThirdPartyItems:(t,n,o,a)=>e(Object(ze.w)(t,n,o,a)),onApproveCollection:t=>e(Object(He.H)(t)),onReviewThirdParty:(t,n,o)=>e(Object(ze.O)(t,n,o))})))(_d),jd=n(846),Od=n(386);n(3416);class vd extends ea.a.PureComponent{constructor(){super(...arguments),this.state={currentName:""},this.handleClaim=()=>{const{onClaim:e,onAuthorizedAction:t,onClaimNameClear:n}=this.props,{currentName:o}=this.state,a={name:Ba.ContractName.MANAToken,address:Qr.f,chainId:Object(Ha.getChainIdByNetwork)(nt.Network.ETHEREUM),network:nt.Network.ETHEREUM,category:nt.NFTCategory.ENS};n(),t({authorizedAddress:Qr.a,authorizedContractLabel:"DCLControllerV2",targetContract:a,targetContractName:Ba.ContractName.MANAToken,requiredAllowanceInWei:ut.c,authorizationType:Od.AuthorizationType.ALLOWANCE,onAuthorized:()=>e(o)})},this.handleChangeName=e=>{const t=e.target.value;this.setState({currentName:t.replace(/\s/g,"")})},this.handleClose=()=>{const{onClose:e}=this.props;e()}}render(){const{name:e,metadata:t,isLoading:n}=this.props,{originalName:o}=t,{currentName:a}=this.state,i=a!==o,r=i&&a.length>0;return Object(oa.jsxs)(ad.a,{name:e,onClose:n?void 0:this.handleClose,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("claim_name_fat_finger_modal.title"),onClose:n?void 0:this.handleClose}),Object(oa.jsxs)(Os.Form,{onSubmit:this.handleClaim,children:[Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)("div",{className:"details",children:Object(oa.jsx)(ta.T,{id:"claim_name_fat_finger_modal.description",values:{name:Object(oa.jsx)("strong",{children:o})}})}),Object(oa.jsx)(Os.Field,{placeholder:Object(ta.t)("claim_name_fat_finger_modal.name_placeholder"),value:a,error:r,disabled:n,message:r?Object(ta.t)("claim_name_fat_finger_modal.names_different"):"",onChange:this.handleChangeName})]}),Object(oa.jsxs)(ad.a.Actions,{children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:this.handleClose,disabled:n,type:"button",children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,type:"submit",disabled:i||n,loading:n,children:Object(ta.t)("global.confirm")})]})]})]})}}var Cd=Object(i.connect)((e=>({isLoading:Object(Hi.isLoadingType)(Object(cs.l)(e),dt.f)||Object(cs.p)(e),address:Object(I.getAddress)(e)})),(e=>({onNavigate:t=>e(Object(Fe.e)(t)),onClaim:t=>e(Object(dt.K)(t)),onClaimNameClear:()=>e(Object(dt.I)())})))(Object(hd.withAuthorizedAction)(vd,jd.AuthorizedAction.CLAIM_NAME,{title_action:"claim_name_fat_finger_modal.authorization.title_action",action:"claim_name_fat_finger_modal.authorization.action"},cs.b,cs.h));n(3417);class xd extends Jo.PureComponent{constructor(){super(...arguments),this.handleRemove=()=>{const{manager:e,onRemove:t}=this.props;t(e)}}render(){const{manager:e}=this.props;return Object(oa.jsxs)("div",{className:"Manager",children:[Object(oa.jsxs)("div",{className:"info",children:[Object(oa.jsx)(El.a,{address:e}),Object(oa.jsx)("div",{className:"address",children:Object(qa.e)(e)})]}),Object(oa.jsx)("span",{className:"action link",onClick:this.handleRemove,children:Object(ta.t)("global.delete")})]})}}var wd=xd;n(3418);class Ed extends Jo.PureComponent{constructor(){super(...arguments),this.state={manager:""},this.handleAdd=()=>{const{onAdd:e}=this.props,{manager:t}=this.state;e(t)},this.handleCancel=()=>{const{onCancel:e}=this.props;e()},this.handleChange=e=>{this.setState({manager:e.target.value})}}render(){const{manager:e}=this.state;return Object(oa.jsxs)(Os.Form,{className:"EmptyManager",onSubmit:this.handleAdd,children:[Object(oa.jsx)(Os.Field,{className:"rounded",type:"address",value:e,onChange:this.handleChange,placeholder:"0x...",error:!!e&&!Object(qa.c)(e)}),Object(oa.jsx)(Os.Button,{basic:!0,className:"action link",onClick:this.handleAdd,children:Object(ta.t)("global.add")}),Object(oa.jsx)("span",{className:"action link",onClick:this.handleCancel,children:Object(ta.t)("global.cancel")})]})}}var Sd=Ed;n(3419);class Ad extends Jo.PureComponent{constructor(){super(...arguments),this.state=this.getInitialState(),this.handleAddNewManager=()=>{const{managers:e}=this.state;this.setState({managers:[...e,void 0]})},this.handleAddManager=(e,t)=>{if(this.isValidManager(t)){const n=this.removeManagerAtIndex(e);n.push(t),this.setState({managers:n})}},this.handleRemoveManager=e=>{const{managers:t}=this.state;this.setState({managers:t.filter((t=>t!==e))})},this.handleCancelNew=e=>{this.setState({managers:this.removeManagerAtIndex(e)})},this.handleSubmit=()=>{const{collection:e,onSetManagers:t}=this.props,{managers:n}=this.state,o=[];for(const a of e.managers)n.includes(a)||o.push({address:a,hasAccess:!1,collection:e});for(const a of n)e.managers.includes(a)||o.push({address:a,hasAccess:!0,collection:e});t(e,o)}}getInitialState(){const{collection:e}=this.props,t=new Set(e.managers);return{managers:Array.from(t)}}isDisabled(){return this.state.managers.every((e=>!e))}removeManagerAtIndex(e){const{managers:t}=this.state;return[...t.slice(0,e),...t.slice(e+1)]}isValidManager(e){return Object(qa.c)(e)&&!this.state.managers.includes(e)}render(){const{isLoading:e,onClose:t}=this.props,{managers:n}=this.state;return Object(oa.jsxs)(ad.a,{className:"CollectionManagersModal",onClose:t,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("collection_managers_modal.title"),subtitle:Object(ta.t)("collection_managers_modal.subtitle"),onClose:t}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)("div",{className:"managers",children:n.length>0?Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("div",{className:"managers-list",children:n.map(((e,t)=>e?Object(oa.jsx)(wd,{manager:e,onRemove:this.handleRemoveManager},t):Object(oa.jsx)(Sd,{onAdd:e=>this.handleAddManager(t,e),onCancel:()=>this.handleCancelNew(t)},t)))}),Object(oa.jsx)("div",{className:"add-managers link",onClick:this.handleAddNewManager,children:Object(ta.t)("collection_managers_modal.add_manager")})]}):Object(oa.jsxs)("div",{className:"empty-managers-list",children:[Object(ta.t)("collection_managers_modal.no_managers"),"\xa0",Object(oa.jsx)("span",{className:"link",onClick:this.handleAddNewManager,children:Object(ta.t)("collection_managers_modal.adding_one")})]})}),n.length?Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(hd.NetworkButton,{primary:!0,onClick:this.handleSubmit,loading:e,disabled:this.isDisabled(),network:nt.Network.MATIC,children:Object(ta.t)("global.add")})}):null]})]})}}var Td=Object(i.connect)(((e,t)=>{const{collectionId:n}=t.metadata;if(!n)throw new Error("Invalid collection id to add managers");return{collection:Object(ji.b)(e,n),isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.B)}}),(e=>({onSetManagers:(t,n)=>e(Object(He.hb)(t,n))})))(Ad),Rd=n(705);class kd extends Jo.PureComponent{constructor(){super(...arguments),this.handleClose=()=>{const{onClose:e}=this.props;e&&e()},this.handleConnect=e=>{this.props.onConnect(e)}}render(){return Object(oa.jsx)(nd.a,{name:"LoginModal",open:!0,onConnect:this.handleConnect,onClose:this.handleClose})}}var Nd=Object(i.connect)(null,(e=>({onConnect:t=>e(Object($.n)(t))})))(kd),Pd=n(507);let Id;!function(e){e[e.Millisecond=1]="Millisecond",e[e.Second=1e3]="Second",e[e.Minute=6e4]="Minute",e[e.Hour=36e5]="Hour",e[e.Day=864e5]="Day"}(Id||(Id={}));n(3420);class Ld extends Jo.Component{constructor(){super(...arguments),this.state={timeout:null,diff:0,days:0,hours:0,minutes:0,seconds:0},this.setCountdownState=()=>{const e=this.calculateCountDown(),t=e.diff?setTimeout((()=>this.setCountdownState()),Date.now()%1e3):null;this.setState({...e,timeout:t})}}componentDidMount(){this.setCountdownState()}componentWillUnmount(){this.state.timeout&&clearTimeout(this.state.timeout)}shouldComponentUpdate(e,t){return(this.props.until&&this.props.until.getTime())!==(e.until&&e.until.getTime())||this.state!==t}calculateCountDown(){const{until:e}=this.props,t=Math.max(e.getTime()-Date.now(),0),n=Math.floor(t%Id.Minute/Id.Second),o=Math.floor(t%Id.Hour/Id.Minute),a=Math.floor(t%Id.Day/Id.Hour);return{days:Math.floor(t/Id.Day),hours:a,minutes:o,seconds:n,diff:t}}getDigit(e){return e<10?"0"+String(e):String(e)}render(){const{days:e,hours:t,minutes:n,seconds:o}=this.state;return Object(oa.jsxs)("div",{className:"Countdown",children:[Object(oa.jsxs)("div",{className:"CountdownDigit",children:[Object(oa.jsx)("div",{className:"secondary",children:"DAYS"}),Object(oa.jsx)("div",{children:this.getDigit(e)})]}),Object(oa.jsx)("div",{className:"secondary",children:" "}),Object(oa.jsxs)("div",{className:"CountdownDigit",children:[Object(oa.jsx)("div",{className:"secondary",children:"HOURS"}),Object(oa.jsx)("div",{children:this.getDigit(t)})]}),Object(oa.jsx)("div",{className:"secondary",children:":"}),Object(oa.jsxs)("div",{className:"CountdownDigit",children:[Object(oa.jsx)("div",{className:"secondary",children:"MIN"})," ",Object(oa.jsx)("div",{children:this.getDigit(n)})]}),Object(oa.jsx)("div",{className:"secondary",children:":"}),Object(oa.jsxs)("div",{className:"CountdownDigit",children:[Object(oa.jsx)("div",{className:"secondary",children:"SEC"})," ",Object(oa.jsx)("div",{children:this.getDigit(o)})]})]})}}n(3421);const Md=/^0x[a-fA-F0-9]{40}$/gi,Dd="dcl-buillder-eth-address";class Fd extends Jo.PureComponent{constructor(){super(...arguments),this.state={isSuccess:!1,ethAddress:localStorage.getItem(Dd)||"",hasEthAddressError:!1},this.analytics=Object(k.getAnalytics)(),this.handleShare=()=>{const{project:e,onOpenModal:t}=this.props,n=e.id;t("ShareModal",{type:Pd.a.POOL,id:n})},this.handleSubmit=()=>{const{ethAddress:e}=this.state,{project:t,onDeployToPool:n,poolGroup:o}=this.props,a=t.id,i=o.id;e&&!Md.test(e)?this.setState({hasEthAddressError:!0}):(e&&(this.analytics.identify(e),localStorage.setItem(Dd,e)),this.setState({hasEthAddressError:!1}),n(a,{groups:[i]}))},this.handleEthAddressChange=(e,t)=>{this.setState({ethAddress:t.value,hasEthAddressError:!1})}}componentWillReceiveProps(e){const{error:t,isSubmitting:n}=e;!0!==this.props.isSubmitting||!1!==n||t||this.setState({isSuccess:!0})}componentWillUnmount(){this.setState({isSuccess:!1})}renderLogin(){const{name:e,onClose:t}=this.props;return Object(oa.jsx)(Nd,{name:e,onClose:t})}renderLoading(){return Object(oa.jsx)(ad.a,{name:this.props.name,onClose:this.props.onClose,children:Object(oa.jsx)(Os.Loader,{size:"large"})})}renderSuccess(){const{project:e}=this.props;return Object(oa.jsxs)(ad.a,{name:this.props.name,onClose:this.props.onClose,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("deployment_contest_modal.success.title"),subtitle:Object(ta.t)("deployment_contest_modal.success.subtitle"),onClose:this.props.onClose}),Object(oa.jsx)("div",{className:"contest-modal",children:Object(oa.jsx)("div",{className:"thumbnail",style:{backgroundImage:`url("${e.thumbnail}")`}})}),Object(oa.jsx)("div",{className:"contest-modal",children:Object(oa.jsxs)("div",{className:"button-group",children:[Object(oa.jsx)(Os.Button,{className:"submit",size:"small",primary:!0,onClick:this.handleShare,children:Object(ta.t)("global.share")}),Object(oa.jsx)(Os.Button,{className:"submit",size:"small",secondary:!0,onClick:this.props.onClose,children:Object(ta.t)("global.done")})]})})]})}renderProgress(){const{progress:e}=this.props,t=e<50?Object(ta.t)("deployment_contest_modal.recording.title"):Object(ta.t)("deployment_contest_modal.uploading.title"),n=e<50?Object(ta.t)("deployment_contest_modal.recording.subtitle"):Object(ta.t)("deployment_contest_modal.uploading.subtitle");return Object(oa.jsxs)(ad.a,{name:this.props.name,onClose:this.props.onClose,children:[Object(oa.jsx)(Os.ModalNavigation,{title:t,subtitle:n,onClose:this.props.onClose}),Object(oa.jsx)("div",{className:"contest-modal",children:Object(oa.jsx)("div",{className:"progress-bar-container",children:Object(oa.jsx)("div",{className:"progress-bar",style:{width:`${e}%`}})})})]})}renderSubmit(){const{hasEthAddressError:e}=this.state,{isReady:t,poolGroup:n}=this.props,o=n&&n.activeUntil||new Date;return Object(oa.jsxs)(ad.a,{name:this.props.name,onClose:this.props.onClose,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("deployment_contest_modal.submit.title"),subtitle:Object(ta.t)("deployment_contest_modal.submit.subtitle"),onClose:this.props.onClose}),Object(oa.jsx)("div",{className:"contest-modal",children:Object(oa.jsx)(Ld,{until:o})}),Object(oa.jsx)("div",{className:"contest-modal",children:Object(oa.jsxs)("label",{className:e?"error":"",children:[Object(oa.jsx)("p",{className:"label",children:Object(ta.t)("deployment_contest_modal.submit.eth_address")}),Object(oa.jsx)(Os.Input,{defaultValue:this.state.ethAddress,placeholder:"0x0000000000000000000000000000000000000000",onChange:this.handleEthAddressChange,size:"small"}),e&&Object(oa.jsx)("p",{className:"note",children:Object(ta.t)("deployment_contest_modal.submit.invalid_eth_address")})]})}),Object(oa.jsx)("div",{className:"contest-modal",children:Object(oa.jsx)(Os.Button,{size:"small",primary:!0,onClick:this.handleSubmit,loading:!t,disabled:!t,children:Object(ta.t)("global.submit")})})]})}render(){const{isSuccess:e}=this.state,{isLoggedIn:t,isLoading:n,isSubmitting:o}=this.props;return n?this.renderLoading():t?o?this.renderProgress():e?this.renderSuccess():this.renderSubmit():this.renderLogin()}}var Ud=Object(i.connect)(((e,t)=>({error:Object(wi.h)(e),project:Object(co.b)(e),poolGroup:Object(Rd.a)(e),isReady:Object(tr.x)(e),isLoading:!Object(tr.x)(e)||Object(tr.s)(e),isLoggedIn:Object(V.d)(e),progress:Object(wi.j)(e).value,isSubmitting:Object(wi.l)(e)})),(e=>({onOpenModal:(t,n)=>e(Object(bo.openModal)(t,n)),onUpdate:t=>e(Object(D.db)(t)),onShare:t=>e(fo(t)),onDeployToPool:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e(Object(M.A)(t,n))}})))(Fd),Bd=Ud,zd=n(74);n(3424);class Hd extends Jo.PureComponent{constructor(){super(...arguments),this.handleRemove=()=>{const{asset:e}=this.props;this.props.onRemove(e.id)},this.handleClick=()=>{const{asset:e,onClick:t}=this.props;t&&t(e)}}render(){const{asset:e,error:t,errorLabel:n,hideLabel:o,onClick:a}=this.props;let i="AssetThumbnail";return t&&(i+=" error"),a&&(i+=" clickable"),e&&e.category===Yo.b.GROUND_CATEGORY&&(i+=" ground"),e&&e.script&&(i+=" smart"),Object(oa.jsx)(Os.Popup,{className:"modal-tooltip",content:t,disabled:!t,position:"top center",trigger:Object(oa.jsxs)("div",{className:i,children:[Object(oa.jsx)("div",{className:"close-button",onClick:this.handleRemove,children:Object(oa.jsx)(zd.a,{name:"close"})}),Object(oa.jsxs)("div",{className:"wrapper",onClick:this.handleClick,children:[e&&e.thumbnail?Object(oa.jsx)("img",{src:e.thumbnail,alt:e.name}):Object(oa.jsx)("div",{className:"error-icon"}),!o&&Object(oa.jsx)("span",{className:"title",title:e.name,children:e.name}),t&&!o&&Object(oa.jsx)("span",{className:"error",children:n||Object(ta.t)("asset_pack.import.errors.invalid")})]})]},e.id),hideOnScroll:!0,on:"hover",inverted:!0,basic:!0})}}var Wd=Hd;n(3425);class Gd extends Jo.PureComponent{constructor(){super(...arguments),this.thumbnailInput=Jo.createRef(),this.analytics=Object(k.getAnalytics)(),this.state={errors:{},isDirty:!1,isLoading:!1},this.getErrors=e=>{const t={};e.title.length>20&&(t.title=Object(ta.t)("asset_pack.edit_assetpack.errors.max_title_length",{count:20})),e.title.length<3&&(t.title=Object(ta.t)("asset_pack.edit_assetpack.errors.min_title_length",{count:3}));return Object.keys(t).length>0?t:{}},this.handleRemove=e=>{const{assetPack:t,onChange:n}=this.props;this.analytics.track("Asset Pack Editor Remove Asset",{assetId:e}),n({...t,assets:t.assets.filter((t=>t.id!==e))})},this.handleOpenFileDialog=()=>{this.thumbnailInput.current&&this.thumbnailInput.current.click()},this.handleSetDirty=()=>{this.setState({isDirty:!0,errors:this.getErrors(this.props.assetPack)})},this.handleThumbnail=e=>{const{assetPack:t,onChange:n}=this.props,{files:o}=e.target;if(o&&o.length>0){const e=o[0];if(e.size>Ki)return void alert(Object(ta.t)("asset_pack.edit_assetpack.errors.thumbnail_size",{count:Ki}));const a=URL.createObjectURL(e);this.analytics.track("Asset Pack Editor Change Thumbnail"),n({...t,thumbnail:a})}},this.handleChangeName=e=>{const{assetPack:t,onChange:n}=this.props,{isDirty:o}=this.state,a={...t,title:e.target.value};o&&this.setState({errors:this.getErrors(a)}),n(a)},this.handleSubmit=()=>{const e=this.getErrors(this.props.assetPack),t=Object.keys(e).length>0;this.setState({isDirty:!0,isLoading:!0,errors:e}),t||this.props.onSubmit(this.props.assetPack)},this.handleAddItems=()=>{const{onAddAssets:e}=this.props;e&&e()},this.handleEditAsset=e=>{const{onEditAsset:t}=this.props;t&&(this.analytics.track("Asset Pack Editor Edit Asset",{asset:e}),t(e))},this.handleDeleteAssetPack=()=>{const{assetPack:e,onDeleteAssetPack:t}=this.props;t&&t(e)},this.renderAssets=()=>{const{assetPack:e}=this.props;return e.assets.map((e=>Object(oa.jsx)(Wd,{asset:e,onRemove:this.handleRemove,onClick:this.handleEditAsset,hideLabel:!0},e.id)))},this.renderEmptyState=()=>{const{onReset:e}=this.props;return Object(oa.jsxs)("div",{className:"no-items",children:[Object(ta.t)("asset_pack.edit_assetpack.items.empty"),Object(oa.jsx)(Os.Button,{basic:!0,onClick:e,children:Object(ta.t)("asset_pack.edit_assetpack.reset")})]})}}componentDidMount(){const{assetPack:e,onChange:t}=this.props;if(!e.thumbnail){let n=null;if(e.assets.length){const t=e.assets.find((e=>!Object($i.g)(e)));n=t?t.thumbnail:e.assets[0].thumbnail}t({...e,thumbnail:n||""})}}render(){const{assetPack:e,error:t,onAddAssets:n,onDeleteAssetPack:o}=this.props,{errors:a,isDirty:i,isLoading:r}=this.state,s=e?e.assets.length:0,c=Object.keys(a).length>0,l=!!i&&(c||0===s);let d=e.thumbnail;return d&&Object(Wo.g)(d)&&(d=`${e.thumbnail}?updated_at=${e.updatedAt||+Date.now()}`),Object(oa.jsxs)("div",{className:"AssetPackEditor",children:[Object(oa.jsxs)("div",{className:"assetpack",children:[Object(oa.jsxs)("div",{className:"thumbnail",children:[e.thumbnail&&Object(oa.jsx)("img",{src:d,alt:e.title}),Object(oa.jsx)(zd.a,{name:"camera",onClick:this.handleOpenFileDialog}),Object(oa.jsx)("input",{type:"file",ref:this.thumbnailInput,onChange:this.handleThumbnail,accept:"image/png, image/jpeg"})]}),Object(oa.jsx)(Os.Field,{label:Object(ta.t)("asset_pack.edit_assetpack.name.label"),placeholder:Object(ta.t)("asset_pack.edit_assetpack.name.placeholder"),onChange:this.handleChangeName,error:c,message:a.title,value:e.title})]}),Object(oa.jsxs)("div",{className:"assets",children:[Object(oa.jsxs)("div",{className:"header",children:[s>0&&Object(oa.jsx)(Os.Header,{sub:!0,children:Object(ta.t)("asset_pack.edit_assetpack.items.label",{count:s})}),n&&s>0&&Object(oa.jsx)(Os.Button,{basic:!0,onClick:this.handleAddItems,children:Object(ta.t)("asset_pack.edit_assetpack.action_add_items")})]}),Object(oa.jsx)("div",{className:"content",children:e&&s>0?this.renderAssets():this.renderEmptyState()})]}),t?Object(oa.jsxs)("div",{className:"error",children:[Object(ta.t)("global.error_ocurred"),' "',t,'"']}):null,Object(oa.jsxs)("div",{className:"actions",children:[o&&Object(oa.jsxs)(Os.Button,{primary:!0,inverted:!0,onClick:this.handleDeleteAssetPack,children:[Object(oa.jsx)(Os.Icon,{name:"trash"}),Object(ta.t)("asset_pack.edit_assetpack.action_delete")]}),Object(oa.jsx)(Os.Button,{className:"submit",disabled:l||r,onClick:this.handleSubmit,primary:!0,children:o?Object(ta.t)("asset_pack.edit_assetpack.action_edit"):Object(ta.t)("asset_pack.edit_assetpack.action_create")})]})]})}}var Yd=Gd,Qd=(n(691),n(35)),Vd=n.n(Qd),qd=n(1088),Xd=n(418);n(3426);class $d extends Jo.Component{constructor(){super(...arguments),this.renderDropZone=e=>{const{open:t,isDragActive:n,getRootProps:o,getInputProps:a}=e,{items:i,renderFiles:r,renderAction:s,className:c}=this.props,l=Vd()("dropzone",c,{active:n});return Object(oa.jsxs)("div",{...o(),className:l,children:[Object(oa.jsx)("input",{...a()}),i&&i.length>0&&r&&r(i),(!i||0===i.length)&&s&&Object(oa.jsxs)("span",{className:"cta",children:[Object(oa.jsx)("div",{className:"image"}),Object(oa.jsx)("div",{children:s(Object(Xd.b)(t))})]})]})},this.handleDropAccepted=e=>{this.props.onAcceptedFiles(e)},this.handleDropRejected=e=>{this.props.onRejectedFiles(e)}}render(){const{accept:e,disabled:t}=this.props;return Object(oa.jsx)("div",{className:"FileImport",children:Object(oa.jsx)(qd.a,{children:this.renderDropZone,onDropAccepted:this.handleDropAccepted,onDropRejected:this.handleDropRejected,accept:e,disabled:t})})}}var Kd=$d;n(3427);class Zd extends Jo.PureComponent{constructor(){super(...arguments),this.state={assetPackId:this.getAssetPackId(),files:{},isLoading:!1},this.analytics=Object(k.getAnalytics)(),this.renderFiles=()=>{const e=Object.values(this.state.files);return Object(oa.jsxs)(oa.Fragment,{children:[1===e.length&&Object(oa.jsx)("div",{className:"single-project",children:this.renderFile(e[0])}),e.length>1&&Object(oa.jsxs)("div",{className:"multiple-projects",children:[e.map((e=>this.renderFile(e)))," "]})]})},this.renderFile=e=>{if(!e.fileName)return this.handleRemoveProject(e.id),null;const t=e.error?e.id:e.asset.id,n=e.error&&e.asset&&e.asset.thumbnail;return Object(oa.jsx)(Wd,{asset:{...e.asset,id:t,name:e.error?e.fileName:e.asset.name},error:e.error,errorLabel:n?Object(ta.t)("asset_pack.import.errors.duplicated"):Object(ta.t)("asset_pack.import.errors.invalid"),onRemove:this.handleRemoveProject},t)},this.renderDropzoneCTA=e=>{const{isLoading:t}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[t?Object(oa.jsx)("div",{className:"overlay",children:Object(oa.jsx)(Os.Loader,{active:!0,size:"big"})}):null,Object(ta.t)("asset_pack.import.cta",{accepted_extensions:Object(at.o)($o.n),enter:Object(oa.jsx)("br",{}),action:Object(oa.jsx)("span",{className:"action",onClick:e,children:Object(ta.t)("asset_pack.import.upload_manually")})})]})},this.handleZipFile=async e=>{const{assetPackId:t}=this.state,n=await As.a.loadAsync(e),o=Object.keys(n.files).find((e=>Object(qo.basename)(e)===Dc));let a=null;if(o){const e=n.file(o),t=await e.async("text");a=JSON.parse(t)}const i=[];n.forEach((e=>{if(e===Mi.a.MANIFEST_FILE)throw this.analytics.track("Asset Importer Error Scene File"),new Error(Object(ta.t)("asset_pack.import.errors.scene_file",{name:e}));Object(qo.basename)(e)===Dc||Object(qo.basename)(e).startsWith(".")||i.push(e)}));const r=await Promise.all(i.map((e=>n.file(e))).filter((e=>null!==e)).map((async e=>{const t=await e.async("blob");if(t.size>$i.a)throw this.analytics.track("Asset Importer Error Max File Size"),new Error(Object(ta.t)("asset_pack.import.errors.max_file_size",{name:Object(na.d)(e.name),max:$i.a/1e6}));return{name:e.name,blob:t}}))),s=i.find((e=>e.endsWith(".gltf")||e.endsWith(".glb"))),c=i.find((e=>e.endsWith(".js")))||null;let l,d=r.reduce(((e,t)=>(e[t.name]=t.blob,e)),{});l=a&&a.id?a.id:kc()(),c&&(d=await async function(e,t,n){const o=n[e];if(o){let a=await new Response(o).text();if(Fc.test(a)&&(a=a.split(Fc).pop()),a.includes(Uc)){const e=a.trim().endsWith(";")?3:2,t=a.trim().slice(0,-e).split(Uc);a=t.shift()+a.slice(-e)}a=a.replace(/define\(\\?"([\w]*)/g,((e,n)=>{let o=e.slice(0,-n.length);return o+=`${t}/${n}`,o})),a=a.replace(/\[\\?"require\\?", \\?"exports\\?", ([\w|\\|/|"|,|\s|@]*)/g,((e,n)=>`${e.slice(0,-n.length)}${n.replace(/\\?"(\w.*?)\\?"/g,`\\"${t}/$1\\"`)}`));for(const e of Object.keys(n))a=a.replace(new RegExp(e,"g"),Object(Mi.c)(t,e));a=a.replace(/src(\/|\\)/g,""),n[e]=new Blob([a],{type:"text/plain"})}return n}(c,l,d)),this.analytics.track("Asset Importer File Success");let u={id:l,name:Object($i.e)(e.name),assetPackId:t,model:s,script:c,contents:d,tags:[],category:"decorations",metrics:{triangles:0,materials:0,meshes:0,bodies:0,entities:0,textures:0},thumbnail:"",parameters:[],actions:[]};if(a){a.name&&(a.name=a.name.slice(0,$i.b));const{contents:e,...t}=a;u={...u,...t}}return{id:l,fileName:e.name,asset:u}},this.handleModelFile=e=>{const{assetPackId:t}=this.state,n=kc()();if(e.size>$i.a)throw this.analytics.track("Asset Importer Error Max File Size"),new Error(Object(ta.t)("asset_pack.import.errors.max_file_size",{name:Object(na.d)(e.name),max:$i.a/1e6}));return function(e,t,n){return{id:e,fileName:n.name,asset:{id:e,assetPackId:t,thumbnail:"",tags:[],name:Object($i.e)(n.name),category:Yo.b.DECORATIONS_CATEGORY,model:n.name,script:null,contents:{[n.name]:n},metrics:{triangles:0,materials:0,meshes:0,bodies:0,entities:0,textures:0},parameters:[],actions:[]}}}(n,t,e)},this.handleDropAccepted=async e=>{const{assetPack:t}=this.props,{files:n}=this.state,o={};this.setState({isLoading:!0});for(const r of e){let e=null;const n=Object(na.a)(r.name);try{if(!n)throw this.analytics.track("Asset Importer Error Missing Extension"),new Error(Object(ta.t)("asset_pack.import.errors.missing_extension",{name:Object(na.d)(r.name)}));if(".zip"===n?e=await this.handleZipFile(r):".gltf"!==n&&".glb"!==n||(e=this.handleModelFile(r)),e){const n=Object($i.i)(e.asset.contents),{image:o,info:a}=await ka(n[e.asset.model],{mappings:n,thumbnailType:e.asset.category===Vi.b?Sa.TOP:Sa.DEFAULT,width:256,height:256});Object($i.j)(n),e.asset.thumbnail=o,e.asset.metrics=a;const i=t.assets.find((t=>t.id===e.asset.id));if(i)throw this.analytics.track("Asset Importer Error Duplicated Asset"),new Error(Object(ta.t)("asset_pack.import.errors.duplicated_asset",{name:Object(na.d)(r.name),id:i.id,existingAsset:i.name,newAsset:e.asset.name}))}}catch(i){e={id:kc()(),asset:e?e.asset:null,fileName:r.name,error:i.message||Object(ta.t)("asset_pack.import.errors.invalid")}}e&&(o[e.id]=e)}const a={...n,...o};this.setState({files:a,isLoading:!1})},this.handleDropRejected=e=>{console.log("rejected",e)},this.handleRemoveProject=e=>{const{[e]:t,...n}=this.state.files;this.setState({files:n})},this.handleSubmit=()=>{const{assetPack:e}=this.props,{files:t}=this.state,n=Object.values(t).map((e=>e.asset));this.props.onSubmit({...e,assets:e?[...e.assets,...n]:n})},this.handleOpenDocs=()=>{window.open("https://docs.decentraland.org/3d-modeling/3d-models/","_blank")}}getAssetPackId(){const{assetPack:e}=this.props;return e?e.id:kc()()}render(){const{files:e,isLoading:t}=this.state,n=Object.values(e),o=n.length>1?Object(ta.t)("asset_pack.import.action_many",{count:n.length}):Object(ta.t)("asset_pack.import.action"),a=n.find((e=>!!e.error)),i=n.length>0&&!a;return Object(oa.jsxs)("div",{className:"AssetImporter",children:[Object(oa.jsx)(Kd,{accept:[".zip",".gltf",".glb"],items:n,renderFiles:this.renderFiles,onAcceptedFiles:this.handleDropAccepted,onRejectedFiles:this.handleDropRejected,renderAction:this.renderDropzoneCTA,disabled:t}),Object(oa.jsx)(Os.Button,{className:"submit",disabled:!i,primary:i,onClick:this.handleSubmit,children:o})]})}}var Jd=Zd;n(3428);const eu=[{key:1,text:Yo.b.DECORATIONS_CATEGORY,value:Yo.b.DECORATIONS_CATEGORY},{key:2,text:Yo.b.FURNITURE,value:Yo.b.FURNITURE},{key:3,text:Yo.b.NATURE_CATEGORY,value:Yo.b.NATURE_CATEGORY},{key:4,text:Yo.b.STRUCTURES_CATEGORY,value:Yo.b.STRUCTURES_CATEGORY},{key:5,text:Yo.b.TILES_CATEGORY,value:Yo.b.TILES_CATEGORY}];class tu extends Jo.PureComponent{constructor(){var e;super(...arguments),e=this,this.handleCategoryChange=(e,t)=>{const{asset:n}=this.props,o=t.value;this.props.onChange({...n,category:o})},this.handleTagChange=(e,t)=>{const{asset:n}=this.props,o=t.value;this.props.onChange({...n,tags:o})},this.handleToggleGround=async()=>{const{asset:e}=this.props,t=Object($i.g)(e),n=t?await this.handleGetThumbnail():await this.handleGetThumbnail(!0),o={...e,category:t?Yo.b.DECORATIONS_CATEGORY:Yo.b.GROUND_CATEGORY,thumbnail:n};this.props.onChange(o)},this.handleChangeName=e=>{const{asset:t}=this.props;this.props.onChange({...t,name:e.currentTarget.value})},this.handleGetThumbnail=async function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{asset:n}=e.props;let o;const a=Object.values(n.contents);o="string"!==typeof a[0]?Object($i.i)(n.contents):Object.keys(n.contents).reduce(((e,t)=>(e[t]=Object(ne.c)(n.contents[t]),e)),{});const{image:i}=await ka(o[n.model],{mappings:o,thumbnailType:t?Sa.TOP:Sa.DEFAULT,width:256,height:256});return Object($i.j)(o),i}}render(){const{asset:e,errors:t={}}=this.props,n=Object($i.g)(e);let o=eu;return n&&(o=[...eu,{key:eu.length+1,text:Yo.b.GROUND_CATEGORY,value:Yo.b.GROUND_CATEGORY}]),Object(oa.jsxs)("div",{className:"SingleAssetEditor",children:[Object(oa.jsxs)("div",{className:"left-column",children:[Object(oa.jsx)("img",{src:e.thumbnail,className:n?"ground":"",alt:e.name}),Object(oa.jsxs)("span",{className:"metric triangles",children:[Object(oa.jsx)(zd.a,{name:"triangles"}),e.metrics.triangles," ",Object(ta.t)("metrics.triangles")]}),Object(oa.jsxs)("span",{className:"metric textures",children:[Object(oa.jsx)(zd.a,{name:"textures"}),e.metrics.textures," ",Object(ta.t)("metrics.textures")]}),Object(oa.jsxs)("span",{className:"metric materials",children:[Object(oa.jsx)(zd.a,{name:"geometries"}),e.metrics.materials," ",Object(ta.t)("metrics.materials")]})]}),Object(oa.jsxs)("div",{className:"right-column",children:[Object(oa.jsx)(Os.Field,{label:Object(ta.t)("asset_pack.edit_asset.name.label"),placeholder:Object(ta.t)("asset_pack.edit_asset.name.placeholder"),value:e.name,onChange:this.handleChangeName,error:!!t.name,message:t.name}),Object(oa.jsx)(Os.SelectField,{label:Object(ta.t)("asset_pack.edit_asset.category.label"),options:o,onChange:this.handleCategoryChange,defaultValue:Yo.b.DECORATIONS_CATEGORY,value:e.category,disabled:n}),Object(oa.jsx)(Os.Radio,{checked:n,label:Object(ta.t)("asset_pack.edit_asset.ground.label"),onClick:this.handleToggleGround}),Object(oa.jsx)(Os.TagField,{label:Object(ta.t)("asset_pack.edit_asset.tags.label"),placeholder:Object(ta.t)("asset_pack.edit_asset.tags.placeholder"),onChange:this.handleTagChange,value:e.tags||[],error:!!t.tags,message:t.tags})]})]})}}var nu=tu;n(3429);class ou extends Jo.PureComponent{constructor(){super(...arguments),this.state={currentAsset:this.getStartingAsset(),errors:{},isDirty:!1},this.analytics=Object(k.getAnalytics)(),this.handlePrev=()=>{this.setState({currentAsset:Math.max(this.state.currentAsset-1,0)})},this.handleNext=()=>{this.setState({currentAsset:Math.min(this.state.currentAsset+1,this.props.assetPack.assets.length-1)})},this.getErrors=e=>{const{errors:t}=this.state,n={};e.tags&&e.tags.length>$i.c&&(n.tags=Object(ta.t)("asset_pack.edit_asset.errors.tag_count",{count:$i.c})),e.name.length>$i.b&&(n.name=Object(ta.t)("asset_pack.edit_asset.errors.max_name_length",{count:$i.b})),e.name.length<$i.d&&(n.name=Object(ta.t)("asset_pack.edit_asset.errors.min_name_length",{count:$i.d}));const o=Object.keys(n).length>0;if(t[e.id]&&!o){const{[e.id]:n,...o}=t;return o}return o?{...t,[e.id]:n}:t},this.getAssetPackErrors=()=>{let e={};for(const t of this.getAssets())e={...e,...this.getErrors(t)};return e},this.handleChange=e=>{const{assetPack:t}=this.props,{isDirty:n}=this.state;if(n){const t=this.getErrors(e);this.setState({errors:t})}if(t){const n=[...t.assets],o=n.findIndex((t=>t.id===e.id));n[o]=e,this.props.onChange({...t,assets:n})}},this.getAssetIndex=e=>{const t=this.getAssets();for(let n=0;n<t.length;n++){if(t[n].id===e)return n}return 0},this.handleSubmit=()=>{const{currentAsset:e}=this.state,t=this.getAssetPackErrors(),n=Object.keys(t),o=n.length>0;e===this.getAssets().length-1||this.analytics.track("Asset Review Skip"),this.setState({isDirty:!0,errors:t,currentAsset:o?this.getAssetIndex(n[0]):e}),o||this.props.onSubmit(this.props.assetPack)}}getAssets(){const{assetPack:e,ignoredAssets:t}=this.props,n=[];for(const o of e.assets)t&&t.length>0&&t.includes(o.id)||n.push(o);return n}getStartingAsset(){const{startingAsset:e}=this.props;if(!e)return 0;const t=this.getAssets().findIndex((t=>t.id===e));return-1===t?0:t}render(){const{isEditing:e}=this.props,{currentAsset:t,errors:n,isDirty:o}=this.state,a=Object.keys(n).length>0,i=!!o&&a,r=this.getAssets(),s=0===t,c=t===r.length-1,l=r[t],d=n[l.id];return Object(oa.jsxs)("div",{className:"AssetsEditor",children:[Object(oa.jsx)(nu,{asset:l,onChange:this.handleChange,errors:d}),Object(oa.jsxs)("div",{className:"actions",children:[r.length>1&&Object(oa.jsxs)("div",{className:"pagination",children:[Object(oa.jsx)(Os.Button,{onClick:this.handlePrev,icon:"angle left",disabled:s}),Object(oa.jsxs)("span",{className:"current",children:[t+1,"/",r.length]}),Object(oa.jsx)(Os.Button,{onClick:this.handleNext,icon:"angle right",disabled:c})]}),Object(oa.jsxs)(Os.Button,{className:"submit",primary:c||e,disabled:i,onClick:this.handleSubmit,children:[e&&Object(ta.t)("global.save"),!e&&(c?Object(ta.t)("asset_pack.edit_asset.action"):Object(ta.t)("asset_pack.edit_asset.action_skip"))]})]})]})}}var au=ou;let iu;!function(e){e[e.LOGIN=0]="LOGIN",e[e.IMPORT=1]="IMPORT",e[e.EDIT_ASSETS=2]="EDIT_ASSETS",e[e.EDIT_ASSET_PACK=3]="EDIT_ASSET_PACK",e[e.PROGRESS=4]="PROGRESS",e[e.SUCCESS=5]="SUCCESS",e[e.EXIT=6]="EXIT"}(iu||(iu={}));n(3430);class ru extends Jo.PureComponent{constructor(){super(...arguments),this.state={view:this.props.isLoggedIn?iu.IMPORT:iu.LOGIN,back:iu.IMPORT,assetPack:this.getAssetPack()},this.analytics=Object(k.getAnalytics)(),this.handleAssetPackChange=e=>{this.setState({assetPack:e})},this.handleAssetImportSubmit=e=>{this.analytics.track("Create Asset Pack Assets Review"),this.setState({assetPack:e,view:iu.EDIT_ASSETS})},this.handleAssetEditorSubmit=e=>{this.analytics.track("Create Asset Pack Review"),this.setState({assetPack:e,view:iu.EDIT_ASSET_PACK})},this.handleAssetPackEditorSubmit=async e=>{const[t,n]=await Ji(e);this.props.onCreateAssetPack(t,n)},this.handleReset=()=>{this.setState({view:iu.IMPORT,assetPack:this.getAssetPack()})},this.handleLogin=()=>{const{project:e,onOpenModal:t}=this.props;e&&t("WalletLoginModal")},this.handleClose=()=>{const{view:e}=this.state,{onClose:t}=this.props;switch(e){case iu.LOGIN:case iu.SUCCESS:case iu.IMPORT:t();break;case iu.EDIT_ASSETS:case iu.EDIT_ASSET_PACK:this.setState({view:iu.EXIT,back:e});case iu.EXIT:case iu.PROGRESS:}},this.handleBack=()=>{this.setState({view:this.state.back})},this.renderAssetImport=()=>{const{assetPack:e}=this.state,{onClose:t}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.title_create"),subtitle:Object(ta.t)("asset_pack.import.description_create"),onClose:t}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(Jd,{assetPack:e,onSubmit:this.handleAssetImportSubmit})})]})},this.renderAssetEditor=()=>{const{assetPack:e}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.title_create"),subtitle:Object(ta.t)("asset_pack.edit_asset.description_create"),onClose:this.handleClose}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(au,{assetPack:e,onChange:this.handleAssetPackChange,onSubmit:this.handleAssetEditorSubmit})})]})},this.renderAssetpackEditor=()=>{const{error:e}=this.props,{assetPack:t}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.title_create"),subtitle:Object(ta.t)("asset_pack.edit_assetpack.description_create"),onClose:this.handleClose}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(Yd,{assetPack:t,onChange:this.handleAssetPackChange,onSubmit:this.handleAssetPackEditorSubmit,onReset:this.handleReset,error:e})})]})},this.renderProgress=()=>{const{progress:e}=this.props;let t="progress-bar";return 100===e.value&&(t+=" active"),Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.progress.creating_asset_pack"),subtitle:Object(ta.t)("asset_pack.progress.uploading_contents")}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)("div",{className:"progress-bar-container",children:Object(oa.jsx)("div",{className:t,style:{width:`${e.value}%`}})})})]})},this.renderSuccess=()=>Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.success.title"),subtitle:Object(ta.t)("asset_pack.success.description")}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(Os.Row,{center:!0,children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.props.onClose,children:Object(ta.t)("asset_pack.success.continue")})})})]})}componentWillReceiveProps(e){!this.props.isLoggedIn&&e.isLoggedIn&&this.setState({view:iu.IMPORT})}getDefaultAssetPackName(){let e=Object(ta.t)("asset_pack.default_name"),t=2;for(;this.hasAssetPack(e);)e=Object(ta.t)("asset_pack.default_name_suffix",{suffix:t}),t++;return e}hasAssetPack(e){const{assetPacks:t}=this.props;return t.some((t=>t.title===e))}getAssetPack(){const{ethAddress:e}=this.props,t=this.state?this.state.assetPack:null,n=kc()();return{id:n,title:t?t.title:this.getDefaultAssetPackName(),thumbnail:t?t.thumbnail:"",url:`${n}.json`,ethAddress:e||null,assets:[]}}componentDidUpdate(){const{progress:e,error:t,isLoading:n}=this.props;let o=this.state.view;e.stage!==be.UPLOAD_CONTENTS||100!==e.value||t||n?e.stage===be.NONE||t?o!==iu.EXIT&&t&&(o=iu.EDIT_ASSET_PACK):o=iu.PROGRESS:o=iu.SUCCESS,this.setState({view:o})}renderLogin(){const{name:e,onClose:t}=this.props;return Object(oa.jsx)(Nd,{name:e,onClose:t})}renderExit(){const{onClose:e}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.exit.title_create"),subtitle:Object(ta.t)("asset_pack.exit.description_create")}),Object(oa.jsxs)(ad.a.Actions,{className:"exit-actions",children:[Object(oa.jsx)(Os.Button,{primary:!0,onClick:e,children:Object(ta.t)("asset_pack.exit.action")}),Object(oa.jsx)(Os.Button,{onClick:this.handleBack,children:Object(ta.t)("asset_pack.exit.back")})]})]})}render(){const{name:e}=this.props,{view:t}=this.state;if(t===iu.LOGIN)return this.renderLogin();let n,o=e;switch(t){case iu.IMPORT:n=this.renderAssetImport();break;case iu.EDIT_ASSETS:n=this.renderAssetEditor();break;case iu.EDIT_ASSET_PACK:n=this.renderAssetpackEditor();break;case iu.PROGRESS:n=this.renderProgress();break;case iu.SUCCESS:n=this.renderSuccess();break;case iu.EXIT:n=this.renderExit(),o+=" narrow";break;default:n=null}return Object(oa.jsx)(ad.a,{name:e,className:o,onClose:this.handleClose,children:n})}}var su=Object(i.connect)((e=>({project:Object(co.b)(e),assetPacks:Object(lo.e)(e),progress:Object(Ho.e)(e),ethAddress:Object(I.getAddress)(e),error:Object(Ho.b)(e),isLoggedIn:Object(V.d)(e),isLoading:Object(Ho.f)(e)})),(e=>({onCreateAssetPack:(t,n)=>e(ve(t,n)),onOpenModal:(t,n)=>e(Object(bo.openModal)(t,n))})))(ru),cu=n(364),lu=n.n(cu);class du extends Jo.PureComponent{constructor(){super(...arguments),this.state={collectionName:""},this.handleSubmit=()=>{const{address:e,onSubmit:t}=this.props,{collectionName:n}=this.state;if(n){const o=Date.now();t({id:lu.a.v4(),name:n,urn:Object(At.c)(),owner:e,isPublished:!1,isApproved:!1,minters:[],managers:[],createdAt:o,updatedAt:o})}},this.handleNameChange=(e,t)=>{this.setState({collectionName:t.value})}}render(){const{name:e,onClose:t,isLoading:n,error:o}=this.props,{collectionName:a}=this.state,i=!a||n;let r=o;return"Name already in use"===o&&(r=Object(ta.t)("create_collection_modal.error_name_already_in_use")),Object(oa.jsxs)(ad.a,{name:e,onClose:t,size:"tiny",children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("create_collection_modal.title"),subtitle:Object(ta.t)("create_collection_modal.subtitle"),onClose:t}),Object(oa.jsxs)(Os.Form,{onSubmit:this.handleSubmit,disabled:i,children:[Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsx)(Os.Field,{label:Object(ta.t)("create_collection_modal.label"),placeholder:Object(ta.t)("create_collection_modal.placeholder"),value:a,onChange:this.handleNameChange,error:!!r,message:r||Object(ta.t)("create_collection_modal.message",{maxLength:Oi.a}),maxLength:Oi.a})}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(Os.Button,{primary:!0,disabled:i,loading:n,children:Object(ta.t)("global.create")})})]})]})}}var uu=Object(i.connect)((e=>({address:Object(I.getAddress)(e),isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.y),error:Object(ji.g)(e)})),(e=>({onSubmit:t=>e(Object(He.eb)(t))})))(du),pu=n(465),mu=n(1341),bu=n(1342),hu=n(1340),fu=n(577),yu=n(875);n(3434);const _u=Fa.ethers.utils.formatEther(S.a.get("MIN_SALE_VALUE_IN_WEI","0"));class gu extends Jo.PureComponent{constructor(e){super(e),this.state={isFree:!1,isOwnerBeneficiary:!1},this.handleIsFreeToggle=e=>{const t=!this.state.isFree;this.setState({isFree:t,isOwnerBeneficiary:!t&&this.state.isOwnerBeneficiary})},this.handleIsOwnerBeneficiary=e=>{this.state.isFree?e.preventDefault():this.setState({isOwnerBeneficiary:!this.state.isOwnerBeneficiary})},this.handlePriceChange=(e,t)=>{this.setState({price:Object(fu.toFixedMANAValue)(t.value)})},this.handleBeneficiaryChange=(e,t)=>{const n=t.value;this.setState({beneficiary:n})},this.handleSubmit=()=>{const{item:e,itemSortedContents:t,onSave:n,onSetPriceAndBeneficiary:o}=this.props,{price:a,isFree:i}=this.state,r=Fa.ethers.utils.parseEther(i?"0":a).toString(),s=this.getBeneficiary();if(e.isPublished)o(e.id,r,s);else{n({...e,price:r,beneficiary:s},null!==t&&void 0!==t?t:{})}};const{item:t}=this.props;if(t){const e=t.beneficiary===Fa.ethers.constants.AddressZero;this.state={isFree:e,price:this.getItemPrice(),beneficiary:e?"":t.beneficiary||t.owner,isOwnerBeneficiary:t.beneficiary===t.owner}}}getBeneficiary(){const{item:e}=this.props,{beneficiary:t,isFree:n,isOwnerBeneficiary:o}=this.state;return n?Fa.ethers.constants.AddressZero:o?e.owner:t}getItemPrice(){const{item:e}=this.props;return e.price?Fa.ethers.utils.formatEther(e.price):void 0}isDisabled(){const{isLoading:e}=this.props;return!this.isValidPrice()||!this.isValidBeneficiary()||e}isValidPrice(){const{price:e,isFree:t}=this.state,n=Number(e);return Number(n)>0||t}isPriceTooLow(){const{price:e=""}=this.state;return""!==e&&Number(e)<Number(_u)}isValidBeneficiary(){return Object(qa.c)(this.getBeneficiary())}render(){const{name:e,error:t,isLoading:n,mountNode:o,onClose:a,onSkip:i}=this.props,{isFree:r,isOwnerBeneficiary:s,price:c=""}=this.state,l=this.getBeneficiary();return Object(oa.jsxs)(ad.a,{name:e,size:"tiny",onClose:a,mountNode:o,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("edit_price_and_beneficiary_modal.title"),onClose:a}),Object(oa.jsxs)(Os.Form,{onSubmit:this.handleSubmit,children:[Object(oa.jsxs)(Os.ModalContent,{children:[Object(oa.jsxs)("div",{className:"price-field",children:[Object(oa.jsx)(Os.Field,{label:Object(ta.t)("edit_price_and_beneficiary_modal.price_label",{minPrice:_u}),placeholder:100,value:r?0:c,onChange:this.handlePriceChange,disabled:r,error:!!c&&!this.isValidPrice()}),Object(oa.jsx)(Os.Mana,{showTooltip:!0,network:nt.Network.MATIC,inline:!0}),Object(oa.jsxs)("div",{className:"checkbox make-it-free",children:[Object(oa.jsx)(Os.Checkbox,{className:"item-checkbox",checked:r,onClick:this.handleIsFreeToggle}),"\xa0",Object(ta.t)("edit_price_and_beneficiary_modal.free")]})]}),Object(oa.jsx)(Os.Field,{label:Object(oa.jsxs)(oa.Fragment,{children:[Object(ta.t)("edit_price_and_beneficiary_modal.beneficiary_label"),Object(oa.jsx)(yu.a,{content:Object(ta.t)("edit_price_and_beneficiary_modal.beneficiary_popup"),className:"info"})]}),type:"address",placeholder:"0x...",value:l,disabled:r||s,onChange:this.handleBeneficiaryChange,error:!!l&&!this.isValidBeneficiary()}),Object(oa.jsx)("div",{className:"checkbox beneficiary",children:Object(oa.jsx)(Os.Checkbox,{className:"item-checkbox",disabled:r,checked:s,onClick:this.handleIsOwnerBeneficiary,label:Object(ta.t)("edit_price_and_beneficiary_modal.for_me")})}),this.isPriceTooLow()||r?Object(oa.jsx)(Os.Card,{fluid:!0,className:"min-price-notice",children:Object(oa.jsx)(Os.Card.Content,{children:Object(oa.jsx)("div",{children:this.isPriceTooLow()?Object(oa.jsx)(ta.T,{id:"edit_price_and_beneficiary_modal.price_message",values:{minPrice:Object(oa.jsx)(Os.Mana,{showTooltip:!0,inline:!0,network:nt.Network.MATIC,children:_u}),token:Object(ta.t)(`tokens.${nt.Network.MATIC.toLowerCase()}`),br:Object(oa.jsx)("br",{})}}):r?Object(ta.t)("edit_price_and_beneficiary_modal.free_message"):null})})}):null,t?Object(oa.jsx)("p",{className:"danger-text",children:t}):null]}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(hd.NetworkButton,{primary:!0,disabled:this.isDisabled(),loading:n,network:nt.Network.MATIC,children:Object(ta.t)("global.save")}),!!i&&Object(oa.jsx)(Os.Button,{secondary:!0,disabled:n,onClick:i,type:"button",children:Object(ta.t)("global.skip")})]})]})]})}}var ju=Object(i.connect)(((e,t)=>{var n;const{itemId:o}=t.metadata,a=Object(ei.a)(e);return{item:null!==(n=t.item)&&void 0!==n?n:a.find((e=>e.id===o)),error:Object(ei.f)(e),isLoading:Object(Hi.isLoadingType)(Object(ei.i)(e),ot.p)||Object(Hi.isLoadingType)(Object(ei.i)(e),ot.I)||Object(Hi.isLoadingType)(Object(ei.i)(e),ot.T)}}),(e=>({onSave:(t,n)=>e(Object(ot.Db)(t,n)),onSetPriceAndBeneficiary:(t,n,o)=>e(Object(ot.Ob)(t,n,o))})))(gu),Ou=n(643),vu=n(370);let Cu;!function(e){e.IMPORT="import",e.DETAILS="details",e.THUMBNAIL="thumbnail",e.UPLOAD_VIDEO="upload_video",e.SET_PRICE="setPrice"}(Cu||(Cu={}));var xu=n(757),wu=n.n(xu);const Eu=e=>{let{error:t,className:n}=e;const[o,a]=Object(Jo.useState)(!1),i=Object(Jo.useRef)(null);if(Object(Jo.useEffect)((()=>(t&&(i.current=setTimeout((()=>a(!1)),6e3),a(!0)),()=>{i.current&&clearTimeout(i.current)})),[t]),!o||!t)return null;const{title:r=null,message:s}=function(e){return(e instanceof Error||e instanceof ia)&&"message"in e}(t)?t:{message:t};return Object(oa.jsxs)("div",{className:Vd()(wu.a.errorContainer,n),children:[Object(oa.jsx)("div",{className:wu.a.errorIcon}),Object(oa.jsxs)("div",{className:wu.a.errorMessageContainer,children:[r?Object(oa.jsx)("span",{className:wu.a.errorTitle,children:r}):null,Object(oa.jsx)("span",{className:wu.a.errorMessage,children:s})]})]})};var Su=ea.a.memo(Eu),Au=n(758),Tu=n.n(Au);class Ru extends ea.a.PureComponent{constructor(){super(...arguments),this.timer=void 0,this.state=this.getInitialState(),this.handleOpenDocs=()=>{window.open("https://docs.decentraland.org/3d-modeling/3d-models/","_blank")},this.renderDropzoneCTA=e=>{const{error:t,isLoading:n,acceptedExtensions:o,moreInformation:a}=this.props,{itemLoaded:i}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[n?Object(oa.jsx)("div",{className:"overlay",children:Object(oa.jsx)(Os.Loader,{active:!0,size:"huge"})}):null,Object(oa.jsx)(Su,{error:t}),i?Object(ta.t)("asset_pack.import.loaded"):Object(ta.t)("asset_pack.import.cta",{accepted_extensions:Object(at.o)(o),enter:Object(oa.jsx)("br",{}),action:Object(oa.jsx)("span",{className:"action",onClick:e,children:Object(ta.t)("asset_pack.import.upload_manually")})}),a&&!i?Object(oa.jsxs)("div",{className:Tu.a.zipInfo,children:[Object(oa.jsx)(vu.a,{className:Tu.a.infoIcon}),a]}):null]})}}getInitialState(){return{itemLoaded:!1}}componentDidUpdate(e){e.isLoading&&!this.props.isLoading&&(this.timer=setTimeout((()=>{this.setState({itemLoaded:!1})}),2e3),this.setState({itemLoaded:!0}))}componentWillUnmount(){this.timer&&clearTimeout(this.timer)}render(){const{acceptedExtensions:e,isLoading:t,onDropAccepted:n,onDropRejected:o}=this.props,{itemLoaded:a}=this.state,i=[Tu.a.dropzone,a&&Tu.a.itemLoaded,t&&Tu.a.isLoading].filter(Boolean).join(" ");return Object(oa.jsx)(oa.Fragment,{children:Object(oa.jsx)(Kd,{className:i,accept:e,onAcceptedFiles:n,onRejectedFiles:o,renderAction:this.renderDropzoneCTA,disabled:t||a})})}}var ku=Ru;n(3435);class Nu extends Jo.PureComponent{constructor(){super(...arguments),this.state=this.getInitialState(),this.cleanContentModelKeys=(e,t)=>Object.keys(e).reduce(((n,o)=>{if(-1!==o.indexOf("/")){if(0===e[o].size)return n;if(Object(at.V)(o)&&t!==$o.a.BOTH){return n[Object(at.G)(o)]=e[o],n}if(Object(at.U)(o))return n}return n[o]=e[o],n}),{}),this.handleZippedModelFiles=async e=>{const t=await Object(Ou.loadFile)(e.name,e),{wearable:n,scene:o,content:a,emote:i}=t;if(i&&e.size>at.c)throw new sa;let r;if(r=n?Object(at.H)(n.data.representations):Object.keys(a).find(at.W),!r)throw new ba;return{modelData:await this.processModel(r,a),wearable:n,emote:i,scene:o}},this.handleModelFile=async e=>{const t=e.name,n={[t]:e},{model:o,contents:a,type:i}=await this.processModel(t,n);if(i===$o.m.EMOTE){if((await Na(n[o])).duration>at.b)throw new fa}const r=i===$o.m.EMOTE?at.c:at.d;if(e.size>r)throw new sa(r);return{model:o,contents:a,type:i}},this.handleErrorsOnFile=e=>{this.setState({error:void 0,isLoading:!1});let t=null,n=[];e instanceof Ou.UnknownRequiredPermissionsError?(t="unknown_required_permissions",n=e.getUnknownRequiredPermissions()):e instanceof Ou.DuplicatedRequiredPermissionsError?(t="duplicated_required_permissions",n=e.getDuplicatedRequiredPermissions()):e instanceof Ou.AllowedMediaHostnameIsEmptyOrInvalidError?t="allowed_media_hostnames_empty_or_invalid":e instanceof Ou.MissingRequiredPropertiesError&&(t="missing_required_properties",n=e.getMissingProperties()),n.length&&console.error(n.map((e=>`'${e}'`)).join(", ")),this.setState({error:t?new ia(Object(ta.t)(`create_single_item_modal.error.${t}.title`,{wrong_configurations:n.map((e=>`'${e}'`)).join(", "),count:n.length}),Object(ta.t)(`create_single_item_modal.error.${t}.message`,{learn_more:Object(oa.jsx)("span",{className:"link",onClick:Object(Xd.a)(this.handleOpenLearnMoreOnError),children:Object(ta.t)("global.learn_more")})})):e.message,isLoading:!1})},this.handleOpenLearnMoreOnError=()=>{window.open("https://docs.decentraland.org/creator/development-guide/sdk7/scene-metadata/","_blank","noopener noreferrer")},this.handleDropAccepted=async e=>{const{collection:t,category:n,metadata:o,isRepresentation:a,onDropAccepted:i}=this.props;let r=!1,s=null;null!==o&&void 0!==o&&o.changeItemFile&&(r=o.changeItemFile,s=o.item);const c=e[0],l=Object(na.a)(c.name);try{if(this.setState({isLoading:!0}),!l)throw new ua;let e={id:r?s.id:lu.a.v4(),name:r?s.name:Object($i.e)(c.name),file:c,category:a||r?n:void 0};if(".zip"===l){const{modelData:t,wearable:n,scene:o,emote:i}=await this.handleZippedModelFiles(c),{type:r,model:s,contents:l}=t;if(o&&(l[$o.r]=new Blob([JSON.stringify(o)],{type:"application/json"})),e={...e,type:r,model:s,contents:l},n){let a;a&&a in t.contents&&(a=await Object(Wo.a)(t.contents[a])),e={...e,thumbnail:a,name:n.name,description:n.description,rarity:n.rarity,category:n.data.category,bodyShape:Object(at.s)(n),requiredPermissions:null===o||void 0===o?void 0:o.requiredPermissions}}else if(i){let n;n&&n in t.contents&&(n=await Object(Wo.a)(t.contents[n])),e={...e,thumbnail:n,name:i.name,description:i.description,rarity:i.rarity,category:i.category,playMode:i.play_mode,tags:i.tags}}else if(e.bodyShape=Object(at.t)(l),e.bodyShape!==$o.a.BOTH)e.model=Object(at.G)(s),e.contents=this.cleanContentModelKeys(l);else{if(a)throw new ha;e.contents=this.cleanContentModelKeys(l,$o.a.BOTH)}}else{const{type:t,model:n,contents:o}=await this.handleModelFile(c);e={...e,type:t,model:n,contents:o}}if(o&&r&&e.type!==o.item.type)throw new ya(o.item.type);const d=e.type===$o.m.EMOTE;if(t&&Object(At.i)(t.urn)&&(d||Object(at.Y)(e))){const t=e.type===$o.m.WEARABLE?Object(at.Y)(e)?"smart_wearable":"wearable":"emote";throw new _a(t)}i({...e,bodyShape:d||Object(at.Y)(e)?$o.a.BOTH:e.bodyShape})}catch(d){this.handleErrorsOnFile(d)}},this.handleDropRejected=e=>{console.warn("rejected",e),this.setState({error:new pa})},this.handleOpenMoreInformation=()=>{window.open("https://docs.decentraland.org/decentraland/creating-wearables/","_blank","noopener noreferrer")}}getInitialState(){return{id:"",isLoading:!1}}async processModel(e,t){const n=URL.createObjectURL(t[e]),o=Object(na.a)(e)||void 0;let a=!1;return".png"!==o&&(a=await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{gltf:n,renderer:o}=await Ra(e,t);return document.body.removeChild(o.domElement),n.animations.length>0}(n,{mappings:Object($i.i)(t),width:1024,height:1024,extension:o,engine:Aa.BABYLON}),URL.revokeObjectURL(n)),{model:e,contents:t,type:a?$o.m.EMOTE:$o.m.WEARABLE}}renderMoreInformation(){return Object(oa.jsx)("span",{children:Object(ta.t)("create_single_item_modal.import_information",{link:Object(oa.jsx)("span",{className:"link",onClick:Object(Xd.a)(this.handleOpenMoreInformation),children:Object(ta.t)("create_single_item_modal.import_information_link_label")})})})}render(){const{category:e,metadata:t,title:n,wearablePreviewComponent:o,isLoading:a,isRepresentation:i,onClose:r}=this.props,{error:s}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:n,onClose:r}),Object(oa.jsxs)(ad.a.Content,{className:"ImportStep",children:[Object(oa.jsx)(ku,{isLoading:a,acceptedExtensions:i||null!==t&&void 0!==t&&t.changeItemFile?Object(at.T)(e)?$o.f:$o.n:$o.i,error:s,moreInformation:this.renderMoreInformation(),onDropAccepted:this.handleDropAccepted,onDropRejected:this.handleDropRejected}),o]})]})}}var Pu=n(648);n(3436);class Iu extends Jo.PureComponent{constructor(){super(...arguments),this.previewRef=Jo.createRef(),this.state={zoom:2,blob:this.props.blob,previewController:this.props.wearablePreviewController,hasBeenUpdated:!1},this.handleFileLoad=async()=>{const{hasBeenUpdated:e}=this.state,t=Os.WearablePreview.createController("preview");await t.emote.getLength()>0&&e&&this.setState({previewController:t})},this.handleSave=async()=>{const{onSave:e}=this.props,{previewController:t}=this.state;await(null===t||void 0===t?void 0:t.emote.pause()),await(null===t||void 0===t?void 0:t.scene.getScreenshot(1024,1024).then((t=>e(t))))},this.handleControlActionChange=async(e,t)=>{var n,o;const{previewController:a}=this.state;if(null===(n=this.previewRef.current)||void 0===n||null===(o=n.iframe)||void 0===o?void 0:o.contentWindow)switch(await(null===a||void 0===a?void 0:a.emote.pause()),e){case Pu.a.PAN_CAMERA_Y:this.setState({offsetY:t}),await(null===a||void 0===a?void 0:a.scene.panCamera({y:-1*t}));break;case Pu.a.ZOOM_IN:await(null===a||void 0===a?void 0:a.scene.changeZoom(.1));break;case Pu.a.ZOOM_OUT:await(null===a||void 0===a?void 0:a.scene.changeZoom(-.1))}},this.handleZoomOut=()=>{this.setState((e=>({zoom:(e.zoom||2)-1})))}}componentWillUnmount(){const{playingIntervalId:e}=this.state;e&&clearInterval(e)}render(){const{onClose:e,onBack:t,title:n,isLoading:o,base64s:a}=this.props,{blob:i,hasBeenUpdated:r}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:n,onClose:e}),Object(oa.jsxs)(ad.a.Content,{className:"EditThumbnailStep",children:[Object(oa.jsxs)("div",{className:"thumbnail-step-container",children:[Object(oa.jsx)(Os.WearablePreview,{ref:this.previewRef,id:"preview",blob:i,base64s:a,profile:"default",disableBackground:!0,disableFace:!0,disableDefaultWearables:!0,disableDefaultEmotes:!0,disableAutoRotate:!0,showThumbnailBoundaries:!0,skin:"000000",zoom:100,wheelZoom:2,onLoad:this.handleFileLoad,onUpdate:()=>this.setState({hasBeenUpdated:!0})}),r?Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsxs)("div",{className:"zoom-controls",children:[Object(oa.jsx)(Os.Button,{className:"zoom-control zoom-in-control",onClick:()=>this.handleControlActionChange(Pu.a.ZOOM_IN),children:Object(oa.jsx)(Os.Icon,{name:"plus"})}),Object(oa.jsx)(Os.Button,{className:"zoom-control zoom-out-control",onClick:()=>this.handleControlActionChange(Pu.a.ZOOM_OUT),children:Object(oa.jsx)(Os.Icon,{name:"minus"})})]}),Object(oa.jsxs)("div",{className:"y-slider-container",children:[Object(oa.jsx)(Os.Icon,{className:"arrows alternate horizontal"}),Object(oa.jsx)("input",{step:.1,min:-2,max:2,type:"range",className:"y-slider",onChange:e=>this.handleControlActionChange(Pu.a.PAN_CAMERA_Y,Number(e.target.value))})]}),Object(oa.jsx)("div",{className:"play-controls",children:Object(oa.jsx)(Os.EmoteControls,{className:"emote-controls",wearablePreviewId:"preview"})})]}):Object(oa.jsx)(Os.Loader,{active:!0,size:"large"})]}),Object(oa.jsxs)(Os.Row,{className:"thumbnail-actions",children:[Object(oa.jsx)(Os.Button,{disabled:!r,onClick:t,children:Object(ta.t)("global.back")}),Object(oa.jsx)(Os.Button,{disabled:!r,primary:!0,loading:o,onClick:this.handleSave,children:Object(ta.t)("global.save")})]})]})]})}}var Lu=Su,Mu=n(580),Du=n.n(Mu);class Fu extends Jo.PureComponent{constructor(){super(...arguments),this.state=this.getInitialState(),this.handleDropAccepted=async e=>{const{contents:t,onDropAccepted:n}=this.props,o=e[0],a=Object(na.a)(o.name);try{if(this.setState({isLoading:!0,error:void 0,video:void 0}),!a)throw new ua;if(o.size>at.h)throw new la;const e=await Object(at.ab)(o);if(e.duration>at.g)throw new da;this.setState({video:e.src,isLoading:!1}),n({video:e.src,contents:{...t,[$o.v]:o}})}catch(i){this.setState({error:i,isLoading:!1})}},this.handleDropRejected=e=>{console.warn("rejected",e);const t=new ma;this.setState({error:t})},this.renderDropzoneCTA=e=>{const{isLoading:t,error:n}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[t?Object(oa.jsx)("div",{className:Du.a.overlay,children:Object(oa.jsx)(Os.Loader,{active:!0,size:"big"})}):null,Object(oa.jsx)(Lu,{error:n}),Object(oa.jsx)(ta.T,{id:"upload_video.cta",values:{extensions:$o.u.join(", "),action:Object(oa.jsx)("span",{className:"action",onClick:e,children:Object(ta.t)("upload_video.upload_manually")})}}),Object(oa.jsxs)("div",{className:Du.a.zipInfo,children:[Object(oa.jsx)(vu.a,{className:Du.a.infoIcon}),Object(ta.t)("create_single_item_modal.upload_video_information",{max_size:`${Object(na.c)(at.h)}MB`,max_duration:at.g})]})]})},this.handleGoBack=()=>{const{contents:e,onDropAccepted:t,onBack:n}=this.props;this.state.video?(URL.revokeObjectURL(this.state.video),this.setState({video:void 0,isLoading:!1}),e&&$o.v in e&&delete e[$o.v],t({video:void 0,contents:{...e}})):n&&n()}}getInitialState(){return{id:"",isLoading:!1}}render(){const{title:e,required:t,onClose:n,onSaveVideo:o,onBack:a}=this.props,{id:i,isLoading:r,video:s}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:e,onBack:a?this.handleGoBack:void 0,onClose:n}),Object(oa.jsxs)(ad.a.Content,{children:[(!s||i)&&Object(oa.jsx)(Kd,{className:Du.a.dropzone,accept:$o.u,onAcceptedFiles:this.handleDropAccepted,onRejectedFiles:this.handleDropRejected,renderAction:this.renderDropzoneCTA,disabled:r}),s&&Object(oa.jsx)("div",{className:Du.a.dropzone,children:Object(oa.jsx)("video",{src:s,className:Du.a.video,autoPlay:!0,controls:!0,loop:!0,muted:!0,playsInline:!0})})]}),(s||!t)&&Object(oa.jsx)(ad.a.Actions,{className:Du.a.actions,children:Object(oa.jsxs)(Os.Row,{grow:!0,children:[Object(oa.jsx)(Os.Column,{grow:!0,shrink:!0,children:Object(oa.jsx)(Os.Button,{onClick:this.handleGoBack,children:Object(ta.t)("global.back")})}),Object(oa.jsx)(Os.Column,{align:"right",children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:o,children:t||s?Object(ta.t)("global.save"):Object(ta.t)("global.skip")})})]})})]})}}Fu.defaultProps={required:!0};n(3437);class Uu extends Jo.PureComponent{constructor(){super(...arguments),this.state=this.getInitialState(),this.thumbnailInput=Jo.createRef(),this.videoInput=Jo.createRef(),this.modalContainer=Jo.createRef(),this.timer=void 0,this.sortContent=(e,t)=>{const n=e===$o.a.BOTH||e===$o.a.MALE?this.prefixContents($o.a.MALE,t):{},o=e===$o.a.BOTH||e===$o.a.FEMALE?this.prefixContents($o.a.FEMALE,t):{},a={[$o.t]:t[$o.t],...n,...o};return t[$o.v]&&(a[$o.v]=t[$o.v]),{male:n,female:o,all:a}},this.sortContentZipBothBodyShape=(e,t)=>{const n={},o={};for(const a in t)!a.startsWith("male/")||e!==$o.a.BOTH&&e!==$o.a.MALE?!a.startsWith("female/")||e!==$o.a.BOTH&&e!==$o.a.FEMALE||(o[a]=t[a]):n[a]=t[a];return{male:n,female:o,all:{[$o.t]:t[$o.t],...n,...o}}},this.createItem=async(e,t)=>{const{address:n,collection:o}=this.props,{id:a,name:i,description:r,type:s,metrics:c,collectionId:l,category:d,playMode:u,rarity:p,hasScreenshotTaken:m,requiredPermissions:b,tags:h}=this.state,f=(null===o||void 0===o?void 0:o.urn)&&Object(At.i)(null===o||void 0===o?void 0:o.urn),y=null!==o&&void 0!==o&&o.urn?Object(At.e)(o.urn):null;let _,g;if(y&&y.type===At.a.COLLECTIONS_THIRDPARTY&&y.thirdPartyCollectionId&&(_=Object(At.d)(y.thirdPartyName,y.thirdPartyCollectionId,lu.a.v4())),s===$o.m.WEARABLE){g={category:d,replaces:[],hides:[],removesDefaultHiding:d===nt.WearableCategory.UPPER_BODY?[nt.BodyPartCategory.HANDS]:[],tags:[],representations:[...t],requiredPermissions:b||[]}}else g={category:d,loop:u===$o.c.LOOP,tags:h||[],representations:[...t]};const j=await Object(ai.b)(e.all),O={id:a,name:i,urn:_,description:r||"",thumbnail:$o.t,video:j[$o.v],type:s,collectionId:l,totalSupply:0,isPublished:!1,isApproved:!1,inCatalyst:!1,blockchainContentHash:null,currentContentHash:null,catalystContentHash:null,rarity:f?$o.l.UNIQUE:p,data:g,owner:n,metrics:c,contents:j,createdAt:+new Date,updatedAt:+new Date};this.setState({item:{...O},itemSortedContents:e.all,view:m||s!==$o.m.EMOTE?Cu.SET_PRICE:Cu.THUMBNAIL,fromView:Cu.THUMBNAIL})},this.addItemRepresentation=async(e,t)=>{const{onSave:n}=this.props,{bodyShape:o,item:a,requiredPermissions:i}=this.state,r=await Object(ai.b)(o===$o.a.MALE?e.male:e.female),s=a.data.category===nt.WearableCategory.UPPER_BODY||a.data.hides.includes(nt.WearableCategory.UPPER_BODY)?[nt.BodyPartCategory.HANDS]:[],c={...a,data:{...a.data,representations:[...a.data.representations,...t],replaces:[...a.data.replaces],hides:[...a.data.hides],removesDefaultHiding:s,tags:[...a.data.tags],requiredPermissions:i||[]},contents:{...a.contents,...r},updatedAt:+new Date};delete e.all[$o.t],n(c,e.all)},this.modifyItem=async(e,t,n)=>{const{itemStatus:o,onSave:a}=this.props,{name:i,bodyShape:r,type:s,metrics:c,category:l,playMode:d,requiredPermissions:u}=this.state;let p;if(s===$o.m.WEARABLE){const t=l===nt.WearableCategory.UPPER_BODY?[nt.BodyPartCategory.HANDS]:[];p={...e.data,replaces:[],hides:[],removesDefaultHiding:t,category:l,requiredPermissions:u||[]}}else p={...e.data,loop:d===$o.c.LOOP,category:l};const m=await Object(ai.b)(t.all),b={...e,data:p,name:i,metrics:c,contents:m,updatedAt:+new Date},h=r===$o.a.MALE?nt.BodyShape.MALE:nt.BodyShape.FEMALE,f=e.data.representations.findIndex((e=>e.bodyShapes[0]===h)),y=Object(at.s)(e);2===n.length||-1===f||y===$o.a.BOTH?b.data.representations=n:b.data.representations[f]=n[0],o&&[$o.s.UNPUBLISHED,$o.s.UNDER_REVIEW].includes(o)&&Object(at.Y)(b)&&$o.v in m&&(b.video=m[$o.v]),a(b,t.all)},this.handleSubmit=async()=>{const{metadata:e,onSave:t}=this.props,{id:n}=this.state;let o=!1,a=!1,i=null;if(e&&(o=e.changeItemFile,a=e.addRepresentation,i=e.item),n&&this.isValid()){const{thumbnail:e,contents:n,bodyShape:s,type:c,model:l,isRepresentation:d,item:u,video:p}=this.state;if(this.state.view===Cu.DETAILS)try{const t=Object(Wo.d)(e),r=$o.t in n;if(t&&!r&&(n[$o.t]=t),p){const e=Object(Wo.d)(p),t=$o.v in n;e&&!t&&(n[$o.v]=e)}const m=c===$o.m.WEARABLE&&Object(at.t)(n)===$o.a.BOTH?this.sortContentZipBothBodyShape(s,n):this.sortContent(s,n),b=c===$o.m.WEARABLE&&Object(at.t)(n)===$o.a.BOTH?this.buildRepresentationsZipBothBodyshape(s,m):this.buildRepresentations(s,l,m);(d||a)&&u?await this.addItemRepresentation(m,b):i&&o?await this.modifyItem(i,m,b):await this.createItem(m,b)}catch(r){this.setState({error:r.message})}else this.state.view===Cu.SET_PRICE&&this.state.item&&this.state.itemSortedContents&&t(this.state.item,this.state.itemSortedContents)}},this.getMetricsAndScreenshot=async()=>{const{type:e,previewController:t,model:n,contents:o,category:a}=this.state;if(e&&n&&o){const i=await async function(e){let t,n,{type:o,model:a,wearablePreviewController:i,contents:r,category:s}=e;if(Object(at.U)(a))t={triangles:100,materials:1,textures:1,meshes:1,bodies:1,entities:1},n=await Object(Wo.c)(r[$o.t]||r[a],s);else{if(!i)throw Error("WearablePreview controller needed");t=o===$o.m.EMOTE?await Na(r[a]):await i.scene.getMetrics(),n=await i.scene.getScreenshot(1024,1024)}return{info:t,image:n}}({wearablePreviewController:t,type:e,model:n,contents:o,category:a});this.setState({metrics:i.info,thumbnail:i.image,isLoading:!1},(()=>{Object(at.Y)({type:e,contents:o})?this.timer=setTimeout((()=>this.setState({view:Cu.UPLOAD_VIDEO})),2e3):this.setState({view:Cu.DETAILS})}))}},this.handleDropAccepted=e=>{const{bodyShape:t,...n}=e;this.setState((e=>({isLoading:!0,bodyShape:t||e.bodyShape,...n})))},this.handleVideoDropAccepted=e=>{this.setState({isLoading:!0,...e})},this.handleSaveVideo=()=>{this.setState({fromView:void 0,view:Cu.DETAILS})},this.handleOpenDocs=()=>window.open("https://docs.decentraland.org/3d-modeling/3d-models/","_blank"),this.handleNameChange=(e,t)=>this.setState({name:t.value.slice(0,$o.j)}),this.handleItemChange=e=>{this.setState({item:e,category:e.data.category,rarity:e.rarity})},this.handleCategoryChange=(e,t)=>{let{value:n}=t;const o=n;this.state.category!==o&&(this.setState({category:o}),this.state.type===$o.m.WEARABLE&&this.updateThumbnailByCategory(o))},this.handleRarityChange=(e,t)=>{let{value:n}=t;const o=n;this.setState({rarity:o})},this.handlePlayModeChange=(e,t)=>{let{value:n}=t;const o=n;this.setState({playMode:o})},this.handleOpenThumbnailDialog=()=>{const{type:e}=this.state;e===$o.m.EMOTE?this.setState({fromView:Cu.DETAILS,view:Cu.THUMBNAIL}):this.thumbnailInput.current&&this.thumbnailInput.current.click()},this.handleThumbnailChange=async e=>{const{contents:t}=this.state,{files:n}=e.target;if(n&&n.length>0){const e=n[0];if(await Object(Wo.e)(e)!==pu.a.PNG)return void this.setState({error:Object(ta.t)("create_single_item_modal.wrong_thumbnail_format")});this.setState({error:void 0});const o=await Object(at.bb)(e),a=await Object(at.bb)(e,1024,1024),i=URL.createObjectURL(o);this.setState({thumbnail:i,contents:{...t,[$o.t]:a}})}},this.handleOpenVideoDialog=()=>{this.setState({view:Cu.UPLOAD_VIDEO,fromView:Cu.DETAILS})},this.handleYes=()=>this.setState({isRepresentation:!0}),this.handleNo=()=>this.setState({isRepresentation:!1}),this.isAddingRepresentation=()=>{const{metadata:e}=this.props;return!(!e||!e.item||e.changeItemFile)},this.filterItemsByBodyShape=e=>{const{bodyShape:t}=this.state,{metadata:n}=this.props;return Object(at.F)(e)===t&&n.collectionId===e.collectionId},this.renderModalTitle=()=>{const e=this.isAddingRepresentation(),{bodyShape:t,type:n,view:o,contents:a}=this.state,{metadata:i}=this.props;if(e)return Object(ta.t)("create_single_item_modal.add_representation",{bodyShape:Object(ta.t)(`body_shapes.${t}`)});if(i&&i.changeItemFile)return Object(ta.t)("create_single_item_modal.change_item_file");if(n===$o.m.EMOTE)return o===Cu.THUMBNAIL?Object(ta.t)("create_single_item_modal.thumbnail_step_title"):Object(ta.t)("create_single_item_modal.title_emote");if(Object(at.Y)({type:n,contents:a})&&o===Cu.DETAILS)return Object(ta.t)("create_single_item_modal.smart_wearable_details_title");switch(o){case Cu.THUMBNAIL:return Object(ta.t)("create_single_item_modal.thumbnail_step_title");case Cu.UPLOAD_VIDEO:return Object(ta.t)("create_single_item_modal.upload_video_step_title");default:return Object(ta.t)("create_single_item_modal.title")}},this.handleFileLoad=async()=>{const{weareblePreviewUpdated:e,type:t,model:n}=this.state;if(n&&Object(at.U)(n))return this.getMetricsAndScreenshot();const o=Os.WearablePreview.createController("thumbnail-picker");if(this.setState({previewController:o}),e){if(t===$o.m.EMOTE){const e=await o.emote.getLength();await o.emote.goTo(Math.floor(Math.random()*e))}return this.getMetricsAndScreenshot()}},this.renderWearablePreview=()=>{const{type:e,contents:t}=this.state,n=e===$o.m.EMOTE,o=t?n?Zo({contents:t}):function(e){let{contents:t,file:n}=e;const o=t&&Object.keys(t).find((e=>Object(at.V)(e))),a=t&&Object.keys(t).find((e=>Object(at.U)(e))),i=o||a;if(t&&!i)throw Error("Not valid main content");return{id:"some-id",name:"",description:"",image:"",thumbnail:"",i18n:[],data:{category:nt.WearableCategory.HAT,hides:[],replaces:[],removesDefaultHiding:[],tags:[],representations:[{bodyShapes:[nt.BodyShape.MALE,nt.BodyShape.FEMALE],mainFile:i||"model.glb",contents:t?Object.entries(t).map((e=>{let[t,n]=e;return{key:t,blob:n}})):n?[{key:"model.glb",blob:n}]:[],overrideHides:[],overrideReplaces:[]}]}}}({contents:t}):void 0;if(!o)return null;const a=n?{profile:"default",disableFace:!0,disableDefaultWearables:!0,skin:"000000",wheelZoom:2}:{};return Object(oa.jsx)(Os.WearablePreview,{id:"thumbnail-picker",blob:o,disableBackground:!0,disableAutoRotate:!0,projection:nt.PreviewProjection.ORTHOGRAPHIC,...a,onUpdate:()=>this.setState({weareblePreviewUpdated:!0}),onLoad:this.handleFileLoad})},this.handleUploadVideoGoBack=()=>{const e=Object.keys(this.state),{fromView:t}=this.state;if(t)return void this.setState({view:t});const n=e.reduce(((e,t)=>({...e,[t]:void 0})),{});this.setState({...n,...this.getInitialState()})},this.handleGoBack=()=>{this.setState({view:Cu.UPLOAD_VIDEO})},this.handleOnScreenshotTaken=async e=>{const{fromView:t,itemSortedContents:n,item:o}=this.state,a=t===Cu.DETAILS?Cu.DETAILS:Cu.SET_PRICE;if(o&&n){const t=Object(Wo.d)(e);n[$o.t]=t,o.contents=await Object(ai.b)(n),this.setState({itemSortedContents:n,item:o,hasScreenshotTaken:!0},(()=>this.setState({view:a})))}else this.setState({thumbnail:e,hasScreenshotTaken:!0},(()=>this.setState({view:a})))}}getInitialState(){const{metadata:e}=this.props,t={view:Cu.IMPORT,playMode:$o.c.SIMPLE,weareblePreviewUpdated:!1,hasScreenshotTaken:!1};if(!e)return t;const{collectionId:n,item:o,addRepresentation:a}=e;if(t.collectionId=n,o&&(t.id=o.id,t.name=o.name,t.description=o.description,t.item=o,t.type=o.type,t.collectionId=o.collectionId,t.bodyShape=Object(at.s)(o),t.category=o.data.category,t.rarity=o.rarity,t.isRepresentation=!1,a)){const e=Object(at.F)(o);e&&(t.bodyShape=e,t.isRepresentation=!0)}return t}prefixContentName(e,t){return`${e}/${t}`}prefixContents(e,t){return Object.keys(t).reduce(((n,o)=>([$o.t,$o.v].includes(o)||(n[this.prefixContentName(e,o)]=t[o]),n)),{})}async updateThumbnailByCategory(e){const{model:t,contents:n}=this.state;if(!(!!n&&$o.t in n)){let o;if(n&&Object(at.U)(t))o=await Object(Wo.c)(n[$o.t]||n[t],e);else{const a=URL.createObjectURL(n[t]),{image:i}=await ka(a,{width:1024,height:1024,thumbnailType:Ko(e),extension:t&&Object(na.a)(t)||void 0,engine:Aa.BABYLON});o=i,URL.revokeObjectURL(a)}this.setState({thumbnail:o})}}buildRepresentations(e,t,n){const o=[];return e!==$o.a.MALE&&e!==$o.a.BOTH||o.push({bodyShapes:[nt.BodyShape.MALE],mainFile:this.prefixContentName($o.a.MALE,t),contents:Object.keys(n.male),overrideHides:[],overrideReplaces:[]}),e!==$o.a.FEMALE&&e!==$o.a.BOTH||o.push({bodyShapes:[nt.BodyShape.FEMALE],mainFile:this.prefixContentName($o.a.FEMALE,t),contents:Object.keys(n.female),overrideHides:[],overrideReplaces:[]}),o}buildRepresentationsZipBothBodyshape(e,t){const n=[];return e!==$o.a.MALE&&e!==$o.a.BOTH||n.push({bodyShapes:[nt.BodyShape.MALE],mainFile:Object.keys(t.male).pop(),contents:Object.keys(t.male),overrideHides:[],overrideReplaces:[]}),e!==$o.a.FEMALE&&e!==$o.a.BOTH||n.push({bodyShapes:[nt.BodyShape.FEMALE],mainFile:Object.keys(t.female).pop(),contents:Object.keys(t.female),overrideHides:[],overrideReplaces:[]}),n}renderImportView(){const{collection:e,metadata:t,onClose:n}=this.props,{category:o,isLoading:a,isRepresentation:i}=this.state,r=this.renderModalTitle();return Object(oa.jsx)(Nu,{collection:e,category:o,metadata:t,title:r,wearablePreviewComponent:Object(oa.jsx)("div",{className:"importer-thumbnail-container",children:this.renderWearablePreview()}),isLoading:!!a,isRepresentation:!!i,onDropAccepted:this.handleDropAccepted,onClose:n})}renderUploadVideoView(){const{itemStatus:e,onClose:t}=this.props,{contents:n}=this.state,o=this.renderModalTitle();return Object(oa.jsx)(Fu,{title:o,contents:n,onDropAccepted:this.handleVideoDropAccepted,onBack:this.handleUploadVideoGoBack,onClose:t,onSaveVideo:this.handleSaveVideo,required:!!e})}renderFields(){const{collection:e}=this.props,{name:t,category:n,rarity:o,contents:a,item:i,type:r}=this.state,s=(null===e||void 0===e?void 0:e.urn)&&Object(At.i)(e.urn),c=Object(at.I)(),l=r===$o.m.WEARABLE?Object(at.M)(a):Object(at.v)(),d="https://docs.decentraland.org/creator/wearables-and-emotes/manage-collections"+(r===$o.m.EMOTE?"/uploading-emotes/#rarity":Object(at.Y)({type:r,contents:a})?"/uploading-smart-wearables/#rarity":"/uploading-wearables/#rarity");return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.Field,{className:"name",label:Object(ta.t)("create_single_item_modal.name_label"),value:t,onChange:this.handleNameChange}),i&&i.isPublished||s?null:Object(oa.jsx)(oa.Fragment,{children:Object(oa.jsx)(Os.SelectField,{label:Object(oa.jsxs)("div",{className:"field-header",children:[Object(ta.t)("create_single_item_modal.rarity_label"),Object(oa.jsx)("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:"learn-more",children:Object(ta.t)("global.learn_more")})]}),placeholder:Object(ta.t)("create_single_item_modal.rarity_placeholder"),value:o,options:c.map((e=>({value:e,label:Object(ta.t)("wearable.supply",{count:Object(at.D)(e),formatted:Object(at.D)(e).toLocaleString()}),text:Object(ta.t)(`wearable.rarity.${e}`)}))),onChange:this.handleRarityChange})}),Object(oa.jsx)(Os.SelectField,{required:!0,label:Object(ta.t)("create_single_item_modal.category_label"),placeholder:Object(ta.t)("create_single_item_modal.category_placeholder"),value:l.includes(n)?n:void 0,options:l.map((e=>({value:e,text:Object(ta.t)(`${r}.category.${e}`)}))),onChange:this.handleCategoryChange})]})}getPlayModeOptions(){return Object(at.w)().map((e=>({value:e,text:Object(ta.t)(`emote.play_mode.${e}.text`),description:Object(ta.t)(`emote.play_mode.${e}.description`)})))}renderMetrics(){const{metrics:e,contents:t}=this.state;return e?Object(oa.jsx)(hu.a,{item:{metrics:e,contents:t}}):null}isDisabled(){const{isLoading:e}=this.props;return!this.isValid()||e}isValid(){const{name:e,thumbnail:t,metrics:n,bodyShape:o,category:a,playMode:i,rarity:r,item:s,isRepresentation:c,type:l}=this.state,{collection:d}=this.props,u=(null===d||void 0===d?void 0:d.urn)&&Object(At.i)(d.urn);let p;return p=c?[s]:u?[e,t,n,o,a]:l===$o.m.EMOTE?[e,t,n,a,i,r,l]:[e,t,n,o,a,r,l],p.every((e=>void 0!==e))}renderWearableDetails(){const{metadata:e}=this.props,{bodyShape:t,thumbnail:n,isRepresentation:o,rarity:a,item:i}=this.state,r=this.renderModalTitle(),s=Object(at.r)(a),c=this.isAddingRepresentation();return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsxs)(Os.Column,{className:"preview",width:192,grow:!1,children:[Object(oa.jsxs)("div",{className:"thumbnail-container",children:[Object(oa.jsx)("img",{className:"thumbnail",src:n||void 0,style:s,alt:r}),o?null:Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(zd.a,{name:"camera",onClick:this.handleOpenThumbnailDialog}),Object(oa.jsx)("input",{type:"file",ref:this.thumbnailInput,onChange:this.handleThumbnailChange,accept:"image/png"})]})]}),this.renderMetrics()]}),Object(oa.jsxs)(Os.Column,{className:"data",grow:!0,children:[c?null:Object(oa.jsxs)(Os.Section,{children:[Object(oa.jsx)(Os.Header,{sub:!0,children:Object(ta.t)("create_single_item_modal.representation_label")}),Object(oa.jsxs)(Os.Row,{children:[this.renderRepresentation($o.a.BOTH),this.renderRepresentation($o.a.MALE),this.renderRepresentation($o.a.FEMALE)]})]}),!t||e&&e.changeItemFile?this.renderFields():Object(oa.jsx)(oa.Fragment,{children:t===$o.a.BOTH?this.renderFields():Object(oa.jsxs)(oa.Fragment,{children:[c?null:Object(oa.jsxs)(Os.Section,{children:[Object(oa.jsx)(Os.Header,{sub:!0,children:Object(ta.t)("create_single_item_modal.existing_item")}),Object(oa.jsxs)(Os.Row,{children:[Object(oa.jsx)("div",{className:"option "+(!0===o?"active":""),onClick:this.handleYes,children:Object(ta.t)("global.yes")}),Object(oa.jsx)("div",{className:"option "+(!1===o?"active":""),onClick:this.handleNo,children:Object(ta.t)("global.no")})]})]}),void 0===o?null:o?Object(oa.jsxs)(Os.Section,{children:[Object(oa.jsx)(Os.Header,{sub:!0,children:c?Object(ta.t)("create_single_item_modal.adding_representation",{bodyShape:Object(ta.t)(`body_shapes.${t}`)}):Object(ta.t)("create_single_item_modal.pick_item",{bodyShape:Object(ta.t)(`body_shapes.${t}`)})}),Object(oa.jsx)(rd,{value:i,filter:this.filterItemsByBodyShape,onChange:this.handleItemChange,isDisabled:c})]}):this.renderFields()]})})]})]})}renderEmoteDetails(){const{thumbnail:e,rarity:t,playMode:n=""}=this.state,o=this.renderModalTitle(),a=Object(at.r)(t);return Object(oa.jsxs)(Os.Column,{children:[Object(oa.jsxs)(Os.Row,{children:[Object(oa.jsxs)(Os.Column,{className:"preview",width:192,grow:!1,children:[Object(oa.jsxs)("div",{className:"thumbnail-container",children:[Object(oa.jsx)("img",{className:"thumbnail",src:e||void 0,style:a,alt:o}),Object(oa.jsx)(zd.a,{name:"camera",onClick:this.handleOpenThumbnailDialog}),Object(oa.jsx)("input",{type:"file",ref:this.thumbnailInput,onChange:this.handleThumbnailChange,accept:"image/png"})]}),this.renderMetrics()]}),Object(oa.jsxs)(Os.Column,{className:"data",grow:!0,children:[this.renderFields(),Object(oa.jsx)(Os.SelectField,{required:!0,search:!1,className:"has-description",label:Object(ta.t)("create_single_item_modal.play_mode_label"),placeholder:Object(ta.t)("create_single_item_modal.play_mode_placeholder"),value:n,options:this.getPlayModeOptions(),onChange:this.handlePlayModeChange})]})]}),Object(oa.jsx)("div",{className:"notice",children:Object(oa.jsx)(Os.Message,{info:!0,visible:!0,content:Object(ta.t)("create_single_item_modal.emote_notice"),icon:Object(oa.jsx)(zd.a,{name:"alert"})})})]})}renderSmartWearableDetails(){const{thumbnail:e,rarity:t,requiredPermissions:n,video:o}=this.state,a=this.renderModalTitle(),i=Object(at.r)(t);return Object(oa.jsxs)("div",{className:"data smart-wearable",children:[this.renderFields(),null!==n&&void 0!==n&&n.length?Object(oa.jsxs)("div",{className:"required-permissions",children:[Object(oa.jsxs)(Os.Header,{sub:!0,className:"field-header",children:[Object(ta.t)("create_single_item_modal.smart_wearable_permissions_label"),Object(oa.jsx)("a",{href:"https://docs.decentraland.org/creator/development-guide/sdk7/scene-metadata/#required-permissions",target:"_blank",rel:"noopener noreferrer",className:"learn-more",children:Object(ta.t)("global.learn_more")})]}),Object(oa.jsx)(bu.a,{requiredPermissions:n,basic:!0})]}):null,Object(oa.jsxs)(Os.Row,{className:"previews",children:[Object(oa.jsxs)("div",{className:"thumbnail-preview-container",children:[Object(oa.jsx)(Os.Header,{sub:!0,children:Object(ta.t)("create_single_item_modal.thumbnail_preview_title")}),Object(oa.jsxs)("div",{className:"preview",children:[Object(oa.jsxs)("div",{className:"thumbnail-container",children:[Object(oa.jsx)("img",{className:"thumbnail",src:e||void 0,style:i,alt:a}),Object(oa.jsx)(zd.a,{name:"camera",onClick:this.handleOpenThumbnailDialog}),Object(oa.jsx)("input",{type:"file",ref:this.thumbnailInput,onChange:this.handleThumbnailChange,accept:"image/png"})]}),this.renderMetrics()]})]}),Object(oa.jsxs)("div",{className:"video-preview-container",children:[Object(oa.jsx)(Os.Header,{sub:!0,children:Object(ta.t)("create_single_item_modal.video_preview_title")}),Object(oa.jsx)("div",{className:"preview",children:Object(oa.jsx)(mu.a,{src:o,showMetrics:!0,previewIcon:Object(oa.jsx)(Os.Icon,{name:"video",onClick:this.handleOpenVideoDialog}),onClick:this.handleOpenVideoDialog})})]})]}),Object(oa.jsx)("div",{className:"notice",children:Object(oa.jsx)(Os.Message,{info:!0,visible:!0,content:Object(ta.t)("create_single_item_modal.smart_wearable_notice"),icon:Object(oa.jsx)(zd.a,{name:"alert"})})})]})}renderItemDetails(){const{type:e,contents:t}=this.state;return e===$o.m.EMOTE?this.renderEmoteDetails():Object(at.Y)({type:e,contents:t})?this.renderSmartWearableDetails():this.renderWearableDetails()}renderDetailsView(){const{onClose:e,metadata:t,error:n,isLoading:o}=this.props,{isRepresentation:a,error:i,type:r,contents:s}=this.state,c=this.isDisabled(),l=this.renderModalTitle();return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:l,onClose:e}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(Os.Form,{onSubmit:this.handleSubmit,disabled:c,children:Object(oa.jsxs)(Os.Column,{children:[Object(oa.jsx)(Os.Row,{className:"details",children:this.renderItemDetails()}),Object(oa.jsxs)(Os.Row,{className:"actions",grow:!0,children:[Object(at.Y)({type:r,contents:s})?Object(oa.jsx)(Os.Column,{grow:!0,shrink:!0,children:Object(oa.jsx)(Os.Button,{disabled:c,onClick:this.handleGoBack,children:Object(ta.t)("global.back")})}):null,Object(oa.jsx)(Os.Column,{align:"right",children:Object(oa.jsx)(Os.Button,{primary:!0,disabled:c,loading:o,children:t&&t.changeItemFile||a?Object(ta.t)("global.save"):Object(ta.t)("global.next")})})]}),i?Object(oa.jsx)(Os.Row,{className:"error",align:"right",children:Object(oa.jsx)("p",{className:"danger-text",children:i})}):null,n?Object(oa.jsx)(Os.Row,{className:"error",align:"right",children:Object(oa.jsx)("p",{className:"danger-text",children:n})}):null]})})})]})}renderThumbnailView(){const{onClose:e}=this.props,{isLoading:t,contents:n}=this.state;return Object(oa.jsx)(Iu,{isLoading:!!t,blob:n?Zo({contents:n}):void 0,title:this.renderModalTitle(),onBack:()=>this.setState({view:Cu.DETAILS}),onSave:this.handleOnScreenshotTaken,onClose:e})}renderRepresentation(e){const{bodyShape:t}=this.state,{metadata:n}=this.props;return Object(oa.jsx)("div",{className:`option has-icon ${e} ${e===t?"active":""}`.trim(),onClick:()=>this.setState({bodyShape:e,isRepresentation:(!n||!n.changeItemFile)&&void 0,item:void 0}),children:Object(ta.t)("body_shapes."+e)})}renderSetPrice(){var e;const{onClose:t}=this.props,{item:n,itemSortedContents:o}=this.state;return Object(oa.jsx)(ju,{name:"EditPriceAndBeneficiaryModal",metadata:{itemId:n.id},item:n,itemSortedContents:o,onClose:t,mountNode:null!==(e=this.modalContainer.current)&&void 0!==e?e:void 0,onSkip:this.handleSubmit})}renderView(){switch(this.state.view){case Cu.IMPORT:return this.renderImportView();case Cu.UPLOAD_VIDEO:return this.renderUploadVideoView();case Cu.DETAILS:return this.renderDetailsView();case Cu.THUMBNAIL:return this.renderThumbnailView();case Cu.SET_PRICE:return this.renderSetPrice();default:return null}}componentWillUnmount(){this.timer&&clearTimeout(this.timer)}render(){var e;const{name:t,onClose:n}=this.props;return Object(oa.jsx)("div",{ref:this.modalContainer,className:"CreateSingleItemModalContainer",children:Object(oa.jsx)(ad.a,{name:t,onClose:n,mountNode:null!==(e=this.modalContainer.current)&&void 0!==e?e:void 0,children:this.renderView()})})}}var Bu=Object(i.connect)(((e,t)=>{const n=t.metadata.collectionId?Object(ji.b)(e,t.metadata.collectionId):null,o=Object(ei.o)(e),a=t.metadata.item?o[t.metadata.item.id]:null;return{collection:n,address:Object(I.getAddress)(e),error:Object(ei.f)(e),itemStatus:a,isLoading:Object(Hi.isLoadingType)(Object(ei.i)(e),ot.I)}}),(e=>({onSave:(t,n)=>e(Object(ot.Db)(t,n))})))(Uu);const zu=e=>e.ui.createMultipleItems,Hu=e=>zu(e).state,Wu=e=>zu(e).savedItemsFiles,Gu=e=>zu(e).notSavedItemsFiles,Yu=e=>zu(e).cancelledItemFiles,Qu=e=>zu(e).progress;var Vu=n(229),qu=n(380),Xu=n.n(qu);const $u=S.a.get("WEARABLES_ZIP_INFRA_URL","");class Ku extends Jo.PureComponent{constructor(){super(...arguments),this.analytics=Object(k.getAnalytics)(),this.state={view:Vu.c.IMPORT,loadingFilesProgress:0,importedFiles:{}},this.isViewClosable=()=>{const{view:e}=this.state;return e===Vu.c.IMPORTING||e===Vu.c.COMPLETED},this.getValidFiles=()=>{const{importedFiles:e}=this.state;return Object.values(e).filter((e=>e.type===Vu.b.ACCEPTED))},this.getRejectedFiles=()=>{const{importedFiles:e}=this.state;return Object.values(e).filter((e=>e.type===Vu.b.REJECTED))},this.handleRejectedFiles=e=>{this.setState({importedFiles:{...this.state.importedFiles,...e.reduce(((e,t)=>(e[t.name]={type:Vu.b.REJECTED,fileName:t.name,reason:Object(ta.t)("create_and_edit_multiple_items_modal.wrong_file_extension")},e)),{})}}),this.setState({view:Vu.c.REVIEW})},this.processAcceptedFile=async e=>{const{collection:t,metadata:n}=this.props;try{if(e.size>x.MAX_FILE_SIZE)throw new x.FileTooBigError(e.name,e.size);const o=await e.arrayBuffer(),a=await Object(x.loadFile)(e.name,new Blob([new Uint8Array(o)]));if(!a.wearable)throw new Error(Object(ta.t)("create_and_edit_multiple_items_modal.wearable_file_not_found"));const i=(new x.ItemFactory).fromConfig(a.wearable,a.content);let r=a.content[x.THUMBNAIL_PATH];if(r){if(await Object(Wo.e)(r)!==pu.a.PNG)throw new Error(Object(ta.t)("create_and_edit_multiple_items_modal.wrong_thumbnail_format"))}else{const e=Object(at.H)(a.wearable.data.representations),t=URL.createObjectURL(a.content[e]),n=await ka(t,{width:1024,height:1024,extension:Object(na.a)(e)||void 0,engine:Aa.BABYLON});if(URL.revokeObjectURL(t),r=Object(Wo.d)(n.image),!r)throw new Error(Object(ta.t)("create_and_edit_multiple_items_modal.thumbnail_file_not_generated"))}if(r=Object(Wo.d)(await Object(Wo.c)(r)),!r)throw new Error(Object(ta.t)("create_and_edit_multiple_items_modal.thumbnail_file_not_generated"));i.withThumbnail(r),i.withRarity(x.Rarity.UNIQUE),n.collectionId&&i.withCollectionId(n.collectionId);const s=null!==t&&void 0!==t&&t.urn?Object(At.e)(t.urn):null;if(s&&s.type===At.a.COLLECTIONS_THIRDPARTY&&s.thirdPartyCollectionId){const e=a.wearable.id?Object(At.e)(a.wearable.id):null;if(a.wearable.id&&e&&e.type===At.a.COLLECTIONS_THIRDPARTY){const{thirdPartyName:t,thirdPartyCollectionId:n}=e;if(n&&n!==s.thirdPartyCollectionId||t&&t!==s.thirdPartyName)throw new Error(Object(ta.t)("create_and_edit_multiple_items_modal.invalid_urn"));e.thirdPartyTokenId&&i.withUrn(Object(At.d)(s.thirdPartyName,s.thirdPartyCollectionId,e.thirdPartyTokenId))}else i.withUrn(Object(At.d)(s.thirdPartyName,s.thirdPartyCollectionId,lu.a.v4()))}const c=await i.build();if(!this.isCreating()){const{id:e,...t}=c.item;c.item=t}const l=await Object(at.p)(c.item,{thumbnail:c.newContent[x.THUMBNAIL_PATH]});return c.newContent[$o.g]=l.content,c.item.contents[$o.g]=l.hash,{type:Vu.b.ACCEPTED,...c,fileName:e.name}}catch(o){return{type:Vu.b.REJECTED,fileName:e.name,reason:o.message}}},this.handleFilesImport=async e=>{this.setState({view:Vu.c.IMPORTING});const t=new La.a({concurrency:4});t.on("next",(()=>{this.setState({loadingFilesProgress:Math.round(100*(e.length-(t.size+t.pending))/e.length)})}));const n=e.map((e=>()=>this.processAcceptedFile(e))),o=await t.addAll(n);this.setState({importedFiles:{...this.state.importedFiles,...o.reduce(((e,t)=>(e[t.fileName]=t,e)),{})},view:Vu.c.REVIEW})},this.handleFilesUpload=()=>{const{collection:e,onSaveMultipleItems:t}=this.props,n=this.getValidFiles();t(n),this.setState({view:Vu.c.UPLOADING}),this.analytics.track((this.isCreating()?"Create":"Edit")+" TP Items",{items:n.map((e=>e.item.id)),collectionId:null===e||void 0===e?void 0:e.id})},this.onRejectedFilesClear=()=>{this.setState({importedFiles:{...Object.entries(this.state.importedFiles).filter((e=>e[1].type!==Vu.b.REJECTED)).reduce(((e,t)=>(e[t[0]]=t[1],e)),{})}})},this.renderDropZone=e=>{const{open:t,getRootProps:n,getInputProps:o}=e,a=this.getValidFiles(),i=this.getRejectedFiles();return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(ad.a.Content,{scrolling:!0,children:Object(oa.jsxs)("div",{...n(),children:[Object(oa.jsx)("input",{...o()}),Object(oa.jsx)("div",{children:Object(oa.jsxs)("div",{className:`${Xu.a.tablesContainer} ${Xu.a.itemDropZoneContainer}`,children:[i.length>0?Object(oa.jsxs)(Os.Table,{basic:"very",compact:"very",children:[Object(oa.jsx)(Os.Table.Header,{children:Object(oa.jsxs)(Os.Table.Row,{children:[Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("create_and_edit_multiple_items_modal.invalid_title")}),Object(oa.jsx)(Os.Table.HeaderCell,{textAlign:"right",children:Object(oa.jsx)(Os.Icon,{className:Xu.a.trashIcon,"aria-label":"clear rejected files",name:"trash",onClick:this.onRejectedFilesClear})})]})}),Object(oa.jsx)(Os.Table.Body,{children:i.map(((e,t)=>{let{fileName:n,reason:o}=e;return Object(oa.jsxs)(Os.Table.Row,{children:[Object(oa.jsxs)(Os.Table.Cell,{children:[Object(oa.jsx)(Os.Icon,{name:"warning circle",size:"small",color:"red"})," ",n]}),Object(oa.jsx)(Os.Table.Cell,{textAlign:"right",children:o})]},t)}))})]}):null,a.length>0?Object(oa.jsxs)(Os.Table,{basic:"very",compact:"very",children:[i.length>0?Object(oa.jsx)(Os.Table.Header,{children:Object(oa.jsx)(Os.Table.Row,{children:Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("create_and_edit_multiple_items_modal.valid_title")})})}):null,Object(oa.jsx)(Os.Table.Body,{children:a.map(((e,t)=>{let{fileName:n}=e;return Object(oa.jsx)(Os.Table.Row,{children:Object(oa.jsx)(Os.Table.Cell,{colSpan:"2",children:n})},t)}))})]}):null]})}),i.length>0?Object(oa.jsxs)("div",{className:Xu.a.rejectedFilesInfo,children:[Object(oa.jsx)(vu.a,{className:Xu.a.infoIcon}),Object(ta.t)("create_and_edit_multiple_items_modal.only_valid_items_info")]}):null]})}),Object(oa.jsxs)(ad.a.Actions,{children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:t,children:Object(ta.t)("create_and_edit_multiple_items_modal.add_more_button")}),Object(oa.jsx)(Os.Button,{primary:!0,disabled:0===a.length,onClick:this.handleFilesUpload,children:Object(ta.t)("create_and_edit_multiple_items_modal.upload_items_button")})]})]})},this.renderReviewTable=()=>{const{onClose:e}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:this.getModalTitle(),subtitle:this.getModalSubtitle(),onClose:e}),Object(oa.jsx)(qd.a,{children:this.renderDropZone,onDropAccepted:this.handleFilesImport,onDropRejected:this.handleRejectedFiles,accept:[".zip"],noClick:!0})]})},this.isCreating=()=>{const{metadata:{type:e=Vu.a.CREATE}}=this.props;return e===Vu.a.CREATE},this.getOperationTypeKey=()=>this.isCreating()?"create":"edit",this.getModalTitle=()=>Object(ta.t)(`create_and_edit_multiple_items_modal.${this.getOperationTypeKey()}.title`),this.getModalSubtitle=()=>this.isCreating()?null:Object(ta.t)("create_and_edit_multiple_items_modal.edit.subtitle"),this.renderImportView=()=>{const{onClose:e}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:this.getModalTitle(),subtitle:this.getModalSubtitle(),onClose:e}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(ku,{onDropAccepted:this.handleFilesImport,onDropRejected:this.handleRejectedFiles,acceptedExtensions:[".zip"],moreInformation:$u?Object(oa.jsx)("span",{children:Object(oa.jsx)(ta.T,{id:"create_and_edit_multiple_items_modal.import_information",values:{link:Object(oa.jsx)("a",{rel:"noopener noreferrer",target:"_blank",href:$u,children:Object(ta.t)("create_and_edit_multiple_items_modal.import_information_link_label")})}})}):void 0})})]})}}static getDerivedStateFromProps(e,t){const n=e.saveMultipleItemsState===Hn.CANCELLED,o=e.saveMultipleItemsState===Hn.FINISHED_SUCCESSFULLY||e.saveMultipleItemsState===Hn.FINISHED_UNSUCCESSFULLY;return t.view!==Vu.c.COMPLETED&&(n||o)?{...t,view:Vu.c.COMPLETED}:null}componentWillUnmount(){const{onModalUnmount:e}=this.props;e()}renderProgressBar(e,t,n){return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:this.getModalTitle(),subtitle:this.getModalSubtitle()}),Object(oa.jsx)(ad.a.Content,{className:Xu.a.modalContent,children:Object(oa.jsxs)("div",{className:Xu.a.progressBarContainer,children:[Object(oa.jsx)("div",{className:Xu.a.progressBarLabel,children:t}),Object(oa.jsx)(Os.Progress,{percent:e,className:Xu.a.progressBar,progress:!0}),n?Object(oa.jsx)("div",{onClick:n,className:Xu.a.progressBarCancel,children:Object(ta.t)("global.cancel")}):null]})})]})}renderItemsTableSection(e,t){return Object(oa.jsx)("div",{className:Xu.a.tablesContainer,children:Object(oa.jsxs)(Os.Table,{basic:"very",compact:"very",children:[Object(oa.jsx)(Os.Table.Header,{children:Object(oa.jsx)(Os.Table.Row,{children:Object(oa.jsx)(Os.Table.HeaderCell,{children:e})})}),Object(oa.jsx)(Os.Table.Body,{children:t.map(((e,t)=>Object(oa.jsx)(Os.Table.Row,{children:Object(oa.jsx)(Os.Table.Cell,{children:e})},t)))})]})})}renderCompleted(){const{onClose:e,savedItemsFiles:t,notSavedItemsFiles:n,cancelledItemsFiles:o,saveMultipleItemsState:a,error:i}=this.props,r=a===Hn.FINISHED_SUCCESSFULLY,s=a===Hn.CANCELLED,c=a===Hn.FINISHED_UNSUCCESSFULLY;let l;return l=r?Object(ta.t)(`create_and_edit_multiple_items_modal.${this.getOperationTypeKey()}.successful_title`):c?Object(ta.t)(`create_and_edit_multiple_items_modal.${this.getOperationTypeKey()}.failed_title`):Object(ta.t)(`create_and_edit_multiple_items_modal.${this.getOperationTypeKey()}.cancelled_title`),Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:l,onClose:e}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)("p",{className:Xu.a.createdItems,children:n.length?Object(ta.t)(`create_and_edit_multiple_items_modal.${this.getOperationTypeKey()}.finished_partial_successfully_subtitle`,{number_of_items:t.length,number_of_failed_items:n.length}):Object(ta.t)(`create_and_edit_multiple_items_modal.${this.getOperationTypeKey()}.finished_successfully_subtitle`,{number_of_items:t.length})}),c?Object(oa.jsx)(Os.Message,{error:!0,size:"tiny",visible:!0,content:i,header:Object(ta.t)("global.error_ocurred")}):null,s&&o.length>0?this.renderItemsTableSection(Object(ta.t)("create_and_edit_multiple_items_modal.cancelled_items_table_title"),o):null,s||n.length>0?this.renderItemsTableSection(Object(ta.t)("create_and_edit_multiple_items_modal.not_saved_items_table_title"),n):null,t.length>0?this.renderItemsTableSection(Object(ta.t)(`create_and_edit_multiple_items_modal.${this.getOperationTypeKey()}.saved_items_table_title`),t):null]}),Object(oa.jsx)(ad.a.Actions,{children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:e,children:Object(ta.t)("create_and_edit_multiple_items_modal.done_button")})})]})}renderView(){const{view:e,loadingFilesProgress:t}=this.state,{onCancelSaveMultipleItems:n,saveItemsProgress:o}=this.props,a=this.getValidFiles();switch(e){case Vu.c.IMPORT:return this.renderImportView();case Vu.c.IMPORTING:return this.renderProgressBar(t,Object(ta.t)("create_and_edit_multiple_items_modal.importing_files_progress_label"));case Vu.c.REVIEW:return this.renderReviewTable();case Vu.c.UPLOADING:return this.renderProgressBar(o,Object(ta.t)("create_and_edit_multiple_items_modal.uploading_items_progress_label",{number_of_items:a.length}),n);case Vu.c.COMPLETED:return this.renderCompleted()}}render(){const{name:e,onClose:t}=this.props;return Object(oa.jsx)(ad.a,{name:e,closeOnEscape:this.isViewClosable(),closeOnDimmerClick:this.isViewClosable(),onClose:t,children:this.renderView()})}}var Zu=Object(i.connect)(((e,t)=>({collection:t.metadata.collectionId?Object(ji.b)(e,t.metadata.collectionId):null,error:Object(ei.f)(e),savedItemsFiles:Wu(e),notSavedItemsFiles:Gu(e),cancelledItemsFiles:Yu(e),saveMultipleItemsState:Hu(e),saveItemsProgress:Qu(e)})),(e=>({onSaveMultipleItems:t=>e(Object(ot.Gb)(t)),onCancelSaveMultipleItems:()=>e(Object(ot.V)()),onModalUnmount:()=>e(Object(ot.W)())})))(Ku),Ju=n(328),ep=n.n(Ju);class tp extends Jo.PureComponent{constructor(){super(...arguments),this.handleOpenSingleItemModal=()=>{this.handleOpenModal("CreateSingleItemModal")},this.handleOpenMultipleItemsModal=()=>{this.handleOpenModal("CreateAndEditMultipleItemsModal")},this.handleOpenModal=e=>{const{onClose:t,onOpenModal:n,metadata:o}=this.props;n(e,o),t()}}render(){const{name:e,onClose:t}=this.props;return Object(oa.jsxs)(ad.a,{size:"tiny",name:e,onClose:t,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("create_items_modal.title"),onClose:t}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)("p",{className:ep.a.modalSubtitle,children:Object(ta.t)("create_items_modal.subtitle")}),Object(oa.jsxs)("div",{className:ep.a.modalButtons,children:[Object(oa.jsxs)("div",{className:ep.a.itemSelectionButton,onClick:this.handleOpenSingleItemModal,role:"button",children:[Object(oa.jsx)("div",{className:ep.a.icon,children:Object(oa.jsx)("div",{className:ep.a.sparkle})}),Object(oa.jsxs)("div",{className:ep.a.info,children:[Object(oa.jsx)("div",{className:ep.a.name,children:Object(ta.t)("create_items_modal.single_item_button_name")}),Object(oa.jsx)("div",{className:ep.a.description,children:Object(ta.t)("create_items_modal.single_item_button_description")})]})]}),Object(oa.jsxs)("div",{className:ep.a.itemSelectionButton,onClick:this.handleOpenMultipleItemsModal,role:"button",children:[Object(oa.jsx)("div",{className:ep.a.icon,children:Object(oa.jsx)("div",{className:ep.a.sparkles})}),Object(oa.jsxs)("div",{className:ep.a.info,children:[Object(oa.jsx)("div",{className:ep.a.name,children:Object(ta.t)("create_items_modal.multiple_items_button_name")}),Object(oa.jsx)("div",{className:ep.a.description,children:Object(ta.t)("create_items_modal.multiple_items_button_description")})]})]})]})]})]})}}var np=Object(i.connect)(void 0,(e=>({onOpenModal:(t,n)=>e(Object(P.openModal)(t,n))})))(tp),op=n(1327),ap=n.n(op);class ip extends Jo.PureComponent{constructor(){super(...arguments),this.analytics=Object(k.getAnalytics)(),this.state={thirdPartyId:"",collectionName:"",urnSuffix:"",isTypedUrnSuffix:!1},this.handleSubmit=()=>{const{address:e,onSubmit:t}=this.props,{collectionName:n,urnSuffix:o}=this.state;if(n&&o){const a=Date.now(),i=this.getSelectedThirdParty(),r=Object(At.e)(i.id),s={id:lu.a.v4(),name:n,owner:e,urn:Object(At.d)(r.suffix,o),isPublished:!1,isApproved:!1,minters:[],managers:[],createdAt:a,updatedAt:a};t(s),this.analytics.track("Create TP Collection",{collectionId:s.id})}},this.handleIdChange=(e,t)=>{t.value&&this.setState({thirdPartyId:t.value.toString()})},this.handleNameChange=(e,t)=>{const{urnSuffix:n,isTypedUrnSuffix:o}=this.state,a=t.value,i=o?n:ap()(a);this.setState({collectionName:a,urnSuffix:i})},this.handleUrnSuffixChange=(e,t)=>{this.setState({urnSuffix:ap()(t.value),isTypedUrnSuffix:!!t.value})}}getSelectedThirdParty(){const{thirdParties:e}=this.props,{thirdPartyId:t}=this.state;return e.find((e=>e.id===t))||e[0]}render(){const{name:e,thirdParties:t,onClose:n,isLoading:o,error:a}=this.props,{collectionName:i,urnSuffix:r}=this.state,s=!i||o,c=this.getSelectedThirdParty();return Object(oa.jsxs)(ad.a,{name:e,onClose:n,size:"tiny",children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("create_third_party_collection_modal.title"),subtitle:Object(ta.t)("create_third_party_collection_modal.subtitle"),onClose:n}),Object(oa.jsxs)(Os.Form,{onSubmit:this.handleSubmit,disabled:s,children:[Object(oa.jsxs)(Os.ModalContent,{children:[Object(oa.jsx)(Os.SelectField,{label:Object(ta.t)("create_third_party_collection_modal.third_party.label"),options:t.map((e=>({value:e.id,text:e.name}))),onChange:this.handleIdChange,value:c.id}),Object(oa.jsx)(Os.Field,{label:Object(ta.t)("create_third_party_collection_modal.name_field.label"),placeholder:"0x...",message:Object(ta.t)("create_third_party_collection_modal.name_field.message",{maxLength:Oi.d}),value:i,maxLength:Oi.d,onChange:this.handleNameChange}),Object(oa.jsx)(Os.Field,{label:Object(ta.t)("create_third_party_collection_modal.urn_suffix_field.label"),placeholder:"0x...",message:Object(ta.t)("create_third_party_collection_modal.urn_suffix_field.message"),value:r,onChange:this.handleUrnSuffixChange}),a?Object(oa.jsx)("small",{className:"danger-text",children:a}):null]}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(Os.Button,{primary:!0,disabled:s,loading:o,children:Object(ta.t)("global.create")})})]})]})}}var rp=Object(i.connect)((e=>({address:Object(I.getAddress)(e),thirdParties:Object(ud.f)(e),error:Object(ud.c)(e),isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.y)})),(e=>({onSubmit:t=>e(Object(He.eb)(t))})))(ip),sp=n(1090);n(3440);class cp extends Jo.PureComponent{constructor(){super(...arguments),this.getValue=e=>{const t=e.target.value.trim();return t?Number(t):void 0},this.handleChangeCols=e=>{const{rows:t,onChange:n}=this.props;n(t,this.getValue(e))},this.handleChangeRows=e=>{const{cols:t,onChange:n}=this.props;n(this.getValue(e),t)},this.disableScroll=e=>{e&&e.addEventListener("mousewheel",Object(Xd.a)())},this.getSize=()=>{const{rows:e,cols:t}=this.props,n=Math.max(e||0,t||0);return n<=4?"big":n<=6?"medium":n<=12?"small":"tiny"}}render(){const{rows:e,cols:t,errorMessage:n,showGrid:o}=this.props;let a="LayoutPicker";return n&&(a+=" error"),Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsxs)("div",{className:a,children:[o?n?Object(oa.jsx)("div",{className:"layout-error",children:Object(oa.jsx)(Os.Icon,{name:"warning sign"})}):Object(oa.jsx)(sp.a,{size:this.getSize(),rows:e||0,cols:t||0}):null,Object(oa.jsxs)("div",{className:"inputs",children:[Object(oa.jsxs)("div",{className:"input",children:[Object(oa.jsx)("label",{htmlFor:"rows-input",children:Object(ta.t)("layout_picker.rows")}),Object(oa.jsx)("input",{id:"rows-input",type:"number",step:1,value:void 0!==e?e.toString():"",onChange:this.handleChangeRows,ref:this.disableScroll})]}),Object(oa.jsx)("i",{className:"times"}),Object(oa.jsxs)("div",{className:"input",children:[Object(oa.jsx)("label",{htmlFor:"cols-input",children:Object(ta.t)("layout_picker.columns")}),Object(oa.jsx)("input",{id:"cols-input",type:"number",step:1,value:void 0!==t?t.toString():"",onChange:this.handleChangeCols,ref:this.disableScroll})]})]})]}),n?Object(oa.jsx)("div",{className:"LayoutPickerError",children:n}):null]})}}var lp=cp,dp=n(509);function up(e,t){return void 0===e||void 0===t?Object(ta.t)("project_layout_picker.empty_field_error"):Number.isInteger(e)&&Number.isInteger(t)?e*t>400?Object(ta.t)("project_layout_picker.max_area_error",{area:400}):e<1||t<1?Object(ta.t)("project_layout_picker.min_area_error"):"":Object(ta.t)("project_layout_picker.decimals_error")}class pp extends Jo.PureComponent{constructor(e){super(e),this.handleChange=(e,t)=>{const n={rows:e||0,cols:t||0,hasError:!!up(e,t)};this.setState({layout:{rows:e,cols:t}}),this.props.onChange(n)},this.state={layout:{rows:e.rows,cols:e.cols}}}render(){const{layout:{rows:e,cols:t}}=this.state,n=up(e,t);return Object(oa.jsx)(lp,{...this.props,rows:e,cols:t,errorMessage:n,onChange:this.handleChange})}}var mp=pp;let bp;!function(e){e.INFO="info",e.SIZE="size",e.SDK="sdk"}(bp||(bp={}));var hp=n(1819),fp=n(650),yp=n.n(fp);class _p extends Jo.PureComponent{constructor(){super(...arguments),this.state={rows:2,cols:2,step:bp.INFO,hasError:!1,name:Object(ta.t)("global.new_scene"),description:""},this.handleLayoutChange=e=>{this.setState({...e})},this.handleBack=()=>{const{step:e}=this.state;switch(e){case bp.SDK:this.setState({step:bp.SIZE});break;case bp.SIZE:this.setState({step:bp.INFO})}},this.handleCancel=()=>{const{onClose:e}=this.props;e()},this.handleNext=()=>{const{step:e}=this.state;e===bp.INFO?this.setState({step:bp.SIZE}):e===bp.SIZE&&this.setState({step:bp.SDK})},this.handleSubmit=e=>{const{onCreateProject:t,onClose:n}=this.props,{name:o,description:a,rows:i,cols:r}=this.state;t(o,a,function(e,t){return{title:Object(ta.t)("templates.custom_layout.title"),description:Object(dp.a)(e,t),thumbnail:`thumb-${e}x${t}`,rows:e,cols:t,custom:!0}}(i,r),e),n()},this.getSubtitle=()=>{const{step:e}=this.state;switch(e){case bp.INFO:return Object(ta.t)("create_modal.name_subtitle");case bp.SIZE:return Object(ta.t)("create_modal.size_subtitle");case bp.SDK:return Object(ta.t)("create_modal.sdk_subtitle")}},this.renderModalContent=()=>{const{step:e,description:t,rows:n,cols:o,name:a}=this.state;return e===bp.INFO?Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.Field,{label:Object(ta.t)("create_modal.name_label"),placeholder:Object(ta.t)("global.new_scene"),value:a,onChange:(e,t)=>this.setState({name:t.value})}),Object(oa.jsx)(Os.Field,{label:Object(ta.t)("create_modal.description_label"),placeholder:Object(ta.t)("create_modal.description_placeholder"),value:t,onChange:(e,t)=>this.setState({description:t.value})})]}):e===bp.SIZE?Object(oa.jsx)(mp,{rows:n,cols:o,onChange:this.handleLayoutChange,showGrid:!0}):Object(oa.jsxs)("div",{className:yp.a.sdkContent,children:[Object(oa.jsx)("span",{className:yp.a.sdkDescription,children:Object(ta.t)("create_modal.sdk_description",{b:e=>Object(oa.jsx)("b",{children:e})})}),Object(oa.jsx)("img",{className:yp.a.sdkImg,src:hp.a,alt:Object(ta.t)("create_modal.sdk_image_alt")})]})},this.renderModalActions=()=>{const{hasError:e,name:t,step:n}=this.state;switch(n){case bp.INFO:return Object(oa.jsxs)("div",{className:yp.a.actionsContainer,children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:this.handleCancel,children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,disabled:e||!t,onClick:this.handleNext,children:Object(ta.t)("global.next")})]});case bp.SIZE:return Object(oa.jsxs)("div",{className:yp.a.actionsContainer,children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:this.handleBack,children:Object(ta.t)("global.back")}),Object(oa.jsx)(Os.Button,{primary:!0,disabled:e||!t,onClick:this.handleNext,children:Object(ta.t)("global.next")})]});case bp.SDK:return Object(oa.jsxs)("div",{className:yp.a.sdkActionContainer,children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:this.handleSubmit.bind(this,Qi.b.SDK6),children:Object(ta.t)("create_modal.use_sdk6")}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleSubmit.bind(this,Qi.b.SDK7),children:Object(ta.t)("create_modal.use_sdk7")})]})}}}render(){const{name:e,onClose:t}=this.props,{step:n}=this.state;return Object(oa.jsxs)(ad.a,{name:e,children:[Object(oa.jsx)(Os.ModalNavigation,{title:n!==bp.SDK?Object(ta.t)("create_modal.title"):Object(ta.t)("create_modal.sdk_title"),subtitle:this.getSubtitle(),onBack:n!==bp.INFO?this.handleBack:void 0,onClose:t}),Object(oa.jsx)(ad.a.Content,{children:this.renderModalContent()}),Object(oa.jsx)(ad.a.Actions,{children:this.renderModalActions()})]})}}var gp=Object(i.connect)((e=>({isLoading:Object(Hi.isLoadingType)(Object(co.e)(e),D.m)||Object(q.c)(e).length>0,error:Object(co.d)(e)})),(e=>({onCreateProject:(t,n,o,a)=>e(Object(D.D)(o,{title:t,description:n,sdk:a,onSuccess:t=>{const n=a===Qi.b.SDK6?Va.a.sceneEditor(t.id):Va.a.inspector(t.id);e(Object(Fe.e)(n))}}))})))(_p);n(3441);const jp=e=>{let{metadata:t,name:n,isLoading:o,onDuplicate:a,onClose:i}=e;const[r,s]=Object(Jo.useState)(t.template.title),[c,l]=Object(Jo.useState)(""),d=Object(Jo.useCallback)((()=>{o||i()}),[o,i]),u=Object(Jo.useCallback)((()=>{const e={...t.template,title:r,description:c};a(e,rt.b.TEMPLATE)}),[r,c,t,a]),p=Object(Jo.useCallback)(((e,t)=>{let{value:n}=t;s(n)}),[]),m=Object(Jo.useCallback)(((e,t)=>{let{value:n}=t;l(n)}),[]);return Object(oa.jsxs)(ad.a,{name:n,onClose:d,children:[Object(oa.jsx)("div",{className:Vd()("modal-navigation-container",{disabled:o}),children:Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("clone_template_modal.title"),onClose:d})}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)(Os.Field,{label:Object(ta.t)("clone_template_modal.name_label"),placeholder:Object(ta.t)("global.new_scene"),message:Object(ta.t)("clone_template_modal.name_max_length"),value:r,maxLength:32,kind:"full",onChange:p}),Object(oa.jsx)(Os.TextAreaField,{label:Object(ta.t)("clone_template_modal.description_label"),placeholder:Object(ta.t)("clone_template_modal.description_placeholder"),value:c,rows:5,kind:"full",onChange:m})]}),Object(oa.jsx)(ad.a.Actions,{children:Object(oa.jsx)(Os.Button,{primary:!0,className:"next-action-button",disabled:!n||o,loading:o,onClick:u,children:Object(ta.t)("global.next")})})]})};var Op=ea.a.memo(jp);var vp=Object(i.connect)((e=>({error:Object(co.d)(e),isLoading:Object(Hi.isLoadingType)(Object(co.e)(e),D.e)})),(e=>({onDuplicate:(t,n)=>e(Object(D.G)(t,n))})))(Op);n(3442);var Cp=e=>{const{name:t,metadata:n,isLoading:o,onClose:a,onDeleteItem:i}=e,{item:r}=n,s=Object(Jo.useCallback)((()=>{i(r)}),[r,i]);return Object(oa.jsxs)(ad.a,{name:t,onClose:a,size:"tiny",closeOnDimmerClick:!1,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("delete_item_modal.title",{name:r.name}),subtitle:Object(ta.t)("delete_item_modal.subtitle",{name:r.name,br:Object(oa.jsx)("br",{})}),onClose:a}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{primary:!0,onClick:s,loading:o,disabled:o||!r,children:Object(ta.t)("global.confirm")}),Object(oa.jsx)(Os.Button,{secondary:!0,onClick:()=>a(),loading:o,disabled:o,children:Object(ta.t)("global.cancel")})]})]})};var xp=Object(i.connect)((e=>({isLoading:Object(Hi.isLoadingType)(Object(ei.i)(e),ot.d)})),(e=>({onDeleteItem:t=>e(Object(ot.Y)(t))})))(Cp),wp=n(491),Ep=n(873);n(3445);const Sp=["north","east","south","west"],Ap=Object.freeze({occupiedParcel:"#774642",freeParcel:"#ff9990",selected:"#ff9990",selectedStroke:"#ff0044",indicator:"#716b7a",indicatorStroke:"#3a3541"});class Tp extends Jo.PureComponent{constructor(){super(...arguments),this.state=this.getBaseState(),this.analytics=Object(k.getAnalytics)(),this.isValid=()=>{const{project:e,landTiles:t}=this.props,{rotation:n,hover:o}=this.state,a=Object(Ui.c)(e.layout,o,n);return!!o&&a.every((e=>{let{x:n,y:o}=e;return!!t[`${n},${o}`]}))},this.isHighlighted=(e,t)=>{const{project:n}=this.props,{rotation:o,hover:a,placement:i}=this.state,r=Object(Ui.c)(n.layout,a,o);return!(!a||i)&&r.some((n=>n.x===e&&n.y===t))},this.isPlaced=(e,t)=>{const{project:n}=this.props,{placement:o}=this.state;if(!o)return null;return Object(Ui.c)(n.layout,o.point,o.rotation).some((n=>n.x===e&&n.y===t))},this.strokeLayer=(e,t)=>{const n=this.isPlaced(e,t);return this.isHighlighted(e,t)||n?{color:this.isValid()||n?Ap.selectedStroke:Ap.indicatorStroke,scale:1.5}:null},this.highlightLayer=(e,t)=>{const n=this.isPlaced(e,t);return this.isHighlighted(e,t)||n?{color:this.isValid()||n?Ap.selected:Ap.indicator,scale:1.2}:null},this.handleHover=(e,t)=>{this.setState({hover:{x:e,y:t}})},this.handlePlacement=(e,t)=>{this.isValid()&&this.setState({placement:{point:{x:e,y:t},rotation:this.state.rotation}})},this.handleSelectPlacement=()=>{const{placement:e}=this.state,{onConfirmPlacement:t}=this.props,n=this.getOverlappedDeployment();e&&(n?t(e,n.id):t(e))},this.handleRotate=e=>()=>{const{rotation:t,placement:n}=this.state;if(n)return;const o=((Sp.indexOf(t)+e)%Sp.length+Sp.length)%Sp.length;this.analytics.track("Publish to LAND atlas rotate",{direction:e}),this.setState({rotation:Sp[o]})},this.handleLocateLand=()=>{const{landTiles:e}=this.props,{currentLandId:t}=this.state,n=Object(Ti.x)(e,t||"");this.analytics.track("Publish to LAND atlas locate"),this.setState({currentLandId:n.id})},this.handleResetPlacement=()=>{this.setState({placement:null})},this.handleNoAuthorizedParcels=()=>{this.props.onNoAuthorizedParcels()},this.getOverlappedDeployment=()=>{const{deploymentsByCoord:e,project:t}=this.props,{placement:n}=this.state;if(t&&n){const o=Object(Ui.c)(t.layout,n.point,n.rotation);for(const t of o){const n=e[Object(Ti.f)(t.x,t.y)];if(n)return n}}return null},this.renderTool=(e,t,n)=>Object(oa.jsx)(Os.Popup,{className:"modal-tooltip",content:t,position:"top center",trigger:Object(oa.jsx)("div",{className:`tool ${e}`,onClick:n,children:Object(oa.jsx)(zd.a,{name:e})}),on:"hover",inverted:!0})}getBaseState(){const{deployment:e,landTiles:t}=this.props,n=Object.keys(t);return{placement:e?e.placement:null,hover:{x:0,y:0},rotation:e?e.placement.rotation:"north",zoom:1,currentLandId:e?Object(Ti.f)(e.placement.point.x,e.placement.point.y):n.length>0?n[0]:"0,0"}}truncateTitle(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return e.length>t?e.substring(0,t)+"...":e}render(){const{media:e,project:t,landTiles:n,deployment:o,scene:a}=this.props,{placement:i,rotation:r,zoom:s,currentLandId:c}=this.state,l=!!i,d=Object.keys(n).length,[u,p]=c?Object(Ti.v)(c):[0,0],m={x:u,y:p},b=this.getOverlappedDeployment(),h=b&&o&&b.projectId&&o.projectId&&b.projectId!==o.projectId?b:null,{rows:f,cols:y}=t.layout;return Object(oa.jsxs)("div",{className:"LandAtlas",children:[0===d&&Object(oa.jsxs)("div",{className:"notice",children:[Object(ta.t)("deployment_modal.land.map.no_land_warning"),Object(oa.jsx)("span",{className:"inline-action",onClick:this.handleNoAuthorizedParcels,children:Object(ta.t)("deployment_modal.land.map.no_land_action")})]}),h&&Object(oa.jsxs)("div",{className:"notice",children:[Object(oa.jsx)(Os.Icon,{name:"warning sign"}),Object(ta.t)("deployment_modal.land.map.occupied_warning",{name:h.name})]}),0!==d&&a&&a.sdk6&&Object(oa.jsxs)("div",{className:"thumbnail"+(l?" disable-rotate":""),children:[Object(oa.jsx)("img",{src:e?e[r]:"",alt:r}),Object(oa.jsx)("div",{className:"rotate anticlockwise",onClick:this.handleRotate(-1),children:Object(oa.jsx)(zd.a,{name:"rotate-left"})}),Object(oa.jsx)("div",{className:"rotate clockwise",onClick:this.handleRotate(1),children:Object(oa.jsx)(zd.a,{name:"rotate-right"})})]}),Object(oa.jsx)("div",{className:"atlas-container",children:Object(oa.jsx)(Ep.a,{showControls:!0,showOperator:!0,showTenant:!0,onLocateLand:this.handleLocateLand,layers:[this.strokeLayer,this.highlightLayer],onHover:this.handleHover,onClick:this.handlePlacement,zoom:s,x:m.x,y:m.y})}),Object(oa.jsxs)("div",{className:"actions",children:[Object(oa.jsx)("div",{className:"summary",children:l?Object(oa.jsxs)("span",{children:[Object(oa.jsx)(ta.T,{id:"deployment_modal.land.map.placement_active",values:{count:f*y,x:i.point.x,y:i.point.y}}),Object(oa.jsx)("span",{className:"inline-action",onClick:this.handleResetPlacement,children:"Reset"})]}):Object(ta.t)("deployment_modal.land.map.placement_default")}),Object(oa.jsx)(Os.Popup,{className:"publish-disabled modal-tooltip",content:Object(oa.jsx)("span",{children:Object(oa.jsx)(ta.T,{id:"deployment_modal.land.map.occupied_tooltip",values:{name:h?h.name:"",br:Object(oa.jsx)("br",{})}})}),position:"top center",disabled:!0,trigger:Object(oa.jsx)("span",{children:Object(oa.jsx)(Os.Button,{primary:!0,size:"small",disabled:!l,onClick:this.handleSelectPlacement,children:Object(ta.t)("deployment_modal.land.map.continue")})}),on:"hover",inverted:!0})]})]})}}var Rp=Tp;function kp(e,t,n,o,a){for(let i=t;i<t+o;i++)for(let t=n;t<n+a;t++){if(!e[`${i},${t}`])return!1}return!0}let Np;!function(e){e.NONE="NONE",e.CONNECT="CONNECT",e.PROGRESS="PROGRESS",e.MAP="MAP",e.SUCCESS="SUCCESS",e.CONFIRMATION="CONFIRMATION",e.EMPTY="EMPTY",e.NOT_ENOUGH_LAND="NOT_ENOUGH_LAND"}(Np||(Np={}));n(3446);const Pp=S.a.get("MARKETPLACE_WEB_URL","");class Ip extends Jo.PureComponent{constructor(){super(...arguments),this.state={placement:null,needsConfirmation:!1,coords:null,view:Np.NONE},this.analytics=Object(k.getAnalytics)(),this.handleClose=()=>{const{view:e}=this.state;e!==Np.PROGRESS&&this.props.onClose()},this.handleNavigateHome=()=>{this.props.onNavigateHome(),this.props.onClose()},this.handleBack=()=>{const{view:e}=this.state;e===Np.CONFIRMATION?this.setState({view:Np.MAP,needsConfirmation:!1}):e!==Np.MAP&&e!==Np.EMPTY&&e!==Np.NOT_ENOUGH_LAND||this.props.onBack()},this.handleDeploy=()=>{const{placement:e,overrideDeploymentId:t}=this.state,{project:n}=this.props;e&&n&&(this.setState({needsConfirmation:!0,coords:Object(Ti.f)(e.point.x,e.point.y)}),this.props.onDeploy(n.id,e,t))},this.handleConnect=()=>{this.props.onOpenModal("WalletLoginModal")},this.handleConfirmPlacement=(e,t)=>{this.setState({placement:e,overrideDeploymentId:t,needsConfirmation:!0})},this.handleDeployToPool=()=>{this.props.onDeployToPool()},this.renderConnectForm=()=>{const{walletError:e,isConnecting:t}=this.props;let n="error";return e&&(n+=" visible"),Object(oa.jsxs)("div",{className:"DeployToLand connect",children:[Object(oa.jsx)("div",{className:"modal-header",children:Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.handleClose})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.land.connect.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.land.connect.description")}),Object(oa.jsx)(Os.Button,{className:"connect",primary:!0,size:"small",onClick:this.handleConnect,disabled:t,children:t?Object(oa.jsx)(ta.T,{id:"@dapps.sign_in.connecting"}):Object(oa.jsx)(ta.T,{id:"@dapps.sign_in.connect"})}),Object(oa.jsx)("p",{className:n,children:Object(oa.jsx)(ta.T,{id:"@dapps.sign_in.error"})})]})},this.renderProgress=()=>{const{mediaProgress:e,deploymentProgress:t,isRecording:n,isCreatingFiles:o,isUploadingAssets:a,isUploadingRecording:i}=this.props;let r="progress-bar active";const s=n?e:t.value;return 100===s&&(r+=" active"),Object(oa.jsxs)("div",{className:"DeployToLand progress",children:[Object(oa.jsxs)(Os.Header,{size:"large",className:"modal-title",children:[a&&Object(ta.t)("deployment_modal.land.progress.uploading_assets.title"),n&&Object(ta.t)("deployment_modal.land.progress.recording.title"),o&&Object(ta.t)("deployment_modal.land.progress.creating_files.title"),i&&Object(ta.t)("deployment_modal.land.progress.uploading_recording.title")]}),Object(oa.jsxs)("p",{className:"modal-subtitle",children:[a&&Object(ta.t)("deployment_modal.land.progress.uploading_assets.description"),o&&Object(ta.t)("deployment_modal.land.progress.creating_files.description"),n&&Object(ta.t)("deployment_modal.land.progress.recording.description"),i&&Object(ta.t)("deployment_modal.land.progress.uploading_recording.description")]}),Object(oa.jsx)("div",{className:"progress-bar-container",children:Object(oa.jsx)("div",{className:r,style:{width:`${s}%`}})})]})},this.renderConfirmation=()=>{const{media:e,project:t,error:n,deployments:o}=this.props,{placement:a}=this.state,{rows:i,cols:r}=t.layout;return Object(oa.jsxs)("div",{className:"DeployToLand confirmation",children:[Object(oa.jsxs)("div",{className:"modal-header",children:[Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.handleClose}),0===o.length&&Object(oa.jsx)(zd.a,{name:"modal-back",onClick:this.handleBack})]}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.pool.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.land.confirmation.description")}),Object(oa.jsxs)("div",{className:"details",children:[Object(oa.jsx)("img",{src:e?e.preview:"",alt:t.title}),Object(oa.jsxs)("div",{className:"details-row",children:[Object(oa.jsxs)("div",{className:"detail",children:[Object(oa.jsx)("span",{className:"label",children:Object(ta.t)("deployment_modal.land.confirmation.title_label")}),Object(oa.jsx)("span",{className:"value",children:t.title})]}),Object(oa.jsxs)("div",{className:"detail",children:[Object(oa.jsx)("span",{className:"label",children:Object(ta.t)("deployment_modal.land.confirmation.size_label")}),Object(oa.jsx)("span",{className:"value",children:i*r})]}),Object(oa.jsxs)("div",{className:"detail",children:[Object(oa.jsx)("span",{className:"label",children:Object(ta.t)("deployment_modal.land.confirmation.location_label")}),Object(oa.jsx)("span",{className:"value",children:`${a.point.x}, ${a.point.y}`})]})]})]}),Object(oa.jsx)(Os.Row,{align:"center",children:Object(oa.jsx)(Os.Button,{primary:!0,size:"small",onClick:this.handleDeploy,children:Object(ta.t)("deployment_modal.land.confirmation.action")})}),n&&Object(oa.jsx)("div",{className:"error visible",children:n})]})},this.renderMap=()=>{const{media:e,project:t,deployments:n,deploymentsByCoord:o,landTiles:a,isLoggedIn:i,scene:r}=this.props,s=n.filter((e=>!e.world)),c=Object(Fi.d)(t,s);return Object(oa.jsxs)("div",{className:"DeployToLand atlas",children:[Object(oa.jsxs)("div",{className:"modal-header",children:[Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.handleClose}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.land.map.title")}),Object(oa.jsx)(zd.a,{name:"modal-back",onClick:this.handleBack})]}),Object(oa.jsx)(Rp,{scene:r,media:e,project:t,deploymentsByCoord:o,landTiles:a,deployment:c,onConfirmPlacement:this.handleConfirmPlacement,onNoAuthorizedParcels:this.handleDeployToPool,isLoggedIn:i})]})},this.renderEmpty=()=>{const{layout:e}=this.props.project;return Object(oa.jsxs)("div",{className:"DeployToLand empty",children:[Object(oa.jsxs)("div",{className:"empty-modal-header",children:[Object(oa.jsx)("button",{className:"navigation-button",onClick:this.handleBack,children:Object(oa.jsx)(zd.a,{name:"modal-back"})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.land.empty.title")}),Object(oa.jsx)("button",{className:"navigation-button",onClick:this.handleClose,children:Object(oa.jsx)(zd.a,{name:"modal-close"})})]}),Object(oa.jsxs)("div",{className:"modal-body",children:[Object(oa.jsx)("div",{className:"thumbnail","aria-label":"No land",role:"img"}),Object(oa.jsx)("span",{className:"description",children:Object(ta.t)("deployment_modal.land.empty.description",{br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e}),dimension:e.rows,landSize:`${e.rows}x${e.cols}`})})]}),Object(oa.jsxs)("div",{className:"actions",children:[Object(oa.jsx)(Os.Button,{primary:!0,className:"action-button",as:"a",href:`${Pp}/lands?assetType=nft&section=land&isMap=false&isFullscreen=false&vendor=decentraland&page=1&sortBy=newest&onlyOnSale=true`,target:"_blank",children:Object(ta.t)("deployment_modal.land.empty.buy_land")}),Object(oa.jsx)(Os.Button,{secondary:!0,className:"action-button",as:"a",href:`${Pp}/lands?assetType=nft&section=land&isMap=false&isFullscreen=false&vendor=decentraland&page=1&sortBy=newest&onlyOnRent=true`,target:"_blank",children:Object(ta.t)("deployment_modal.land.empty.rent_land")})]})]})},this.renderNotEnoughLand=()=>{const{project:e,ensList:t,onDeployToWorld:n}=this.props;return e?Object(oa.jsxs)("div",{className:"DeployToLand empty",children:[Object(oa.jsxs)("div",{className:"empty-modal-header",children:[Object(oa.jsx)("button",{className:"navigation-button",onClick:this.handleBack,children:Object(oa.jsx)(zd.a,{name:"modal-back"})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.land.not_enough_land.title")}),Object(oa.jsx)("button",{className:"navigation-button",onClick:this.handleClose,children:Object(oa.jsx)(zd.a,{name:"modal-close"})})]}),Object(oa.jsxs)("div",{className:"modal-body",children:[Object(oa.jsx)("div",{className:"thumbnail","aria-label":"No land",role:"img"}),Object(oa.jsx)("span",{className:"description",children:Object(ta.t)("deployment_modal.land.not_enough_land.description",{rows:null===e||void 0===e?void 0:e.layout.rows,cols:null===e||void 0===e?void 0:e.layout.cols})})]}),Object(oa.jsxs)("div",{className:"actions",children:[t.length?Object(oa.jsx)(Os.Button,{primary:!0,className:"action-button",onClick:n,children:Object(ta.t)("deployment_modal.land.not_enough_land.publish_world")}):Object(oa.jsx)(Os.Button,{primary:!0,as:ks.a,className:"action-button",to:Va.a.claimENS(),children:Object(ta.t)("deployment_modal.land.not_enough_land.claim_name")}),Object(oa.jsx)(Os.Button,{secondary:!0,className:"action-button",as:ks.a,to:Va.a.scenes(),children:Object(ta.t)("deployment_modal.land.not_enough_land.return_scenes")})]})]}):Object(oa.jsx)(oa.Fragment,{})},this.renderSuccess=()=>{const{placement:e}=this.state,{x:t,y:n}=e.point;return Object(oa.jsxs)("div",{className:"DeployToLand success",children:[Object(oa.jsx)("div",{className:"modal-header",children:Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.handleClose})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.land.success.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.land.success.description")}),Object(oa.jsxs)("div",{className:"actions",children:[Object(oa.jsx)(Os.Button,{size:"small",primary:!0,href:Object(Ti.m)(t,n),target:"_blank",rel:"no:opener no:referrer",children:Object(ta.t)("deployment_modal.land.success.jump_in")}),Object(oa.jsx)(Os.Button,{className:"hollow",secondary:!0,size:"small",onClick:this.handleClose,children:Object(ta.t)("deployment_modal.land.success.continue")})]})]})},this.renderView=()=>{const{view:e}=this.state;return e===Np.CONNECT?this.renderConnectForm():e===Np.PROGRESS?this.renderProgress():e===Np.MAP?this.renderMap():e===Np.SUCCESS?this.renderSuccess():e===Np.CONFIRMATION?this.renderConfirmation():e===Np.EMPTY?this.renderEmpty():e===Np.NOT_ENOUGH_LAND?this.renderNotEnoughLand():Object(oa.jsx)(Os.Loader,{size:"big"})},this.wrapInModal=e=>{const{name:t}=this.props;return Object(oa.jsx)(ad.a,{name:t,onClose:this.handleClose,children:e})}}componentDidMount(){this.props.onRecord()}componentWillReceiveProps(e){const{project:t,deployments:n}=e;if(n.length>0){const e=n.filter((e=>!e.world)),o=Object(Fi.d)(t,e);o&&this.setState({placement:{...o.placement}})}}componentWillUpdate(e,t){t.view!==this.state.view&&this.analytics.track("Publish to LAND step",{step:t.view})}componentDidUpdate(){const{isConnected:e,isRecording:t,isUploadingAssets:n,isCreatingFiles:o,isUploadingRecording:a,isLoading:i,media:r,project:s,deploymentsByCoord:c,error:l,landTiles:d}=this.props,{coords:u,needsConfirmation:p}=this.state,m=t||n||o||a||i;let b=Np.NONE;const h=u&&c[u];e?e&&m&&!l?b=Np.PROGRESS:e&&r&&!Object.keys(d).length?b=Np.EMPTY:e&&r&&!function(e,t){if(!e)return!1;const n=Object.keys(t),{rows:o,cols:a}=e.layout;return!(o*a>n.length)&&n.some((e=>{const[n,i]=e.split(",").map((e=>Number(e)));return!!(kp(t,n,i,a,o)||o!==a&&kp(t,n,i,o,a))}))}(s,d)?b=Np.NOT_ENOUGH_LAND:e&&r&&!p?b=Np.MAP:!m&&h&&Object(Fi.f)(s,h)===H.a.PUBLISHED?b=Np.SUCCESS:e&&r&&(!m||l)&&p&&(b=Np.CONFIRMATION):b=Np.CONNECT,this.setState({view:b})}render(){return this.wrapInModal(this.renderView())}}var Lp=Object(i.connect)((e=>({ensList:Object(cs.d)(e),project:Object(co.b)(e),isConnecting:Object(I.isConnecting)(e),isConnected:Object(I.isConnected)(e),isRecording:Li(e),isUploadingAssets:Object(wi.m)(e),isUploadingRecording:Object(wi.n)(e),isCreatingFiles:Object(wi.k)(e),isLoading:Object(wi.l)(e),isLoggedIn:Object(V.d)(e),walletError:!!Object(I.getError)(e),media:Pi(e),ethAddress:Object(I.getAddress)(e),mediaProgress:Ii(e),deploymentProgress:Object(wi.j)(e),deploymentStatus:Object(wi.a)(e),deploymentsByCoord:Object(jo.c)(e),landTiles:Object(jo.f)(e),deployments:Object(wi.b)(e),error:Object(wi.h)(e)})),(e=>({onOpenModal:(t,n)=>e(Object(bo.openModal)(t,n)),onRecord:()=>e(Dt()),onDeploy:(t,n,o)=>e(Object(M.x)(t,n,o)),onNavigateHome:()=>e(Object(Fe.e)(Va.a.root()))})))(Ip);n(3447);class Mp extends Jo.PureComponent{constructor(){super(...arguments),this.state={isSubmitting:!1,isSuccess:!1},this.analytics=Object(k.getAnalytics)(),this.handleSubmit=()=>{const{project:e,onDeployToPool:t}=this.props,n=e.id;this.setState({isSubmitting:!0}),t(n)},this.handleClose=()=>{const{isLoading:e,isRecording:t,isUploadingRecording:n}=this.props;e||t||n||this.props.onClose()},this.handleLogin=()=>{this.props.onOpenModal("WalletLoginModal")},this.handleShare=()=>{const{project:e,onOpenModal:t}=this.props,n=e.id;t("ShareModal",{type:Pd.a.POOL,id:n})},this.renderView=()=>{const{isRecording:e,isUploadingRecording:t,isLoading:n,isLoggedIn:o}=this.props,a=e||t;return this.state.isSuccess?this.renderSuccess():a?this.renderProgress():a||n||!o?o?Object(oa.jsx)(Os.Loader,{size:"big"}):this.renderLogin():this.renderSubmit()},this.wrapInModal=e=>{const{name:t}=this.props;return Object(oa.jsx)(ad.a,{name:t,onClose:this.handleClose,children:e})}}componentDidMount(){this.analytics.track("Publish to Pool")}componentWillReceiveProps(e){const{isLoading:t,error:n}=e;!this.state.isSubmitting||t||n||this.setState({isSubmitting:!1,isSuccess:!0})}componentWillUnmount(){this.setState({isSubmitting:!1,isSuccess:!1})}renderSubmit(){const{error:e,isReady:t}=this.props;return Object(oa.jsxs)("div",{className:"DeployToPool",children:[Object(oa.jsx)("div",{className:"modal-header",children:Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.handleClose})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.pool.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.pool.subtitle")}),e?Object(oa.jsxs)("div",{className:"error",children:[Object(ta.t)("global.error_ocurred"),' "',e,'"']}):null,Object(oa.jsx)(Os.Button,{className:"submit",primary:!0,size:"small",onClick:this.handleSubmit,loading:!t,disabled:!t,children:Object(ta.t)("deployment_modal.pool.action")})]})}renderSuccess(){const{media:e,onClose:t}=this.props;return Object(oa.jsxs)("div",{className:"DeployToPool success",children:[Object(oa.jsx)("img",{src:e?e.preview:"",alt:Object(ta.t)("global.project"),className:"preview"}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.pool.success.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.pool.success.body")}),Object(oa.jsxs)("div",{children:[Object(oa.jsx)(Os.Button,{className:"submit",size:"small",primary:!0,onClick:this.handleShare,children:Object(ta.t)("global.share")}),Object(oa.jsx)(Os.Button,{className:"submit",size:"small",secondary:!0,onClick:t,children:Object(ta.t)("global.done")})]})]})}renderProgress(){const{isRecording:e,progress:t}=this.props;let n="progress-bar";return 100===t&&(n+=" active"),Object(oa.jsxs)("div",{className:"DeployToPool progress",children:[Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:e?Object(ta.t)("deployment_modal.land.progress.recording.title"):Object(ta.t)("deployment_modal.land.progress.uploading_recording.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:e?Object(ta.t)("deployment_modal.land.progress.creating_files.description"):Object(ta.t)("deployment_modal.land.progress.uploading_recording.description")}),Object(oa.jsx)("div",{className:"progress-bar-container",children:Object(oa.jsx)("div",{className:n,style:{width:`${t}%`}})})]})}renderLogin(){return Object(oa.jsxs)("div",{className:"DeployToPool",children:[Object(oa.jsx)("div",{className:"modal-header",children:Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.handleClose})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.pool.sign_in.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.pool.sign_in.subtitle")}),Object(oa.jsx)(Os.Button,{className:"submit",primary:!0,size:"small",onClick:this.handleLogin,children:Object(ta.t)("global.sign_in")})]})}render(){return this.wrapInModal(this.renderView())}}var Dp=Object(i.connect)((e=>({error:Object(wi.h)(e),project:Object(co.b)(e),isLoading:Object(wi.l)(e),isReady:Object(tr.x)(e),progress:Ii(e),isRecording:Li(e),isUploadingRecording:Object(wi.n)(e),media:Pi(e),isLoggedIn:Object(V.d)(e)})),(e=>({onDeployToPool:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e(Object(M.A)(t,n))},onOpenModal:(t,n)=>e(Object(bo.openModal)(t,n))})))(Mp),Fp=Dp,Up=n(653);let Bp;!function(e){e.FORM="FORM",e.PROGRESS="PROGRESS",e.SUCCESS="SUCCESS",e.EMPTY="EMPTY",e.ERROR="ERROR"}(Bp||(Bp={}));var zp=n(141),Hp=n.n(zp);const Wp=S.a.get("EXPLORER_URL",""),Gp=S.a.get("WORLDS_CONTENT_SERVER",""),Yp="claim_name_option";var Qp=Object(i.connect)((e=>({ensList:Object(cs.d)(e),project:Object(co.b)(e),metrics:Object(Yi.f)(e),deployments:Object(wi.f)(e),deploymentProgress:Object(wi.j)(e),error:Object(wi.h)(e),isLoading:Object(wi.l)(e)})),(e=>({onPublish:(t,n)=>e(Object(M.D)(t,n)),onRecord:()=>e(Dt()),onNavigate:t=>e(Object(Fe.e)(t)),onReplace:(t,n)=>e(Object(Fe.f)(t,n))})))((function(e){var t;let{name:n,project:o,metrics:a,ensList:i,deployments:r,isLoading:s,error:c,claimedName:l,onPublish:d,onRecord:u,onNavigate:p,onReplace:m,onClose:b,onBack:h}=e;const f=Object(k.getAnalytics)(),[y,_]=Object(Jo.useState)(""),[g,j]=Object(Jo.useState)(null!==l&&void 0!==l?l:""),[O,v]=Object(Jo.useState)(!1),[C,x]=Object(Jo.useState)(!1),w=Object(Jo.useRef)(),E=g&&(null===(t=i.find((e=>e.subdomain===g)))||void 0===t?void 0:t.name);Object(Jo.useEffect)((()=>{0===i.length?(_(Bp.EMPTY),f.track("Publish to World step",{step:Bp.EMPTY})):w.current||(_(Bp.FORM),f.track("Publish to World step",{step:Bp.FORM}),u())}),[i,u,f]),Object(Jo.useEffect)((()=>{y===Bp.FORM&&O&&c?(_(Bp.ERROR),v(!1),f.track("Publish to World step",{step:Bp.ERROR})):y===Bp.FORM&&g&&O&&(w.current?r[g].timestamp>w.current.timestamp:r[g])&&(_(Bp.SUCCESS),v(!1),f.track("Publish to World step",{step:Bp.SUCCESS}))}),[y,g,O,c,r,f]),Object(Jo.useEffect)((()=>{l&&f.track("Publish to World - Minted Name",{name:l})}),[l,f]);const S=Object(Jo.useCallback)((()=>{g&&(d(o.id,g),v(!0))}),[d,o,g]),A=Object(Jo.useCallback)((()=>{y===Bp.SUCCESS&&p(Va.a.sceneDetail(o.id)),s||b()}),[y,o,s,b,p]),T=Object(Jo.useCallback)((()=>{const e=`${Va.a.claimENS()}?from=${Cs.a.DEPLOY_TO_WORLD}&projectId=${o.id}`;f.track("Publish to World - Claim Name"),m(e,{fromParam:Cs.a.DEPLOY_TO_WORLD,projectId:o.id})}),[o,m,f]),R=Object(Jo.useCallback)(((e,t)=>{let{value:n}=t;n!==Yp?(j(n),x(!1),w.current=r[n]):T()}),[r,T]),N=()=>{window.open(I,"_blank,noreferrer")},P=Object(Jo.useCallback)(((e,t)=>{let{checked:n}=t;x(n)}),[]),I=Object(Jo.useMemo)((()=>te.a?`${Wp}/?realm=${Gp}/world/${g}&NETWORK=sepolia`:`${Wp}/world/${g}`),[g]),L=Object(Jo.useMemo)((()=>[...i.map((e=>({text:e.name,value:e.subdomain}))),{text:Object(oa.jsxs)("span",{children:[Object(oa.jsx)(Os.Icon,{name:"add"}),Object(ta.t)("deployment_modal.deploy_world.claim_name")]}),value:Yp}]),[i]),M=()=>{const e=encodeURIComponent(I);return`https://twitter.com/intent/tweet?text=${encodeURIComponent(Object(ta.t)("deployment_modal.deploy_world.success.share_in_twitter_text"))}&url=${e}`},D=()=>{const{rows:e,cols:t}=o.layout;return Object(oa.jsxs)("div",{className:Hp.a.metrics,children:[Object(oa.jsxs)("strong",{children:[Object(ta.t)("deployment_modal.deploy_world.scene_information"),":"]}),Object(oa.jsxs)(Os.List,{className:Hp.a.metricsList,children:[Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("global.size"),": ",e," x ",t]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.triangles"),": ",a.triangles]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.materials"),": ",a.materials]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.meshes"),": ",a.meshes]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.bodies"),": ",a.bodies]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.entities"),": ",a.entities]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.textures"),": ",a.textures]})]})]})},F=()=>{const e=o.thumbnail;return Object(oa.jsx)("div",{className:Hp.a.thumbnail,style:{backgroundImage:`url(${e})`},"aria-label":null===o||void 0===o?void 0:o.description,role:"img",children:Object(oa.jsx)(Os.Popup,{className:"modal-tooltip",content:D(),position:"bottom center",trigger:Object(oa.jsx)(vu.a,{className:Hp.a.thumbnailInfo}),hideOnScroll:!0,on:"hover",inverted:!0,basic:!0})})};return Object(oa.jsx)(ad.a,{name:n,onClose:A,children:Object(oa.jsxs)("div",{className:Hp.a.modalBody,children:[Object(oa.jsxs)("div",{className:Vd()(Hp.a.modalNavigation,{[Hp.a.end]:y===Bp.SUCCESS}),children:[y!==Bp.SUCCESS&&Object(oa.jsx)("button",{className:Hp.a.navigationButton,disabled:s,onClick:h,"aria-label":Object(ta.t)("deployment_modal.deploy_world.back"),children:Object(oa.jsx)(zd.a,{name:"modal-back"})}),Object(oa.jsx)("button",{className:Hp.a.navigationButton,disabled:s,onClick:A,"aria-label":Object(ta.t)("deployment_modal.deploy_world.close"),children:Object(oa.jsx)(zd.a,{name:"modal-close"})})]}),(()=>{switch(y){case Bp.FORM:return(()=>{const e=!!r[g];return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsxs)("div",{className:Hp.a.modalHeader,children:[Object(oa.jsx)("h3",{children:Object(ta.t)("deployment_modal.deploy_world.title")}),Object(oa.jsx)("span",{children:Object(ta.t)("deployment_modal.deploy_world.description")})]}),Object(oa.jsxs)("div",{className:Hp.a.modalForm,children:[null!==o&&void 0!==o&&o.thumbnail?F():null,Object(oa.jsxs)("div",{className:Hp.a.worldDetails,children:[Object(oa.jsx)(Os.SelectField,{label:Object(ta.t)("deployment_modal.deploy_world.world_label"),placeholder:Object(ta.t)("deployment_modal.deploy_world.world_placeholder"),value:g,disabled:s||O,options:L,onChange:R}),g?Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("p",{className:Hp.a.worldDetailsDescription,children:Object(ta.t)("deployment_modal.deploy_world.world_url_description",{br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e}),world_url:I})}),e?Object(oa.jsxs)("div",{className:Hp.a.worldHasContent,children:[Object(oa.jsx)(zd.a,{name:"alert-warning"}),Object(oa.jsx)("span",{children:Object(ta.t)("deployment_modal.deploy_world.world_has_content",{world:E})})]}):null]}):void 0]})]}),Object(oa.jsxs)(Os.Row,{className:Hp.a.modalFormActions,align:"right",children:[e?Object(oa.jsxs)("div",{className:Hp.a.actionCheckbox,children:[Object(oa.jsx)(Os.Checkbox,{checked:C,onClick:P,disabled:s||O}),Object(ta.t)("deployment_modal.deploy_world.confirm_world_replace_content")]}):null,Object(oa.jsx)(Os.Button,{primary:!0,className:Hp.a.actionButton,onClick:S,loading:s||O,disabled:s||O||!g||e&&!C,children:Object(ta.t)("deployment_modal.deploy_world.action")})]})]})})();case Bp.SUCCESS:return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsxs)("div",{className:`${Hp.a.modalBodyState} ${Hp.a.modalBodySuccessState}`,children:[Object(oa.jsx)("div",{className:Hp.a.successImage,"aria-label":null===o||void 0===o?void 0:o.description,role:"img"}),Object(oa.jsx)("h1",{className:Hp.a.modalHeader,children:Object(ta.t)("deployment_modal.deploy_world.success.title")}),Object(oa.jsx)("span",{className:Hp.a.description,children:Object(ta.t)("deployment_modal.deploy_world.success.subtitle")}),Object(oa.jsx)(Up.a,{role:"button",text:I,className:`${Hp.a.shareUrlField} field`,showPopup:!0,children:Object(oa.jsx)(Os.Field,{className:Hp.a.shareUrlFieldInput,value:I,kind:"full",readOnly:!0,icon:Object(oa.jsx)(Os.Icon,{"aria-label":"Copy World","aria-hidden":"false",className:"link copy",name:"copy outline"})})})]}),Object(oa.jsxs)("div",{className:Hp.a.modalBodyStateActions,children:[Object(oa.jsx)(Os.Button,{primary:!0,className:Hp.a.modalBodyStateActionButton,onClick:N,content:Object(ta.t)("deployment_modal.deploy_world.success.jump_in"),icon:"external alternate"}),Object(oa.jsx)(Os.Button,{as:"a",secondary:!0,className:Hp.a.modalBodyStateActionButton,content:Object(ta.t)("deployment_modal.deploy_world.success.share_in_twitter"),icon:"twitter",href:M(),rel:"noopener noreferrer",target:"_blank"})]})]});case Bp.ERROR:return Object(oa.jsxs)("div",{className:`${Hp.a.modalBodyState} ${Hp.a.modalBodyFailureState}`,children:[Object(oa.jsx)("div",{className:Hp.a.failureImage,"aria-label":null===o||void 0===o?void 0:o.description,role:"img"}),Object(oa.jsx)("h1",{className:Hp.a.modalHeader,children:Object(ta.t)("deployment_modal.deploy_world.failure.title")}),Object(oa.jsx)("span",{className:Hp.a.description,children:Object(ta.t)("deployment_modal.deploy_world.failure.subtitle")})]});case Bp.EMPTY:return Object(oa.jsxs)("div",{className:Hp.a.emptyState,children:[Object(oa.jsx)("div",{className:Hp.a.modalHeader,children:Object(oa.jsx)("h3",{children:Object(ta.t)("deployment_modal.deploy_world.empty_state_title")})}),Object(oa.jsxs)("div",{className:`${Hp.a.modalBodyState} ${Hp.a.modalBodyEmptyState}`,children:[Object(oa.jsx)("div",{className:Hp.a.emptyThumbnail,"aria-label":null===o||void 0===o?void 0:o.description,role:"img"}),Object(oa.jsx)("span",{className:Hp.a.description,children:Object(ta.t)("deployment_modal.deploy_world.empty_state_description",{br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e})})})]}),Object(oa.jsxs)("div",{className:Hp.a.modalBodyStateActions,children:[Object(oa.jsx)(Os.Button,{primary:!0,className:Hp.a.modalBodyStateActionButton,onClick:T,children:Object(ta.t)("deployment_modal.deploy_world.claim_name")}),Object(oa.jsx)(Os.Button,{secondary:!0,className:Hp.a.modalBodyStateActionButton,as:"a",href:"https://decentraland.org/blog/project-updates/manage-names-in-the-builder",rel:"noopener noreferrer",target:"_blank",children:Object(ta.t)("global.learn_more")})]})]});default:return null}})()]})})}));let Vp,qp;!function(e){e.FORM="FORM",e.PROGRESS="PROGRESS",e.SUCCESS="SUCCESS",e.EMPTY="EMPTY",e.ERROR="ERROR"}(Vp||(Vp={})),function(e){e[e.DCL=0]="DCL",e[e.ENS=1]="ENS"}(qp||(qp={}));var Xp=n.p+"static/media/dcl.129e7a6a.svg",$p=n.p+"static/media/ens.7a8fedf2.svg",Kp=n(132),Zp=n.n(Kp);const Jp=S.a.get("EXPLORER_URL",""),em=S.a.get("WORLDS_CONTENT_SERVER",""),tm="claim_name_option";var nm=Object(i.connect)((e=>({ensList:Object(cs.d)(e),externalNames:Object(cs.j)(e),project:Object(co.b)(e),metrics:Object(Yi.f)(e),deployments:Object(wi.f)(e),deploymentProgress:Object(wi.j)(e),error:Object(wi.h)(e),isLoading:Object(wi.l)(e)})),(e=>({onPublish:(t,n)=>e(Object(M.D)(t,n)),onRecord:()=>e(Dt()),onNavigate:t=>e(Object(Fe.e)(t)),onReplace:(t,n)=>e(Object(Fe.f)(t,n)),onFetchExternalNames:()=>e(Object(dt.ab)())})))((function(e){var t;let{name:n,project:o,metrics:a,ensList:i,externalNames:r,deployments:s,isLoading:c,error:l,claimedName:d,onPublish:u,onRecord:p,onNavigate:m,onReplace:b,onClose:h,onBack:f,onFetchExternalNames:y}=e;const _=Object(k.getAnalytics)(),[g,j]=Object(Jo.useState)(""),[O,v]=Object(Jo.useState)(null!==d&&void 0!==d?d:""),[C,x]=Object(Jo.useState)(qp.DCL),[w,E]=Object(Jo.useState)(!1),[S,A]=Object(Jo.useState)(!1),T=Object(Jo.useRef)(),R=O&&(null===(t=i.find((e=>e.subdomain===O)))||void 0===t?void 0:t.name);Object(Jo.useEffect)((()=>{0===i.length?(j(Vp.EMPTY),_.track("Publish to World step",{step:Vp.EMPTY})):T.current||(j(Vp.FORM),_.track("Publish to World step",{step:Vp.FORM}),p())}),[i,p,_]),Object(Jo.useEffect)((()=>{g===Vp.FORM&&w&&l?(j(Vp.ERROR),E(!1),_.track("Publish to World step",{step:Vp.ERROR})):g===Vp.FORM&&O&&w&&(T.current?s[O].timestamp>T.current.timestamp:s[O])&&(j(Vp.SUCCESS),E(!1),_.track("Publish to World step",{step:Vp.SUCCESS}))}),[g,O,w,l,s,_]),Object(Jo.useEffect)((()=>{d&&_.track("Publish to World - Minted Name",{name:d})}),[d,_]),Object(Jo.useEffect)((()=>{y()}),[y]);const N=Object(Jo.useCallback)((()=>{O&&(u(o.id,O),E(!0))}),[u,o,O]),P=Object(Jo.useCallback)((()=>{g===Vp.SUCCESS&&m(Va.a.sceneDetail(o.id)),c||h()}),[g,o,c,h,m]),I=Object(Jo.useCallback)((()=>{if(C===qp.DCL){const e=`${Va.a.claimENS()}?from=${Cs.a.DEPLOY_TO_WORLD}&projectId=${o.id}`;_.track("Publish to World - Claim Name"),b(e,{fromParam:Cs.a.DEPLOY_TO_WORLD,projectId:o.id})}else window.open("https://ens.domains/","_blank","norefferer")}),[C,o,b,_]),L=Object(Jo.useCallback)(((e,t)=>{let{value:n}=t;"blur"!==e.type&&(n!==tm?(v(n),A(!1),T.current=s[n]):I())}),[s,I]),M=Object(Jo.useCallback)(((e,t)=>{let{value:n}=t;v(""),x(n)}),[]),D=()=>{window.open(U,"_blank,noreferrer")},F=Object(Jo.useCallback)(((e,t)=>{let{checked:n}=t;A(n)}),[]),U=Object(Jo.useMemo)((()=>te.a?`${Jp}/?realm=${em}/world/${O}&NETWORK=sepolia`:`${Jp}/world/${O}`),[O]),B=Object(Jo.useMemo)((()=>[{text:Object(oa.jsxs)("span",{className:Zp.a.nameTypeOption,children:[Object(oa.jsx)("img",{src:Xp,alt:"dcl logo"}),Object(oa.jsx)("span",{children:Object(ta.t)("deployment_modal.deploy_world.name_type.dcl")})]}),value:qp.DCL},{text:Object(oa.jsxs)("span",{className:Zp.a.nameTypeOption,children:[Object(oa.jsx)("img",{src:$p,alt:"ens logo"}),Object(oa.jsx)("span",{children:Object(ta.t)("deployment_modal.deploy_world.name_type.ens")})]}),value:qp.ENS}]),[]),z=Object(Jo.useMemo)((()=>{const e=(C===qp.DCL?i:r).map((e=>({text:e.name,value:e.subdomain})));return C===qp.DCL&&e.push({text:Object(oa.jsxs)("span",{children:[Object(oa.jsx)(Os.Icon,{name:"add"}),Object(ta.t)("deployment_modal.deploy_world.claim_name")]}),value:tm}),e}),[C,i,r]),H=()=>{const e=encodeURIComponent(U);return`https://twitter.com/intent/tweet?text=${encodeURIComponent(Object(ta.t)("deployment_modal.deploy_world.success.share_in_twitter_text"))}&url=${e}`},W=()=>{let e=Object(ta.t)("deployment_modal.deploy_world.failure.subtitle");if(l){const t=(e=>{const t=e.match(/.*You can upload up to (\d+) bytes but you tried to upload (\d+).*/);return 3!==(null===t||void 0===t?void 0:t.length)?null:{maxSizeMbs:(Number(t[1])/1024/1024).toFixed(),deployedSizedMbs:(Number(t[2])/1024/1024).toFixed()}})(l);if(t){const{maxSizeMbs:n,deployedSizedMbs:o}=t;e=Object(ta.t)("deployment_modal.deploy_world.failure.subtitle_size_error",{maxSizeMbs:n,deployedSizedMbs:o,br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e})})}}return Object(oa.jsxs)("div",{className:`${Zp.a.modalBodyState} ${Zp.a.modalBodyFailureState}`,children:[Object(oa.jsx)("div",{className:Zp.a.failureImage,"aria-label":null===o||void 0===o?void 0:o.description,role:"img"}),Object(oa.jsx)("h1",{className:Zp.a.modalHeader,children:Object(ta.t)("deployment_modal.deploy_world.failure.title")}),Object(oa.jsx)("span",{className:Zp.a.description,children:e})]})},G=()=>{const{rows:e,cols:t}=o.layout;return Object(oa.jsxs)("div",{className:Zp.a.metrics,children:[Object(oa.jsxs)("strong",{children:[Object(ta.t)("deployment_modal.deploy_world.scene_information"),":"]}),Object(oa.jsxs)(Os.List,{className:Zp.a.metricsList,children:[Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("global.size"),": ",e," x ",t]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.triangles"),": ",a.triangles]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.materials"),": ",a.materials]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.meshes"),": ",a.meshes]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.bodies"),": ",a.bodies]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.entities"),": ",a.entities]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(ta.t)("metrics.textures"),": ",a.textures]})]})]})},Y=()=>{const e=o.thumbnail;return Object(oa.jsx)("div",{className:Zp.a.thumbnail,style:{backgroundImage:`url(${e})`},"aria-label":null===o||void 0===o?void 0:o.description,role:"img",children:Object(oa.jsx)(Os.Popup,{className:"modal-tooltip",content:G(),position:"bottom center",trigger:Object(oa.jsx)(vu.a,{className:Zp.a.thumbnailInfo}),hideOnScroll:!0,on:"hover",inverted:!0,basic:!0})})};return Object(oa.jsx)(ad.a,{name:n,onClose:P,children:Object(oa.jsxs)("div",{className:Zp.a.modalBody,children:[Object(oa.jsxs)("div",{className:Vd()(Zp.a.modalNavigation,{[Zp.a.end]:g===Vp.SUCCESS}),children:[g!==Vp.SUCCESS&&Object(oa.jsx)("button",{className:Zp.a.navigationButton,disabled:c,onClick:f,"aria-label":Object(ta.t)("deployment_modal.deploy_world.back"),children:Object(oa.jsx)(zd.a,{name:"modal-back"})}),Object(oa.jsx)("button",{className:Zp.a.navigationButton,disabled:c,onClick:P,"aria-label":Object(ta.t)("deployment_modal.deploy_world.close"),children:Object(oa.jsx)(zd.a,{name:"modal-close"})})]}),(()=>{switch(g){case Vp.FORM:return(()=>{const e=!!s[O];return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsxs)("div",{className:Zp.a.modalHeader,children:[Object(oa.jsx)("h3",{children:Object(ta.t)("deployment_modal.deploy_world.title")}),Object(oa.jsxs)("span",{children:[Object(ta.t)("deployment_modal.deploy_world.description"),Object(oa.jsx)(Os.Popup,{className:"modal-tooltip",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",position:"bottom center",trigger:Object(oa.jsx)(vu.a,{className:Zp.a.thumbnailInfo}),hideOnScroll:!0,on:"hover",inverted:!0,basic:!0})]})]}),Object(oa.jsxs)("div",{className:Zp.a.modalForm,children:[null!==o&&void 0!==o&&o.thumbnail?Y():null,Object(oa.jsxs)("div",{className:Zp.a.worldDetails,children:[Object(oa.jsx)(Os.SelectField,{value:C,disabled:c||w,options:B,onChange:M}),Object(oa.jsx)(Os.SelectField,{label:Object(ta.t)("deployment_modal.deploy_world.world_label"),placeholder:Object(ta.t)("deployment_modal.deploy_world.world_placeholder"),value:O,disabled:c||w,options:z,onChange:L}),O?Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("p",{className:Zp.a.worldDetailsDescription,children:Object(ta.t)("deployment_modal.deploy_world.world_url_description",{br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e}),world_url:U})}),e?Object(oa.jsxs)("div",{className:Zp.a.worldHasContent,children:[Object(oa.jsx)(zd.a,{name:"alert-warning"}),Object(oa.jsx)("span",{children:Object(ta.t)("deployment_modal.deploy_world.world_has_content",{world:R})})]}):null]}):void 0]})]}),Object(oa.jsxs)(Os.Row,{className:Zp.a.modalFormActions,align:"right",children:[e?Object(oa.jsxs)("div",{className:Zp.a.actionCheckbox,children:[Object(oa.jsx)(Os.Checkbox,{checked:S,onClick:F,disabled:c||w}),Object(ta.t)("deployment_modal.deploy_world.confirm_world_replace_content")]}):null,Object(oa.jsx)(Os.Button,{primary:!0,className:Zp.a.actionButton,onClick:N,loading:c||w,disabled:c||w||!O||e&&!S,children:Object(ta.t)("deployment_modal.deploy_world.action")})]})]})})();case Vp.SUCCESS:return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsxs)("div",{className:`${Zp.a.modalBodyState} ${Zp.a.modalBodySuccessState}`,children:[Object(oa.jsx)("div",{className:Zp.a.successImage,"aria-label":null===o||void 0===o?void 0:o.description,role:"img"}),Object(oa.jsx)("h1",{className:Zp.a.modalHeader,children:Object(ta.t)("deployment_modal.deploy_world.success.title")}),Object(oa.jsx)("span",{className:Zp.a.description,children:Object(ta.t)("deployment_modal.deploy_world.success.subtitle")}),Object(oa.jsx)(Up.a,{role:"button",text:U,className:`${Zp.a.shareUrlField} field`,showPopup:!0,children:Object(oa.jsx)(Os.Field,{className:Zp.a.shareUrlFieldInput,value:U,kind:"full",readOnly:!0,icon:Object(oa.jsx)(Os.Icon,{"aria-label":"Copy World","aria-hidden":"false",className:"link copy",name:"copy outline"})})})]}),Object(oa.jsxs)("div",{className:Zp.a.modalBodyStateActions,children:[Object(oa.jsx)(Os.Button,{primary:!0,className:Zp.a.modalBodyStateActionButton,onClick:D,content:Object(ta.t)("deployment_modal.deploy_world.success.jump_in"),icon:"external alternate"}),Object(oa.jsx)(Os.Button,{as:"a",secondary:!0,className:Zp.a.modalBodyStateActionButton,content:Object(ta.t)("deployment_modal.deploy_world.success.share_in_twitter"),icon:"twitter",href:H(),rel:"noopener noreferrer",target:"_blank"})]})]});case Vp.ERROR:return W();case Vp.EMPTY:return Object(oa.jsxs)("div",{className:Zp.a.emptyState,children:[Object(oa.jsx)("div",{className:Zp.a.modalHeader,children:Object(oa.jsx)("h3",{children:Object(ta.t)("deployment_modal.deploy_world.empty_state_title")})}),Object(oa.jsxs)("div",{className:`${Zp.a.modalBodyState} ${Zp.a.modalBodyEmptyState}`,children:[Object(oa.jsx)("div",{className:Zp.a.emptyThumbnail,"aria-label":null===o||void 0===o?void 0:o.description,role:"img"}),Object(oa.jsx)("span",{className:Zp.a.description,children:Object(ta.t)("deployment_modal.deploy_world.empty_state_description",{br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e})})})]}),Object(oa.jsxs)("div",{className:Zp.a.modalBodyStateActions,children:[Object(oa.jsx)(Os.Button,{primary:!0,className:Zp.a.modalBodyStateActionButton,onClick:I,children:Object(ta.t)("deployment_modal.deploy_world.claim_name")}),Object(oa.jsx)(Os.Button,{secondary:!0,className:Zp.a.modalBodyStateActionButton,as:"a",href:"https://decentraland.org/blog/project-updates/manage-names-in-the-builder",rel:"noopener noreferrer",target:"_blank",children:Object(ta.t)("global.learn_more")})]})]});default:return null}})()]})})}));n(3448);class om extends Jo.PureComponent{constructor(){super(...arguments),this.state={hasError:!1,needsConfirmation:!0,error:null,isWorld:!1},this.analytics=Object(k.getAnalytics)(),this.handleClearDeploy=()=>{const{deployment:e}=this.props;e&&this.props.onClearDeployment(e.id)},this.handleConnect=()=>{this.props.onOpenModal("WalletLoginModal")},this.renderConnectForm=()=>{const{hasError:e,isConnecting:t}=this.props;let n="error";return e&&(n+=" visible"),Object(oa.jsxs)("div",{className:"ClearDeployment",children:[Object(oa.jsx)("div",{className:"modal-header",children:Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.props.onClose})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.clear.connect.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.clear.connect.description")}),Object(oa.jsx)(Os.Button,{className:"connect",primary:!0,size:"small",onClick:this.handleConnect,disabled:t,children:t?Object(oa.jsx)(ta.T,{id:"@dapps.sign_in.connecting"}):Object(oa.jsx)(ta.T,{id:"@dapps.sign_in.connect"})}),Object(oa.jsx)("p",{className:n,children:Object(oa.jsx)(ta.T,{id:"@dapps.sign_in.error"})})]})},this.renderProgress=()=>{const{deploymentProgress:e}=this.props;let t="progress-bar";const n=e.value;return 100===n&&(t+=" active"),Object(oa.jsxs)("div",{className:"ClearDeployment progress",children:[Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.clear.progress.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.clear.progress.description")}),Object(oa.jsx)("div",{className:"progress-bar-container",children:Object(oa.jsx)("div",{className:t,style:{width:`${n}%`}})})]})},this.renderConfirmation=()=>{var e;const{deployment:t}=this.props,{error:n}=this.state;return t?Object(oa.jsxs)("div",{className:"ClearDeployment confirmation",children:[Object(oa.jsx)("div",{className:"modal-header",children:Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.props.onClose})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.clear.confirmation.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(oa.jsx)(ta.T,{id:"deployment_modal.clear.confirmation.description",values:{project:t.name,location:null!==(e=null===t||void 0===t?void 0:t.world)&&void 0!==e?e:t.base}})}),Object(oa.jsx)(Os.Button,{primary:!0,size:"small",onClick:this.handleClearDeploy,children:Object(ta.t)("deployment_modal.clear.confirmation.action")}),n&&Object(oa.jsx)("div",{className:"error visible",children:n})]}):null},this.renderSuccess=()=>{const{isWorld:e}=this.state;return Object(oa.jsxs)("div",{className:"ClearDeployment success",children:[Object(oa.jsx)("div",{className:"modal-header",children:Object(oa.jsx)(zd.a,{name:"modal-close",onClick:this.props.onClose})}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.clear.success.title")}),Object(oa.jsx)("p",{className:"modal-subtitle",children:Object(ta.t)("deployment_modal.clear.success.description",{asset:e?Object(ta.t)("deployment_modal.clear.success.world"):Object(ta.t)("deployment_modal.clear.success.land")})}),Object(oa.jsx)(Os.Button,{size:"small",primary:!0,onClick:this.props.onClose,children:Object(ta.t)("deployment_modal.clear.success.continue")})]})},this.renderView=()=>{const{isConnected:e,isUploadingAssets:t,isCreatingFiles:n,deployment:o}=this.props,{needsConfirmation:a,error:i}=this.state,r=t||n;return e?e&&r&&!i?this.renderProgress():r||!a||o?e&&(!r||i)&&a?this.renderConfirmation():Object(oa.jsx)(Os.Loader,{size:"big"}):this.renderSuccess():this.renderConnectForm()}}componentDidMount(){this.analytics.track("Unpublish Scene")}componentDidUpdate(e){this.props.error&&!this.props.isCreatingFiles&&e.isCreatingFiles&&this.setState({error:this.props.error}),this.props.deployment&&this.props.deployment.world&&this.setState({isWorld:!0})}render(){const{name:e,onClose:t}=this.props;return Object(oa.jsx)(ad.a,{name:e,onClose:t,children:this.renderView()})}}var am=Object(i.connect)(((e,t)=>({deployment:Object(wi.c)(e)[t.deploymentId]||null,isConnecting:Object(I.isConnecting)(e),isConnected:Object(I.isConnected)(e),isUploadingAssets:Object(wi.m)(e),isCreatingFiles:Object(wi.k)(e),hasError:!!Object(I.getError)(e),ethAddress:Object(I.getAddress)(e),deploymentProgress:Object(wi.j)(e),error:Object(wi.h)(e)})),(e=>({onOpenModal:(t,n)=>e(Object(bo.openModal)(t,n)),onClearDeployment:t=>e(Object(M.u)(t))})))(om),im=n(272);n(3449);class rm extends Jo.PureComponent{constructor(){super(...arguments),this.state={view:im.a.NONE,deploymentId:null,claimedName:null},this.handleDeployToLand=()=>{this.setState({view:im.a.DEPLOY_TO_LAND})},this.handleDeployToPool=()=>{this.setState({view:im.a.DEPLOY_TO_POOL})},this.handleDeployToWorld=()=>{this.setState({view:im.a.DEPLOY_TO_WORLD})},this.handleClickOutside=()=>{this.state.view===im.a.NONE&&this.props.onClose()},this.handleClose=()=>{this.setState({view:im.a.NONE}),this.props.onClose()},this.handleBack=()=>{this.setState({view:im.a.NONE})},this.renderChoiceForm=()=>{const{name:e,project:t,scene:n}=this.props;return Object(oa.jsx)(ad.a,{name:e,onClose:this.handleClickOutside,children:Object(oa.jsxs)("div",{className:"modal-body",children:[Object(oa.jsx)(zd.a,{name:"modal-close",className:"modal-close-icon",onClick:this.handleClose}),Object(oa.jsx)(Os.Header,{size:"large",className:"modal-title",children:Object(ta.t)("deployment_modal.title",{sceneName:null!==t&&void 0!==t&&t.title?`"${t.title}"`:""})}),Object(oa.jsx)("h5",{className:"deploy-modal-subtitle",children:Object(ta.t)("deployment_modal.subtitle")}),Object(oa.jsxs)("div",{className:"deploy-modal-options",children:[Object(oa.jsxs)("div",{className:"option-container",children:[Object(oa.jsx)("div",{className:"thumbnail deploy-to-world"}),Object(oa.jsxs)("div",{className:"option-container-info",children:[Object(oa.jsx)("span",{className:"option-title",children:Object(ta.t)("deployment_modal.options.world.title")}),Object(oa.jsx)("span",{className:"option-description",children:Object(ta.t)("deployment_modal.options.world.description",{br:()=>Object(oa.jsx)("br",{})})}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleDeployToWorld,children:Object(oa.jsx)("span",{children:Object(ta.t)("deployment_modal.options.world.action")})}),Object(oa.jsx)("a",{className:"learn-more-link",href:"https://docs.decentraland.org/creator/worlds/contributor/worlds/about/",target:"_blank",rel:"noreferrer",children:Object(ta.t)("deployment_modal.learn_more")})]})]}),Object(oa.jsxs)("div",{className:"option-container",children:[Object(oa.jsx)("div",{className:"thumbnail deploy-to-land"}),Object(oa.jsxs)("div",{className:"option-container-info",children:[Object(oa.jsx)("span",{className:"option-title",children:Object(ta.t)("deployment_modal.options.land.title")}),Object(oa.jsx)("span",{className:"option-description",children:Object(ta.t)("deployment_modal.options.land.description",{br:()=>Object(oa.jsx)("br",{})})}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleDeployToLand,children:Object(oa.jsx)("span",{children:Object(ta.t)("deployment_modal.options.land.action")})}),Object(oa.jsx)("a",{className:"learn-more-link",href:"https://docs.decentraland.org/creator/builder/builder-101/",target:"_blank",rel:"noreferrer",children:Object(ta.t)("deployment_modal.learn_more")})]})]})]}),n&&n.sdk6?Object(oa.jsxs)("div",{className:"scene-pool-option",children:[Object(oa.jsx)("div",{className:"thumbnail deploy-to-pool"}),Object(oa.jsxs)("div",{className:"scene-pool-description",children:[Object(oa.jsx)("span",{className:"option-title",children:Object(ta.t)("deployment_modal.options.pool.title")}),Object(oa.jsx)("span",{className:"option-description",children:Object(ta.t)("deployment_modal.options.pool.description")})]}),Object(oa.jsx)(Os.Button,{secondary:!0,onClick:this.handleDeployToPool,className:"scene-pool-action",children:Object(oa.jsx)("span",{children:Object(ta.t)("deployment_modal.options.pool.action")})})]}):null]})})}}componentDidMount(){const{metadata:e}=this.props;e&&this.setState({view:e.view||im.a.NONE,deploymentId:e.deploymentId||null,claimedName:(null===e||void 0===e?void 0:e.claimedName)||null})}render(){const{view:e,deploymentId:t,claimedName:n}=this.state,{name:o,currentPoolGroup:a,scene:i,isWorldsForEnsOwnersEnabled:r}=this.props;return e===im.a.CLEAR_DEPLOYMENT&&t?Object(oa.jsx)(am,{deploymentId:t,name:o,onClose:this.handleClose}):e===im.a.DEPLOY_TO_LAND||a?Object(oa.jsx)(Lp,{name:o,scene:i,onDeployToPool:this.handleDeployToPool,onDeployToWorld:this.handleDeployToWorld,onBack:this.handleBack,onClose:this.handleClose}):e===im.a.DEPLOY_TO_POOL?Object(oa.jsx)(Fp,{name:o,onClose:this.handleClose}):e===im.a.DEPLOY_TO_WORLD?r?Object(oa.jsx)(nm,{claimedName:n,name:o,onClose:this.handleClose,onBack:this.handleBack}):Object(oa.jsx)(Qp,{claimedName:n,name:o,onClose:this.handleClose,onBack:this.handleBack}):this.renderChoiceForm()}}var sm=Object(i.connect)(((e,t)=>({deployment:Object(wi.c)(e)[t.metadata.projectId],currentPoolGroup:Object(Rd.a)(e),project:Object(co.b)(e),scene:Object(Yi.g)(e),isWorldsForEnsOwnersEnabled:Object(wp.f)(e)})))(rm);class cm extends Jo.PureComponent{constructor(){super(...arguments),this.handleConfirm=()=>{const{metadata:e,onDissolve:t}=this.props;t(e.land)}}render(){const{name:e,metadata:t,onClose:n}=this.props,{land:o}=t,a=o.parcels.length>Ti.b;return Object(oa.jsxs)(ad.a,{name:e,onClose:n,children:[Object(oa.jsx)(Os.ModalHeader,{children:Object(ta.t)("dissolve_modal.title")}),Object(oa.jsx)(Os.ModalContent,{children:a?Object(oa.jsx)(ta.T,{id:"dissolve_modal.too_big",values:{max:Ti.b}}):Object(oa.jsx)(ta.T,{id:"dissolve_modal.confirm",values:{name:Object(oa.jsx)("strong",{children:o.name})}})}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{onClick:n,children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleConfirm,disabled:a,children:Object(ta.t)("global.confirm")})]})]})}}var lm=Object(i.connect)(null,(e=>({onDissolve:t=>e(Object(kt.v)(t))})))(cm);let dm;!function(e){e[e.IMPORT=0]="IMPORT",e[e.EDIT_ASSETS=1]="EDIT_ASSETS",e[e.EDIT_ASSET_PACK=2]="EDIT_ASSET_PACK",e[e.PROGRESS=3]="PROGRESS",e[e.SUCCESS=4]="SUCCESS",e[e.EXIT=5]="EXIT",e[e.CONFIRM_DELETE=6]="CONFIRM_DELETE"}(dm||(dm={}));n(3450);class um extends Jo.PureComponent{constructor(){super(...arguments),this.state={view:dm.EDIT_ASSET_PACK,back:dm.EDIT_ASSET_PACK,assetPack:this.getRawAssetPack(),editingAsset:null,ignoredAssets:this.getRemoteAssetIds(),isDirty:!1},this.analytics=Object(k.getAnalytics)(),this.handleAssetPackChange=e=>{const{ignoredAssets:t}=this.state;this.setState({assetPack:e,ignoredAssets:t.filter((t=>e.assets.some((e=>e.id===t)))),isDirty:!0})},this.handleAssetImportSubmit=e=>{this.analytics.track("Edit Asset Pack Assets Review"),this.setState({assetPack:e,view:dm.EDIT_ASSETS,isDirty:!0})},this.handleAssetEditorSubmit=e=>{this.analytics.track("Edit Asset Pack Review"),this.setState({assetPack:e,view:dm.EDIT_ASSET_PACK,editingAsset:null,isDirty:!0})},this.handleAssetPackEditorSubmit=async e=>{const{ignoredAssets:t}=this.state,[n,o]=await Ji(e,t);this.props.onCreateAssetPack(n,o)},this.handleAddAssets=()=>{this.setState({view:dm.IMPORT})},this.handleEditAsset=e=>{this.setState({view:dm.EDIT_ASSETS,editingAsset:e.id})},this.handleDeleteAssetPack=async()=>{const{ignoredAssets:e,assetPack:t}=this.state,[n]=await Ji(t,e);this.props.onDeleteAssetPack(n),this.props.onClose()},this.handleConfirmDeleteAssetPack=()=>{this.setState({view:dm.CONFIRM_DELETE})},this.handleReset=()=>{const{assetPack:e}=this.props;e&&this.setState({view:dm.IMPORT,assetPack:{id:e.id,title:e.title,thumbnail:e.thumbnail,ethAddress:e.ethAddress,assets:[]},isDirty:!0})},this.handleBackToStart=()=>{this.setState({view:dm.EDIT_ASSET_PACK,editingAsset:null})},this.handleClose=()=>{const{view:e,isDirty:t}=this.state,{onClose:n}=this.props;switch(e){case dm.SUCCESS:case dm.IMPORT:n();break;case dm.EDIT_ASSETS:case dm.EDIT_ASSET_PACK:t?this.setState({view:dm.EXIT,back:e}):n();case dm.EXIT:case dm.PROGRESS:}},this.handleBack=()=>{this.setState({view:this.state.back})},this.renderAssetImport=()=>{const{assetPack:e}=this.state,{onClose:t}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.edit_assetpack.title_edit"),subtitle:Object(ta.t)("asset_pack.edit_assetpack.description_edit"),onClose:t,onBack:this.handleBackToStart}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(Jd,{assetPack:e,onSubmit:this.handleAssetImportSubmit})})]})},this.renderAssetEditor=()=>{const{assetPack:e,editingAsset:t,ignoredAssets:n}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.edit_asset.title_edit"),subtitle:Object(ta.t)("asset_pack.edit_asset.description_edit"),onClose:this.handleClose,onBack:t?this.handleBackToStart:void 0}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(au,{assetPack:e,onChange:this.handleAssetPackChange,onSubmit:this.handleAssetEditorSubmit,startingAsset:t||void 0,ignoredAssets:t?[]:n,isEditing:!!t})})]})},this.renderAssetpackEditor=()=>{const{assetPack:e,ignoredAssets:t}=this.state,{error:n}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.edit_assetpack.title_edit"),subtitle:Object(ta.t)("asset_pack.edit_assetpack.description_edit"),onClose:this.handleClose}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(Yd,{assetPack:e,remoteAssets:t,onChange:this.handleAssetPackChange,onSubmit:this.handleAssetPackEditorSubmit,onReset:this.handleReset,onAddAssets:this.handleAddAssets,onEditAsset:this.handleEditAsset,onDeleteAssetPack:this.handleConfirmDeleteAssetPack,error:n})})]})},this.renderProgress=()=>{const{progress:e}=this.props;let t="progress-bar";return 100===e.value&&(t+=" active"),Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.progress.updating_asset_pack"),subtitle:Object(ta.t)("asset_pack.progress.uploading_contents")}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)("div",{className:"progress-bar-container",children:Object(oa.jsx)("div",{className:t,style:{width:`${e.value}%`}})})})]})},this.renderSuccess=()=>Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.success.title"),subtitle:Object(ta.t)("asset_pack.success.description")}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(Os.Row,{center:!0,children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.props.onClose,children:Object(ta.t)("asset_pack.success.continue")})})})]})}getRawAssetPack(){const{assetPack:e,ethAddress:t}=this.props;if(!e){return{id:kc()(),title:"",thumbnail:"",ethAddress:t||null,assets:[]}}return{id:e.id,title:e.title,thumbnail:e.thumbnail,ethAddress:e.ethAddress,assets:e.assets.map((e=>({...e,model:e.model.replace(`${e.id}/`,"")})))}}getRemoteAssetIds(){const e=this.props.assetPack;return e?e.assets.map((e=>e.id)):[]}componentDidUpdate(){const{progress:e,error:t,isLoading:n}=this.props;let o=this.state.view;e.stage!==be.UPLOAD_CONTENTS||100!==e.value||t||n?e.stage===be.NONE||t?t&&(o=dm.EDIT_ASSET_PACK):o=dm.PROGRESS:o=dm.SUCCESS,this.setState({view:o})}renderExit(){const{onClose:e}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.exit.title_edit"),subtitle:Object(ta.t)("asset_pack.exit.description_edit")}),Object(oa.jsxs)(ad.a.Actions,{className:"exit-actions",children:[Object(oa.jsx)(Os.Button,{primary:!0,onClick:e,children:Object(ta.t)("asset_pack.exit.action")}),Object(oa.jsx)(Os.Button,{onClick:this.handleBack,children:Object(ta.t)("asset_pack.exit.back")})]})]})}renderDeleteConfirmation(){return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("asset_pack.confirm_delete.title"),subtitle:Object(ta.t)("asset_pack.confirm_delete.description")}),Object(oa.jsxs)(ad.a.Actions,{className:"exit-actions",children:[Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleDeleteAssetPack,children:Object(ta.t)("asset_pack.confirm_delete.action")}),Object(oa.jsx)(Os.Button,{onClick:this.handleBack,children:Object(ta.t)("asset_pack.confirm_delete.back")})]})]})}render(){const{name:e}=this.props,{view:t}=this.state;let n,o=e;switch(t){case dm.IMPORT:n=this.renderAssetImport();break;case dm.EDIT_ASSETS:n=this.renderAssetEditor();break;case dm.EDIT_ASSET_PACK:n=this.renderAssetpackEditor();break;case dm.PROGRESS:n=this.renderProgress();break;case dm.SUCCESS:n=this.renderSuccess();break;case dm.EXIT:n=this.renderExit(),o+=" narrow";break;case dm.CONFIRM_DELETE:n=this.renderDeleteConfirmation(),o+=" narrow";break;default:n=null}return Object(oa.jsx)(ad.a,{name:e,className:o,onClose:this.handleClose,children:n})}}var pm=Object(i.connect)(((e,t)=>({project:Object(co.b)(e),isLoading:Object(Ho.f)(e),progress:Object(Ho.e)(e),error:Object(Ho.b)(e),ethAddress:Object(I.getAddress)(e),assetPack:Object(Ho.c)(e)[t.metadata.assetPackId]})),(e=>({onCreateAssetPack:(t,n)=>e(ve(t,n)),onDeleteAssetPack:t=>e((e=>Object(K.action)(we,{assetPack:e}))(t))})))(um);class mm extends Jo.PureComponent{constructor(){super(...arguments),this.state={name:this.props.metadata.collection.name},this.handleNameChange=(e,t)=>{let{value:n}=t;const o=Object(We.l)(this.props.metadata.collection)===Oi.b.THIRD_PARTY?Oi.d:Oi.a;this.setState({name:n.slice(0,o)})},this.handleSubmit=()=>{const{name:e}=this.state,{metadata:t,onSubmit:n}=this.props,{collection:o}=t;e&&n({...o,name:e})}}render(){const{name:e,onClose:t,isLoading:n}=this.props,{name:o}=this.state;return Object(oa.jsxs)(ad.a,{name:e,onClose:t,size:"tiny",children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("edit_collection_name_modal.title"),subtitle:Object(ta.t)("edit_collection_name_modal.subtitle"),onClose:t}),Object(oa.jsxs)(Os.Form,{onSubmit:this.handleSubmit,children:[Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsx)(Os.Field,{label:Object(ta.t)("global.name"),value:o,onChange:this.handleNameChange})}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(Os.Button,{primary:!0,loading:n,disabled:!o,children:Object(ta.t)("global.save")})})]})]})}}var bm=Object(i.connect)((e=>({isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.y)})),(e=>({onSubmit:t=>e(Object(He.eb)(t))})))(mm);class hm extends Jo.PureComponent{constructor(){super(...arguments),this.decodedURN=this.decodeURN(),this.analytics=Object(k.getAnalytics)(),this.state={newURNSection:""},this.handleURNChange=(e,t)=>{this.setState({newURNSection:t.value})},this.handleSubmit=()=>{const{onSave:e,urn:t}=this.props,n=this.getUpdatedURN();if(Object(At.i)(n)){const e=this.decodedURN.thirdPartyCollectionId?"Change TP Item URN":"Change TP Collection URN";this.analytics.track(e,{oldURN:t,newURN:n})}e(n)}}getUpdatedURN(){const{urn:e,onBuildURN:t}=this.props,{newURNSection:n}=this.state;return n?t(this.decodedURN,n):e}decodeURN(){const{urn:e}=this.props,t=Object(At.e)(e);if(t.type!==At.a.COLLECTIONS_THIRDPARTY)throw new Error(`Invalid URN type ${this.decodedURN.type}`);return t}render(){const{name:e,elementName:t,onClose:n,isLoading:o,error:a}=this.props,{newURNSection:i}=this.state;return Object(oa.jsxs)(ad.a,{name:e,onClose:n,size:"tiny",children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("edit_urn_modal.title"),subtitle:Object(ta.t)("edit_urn_modal.subtitle",{name:t}),onClose:n}),Object(oa.jsxs)(Os.Form,{onSubmit:this.handleSubmit,children:[Object(oa.jsxs)(Os.ModalContent,{children:[a?Object(oa.jsx)(Os.Message,{error:!0,size:"tiny",visible:!0,className:"warning-rescue-message",content:a,header:Object(ta.t)("global.error_ocurred")}):null,Object(oa.jsx)(Os.Field,{label:Object(ta.t)("global.urn"),message:this.getUpdatedURN(),value:i,onChange:this.handleURNChange})]}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(Os.Button,{primary:!0,loading:o,disabled:!i,children:Object(ta.t)("global.save")})})]})]})}}var fm=hm;var ym=Object(i.connect)(((e,t)=>{const{collection:n}=t.metadata;return{elementName:n.name,urn:n.urn,error:Object(ji.g)(e),isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.y)}}),((e,t)=>({onSave:n=>e(Object(He.eb)({...t.metadata.collection,urn:n})),onBuildURN:(e,t)=>Object(At.d)(e.thirdPartyName,t)})))(fm);var _m=Object(i.connect)(((e,t)=>{const{item:n}=t.metadata;return{elementName:n.name,urn:n.urn,error:Object(ei.f)(e),isLoading:Object(Hi.isLoadingType)(Object(ei.i)(e),ot.I)}}),((e,t)=>({onSave:n=>e(Object(ot.Db)({...t.metadata.item,urn:n},{})),onBuildURN:(e,t)=>Object(At.d)(e.thirdPartyName,e.thirdPartyCollectionId,t)})))(fm);class gm extends Jo.PureComponent{render(){return Object(oa.jsx)(Os.Field,{label:Object(ta.t)("project_fields.title_field_label"),placeholder:Object(ta.t)("project_fields.title_field_placeholder"),pattern:`.{${qi.d},${qi.b}}`,title:Object(ta.t)("validation.project.title.length",{min:qi.d,max:qi.b}),...this.props})}}var jm=gm;class Om extends Jo.PureComponent{render(){return Object(oa.jsx)(Os.Field,{icon:this.props.required?"asterisk":void 0,label:`${Object(ta.t)("project_fields.description_field_label")} (${Object(ta.t)("global.optional")})`,placeholder:Object(ta.t)("project_fields.description_field_placeholder"),pattern:`.{${qi.c},${qi.a}}`,title:Object(ta.t)("validation.project.description.length",{min:qi.c,max:qi.a}),...this.props})}}var vm={Title:jm,Description:Om};n(3451);class Cm extends Jo.PureComponent{constructor(){super(...arguments),this.state={title:this.props.currentProject.title,description:this.props.currentProject.description,rows:this.props.currentProject.layout.rows,cols:this.props.currentProject.layout.cols,hasError:!1},this.handleSubmit=()=>{const{title:e,description:t,cols:n,rows:o}=this.state,{currentProject:a,onSave:i,onClose:r}=this.props;if(a){const r={title:e,description:t,layout:{rows:o,cols:n}};i(a.id,r)}r()},this.handleLayoutChange=e=>{this.setState({...e})},this.handleTitleChange=e=>{this.setState({title:e.currentTarget.value})},this.handleDescriptionChange=e=>{this.setState({description:e.currentTarget.value})},this.handleClose=()=>{}}componentWillReceiveProps(e){if(e.currentProject&&e.currentScene){const{title:t,description:n}=e.currentProject;this.setState({title:t,description:n})}}render(){const{name:e,deploymentStatus:t,onClose:n}=this.props,{title:o,description:a,rows:i,cols:r,hasError:s}=this.state,c=s||t!==H.a.UNPUBLISHED;return Object(oa.jsx)(ad.a,{name:e,onClose:this.handleClose,children:Object(oa.jsxs)(Os.Form,{onSubmit:this.handleSubmit,children:[Object(oa.jsx)(ad.a.Header,{children:Object(ta.t)("edit_project_modal.title")}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsxs)("div",{className:"details",children:[Object(oa.jsx)(vm.Title,{value:o,onChange:this.handleTitleChange,required:!0,icon:"asterisk"}),Object(oa.jsx)(vm.Description,{value:a,onChange:this.handleDescriptionChange}),Object(oa.jsxs)("div",{className:"picker",children:[Object(oa.jsx)(Os.Header,{sub:!0,className:"picker-label",children:Object(ta.t)("edit_project_modal.custom_layout_label")}),Object(oa.jsx)(mp,{rows:i,cols:r,onChange:this.handleLayoutChange})]})]}),Object(oa.jsx)("div",{className:"error",children:t!==H.a.UNPUBLISHED&&Object(ta.t)("edit_project_modal.unpublish_needed")})]}),Object(oa.jsxs)(ad.a.Actions,{children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:n,children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,disabled:c,children:Object(ta.t)("global.save")})]})]})})}}var xm=Object(i.connect)((e=>({currentProject:Object(co.b)(e),currentScene:Object(Yi.g)(e),deploymentStatus:Object(wi.a)(e)})),(e=>({onSave:(t,n)=>e(Object(D.I)(t,n))})))(Cm);n(3452);const wm=e=>e.type===Ri.a.PARCEL?[]:e.parcels.map((e=>{let{id:t,...n}=e;return n}));class Em extends Jo.PureComponent{constructor(){var e;super(...arguments),this.state={name:"",description:"",selection:(e=this.props.metadata.land,e.type===Ri.a.PARCEL?[{x:e.x,y:e.y}]:e.parcels.map((e=>({x:e.x,y:e.y})))),showCreationForm:!1},this.handleClick=(e,t)=>{const{landTiles:n}=this.props,o=Object(Ti.f)(e,t);return this.isSelected(e,t)||!n[o]||n[o].land.roles.includes(Ri.b.LESSOR)||n[o].land.roles.includes(Ri.b.TENANT)?void this.removeParcel(e,t):void this.addParcel(e,t)},this.selectedStrokeLayer=(e,t)=>this.isSelected(e,t)?{color:"#ff0044",scale:1.4}:null,this.selectedFillLayer=(e,t)=>this.isSelected(e,t)?{color:"#ff9990",scale:1.2}:null,this.handleSubmit=()=>{const{onCreateEstate:e,onEditEstate:t,metadata:n}=this.props,{land:o}=n;if(o.type===Ri.a.PARCEL)if(this.state.showCreationForm){const{name:t,description:n,selection:o}=this.state;e(t,n,o)}else this.setState({showCreationForm:!0});else{t(o,this.getCoordsToAdd(),this.getCoordsToRemove())}},this.handleCancel=()=>{const{onClose:e}=this.props,{showCreationForm:t}=this.state;t?this.setState({showCreationForm:!1}):e()}}isSelected(e,t){const n={x:e,y:t};return this.state.selection.some(Object(Ti.i)(n))}addParcel(e,t){const n=this.props.landTiles[Object(Ti.f)(e,t)],o=n?n.land:null;if(!o)return;if(o.type===Ri.a.ESTATE&&o.id!==this.props.metadata.land.id)return;const a={x:e,y:t},i=[...this.state.selection,a];Object(Ti.c)(i)&&this.setState({selection:i})}removeParcel(e,t){if(!this.isSelected(e,t))return;const n={x:e,y:t},o=Object(Ti.i)(n),a=this.state.selection.filter((e=>!o(e)));Object(Ti.c)(a)&&this.setState({selection:a})}isTooSmall(){return this.state.selection.length<2}getCoordsToAdd(){const{land:e}=this.props.metadata;return Object(Ti.k)(wm(e),this.state.selection)}getCoordsToRemove(){const{land:e}=this.props.metadata;return Object(Ti.l)(wm(e),this.state.selection)}render(){const{metadata:e}=this.props,{name:t,description:n,showCreationForm:o}=this.state,{land:a}=e,[i,r]=(e=>{let t=0,n=0;if(e.type===Ri.a.PARCEL)t=e.x,n=e.y;else{const o=Object(Ti.o)(e),a=Object(Ti.h)(o);t=a[0],n=a[1]}return[t,n]})(a),s=this.isTooSmall(),c=this.getCoordsToAdd(),l=this.getCoordsToRemove(),d=c.length>Ti.b,u=l.length>Ti.b,p=!s&&!d&&!u,m=!o||t.length>0,b=a.type===Ri.a.ESTATE,h=!p||!m,f=!h&&c.length>0&&l.length>0;let y,_;return o?_=this.handleCancel:y=this.handleCancel,Object(oa.jsxs)(ad.a,{name:this.props.name,children:[Object(oa.jsx)(Os.ModalNavigation,{title:b?Object(ta.t)("estate_editor.title_edit"):Object(ta.t)("estate_editor.title_create"),subtitle:b?Object(ta.t)("estate_editor.subtitle_edit"):o?Object(ta.t)("estate_editor.subtitle_form"):Object(ta.t)("estate_editor.subtitle_create"),onClose:y,onBack:_}),o?Object(oa.jsxs)("div",{className:"form",children:[Object(oa.jsx)(Os.Field,{label:Object(ta.t)("estate_editor.name_label"),placeholder:Object(ta.t)("estate_editor.name_placeholder"),value:t,onChange:(e,t)=>this.setState({name:t.value})}),Object(oa.jsx)(Os.Field,{label:Object(ta.t)("estate_editor.description_label"),placeholder:Object(ta.t)("estate_editor.description_placeholder"),value:n,onChange:(e,t)=>this.setState({description:t.value})})]}):Object(oa.jsx)("div",{className:"map",children:Object(oa.jsx)(Ep.a,{x:i,y:r,onClick:this.handleClick,hasLink:!1,layers:[this.selectedStrokeLayer,this.selectedFillLayer]})}),Object(oa.jsx)("div",{className:"messages-container",children:Object(oa.jsxs)("div",{className:"messages",children:[d?Object(oa.jsxs)("div",{className:"message warning",children:[Object(oa.jsx)("div",{className:"icon"}),Object(ta.t)("estate_editor.add_limit_reached",{max:Ti.b})]}):null,u?Object(oa.jsxs)("div",{className:"message warning",children:[Object(oa.jsx)("div",{className:"icon"}),Object(ta.t)("estate_editor.remove_limit_reached",{max:Ti.b})]}):null,f?Object(oa.jsxs)("div",{className:"message info",children:[Object(oa.jsx)(yu.a,{className:"info"}),Object(ta.t)("estate_editor.needs_two_txs",{toAdd:c.length,toRemove:l.length})]}):null]})}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{onClick:this.handleCancel,children:b||!o?Object(ta.t)("global.cancel"):Object(ta.t)("global.back")}),Object(oa.jsx)(Os.Button,{primary:!0,disabled:h,onClick:this.handleSubmit,children:b||o?Object(ta.t)("global.submit"):Object(ta.t)("global.continue")})]})]})}}var Sm=Object(i.connect)((e=>({landTiles:Object(jo.f)(e)})),(e=>({onCreateEstate:(t,n,o)=>e(Object(kt.s)(t,n,o)),onEditEstate:(t,n,o)=>e(Object(kt.y)(t,n,o))})))(Em);n(3453);class Am extends Jo.PureComponent{constructor(){super(...arguments),this.handleExport=()=>{const{metadata:e,onExport:t}=this.props;e&&t(e.project)}}render(){const{name:e,onClose:t,isLoading:n,progress:o,total:a,metadata:i}=this.props;let r=Object(ta.t)("export_modal.action");return a>0&&(r=`${Object(ta.t)("export_modal.loading")} ${(o/a*100).toFixed(0)}%`),Object(oa.jsxs)(ad.a,{name:e,closeIcon:Object(oa.jsx)(Os.Close,{}),onClose:t,children:[Object(oa.jsx)(ad.a.Header,{className:"export-modal-title",children:Object(ta.t)("export_modal.title")}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)("div",{className:"export-modal-content-image"}),Object(oa.jsx)("span",{className:"details",children:Object(ta.t)("export_modal.description")})]}),Object(oa.jsxs)(ad.a.Actions,{className:"export-modal-actions",children:[Object(oa.jsxs)(Os.Button,{primary:!0,onClick:this.handleExport,disabled:n||!i.project,children:[Object(oa.jsx)(Os.Icon,{name:"download"}),r,n&&Object(oa.jsx)(Os.Loader,{active:!0,size:"tiny",inline:!0,className:"export-modal-loader"})]}),Object(oa.jsx)(Os.Button,{as:"a",secondary:!0,href:"https://developers.decentraland.org",rel:"noopener noreferrer",target:"_blank",children:Object(ta.t)("export_modal.docs")})]})]})}}var Tm=Object(i.connect)((e=>{const{isLoading:t,progress:n,total:o}=Object(tr.n)(e).export;return{isLoading:t,progress:n,total:o}}),(e=>({onExport:t=>e(Object(D.K)(t))})))(Am),Rm=n(709);n(3454);class km extends Jo.PureComponent{constructor(){super(...arguments),this.state={acceptedProjects:[],canImport:!1},this.analytics=Object(k.getAnalytics)(),this.renderProject=e=>{if(e.isCorrupted||!e.manifest||!e.manifest.project||!e.manifest.scene){if(e.fileName){const t=`${e.fileName}-${Math.random()}`.replace(/\s/g,"_");return Object(oa.jsxs)("div",{className:"project-card error",children:[Object(oa.jsx)("div",{className:"close-button",onClick:()=>this.handleRemoveProject(e.id),children:Object(oa.jsx)(zd.a,{name:"close"})}),Object(oa.jsx)("div",{className:"error-icon"}),Object(oa.jsx)("span",{className:"title",title:e.fileName,children:e.fileName}),Object(oa.jsx)("span",{className:"error",children:Object(ta.t)("import_modal.invalid_file")})]},t)}return this.handleRemoveProject(e.id),null}const t=e.manifest.project;return Object(oa.jsxs)("div",{className:"project-card",children:[Object(oa.jsx)("div",{className:"close-button",onClick:()=>this.handleRemoveProject(e.id),children:Object(oa.jsx)(zd.a,{name:"close"})}),Object(oa.jsx)("img",{src:t.thumbnail,alt:t.title}),Object(oa.jsx)("span",{className:"title",title:t.title,children:t.title})]},t.id)},this.renderProjects=()=>{const{acceptedProjects:e}=this.state;return Object(oa.jsxs)(oa.Fragment,{children:[1===e.length&&Object(oa.jsx)("div",{className:"single-project",children:this.renderProject(e[0])}),e.length>1&&Object(oa.jsxs)("div",{className:"multiple-projects",children:[e.map((e=>this.renderProject(e)))," "]})]})},this.renderDropzoneCTA=e=>Object(oa.jsx)(ta.T,{id:"import_modal.cta",values:{action:Object(oa.jsx)("span",{className:"action",onClick:e,children:Object(ta.t)("import_modal.upload_manually")})}}),this.handleDropAccepted=async e=>{const{acceptedProjects:t}=this.state,n=[];for(const a of e)try{const e=(await As.a.loadAsync(a)).file(Mi.a.MANIFEST_FILE);if(!e)throw new Error("Invalid project");const t=await e.async("text"),o=new Response(t),i=await o.json();if(!i||!i.scene)throw new Error("Invalid project");const r=Object(Y.g)(i,Rm.a);if(!r.project||!r.scene)throw new Error("Invalid project");r.project.createdAt=(new Date).toISOString(),r.project.updatedAt=(new Date).toISOString();const s={id:kc()(),fileName:a.name,manifest:{...r}};s.manifest.project.id=kc()();const c=kc()();s.manifest.scene.sdk6?s.manifest.scene.sdk6.id=c:s.manifest.scene.sdk7.id=c,s.manifest.project.sceneId=c,this.analytics.track("Import project",{name:a.name}),n.push(s)}catch(o){this.analytics.track("Import project failure",{fileName:a.name}),n.push({id:kc()(),fileName:a.name,isCorrupted:!0})}this.setState({acceptedProjects:[...t,...n],canImport:!0})},this.handleDropRejected=e=>{console.log("rejected",e)},this.handleImport=()=>{const e=this.state.acceptedProjects.map((e=>e.manifest));this.props.onImport(e),this.props.onClose()},this.handleRemoveProject=e=>{const t=this.state.acceptedProjects.filter((t=>t.id!==e));this.setState({acceptedProjects:t,canImport:t.length>0})},this.hasCorruptedProjects=()=>this.state.acceptedProjects.some((e=>!0===e.isCorrupted))}render(){const{name:e,onClose:t}=this.props,{acceptedProjects:n,canImport:o}=this.state;return Object(oa.jsxs)(ad.a,{name:e,children:[Object(oa.jsx)(ad.a.Header,{children:Object(ta.t)("import_modal.title")}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)("div",{className:"details",children:Object(ta.t)("import_modal.description")}),Object(oa.jsx)(Kd,{accept:".zip",items:n,renderFiles:this.renderProjects,onAcceptedFiles:this.handleDropAccepted,onRejectedFiles:this.handleDropRejected,renderAction:this.renderDropzoneCTA})]}),Object(oa.jsxs)(ad.a.Actions,{children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:t,children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleImport,disabled:!o||this.hasCorruptedProjects(),children:n.length>1?Object(ta.t)("import_modal.action_many",{count:n.length}):Object(ta.t)("import_modal.action")})]})]})}}var Nm=Object(i.connect)((()=>({})),(e=>({onImport:t=>e(Object(D.M)(t))})))(km);n(3455);class Pm extends Jo.PureComponent{render(){const{name:e,isLoggedIn:t,onClose:n}=this.props;return t&&n(),Object(oa.jsx)(Nd,{name:e,onClose:n})}}var Im=Object(i.connect)((e=>({isLoggedIn:Object(V.d)(e)})))(Pm);n(3456);class Lm extends Jo.PureComponent{constructor(){super(...arguments),this.handleRemove=()=>{const{address:e,onRemove:t}=this.props;t(e)}}render(){const{address:e}=this.props;return Object(oa.jsxs)("div",{className:"Role",children:[Object(oa.jsxs)("div",{className:"info",children:[Object(oa.jsx)(El.a,{address:e}),Object(oa.jsx)("div",{className:"address",children:Object(qa.e)(e)})]}),Object(oa.jsx)("span",{className:"action link",onClick:this.handleRemove,children:Object(ta.t)("global.delete")})]})}}var Mm=Lm;n(3457);class Dm extends Jo.PureComponent{constructor(){super(...arguments),this.state={address:""},this.handleAdd=()=>{const{onAdd:e}=this.props,{address:t}=this.state;e(t)},this.handleCancel=()=>{const{onCancel:e}=this.props;e()},this.handleChange=e=>{this.setState({address:e.target.value})}}render(){const{address:e}=this.state;return Object(oa.jsxs)(Os.Form,{className:"EmptyRole",onSubmit:this.handleAdd,children:[Object(oa.jsx)(Os.Field,{className:"rounded",type:"address",value:e,onChange:this.handleChange,placeholder:"0x...",error:!!e&&!Object(qa.c)(e)}),Object(oa.jsx)(Os.Button,{basic:!0,className:"action link",children:Object(ta.t)("global.add")}),Object(oa.jsx)("span",{className:"action link",onClick:this.handleCancel,children:Object(ta.t)("global.cancel")})]})}}var Fm=Dm;n(3458);class Um extends Jo.PureComponent{constructor(){super(...arguments),this.state={roles:this.getOriginalRoles()},this.handleAddNewRole=()=>{const{roles:e}=this.state;this.setState({roles:[...e,void 0]})},this.handleAddRole=(e,t)=>{if(this.isValidRole(t)){const n=this.removeRoleAtIndex(e);n.push(t.toLowerCase()),this.setState({roles:n})}},this.handleRemoveRole=e=>{const{roles:t}=this.state;this.setState({roles:t.filter((t=>t!==e))})},this.handleCancelNew=e=>{this.setState({roles:this.removeRoleAtIndex(e)})},this.handleSubmit=()=>{const{collection:e}=this.props,{roles:t}=this.state,n=this.getOriginalRoles(),o=[];for(const a of n)t.includes(a)||o.push({address:a,hasAccess:!1,collection:e});for(const a of t)n.includes(a)||o.push({address:a,hasAccess:!0,collection:e});this.setRoles(o)}}getOriginalRoles(){const{metadata:e}=this.props,t=new Set(e.roles);return t.delete(this.getSaleAddress()),Array.from(t)}removeRoleAtIndex(e){const{roles:t}=this.state;return[...t.slice(0,e),...t.slice(e+1)]}isValidRole(e){return Object(qa.c)(e)&&!this.state.roles.includes(e)&&!Object(qa.b)(e,this.getSaleAddress())}getSaleAddress(){const{wallet:e}=this.props;return Object(We.o)(e.networks.MATIC.chainId)}setRoles(e){const{metadata:t,collection:n,onSetManagers:o,onSetMinters:a}=this.props,{type:i}=t;switch(i){case Oi.c.MANAGER:return o(n,e);case Oi.c.MINTER:return a(n,e);default:throw new Error(`Invalid role type ${i}`)}}hasRoleChanged(){const e=this.getOriginalRoles().sort(),t=this.state.roles.filter((e=>!!e)).sort();return!De()(e,t)}render(){const{metadata:e,isLoading:t,onClose:n}=this.props,{roles:o}=this.state,{type:a}=e;return Object(oa.jsxs)(ad.a,{className:"ManageCollectionRoleModal",onClose:n,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)(`manage_collection_role_modal.${a}.title`),subtitle:Object(ta.t)(`manage_collection_role_modal.${a}.subtitle`),onClose:n}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)("div",{className:"roles",children:o.length>0?Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("div",{className:"roles-list",children:o.map(((e,t)=>e?Object(oa.jsx)(Mm,{address:e,onRemove:this.handleRemoveRole},t):Object(oa.jsx)(Fm,{onAdd:e=>this.handleAddRole(t,e),onCancel:()=>this.handleCancelNew(t)},t)))}),Object(oa.jsx)("div",{className:"add-roles link",onClick:this.handleAddNewRole,children:Object(ta.t)(`manage_collection_role_modal.${a}.add_new`)})]}):Object(oa.jsxs)("div",{className:"empty-roles-list",children:[Object(ta.t)(`manage_collection_role_modal.${a}.empty`),"\xa0",Object(oa.jsx)("span",{className:"link",onClick:this.handleAddNewRole,children:Object(ta.t)("manage_collection_role_modal.adding_one")})]})}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(hd.NetworkButton,{primary:!0,onClick:this.handleSubmit,loading:t,disabled:!this.hasRoleChanged(),network:nt.Network.MATIC,children:Object(ta.t)("global.confirm")})})]})]})}}var Bm=Object(i.connect)(((e,t)=>{const{collectionId:n}=t.metadata;if(!n)throw new Error("Invalid collection id to add managers");return{wallet:Object(I.getData)(e),collection:Object(ji.b)(e,n),isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.B)||Object(Hi.isLoadingType)(Object(ji.i)(e),He.E)}}),(e=>({onSetManagers:(t,n)=>e(Object(He.hb)(t,n)),onSetMinters:(t,n)=>e(Object(He.kb)(t,n))})))(Um);let zm;!function(e){e.MINT="MINT",e.CONFIRM="CONFIRM"}(zm||(zm={}));var Hm=n(879);n(3460);class Wm extends Jo.PureComponent{constructor(){super(...arguments),this.handleAddNewMint=()=>{const{item:e,mints:t,onChange:n}=this.props;n(e,[...t,{item:e}])}}getChangeAddressHandler(e){const{item:t,mints:n,onChange:o}=this.props;return(a,i)=>{const r={...n[e],address:i.value?i.value:void 0},s=[...n.slice(0,e),r,...n.slice(e+1)];o(t,s)}}getChangeAmountHandler(e){const{item:t,mints:n,onChange:o}=this.props;return(a,i)=>{const r={...n[e],amount:i.value?Number(i.value):void 0},s=[...n.slice(0,e),r,...n.slice(e+1)],c=this.getSupply(s);this.isValidSupply(c)&&o(t,s)}}getRemoveMintHandler(e){const{item:t,mints:n,onChange:o}=this.props;return()=>{n.length>1&&o(t,[...n.slice(0,e),...n.slice(e+1)])}}isValidAddress(e){return void 0===e||Object(qa.c)(e)}isValidAmount(e){return void 0===e||e>=0}isValidSupply(e){const{item:t}=this.props;return e>=0&&e<=Object(at.C)(t)}getSupply(e){const{item:t}=this.props,n=t.totalSupply||0;let o=0;for(const a of e)o+=a.amount||0;return n+o}render(){const{item:e,mints:t}=this.props;return Object(oa.jsxs)("div",{className:"MintableItem",children:[Object(oa.jsxs)(Os.Row,{children:[Object(oa.jsx)(Os.Column,{grow:!0,children:Object(oa.jsxs)("div",{className:"item-header",children:[Object(oa.jsx)(fd.a,{item:e}),Object(oa.jsx)(Hm.a,{item:e}),Object(oa.jsx)("span",{children:e.name})]})}),Object(oa.jsx)(Os.Column,{align:"right",children:Object(oa.jsxs)("div",{className:"item-header",children:[Object(oa.jsxs)("span",{className:"stock",children:[Object(ta.t)("item.supply")," ",this.getSupply(t),"/",Object(at.C)(e)]}),Object(oa.jsx)(zd.a,{name:"plus",className:"item-action",onClick:this.handleAddNewMint})]})})]}),t.map(((e,n)=>{let{address:o,amount:a}=e;return Object(oa.jsxs)(Os.Section,{className:"mint",size:"tiny",children:[Object(oa.jsx)(Os.Field,{className:"rounded",type:"address",placeholder:Object(ta.t)("global.address"),value:o||"",message:void 0,error:!this.isValidAddress(o),onChange:this.getChangeAddressHandler(n)}),Object(oa.jsx)(Os.Field,{className:"rounded",type:"number",placeholder:Object(ta.t)("global.amount"),value:a||"",message:void 0,error:!this.isValidAmount(a),onChange:this.getChangeAmountHandler(n)}),t.length>1?Object(oa.jsx)(zd.a,{name:"minus",className:"item-action",onClick:this.getRemoveMintHandler(n)}):null]},n)}))]})}}var Gm=Wm;n(3461);class Ym extends Jo.PureComponent{constructor(){super(...arguments),this.state=this.getInitialState(),this.handleMintsChange=(e,t)=>{const{itemMints:n}=this.state;this.setState({itemMints:{...n,[e.id]:t},error:null})},this.handleMintItems=()=>{const{collection:e}=this.props,{itemMints:t}=this.state,n=[];let o=0;for(const a of Object.values(t))for(const e of a)this.isValidMint(e)&&(n.push(e),o+=e.amount);o>at.e?this.setState({error:Object(ta.t)("mint_items_modal.limit_reached",{max:at.e})}):(this.setState({error:null}),n.length>0&&this.props.onMint(e,n))},this.handleAddItems=e=>{this.setState((t=>({...t,items:[...t.items,e],itemMints:{...t.itemMints,[e.id]:this.buildMints(e)}})))},this.handleView=e=>this.setState({confirm:e})}getInitialState(){const{items:e}=this.props,t={};for(const n of e)t[n.id]=this.buildMints(n);return{items:[],itemMints:t,error:null,confirm:zm.MINT}}buildMints(e){return[{item:e}]}isValidMint(e){return!!e.address&&e.amount&&e.amount>0}isDisabled(){return Object.values(this.state.itemMints).every((e=>e.every((e=>!e.amount||!e.address))))}render(){const{collection:e,totalCollectionItems:t,isLoading:n,hasUnsyncedItems:o,onClose:a}=this.props,{itemMints:i,error:r,confirm:s}=this.state,c=this.props.items.concat(this.state.items),l=0===c.length,d=c.length===t,u=this.isDisabled(),p=Object.values(i).reduce(((e,t)=>e+t.reduce(((e,t)=>e+(t.amount||0)),0)),0);return Object(oa.jsxs)(ad.a,{className:"MintItemsModal",onClose:a,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("mint_items_modal.title"),onClose:a}),Object(oa.jsxs)(ad.a.Content,{children:[o(c)&&Object(oa.jsx)("p",{className:"unsynced-warning danger-text",children:Object(ta.t)("mint_items_modal.unsynced_warning")}),s===zm.CONFIRM?Object(oa.jsxs)("div",{className:"ConfirmationStepContainer",children:[Object(oa.jsx)("span",{children:Object(ta.t)("mint_items_modal.confirm_title",{count:p})}),Object(oa.jsxs)(Os.Table,{basic:"very",children:[Object(oa.jsx)(Os.Table.Header,{className:Vd()({"has-scrollbar":c.length>5}),children:Object(oa.jsxs)(Os.Table.Row,{className:"row",children:[Object(oa.jsx)(Os.Table.HeaderCell,{width:5,children:Object(ta.t)("global.item")}),Object(oa.jsx)(Os.Table.HeaderCell,{width:7,children:Object(ta.t)("global.address")}),Object(oa.jsx)(Os.Table.HeaderCell,{width:2,children:Object(oa.jsx)("span",{className:"amountText",children:Object(ta.t)("global.amount")})})]})}),Object(oa.jsx)(Os.Table.Body,{children:Object.values(i).map((e=>e.map(((e,t)=>{const{item:n,address:o,amount:a}=e;return a&&Object(oa.jsxs)(Os.Table.Row,{className:"CollectionItem row",children:[Object(oa.jsx)(Os.Table.Cell,{width:5,children:Object(oa.jsxs)("div",{className:"itemContainer",children:[n&&Object(oa.jsx)(fd.a,{item:n,className:"itemImage"}),null===n||void 0===n?void 0:n.name]})}),Object(oa.jsx)(Os.Table.Cell,{width:7,children:Object(oa.jsx)("span",{className:"beneficary",children:o})}),Object(oa.jsx)(Os.Table.Cell,{width:2,children:Object(oa.jsx)("span",{className:"amountText",children:a})})]},t)}))))})]}),Object(oa.jsxs)(Os.Row,{className:"actions",align:"right",children:[Object(oa.jsx)(Os.Button,{className:"back",secondary:!0,onClick:()=>this.handleView(zm.MINT),children:Object(ta.t)("global.back")}),Object(oa.jsx)(hd.NetworkButton,{primary:!0,onClick:this.handleMintItems,loading:n,disabled:u||!!r,network:nt.Network.MATIC,children:Object(ta.t)("global.mint")})]})]}):Object(oa.jsxs)(Os.Form,{children:[l?Object(oa.jsx)("div",{className:"empty",children:Object(ta.t)("mint_items_modal.no_items",{name:e.name})}):c.map((e=>Object(oa.jsx)(Gm,{item:e,mints:i[e.id],onChange:this.handleMintsChange},e.id))),d?null:Object(oa.jsx)(rd,{placeholder:Object(ta.t)("mint_items_modal.add_item"),onChange:this.handleAddItems,filter:e=>{const{collection:t,items:n,ethAddress:o}=this.props,{items:a}=this.state,i=e.collectionId===t.id,r=!a.some((t=>t.id===e.id));return i&&!n.some((n=>n.id===e.id&&Object(at.m)(t,e,o)))&&r}}),Object(oa.jsx)(Os.ModalActions,{children:l?Object(oa.jsx)(Os.Button,{secondary:!0,fluid:!0,onClick:a,children:Object(ta.t)("global.cancel")}):Object(oa.jsx)(Os.Button,{primary:!0,onClick:()=>this.handleView(zm.CONFIRM),disabled:u,children:Object(ta.t)("mint_items_modal.next")})}),r?Object(oa.jsx)(Os.Row,{className:"error",align:"right",children:Object(oa.jsx)("p",{className:"danger-text",children:r})}):null]})]})]})}}var Qm=Object(i.connect)(((e,t)=>{const{itemIds:n}=t.metadata;let{collectionId:o}=t.metadata;if(!o&&(!n||0===n.length))throw new Error("Invalid collection id or items id to mint");const a=Object(I.getAddress)(e);let i,r;if(o)i=Object(ei.b)(e,o),r=i.length;else{const t=Object(ei.a)(e);i=t.filter((e=>n.includes(e.id))),o=i[0].collectionId,r=t.filter((e=>e.collectionId===o)).length}const s=Object(ji.b)(e,o);return{items:i.filter((e=>Object(at.m)(s,e,a))),isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.p),ethAddress:a,collection:s,totalCollectionItems:r,hasUnsyncedItems:t=>t.some((t=>at.i.has(Object(ei.o)(e)[t.id])))}}),(e=>({onMint:(t,n)=>e(Object(He.V)(t,n))})))(Ym);let Vm;!function(e){e[e.CONFIRM_COLLECTION_NAME=0]="CONFIRM_COLLECTION_NAME",e[e.CONFIRM_COLLECTION_ITEMS=1]="CONFIRM_COLLECTION_ITEMS",e[e.REVIEW_CONTENT_POLICY=2]="REVIEW_CONTENT_POLICY",e[e.PAY_PUBLICATION_FEE=3]="PAY_PUBLICATION_FEE",e[e.COLLECTION_PUBLISHED=4]="COLLECTION_PUBLISHED"}(Vm||(Vm={}));n(3462);var qm=e=>{const{collection:t,confirmedCollectionName:n,onChangeCollectionName:o,onNextStep:a}=e,[i,r]=Object(Jo.useState)(!1),s=Object(Jo.useCallback)(((e,t)=>{let{value:n}=t;o(n)}),[o]),c=Object(Jo.useCallback)((()=>{r(!0)}),[]),l=Object(Jo.useCallback)((()=>{r(!1)}),[]),d=t.name===n,u=!d&&!i&&!!n,p=u||!d;return Object(oa.jsx)(Os.Modal.Content,{className:"ConfirmCollectionNameStep",children:Object(oa.jsxs)(Os.Column,{children:[Object(oa.jsx)(Os.Row,{className:"details",children:Object(oa.jsxs)(Os.Column,{grow:!0,children:[Object(oa.jsx)("p",{className:"title",children:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_name_step.title")}),Object(oa.jsx)("p",{className:"subtitle",children:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_name_step.subtitle")}),Object(oa.jsx)("p",{className:"description",children:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_name_step.description")}),Object(oa.jsxs)("div",{className:"fields",children:[Object(oa.jsx)(Os.Field,{label:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_name_step.collection_name_label"),value:t.name,disabled:!0}),Object(oa.jsx)("div",{className:"confirm-collection-name",children:Object(oa.jsx)(Os.Field,{label:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_name_step.collection_name_confirmation_label"),placeholder:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_name_step.collection_name_placeholder"),value:n,error:u,message:u?Object(ta.t)("publish_wizard_collection_modal.confirm_collection_name_step.collection_names_different"):"",onChange:s,onBlur:l,onFocus:c,autoFocus:!0})})]})]})}),Object(oa.jsx)(Os.Row,{className:"actions",align:"right",children:Object(oa.jsx)(Os.Button,{className:"proceed",primary:!0,onClick:a,disabled:p,children:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_name_step.confirm_name")})})]})})},Xm=n(987),$m=n(1045);n(3463);var Km=e=>{const{items:t,onNextStep:n,onPrevStep:o}=e,a=e=>{const t=Fa.ethers.utils.formatEther(e.price);return Object(oa.jsx)("div",{children:Object(at.S)(e)?Object(ta.t)("global.free"):Object(oa.jsx)(Os.Mana,{className:"mana",network:nt.Network.MATIC,children:t.length>10?Object(oa.jsx)(Os.Popup,{className:"price-popup",content:t,position:"top center",trigger:Object(oa.jsx)("span",{children:`${t.slice(0,3)}...${t.slice(-4)}`}),hideOnScroll:!0,on:"hover",inverted:!0,flowing:!0}):Object(oa.jsx)("span",{children:t})})})};return Object(oa.jsx)(Os.Modal.Content,{className:"ConfirmCollectionItemsStep",children:Object(oa.jsxs)(Os.Column,{children:[Object(oa.jsx)(Os.Row,{className:"details",children:Object(oa.jsxs)(Os.Column,{grow:!0,children:[Object(oa.jsx)("p",{className:"title",children:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_items_step.title")}),Object(oa.jsx)("p",{className:"subtitle",children:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_items_step.subtitle",{enter:Object(oa.jsx)("br",{})})}),Object(oa.jsx)("p",{className:"description",children:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_items_step.description")}),Object(oa.jsx)("div",{className:"items",children:Object(oa.jsxs)(Os.Table,{basic:"very",children:[Object(oa.jsx)(Os.Table.Header,{className:Vd()({"has-scrollbar":t.length>5}),children:Object(oa.jsxs)(Os.Table.Row,{className:"row",children:[Object(oa.jsx)(Os.Table.HeaderCell,{width:7,children:Object(ta.t)("collection_detail_page.table.item")}),Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("collection_detail_page.table.rarity")}),Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("collection_detail_page.table.category")}),Object(oa.jsx)(Os.Table.HeaderCell,{children:Object(ta.t)("collection_detail_page.table.price")})]})}),Object(oa.jsx)(Os.Table.Body,{children:t.map((e=>Object(oa.jsxs)(Os.Table.Row,{className:"CollectionItem row",children:[Object(oa.jsx)(Os.Table.Cell,{width:7,className:"column avatarColumn",children:Object(oa.jsxs)("div",{className:"avatarContainer",children:[Object(oa.jsx)(fd.a,{className:"itemImage",item:e,hasRarityBackground:!1}),Object(oa.jsxs)("div",{className:"info",children:[Object(oa.jsx)("div",{className:"name",title:e.name,children:e.name}),Object(oa.jsx)(Xm.a,{className:"badge",item:e,size:"small"})]})]})}),Object(oa.jsx)(Os.Table.Cell,{className:"column",children:Object(oa.jsx)($m.a,{category:e.data.category,rarity:e.rarity,size:"small"})}),Object(oa.jsx)(Os.Table.Cell,{className:"column",children:Object(oa.jsx)("div",{children:Object(ta.t)(`${e.type}.category.${e.data.category}`)})}),Object(oa.jsx)(Os.Table.Cell,{className:"column priceColumn",children:a(e)})]},e.id)))})]})})]})}),Object(oa.jsxs)(Os.Row,{className:"actions",align:"right",children:[Object(oa.jsx)(Os.Button,{className:"back",secondary:!0,onClick:o,children:Object(ta.t)("global.back")}),Object(oa.jsx)(Os.Button,{className:"proceed",primary:!0,onClick:n,children:Object(ta.t)("publish_wizard_collection_modal.confirm_collection_items_step.confirm_items")})]})]})})};const Zm=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;n(3464);var Jm=e=>{const{collection:t,confirmedEmailAddress:n,contentPolicyFirstConditionChecked:o,acceptTermsOfUseChecked:a,ackowledgeDaoTermsChecked:i,subscribeToNewsletter:r,onChangeEmailAddress:s,onContentPolicyFirstConditionChange:c,onAcceptTermsOfUseChange:l,onAckowledgeDaoTermsChange:d,onSubscribeToNewsletter:u,onNextStep:p,onPrevStep:m}=e,[b,h]=Object(Jo.useState)(!1),f=Object(Jo.useCallback)(((e,t)=>{let{value:n}=t;s(n)}),[s]),y=Object(Jo.useCallback)((()=>{h(!0)}),[]),_=Object(Jo.useCallback)((()=>{h(!1)}),[]),g=Object(Jo.useCallback)(((e,t)=>{let{checked:n}=t;c(!!n)}),[c]),j=Object(Jo.useCallback)(((e,t)=>{let{checked:n}=t;l(!!n)}),[l]),O=Object(Jo.useCallback)(((e,t)=>{let{checked:n}=t;d(!!n)}),[d]),v=Object(Jo.useCallback)(((e,t)=>{let{checked:n}=t;u(!!n)}),[u]),C=Zm.test(n),x=!C&&!b&&!!n,w=!C||!o||!a||!i;return Object(oa.jsx)(oa.Fragment,{children:Object(oa.jsx)(Os.Modal.Content,{className:"ReviewContentPolicyStep",children:Object(oa.jsxs)(Os.Column,{children:[Object(oa.jsx)(Os.Row,{className:"details",children:Object(oa.jsxs)(Os.Column,{grow:!0,children:[Object(oa.jsx)("p",{className:"title",children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.title")}),Object(oa.jsxs)("div",{className:"content-policies-conditions",children:[Object(oa.jsxs)("div",{className:"checkbox-container",children:[Object(oa.jsx)(Os.Checkbox,{checked:o,onChange:g}),Object(oa.jsx)("span",{children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.content_policy_first_condition",{collection_name:Object(oa.jsx)("b",{children:t.name})})})]}),Object(oa.jsxs)("div",{className:"checkbox-container",children:[Object(oa.jsx)(Os.Checkbox,{checked:a,onChange:j}),Object(oa.jsx)("span",{children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.accept_terms_of_use",{terms_of_use_link:Object(oa.jsx)("a",{href:"https://decentraland.org/terms/",rel:"noopener noreferrer",target:"_blank",children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.terms_of_use")}),content_policy_link:Object(oa.jsx)("a",{href:"https://decentraland.org/content/",rel:"noopener noreferrer",target:"_blank",children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.content_policy")})})})]}),Object(oa.jsxs)("div",{className:"checkbox-container",children:[Object(oa.jsx)(Os.Checkbox,{checked:i,onChange:O}),Object(oa.jsx)("span",{children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.acknowledge_dao_terms",{terms_of_use_link:Object(oa.jsx)("a",{href:"https://decentraland.org/terms/",rel:"noopener noreferrer",target:"_blank",children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.terms_of_use")}),content_policy_link:Object(oa.jsx)("a",{href:"https://decentraland.org/content/",rel:"noopener noreferrer",target:"_blank",children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.content_policy")})})})]})]}),Object(oa.jsx)("p",{className:"description",children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.email_disclousure")}),Object(oa.jsx)("p",{className:"subtitle",children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.email_disclousure_detail",{enter:Object(oa.jsx)("br",{})})}),Object(oa.jsx)(Os.Field,{label:Object(ta.t)("global.email"),value:n,onChange:f,onFocus:y,onBlur:_,error:x,message:x?Object(ta.t)("publish_collection_modal_with_oracle.invalid_email"):void 0}),Object(oa.jsx)("div",{className:"content-policies-conditions",children:Object(oa.jsxs)("div",{className:"checkbox-container checkbox-newsletter",children:[Object(oa.jsx)(Os.Checkbox,{checked:r,onChange:v}),Object(oa.jsx)("span",{children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.email_newsletter")})]})})]})}),Object(oa.jsxs)(Os.Row,{className:"actions",align:"right",children:[Object(oa.jsx)(Os.Button,{className:"back",secondary:!0,onClick:m,children:Object(ta.t)("global.back")}),Object(oa.jsx)(Os.Button,{className:"proceed",primary:!0,onClick:p,disabled:w,children:Object(ta.t)("publish_wizard_collection_modal.review_content_policy_step.continue")})]})]})})})};n(3465);var eb=e=>{const{collection:t,items:n,rarities:o,wallet:a,collectionError:i,unsyncedCollectionError:r,isLoading:s,onNextStep:c,onPrevStep:l}=e,d=o[0];let u="0",p="0",m="0",b=!0;d&&(u=d.prices.USD,p=Fa.ethers.BigNumber.from(d.prices.MANA).mul(n.length).toString(),m=Fa.ethers.BigNumber.from(u).mul(n.length).toString(),b=!!a&&a.networks.MATIC.mana<Number(Fa.ethers.utils.formatEther(p)));return Object(oa.jsx)(Os.Modal.Content,{className:"PayPublicationFeeStep",children:Object(oa.jsxs)(Os.Column,{children:[Object(oa.jsx)(Os.Row,{className:"details",children:Object(oa.jsxs)(Os.Column,{grow:!0,children:[Object(oa.jsx)("span",{children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.title",{collection_name:Object(oa.jsx)("b",{children:t.name}),count:n.length})}),Object(oa.jsx)("span",{children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.subtitle",{currency:"USD",publicationFee:Object(fu.toFixedMANAValue)(Fa.ethers.utils.formatEther(u))})}),Object(oa.jsx)("span",{className:"learn-more",children:Object(oa.jsx)("a",{href:"https://docs.decentraland.org/decentraland/publishing-wearables/",target:"_blank",rel:"noopener noreferrer",children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.learn_more")})}),Object(oa.jsxs)("div",{className:"price-breakdown-container",children:[Object(oa.jsxs)("div",{className:"element",children:[Object(oa.jsx)("div",{className:"element-header",children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.quantity")}),Object(oa.jsx)("div",{className:"element-content",children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.items",{count:n.length})})]}),Object(oa.jsxs)("div",{className:"element",children:[Object(oa.jsx)("div",{className:"element-header",children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.fee_per_item")}),Object(oa.jsxs)("div",{className:"element-content",children:[$o.b.USD," ",Object(fu.toFixedMANAValue)(Fa.ethers.utils.formatEther(u))]})]}),Object(oa.jsxs)("div",{className:"element",children:[Object(oa.jsx)("div",{className:"element-header",children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.total_in_usd",{currency:$o.b.USD})}),Object(oa.jsxs)("div",{className:"element-content total-amount",children:[$o.b.USD," ",Object(fu.toFixedMANAValue)(Fa.ethers.utils.formatEther(m))]})]}),Object(oa.jsxs)("div",{className:"element",children:[Object(oa.jsx)("div",{className:"element-header",children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.total_in_mana")}),Object(oa.jsx)("div",{className:"element-content total-amount",children:Object(oa.jsx)(Os.Mana,{showTooltip:!0,network:nt.Network.MATIC,size:"small",children:Object(fu.toFixedMANAValue)(Fa.ethers.utils.formatEther(p))})})]})]})]})}),Object(oa.jsxs)(Os.Row,{className:"actions",align:"right",children:[d?b?Object(oa.jsxs)("small",{className:"not-enough-mana-notice error",children:[Object(ta.t)("publish_collection_modal_with_oracle.not_enough_mana",{symbol:Object(oa.jsxs)("span",{children:[Object(oa.jsx)(Os.Mana,{network:nt.Network.MATIC,inline:!0})," MANA"]})}),Object(oa.jsx)("br",{}),Object(ta.t)("publish_collection_modal_with_oracle.get_mana",{link:Object(oa.jsx)("a",{href:S.a.get("ACCOUNT_URL",""),rel:"noopener noreferrer",target:"_blank",children:"Account"})})]}):r&&!s?Object(oa.jsx)("p",{className:"error danger-text",children:Object(ta.t)("publish_collection_modal_with_oracle.unsynced_collection")}):i&&!s?Object(oa.jsx)("p",{className:"error danger-text",children:i}):null:Object(oa.jsx)("p",{className:"rarities-error error",children:Object(ta.t)("publish_collection_modal_with_oracle.rarities_error")}),Object(oa.jsx)(Os.Button,{className:"back",secondary:!0,onClick:l,disabled:s,children:Object(ta.t)("global.back")}),Object(oa.jsx)(Os.Button,{className:"proceed",primary:!0,onClick:c,disabled:b||s,loading:s,children:Object(ta.t)("publish_wizard_collection_modal.pay_publication_fee_step.pay",{value:Object(oa.jsx)(Os.Mana,{showTooltip:!0,network:nt.Network.MATIC,size:"medium",children:Object(fu.toFixedMANAValue)(Fa.ethers.utils.formatEther(p))})})})]})]})})};n(3466);var tb=e=>{const{collection:t,onClose:n}=e;return Object(oa.jsx)(Os.Modal.Content,{className:"CongratulationsStep",children:Object(oa.jsxs)(Os.Column,{children:[Object(oa.jsx)(Os.Row,{className:"details",children:Object(oa.jsxs)(Os.Column,{grow:!0,children:[Object(oa.jsx)("i",{className:"sparkles"}),Object(oa.jsx)("span",{children:Object(ta.t)("publish_wizard_collection_modal.congratulations_step.title")}),Object(oa.jsx)("span",{children:Object(ta.t)("publish_wizard_collection_modal.congratulations_step.subtitle",{forum_post:Object(oa.jsx)("a",{className:"forum-post",href:t.forumLink,rel:"noopener noreferrer",target:"_blank",children:Object(ta.t)("publish_wizard_collection_modal.congratulations_step.forum_post")})})}),Object(oa.jsx)("p",{className:"description",children:Object(ta.t)("publish_wizard_collection_modal.congratulations_step.description")})]})}),Object(oa.jsxs)(Os.Row,{className:"actions",align:"right",children:[Object(oa.jsx)(Os.Button,{className:"finish",secondary:!0,onClick:n,children:Object(ta.t)("global.finish")}),Object(oa.jsx)(Os.Button,{className:"proceed",primary:!0,as:"a",href:t.forumLink,target:"_blank",rel:"noopener noreferrer",children:Object(ta.t)("publish_wizard_collection_modal.congratulations_step.view_forum_post")})]})]})})};n(3467);var nb=Object(hd.withAuthorizedAction)((e=>{const{collection:t,items:n,wallet:o,rarities:a,onClose:i,onFetchRarities:r,onPublish:s,onAuthorizedAction:c,onCloseAuthorization:l}=e,[d,u]=Object(Jo.useState)(Vm.CONFIRM_COLLECTION_NAME),[p,m]=Object(Jo.useState)(""),[b,h]=Object(Jo.useState)(""),[f,y]=Object(Jo.useState)(!1),[_,g]=Object(Jo.useState)(!1),[j,O]=Object(Jo.useState)(!1),[v,C]=Object(Jo.useState)(!1);Object(Jo.useEffect)((()=>{r()}),[r]),Object(Jo.useEffect)((()=>{t.forumLink&&(u(Vm.COLLECTION_PUBLISHED),l())}),[t.forumLink,l]);const x=()=>{u((e=>e+1))},w=()=>{u((e=>e-1))},E=e=>{m(e)},S=e=>{h(e)},A=e=>{y(e)},T=e=>{g(e)},R=e=>{O(e)},k=e=>{C(e)},N=()=>{const e=Object(bl.a)(o.address,o.networks.MATIC.chainId,Ba.ContractName.CollectionManager),i={name:e.contractName,address:e.contractAddress,chainId:e.chainId,network:nt.Network.MATIC,category:nt.NFTCategory.ENS};c({authorizedAddress:e.authorizedAddress,authorizedContractLabel:Ba.ContractName.CollectionManager,targetContract:i,targetContractName:Ba.ContractName.MANAToken,requiredAllowanceInWei:Fa.ethers.BigNumber.from(a[0].prices.MANA).mul(n.length).toString(),authorizationType:Od.AuthorizationType.ALLOWANCE,onAuthorized:()=>s(t,n,b,v)})};return Object(oa.jsxs)(ad.a,{className:"PublishWizardCollectionModal",size:"small",onClose:i,closeOnDimmerClick:!1,children:[Object(oa.jsx)(Os.ModalNavigation,{title:(()=>{switch(d){case Vm.CONFIRM_COLLECTION_NAME:case Vm.CONFIRM_COLLECTION_ITEMS:return Object(ta.t)("publish_wizard_collection_modal.title_publish_collection");case Vm.REVIEW_CONTENT_POLICY:return Object(ta.t)("publish_wizard_collection_modal.title_review_content_policy");case Vm.PAY_PUBLICATION_FEE:return Object(ta.t)("publish_wizard_collection_modal.title_pay_publication_fee");case Vm.COLLECTION_PUBLISHED:return Object(ta.t)("publish_wizard_collection_modal.title_congratulations");default:return null}})(),onClose:i}),d===Vm.COLLECTION_PUBLISHED?null:Object(oa.jsx)(Os.List,{horizontal:!0,className:"steps-indicator content",children:Object.values(Vm).filter((e=>!isNaN(Number(e))&&e!==Vm.COLLECTION_PUBLISHED)).map((e=>Object(oa.jsx)(Os.List.Item,{className:Vd()("step",{active:d===e})},e)))}),(()=>{switch(d){case Vm.CONFIRM_COLLECTION_NAME:return Object(oa.jsx)(qm,{collection:t,confirmedCollectionName:p,onChangeCollectionName:E,onNextStep:x});case Vm.CONFIRM_COLLECTION_ITEMS:return Object(oa.jsx)(Km,{items:n,onNextStep:x,onPrevStep:w});case Vm.REVIEW_CONTENT_POLICY:return Object(oa.jsx)(Jm,{collection:t,confirmedEmailAddress:b,contentPolicyFirstConditionChecked:f,acceptTermsOfUseChecked:_,ackowledgeDaoTermsChecked:j,subscribeToNewsletter:v,onChangeEmailAddress:S,onContentPolicyFirstConditionChange:A,onAcceptTermsOfUseChange:T,onAckowledgeDaoTermsChange:R,onSubscribeToNewsletter:k,onNextStep:x,onPrevStep:w});case Vm.PAY_PUBLICATION_FEE:return Object(oa.jsx)(eb,{...e,onNextStep:N,onPrevStep:w});case Vm.COLLECTION_PUBLISHED:return Object(oa.jsx)(tb,{collection:t,onClose:i});default:return null}})()]})}),jd.AuthorizedAction.PUBLISH_COLLECTION,{title_action:"publish_wizard_collection_modal.authorization.title_action",action:"publish_wizard_collection_modal.authorization.action",confirm_transaction:{title:"publish_wizard_collection_modal.authorization.confirm_transaction_title"},authorize_mana:{description:"publish_wizard_collection_modal.authorization.authorize_mana_description"},set_cap:{description:"publish_wizard_collection_modal.authorization.set_cap_description"},insufficient_amount_error:{message:"publish_wizard_collection_modal.authorization.insufficient_amount_error_message"}},ji.l,ji.g);var ob=Object(i.connect)(((e,t)=>{const{collectionId:n}=t.metadata,o=Object(ji.b)(e,n),a=Object(Hi.isLoadingType)(Object(ji.i)(e),He.s),i=Object(Hi.isLoadingType)(Object(ei.i)(e),ot.p),r=Object(Hi.isLoadingType)(Object(ei.i)(e),ot.y),s=Object(Hi.isLoadingType)(Object(ji.i)(e),Be.c);return{wallet:Object(I.getData)(e),collection:o,items:Object(ei.b)(e,n),rarities:Object(ei.n)(e),unsyncedCollectionError:Object(ji.o)(e),itemError:Object(ei.f)(e),collectionError:Object(ji.g)(e),isLoading:a||i||r||s||!!o.lock}}),(e=>({onPublish:(t,n,o,a)=>e(Object(He.Y)(t,n,o,a)),onFetchRarities:()=>e(Object(ot.tb)())})))(nb),ab=n(276),ib=n(1820);class rb extends Jo.PureComponent{constructor(){super(...arguments),this.handleSubmit=()=>{const{items:e,itemsStatus:t,itemCurations:n,thirdParty:o,onPublish:a,onPushChanges:i,onPublishAndPushChanges:r,metadata:{action:s}}=this.props;if(o)switch(s){case ab.a.PUSH_CHANGES:i(e);break;case ab.a.PUBLISH_AND_PUSH_CHANGES:r(o,Object(at.A)(e,t),Object(at.B)(e,t,n));break;default:a(o,e)}},this.getModalDescriptionText=()=>{const{items:e,itemsStatus:t,itemCurations:n,thirdParty:o,collection:a}=this.props,i=Object(at.A)(e,t).length,r=Object(at.B)(e,t,n).length,s=r>0&&!i;return r>0&&i>0?Object(ta.t)("publish_third_party_collection_modal.publish_and_push_changes_description",{slotsToUse:i,itemsWithChanges:r,availableSlots:null===o||void 0===o?void 0:o.availableSlots,collectionName:a.name}):s?Object(ta.t)("publish_third_party_collection_modal.push_changes_description",{itemsWithChanges:r,collectionName:a.name}):Object(ta.t)("publish_third_party_collection_modal.publish_description",{slotsToUse:e.length,availableSlots:null===o||void 0===o?void 0:o.availableSlots,collectionName:a.name})}}render(){const{isPublishLoading:e,onClose:t,pushChangesProgress:n,metadata:{action:o}}=this.props;return Object(oa.jsxs)(ad.a,{className:"PublishThirdPartyCollectionModal",size:"tiny",onClose:t,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("publish_third_party_collection_modal.title"),onClose:t}),Object(oa.jsx)(ad.a.Content,{children:e&&[ab.a.PUSH_CHANGES,ab.a.PUBLISH_AND_PUSH_CHANGES].includes(o)?Object(oa.jsx)(oa.Fragment,{children:Object(oa.jsx)("div",{className:"progressBarContainer",children:Object(oa.jsx)(Os.Progress,{percent:n,className:"progressBar",progress:!0})})}):Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("div",{children:this.getModalDescriptionText()}),Object(oa.jsx)("br",{}),Object(oa.jsx)(Os.Button,{primary:!0,fluid:!0,loading:e,onClick:this.handleSubmit,children:Object(ib.b)(o)}),Object(oa.jsx)("br",{}),Object(oa.jsx)(Os.Button,{secondary:!0,fluid:!0,onClick:t,children:Object(ta.t)("global.cancel")})]})})]})}}var sb=Object(i.connect)(((e,t)=>{const{collectionId:n,itemIds:o}=t.metadata,a=Object(ji.b)(e,n),i=Object(ei.b)(e,n).filter((e=>o.includes(e.id)));return{collection:a,items:i,itemCurations:Object($c.a)(e,n),thirdParty:a?Object(ud.a)(e,a):null,isPublishLoading:Object(Hi.isLoadingType)(Object($c.c)(e),ze.n)||Object(Hi.isLoadingType)(Object($c.c)(e),ze.q),itemsStatus:Object(ei.p)(e,i.map((e=>e.id))),pushChangesProgress:bd(e)}}),(e=>({onPublish:(t,n)=>e(Object(ze.I)(t,n)),onPushChanges:t=>e(Object(ze.L)(t)),onPublishAndPushChanges:(t,n,o)=>e(Object(ze.F)(t,n,o))})))(rb);n(3468);const cb=e=>{let{isLoading:t,onClose:n,onProceed:o}=e;return Object(oa.jsxs)(ad.a,{className:"PushCollectionChangesModal",size:"tiny",onClose:n,children:[Object(oa.jsx)(ad.a.Header,{children:Object(ta.t)("push_collection_changes_modal.title")}),Object(oa.jsx)(ad.a.Description,{children:Object(oa.jsx)(ta.T,{id:"push_collection_changes_modal.description",values:{br:Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("br",{}),Object(oa.jsx)("br",{})]})}})}),Object(oa.jsxs)(ad.a.Actions,{children:[Object(oa.jsx)(Os.Button,{onClick:n,children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:o,loading:t,disabled:t,children:Object(ta.t)("global.proceed")})]})]})};var lb=Jo.memo(cb);var db=Object(i.connect)((e=>({isLoading:Object(Hi.isLoadingType)(Object(yi.d)(e),$e.k)})),((e,t)=>({onProceed:()=>e(Object($e.C)(t.metadata.collectionId))})))(lb);n(3469);class ub extends Jo.PureComponent{constructor(){super(...arguments),this.state={isLoginModalOpen:!1},this.handleOpenLoginModal=()=>{this.setState({isLoginModalOpen:!0})},this.handleCloseLoginModal=()=>{this.setState({isLoginModalOpen:!1})},this.handleRetry=()=>{this.props.onRetry()},this.renderLogin=()=>{const{name:e}=this.props;return Object(oa.jsx)(Nd,{name:e,onClose:this.handleCloseLoginModal})},this.renderRetry=()=>{const{loading:e}=this.props,t=e.size>0;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(ad.a.Header,{children:Object(ta.t)("quota_exceeded_modal.retry.title")}),Object(oa.jsx)(ad.a.Content,{children:Object(ta.t)("quota_exceeded_modal.retry.description")}),Object(oa.jsx)(ad.a.Actions,{children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleRetry,disabled:t,children:t?Object(ta.t)("global.loading"):Object(ta.t)("sync.retry")})})]})},this.renderSignIn=()=>Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(ad.a.Header,{children:Object(ta.t)("quota_exceeded_modal.sign_in.title")}),Object(oa.jsx)(ad.a.Content,{children:Object(ta.t)("quota_exceeded_modal.sign_in.description")}),Object(oa.jsx)(ad.a.Actions,{children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleOpenLoginModal,children:Object(ta.t)("user_menu.sign_in")})})]})}componentWillReceiveProps(e){const t=e.loading.size,n=this.props.loading.size,o=e.errors.size,a=this.props.errors.size;!t&&n&&!o&&a&&this.props.onClose(),e.isLoggingIn&&this.handleCloseLoginModal()}render(){const{name:e,currentProject:t,isLoggedIn:n,isLoggingIn:o,onClose:a}=this.props,{isLoginModalOpen:i}=this.state,r=t&&n;return!i||o||n?Object(oa.jsx)(ad.a,{name:e,closeIcon:Object(oa.jsx)(Os.Close,{onClick:a}),children:r?this.renderRetry():this.renderSignIn()}):this.renderLogin()}}var pb=Object(i.connect)((e=>({errors:Object(q.a)(e),loading:Object(q.d)(e),currentProject:Object(co.b)(e),isLoggingIn:Object(V.e)(e),isLoggedIn:Object(V.d)(e)})),(e=>({onRetry:()=>e(Object(F.j)())})))(ub);n(3470);const mb=e=>{let{error:t,isLoading:n,onClose:o,onConfirm:a}=e;return Object(oa.jsxs)(ad.a,{className:"ResetItemModal",size:"tiny",onClose:o,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("reset_item_modal.title"),onClose:o}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)(ta.T,{id:"reset_item_modal.content",values:{br:Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("br",{}),Object(oa.jsx)("br",{})]})}}),t&&Object(oa.jsx)("p",{className:"error",children:t})]}),Object(oa.jsxs)(ad.a.Actions,{children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:o,disabled:n,children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:a,disabled:n,loading:n,children:Object(ta.t)("global.confirm")})]})]})};var bb=ea.a.memo(mb);var hb=Object(i.connect)((e=>({error:Object(ei.f)(e),isLoading:Object(Hi.isLoadingType)(Object(ei.i)(e),ot.F)})),((e,t)=>{let{metadata:n}=t;return{onConfirm:()=>e(Object(ot.Ab)(n.itemId))}}))(bb);n(3471);class fb extends Jo.PureComponent{constructor(){super(...arguments),this.handleToggleOnSale=()=>{const{collection:e,wallet:t,metadata:n,onSetMinters:o}=this.props;o(e,Object(We.w)(e,t,!n.isOnSale))}}render(){const{metadata:e,isLoading:t,hasUnsyncedItems:n,onClose:o}=this.props,a=e.isOnSale?"remove_from_marketplace":"put_for_sale";return Object(oa.jsxs)(ad.a,{className:"SellCollectionModal",size:"tiny",onClose:o,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)(`sell_collection_modal.${a}.title`),onClose:o}),Object(oa.jsxs)(ad.a.Content,{children:[n&&Object(oa.jsx)("p",{className:"unsynced-warning danger-text",children:Object(ta.t)("sell_collection_modal.unsynced_warning")}),Object(ta.t)(`sell_collection_modal.${a}.description`),Object(oa.jsx)(Os.Button,{primary:!0,fluid:!0,onClick:this.handleToggleOnSale,loading:t,disabled:t,children:Object(ta.t)(`sell_collection_modal.${a}.cta`)}),Object(oa.jsx)(Os.Button,{secondary:!0,fluid:!0,onClick:o,disabled:t,children:Object(ta.t)("global.cancel")})]})]})}}var yb=Object(i.connect)(((e,t)=>{const{collectionId:n}=t.metadata;return{collection:Object(ji.b)(e,n),wallet:Object(I.getData)(e),isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.E),hasUnsyncedItems:at.i.has(Object(ji.n)(e)[n])}}),(e=>({onSetMinters:(t,n)=>e(Object(He.kb)(t,n))})))(fb);let _b;!function(e){e.FACEBOOK="facebook",e.TWITTER="twitter",e.LINK="link"}(_b||(_b={}));n(3472);const gb=S.a.get("SHARE_SCENE_URL","");class jb extends Jo.PureComponent{constructor(){super(...arguments),this.state={copied:!1,copiedTimer:void 0,type:Pd.a.PROJECT,id:null},this.input=Jo.createRef(),this.handleClose=()=>this.props.onClose(),this.handleFocusLink=()=>{this.input.current&&this.input.current.select()},this.handleCopyLink=()=>{const{copiedTimer:e}=this.state;void 0!==e&&clearTimeout(e);const t=setTimeout((()=>this.setState({copied:!1,copiedTimer:void 0})),2e3);this.setState({copied:!0,copiedTimer:t})},this.handleShare=(e,t)=>{e.preventDefault();const n=Math.ceil(window.outerHeight/2-125),o=Math.ceil(window.outerWidth/2-300);window.open(e.currentTarget.href,"targetWindow",`toolbar=no,location=0,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=250,top=${n},left=${o}`),this.props.onShare(t)},this.handleShareWithFacebook=e=>this.handleShare(e,_b.FACEBOOK),this.handleShareWithTwitter=e=>this.handleShare(e,_b.TWITTER),this.handleLogin=e=>{this.props.onLogin(e)},this.getFacebookLink=()=>{const{project:e}=this.props,t=this.getShareLink();return encodeURI(Object(ta.t)("share_modal.uri.facebook",{...e,url:t}))},this.getTwitterLink=()=>{const{project:e}=this.props,t=this.getShareLink();return encodeURI(Object(ta.t)("share_modal.uri.twitter",{...e,url:t}))},this.getShareLink=()=>{const{project:e}=this.props,{type:t}=this.state;return t===Pd.a.PROJECT?gb+`/scene/${e.id}`:gb+`/${t}/${e.id}`}}componentDidMount(){const{metadata:e,onUpdate:t,isLoggedIn:n}=this.props;e&&(this.setState({type:e.type,id:e.id}),n&&t(e.id))}componentWillUnmount(){const{copiedTimer:e}=this.state;void 0!==e&&clearTimeout(e)}renderLogin(){const{name:e}=this.props;return Object(oa.jsx)(Nd,{name:e,onClose:this.handleClose})}renderLoading(){const{name:e}=this.props;return Object(oa.jsx)(ad.a,{name:e,onClose:this.handleClose,children:Object(oa.jsx)(Os.Loader,{size:"large"})})}render(){const{name:e,project:t,isLoading:n,isLoggedIn:o,isScreenshotReady:a}=this.props,{copied:i}=this.state;return o?n||!t.isPublic?this.renderLoading():Object(oa.jsxs)(ad.a,{name:e,onClose:this.handleClose,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("share_modal.title"),subtitle:Object(ta.t)("share_modal.description"),onClose:this.handleClose}),Object(oa.jsxs)("div",{className:"share-modal",children:[Object(oa.jsx)("div",{className:"thumbnail",style:{backgroundImage:a?`url("${t.thumbnail}")`:"",backgroundSize:"cover",backgroundPosition:"center"},children:!a&&Object(oa.jsx)(Os.Loader,{size:"small"})}),Object(oa.jsxs)("div",{className:"button-group",children:[Object(oa.jsxs)("a",{className:"button facebook",onClick:this.handleShareWithFacebook,href:this.getFacebookLink(),children:[Object(oa.jsx)(zd.a,{name:"facebook"})," ",Object(ta.t)("global.share")]}),Object(oa.jsxs)("a",{className:"button twitter",onClick:this.handleShareWithTwitter,href:this.getTwitterLink(),children:[Object(oa.jsx)(zd.a,{name:"twitter"})," ",Object(ta.t)("global.share")]})]}),Object(oa.jsxs)("div",{className:"copy-group",children:[Object(oa.jsx)("input",{ref:this.input,className:"copy-input",readOnly:!0,value:this.getShareLink(),onFocus:this.handleFocusLink}),Object(oa.jsx)(Up.a,{role:"button",className:"copy-button",text:this.getShareLink(),onCopy:this.handleCopyLink,children:Object(oa.jsx)("span",{children:i?Object(ta.t)("share_modal.copied"):Object(ta.t)("share_modal.copy")})})]})]})]}):this.renderLogin()}}var Ob=Object(i.connect)(((e,t)=>({project:Object(co.b)(e),isLoading:!Object(tr.x)(e)||Object(tr.s)(e),isScreenshotReady:Object(tr.y)(e),isLoggedIn:Object(V.d)(e)})),(e=>({onUpdate:t=>e(Object(D.db)(t)),onLogin:t=>e(Object($.n)(t)),onShare:t=>e(fo(t))})))(jb),vb=n(252),Cb=n(94);n(3474);const xb={editor:[Cb.d.TOGGLE_MULTISELECTION,Cb.d.TOGGLE_SNAP_TO_GRID,Cb.d.ZOOM_IN,Cb.d.ZOOM_OUT,Cb.d.RESET_CAMERA,Cb.d.TOGGLE_SIDEBAR,Cb.d.EXPORT_SCENE,Cb.d.PREVIEW,Cb.d.UNDO,Cb.d.REDO],item:[Cb.d.MOVE,Cb.d.ROTATE,Cb.d.DUPLICATE_ITEM,Cb.d.RESET_ITEM,Cb.d.DELETE_ITEM],other:[Cb.d.SHORTCUTS]},wb=()=>({editor:Object(ta.t)("shortcuts_modal.editor_shortcuts"),item:Object(ta.t)("shortcuts_modal.item_shortcuts"),other:Object(ta.t)("shortcuts_modal.other_shortcuts")});class Eb extends Xi.a{renderShortcut(e){return Object(oa.jsx)(vb.a,{text:Object(Xi.d)(e.value)},e.value)}renderPlus(e){return Object(oa.jsx)("span",{className:"plus",children:"+"},e)}renderOr(){return Object(oa.jsx)("span",{className:"plus",children:Object(ta.t)("global.or")},"or")}renderHold(){return Object(oa.jsx)("span",{className:"hold",children:Object(ta.t)("shortcuts.hold")},"hold")}}const Sb=new Eb;class Ab extends Jo.PureComponent{constructor(){super(...arguments),this.renderShortcutSequence=e=>"combination"===e.type?Sb.renderCombination(e):"alternative"===e.type?Sb.renderAlternative(e):Sb.renderSimple(e),this.renderShortcuts=()=>{const{shortcuts:e}=this.props,t=wb();return Object.keys(xb).map((n=>{const o=xb[n];return Object(oa.jsxs)("div",{className:"shortcut-list",children:[Object(oa.jsx)("div",{className:"subtitle",children:t[n]}),Object(oa.jsx)("div",{className:"shortcuts",children:o.map((t=>{const n=e[t],o=this.renderShortcutSequence(n);return Object(oa.jsxs)("div",{className:"shortcut",children:[Object(oa.jsx)("div",{className:"name",children:n.title}),Object(oa.jsx)("div",{className:"keybinding",children:o})]})}))})]})}))},this.renderCategory=e=>{const{shortcuts:t}=this.props;return xb[e].map((e=>{const n=t[e];return Object(oa.jsxs)("div",{className:"shortcut",children:[Object(oa.jsx)("div",{className:"name",children:n.title}),Object(oa.jsx)("div",{className:"keybinding",children:this.renderShortcutSequence(n)})]},e)}))}}render(){const{name:e,onClose:t}=this.props,n=wb();return Object(oa.jsxs)(ad.a,{name:e,closeIcon:Object(oa.jsx)(Os.Close,{onClick:t}),children:[Object(oa.jsx)(ad.a.Header,{children:Object(ta.t)("shortcuts_modal.title")}),Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsxs)("div",{className:"shortcut-list",children:[Object(oa.jsx)("div",{className:"subtitle",children:n.editor}),Object(oa.jsxs)("div",{className:"shortcuts",children:[Object(oa.jsxs)("div",{className:"shortcut",children:[Object(oa.jsx)("div",{className:"name",children:Object(ta.t)("shortcuts.move_camera")}),Object(oa.jsxs)("div",{className:"keybinding",children:[Object(oa.jsx)(vb.a,{icon:"arrow-key-up"}),Object(oa.jsx)(vb.a,{icon:"arrow-key-down"}),Object(oa.jsx)(vb.a,{icon:"arrow-key-left"}),Object(oa.jsx)(vb.a,{icon:"arrow-key-down"})]})]}),Object(oa.jsxs)("div",{className:"shortcut",children:[Object(oa.jsx)("div",{className:"name",children:Object(ta.t)("shortcuts.toggle_colliders")}),Object(oa.jsx)("div",{className:"keybinding",children:Object(oa.jsx)(vb.a,{text:"c"})})]}),this.renderCategory("editor")]})]}),Object(oa.jsxs)("div",{className:"shortcut-list",children:[Object(oa.jsx)("div",{className:"subtitle",children:n.item}),Object(oa.jsx)("div",{className:"shortcuts",children:this.renderCategory("item")})]}),Object(oa.jsxs)("div",{className:"shortcut-list",children:[Object(oa.jsx)("div",{className:"subtitle",children:n.other}),Object(oa.jsx)("div",{className:"shortcuts",children:this.renderCategory("other")})]})]})]})}}var Tb=Object(i.connect)((e=>({shortcuts:Object(Xi.c)()})))(Ab),Rb=n(317),kb=n(1310);n(3568);const Nb=Object(Rb.getLocalStorage)(),Pb="Tutorial Step";class Ib extends Jo.PureComponent{constructor(){super(...arguments),this.state={step:0},this.slides=[{thumbnail:"tutorial_0",title:Object(ta.t)("tutorial_modal.slide0.title"),description:Object(oa.jsx)(ta.T,{id:"tutorial_modal.slide0.description",values:{br:Object(oa.jsx)("br",{})}})},{thumbnail:"tutorial_1",title:Object(ta.t)("tutorial_modal.slide1.title"),description:Object(oa.jsx)(ta.T,{id:"tutorial_modal.slide1.description",values:{br:Object(oa.jsx)("br",{})}})},{thumbnail:"tutorial_2",title:Object(ta.t)("tutorial_modal.slide2.title"),description:Object(oa.jsx)(ta.T,{id:"tutorial_modal.slide2.description",values:{br:Object(oa.jsx)("br",{})}})},{thumbnail:"tutorial_3",title:Object(ta.t)("tutorial_modal.slide3.title"),description:Object(oa.jsx)(ta.T,{id:"tutorial_modal.slide3.description",values:{br:Object(oa.jsx)("br",{})}})},{thumbnail:"tutorial_4",title:Object(ta.t)("tutorial_modal.slide4.title"),description:Object(oa.jsx)(ta.T,{id:"tutorial_modal.slide4.description",values:{br:Object(oa.jsx)("br",{})}})}],this.preventVideoContextMenu=Object(Xd.a)(),this.analytics=Object(k.getAnalytics)(),this.componentWillMount=()=>{this.analytics.track(Pb,{step:0})},this.handleSkip=()=>{this.analytics.track("Tutorial Skip"),Nb.setItem(kb.a,"1"),this.props.onClose()},this.renderSteps=()=>{const{step:e}=this.state,t=[];for(let n=0;n<this.slides.length;n++)t.push(Object(oa.jsx)("div",{className:"step "+(n===e?"active":""),onClick:()=>this.goToSlide(n)},`step-${n}`));return t},this.renderSlide=()=>{const{step:e}=this.state,t=this.slides[e];return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(ad.a.Header,{children:t.title}),Object(oa.jsx)(ad.a.Description,{children:t.description}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)("div",{className:"slide",onContextMenu:this.preventVideoContextMenu,children:this.slides.map(((t,n)=>{const o=n===e;return Object(oa.jsx)("video",{src:`/videos/${t.thumbnail}.mp4`,style:{display:o?"":"none"},preload:"auto",autoPlay:!0,muted:!0,loop:!0},n)}))})})]})},this.goToSlide=e=>{if(e===this.slides.length)return Nb.setItem(kb.a,"1"),this.props.onClose(),void this.analytics.track("Tutorial Complete",{suscribed:!1});this.setState({step:e}),this.analytics.track(Pb,{step:e})},this.handleNextStep=()=>{const e=this.state.step+1;this.goToSlide(e)},this.handlePreviousStep=()=>{const e=this.state.step-1;this.goToSlide(e)}}render(){const{name:e}=this.props,{step:t}=this.state;return Object(oa.jsxs)(ad.a,{name:e,onClose:this.handleSkip,closeIcon:Object(oa.jsx)(Os.Close,{onClick:this.handleSkip}),children:[this.renderSlide(),Object(oa.jsxs)(ad.a.Actions,{children:[0!==t?Object(oa.jsx)(Os.Button,{onClick:this.handlePreviousStep,secondary:!0,children:Object(ta.t)("global.back")}):Object(oa.jsx)("div",{className:"spacer"}),Object(oa.jsx)("div",{className:"steps",children:this.renderSteps()}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleNextStep,children:t===this.slides.length-1?Object(ta.t)("global.done"):Object(ta.t)("global.next")})]})]})}}var Lb=Object(i.connect)(null,(e=>({onClose:()=>e(Object(bo.closeModal)("TutorialModal"))})))(Ib);class Mb extends ea.a.PureComponent{render(){const{isLoading:e,metadata:t,onClose:n,onUnsetENSContent:o}=this.props,{ens:a,land:i}=t;return Object(oa.jsxs)(ad.a,{size:"tiny",children:[Object(oa.jsx)(ad.a.Header,{children:Object(ta.t)("land_detail_page.unset_ens_content.title")}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)(ta.T,{id:"land_detail_page.unset_ens_content.text",values:{link:a.subdomain,land:i.name}})}),Object(oa.jsxs)(ad.a.Actions,{children:[Object(oa.jsx)(Os.Button,{onClick:n,children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,onClick:()=>o(a,i),loading:e,disabled:e,children:Object(ta.t)("global.proceed")})]})]})}}var Db=Object(i.connect)((e=>({isLoading:Object(Hi.isLoadingType)(Object(cs.l)(e),dt.B)})),(e=>({onUnsetENSContent:t=>e(Object(dt.gb)(t))})))(Mb);class Fb extends Jo.PureComponent{constructor(){super(...arguments),this.handleSubmit=()=>{const{onSubmit:e,address:t}=this.props,{newName:n}=this.props.metadata;t&&e(t,n)}}render(){const{onClose:e,isLoading:t,aliases:n,name:o,hasClaimedName:a,error:i}=this.props,{newName:r}=this.props.metadata,s=r===(n.length>0?n[0].name:"")&&a&&!t;return Object(oa.jsxs)(ad.a,{name:r,onClose:e,size:"tiny",children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("use_as_alias_modal.title"),subtitle:Object(ta.t)("use_as_alias_modal.subtitle"),onClose:e}),Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsx)("p",{children:i?Object(oa.jsx)(ta.T,{id:"use_as_alias_modal.error"}):s?Object(oa.jsx)(ta.T,{id:"use_as_alias_modal.success",values:{name:Object(oa.jsx)("b",{children:r})}}):Object(oa.jsx)(ta.T,{id:"use_as_alias_modal.body",values:{newName:Object(oa.jsx)("b",{children:r}),oldName:Object(oa.jsx)("b",{children:o})}})})}),Object(oa.jsx)(Os.ModalActions,{children:s||i?Object(oa.jsx)(Os.Button,{primary:!0,onClick:e,children:i?Object(ta.t)("global.close"):Object(ta.t)("global.done")}):Object(oa.jsx)(Os.Button,{primary:!0,loading:t,onClick:this.handleSubmit,children:Object(ta.t)("global.confirm")})})]})}}var Ub=Object(i.connect)((e=>({isLoading:Object(us.isLoadingSetProfileAvatarAlias)(e),error:Object(us.getError)(e),aliases:Object(cs.a)(e),hasClaimedName:Object(ti.c)(e),name:Object(ti.d)(e)||"",address:Object(I.getAddress)(e)})),(e=>({onSubmit:(t,n)=>e(Object(mo.setProfileAvatarAliasRequest)(t,n))})))(Fb);n(3569);class Bb extends Jo.PureComponent{render(){const{name:e,onClose:t}=this.props;return Object(oa.jsxs)(ad.a,{name:e,closeIcon:Object(oa.jsx)(Os.Close,{onClick:t}),children:[Object(oa.jsx)(ad.a.Header,{children:Object(ta.t)("video_modal.title")}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${Object(ta.t)("video_modal.youtube_id")}`,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",title:Object(ta.t)("video_modal.title"),allowFullScreen:!0})})]})}}var zb=Bb,Hb=n(878);n(3570);const Wb="unassign";class Gb extends ea.a.PureComponent{constructor(){var e;super(...arguments),this.state={assignee:(null===(e=this.props.curation)||void 0===e?void 0:e.assignee)||this.props.address||null},this.handleOnSubmit=()=>{const{onSetAssignee:e,metadata:t,curation:n}=this.props,{assignee:o}=this.state;e(t.collectionId,o!==Wb?o:null,n)},this.handleChangeAssignee=(e,t)=>{this.setState({assignee:`${t.value}`})},this.handleClose=()=>{const{onClose:e}=this.props;e()}}render(){const{name:e,metadata:t,isLoading:n,committeeMembers:o,collection:a,address:i,profiles:r}=this.props,{type:s}=t,{assignee:c}=this.state,l=s===wl.a.REASSIGN;return Object(oa.jsxs)(ad.a,{name:e,onClose:this.handleClose,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(oa.jsx)("strong",{children:Object(oa.jsx)(ta.T,{id:`curation_page.assign_modal.${s}.title`,values:{collection_name:null===a||void 0===a?void 0:a.name}})}),onClose:this.handleClose}),Object(oa.jsxs)(Os.Form,{onSubmit:this.handleOnSubmit,children:[Object(oa.jsxs)(ad.a.Content,{children:[Object(oa.jsx)("div",{className:"details",children:l?Object(ta.t)("curation_page.assign_modal.reassign.body"):Object(ta.t)("curation_page.assign_modal.self_assign.body",{emphasis:Object(oa.jsxs)("b",{children:[" ",Object(ta.t)("curation_page.assign_modal.self_assign.emphasis")," "]})})}),l?Object(oa.jsx)(Os.SelectField,{loading:n,label:Object(ta.t)("curation_page.curator"),value:null!==c&&void 0!==c?c:Wb,options:[Wb,...o].map((e=>{var t,n;return{value:e,text:e===Wb?`- ${Object(ta.t)("curation_page.assign_modal.unassign")} -`:e===i?`${r[i]?r[i].avatars[0].name:e} (${Object(ta.t)("collection_row.you")})`:null!==(t=null===(n=r[e])||void 0===n?void 0:n.avatars[0].name)&&void 0!==t?t:e}})),onChange:this.handleChangeAssignee}):null]}),Object(oa.jsxs)(ad.a.Actions,{children:[Object(oa.jsx)(Os.Button,{secondary:!0,onClick:this.handleClose,type:"button",children:Object(ta.t)("global.cancel")}),Object(oa.jsx)(Os.Button,{primary:!0,type:"submit",loading:n,children:Object(ta.t)("global.confirm")})]})]})]})}}var Yb=Object(i.connect)(((e,t)=>({profiles:Object(us.getData)(e),collection:Object(ji.b)(e,t.metadata.collectionId),curation:Object(yi.b)(e)[t.metadata.collectionId],committeeMembers:Object(Hb.a)(e),isLoading:Object(Hi.isLoadingType)(Object(yi.d)(e),$e.q)||Object(Hi.isLoadingType)(Object(us.getLoading)(e),mo.LOAD_PROFILE_REQUEST),address:Object(I.getAddress)(e)})),(e=>({onSetAssignee:(t,n,o)=>e(Object($e.I)(t,n,o))})))(Gb);n(3571);class Qb extends Jo.PureComponent{constructor(){super(...arguments),this.handleChange=(e,t)=>{const{collections:n,onChange:o}=this.props,a=n.find((e=>e.id===t.value));a&&o(a)}}componentDidMount(){const{address:e,onFetchCollections:t,fetchCollectionParams:n}=this.props;e&&t(e,n)}getOptions(){const{collections:e,filter:t}=this.props,n=t?e.filter(t):e,o=[];for(const a of n)o.push({value:a.id,text:a.name});return o}renderTrigger(e){const{value:t,placeholder:n}=this.props;return t?Object(oa.jsx)(Os.Row,{className:"selected-item",children:Object(oa.jsx)("div",{className:"name",children:t.name})}):e.length>0?Object(oa.jsx)("p",{className:"placeholder",children:n||Object(oa.jsxs)(oa.Fragment,{children:[Object(ta.t)("collection_dropdown.placeholder"),"\u2026"]})}):Object(oa.jsx)("p",{className:"no-items",children:Object(ta.t)("collection_dropdown.no_collections")})}render(){const{isDisabled:e,isLoading:t}=this.props,n=this.getOptions();return t?Object(oa.jsx)(Os.Loader,{active:!0,size:"mini"}):Object(oa.jsx)(Os.Dropdown,{className:"CollectionDropdown",trigger:this.renderTrigger(n),inline:!0,direction:"right",options:n,onChange:this.handleChange,scrolling:n.length>4,disabled:e||n.length<=0})}}var Vb=Object(i.connect)((e=>({address:Object(I.getAddress)(e),collections:Object(ji.a)(e),isLoading:Object(Hi.isLoadingType)(Object(ji.i)(e),He.h)})),(e=>({onFetchCollections:(t,n)=>e(Object(He.Q)(t,n,!0))})))(Qb);class qb extends Jo.PureComponent{constructor(){super(...arguments),this.state={},this.handleChangeCollection=e=>{this.setState({collection:e})}}render(){const{name:e,onClose:t,onSubmit:n,metadata:o,isLoading:a}=this.props,{item:i}=o,{collection:r}=this.state;return Object(oa.jsxs)(ad.a,{name:e,onClose:t,size:"tiny",children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("move_item_to_collection_modal.title"),subtitle:Object(ta.t)("move_item_to_collection_modal.subtitle"),onClose:t}),Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsx)(Vb,{value:r,onChange:this.handleChangeCollection,filter:e=>!Object(We.v)(e)&&!e.isPublished,fetchCollectionParams:{isPublished:!1}})}),Object(oa.jsx)(Os.ModalActions,{children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:()=>r&&n(i,r.id),loading:a,disabled:!i||!r,children:Object(ta.t)("move_item_to_collection_modal.confirm")})})]})}}var Xb=Object(i.connect)((e=>({isLoading:Object(Hi.isLoadingType)(Object(ei.i)(e),ot.I)})),(e=>({onSubmit:(t,n)=>e(Object(ot.Ib)(t,n))})))(qb);n(3572);var $b=e=>{const{name:t,onClose:n,metadata:o,isLoading:a}=e,{item:i,fromCollection:r}=o,[s,c]=Object(Jo.useState)(),l=Object(Jo.useCallback)((e=>{c(e)}),[]),d=Object(Jo.useCallback)((()=>{const{onSubmit:t}=e;s&&t(i,s.id)}),[s,i,e]);return Object(oa.jsxs)(ad.a,{name:t,onClose:n,size:"tiny",closeOnDimmerClick:!1,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("move_item_to_another_collection_modal.title"),subtitle:Object(ta.t)("move_item_to_another_collection_modal.subtitle"),onClose:n}),Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)("p",{className:"collection-dropdown-label",children:Object(ta.t)("item.collection")}),Object(oa.jsx)(Vb,{value:s,onChange:l,filter:e=>!Object(We.v)(e)&&!e.isPublished&&e.id!==r.id,fetchCollectionParams:{isPublished:!1}})]})}),Object(oa.jsxs)(Os.ModalActions,{children:[Object(oa.jsx)(Os.Button,{primary:!0,onClick:d,loading:a,disabled:a||!i||!s,children:Object(ta.t)("move_item_to_another_collection_modal.confirm")}),Object(oa.jsx)(Os.Button,{secondary:!0,onClick:()=>s&&n(),loading:a,disabled:a,children:Object(ta.t)("move_item_to_another_collection_modal.cancel")})]})]})};var Kb=Object(i.connect)((e=>({isLoading:Object(Hi.isLoadingType)(Object(ei.i)(e),ot.I)})),(e=>({onSubmit:(t,n)=>e(Object(ot.Jb)(t,n))})))($b);n(3573);class Zb extends ea.a.PureComponent{constructor(){super(...arguments),this.state=this.getInitialState(),this.handleDropAccepted=e=>{this.setState({file:e.file,view:Cu.THUMBNAIL})},this.handleOnSaveThumbnail=e=>{const{metadata:t,onClose:n}=this.props,{onSaveThumbnail:o}=t;o(e),n()},this.handleOnBack=()=>{const{metadata:{item:e},onClose:t}=this.props;e?t():this.setState({view:Cu.IMPORT})}}getInitialState(){return{view:this.props.metadata.item?Cu.THUMBNAIL:Cu.IMPORT,file:null,error:"",isLoading:!1}}renderModalTitle(){return Object(ta.t)("create_single_item_modal.thumbnail_step_title")}renderThumbnailView(){const{onClose:e,metadata:{item:t}}=this.props,{file:n,isLoading:o}=this.state;let a;return n?a={blob:Zo({file:n})}:t&&(a={base64s:[Object(st.q)(t)]}),Object(oa.jsx)(Iu,{isLoading:o,title:this.renderModalTitle(),onBack:this.handleOnBack,onSave:this.handleOnSaveThumbnail,onClose:e,...a})}renderImportView(){const{metadata:e,onClose:t}=this.props,{isLoading:n}=this.state;return Object(oa.jsx)(Nu,{title:this.renderModalTitle(),collection:e.collection,isLoading:n,onDropAccepted:this.handleDropAccepted,onClose:t})}renderView(){switch(this.state.view){case Cu.IMPORT:return this.renderImportView();case Cu.THUMBNAIL:return this.renderThumbnailView();default:return null}}render(){const{name:e,onClose:t}=this.props;return Object(oa.jsx)(ad.a,{name:e,onClose:t,children:this.renderView()})}}var Jb=Zb,eh=n(519),th=n.n(eh);class nh extends ea.a.PureComponent{constructor(){super(...arguments),this.handleNavigateToExplorer=(e,t)=>{const{metadata:n,onClose:o}=this.props,a=Object(We.m)({collectionId:n.collectionId,item_ids:n.itemIds,position:{x:e,y:t}});window.open(a,"_blank,noreferrer"),o()},this.renderOption=(e,t,n,o)=>Object(oa.jsxs)("div",{className:th.a.option,children:[Object(oa.jsx)(Os.Header,{className:th.a.headers,as:"h2",children:e}),Object(oa.jsx)(Os.Header,{className:th.a.headers,as:"h4",children:t}),Object(oa.jsx)("div",{className:th.a.imageWrapper,children:Object(oa.jsx)("div",{className:Vd()(th.a.image,o)})}),Object(oa.jsx)(Os.Button,{primary:!0,fluid:!0,size:"small",onClick:()=>this.handleNavigateToExplorer(n.x,n.y),children:Object(ta.t)("see_in_world_modal.jump_in")})]})}render(){const{onClose:e}=this.props;return Object(oa.jsxs)(ad.a,{size:"small",onClose:e,"aria-modal":!0,role:"dialog",children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("see_in_world_modal.title"),subtitle:Object(ta.t)("see_in_world_modal.subtitle"),onClose:e}),Object(oa.jsx)(Os.ModalContent,{children:Object(oa.jsxs)("div",{className:th.a.content,children:[this.renderOption(Object(ta.t)("see_in_world_modal.empty_parcel.title"),Object(ta.t)("see_in_world_modal.empty_parcel.subtitle"),{x:100,y:100},th.a.emptyParcel),this.renderOption(Object(ta.t)("see_in_world_modal.genesis.title"),Object(ta.t)("see_in_world_modal.genesis.subtitle"),{x:0,y:0},th.a.genesis)]})})]})}}var oh=nh,ah=n(1842),ih=n(1328),rh=n.n(ih);var sh=function(e){let{onClose:t}=e;return Object(oa.jsxs)(ad.a,{onClose:t,"aria-modal":!0,role:"dialog",closeIcon:Object(oa.jsx)(Os.Close,{}),className:rh.a.modal,children:[Object(oa.jsx)("h2",{className:rh.a.title,children:Object(ta.t)("scenes_page.choose_scene_creation")}),Object(oa.jsx)(ah.a,{})]})};let ch;!function(e){e.VIEW_VIDEO="view_video",e.UPLOAD_VIDEO="upload_video"}(ch||(ch={}));n(3574);class lh extends ea.a.PureComponent{constructor(){super(...arguments),this.state=this.getInitialState(),this.handleDropAccepted=e=>{this.setState({video:e.contents[$o.v]})},this.handleOnSaveVideo=()=>{const{metadata:e,onClose:t}=this.props,{onSaveVideo:n}=e,{video:o}=this.state;o&&(n(o),t())},this.handleOnEdit=()=>{this.setState({view:ch.UPLOAD_VIDEO})}}getInitialState(){var e;const{metadata:t}=this.props,n=!($o.v in t.item.contents);return{video:null,view:(null!==(e=null===t||void 0===t?void 0:t.view)&&void 0!==e?e:n)?ch.UPLOAD_VIDEO:ch.VIEW_VIDEO}}renderModalTitle(){return Object(ta.t)("create_single_item_modal.upload_video_step_title")}renderViewVideoStep(){const{metadata:e,onClose:t}=this.props,{item:n,viewOnly:o}=e;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("video_showcase_modal.title"),onClose:t}),Object(oa.jsx)(ad.a.Content,{children:Object(oa.jsx)("video",{src:Object(at.L)(n),preload:"auto",controls:!0,controlsList:"nodownload noremoteplayback noplaybackrate",disablePictureInPicture:!0})}),!o&&Object(oa.jsx)(ad.a.Actions,{children:Object(oa.jsx)(Os.Column,{align:"right",children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:this.handleOnEdit,children:Object(ta.t)("global.edit")})})})]})}render(){const{name:e,onClose:t}=this.props,{view:n}=this.state;return Object(oa.jsx)(ad.a,{name:e,onClose:t,children:n===ch.VIEW_VIDEO?this.renderViewVideoStep():n===ch.UPLOAD_VIDEO?Object(oa.jsx)(Fu,{title:this.renderModalTitle(),onClose:t,onDropAccepted:this.handleDropAccepted,onSaveVideo:this.handleOnSaveVideo}):null})}}var dh=lh,uh=n(1838),ph=n(760),mh=n.n(ph);const bh=Object(Rb.getLocalStorage)(),hh=e=>{let{name:t,onClose:n}=e;const o=()=>{bh.setItem(uh.a,"1"),n()};return Object(oa.jsxs)(ad.a,{className:mh.a.modal,name:t,onClose:o,children:[Object(oa.jsx)(Os.ModalNavigation,{title:Object(ta.t)("emotes_v2_announcement_modal.title"),onClose:o}),Object(oa.jsxs)(ad.a.Content,{className:mh.a.content,children:[Object(oa.jsx)("video",{autoPlay:!0,loop:!0,className:mh.a.video,src:"/videos/emotes-v2.mp4",muted:!0,preload:"auto"}),Object(oa.jsx)("span",{className:mh.a.description,children:Object(ta.t)("emotes_v2_announcement_modal.description",{br:()=>Object(oa.jsx)("br",{}),b:e=>Object(oa.jsx)("b",{children:e})})})]}),Object(oa.jsx)(ad.a.Actions,{className:mh.a.actions,children:Object(oa.jsx)(Os.Button,{primary:!0,onClick:()=>{o(),window.open("https://docs.decentraland.org/creator/emotes/props-and-sounds/","_blank","noopener noreferrer")},children:Object(ta.t)("emotes_v2_announcement_modal.learn_more")})})]})};var fh=ea.a.memo(hh),yh=n(205);const _h=Object(ki.a)(I.getData,(e=>e?{...e,address:e.address.toLowerCase()}:null)),gh=e=>{const{isConnecting:t,wallet:n,...o}=e,{pathname:a,search:i}=Object(yh.g)();return t||n?Object(oa.jsx)(yh.b,{...o}):Object(oa.jsx)(yh.a,{to:Va.a.signIn(`${a}${i}`)})};var jh=ea.a.memo(gh);var Oh=Object(i.connect)((e=>({wallet:_h(e),isConnecting:Object(I.isConnecting)(e)})))(jh),vh=n(1919),Ch=n.n(vh);const xh=S.a.get("INTERCOM_APP_ID",""),wh=Object(k.getAnalytics)();var Eh=()=>{const[e,t]=Object(Jo.useState)(),n=Object(Jo.useCallback)((()=>{const n=Object(k.getAnonymousId)();n&&t({...e,anon_id:n})}),[e]);return Object(Jo.useEffect)((()=>{wh.ready(n)}),[n]),Object(oa.jsx)(Ch.a,{appId:xh,data:e,settings:{alignment:"right"}})},Sh=n(330),Ah=n(329),Th=n(628);n(3586);const Rh=Th.IntercomWidget.getInstance();class kh extends Jo.PureComponent{constructor(){super(...arguments),this.analytics=Object(k.getAnalytics)(),this.handleOnClick=()=>{const{stackTrace:e}=this.props,t=e.split("\n");Rh.showNewMessage(`Hey! I just ran into this error using the Builder:\n${t[0]+t[1]}`)},this.handleSelectText=e=>{e.currentTarget.focus(),e.currentTarget.select()}}componentDidMount(){document.body.classList.add("error-body"),this.analytics.track("Error page",{})}componentWillUnmount(){document.body.classList.remove("error-body")}render(){const{stackTrace:e}=this.props;return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Ah.a,{isFullscreen:!0}),Object(oa.jsx)(Os.Page,{isFullscreen:!0,children:Object(oa.jsxs)("div",{className:"ErrorPage",children:[Object(oa.jsx)("h1",{className:"title",children:Object(ta.t)("error_page.title")}),Object(oa.jsx)("p",{className:"subtitle",children:Object(ta.t)("error_page.subtitle")}),Object(oa.jsx)("textarea",{className:"trace",cols:70,rows:10,value:e,onClick:this.handleSelectText,readOnly:!0}),Object(oa.jsx)(Os.Button,{className:"back",onClick:this.handleOnClick,primary:!0,children:Object(ta.t)("error_page.support")}),Object(oa.jsxs)("span",{className:"suggestion",children:[Object(ta.t)("error_page.or")," ",Object(oa.jsx)("a",{href:".",children:Object(ta.t)("error_page.reload")})]})]})}),Object(oa.jsx)(Sh.a,{isFullscreen:!0})]})}}var Nh=Object(i.connect)((e=>({})),(e=>({onNavigate:t=>e(Object(Fe.e)(t))})))(kh),Ph=n(547);n(3587);class Ih extends Jo.PureComponent{componentDidMount(){document.body.classList.add("mobile-body")}componentWillUnmount(){document.body.classList.remove("mobile-body")}render(){return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Ah.a,{isFullscreen:!0,isOverlay:!0}),Object(oa.jsx)(Os.Page,{isFullscreen:!0,className:"MobilePage",children:Object(oa.jsxs)(Os.Container,{children:[Object(oa.jsx)("div",{className:"slot-image"}),Object(oa.jsx)("h2",{children:Object(ta.t)("mobile_page.title")}),Object(oa.jsx)("span",{children:Object(ta.t)("mobile_page.list_title")}),Object(oa.jsxs)(Os.List,{children:[Object(oa.jsxs)(Os.List.Item,{children:[Object(oa.jsx)("div",{className:"icon dress-icon"}),Object(oa.jsx)(Os.List.Content,{content:Object(ta.t)("mobile_page.first_paragraph",{bold_text:Object(oa.jsx)("b",{children:Object(ta.t)("mobile_page.first_paragraph_bold_text")})})})]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(oa.jsx)("div",{className:"icon tools-icon"}),Object(oa.jsx)(Os.List.Content,{content:Object(ta.t)("mobile_page.second_paragraph",{bold_text:Object(oa.jsx)("b",{children:Object(ta.t)("mobile_page.second_paragraph_bold_text")})})})]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(oa.jsx)("div",{className:"icon landscape-icon"}),Object(oa.jsx)(Os.List.Content,{content:Object(ta.t)("mobile_page.third_paragraph",{bold_text:Object(oa.jsx)("b",{children:Object(ta.t)("mobile_page.third_paragraph_bold_text")})})})]}),Object(oa.jsxs)(Os.List.Item,{children:[Object(oa.jsx)("div",{className:"icon cat-icon"}),Object(oa.jsx)(Os.List.Content,{content:Object(ta.t)("mobile_page.fourth_paragraph",{bold_text:Object(oa.jsx)("b",{children:Object(ta.t)("mobile_page.fourth_paragraph_bold_text")})})})]})]}),Object(oa.jsx)(Os.Button,{inverted:!0,primary:!0,as:"a",href:"https://docs.decentraland.org/creator",rel:"noopener noreferrer",target:"_blank",content:Object(ta.t)("global.learn_more")})]})}),Object(oa.jsx)(Sh.a,{})]})}}var Lh=Ih;n(3588);class Mh extends Jo.PureComponent{constructor(){super(...arguments),this.analytics=Object(k.getAnalytics)(),this.handleOnClick=()=>{this.props.onNavigate(Va.a.root())}}componentDidMount(){document.body.classList.add("notfound-body"),this.analytics.track("Not found page",{})}componentWillUnmount(){document.body.classList.remove("notfound-body")}render(){return Object(oa.jsxs)("div",{className:"UnsupportedBrowserPage",children:[Object(oa.jsx)("h1",{className:"title",children:Object(ta.t)("unsupported_browser_page.title")}),Object(oa.jsx)("p",{className:"subtitle",children:Object(oa.jsx)(ta.T,{id:"unsupported_browser_page.subtitle",values:{br:Object(oa.jsx)("br",{}),chrome:Object(oa.jsx)("a",{href:"https://www.google.com/chrome/",children:"Google Chrome"}),firefox:Object(oa.jsx)("a",{href:"https://www.google.com/chrome/",children:"Mozilla Firefox"})}})})]})}}var Dh=Object(i.connect)((e=>({})),(e=>({onNavigate:t=>e(Object(Fe.e)(t))})))(Mh);const Fh=Jo.lazy((()=>n.e(17).then(n.bind(null,4035)))),Uh=Jo.lazy((()=>n.e(34).then(n.bind(null,4053)))),Bh=Jo.lazy((()=>n.e(35).then(n.bind(null,4043)))),zh=Jo.lazy((()=>Promise.resolve().then(n.bind(null,1841)))),Hh=Jo.lazy((()=>n.e(33).then(n.bind(null,4054)))),Wh=Jo.lazy((()=>n.e(23).then(n.bind(null,4036)))),Gh=Jo.lazy((()=>n.e(20).then(n.bind(null,4034)))),Yh=Jo.lazy((()=>n.e(19).then(n.bind(null,4037)))),Qh=Jo.lazy((()=>n.e(16).then(n.bind(null,4031)))),Vh=Jo.lazy((()=>n.e(6).then(n.bind(null,4032)))),qh=Jo.lazy((()=>n.e(14).then(n.bind(null,4044)))),Xh=Jo.lazy((()=>n.e(11).then(n.bind(null,4045)))),$h=Jo.lazy((()=>n.e(28).then(n.bind(null,4038)))),Kh=Jo.lazy((()=>n.e(31).then(n.bind(null,4039)))),Zh=Jo.lazy((()=>n.e(24).then(n.bind(null,4029)))),Jh=Jo.lazy((()=>n.e(25).then(n.bind(null,4046)))),ef=Jo.lazy((()=>n.e(13).then(n.bind(null,4040)))),tf=Jo.lazy((()=>n.e(10).then(n.bind(null,4041)))),nf=Jo.lazy((()=>n.e(22).then(n.bind(null,4047)))),of=Jo.lazy((()=>n.e(12).then(n.bind(null,4042)))),af=Jo.lazy((()=>n.e(18).then(n.bind(null,4030)))),rf=Jo.lazy((()=>n.e(29).then(n.bind(null,4048)))),sf=Jo.lazy((()=>n.e(7).then(n.bind(null,4027)))),cf=Jo.lazy((()=>n.e(32).then(n.bind(null,4049)))),lf=Jo.lazy((()=>n.e(15).then(n.bind(null,4050)))),df=Jo.lazy((()=>n.e(8).then(n.bind(null,4026)))),uf=Jo.lazy((()=>n.e(9).then(n.bind(null,4028)))),pf=Jo.lazy((()=>n.e(4).then(n.bind(null,4025)))),mf=Jo.lazy((()=>n.e(21).then(n.bind(null,4033)))),bf=Jo.lazy((()=>n.e(30).then(n.bind(null,4051)))),hf=Jo.lazy((()=>n.e(26).then(n.bind(null,4052))));class ff extends Jo.Component{constructor(){super(...arguments),this.state={hasError:!1,stackTrace:""}}componentDidCatch(e){this.setState({hasError:!0,stackTrace:e.stack||"No details avaibale"})}componentDidMount(){document.body.classList.remove("loading-overlay")}renderMaintenancePage(){return Object(oa.jsxs)(oa.Fragment,{children:[Object(oa.jsx)(Ah.a,{}),Object(oa.jsx)(Os.Page,{children:Object(oa.jsxs)(Os.Center,{children:["\ud83d\udea7 ",Object(ta.t)("maintainance.notice")," \ud83d\udea7"]})}),Object(oa.jsx)(Sh.a,{})]})}renderRoutes(){const{inMaintenance:e,isWorldsForEnsOwnersEnabled:t}=this.props,{hasError:n,stackTrace:o}=this.state;if(te.a&&n)return Object(oa.jsx)(Nh,{stackTrace:o});if(window.navigator.userAgent.includes("Edge"))return Object(oa.jsx)(Dh,{});if(e)return this.renderMaintenancePage();const a=t?Zh:Kh;return Object(oa.jsxs)(Jo.Suspense,{fallback:Object(oa.jsx)(Os.Loader,{size:"huge",active:!0}),children:[Object(oa.jsx)(Os.Responsive,{maxWidth:1024,as:Jo.Fragment,children:Object(oa.jsxs)(yh.d,{children:[Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.poolSearch(),component:Gh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.sceneView(),component:Yh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.poolView(),component:Yh}),Object(oa.jsx)(yh.b,{component:Lh})]})}),Object(oa.jsx)(Os.Responsive,{minWidth:1025,as:Jo.Fragment,children:Object(oa.jsxs)(yh.d,{children:[Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.root(),component:Uh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.notFound(),component:zh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.sceneEditor(),component:Hh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.inspector(),component:Wh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.poolSearch(),component:Gh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.sceneView(),component:Yh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.poolView(),component:Yh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.callback(),component:Ph.a}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.signIn(),component:Bh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.land(),component:Qh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.landDetail(),component:Vh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.landTransfer(),component:qh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.landEdit(),component:Xh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.landOperator(),component:of}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.activity(),component:af}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.settings(),component:rf}),Object(oa.jsx)(Oh,{exact:!0,path:Va.a.scenes(),component:Fh}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.sceneDetail(),component:sf}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.templates(),component:bf}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.templateDetail(),component:hf}),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.ens(),component:$h},1),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.claimENS(),component:Jh},2),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.landSelectENS(),component:ef},3),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.landAssignENS(),component:tf},4),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.ensSelectLand(),component:nf},5),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.worlds(),component:a}),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.collections(),component:cf},1),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.itemDetail(),component:lf},2),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.collectionDetail(),component:df},3),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.itemEditor(),component:pf},4),",",Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.curation(),component:mf},5),Object(oa.jsx)(yh.b,{exact:!0,path:Va.a.thirdPartyCollectionDetail(),component:uf},1),Object(oa.jsx)(yh.a,{to:Va.a.root()})]})})]})}renderIntercom(){return Object(oa.jsx)(Eh,{})}render(){return Object(oa.jsxs)(oa.Fragment,{children:[this.renderRoutes(),this.renderIntercom()]})}}var yf=Object(yh.h)(Object(i.connect)((e=>({inMaintenance:Object(wp.c)(e),isWorldsForEnsOwnersEnabled:Object(wp.f)(e)})),(e=>({})))(ff)),_f=n(3661),gf=n(3662),jf=n(3660);Object(_f.a)({environment:S.a.get("ENVIRONMENT"),release:`${S.a.get("SENTRY_RELEASE_PREFIX","builder")}@0.1.0`,dsn:S.a.get("SENTRY_DSN"),integrations:[new gf.a,new jf.a],tracesSampleRate:.001,replaysSessionSampleRate:.01,replaysOnErrorSampleRate:.01,enabled:!te.a});n(3590),n(3591),n(3592),n(3593),n(3594),n(3595),n(3596),n(3597),n(3598),n(3599);_.init(S.a.get("SSO_URL")),a.render(Object(oa.jsx)(i.Provider,{store:Xl,children:Object(oa.jsx)(s.DragDropContextProvider,{backend:l.a,children:Object(oa.jsx)(h.a,{locales:Object.keys(il),children:Object(oa.jsx)(y.a,{children:Object(oa.jsx)(r.a,{history:Ml,children:Object(oa.jsx)(u.a,{components:o,children:Object(oa.jsx)(m.a,{children:Object(oa.jsx)(yf,{})})})})})})})}),document.getElementById("root"))},361:function(e,t,n){"use strict";let o,a;n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),function(e){e.COLLECTION_DETAIL_BY_CONTRACT_ADDRESS="COLLECTION_DETAIL_BY_CONTRACT_ADDRESS"}(o||(o={})),function(e){e.COLLECTIONS="collections",e.TP_COLLECTIONS="thirdPartyCollections",e.DEPLOY_TO_WORLD="deployToWorld",e.CLAIM_NAME="claimName"}(a||(a={}))},366:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"i",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"h",(function(){return y})),n.d(t,"g",(function(){return _}));var o=n(48),a=n(42),i=n(70),r=n(84),s=n(397);const c=e=>e.thirdParty,l=e=>c(e).data,d=e=>c(e).loading,u=e=>c(e).error,p=e=>c(e).errors,m=Object(o.a)(l,a.getAddress,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.values(e).some((e=>Object(s.d)(t,e)))})),b=Object(o.a)(l,a.getAddress,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.values(e).filter((e=>e.managers.includes(t)))})),h=(e,t)=>{var n;return null!==(n=Object(s.b)(l(e),t))&&void 0!==n?n:null},f=(e,t)=>{var n;return null!==(n=Object(s.c)(l(e),t))&&void 0!==n?n:null},y=e=>Object(i.isLoadingType)(d(e),r.h),_=e=>Object(i.isLoadingType)(d(e),r.b)},370:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(2),a=n(35),i=n.n(a),r=n(1912),s=n.n(r),c=n(0);class l extends o.PureComponent{render(){const{className:e}=this.props;return Object(c.jsx)("i",{...this.props,className:i()(s.a.info,e)})}}},373:function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return f}));var o=n(5),a=n(43),i=n(65),r=n(96),s=n(54),c=n(79),l=n(94),d=n(120);const u={OSCTRL:"MacIntel"===navigator.platform?"command":"ctrl",SHIFT:"shift",SPACE:"space",DELETE:"del",BACKSPACE:"backspace"},p=()=>({[l.d.MOVE]:{type:"simple",value:"w",title:Object(o.t)("shortcuts.move")},[l.d.ROTATE]:{type:"simple",value:"e",title:Object(o.t)("shortcuts.rotate")},[l.d.SCALE]:{type:"simple",value:"r",title:Object(o.t)("shortcuts.scale")},[l.d.RESET_ITEM]:{type:"simple",value:"s",title:Object(o.t)("shortcuts.reset")},[l.d.DUPLICATE_ITEM]:{type:"simple",value:"d",title:Object(o.t)("shortcuts.duplicate")},[l.d.PREVIEW]:{type:"simple",value:"i",title:Object(o.t)("shortcuts.preview")},[l.d.TOGGLE_SIDEBAR]:{type:"simple",value:"p",title:Object(o.t)("shortcuts.toggle_sidebar")},[l.d.DELETE_ITEM]:{type:"alternative",value:[{type:"simple",value:u.DELETE,title:null},{type:"simple",value:u.BACKSPACE,title:null}],title:Object(o.t)("shortcuts.delete")},[l.d.UNDO]:{type:"combination",value:[u.OSCTRL,"z"],title:Object(o.t)("shortcuts.undo")},[l.d.REDO]:{type:"combination",value:[u.OSCTRL,u.SHIFT,"z"],title:Object(o.t)("shortcuts.redo")},[l.d.SHORTCUTS]:{type:"simple",value:"?",title:Object(o.t)("shortcuts.shortcut_reference")},[l.d.RESET_CAMERA]:{type:"simple",value:u.SPACE,title:Object(o.t)("shortcuts.reset_camera")},[l.d.ZOOM_IN]:{type:"alternative",value:[{type:"simple",value:"+",title:null},{type:"simple",value:"=",title:null}],title:Object(o.t)("shortcuts.zoom_in")},[l.d.ZOOM_OUT]:{type:"alternative",value:[{type:"simple",value:"-",title:null},{type:"simple",value:"_",title:null}],title:Object(o.t)("shortcuts.zoom_out")},[l.d.TOGGLE_SNAP_TO_GRID]:{type:"simple",value:"shift",title:Object(o.t)("shortcuts.precision"),hold:!0},[l.d.EXPORT_SCENE]:{type:"simple",value:"o",title:Object(o.t)("shortcuts.export")},[l.d.TOGGLE_MULTISELECTION]:{type:"simple",value:"ctrl",title:Object(o.t)("shortcuts.multiselect"),hold:!0}});function m(e){return"command"===e?"\u2318":e}function b(e){return"alternative"===e.type?[b(e.value[0])[0],b(e.value[1])[0]]:"combination"===e.type?[e.value.join("+")]:[e.value]}function h(e){const t=p();return[{combination:b(t[l.d.MOVE]),callback:()=>e.dispatch(Object(a.fb)(Object(r.h)(e.getState())===d.a.MOVE?d.a.NONE:d.a.MOVE)),action:"keyup"},{combination:b(t[l.d.ROTATE]),callback:()=>e.dispatch(Object(a.fb)(Object(r.h)(e.getState())===d.a.ROTATE?d.a.NONE:d.a.ROTATE)),action:"keyup"},{combination:b(t[l.d.SCALE]),callback:()=>e.dispatch(Object(a.fb)(Object(r.h)(e.getState())===d.a.SCALE?d.a.NONE:d.a.SCALE)),action:"keyup"},{combination:b(t[l.d.RESET_ITEM]),callback:()=>e.dispatch(Object(i.G)()),action:"keyup"},{combination:b(t[l.d.DUPLICATE_ITEM]),callback:()=>e.dispatch(Object(i.z)()),action:"keyup"},{combination:b(t[l.d.PREVIEW]),callback:()=>e.dispatch(Object(a.pb)(!Object(r.v)(e.getState()))),action:"keyup"},{combination:b(t[l.d.TOGGLE_SIDEBAR]),callback:()=>e.dispatch(Object(a.qb)(!Object(r.z)(e.getState()))),action:"keyup"},{combination:b(t[l.d.DELETE_ITEM]),callback:()=>e.dispatch(Object(i.x)()),action:"keyup"},{combination:b(t[l.d.UNDO]),callback:()=>e.dispatch(Object(a.O)()),action:"keydown"},{combination:b(t[l.d.REDO]),callback:()=>e.dispatch(Object(a.N)()),action:"keydown"},{combination:b(t[l.d.SHORTCUTS]),callback:()=>e.dispatch(Object(c.toggleModal)("ShortcutsModal")),action:"keyup"},{combination:b(t[l.d.RESET_CAMERA]),callback:()=>e.dispatch(Object(a.U)()),action:"keyup"},{combination:b(t[l.d.ZOOM_IN]),callback:()=>e.dispatch(Object(a.ub)()),action:"keyup"},{combination:b(t[l.d.ZOOM_OUT]),callback:()=>e.dispatch(Object(a.vb)()),action:"keyup"},{combination:b(t[l.d.TOGGLE_SNAP_TO_GRID]),callback:()=>e.dispatch(Object(a.rb)(!1)),action:"keydown"},{combination:b(t[l.d.TOGGLE_SNAP_TO_GRID]),callback:()=>e.dispatch(Object(a.rb)(!0)),action:"keyup"},{combination:b(t[l.d.EXPORT_SCENE]),callback:()=>e.dispatch(Object(c.openModal)("ExportModal",{project:Object(s.b)(e.getState())})),action:"keyup"},{combination:b(t[l.d.TOGGLE_MULTISELECTION]),callback:()=>e.dispatch(Object(a.ob)(!0)),action:"keydown"},{combination:b(t[l.d.TOGGLE_MULTISELECTION]),callback:()=>e.dispatch(Object(a.ob)(!1)),action:"keyup"}]}class f{constructor(){this.renderAlternative=(e,t)=>{const n=e.value;let o=[];if(t){const e=n[0];"combination"===e.type?o=[...o,...this.renderCombination(e)]:o.push(this.renderShortcut(e))}else for(let a=0;a<n.length;a++){const e=n[a];"combination"===e.type?o=[...o,...this.renderCombination(e)]:o.push(this.renderShortcut(e)),0===a&&o.push(this.renderOr())}return o}}renderCombination(e){const t=[];for(let n=0;n<e.value.length;n++){const o={type:"simple",value:e.value[n],title:e.title};t.push(this.renderShortcut(o)),n!==e.value.length-1&&t.push(this.renderPlus(n))}return t}renderSimple(e){const t=[];return e.hold&&t.push(this.renderHold()),t.push(this.renderShortcut(e)),t}}},376:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return r}));var o=n(286);n(509);function a(e,t){let n=!1;return e.layout&&t.layout&&(e.layout.rows&&e.layout.rows!==t.layout.rows&&(n=!0),e.layout.cols&&e.layout.cols!==t.layout.cols&&(n=!0)),n}function i(e,t,n){const{rows:o,cols:a}=e,i=[];switch(n){case"north":for(let e=t.x;e<t.x+a;e++)for(let n=t.y;n<t.y+o;n++){const t={x:e,y:n};i.push(t)}break;case"east":for(let e=t.x;e<t.x+o;e++)for(let n=t.y;n<t.y+a;n++)i.push({x:e,y:n});break;case"south":for(let e=t.x;e>t.x-a;e--)for(let n=t.y;n>t.y-o;n--)i.push({x:e,y:n});break;case"west":for(let e=t.x;e>t.x-o;e--)for(let n=t.y;n>t.y-a;n--)i.push({x:e,y:n})}return i}async function r(e){const t=new FileReader,n=await fetch(e,{headers:o.a}),a=await n.blob(),i=new Blob([a],{type:"image/png"}),r=new Promise(((e,n)=>{t.onload=()=>e(t.result),t.onerror=e=>n(e)}));return t.readAsDataURL(i),r}},380:function(e,t,n){e.exports={createdItems:"CreateAndEditMultipleItemsModal_createdItems__1hZBl",tablesContainer:"CreateAndEditMultipleItemsModal_tablesContainer__29VHk",itemDropZoneContainer:"CreateAndEditMultipleItemsModal_itemDropZoneContainer__3Gnma",rejectedFileReason:"CreateAndEditMultipleItemsModal_rejectedFileReason__3Vf5j",trashIcon:"CreateAndEditMultipleItemsModal_trashIcon__drirO",rejectedFilesInfo:"CreateAndEditMultipleItemsModal_rejectedFilesInfo__3UkZV",infoIcon:"CreateAndEditMultipleItemsModal_infoIcon__2Qmo0",modalContent:"CreateAndEditMultipleItemsModal_modalContent__1zENq",progressBarLabel:"CreateAndEditMultipleItemsModal_progressBarLabel__3z7Ec",progressBar:"CreateAndEditMultipleItemsModal_progressBar__1POm1",progressBarContainer:"CreateAndEditMultipleItemsModal_progressBarContainer__dBIt3",progressBarCancel:"CreateAndEditMultipleItemsModal_progressBarCancel__25Eih",saveItemsError:"CreateAndEditMultipleItemsModal_saveItemsError__2V0Zw"}},387:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return u}));var o=n(48),a=n(336),i=n(42),r=n(654),s=n(54);const c=Object(o.a)(s.b,r.a,a.getData,((e,t,n)=>e&&e.ethAddress&&n[e.ethAddress]?n[e.ethAddress]:t&&t.ethAddress&&n[t.ethAddress]?n[t.ethAddress]:null)),l=Object(o.a)(i.getAddress,a.getData,((e,t)=>{if(e){const n=t[e];if(n){const e=n.avatars[0];if(e)return e}}return null})),d=Object(o.a)(l,(e=>e&&e.name?e.name:null)),u=Object(o.a)(l,(e=>(null===e||void 0===e?void 0:e.hasClaimedName)||!1))},397:function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return p}));var o=n(31),a=n(4),i=n(289),r=n(103),s=n(93),c=n(92);function l(e,t){return t.managers.map((e=>e.toLowerCase())).includes(e.toLowerCase())}const d=(e,t)=>e[Object(c.g)(t.urn)],u=(e,t)=>t.urn?e[Object(c.g)(t.urn)]:void 0;function*p(e,t){const n=yield Object(a.call)(r.getChainIdByNetwork,o.Network.MATIC),c=yield Object(a.call)(r.getConnectedProvider);if(!c)throw new Error("Could not get a valid connected Wallet");const l=yield Object(a.call)(s.getContract,s.ContractName.ThirdPartyRegistry,n),d=i.utils.hexlify(i.utils.randomBytes(32)),u={name:l.name,verifyingContract:l.address,version:l.version,salt:i.utils.hexZeroPad(i.utils.hexlify(n),32)},p={thirdPartyId:e,qty:t,salt:d},m=JSON.stringify({domain:u,message:p,types:{EIP712Domain:[{name:"name",type:"string"},{name:"version",type:"string"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"}],ConsumeSlots:[{name:"thirdPartyId",type:"string"},{name:"qty",type:"uint256"},{name:"salt",type:"bytes32"}]},primaryType:"ConsumeSlots"}),b=(yield Object(a.call)([c,"request"],{method:"eth_requestAccounts",params:[],jsonrpc:"2.0"}))[0];return{signature:yield Object(a.call)([c,"request"],{method:"eth_signTypedData_v4",params:[b,m],jsonrpc:"2.0"}),salt:d}}},40:function(e,t,n){"use strict";n.d(t,"d",(function(){return f})),n.d(t,"f",(function(){return y})),n.d(t,"h",(function(){return _})),n.d(t,"g",(function(){return g})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return v})),n.d(t,"i",(function(){return C})),n.d(t,"C",(function(){return x})),n.d(t,"D",(function(){return w})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return S})),n.d(t,"u",(function(){return A})),n.d(t,"F",(function(){return T})),n.d(t,"H",(function(){return R})),n.d(t,"G",(function(){return k})),n.d(t,"O",(function(){return N})),n.d(t,"cb",(function(){return I})),n.d(t,"r",(function(){return L})),n.d(t,"Y",(function(){return D})),n.d(t,"E",(function(){return F})),n.d(t,"eb",(function(){return U})),n.d(t,"p",(function(){return B})),n.d(t,"q",(function(){return z})),n.d(t,"bb",(function(){return H})),n.d(t,"R",(function(){return W})),n.d(t,"X",(function(){return G})),n.d(t,"n",(function(){return Y})),n.d(t,"m",(function(){return Q})),n.d(t,"l",(function(){return V})),n.d(t,"K",(function(){return q})),n.d(t,"L",(function(){return X})),n.d(t,"P",(function(){return $})),n.d(t,"I",(function(){return K})),n.d(t,"T",(function(){return Z})),n.d(t,"J",(function(){return ee})),n.d(t,"M",(function(){return ne})),n.d(t,"v",(function(){return oe})),n.d(t,"w",(function(){return ae})),n.d(t,"z",(function(){return ie})),n.d(t,"y",(function(){return re})),n.d(t,"S",(function(){return se})),n.d(t,"U",(function(){return ce})),n.d(t,"V",(function(){return le})),n.d(t,"W",(function(){return de})),n.d(t,"Z",(function(){return ue})),n.d(t,"db",(function(){return pe})),n.d(t,"j",(function(){return fe})),n.d(t,"Q",(function(){return ye})),n.d(t,"k",(function(){return _e})),n.d(t,"N",(function(){return ge})),n.d(t,"A",(function(){return je})),n.d(t,"B",(function(){return Oe})),n.d(t,"a",(function(){return ve})),n.d(t,"ab",(function(){return Ce})),n.d(t,"x",(function(){return xe})),n.d(t,"o",(function(){return we}));var o=n(289),a=n(31),i=n(5),r=n(391),s=n.n(r),c=n(139),l=n(287),d=n(115),u=n(118),p=n(853),m=n(92),b=n(286),h=n(27);const f=2097152,y=1048576,_=4194304,g=15,j=50,O=10,v=3145728,C=new Set([h.s.UNSYNCED,h.s.UNDER_REVIEW]);function x(e){return w(e.rarity)}function w(e){return h.q[e]}function E(e){const t=A(e),n=t.includes(a.BodyShape.MALE),o=t.includes(a.BodyShape.FEMALE);if(n&&o)return h.a.BOTH;if(n)return h.a.MALE;if(o)return h.a.FEMALE;throw new Error(`Couldn't find a valid representation: ${JSON.stringify(e.data.representations,null,2)}`)}function S(e){let t=!1,n=!1;for(const o in e)o.startsWith("male/")?t=!0:o.startsWith("female/")&&(n=!0);return t&&n?h.a.BOTH:t?h.a.MALE:n?h.a.FEMALE:null}function A(e){const t=new Set;for(const n of e.data.representations)for(const e of n.bodyShapes)t.add(e);return Array.from(t)}function T(e){const t=E(e);return t===h.a.MALE?h.a.FEMALE:t===h.a.FEMALE?h.a.MALE:null}function R(e){return e[0].mainFile}function k(e){return e.split("/").pop()}function N(e,t){return e.data.representations.some((e=>e.bodyShapes.includes(t)))}function P(e){return Object(m.e)(e).suffix}function I(e){switch(e){case a.BodyShape.MALE:return h.a.MALE;case a.BodyShape.FEMALE:return h.a.FEMALE}}function L(e){return e?{backgroundImage:`radial-gradient(${h.p[e]}, ${h.o[e]})`}:{backgroundColor:"#393840"}}function M(e){switch(e.type){case h.m.WEARABLE:return Object.keys(e.contents).some((e=>e.endsWith(".js")))?h.k.SMART_WEARABLE:h.k.WEARABLE;case h.m.EMOTE:return h.k.EMOTE}}function D(e){let{type:t,contents:n={}}=e;return!!t&&M({type:t,contents:n})===h.k.SMART_WEARABLE}function F(e){switch(e.type){case h.m.WEARABLE:{const t=e.data,n=A(e).map(P).join(",");if(!t.category)throw new Error(`Unknown item category "${JSON.stringify(e.data)}"`);return function(e,t,n,o,a,i){return`${e}:${t}:${n}:${o}:${a}:${i}`}(1,M(e),e.name,e.description,t.category,n)}case h.m.EMOTE:{const t=e.data,n=A(e).map(P).join(",");if(!t.category)throw new Error(`Unknown item category "${JSON.stringify(e.data)}"`);const o=function(e){let t="";return Object.keys(e.contents).some((e=>e.includes(".mp3")))&&(t=`${t}s`),e.metrics.props>0&&(t=`${t}g`),t}(e);return function(e,t,n,o,a,i,r,s){return`${e}:${t}:${n}:${o}:${a}:${i}:${r}${s?`:${s}`:""}`}(1,M(e),e.name,e.description,t.category,n,t.loop?1:0,o)}default:throw new Error(`Unknown item.type "${e.type}"`)}}function U(e){return e.reduce(((e,t)=>{const{collection:n,...o}=t;return e[t.id]=o,e}),{})}async function B(e,t){const n=await z(e,t);return{content:n,hash:await Object(l.a)(n)}}async function z(e,t){var n,o;const a=null!==(n=null===t||void 0===t?void 0:t.width)&&void 0!==n?n:512,i=null!==(o=null===t||void 0===t?void 0:t.height)&&void 0!==o?o:512;let r;if(null!==t&&void 0!==t&&t.thumbnail)r=t.thumbnail;else{const t=await fetch(Object(c.c)(e.contents[e.thumbnail]),{headers:b.a});if(!t.ok)throw new Error(`Error generating the image: ${t.statusText}`);r=await t.blob()}const l=document.createElement("canvas");l.width=a,l.height=i;const d=l.getContext("2d");if(!d||!e.rarity)return r;const u=d.createRadialGradient(a/2,i/2,0,a/2,i/2,a/1.75);u.addColorStop(0,h.p[e.rarity]),u.addColorStop(1,h.o[e.rarity]),d.fillStyle=u,d.fillRect(0,0,a,i);const p=document.createElement("img"),m=URL.createObjectURL(r),f=s()();p.onload=f.resolve,p.src=m,await f,URL.revokeObjectURL(m),d.drawImage(p,0,0,a,i);const y=s()();return l.toBlob((e=>e?y.resolve(e):y.reject(new Error("Error generating image blob")))),y}async function H(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:256,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:256;const o=document.createElement("canvas");o.width=t,o.height=n;const a=o.getContext("2d");if(!a)return e;const i=document.createElement("img"),r=URL.createObjectURL(e),c=s()();i.onload=c.resolve,i.src=r,await c,URL.revokeObjectURL(r),a.drawImage(i,0,0,t,n);const l=s()();return o.toBlob((e=>e?l.resolve(e):l.reject(new Error("Error generating image blob")))),l}function W(e){return void 0!==e.beneficiary&&void 0!==e.price&&(!D(e)||h.v in e.contents)}function G(e,t){return!!t&&Object(u.b)(e.owner,t)}function Y(e,t,n){return Object(d.g)(e,n)||G(t,n)}function Q(e,t,n){const o=t.totalSupply||0;return!!n&&t.isPublished&&t.isApproved&&o<x(t)&&(G(t,n)||Object(d.f)(e,n))}function V(e,t,n){return G(t,n)||Object(d.e)(e,n)}function q(e){return Object(c.c)(e.contents[e.thumbnail])}function X(e){return h.v in e.contents?Object(c.c)(e.contents[h.v]):""}function $(e,t){return!!(t||(e&&h.v in e.contents?X(e):""))}function K(){return h.l.schema.enum}function Z(e){return h.e.includes(e)}function J(){return a.WearableCategory.schema.enum.filter((e=>function(e){return!Z(e)}(e)))}function ee(){return[a.BodyPartCategory.HEAD,a.BodyPartCategory.HANDS,a.WearableCategory.HAIR,a.WearableCategory.FACIAL_HAIR,a.WearableCategory.MOUTH,a.WearableCategory.EYEBROWS,a.WearableCategory.EYES,a.WearableCategory.UPPER_BODY,a.WearableCategory.LOWER_BODY,a.WearableCategory.FEET]}function te(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object.keys(e);return t.some(le)?J():h.e}function ne(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Set([a.WearableCategory.BODY_SHAPE]);return te(e).filter((e=>!t.has(e)))}function oe(){return a.EmoteCategory.schema.enum}function ae(){return Object.values(h.c)}function ie(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=te(e);return t===a.WearableCategory.SKIN&&(n=n.filter((e=>!ee().includes(e)&&e!==a.WearableCategory.SKIN))),n}function re(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object.keys(e);return t.some(le)?a.BodyPartCategory.schema.enum:[]}function se(e){return"0"===e.price&&e.beneficiary===o.constants.AddressZero}function ce(e){return e.toLowerCase().endsWith(".png")}function le(e){return(e=e.toLowerCase()).endsWith(".gltf")||e.endsWith(".glb")}function de(e){const t=(e=e.toLowerCase()).includes("_mask");return le(e)||-1===e.indexOf(h.t)&&!t&&ce(e)}function ue(e){const t=new RegExp([":"].join("|"));return-1===e.search(t)}function pe(e){return e.sort(p.a).map(me)}function me(e){var t;return[e.rarity.toLowerCase(),e.price||"0",null!==(t=e.beneficiary)&&void 0!==t?t:o.constants.AddressZero,F(e)]}function be(e,t){const n=new Set(e),o=new Set(t);return n.size===o.size&&e.every((e=>o.has(e)))&&t.every((e=>n.has(e)))}function he(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const o=e[n],a=t[n];if(!(be(o.bodyShapes,a.bodyShapes)&&be(o.contents,a.contents)&&o.mainFile===a.mainFile))return!1;if(o.overrideHides&&a.overrideHides&&o.overrideReplaces&&a.overrideReplaces){if(!(be(o.overrideHides,a.overrideHides)&&be(o.overrideReplaces,a.overrideReplaces)))return!1}}return!0}function fe(e,t){return e.type===h.m.WEARABLE?function(e,t){var n,o;if(e.type!==h.m.WEARABLE)throw new Error("Item must be WEARABLE");const a=t.metadata;if(e.name!==a.name||e.description!==a.description||e.data.category!==a.data.category||e.data.hides.toString()!==a.data.hides.toString()||e.data.replaces.toString()!==a.data.replaces.toString()||e.data.tags.toString()!==a.data.tags.toString()||(null===(n=e.data.removesDefaultHiding)||void 0===n?void 0:n.toString())!==(null===(o=a.data.removesDefaultHiding)||void 0===o?void 0:o.toString()))return!1;if(!he(e.data.representations,a.data.representations))return!1;const i=t.content.reduce(((e,t)=>e.set(t.file,t.hash)),new Map);for(const r in e.contents){const t=e.contents[r];if(h.v!==r&&i.get(r)!==t)return!1}return!D(e)||e.contents[h.v]===e.video}(e,t):function(e,t){if(e.type!==h.m.EMOTE)throw new Error("Item must be EMOTE");const n="emoteDataADR74"in t.metadata;if(!n)return!1;const o=t.metadata,a=n?t.metadata.emoteDataADR74:t.metadata.data,i=e.data;if(e.name!==o.name||e.description!==o.description||i.category!==a.category||i.loop!==a.loop||i.tags.toString()!==a.tags.toString())return!1;if(!he(i.representations,a.representations))return!1;const r=t.content.reduce(((e,t)=>e.set(t.file,t.hash)),new Map);for(const s in e.contents){const t=e.contents[s];if(r.get(s)!==t)return!1}return!0}(e,t)}function ye(e,t,n){if(!e.isApproved)return!1;const o=t===h.s.UNSYNCED,a=n&&n.contentHash!==e.currentContentHash;return o||(t===h.s.UNDER_REVIEW||t===h.s.SYNCED||t===h.s.LOADING)&&a}function _e(e,t){const n={},o=Object.keys(e);for(const a of o){n[t?a.replace(h.a.FEMALE+"/","").replace(h.a.MALE+"/",""):a]=e[a]}return n}function ge(e,t){if(0===t)throw new Error("The groups size must be greater than 0");const n=[];for(let o=0;o<e.length;o+=t)n.push(e.slice(o,o+t));return n}const je=(e,t)=>e.filter((e=>t[e.id]===h.s.UNPUBLISHED)),Oe=(e,t,n)=>e.filter((e=>ye(e,t[e.id],null===n||void 0===n?void 0:n.find((t=>t.itemId===e.id))))),ve={triangles:0,materials:0,textures:0,meshes:0,bodies:0,entities:1},Ce=e=>new Promise(((t,n)=>{try{const o=document.createElement("video");o.preload="metadata",o.onloadedmetadata=function(){t(o)},o.onerror=function(){n("Invalid video. Please select a video file.")},o.src="string"===typeof e?e:URL.createObjectURL(e)}catch(o){n(o)}})),xe=e=>{var t;return e.length>0?null!==(t=e.find((e=>e.type===h.m.WEARABLE)))&&void 0!==t?t:e[0]:void 0},we=e=>{if(0===e.length)return"";const t=e.map((e=>e.toUpperCase().replace(".","")));if(t.sort(),e.length>1){const e=t.slice(0,-1).join(", "),n=t.slice(-1)[0];return`${e} ${Object(i.t)("global.or")} ${n}`}return t.join(", ")}},404:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return c}));var o=n(48);const a=e=>e.collectionCuration,i=e=>a(e).data,r=e=>a(e).loading,s=(e,t)=>i(e)[t],c=(Object(o.a)(i,(e=>Object.values(e))),(e,t)=>{var n;return"pending"===(null===(n=i(e)[t])||void 0===n?void 0:n.status)})},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(189),a=n(306);const i={root:()=>"/",scenes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(a.e)("/scenes",e)},sceneEditor:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":projectId";return`/scene-editor/${e}`},inspector:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":projectId";return`/inspector/${e}`},poolSearch:e=>Object(a.f)(Object(a.e)("/pools",e),{group:"group",ethAddress:"eth_address"},e),poolView:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":projectId",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":type(pool)";return`/view/${t}/${e}`},sceneView:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":projectId";return`/view/${e}`},signIn:e=>"/sign-in"+(e?`?redirectTo=${encodeURIComponent(e)}`:""),mobile:()=>"/mobile",notFound:()=>"/404",callback:()=>"/callback",land:()=>"/land",landDetail:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":landId";return`/land/${e}`},landTransfer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":landId";return`/land/${e}/transfer`},landEdit:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":landId";return`/land/${e}/edit`},landSelectENS:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":landId";return`/land/${e}/select-name`},landAssignENS:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":landId",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":subdomain";return`/land/${e}/name/${t}/assign`},ensSelectLand:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":subdomain";return`/name/${e}/set-land`},claimENS:()=>"/claim-name",landOperator:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":landId";return`/land/${e}/operator`},activity:()=>"/activity",settings:()=>"/settings",sceneDetail:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":projectId";return`/scenes/${e}`},collections:()=>"/collections",itemDetail:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":itemId";return`/items/${e}`},collectionDetail:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":collectionId",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.b.STANDARD,n=arguments.length>2?arguments[2]:void 0;switch(t){case o.b.STANDARD:return Object(a.f)(`/collections/${e}`,{tab:"tab"},n);case o.b.THIRD_PARTY:return Object(a.f)(i.thirdPartyCollectionDetail(e),{tab:"tab"},n);default:throw new Error(`Invalid collection type ${t}`)}},thirdPartyCollectionDetail:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":collectionId",t=arguments.length>1?arguments[1]:void 0;return Object(a.e)(`/thirdPartyCollections/${e}`,t)},itemEditor:e=>Object(a.f)("/item-editor",{itemId:"item",collectionId:"collection",isReviewing:"reviewing",newItem:"newItem"},e),ens:()=>"/names",worlds:()=>"/worlds",curation:()=>"/curation",templates:()=>"/templates",templateDetail:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":templateId";return`/templates/${e}`}}},413:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const o=n(80).a.get("ENVIRONMENT"),a="localhost"===window.location.hostname||"development"===o},417:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i}));const o=1,a=60,i=e=>Array.from({length:e},((e,t)=>t+1))},418:function(e,t,n){"use strict";function o(e){return function(t){return function(n){if(n&&n[e](),t){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];t(n,...a)}}}}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));const a=e=>o("preventDefault")(e),i=e=>o("stopPropagation")(e)},429:function(e,t,n){"use strict";let o;n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),function(e){e.NEWEST="updated_at",e.LIKES="likes",e.NAME="title",e.SIZE="parcels",e.ITEMS="transforms",e.SMART_ITEMS="scripts"}(o||(o={}));const a=24},43:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"K",(function(){return r})),n.d(t,"H",(function(){return s})),n.d(t,"sb",(function(){return c})),n.d(t,"i",(function(){return l})),n.d(t,"S",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"L",(function(){return p})),n.d(t,"tb",(function(){return m})),n.d(t,"jb",(function(){return b})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"O",(function(){return y})),n.d(t,"N",(function(){return _})),n.d(t,"v",(function(){return g})),n.d(t,"fb",(function(){return j})),n.d(t,"E",(function(){return O})),n.d(t,"pb",(function(){return v})),n.d(t,"F",(function(){return C})),n.d(t,"qb",(function(){return x})),n.d(t,"z",(function(){return w})),n.d(t,"kb",(function(){return E})),n.d(t,"I",(function(){return S})),n.d(t,"ub",(function(){return A})),n.d(t,"J",(function(){return T})),n.d(t,"vb",(function(){return R})),n.d(t,"k",(function(){return k})),n.d(t,"U",(function(){return N})),n.d(t,"o",(function(){return P})),n.d(t,"Z",(function(){return I})),n.d(t,"n",(function(){return L})),n.d(t,"X",(function(){return M})),n.d(t,"p",(function(){return D})),n.d(t,"Y",(function(){return F})),n.d(t,"C",(function(){return U})),n.d(t,"nb",(function(){return B})),n.d(t,"y",(function(){return z})),n.d(t,"ib",(function(){return H})),n.d(t,"G",(function(){return W})),n.d(t,"rb",(function(){return G})),n.d(t,"c",(function(){return Y})),n.d(t,"M",(function(){return Q})),n.d(t,"j",(function(){return V})),n.d(t,"T",(function(){return q})),n.d(t,"s",(function(){return X})),n.d(t,"cb",(function(){return $})),n.d(t,"t",(function(){return K})),n.d(t,"db",(function(){return Z})),n.d(t,"D",(function(){return J})),n.d(t,"ob",(function(){return ee})),n.d(t,"x",(function(){return te})),n.d(t,"hb",(function(){return ne})),n.d(t,"m",(function(){return oe})),n.d(t,"W",(function(){return ae})),n.d(t,"q",(function(){return ie})),n.d(t,"r",(function(){return re})),n.d(t,"B",(function(){return se})),n.d(t,"ab",(function(){return ce})),n.d(t,"bb",(function(){return le})),n.d(t,"mb",(function(){return de})),n.d(t,"A",(function(){return ue})),n.d(t,"lb",(function(){return pe})),n.d(t,"u",(function(){return me})),n.d(t,"eb",(function(){return be})),n.d(t,"w",(function(){return he})),n.d(t,"gb",(function(){return fe})),n.d(t,"l",(function(){return ye})),n.d(t,"V",(function(){return _e})),n.d(t,"g",(function(){return ge})),n.d(t,"h",(function(){return je})),n.d(t,"f",(function(){return Oe})),n.d(t,"Q",(function(){return ve})),n.d(t,"R",(function(){return Ce})),n.d(t,"P",(function(){return xe}));var o=n(11),a=n(120);const i="Bind editor keyboard shortcuts",r=()=>Object(o.action)(i,{}),s="Unbind editor keyboard shortcuts",c=()=>Object(o.action)(s,{}),l="Open editor",d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(o.action)(l,{isReadOnly:!1,type:a.b.PROJECT,...e})},u="Close editor",p=()=>Object(o.action)(u,{}),m=(e,t,n)=>Object(o.action)("Update editor",{sceneId:e,scene:t,mappings:n}),b=e=>Object(o.action)("Set script url",{url:e}),h="Editor undo",f="Editor redo",y=()=>Object(o.action)(h,{}),_=()=>Object(o.action)(f,{}),g="Set gizmo",j=e=>Object(o.action)(g,{gizmo:e}),O="Toggle preview",v=e=>Object(o.action)(O,{isEnabled:e}),C="Toggle sidebar",x=e=>Object(o.action)(C,{isEnabled:e}),w="Set selected entities",E=e=>Object(o.action)(w,{entityIds:e}),S="Zoom in",A=()=>Object(o.action)(S,{}),T="Zoom out",R=()=>Object(o.action)(T,{}),k="Reset camera",N=()=>Object(o.action)(k,{}),P="Set editor ready",I=e=>Object(o.action)(P,{isReady:e}),L="Set editor loading",M=e=>Object(o.action)(L,{isLoading:e}),D="Set editor read only",F=e=>Object(o.action)(D,{isReadOnly:e}),U="Take screenshot",B=()=>Object(o.action)(U,{}),z="Set screenshot ready",H=e=>Object(o.action)(z,{isScreenshotReady:e}),W="Toggle snap to grid",G=e=>Object(o.action)(W,{enabled:e}),Y="Create editor scene",Q=e=>Object(o.action)(Y,{project:e}),V="Prefetch Asset",q=e=>Object(o.action)(V,{asset:e}),X="Set entities out of boundaries",$=e=>Object(o.action)(X,{entities:e}),K="Set export progress",Z=e=>Object(o.action)(K,e),J="Toggle multiselection",ee=e=>Object(o.action)(J,{enabled:e}),te="Set items",ne=e=>Object(o.action)(te,{items:e}),oe="Set body shape",ae=e=>Object(o.action)(oe,{bodyShape:e}),ie="Set emote",re="Set emote playing",se="Set wearable preview controller",ce=e=>Object(o.action)(ie,{emote:e}),le=e=>Object(o.action)(re,{isPlayingEmote:e}),de=e=>Object(o.action)(se,{controller:e}),ue="Set skin color",pe=e=>Object(o.action)(ue,{skinColor:e}),me="Set eye color",be=e=>Object(o.action)(me,{eyeColor:e}),he="Set hair color",fe=e=>Object(o.action)(he,{hairColor:e}),ye="Set base wearable",_e=(e,t,n)=>Object(o.action)(ye,{category:e,bodyShape:t,wearable:n}),ge="[Request] Fetch base wearables",je="[Success] Fetch base wearables",Oe="[Failure] Fetch base wearables",ve=()=>Object(o.action)(ge),Ce=e=>Object(o.action)(je,{wearables:e}),xe=e=>Object(o.action)(Oe,{error:e})},44:function(e,t,n){"use strict";n.d(t,"h",(function(){return i})),n.d(t,"i",(function(){return r})),n.d(t,"g",(function(){return s})),n.d(t,"Q",(function(){return c})),n.d(t,"R",(function(){return l})),n.d(t,"P",(function(){return d})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"N",(function(){return b})),n.d(t,"O",(function(){return h})),n.d(t,"M",(function(){return f})),n.d(t,"y",(function(){return y})),n.d(t,"z",(function(){return _})),n.d(t,"x",(function(){return g})),n.d(t,"eb",(function(){return j})),n.d(t,"fb",(function(){return O})),n.d(t,"db",(function(){return v})),n.d(t,"e",(function(){return C})),n.d(t,"f",(function(){return x})),n.d(t,"d",(function(){return w})),n.d(t,"K",(function(){return E})),n.d(t,"L",(function(){return S})),n.d(t,"J",(function(){return A})),n.d(t,"s",(function(){return T})),n.d(t,"t",(function(){return R})),n.d(t,"r",(function(){return k})),n.d(t,"Y",(function(){return N})),n.d(t,"Z",(function(){return P})),n.d(t,"X",(function(){return I})),n.d(t,"p",(function(){return L})),n.d(t,"q",(function(){return M})),n.d(t,"o",(function(){return D})),n.d(t,"V",(function(){return F})),n.d(t,"W",(function(){return U})),n.d(t,"U",(function(){return B})),n.d(t,"E",(function(){return z})),n.d(t,"F",(function(){return H})),n.d(t,"D",(function(){return W})),n.d(t,"kb",(function(){return G})),n.d(t,"lb",(function(){return Y})),n.d(t,"jb",(function(){return Q})),n.d(t,"B",(function(){return V})),n.d(t,"C",(function(){return q})),n.d(t,"A",(function(){return X})),n.d(t,"hb",(function(){return $})),n.d(t,"ib",(function(){return K})),n.d(t,"gb",(function(){return Z})),n.d(t,"b",(function(){return J})),n.d(t,"c",(function(){return ee})),n.d(t,"a",(function(){return te})),n.d(t,"H",(function(){return ne})),n.d(t,"I",(function(){return oe})),n.d(t,"G",(function(){return ae})),n.d(t,"v",(function(){return ie})),n.d(t,"w",(function(){return re})),n.d(t,"u",(function(){return se})),n.d(t,"bb",(function(){return ce})),n.d(t,"cb",(function(){return le})),n.d(t,"ab",(function(){return de})),n.d(t,"m",(function(){return ue})),n.d(t,"S",(function(){return pe})),n.d(t,"n",(function(){return me})),n.d(t,"T",(function(){return be}));var o=n(11),a=n(124);const i="[Request] Fetch Collections",r="[Success] Fetch Collections",s="[Failure] Fetch Collections",c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(o.action)(i,{address:e,params:t,useCachedResults:n})},l=(e,t,n)=>Object(o.action)(r,{collections:e,paginationStats:t,params:n}),d=e=>Object(o.action)(s,{error:e}),u="[Request] Fetch Collection",p="[Success] Fetch Collection",m="[Failure] Fetch Collection",b=e=>Object(o.action)(u,{id:e}),h=(e,t)=>Object(o.action)(p,{id:e,collection:t}),f=(e,t)=>Object(o.action)(m,{id:e,error:t}),y="[Request] Save Collection",_="[Success] Save Collection",g="[Failure] Save Collection",j=e=>Object(o.action)(y,{collection:e}),O=e=>Object(o.action)(_,{collection:e}),v=(e,t)=>Object(o.action)(g,{collection:e,error:t}),C="[Request] Delete Collection",x="[Success] Delete Collection",w="[Failure] Delete Collection",E=e=>Object(o.action)(C,{collection:e}),S=e=>Object(o.action)(x,{collection:e}),A=(e,t)=>Object(o.action)(w,{collection:e,error:t}),T="[Request] Publish Collection",R="[Success] Publish Collection",k="[Failure] Publish Collection",N=(e,t,n,a)=>Object(o.action)(T,{collection:e,items:t,email:n,subscribeToNewsletter:a}),P=(e,t,n,i)=>Object(o.action)(R,{collection:e,items:t,...Object(a.buildTransactionPayload)(n,i,{collection:e,items:t})}),I=(e,t,n)=>Object(o.action)(k,{collection:e,items:t,error:n}),L="[Request] Mint collection items",M="[Success] Mint collection items",D="[Failure] Mint collection items",F=(e,t)=>Object(o.action)(L,{collection:e,mints:t}),U=(e,t,n,i)=>Object(o.action)(M,{collection:e,mints:t,...Object(a.buildTransactionPayload)(n,i,{collection:e,mints:t})}),B=(e,t,n)=>Object(o.action)(D,{collection:e,mints:t,error:n}),z="[Request] Set collection minters",H="[Success] Set collection minters",W="[Failure] Set collection minters",G=(e,t)=>Object(o.action)(z,{collection:e,accessList:t}),Y=(e,t,n,i)=>Object(o.action)(H,{collection:e,minters:t,...Object(a.buildTransactionPayload)(n,i,{collection:e,minters:t})}),Q=(e,t,n)=>Object(o.action)(W,{collection:e,accessList:t,error:n}),V="[Request] Set collection managers",q="[Success] Set collection managers",X="[Failure] Set collection managers",$=(e,t)=>Object(o.action)(V,{collection:e,accessList:t}),K=(e,t,n,i)=>Object(o.action)(q,{collection:e,managers:t,...Object(a.buildTransactionPayload)(n,i,{collection:e,managers:t})}),Z=(e,t,n)=>Object(o.action)(X,{collection:e,accessList:t,error:n}),J="[Request] Approve collection",ee="[Success] Approve collection",te="[Failure] Approve collection",ne=e=>Object(o.action)(J,{collection:e}),oe=(e,t,n)=>Object(o.action)(ee,{collection:e,...Object(a.buildTransactionPayload)(t,n,{collection:e})}),ae=(e,t)=>Object(o.action)(te,{collection:e,error:t}),ie="[Request] Reject collection",re="[Success] Reject collection",se="[Failure] Reject collection",ce=e=>Object(o.action)(ie,{collection:e}),le=(e,t,n)=>Object(o.action)(re,{collection:e,...Object(a.buildTransactionPayload)(t,n,{collection:e})}),de=(e,t)=>Object(o.action)(se,{collection:e,error:t}),ue="Initiate Approval Flow",pe=e=>Object(o.action)(ue,{collection:e}),me="Initiate TP Approval Flow",be=e=>Object(o.action)(me,{collection:e})},465:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.PNG="image/png",e.GIF="image/gif",e.JPEG="image/jpeg",e.BMP="image/bmp",e.UNKNOWN="image/unknown"}(o||(o={}))},469:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(289),a=n(415);const i=[{constant:!0,inputs:[{name:"_interfaceID",type:"bytes4"}],name:"supportsInterface",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"proxyOwner",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"",type:"address"},{name:"",type:"address"}],name:"updateManager",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"assetId",type:"uint256"}],name:"getApproved",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"operator",type:"address"},{name:"assetId",type:"uint256"}],name:"approve",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"x",type:"int256"},{name:"y",type:"int256"}],name:"ownerOfLand",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"user",type:"address"}],name:"setLatestToNow",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256"},{name:"y",type:"int256"},{name:"beneficiary",type:"address"}],name:"assignNewParcel",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"x",type:"int256[]"},{name:"y",type:"int256[]"}],name:"ownerOfLandMany",outputs:[{name:"",type:"address[]"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"",type:"address"}],name:"latestPing",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256[]"},{name:"y",type:"int256[]"},{name:"data",type:"string"}],name:"updateManyLandData",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"assetId",type:"uint256"}],name:"transferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"operator",type:"address"},{name:"assetId",type:"uint256"}],name:"isAuthorized",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"",type:"address"}],name:"authorizedDeploy",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"owner",type:"address"},{name:"index",type:"uint256"}],name:"tokenOfOwnerByIndex",outputs:[{name:"assetId",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"decimals",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"pure",type:"function"},{constant:!1,inputs:[{name:"beneficiary",type:"address"}],name:"authorizeDeploy",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256"},{name:"y",type:"int256"},{name:"to",type:"address"}],name:"transferLand",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"assetId",type:"uint256"}],name:"safeTransferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"",type:"bytes"}],name:"initialize",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"x",type:"int256"},{name:"y",type:"int256"}],name:"landData",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256[]"},{name:"y",type:"int256[]"},{name:"to",type:"address"}],name:"transferManyLand",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"assetId",type:"uint256"}],name:"exists",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"owner",type:"address"}],name:"tokensOf",outputs:[{name:"",type:"uint256[]"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"ping",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"assetId",type:"uint256"}],name:"ownerOf",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"GET_METADATA",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"operator",type:"address"},{name:"assetId",type:"uint256"}],name:"isUpdateAuthorized",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"assetId",type:"uint256"}],name:"tokenMetadata",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"x",type:"int256"},{name:"y",type:"int256"}],name:"encodeTokenId",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"pure",type:"function"},{constant:!0,inputs:[{name:"owner",type:"address"}],name:"balanceOf",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"currentContract",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_assetIds",type:"uint256[]"},{name:"_operator",type:"address"}],name:"setManyUpdateOperator",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"description",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"value",type:"uint256"}],name:"decodeTokenId",outputs:[{name:"",type:"int256"},{name:"",type:"int256"}],payable:!1,stateMutability:"pure",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256[]"},{name:"y",type:"int256[]"},{name:"beneficiary",type:"address"}],name:"assignMultipleParcels",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256[]"},{name:"y",type:"int256[]"},{name:"beneficiary",type:"address"},{name:"metadata",type:"string"}],name:"createEstateWithMetadata",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"owner",type:"address"}],name:"landOf",outputs:[{name:"",type:"int256[]"},{name:"",type:"int256[]"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"registry",type:"address"}],name:"setEstateRegistry",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"",type:"uint256"}],name:"updateOperator",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"operator",type:"address"},{name:"authorized",type:"bool"}],name:"setApprovalForAll",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"x",type:"int256"},{name:"y",type:"int256"}],name:"exists",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"assetId",type:"uint256"},{name:"operator",type:"address"}],name:"setUpdateOperator",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"assetId",type:"uint256"},{name:"userData",type:"bytes"}],name:"safeTransferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256[]"},{name:"y",type:"int256[]"},{name:"beneficiary",type:"address"}],name:"createEstate",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256"},{name:"y",type:"int256"},{name:"data",type:"string"}],name:"updateLandData",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"estateRegistry",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"assetHolder",type:"address"},{name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"assetId",type:"uint256"}],name:"getApprovedAddress",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_owner",type:"address"},{name:"_operator",type:"address"},{name:"_approved",type:"bool"}],name:"setUpdateManager",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"_newOwner",type:"address"}],name:"transferOwnership",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256[]"},{name:"y",type:"int256[]"},{name:"estateId",type:"uint256"}],name:"transferManyLandToEstate",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"x",type:"int256"},{name:"y",type:"int256"},{name:"estateId",type:"uint256"}],name:"transferLandToEstate",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"beneficiary",type:"address"}],name:"forbidDeploy",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{anonymous:!1,inputs:[{indexed:!0,name:"registry",type:"address"}],name:"EstateRegistrySet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"assetId",type:"uint256"},{indexed:!0,name:"holder",type:"address"},{indexed:!0,name:"operator",type:"address"},{indexed:!1,name:"data",type:"string"}],name:"Update",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"assetId",type:"uint256"},{indexed:!0,name:"operator",type:"address"}],name:"UpdateOperator",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_owner",type:"address"},{indexed:!0,name:"_operator",type:"address"},{indexed:!0,name:"_caller",type:"address"},{indexed:!1,name:"_approved",type:"bool"}],name:"UpdateManager",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_caller",type:"address"},{indexed:!0,name:"_deployer",type:"address"}],name:"DeployAuthorized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_caller",type:"address"},{indexed:!0,name:"_deployer",type:"address"}],name:"DeployForbidden",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!0,name:"assetId",type:"uint256"},{indexed:!1,name:"operator",type:"address"},{indexed:!1,name:"userData",type:"bytes"},{indexed:!1,name:"operatorData",type:"bytes"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!0,name:"assetId",type:"uint256"},{indexed:!1,name:"operator",type:"address"},{indexed:!1,name:"userData",type:"bytes"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"from",type:"address"},{indexed:!0,name:"to",type:"address"},{indexed:!0,name:"assetId",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"holder",type:"address"},{indexed:!0,name:"operator",type:"address"},{indexed:!1,name:"authorized",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"owner",type:"address"},{indexed:!0,name:"operator",type:"address"},{indexed:!0,name:"assetId",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!1,name:"_prevOwner",type:"address"},{indexed:!1,name:"_newOwner",type:"address"}],name:"OwnerUpdate",type:"event"}];class r{static createInterface(){return new o.utils.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r.abi=i},474:function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return h})),n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return g})),n.d(t,"f",(function(){return j})),n.d(t,"e",(function(){return O})),n.d(t,"i",(function(){return v})),n.d(t,"h",(function(){return C}));var o=n(41),a=n(106),i=n(76),r=n(82),s=n(40),c=n(115),l=n(189);const d=Object(a.c)(o.a.landDetail()),u=e=>{const t=d(e);return t?t.params.landId:null},p=Object(a.c)(o.a.sceneDetail()),m=e=>{const t=p(e);return t?t.params.projectId:null},b=Object(a.c)(o.a.templateDetail()),h=e=>{const t=b(e);return t?t.params.templateId:null},f=Object(a.c)(o.a.itemDetail()),y=e=>{const t=f(e);return t?t.params.itemId:null},_=Object(a.c)([o.a.collectionDetail(),o.a.thirdPartyCollectionDetail()]),g=e=>{const t=_(e);return t?t.params.collectionId:null},j=e=>{var t,n;const o=new URLSearchParams(Object(a.e)(e)).get("item");if(o)return o;const d=O(e);if(!d)return null;const u=Object(i.b)(e,d),p=!!u&&(Object(c.l)(u)===l.b.THIRD_PARTY&&v(e)),m=Object(r.k)(e,d),b=p?m.filter((e=>e.isPublished)):m;return null!==(t=null===(n=Object(s.x)(b))||void 0===n?void 0:n.id)&&void 0!==t?t:null},O=e=>new URLSearchParams(Object(a.e)(e)).get("collection"),v=e=>!!new URLSearchParams(Object(a.e)(e)).get("reviewing"),C=e=>(e=>e.location)(e).hasHistory},475:function(e,t,n){"use strict";var o=n(30),a=n(42),i=n(2),r=n(5),s=n(7),c=n(194),l=n(118),d=n(81),u=n(0);class p extends i.PureComponent{render(){const{currentAddress:e="",...t}=this.props;return Object(l.b)(t.address,d.a)&&(t.isDecentraland=!0),Object(u.jsx)(s.Popup,{disabled:!Object(l.b)(t.address,e),content:Object(r.t)("popups.its_you"),position:"top center",trigger:Object(u.jsx)("span",{children:Object(u.jsx)(c.Profile,{...t})}),on:"hover",inverted:!0})}}var m=Object(o.connect)((e=>({currentAddress:Object(a.getAddress)(e)})),null,((e,t,n)=>({...e,...n})))(p);t.a=m},477:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"k",(function(){return u})),n.d(t,"f",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"d",(function(){return b})),n.d(t,"m",(function(){return h})),n.d(t,"g",(function(){return f})),n.d(t,"i",(function(){return y})),n.d(t,"e",(function(){return _})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return j}));var o=n(71),a=n(103),i=(n(342),n(645)),r=n(126);const s="100000000000000000000",c=o.ethers.utils.formatEther(s),l=15,d=new RegExp(`^([a-zA-Z0-9]){2,${l}}$`);async function u(e){if(!e)return!1;const t=await Object(a.getSigner)();return i.a.connect(r.g,t).available(e)}function p(e){return e.length>=2}function m(e){return d.test(e)}function b(e,t){return e.find((e=>e.subdomain===t))}function h(e){return e.resolver===o.ethers.constants.AddressZero}function f(e){return e.content===o.ethers.constants.AddressZero}function y(e,t){return e.landId===t.id}function _(e){return`${e.toLowerCase()}.dcl.eth`}function g(e){return Number(e)>=100}function j(e){return!e.endsWith("dcl.eth")}},488:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var o=n(48);const a=e=>e.itemCuration,i=e=>a(e).loading,r=(e,t)=>a(e).data[t],s=Object(o.a)((e=>a(e).data),(e=>Object.values(e).reduce(((e,t)=>(t.forEach((t=>{e[t.itemId]=t})),e)),{})))},49:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"D",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"C",(function(){return l})),n.d(t,"A",(function(){return d})),n.d(t,"cb",(function(){return u})),n.d(t,"g",(function(){return p})),n.d(t,"I",(function(){return m})),n.d(t,"B",(function(){return b})),n.d(t,"db",(function(){return h})),n.d(t,"h",(function(){return f})),n.d(t,"J",(function(){return y})),n.d(t,"c",(function(){return _})),n.d(t,"E",(function(){return g})),n.d(t,"e",(function(){return j})),n.d(t,"f",(function(){return O})),n.d(t,"d",(function(){return v})),n.d(t,"G",(function(){return C})),n.d(t,"H",(function(){return x})),n.d(t,"F",(function(){return w})),n.d(t,"i",(function(){return E})),n.d(t,"j",(function(){return S})),n.d(t,"K",(function(){return A})),n.d(t,"L",(function(){return T})),n.d(t,"k",(function(){return R})),n.d(t,"M",(function(){return k})),n.d(t,"p",(function(){return N})),n.d(t,"q",(function(){return P})),n.d(t,"o",(function(){return I})),n.d(t,"U",(function(){return L})),n.d(t,"V",(function(){return M})),n.d(t,"T",(function(){return D})),n.d(t,"y",(function(){return F})),n.d(t,"z",(function(){return U})),n.d(t,"x",(function(){return B})),n.d(t,"ab",(function(){return z})),n.d(t,"bb",(function(){return H})),n.d(t,"Z",(function(){return W})),n.d(t,"v",(function(){return G})),n.d(t,"w",(function(){return Y})),n.d(t,"u",(function(){return Q})),n.d(t,"X",(function(){return V})),n.d(t,"Y",(function(){return q})),n.d(t,"W",(function(){return X})),n.d(t,"m",(function(){return $})),n.d(t,"n",(function(){return K})),n.d(t,"l",(function(){return Z})),n.d(t,"O",(function(){return J})),n.d(t,"P",(function(){return ee})),n.d(t,"N",(function(){return te})),n.d(t,"s",(function(){return ne})),n.d(t,"t",(function(){return oe})),n.d(t,"r",(function(){return ae})),n.d(t,"R",(function(){return ie})),n.d(t,"S",(function(){return re})),n.d(t,"Q",(function(){return se}));var o=n(11),a=n(83),i=n(120);const r="Create project from template",s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o.action)(r,{template:e},t)},c="Create project",l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.b.SDK6;return Object(o.action)(c,{project:e,sdkVersion:t})},d="Set project",u=e=>Object(o.action)(d,{project:e}),p="Edit project",m=(e,t)=>Object(o.action)(p,{id:e,project:t}),b="Share project",h=e=>Object(o.action)(b,{id:e}),f="Edit project thumbnail",y=(e,t)=>Object(o.action)(f,{id:e,thumbnail:t}),_="Delete project",g=e=>Object(o.action)(_,{project:e}),j="[Request] Duplicate project",O="[Success] Duplicate project",v="[Failure] Duplicate project",C=function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Object(o.action)(j,{project:e,type:t,shouldRedirect:n})},x=(e,t)=>Object(o.action)(O,{project:e,type:t}),w=e=>Object(o.action)(v,{error:e}),E="[Request] Export project",S="[Success] Export project",A=e=>Object(o.action)(E,{project:e}),T=()=>Object(o.action)(S,{}),R="Import project",k=e=>Object(o.action)(R,{projects:e}),N="[Request] Load projects",P="[Success] Load projects",I="[Failure] Load projects",L=()=>Object(o.action)(N,{}),M=e=>Object(o.action)(P,{projects:e}),D=e=>Object(o.action)(I,{error:e}),F="[Request] Load templates",U="[Success] Load templates",B="[Failure] Load templates",z=()=>Object(o.action)(F,{}),H=e=>Object(o.action)(U,{projects:e}),W=e=>Object(o.action)(B,{error:e}),G="[Request] Load public project",Y="[Success] Load public project",Q="[Failure] Load public project",V=(e,t)=>Object(o.action)(G,{id:e,type:t}),q=(e,t)=>Object(o.action)(Y,{project:e,type:t}),X=e=>Object(o.action)(Q,{error:e}),$="[Request] Load manifest",K="[Success] Load manifest",Z="[Failure] Load manifest",J=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.b.PROJECT;return Object(o.action)($,{id:e,type:t})},ee=e=>Object(o.action)(K,{manifest:e}),te=e=>Object(o.action)(Z,{error:e}),ne="[Request] Load project scene",oe="[Success] Load project scene",ae="[Failure] Load project scene",ie=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.b.PROJECT;return Object(o.action)(ne,{project:e,type:t})},re=e=>Object(o.action)(oe,{scene:e}),se=e=>Object(o.action)(ae,{error:e})},491:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u}));var o=n(651),a=n(517);let i;!function(e){e.MAINTENANCE="maintenance",e.RENTALS="rentals",e.CAMPAIGN="campaign",e.DCL_CONTROLLER_V2="dcl-controller-v2",e.NEW_NAVBAR_DROPDOWN="new-navbar-dropdown",e.EMOTES_V2="emotes-2.0",e.SMART_ITEMS="smart-items",e.WORLDS_FOR_ENS_OWNERS="worlds-for-ens-owners"}(i||(i={}));const r=e=>{try{return Object(o.getIsFeatureEnabled)(e,a.ApplicationName.BUILDER,i.MAINTENANCE)}catch(t){return!1}},s=e=>{try{return Object(o.getIsFeatureEnabled)(e,a.ApplicationName.BUILDER,i.CAMPAIGN)}catch(t){return!1}},c=e=>{try{return Object(o.getIsFeatureEnabled)(e,a.ApplicationName.BUILDER,i.NEW_NAVBAR_DROPDOWN)}catch(t){return!1}},l=e=>{try{return Object(o.getIsFeatureEnabled)(e,a.ApplicationName.BUILDER,i.EMOTES_V2)}catch(t){return!1}},d=e=>{try{return Object(o.getIsFeatureEnabled)(e,a.ApplicationName.BUILDER,i.SMART_ITEMS)}catch(t){return!1}},u=e=>{try{return Object(o.getIsFeatureEnabled)(e,a.ApplicationName.BUILDER,i.WORLDS_FOR_ENS_OWNERS)}catch(t){return!1}}},506:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r}));var o=n(391);const a=(e,t)=>{let n=null;return function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];n&&clearTimeout(n),n=setTimeout((()=>e(...a)),t)}},i=(e,t)=>{const n={},a={};return function(i){for(var r=arguments.length,s=new Array(r>1?r-1:0),c=1;c<r;c++)s[c-1]=arguments[c];const l=n[i];return l&&clearTimeout(l),i in a||(a[i]=Object(o.future)()),n[i]=setTimeout((async()=>{const t=a[i];if(void 0!==t){try{await e(...s),t.resolve()}catch(n){t.reject(n)}delete a[i]}}),t),a[i]}},r=(e,t)=>{const n={};return function(o){const a=n[o],i=+Date.now();if(!a||i>=a+t){n[o]=+Date.now();for(var r=arguments.length,s=new Array(r>1?r-1:0),c=1;c<r;c++)s[c-1]=arguments[c];return e(...s)}return null}}},507:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.PROJECT="project",e.POOL="pool"}(o||(o={}))},509:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(202);function a(e,t){return`${e*o.e}x${t*o.e}m`}},510:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return l}));var o=n(11);const a="[Request] Fetch committee members",i="[Success] Fetch committee members",r="[Failure] Fetch committee members",s=()=>Object(o.action)(a,{}),c=e=>Object(o.action)(i,{members:e}),l=e=>Object(o.action)(r,{error:e})},513:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return p}));var o=n(1086),a=n(345),i=n(83);function r(e){const t=[];for(let n=0;n<e.rows;n++)for(let o=0;o<e.cols;o++)t.push({x:n,y:o});return t}function s(e){return`assets/scene/models/${e}`}function c(e,t){const{engine:n,components:o}=Object(a.createEngineContext)();for(const a of Object.values(e.entities)){const t=n.addEntity();o.Name.createOrReplace(t,{value:a.name});for(const n of a.components){const a=e.components[n];switch(a.type){case i.a.Transform:{const e=a.data;o.Transform.createOrReplace(t,e);break}case i.a.GLTFShape:{const n=a.data,i=e.assets[n.assetId];o.GltfContainer.createOrReplace(t,{src:s(i.model)});break}}}}return o.Scene.createOrReplace(n.RootEntity,{layout:{parcels:t?r(t.layout):[{x:0,y:0}],base:{x:0,y:0}}}),n}function l(e,t){const n=c(e,t),i=Object(a.dumpEngineToComposite)(n,"json");return o.a.toJson(i)}function d(e){const t={};for(const n of Object.values(e.assets))for(const e in n.contents){const o=n.contents[e];t[s(e)]=o}return t}function u(e,t){const n=c(e,t);return Object(a.dumpEngineToCrdtCommands)(n)}function p(e,t){const n=e.composite.components.find((e=>"inspector::Scene"===e.name)),o={...n.data};o[0]={...o[0],json:{...o[0].json,layout:{...o[0].json.layout,parcels:r(t)}}};return{...e,composite:{...e.composite,components:[...e.composite.components.filter((e=>"inspector::Scene"!==e.name)),{...n,data:o}]}}}},515:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(289),a=n(415);const i=[{constant:!0,inputs:[{name:"_interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_name",type:"string"},{name:"_symbol",type:"string"},{name:"_registry",type:"address"}],name:"initialize",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"",type:"address"},{name:"",type:"address"}],name:"updateManager",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_tokenId",type:"uint256"}],name:"getApproved",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_tokenId",type:"uint256"}],name:"approve",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"",type:"uint256"}],name:"landIdEstate",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_operator",type:"address"},{name:"_from",type:"address"},{name:"_tokenId",type:"uint256"},{name:"_data",type:"bytes"}],name:"onERC721Received",outputs:[{name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"estateId",type:"uint256"}],name:"getFingerprint",outputs:[{name:"result",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"estateId",type:"uint256"},{name:"landId",type:"uint256"},{name:"operator",type:"address"}],name:"setLandUpdateOperator",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"_from",type:"address"},{name:"_to",type:"address"},{name:"_tokenId",type:"uint256"}],name:"transferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"estateId",type:"uint256"},{name:"landId",type:"uint256"},{name:"data",type:"string"}],name:"updateLandData",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"},{name:"_index",type:"uint256"}],name:"tokenOfOwnerByIndex",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"",type:"uint256"},{name:"",type:"uint256"}],name:"estateLandIds",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_estateId",type:"uint256"},{name:"_landIds",type:"uint256[]"},{name:"_operator",type:"address"}],name:"setManyLandUpdateOperator",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"estateId",type:"uint256"},{name:"landIds",type:"uint256[]"},{name:"destinatary",type:"address"}],name:"transferManyLands",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"estateId",type:"uint256"},{name:"landIds",type:"uint256[]"},{name:"data",type:"string"}],name:"updateManyLandData",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"_from",type:"address"},{name:"_to",type:"address"},{name:"_tokenId",type:"uint256"}],name:"safeTransferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"_name",type:"string"},{name:"_symbol",type:"string"}],name:"initialize",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"_tokenId",type:"uint256"}],name:"exists",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_index",type:"uint256"}],name:"tokenByIndex",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_registry",type:"address"}],name:"setLANDRegistry",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"estateId",type:"uint256"},{name:"metadata",type:"string"}],name:"updateMetadata",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[],name:"ping",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"_tokenId",type:"uint256"}],name:"ownerOf",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"operator",type:"address"},{name:"estateId",type:"uint256"}],name:"isUpdateAuthorized",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"}],name:"balanceOf",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_estateIds",type:"uint256[]"},{name:"_operator",type:"address"}],name:"setManyUpdateOperator",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"estateIds",type:"uint256[]"}],name:"safeTransferManyFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"registry",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"initialize",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"estateId",type:"uint256"},{name:"fingerprint",type:"bytes"}],name:"verifyFingerprint",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"",type:"uint256"}],name:"updateOperator",outputs:[{name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"",type:"uint256"},{name:"",type:"uint256"}],name:"estateLandIndex",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_approved",type:"bool"}],name:"setApprovalForAll",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"estateId",type:"uint256"},{name:"landId",type:"uint256"},{name:"destinatary",type:"address"}],name:"transferLand",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"estateId",type:"uint256"}],name:"getMetadata",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"estateId",type:"uint256"},{name:"operator",type:"address"}],name:"setUpdateOperator",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"_from",type:"address"},{name:"_to",type:"address"},{name:"_tokenId",type:"uint256"},{name:"_data",type:"bytes"}],name:"safeTransferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"landId",type:"uint256"}],name:"getLandEstateId",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{name:"contractName",type:"string"},{name:"migrationId",type:"string"}],name:"isMigrated",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_sender",type:"address"}],name:"initialize",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"_tokenId",type:"uint256"}],name:"tokenURI",outputs:[{name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"to",type:"address"},{name:"metadata",type:"string"}],name:"mint",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"from",type:"address"},{name:"to",type:"address"},{name:"estateIds",type:"uint256[]"},{name:"data",type:"bytes"}],name:"safeTransferManyFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"_owner",type:"address"},{name:"_operator",type:"address"}],name:"isApprovedForAll",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_owner",type:"address"},{name:"_operator",type:"address"},{name:"_approved",type:"bool"}],name:"setUpdateManager",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"estateId",type:"uint256"}],name:"getEstateSize",outputs:[{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{anonymous:!1,inputs:[{indexed:!0,name:"previousOwner",type:"address"},{indexed:!0,name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_from",type:"address"},{indexed:!0,name:"_to",type:"address"},{indexed:!0,name:"_tokenId",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_owner",type:"address"},{indexed:!0,name:"_approved",type:"address"},{indexed:!0,name:"_tokenId",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_owner",type:"address"},{indexed:!0,name:"_operator",type:"address"},{indexed:!1,name:"_approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_owner",type:"address"},{indexed:!0,name:"_estateId",type:"uint256"},{indexed:!1,name:"_data",type:"string"}],name:"CreateEstate",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_estateId",type:"uint256"},{indexed:!0,name:"_landId",type:"uint256"}],name:"AddLand",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_estateId",type:"uint256"},{indexed:!0,name:"_landId",type:"uint256"},{indexed:!0,name:"_destinatary",type:"address"}],name:"RemoveLand",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_assetId",type:"uint256"},{indexed:!0,name:"_holder",type:"address"},{indexed:!0,name:"_operator",type:"address"},{indexed:!1,name:"_data",type:"string"}],name:"Update",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_estateId",type:"uint256"},{indexed:!0,name:"_operator",type:"address"}],name:"UpdateOperator",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_owner",type:"address"},{indexed:!0,name:"_operator",type:"address"},{indexed:!0,name:"_caller",type:"address"},{indexed:!1,name:"_approved",type:"bool"}],name:"UpdateManager",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"_registry",type:"address"}],name:"SetLANDRegistry",type:"event"},{anonymous:!1,inputs:[{indexed:!1,name:"contractName",type:"string"},{indexed:!1,name:"migrationId",type:"string"}],name:"Migrated",type:"event"}];class r{static createInterface(){return new o.utils.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r.abi=i},516:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.LIST="list",e.GRID="grid"}(o||(o={}))},519:function(e,t,n){e.exports={content:"SeeInWorldModal_content__3bkzs",option:"SeeInWorldModal_option__1tc5C",image:"SeeInWorldModal_image__1epYF",imageWrapper:"SeeInWorldModal_imageWrapper__3wzCe",genesis:"SeeInWorldModal_genesis__3R2ZJ",emptyParcel:"SeeInWorldModal_emptyParcel__2xjy0"}},54:function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return f})),n.d(t,"h",(function(){return y})),n.d(t,"f",(function(){return _}));var o=n(48),a=n(70),i=n(42),r=n(118),s=n(632),c=n(202),l=n(49);const d=e=>e.project,u=e=>d(e).data,p=e=>d(e).error,m=e=>d(e).loading,b=Object(o.a)(i.getAddress,u,((e,t)=>Object.keys(t).reduce(((n,o)=>{const a=t[o];return(!!a.ethAddress&&!!e&&Object(r.b)(a.ethAddress,e)||null===a.ethAddress)&&(n[o]=a),n}),{}))),h=Object(o.a)(s.a,u,((e,t)=>t[e]||null)),f=Object(o.a)(h,(e=>{if(!e)return null;const{rows:t,cols:n}=e.layout;return{x:t*c.e,y:20*Math.log2(t*n+1),z:n*c.e}})),y=Object(o.a)(m,(e=>Object(a.isLoadingType)(e,l.v)||Object(a.isLoadingType)(e,l.p))),_=Object(o.a)(u,(e=>Object.keys(e).reduce(((t,n)=>{const o=e[n];return o.isTemplate&&(t[n]=o),t}),{})))},547:function(e,t,n){"use strict";var o=n(2),a=n(7),i=n(329),r=n(330),s=n(0);class c extends o.PureComponent{render(){return Object(s.jsxs)(s.Fragment,{children:[Object(s.jsx)(i.a,{isFullscreen:!0}),Object(s.jsx)(a.Page,{isFullscreen:!0,children:Object(s.jsx)(a.Loader,{active:!0,size:"huge"})}),Object(s.jsx)(r.a,{isFullscreen:!0})]})}}t.a=c},559:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return l}));var o=n(11);const a="[Request] Fetch weekly scene stats",i="[Success] Fetch weekly scene stats",r="[Failure] Fetch weekly scene stats",s=e=>Object(o.action)(a,{base:e}),c=(e,t)=>Object(o.action)(i,{base:e,stats:t}),l=(e,t)=>Object(o.action)(r,{base:e,error:t})},570:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return l}));var o=n(11);const a="[Request] Fetch Worlds Wallet Stats",i="[Success] Fetch Worlds Wallet Stats",r="[Failure] Fetch Worlds Wallet Stats",s=e=>Object(o.action)(a,{address:e}),c=(e,t)=>Object(o.action)(i,{address:e,stats:t}),l=(e,t)=>Object(o.action)(r,{address:t,error:e})},580:function(e,t,n){e.exports={zipInfo:"UploadVideoStep_zipInfo__3yotK",infoIcon:"UploadVideoStep_infoIcon__8fR7E",dropzone:"UploadVideoStep_dropzone__5aoC7",overlay:"UploadVideoStep_overlay__2sYE7",video:"UploadVideoStep_video__1phNw",actions:"UploadVideoStep_actions__34Gbx"}},632:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o=()=>window.location.pathname.split("/").pop()},639:function(e,t,n){"use strict";n.r(t),n.d(t,"en",(function(){return o})),n.d(t,"es",(function(){return a})),n.d(t,"zh",(function(){return i}));const o=n(3368),a=n(3369),i=n(3370)},644:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var o=n(83);const a={triangles:0,materials:0,meshes:0,bodies:0,entities:0,textures:0},i=[o.a.GLTFShape,o.a.NFTShape]},645:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(289),a=n(415);const i=[{inputs:[{internalType:"contract IENSRegistry",name:"_registry",type:"address"},{internalType:"contract IBaseRegistrar",name:"_base",type:"address"},{internalType:"string",name:"_topdomain",type:"string"},{internalType:"string",name:"_domain",type:"string"},{internalType:"string",name:"_baseURI",type:"string"}],payable:!1,stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"approved",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"string",name:"_oldBaseURI",type:"string"},{indexed:!1,internalType:"string",name:"_newBaseURI",type:"string"}],name:"BaseURI",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IBaseRegistrar",name:"_previousBase",type:"address"},{indexed:!0,internalType:"contract IBaseRegistrar",name:"_newBase",type:"address"}],name:"BaseUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_controller",type:"address"}],name:"ControllerAdded",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_controller",type:"address"}],name:"ControllerRemoved",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"DomainReclaimed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_newOwner",type:"address"},{indexed:!0,internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"DomainTransferred",type:"event"},{anonymous:!1,inputs:[],name:"MigrationFinished",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_caller",type:"address"},{indexed:!0,internalType:"address",name:"_beneficiary",type:"address"},{indexed:!0,internalType:"bytes32",name:"_labelHash",type:"bytes32"},{indexed:!1,internalType:"string",name:"_subdomain",type:"string"},{indexed:!1,internalType:"uint256",name:"_createdDate",type:"uint256"}],name:"NameRegistered",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"previousOwner",type:"address"},{indexed:!0,internalType:"address",name:"newOwner",type:"address"}],name:"OwnershipTransferred",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"_caller",type:"address"},{indexed:!0,internalType:"address",name:"_owner",type:"address"},{indexed:!0,internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"Reclaimed",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract IENSRegistry",name:"_previousRegistry",type:"address"},{indexed:!0,internalType:"contract IENSRegistry",name:"_newRegistry",type:"address"}],name:"RegistryUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Transfer",type:"event"},{constant:!0,inputs:[],name:"ERC721_RECEIVED",outputs:[{internalType:"bytes4",name:"",type:"bytes4"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"controller",type:"address"}],name:"addController",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"approve",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"string",name:"_subdomain",type:"string"}],name:"available",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"owner",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"base",outputs:[{internalType:"contract IBaseRegistrar",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"baseURI",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"",type:"address"}],name:"controllers",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"domain",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"domainNameHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"getApproved",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"string",name:"_subdomain",type:"string"}],name:"getOwnerOf",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"string",name:"_subdomain",type:"string"}],name:"getTokenId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"isOwner",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32[]",name:"_names",type:"bytes32[]"},{internalType:"address[]",name:"_beneficiaries",type:"address[]"},{internalType:"uint256[]",name:"_createdDates",type:"uint256[]"}],name:"migrateNames",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"migrated",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[],name:"migrationFinished",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"bytes",name:"",type:"bytes"}],name:"onERC721Received",outputs:[{internalType:"bytes4",name:"",type:"bytes4"}],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"ownerOf",outputs:[{internalType:"address",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"uint256",name:"_tokenId",type:"uint256"},{internalType:"address",name:"_owner",type:"address"}],name:"reclaim",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"reclaimDomain",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"string",name:"_subdomain",type:"string"},{internalType:"address",name:"_beneficiary",type:"address"}],name:"register",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[],name:"registry",outputs:[{internalType:"contract IENSRegistry",name:"",type:"address"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"controller",type:"address"}],name:"removeController",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[],name:"renounceOwnership",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"safeTransferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes",name:"_data",type:"bytes"}],name:"safeTransferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"subdomains",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"uint256",name:"index",type:"uint256"}],name:"tokenByIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"uint256",name:"index",type:"uint256"}],name:"tokenOfOwnerByIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"tokenURI",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"topdomain",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"topdomainNameHash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"_owner",type:"address"},{internalType:"uint256",name:"_tokenId",type:"uint256"}],name:"transferDomainOwnership",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"transferFrom",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"contract IBaseRegistrar",name:"_base",type:"address"}],name:"updateBase",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"string",name:"_baseURI",type:"string"}],name:"updateBaseURI",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"contract IENSRegistry",name:"_registry",type:"address"}],name:"updateRegistry",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}];class r{static createInterface(){return new o.utils.Interface(i)}static connect(e,t){return new a.Contract(e,i,t)}}r.abi=i},648:function(e,t,n){"use strict";let o,a;n.d(t,"a",(function(){return a})),function(e){e.IMPORT="import",e.DETAILS="details",e.THUMBNAIL="thumbnail"}(o||(o={})),function(e){e[e.ZOOM_IN=0]="ZOOM_IN",e[e.ZOOM_OUT=1]="ZOOM_OUT",e[e.PAN_CAMERA_Y=2]="PAN_CAMERA_Y",e[e.CHANGE_CAMERA_ALPHA=3]="CHANGE_CAMERA_ALPHA"}(a||(a={}))},65:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"w",(function(){return i})),n.d(t,"l",(function(){return r})),n.d(t,"F",(function(){return s})),n.d(t,"r",(function(){return c})),n.d(t,"L",(function(){return l})),n.d(t,"t",(function(){return d})),n.d(t,"N",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"u",(function(){return m})),n.d(t,"e",(function(){return b})),n.d(t,"y",(function(){return h})),n.d(t,"m",(function(){return f})),n.d(t,"G",(function(){return y})),n.d(t,"f",(function(){return _})),n.d(t,"z",(function(){return g})),n.d(t,"d",(function(){return j})),n.d(t,"x",(function(){return O})),n.d(t,"n",(function(){return v})),n.d(t,"H",(function(){return C})),n.d(t,"b",(function(){return x})),n.d(t,"v",(function(){return w})),n.d(t,"g",(function(){return E})),n.d(t,"A",(function(){return S})),n.d(t,"h",(function(){return A})),n.d(t,"B",(function(){return T})),n.d(t,"p",(function(){return R})),n.d(t,"J",(function(){return k})),n.d(t,"q",(function(){return N})),n.d(t,"K",(function(){return P})),n.d(t,"o",(function(){return I})),n.d(t,"I",(function(){return L})),n.d(t,"s",(function(){return M})),n.d(t,"M",(function(){return D})),n.d(t,"j",(function(){return F})),n.d(t,"D",(function(){return U})),n.d(t,"k",(function(){return B})),n.d(t,"E",(function(){return z})),n.d(t,"i",(function(){return H})),n.d(t,"C",(function(){return W}));var o=n(11);const a="Create scene",i=e=>Object(o.action)(a,{scene:e}),r="Provision scene",s=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(o.action)(r,{scene:e,init:t})},c="Update metrics",l=(e,t,n)=>Object(o.action)(c,{sceneId:e,metrics:t,limits:n}),d="Update transform",u=(e,t)=>Object(o.action)(d,{sceneId:e,components:t}),p="Add item",m=(e,t)=>Object(o.action)(p,{asset:e,position:t}),b="Drop item",h=(e,t,n)=>Object(o.action)(b,{asset:e,x:t,y:n}),f="Reset item",y=()=>Object(o.action)(f,{}),_="Duplicate item",g=()=>Object(o.action)(_,{}),j="Delete item",O=()=>Object(o.action)(j,{}),v="Set ground",C=(e,t)=>Object(o.action)(v,{projectId:e,asset:t}),x="Apply Layout",w=e=>Object(o.action)(x,{project:e}),E="[Request] Fix Legacy Namespaces",S=e=>Object(o.action)(E,{scene:e}),A="[Success] Fix Legacy Namespaces",T=e=>Object(o.action)(A,{scene:e}),R="[Request] Sync Scene Assets",k=e=>Object(o.action)(R,{scene:e}),N="[Success] Sync Scene Assets",P=e=>Object(o.action)(N,{scene:e}),I="Set Script Values",L=(e,t)=>Object(o.action)(I,{entityId:e,values:t}),M="Update scene",D=e=>Object(o.action)(M,{scene:e}),F="[Request] Migrate to SDK7",U=(e,t)=>Object(o.action)(F,{project:e,shouldSaveCopy:t}),B="[Success] Migrate to SDK7",z=()=>Object(o.action)(B),H="[Failure] Migrate to SDK7",W=e=>Object(o.action)(H,{error:e})},650:function(e,t,n){e.exports={sdkActionContainer:"CustomLayoutModal_sdkActionContainer__byZ6e",sdkContent:"CustomLayoutModal_sdkContent__tSZvh",sdkDescription:"CustomLayoutModal_sdkDescription__s0wIW",sdkImg:"CustomLayoutModal_sdkImg__2ZxN_",actionsContainer:"CustomLayoutModal_actionsContainer__Lfqnq"}},652:function(e,t,n){e.exports={CollectionRow:"CollectionRow_CollectionRow__x25bQ",image:"CollectionRow_image__2xXRg",name:"CollectionRow_name__3PoDY",title:"CollectionRow_title__ojZd-",imageColumn:"CollectionRow_imageColumn__3SId_",published:"CollectionRow_published__2_h8l"}},653:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(2),a=n(35),i=n.n(a),r=n(7),s=n(5);var c=async(e,t)=>{await navigator.clipboard.writeText(e),t()},l=n(0);class d extends o.PureComponent{constructor(){super(...arguments),this.state={hasCopiedText:!1,fadeOut:!1},this.handleTransitionEnd=()=>{this.props.showPopup&&this.setState({hasCopiedText:!1,fadeOut:!1})},this.handleCopy=async()=>{const{showPopup:e,text:t,timeOut:n,onCopy:o}=this.props;await c(t,(()=>{o&&o(),e&&(this.setState({hasCopiedText:!0}),setTimeout((()=>{this.setState({fadeOut:!0})}),n))}))}}render(){const{className:e,children:t,role:n,showPopup:o}=this.props,{fadeOut:a,hasCopiedText:c}=this.state;return Object(l.jsx)("div",{className:i()(e),role:n,"aria-label":"copy",onClick:this.handleCopy,children:o?Object(l.jsx)(r.Popup,{className:i()("copy-to-clipboard-popup",{"fade-out":a}),onTransitionEnd:this.handleTransitionEnd,content:Object(l.jsx)("div",{className:"copied-text",children:Object(s.t)("global.copied")}),position:"right center",trigger:t,open:c,inverted:!0,basic:!0}):t})}}d.defaultProps={showPopup:!1,timeOut:3e3}},654:function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"a",(function(){return y})),n.d(t,"k",(function(){return _})),n.d(t,"f",(function(){return g})),n.d(t,"e",(function(){return j})),n.d(t,"c",(function(){return O})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return C}));var o=n(48),a=n(70),i=n(106),r=n(306),s=n(632),c=n(54),l=n(49),d=n(271),u=n(429);const p=e=>e.pool,m=e=>p(e).data,b=e=>p(e).total,h=Object(o.a)(b,(e=>{switch(e){case null:case 0:return e;default:return Math.ceil(e/u.a)}})),f=Object(o.a)((e=>p(e).list),m,((e,t)=>null===e?null:e.map((e=>t[e])))),y=(Object(o.a)(s.a,c.c,((e,t)=>e&&t[e]&&t[e].isPublic?t[e]:null)),Object(o.a)(s.a,m,((e,t)=>e&&t[e]?t[e]:null))),_=Object(o.a)((e=>p(e).loading),(e=>Object(a.isLoadingType)(e,l.p)||Object(a.isLoadingType)(e,l.v)||Object(a.isLoadingType)(e,d.e))),g=Object(o.a)((e=>Object(i.d)(e)),(e=>{const t=new URLSearchParams(e.search);return r.d(t.get("group"))})),j=Object(o.a)((e=>Object(i.d)(e)),(e=>{const t=new URLSearchParams(e.search);return r.d(t.get("eth_address"))})),O=Object(o.a)((e=>Object(i.d)(e)),(e=>{const t=new URLSearchParams(e.search);return r.a(t.get("page"),1)})),v=Object(o.a)((e=>Object(i.d)(e)),(e=>{const t=new URLSearchParams(e.search);return r.b(t.get("sort_by"),[u.b.NEWEST,u.b.LIKES,u.b.NAME,u.b.SIZE,u.b.ITEMS,u.b.SMART_ITEMS],u.b.NEWEST)})),C=Object(o.a)((e=>Object(i.d)(e)),(e=>{const t=new URLSearchParams(e.search);return r.c(t.get("sort_order"),"desc")}))},66:function(e,t,n){"use strict";n.d(t,"p",(function(){return i})),n.d(t,"q",(function(){return r})),n.d(t,"l",(function(){return s})),n.d(t,"U",(function(){return c})),n.d(t,"V",(function(){return l})),n.d(t,"Q",(function(){return d})),n.d(t,"s",(function(){return u})),n.d(t,"t",(function(){return p})),n.d(t,"r",(function(){return m})),n.d(t,"X",(function(){return b})),n.d(t,"Y",(function(){return h})),n.d(t,"W",(function(){return f})),n.d(t,"E",(function(){return y})),n.d(t,"F",(function(){return _})),n.d(t,"D",(function(){return g})),n.d(t,"jb",(function(){return j})),n.d(t,"kb",(function(){return O})),n.d(t,"ib",(function(){return v})),n.d(t,"B",(function(){return C})),n.d(t,"C",(function(){return x})),n.d(t,"A",(function(){return w})),n.d(t,"gb",(function(){return E})),n.d(t,"hb",(function(){return S})),n.d(t,"fb",(function(){return A})),n.d(t,"n",(function(){return T})),n.d(t,"o",(function(){return R})),n.d(t,"m",(function(){return k})),n.d(t,"S",(function(){return N})),n.d(t,"T",(function(){return P})),n.d(t,"R",(function(){return I})),n.d(t,"f",(function(){return L})),n.d(t,"g",(function(){return M})),n.d(t,"e",(function(){return D})),n.d(t,"h",(function(){return F})),n.d(t,"d",(function(){return U})),n.d(t,"K",(function(){return B})),n.d(t,"M",(function(){return z})),n.d(t,"L",(function(){return H})),n.d(t,"J",(function(){return W})),n.d(t,"I",(function(){return G})),n.d(t,"j",(function(){return Y})),n.d(t,"k",(function(){return Q})),n.d(t,"i",(function(){return V})),n.d(t,"O",(function(){return q})),n.d(t,"P",(function(){return X})),n.d(t,"N",(function(){return $})),n.d(t,"y",(function(){return K})),n.d(t,"z",(function(){return Z})),n.d(t,"x",(function(){return J})),n.d(t,"db",(function(){return ee})),n.d(t,"eb",(function(){return te})),n.d(t,"cb",(function(){return ne})),n.d(t,"b",(function(){return oe})),n.d(t,"c",(function(){return ae})),n.d(t,"a",(function(){return ie})),n.d(t,"H",(function(){return re})),n.d(t,"G",(function(){return se})),n.d(t,"v",(function(){return ce})),n.d(t,"w",(function(){return le})),n.d(t,"u",(function(){return de})),n.d(t,"ab",(function(){return ue})),n.d(t,"bb",(function(){return pe})),n.d(t,"Z",(function(){return me}));var o=n(11),a=n(124);const i="[Request] Fetch ENS",r="[Success] Fetch ENS",s="[Failure] Fetch ENS",c=(e,t)=>Object(o.action)(i,{name:e,land:t}),l=e=>Object(o.action)(r,{ens:e}),d=e=>Object(o.action)(s,{error:e}),u="[Request] Fetch ENS World Status",p="[Success] Fetch ENS World Status",m="[Failure] Fetch ENS World Status",b=e=>Object(o.action)(u,{subdomain:e}),h=e=>Object(o.action)(p,{ens:e}),f=e=>Object(o.action)(m,{error:e}),y="[Request] Set ENS Resolver",_="[Success] Set ENS Resolver",g="[Failure] Set ENS Resolver",j=e=>Object(o.action)(y,{ens:e}),O=(e,t,n,i,r)=>Object(o.action)(_,{...Object(a.buildTransactionPayload)(i,r,{ens:e,resolver:t,address:n}),ens:e}),v=(e,t)=>Object(o.action)(g,{ens:e,error:t}),C="[Request] Set ENS Content",x="[Success] Set ENS Content",w="[Failure] Set ENS Content",E=(e,t)=>Object(o.action)(C,{ens:e,land:t}),S=(e,t,n,i,r,s)=>Object(o.action)(x,{...Object(a.buildTransactionPayload)(r,s,{ens:e,content:t,land:n,address:i}),ens:e,land:n}),A=(e,t,n)=>Object(o.action)(w,{ens:e,land:t,error:n}),T="[Request] Fetch ENS List",R="[Success] Fetch ENS List",k="[Failure] Fetch ENS List",N=()=>Object(o.action)(T,{}),P=e=>Object(o.action)(R,{ensList:e}),I=e=>Object(o.action)(k,{error:e}),L="[Request] Claim Name",M="[Success] Claim Name",D="[Failure] Claim Name",F="[Submitted] Claim Name",U="[Clear] Claim Name",B=e=>Object(o.action)(L,{name:e}),z=(e,t,n,i)=>Object(o.action)(F,{...Object(a.buildTransactionPayload)(n,i,{subdomain:e,address:t})}),H=(e,t)=>Object(o.action)(M,{ens:e,name:t}),W=e=>Object(o.action)(D,{error:e}),G=()=>Object(o.action)(U),Y="[Request] Fetch ENS Authorization",Q="[Success] Fetch ENS Authorization",V="[Failure] Fetch ENS Authorization",q=()=>Object(o.action)(Y,{}),X=(e,t)=>Object(o.action)(Q,{authorization:e,address:t}),$=e=>Object(o.action)(V,{error:e}),K="[Request] Reclaim Name",Z="[Success] Reclaim Name",J="[Failure] Reclaim Name",ee=e=>Object(o.action)(K,{ens:e}),te=(e,t,n)=>Object(o.action)(Z,{...Object(a.buildTransactionPayload)(t,e,{ens:n}),ens:n}),ne=e=>Object(o.action)(J,{error:e}),oe="[Request] Allow Claim MANA",ae="[Success] Allow Claim MANA",ie="[Failure] Allow Claim MANA",re=(e,t,n,i)=>Object(o.action)(ae,{...Object(a.buildTransactionPayload)(n,i,{allowance:e,address:t}),allowance:e,address:t}),se=e=>Object(o.action)(ie,{error:e}),ce="[Request] Fetch External Names",le="[Success] Fetch External Names",de="[Failure] Fetch External Names",ue=e=>Object(o.action)(ce,{owner:e}),pe=(e,t)=>Object(o.action)(le,{owner:e,names:t}),me=(e,t)=>Object(o.action)(de,{owner:t,error:e})},689:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d}));var o=n(5),a=n(1918),i=(n(1087),n(860)),r=n(1331),s=n(1330);const c={en:i.a,"en-EN":i.a,es:r.a,"es-ES":r.a,zh:s.a,"zh-CN":s.a};function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(a.a)(e,u(t))}function d(e){return e>3600?Object(o.t)("time.hours",{amount:Number((e/3600).toFixed(1)).toLocaleString()}):e>60?Object(o.t)("time.minutes",{amount:Math.round(e/60)}):Object(o.t)("time.seconds",{amount:Math.round(e)})}function u(e){const t=c[Object(o.getCurrentLocale)().locale];return t?{...e,locale:t}:{...e}}},692:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"g",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"e",(function(){return b}));var o=n(48),a=n(106),i=n(54),r=n(750);const s=e=>e.ui.dashboard,c=e=>s(e).didCreate,l=e=>s(e).didDismissSyncedToast,d=e=>s(e).didDismissSignInToast,u=Object(o.a)(i.g,(e=>Math.max(Math.ceil(Object.keys(e).length/12),1))),p=Object(o.a)((e=>Object(a.d)(e)),u,((e,t)=>{const n=new URLSearchParams(e.search);let o=parseInt(n.get("page"),10);return(!o||o<1)&&(o=1),o>t&&(o=t),o})),m=Object(o.a)((e=>Object(a.d)(e)),(e=>{const t=new URLSearchParams(e.search);let n=r.a.NEWEST;for(const o of Object.keys(r.a)){let e=t.get("sort_by");if(e){e=e.toLowerCase();const t=o.toLowerCase();e===t&&(n=t)}}return n})),b=Object(o.a)(p,m,i.g,((e,t,n)=>{const o=12*(e-1);return Object.values(n).sort(((e,n)=>{switch(t){case r.a.NAME:return e.title.toLowerCase()>n.title.toLowerCase()?1:-1;case r.a.SIZE:return e.layout.rows*e.layout.cols>n.layout.cols*n.layout.rows?-1:1;case r.a.NEWEST:default:return+new Date(e.createdAt)>+new Date(n.createdAt)?-1:1}})).slice(o,o+12)}))},705:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r}));const o=e=>e.poolGroup,a=e=>o(e).data,i=e=>{const t=a(e);return Object.values(t)},r=e=>{const t=a(e);return Object.values(t).reduce(((e,t)=>t.isActive&&(!e||e.activeFrom.getTime()>t.activeFrom.getTime())?t:e),null)}},709:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(852),a=n(203);const i={2:e=>(Object(o.a)(e.scene),e),3:e=>(e.project&&(e.project=Object(a.j)(e.project)),Object(o.a)(e.scene),e),4:e=>(Object(a.c)(e.scene),e),5:e=>(Object(a.b)(e.scene),e),6:e=>(Object(a.a)(e.scene),e),7:e=>(Object(a.e)(e.scene),e),8:e=>(Object(a.h)(e.scene),e),9:e=>(Object(a.i)(e.scene),e),10:e=>(Object(a.f)(e.project),e),11:e=>(e.scene=Object(a.k)(e.scene),e)}},72:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return c}));var o=n(1334);let a,i;!function(e){e.PARCEL="parcel",e.ESTATE="estate"}(a||(a={})),function(e){e[e.OWNER=1]="OWNER",e[e.LESSOR=2]="LESSOR",e[e.TENANT=3]="TENANT",e[e.OPERATOR=4]="OPERATOR"}(i||(i={}));const r=()=>o.a`
  fragment parcelFields on Parcel {
    x
    y
    tokenId
    owner {
      address
    }
    updateOperator
    data {
      name
      description
    }
  }
`,s=()=>o.a`
  fragment estateFields on Estate {
    id
    owner {
      address
    }
    updateOperator
    size
    parcels(first: 1000) {
      x
      y
      tokenId
    }
    data {
      name
      description
    }
  }
`,c=()=>o.a`
  fragment rentalFields on Rental {
    id
    contractAddress
    tokenId
    lessor
    tenant
    operator
    startedAt
    endsAt
  }
`},74:function(e,t,n){"use strict";var o=n(2),a=n(35),i=n.n(a),r=(n(3422),n(3423),n(0));const s=e=>{};class c extends o.PureComponent{render(){const{name:e,isActive:t,onClick:n,className:o}=this.props,a=t?`${e}-active`:e;return Object(r.jsx)("div",{className:i()("Icon",a,{clickeable:!!n},o),onClick:n||s})}}c.defaultProps={isActive:!1,className:""};t.a=c},750:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.NEWEST="newest",e.SIZE="size",e.NAME="name"}(o||(o={}))},751:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i}));const o="ASSET",a={beginDrag:e=>(e.onBeginDrag(e.asset),{asset:e.asset}),canDrag:e=>!e.asset.isDisabled},i=(e,t)=>({connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview(),isDragging:t.isDragging()})},757:function(e,t,n){e.exports={errorContainer:"ErrorMessage_errorContainer__3_Z_g",errorMessageContainer:"ErrorMessage_errorMessageContainer__jazs3",errorTitle:"ErrorMessage_errorTitle__3JvqG",errorMessage:"ErrorMessage_errorMessage__3GusO",errorIcon:"ErrorMessage_errorIcon__ZTicj"}},758:function(e,t,n){e.exports={zipInfo:"ItemImport_zipInfo__ACUgw",infoIcon:"ItemImport_infoIcon__3DgEp",dropzone:"ItemImport_dropzone__3rF9w",itemLoaded:"ItemImport_itemLoaded__2OLD1",isLoading:"ItemImport_isLoading__3P9em"}},759:function(e,t,n){e.exports={ItemRow:"ItemRow_ItemRow__1vQhn",image:"ItemRow_image__V4fIA",name:"ItemRow_name__n7JDm",title:"ItemRow_title__28iPb",imageColumn:"ItemRow_imageColumn__38p2i",published:"ItemRow_published__Tj98K"}},76:function(e,t,n){"use strict";n.d(t,"f",(function(){return v})),n.d(t,"i",(function(){return C})),n.d(t,"k",(function(){return x})),n.d(t,"h",(function(){return w})),n.d(t,"g",(function(){return E})),n.d(t,"j",(function(){return S})),n.d(t,"o",(function(){return A})),n.d(t,"d",(function(){return T})),n.d(t,"p",(function(){return R})),n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return P})),n.d(t,"e",(function(){return I})),n.d(t,"s",(function(){return L})),n.d(t,"q",(function(){return M})),n.d(t,"n",(function(){return D})),n.d(t,"r",(function(){return F})),n.d(t,"m",(function(){return U})),n.d(t,"l",(function(){return B}));var o=n(48),a=n(93),i=n(70),r=n(7),s=n(42),c=n(833),l=n(290),d=n(82),u=n(27),p=n(404),m=n(366),b=n(397),h=n(185),f=n(118),y=n(92),_=n(44),g=n(189),j=n(115);const O=e=>e.collection,v=e=>O(e).data,C=e=>O(e).loading,x=e=>O(e).pagination,w=e=>O(e).lastFetchParams,E=e=>O(e).error,S=(e,t)=>{const n=x(e),o=v(e);return(n?t?n.ids.slice(0,t):n.ids:[]).map((e=>o[e])).filter(Boolean)},A=e=>{const t=E(e);return t&&t.startsWith(j.d)?t:null},T=Object(o.a)(v,s.getAddress,(e=>Object.values(e).sort(j.x))),R=Object(o.a)(T,s.getAddress,((e,t)=>e.filter((e=>t&&Object(f.b)(e.owner,t))))),k=Object(o.a)(T,s.getAddress,m.b,((e,t,n)=>e.filter((e=>{const o=Object(j.l)(e);switch(o){case g.b.STANDARD:return t&&Object(j.g)(e,t);case g.b.THIRD_PARTY:{const o=Object(b.b)(n,e);return t&&o&&Object(b.d)(t,o)}default:throw new Error(`Invalid collection type ${o}`)}})))),N=(e,t)=>T(e).find((e=>e.id===t))||null,P=(e,t)=>{var n;return(null===(n=v(e)[t])||void 0===n?void 0:n.itemCount)||0},I=Object(o.a)((e=>v(e)),(e=>Object.values(e).reduce(((e,t)=>{const{contractAddress:n}=t;return n&&(e[n]=t),e}),{}))),L=Object(o.a)(l.getPendingTransactions,(e=>e.some((e=>e.actionType===_.F)))),M=Object(o.a)(l.getPendingTransactions,(e=>e.some((e=>[_.c,_.w].includes(e.actionType))))),D=Object(o.a)((e=>Object(d.h)(e)),(e=>Object(d.o)(e)),p.b,((e,t,n)=>{const o={};for(const i of e){const{collectionId:e}=i;var a;if(e&&i.isPublished)"pending"===(null===(a=n[e])||void 0===a?void 0:a.status)?o[e]=u.s.UNDER_REVIEW:o[e]=e in o?Object(j.n)(o[e],t[i.id]):t[i.id]}return o})),F=(e,t,n)=>{const o=Object(y.i)(n.urn)?Object(m.a)(e,n):null;return o&&Object(b.d)(t,o)||Object(j.e)(n,t)},U=e=>Object(a.getContract)(a.ContractName.RaritiesWithOracle,e),B=e=>{if(Object(i.isLoadingType)(C(e),_.s))return r.AuthorizationStepStatus.WAITING;const t=Object(l.getPendingTransactions)(e).filter((e=>Object(c.getType)({type:_.s})===Object(c.getType)({type:e.actionType})));return Object(i.isLoadingType)(C(e),h.c)||t.length?r.AuthorizationStepStatus.PROCESSING:E(e)?r.AuthorizationStepStatus.ERROR:r.AuthorizationStepStatus.PENDING}},760:function(e,t,n){e.exports={modal:"EmotesV2AnnouncementModal_modal__3ZZA9",description:"EmotesV2AnnouncementModal_description__1Nxpb",video:"EmotesV2AnnouncementModal_video__2fnjz",content:"EmotesV2AnnouncementModal_content__176Ix",header:"EmotesV2AnnouncementModal_header__1Usfu",actions:"EmotesV2AnnouncementModal_actions__39-5g"}},79:function(e,t,n){"use strict";n.d(t,"openModal",(function(){return a})),n.d(t,"closeModal",(function(){return i})),n.d(t,"toggleModal",(function(){return r}));var o=n(195);n.o(o,"CLOSE_MODAL")&&n.d(t,"CLOSE_MODAL",(function(){return o.CLOSE_MODAL})),n.o(o,"OPEN_MODAL")&&n.d(t,"OPEN_MODAL",(function(){return o.OPEN_MODAL})),n.o(o,"closeAllModals")&&n.d(t,"closeAllModals",(function(){return o.closeAllModals}));const{openModal:a,closeModal:i,toggleModal:r}=Object(o.getModalActions)()},80:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n(708),a=n(1866),i=n(1867),r=n(1868);const s=Object(o.createConfig)({[o.Env.DEVELOPMENT]:a,[o.Env.STAGING]:i,[o.Env.PRODUCTION]:r})},81:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"v",(function(){return b})),n.d(t,"w",(function(){return h})),n.d(t,"j",(function(){return f})),n.d(t,"h",(function(){return y})),n.d(t,"e",(function(){return _})),n.d(t,"g",(function(){return g})),n.d(t,"y",(function(){return j})),n.d(t,"t",(function(){return O})),n.d(t,"u",(function(){return v})),n.d(t,"o",(function(){return C})),n.d(t,"p",(function(){return x})),n.d(t,"i",(function(){return w})),n.d(t,"r",(function(){return S})),n.d(t,"c",(function(){return R})),n.d(t,"k",(function(){return N})),n.d(t,"l",(function(){return P})),n.d(t,"z",(function(){return I})),n.d(t,"n",(function(){return L})),n.d(t,"d",(function(){return M})),n.d(t,"x",(function(){return D})),n.d(t,"m",(function(){return F})),n.d(t,"q",(function(){return U})),n.d(t,"s",(function(){return B}));var o=n(7),a=n(80),i=n(103),r=n(126),s=n(469),c=n(515),l=n(118),d=n(72);const u="0xDc13378daFca7Fe2306368A16BCFac38c80BfCAD",p=20,m=(e,t)=>`${e},${t}`,b=e=>e.split(",").map((e=>+e)),h=e=>e.includes(","),f=e=>e.type===d.a.PARCEL?{x:e.x,y:e.y}:{x:e.parcels[0].x,y:e.parcels[0].y},y=e=>{const t=[...new Set(e.map((e=>e.x)).sort())],n=[...new Set(e.map((e=>e.y)).sort())];return[t[t.length/2|0],n[n.length/2|0]]},_={[d.b.OWNER]:o.Color.SUMMER_RED,[d.b.LESSOR]:o.Color.MILLENIAL_ORANGE,[d.b.OPERATOR]:o.Color.LUISXVI_VIOLET,[d.b.TENANT]:o.Color.SUMMER_RED},g={[d.b.OWNER]:"#ab2039",[d.b.LESSOR]:"#d18157",[d.b.OPERATOR]:"#8f1d9b",[d.b.TENANT]:"#ab2039"},j={[d.b.OWNER]:"#ff8199",[d.b.LESSOR]:"#febd9a",[d.b.OPERATOR]:"#d742e8",[d.b.TENANT]:"#ff8199"},O={[d.b.OWNER]:"#ff8199",[d.b.LESSOR]:"#febd9a",[d.b.OPERATOR]:"#d742e8",[d.b.TENANT]:"#ff8199"},v={[d.b.OWNER]:"#fcc6d1",[d.b.LESSOR]:"#fed5bf",[d.b.OPERATOR]:"#ef5eff",[d.b.TENANT]:"#fcc6d1"},C=e=>e.type===d.a.PARCEL?[{x:e.x,y:e.y}]:e.parcels.map((e=>({x:e.x,y:e.y}))),x=async e=>{const t=await Object(i.getSigner)();try{switch(e.type){case d.a.PARCEL:{const n=s.a.connect(r.e,t),o=await n.encodeTokenId(e.x,e.y),a=(await n.updateOperator(o)).toString();return Object(l.d)(a)?null:a}case d.a.ESTATE:{const n=c.a.connect(r.d,t),o=(await n.updateOperator(e.id)).toString();return Object(l.d)(o)?null:o}default:return null}}catch(n){return null}},w=e=>t=>((e,t)=>e.x===t.x&&e.y===t.y)(e,t),E=e=>t=>e.x===t.x&&(e.y===t.y+1||e.y===t.y-1)||e.y===t.y&&(e.x===t.x+1||e.x===t.x-1);function S(e,t){return t.some(E(e))}function A(e,t){return t.filter(E(e))}const T=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[e],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const o=n.some(w(e));if(!o){n.push(e);const o=A(e,t);for(const e of o)T(e,t,n)}return n},R=e=>{if(0===e.length)return!1;return T(e[0],e).length===e.length},k=(e,t)=>t.filter((t=>!e.some(w(t)))),N=(e,t)=>k(e,t),P=(e,t)=>k(t,e),I=e=>{const t=[],n=[];for(const o of e)t.push(o.x),n.push(o.y);return[t,n]};function L(e){switch(e.toLowerCase()){case r.e:return d.a.PARCEL;case r.d:return d.a.ESTATE;default:throw new Error(`Could not derive land type from contract address "${e}"`)}}const M=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return`0,"${e.replace(/"/g,'\\"')}","${t.replace(/"/g,'\\"')}",`};function D(e,t){const n=Object.keys(e),o=n.indexOf(t);return e[n[(((-1===o?0:o)+1)%n.length+n.length)%n.length]].land}function F(e,t){return`${a.a.get("EXPLORER_URL","")}?position=${m(e,t)}`}function U(e,t){return e.roles.some((e=>t.includes(e)))}function B(e){return e.endsAt.getTime()<Date.now()}},82:function(e,t,n){"use strict";n.d(t,"c",(function(){return j})),n.d(t,"i",(function(){return O})),n.d(t,"m",(function(){return v})),n.d(t,"f",(function(){return C})),n.d(t,"h",(function(){return x})),n.d(t,"g",(function(){return w})),n.d(t,"s",(function(){return E})),n.d(t,"q",(function(){return S})),n.d(t,"a",(function(){return A})),n.d(t,"r",(function(){return T})),n.d(t,"l",(function(){return R})),n.d(t,"b",(function(){return k})),n.d(t,"k",(function(){return N})),n.d(t,"n",(function(){return P})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return M})),n.d(t,"o",(function(){return U})),n.d(t,"p",(function(){return B})),n.d(t,"u",(function(){return z})),n.d(t,"t",(function(){return H})),n.d(t,"j",(function(){return W}));var o=n(48),a=n(70),i=n(42),r=n(76),s=n(1083),c=n(404),l=n(488),d=n(187),u=n(366),p=n(397),m=n(118),b=n(92),h=n(32),f=n(27),y=n(40),_=n(106);const g=e=>e.item,j=e=>g(e).data,O=e=>g(e).loading,v=(e,t)=>{var n;return null===(n=g(e).pagination)||void 0===n?void 0:n[t]},C=e=>g(e).error,x=Object(o.a)(j,(e=>Object.values(e))),w=(e,t)=>x(e).find((e=>e.id===t))||null,E=e=>g(e).hasUserOrphanItems,S=Object(o.a)(x,i.getAddress,((e,t)=>e.filter((e=>t&&Object(m.b)(e.owner,t))))),A=Object(o.a)((e=>Object(r.a)(e)),(e=>x(e)),(e=>Object(i.getAddress)(e)),((e,t,n)=>n?t.filter((t=>{const o=e.filter((e=>e.id===t.collectionId))[0];return Object(y.n)(o,t,n)})):[])),T=Object(o.a)(A,(e=>e.filter((e=>void 0===e.collectionId)))),R=(e,t,n)=>{const o=v(e,t),a=j(e);return(o?n?o.ids.slice(0,n):o.ids:[]).map((e=>a[e])).filter(Boolean)},k=(e,t)=>x(e).filter((e=>e.collectionId===t)),N=(e,t,n)=>{const o=v(e,t),a=j(e);return(o?n?o.ids.slice(0,n):o.ids:[]).map((e=>a[e])).filter(Boolean)},P=e=>g(e).rarities,I=(Object(o.a)(x,(e=>e.filter((e=>e.type===f.m.WEARABLE)))),Object(o.a)(x,(e=>e.filter((e=>e.type===f.m.EMOTE))))),L=Object(o.a)((e=>x(e)),(e=>Object(r.f)(e)),((e,t)=>{const n={};for(const o of e.filter((e=>e.isPublished))){const e=t[o.collectionId];if(e){n[Object(b.b)(e.contractAddress,o.tokenId)]=o}}return n})),M=Object(o.a)((e=>Object(s.a)(e)),(e=>L(e)),((e,t)=>e.reduce(((e,n)=>{const o=n.metadata.id,a=t[o];return a&&(e[a.id]=n),e}),{}))),D=(e,t)=>{if(!e.isPublished&&!t)return f.s.UNPUBLISHED;if(t&&t.status===d.b.PENDING)return f.s.UNDER_REVIEW;if(t&&t.status===d.b.APPROVED){const t=Object(y.Y)(e)&&e.contents[f.v]!==e.video;return e.currentContentHash!==e.catalystContentHash||t?f.s.UNSYNCED:f.s.SYNCED}return f.s.UNPUBLISHED},F=(e,t,n)=>{let o;return o=n?Object(y.j)(e,n)?f.s.SYNCED:(null===t||void 0===t?void 0:t.status)===d.b.PENDING?f.s.UNDER_REVIEW:f.s.UNSYNCED:e.isPublished?e.isApproved?f.s.LOADING:f.s.UNDER_REVIEW:f.s.UNPUBLISHED,o},U=Object(o.a)((e=>x(e)),(e=>M(e)),(e=>Object(c.b)(e)),l.b,((e,t,n,o)=>{const a={};for(const i of e)a[i.id]=Object(b.i)(i.urn)?D(i,o[i.id]):F(i,i.collectionId?n[i.collectionId]:null,t[i.id]);return a})),B=Object(o.a)(((e,t)=>t),U,((e,t)=>e.reduce(((e,n)=>(e[n]=t[n],e)),{}))),z=e=>Object(a.isLoadingType)(O(e),h.g),H=(e,t,n,o)=>{const a=Object(b.i)(o.urn)?Object(u.e)(e,o):null;return null!==a&&Object(p.d)(t,a)||(null!==n?Object(y.n)(n,o,t):Object(y.X)(o,t))},W=e=>new URLSearchParams(Object(_.e)(e)).get("newItem")},83:function(e,t,n){"use strict";let o,a;n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),function(e){e.GLTFShape="GLTFShape",e.Transform="Transform",e.NFTShape="NFTShape",e.Script="Script"}(o||(o={})),function(e){e.SDK6="sdk6",e.SDK7="sdk7"}(a||(a={}))},84:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"z",(function(){return c})),n.d(t,"A",(function(){return l})),n.d(t,"y",(function(){return d})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"C",(function(){return b})),n.d(t,"D",(function(){return h})),n.d(t,"B",(function(){return f})),n.d(t,"t",(function(){return y})),n.d(t,"u",(function(){return _})),n.d(t,"s",(function(){return g})),n.d(t,"O",(function(){return j})),n.d(t,"Q",(function(){return O})),n.d(t,"P",(function(){return v})),n.d(t,"N",(function(){return C})),n.d(t,"n",(function(){return x})),n.d(t,"o",(function(){return w})),n.d(t,"m",(function(){return E})),n.d(t,"I",(function(){return S})),n.d(t,"J",(function(){return A})),n.d(t,"H",(function(){return T})),n.d(t,"q",(function(){return R})),n.d(t,"r",(function(){return k})),n.d(t,"p",(function(){return N})),n.d(t,"L",(function(){return P})),n.d(t,"M",(function(){return I})),n.d(t,"K",(function(){return L})),n.d(t,"k",(function(){return M})),n.d(t,"l",(function(){return D})),n.d(t,"j",(function(){return F})),n.d(t,"F",(function(){return U})),n.d(t,"G",(function(){return B})),n.d(t,"E",(function(){return z})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return W})),n.d(t,"a",(function(){return G})),n.d(t,"w",(function(){return Y})),n.d(t,"x",(function(){return Q})),n.d(t,"v",(function(){return V}));var o=n(11),a=n(124);const i="[Request] Fetch Third Parties",r="[Success] Fetch Third Parties",s="[Failure] Fetch Third Parties",c=e=>Object(o.action)(i,{address:e}),l=e=>Object(o.action)(r,{thirdParties:e}),d=e=>Object(o.action)(s,{error:e}),u="[Request] Fetch Third Party Available Slots",p="[Success] Fetch Third Party Available Slots",m="[Failure] Fetch Third Party Available Slots",b=e=>Object(o.action)(u,{thirdPartyId:e}),h=(e,t)=>Object(o.action)(p,{thirdPartyId:e,availableSlots:t}),f=e=>Object(o.action)(m,{error:e}),y="[Request] Review a third party",_="[Success] Review a third party",g="[Failure] Review a third party",j=(e,t,n)=>Object(o.action)(y,{thirdPartyId:e,slots:t,merkleTreeRoot:n}),O=(e,t)=>Object(o.action)("[Tx Success] Review a third party",{...Object(a.buildTransactionPayload)(t,e)}),v=()=>Object(o.action)(_),C=e=>Object(o.action)(g,{error:e}),x="[Request] Publish third party items",w="[Success] Publish third party items",E="[Failure] Publish third party items",S=(e,t)=>Object(o.action)(x,{thirdParty:e,items:t}),A=(e,t,n,a)=>Object(o.action)(w,{thirdPartyId:e,collectionId:t,items:n,itemCurations:a}),T=e=>Object(o.action)(E,{error:e}),R="[Request] Push third party items changes",k="[Success] Push third party items changes",N="[Failure] Push third party items changes",P=e=>Object(o.action)(R,{items:e}),I=(e,t)=>Object(o.action)(k,{collectionId:e,itemCurations:t}),L=e=>Object(o.action)(N,{error:e}),M="[Request] Publish & Push third party items changes",D="[Success] Publish & Push third party items changes",F="[Failure] Publish & Push third party items changes",U=(e,t,n)=>Object(o.action)(M,{thirdParty:e,itemsToPublish:t,itemsWithChanges:n}),B=(e,t,n)=>Object(o.action)(D,{collectionId:e,items:t,itemCurations:n}),z=e=>Object(o.action)(F,{error:e}),H="[Request] Deploy batched third party items",W="[Success] Deploy batched third party items",G="[Failure] Deploy batched third party items",Y=(e,t,n,a)=>Object(o.action)(H,{items:e,collection:t,tree:n,hashes:a}),Q=(e,t)=>Object(o.action)(W,{collection:e,itemCurations:t}),V=(e,t)=>Object(o.action)(G,{errors:e,errorMessage:t})},845:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.SELF_ASSIGN="self_assign",e.REASSIGN="reassign"}(o||(o={}))},852:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(83),a=n(1872);function i(e){if(e)for(const t of Object.values(e.components))if(t.type===o.a.GLTFShape){const e=t,n="mappings"in e.data,o="src"in e.data;if(!n&&o){e.data.mappings=a[e.data.src]}}}},853:function(e,t,n){"use strict";function o(e,t){return new Date(e.createdAt||0)>new Date(t.createdAt||0)?1:-1}n.d(t,"a",(function(){return o}))},857:function(e,t,n){"use strict";let o;n.d(t,"a",(function(){return o})),function(e){e.GRID="GRID",e.LIST="LIST"}(o||(o={}))},858:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const o=e=>e.tile,a=e=>o(e).data},86:function(e,t,n){"use strict";n.d(t,"h",(function(){return a})),n.d(t,"i",(function(){return i})),n.d(t,"g",(function(){return r})),n.d(t,"A",(function(){return s})),n.d(t,"B",(function(){return c})),n.d(t,"z",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"d",(function(){return p})),n.d(t,"x",(function(){return m})),n.d(t,"y",(function(){return b})),n.d(t,"w",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return y})),n.d(t,"j",(function(){return _})),n.d(t,"D",(function(){return g})),n.d(t,"E",(function(){return j})),n.d(t,"C",(function(){return O})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return C})),n.d(t,"a",(function(){return x})),n.d(t,"u",(function(){return w})),n.d(t,"v",(function(){return E})),n.d(t,"t",(function(){return S})),n.d(t,"s",(function(){return A})),n.d(t,"L",(function(){return T})),n.d(t,"n",(function(){return R})),n.d(t,"o",(function(){return k})),n.d(t,"m",(function(){return N})),n.d(t,"G",(function(){return P})),n.d(t,"H",(function(){return I})),n.d(t,"F",(function(){return L})),n.d(t,"q",(function(){return M})),n.d(t,"r",(function(){return D})),n.d(t,"p",(function(){return F})),n.d(t,"J",(function(){return U})),n.d(t,"K",(function(){return B})),n.d(t,"I",(function(){return z}));var o=n(11);const a="[Request] Deploy to LAND pool",i="[Success] Deploy to LAND pool",r="[Failure] Deploy to LAND pool",s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(o.action)(a,{projectId:e,additionalInfo:t})},c=e=>Object(o.action)(i,{images:e}),l=e=>Object(o.action)(r,{error:e}),d="[Request] Deploy to LAND",u="[Success] Deploy to LAND",p="[Failure] Deploy to LAND",m=(e,t,n)=>Object(o.action)(d,{projectId:e,placement:t,overrideDeploymentId:n}),b=(e,t)=>Object(o.action)(u,{deployment:e,overrideDeploymentId:t}),h=e=>Object(o.action)(p,{error:e}),f="[Request] Deploy to World",y="[Success] Deploy to World",_="[Failure] Deploy to World",g=(e,t)=>Object(o.action)(f,{projectId:e,world:t}),j=e=>Object(o.action)(y,{deployment:e}),O=e=>Object(o.action)(_,{error:e}),v="[Request] Clear Deployment",C="[Success] Clear Deployment",x="[Failure] Clear Deployment",w=e=>Object(o.action)(v,{deploymentId:e}),E=e=>Object(o.action)(C,{deploymentId:e}),S=(e,t)=>Object(o.action)(x,{deploymentId:e,error:t}),A="Set Deployment progress",T=(e,t)=>Object(o.action)(A,{stage:e,value:t}),R="[Request] Fetch deployments",k="[Success] Fetch deployments",N="[Failure] Fetch deployments",P=e=>Object(o.action)(R,{coords:e}),I=(e,t)=>Object(o.action)(k,{coords:e,deployments:t}),L=(e,t)=>Object(o.action)(N,{coords:e,error:t}),M="[Request] Fetch World deployments",D="[Success] Fetch World deployments",F="[Failure] Fetch World deployments",U=e=>Object(o.action)(M,{worlds:e}),B=(e,t)=>Object(o.action)(D,{worlds:e,deployments:t}),z=(e,t)=>Object(o.action)(F,{worlds:e,error:t})},873:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var o=n(30),a=n(298),i=n(858),r=n(245),s=n(127),c=n(2),l=n(5),d=n(7),u=n(81),p=n(72),m=n(41),b=n(475),h=(n(3443),n(0));class f extends c.PureComponent{render(){const{x:e,y:t,visible:n,land:o,deployments:a,rentals:i}=this.props,r=i.find((e=>e.tokenId===o.tokenId));return Object(h.jsxs)("div",{className:"Popup",style:{top:t,left:e,opacity:n?1:0},children:[Object(h.jsx)(d.Section,{className:"land-name",children:Object(h.jsxs)(d.Row,{className:"name-row",children:[Object(h.jsx)("span",{className:"name",children:o.name}),o.type===p.a.PARCEL?Object(h.jsxs)(d.Badge,{color:"#37333D",children:[Object(h.jsx)("i",{className:"pin"}),o.id]}):null]})}),Object(h.jsxs)(d.Section,{className:"owner",children:[Object(h.jsx)(d.Header,{sub:!0,children:Object(l.t)("land_page.owner")}),Object(h.jsx)(b.a,{address:r?r.lessor:o.owner})]}),o.operators.length>0?Object(h.jsxs)(d.Section,{className:"operators",children:[Object(h.jsx)(d.Header,{sub:!0,children:Object(l.t)("land_page.operators")}),o.operators.map((e=>Object(h.jsx)(b.a,{address:e})))]}):null,Object(h.jsxs)(d.Section,{className:"online-scenes",children:[Object(h.jsx)(d.Header,{sub:!0,children:Object(l.t)("land_page.online_scenes")}),a.length>0?Object(h.jsxs)(h.Fragment,{children:[a.slice(0,3).map((e=>Object(h.jsxs)(d.Row,{className:"scene",children:[e.thumbnail?Object(h.jsx)("div",{className:"thumbnail",style:{backgroundImage:`url(${e.thumbnail})`}}):null,Object(h.jsx)("div",{className:"title",children:e.name})]}))),a.length>3?Object(h.jsxs)("p",{children:["+",Object(l.t)("list.more",{count:a.length-3})]}):null]}):Object(h.jsx)("div",{className:"no-scenes",children:Object(l.t)("global.none")})]})]})}}var y=Object(o.connect)(((e,t)=>({deployments:Object(r.d)(e)[t.land.id]||[],rentals:Object(r.k)(e)})))(f),_=n(74);class g extends c.PureComponent{render(){const{content:e,icon:t,onClick:n}=this.props;return Object(h.jsx)(d.Popup,{className:"control-tooltip",content:e,position:"top center",trigger:Object(h.jsx)("div",{className:`control ${t}`,onClick:n,children:Object(h.jsx)(_.a,{name:t})}),on:"hover",inverted:!0})}}var j=g;n(3444);const O=e=>{const{landId:t,atlasTiles:n,landTiles:o,emptyTiles:a,showOwner:i,showOperator:r,showTenant:s=!0,showLessor:b=!0,showControls:f,hasPopup:_,className:g,hasLink:O,onNavigate:v,onLocateLand:C}=e,[x,w]=Object(c.useState)(!1),[E,S]=Object(c.useState)(null),[A,T]=Object(c.useState)(-1),[R,k]=Object(c.useState)(-1),[N,P]=Object(c.useState)(0),[I,L]=Object(c.useState)(0),[M,D]=Object(c.useState)(e.zoom||1),F=Object(c.useRef)(null);let U=!1;if(t)if(Object(u.w)(t)){if(t in o){const e=o[t];Object(u.w)(e.land.id)||(U=!0)}}else U=!0;const B=Object(c.useMemo)((()=>t?U?Object.keys(o).reduce(((e,n)=>(o[n].land.id===t&&e.add(n),e)),new Set):new Set([t]):new Set),[o,t,U]),[z,H]=Object(c.useMemo)((()=>t?U?Object(u.h)(Array.from(B).map((e=>{const[t,n]=Object(u.v)(e);return{x:t,y:n}}))):Object(u.v)(t):[e.x,e.y]),[e.x,e.y,t,U,B]),W=(e,t,n,o,a)=>!!e&&(!!t&&e.land.role===p.b.OWNER||!!n&&e.land.role===p.b.OPERATOR||!!o&&e.land.role===p.b.TENANT||!!a&&e.land.role===p.b.LESSOR),G=Object(c.useCallback)(((e,t)=>{const n=Object(u.f)(e,t),a=o[n];return W(a,i,r,s)&&a||null}),[o,i,r,s]),Y=Object(c.useCallback)(((e,t)=>{const n=Object(u.f)(e,t),c=o[n];return W(c,i,r,s,b)&&a[n]||null}),[a,o,i,r,s,b]),Q=Object(c.useCallback)(((e,t)=>{if(!_)return;if(B.has(((e,t)=>`${e},${t}`)(e,t)))return void w(!1);const n=Object(u.f)(e,t),a=o[n];a&&!x?(w(!0),S(a.land),T(-1),k(-1)):a&&a.land!==E?(S(a.land),T(-1),k(-1)):!a&&x&&w(!1)}),[E,x,o,_,B]),V=Object(c.useCallback)(((e,t)=>{if(!O)return;const n=Object(u.f)(e,t);if(n in o&&!B.has(n)){const{land:e}=o[n];w(!1),v(m.a.landDetail(e.id))}}),[o,B,v,O]),q=Object(c.useCallback)((()=>{C&&C()}),[C]),X=Object(c.useCallback)((()=>{D(M-.5)}),[M,D]),$=Object(c.useCallback)((()=>{D(M+.5)}),[M,D]);Object(c.useEffect)((()=>{x?F.current&&(clearTimeout(F.current),F.current=null):F.current=setTimeout((()=>S(null)),250)}),[x]),Object(c.useEffect)((()=>{function e(e){x&&-1===A&&-1===R&&(T(e.offsetX),k(e.offsetY),P(e.offsetX),L(e.offsetY))}return _&&document.addEventListener("mousemove",e),()=>{_&&document.removeEventListener("mousemove",e)}}),[_,x,A,R]);const K=[];g&&K.push(g),E&&K.push("clickable");let Z=[];if(B.size>0){const e=(e,t)=>{const n=Object(u.f)(e,t);return B.has(n)&&n in o},t=(e,t)=>{const n=Object(u.f)(e,t);return o[n].land.role},n=(n,o)=>e(n,o)?{color:u.y[t(n,o)],scale:1.2}:null,a=(t,n)=>e(t,n)?G(t,n):null,i=(t,n)=>e(t,n)?Y(t,n):null;Z=[n,a,i]}return Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)(d.Atlas,{onHover:Q,onClick:V,...e,zoom:M,x:e.x||z,y:e.y||H,maxX:163,maxY:158,className:K.join(" "),tiles:n,layers:[G,Y,...Z,...e.layers||[]]}),E?Object(h.jsx)(y,{x:N,y:I,visible:x,land:E}):null,f?Object(h.jsxs)("div",{className:"dcl atlas-control-container",children:[Object(h.jsx)(j,{content:Object(l.t)("atlas.locate_land"),icon:"locate-land",onClick:q}),Object(h.jsxs)("div",{className:"control-group",children:[Object(h.jsx)(j,{content:Object(l.t)("atlas.zoom_out"),icon:"atlas-zoom-out",onClick:X}),Object(h.jsx)(j,{content:Object(l.t)("atlas.zoom_in"),icon:"atlas-zoom-in",onClick:$})]})]}):null]})};O.defaultProps={showOperator:!0,showOwner:!0,hasPopup:!1,hasLink:!0};var v=O;var C=Object(o.connect)((e=>({landTiles:Object(r.f)(e),emptyTiles:Object(s.g)(e),atlasTiles:Object(i.a)(e)})),(e=>({onNavigate:t=>e(Object(a.e)(t))})))(v)},874:function(e,t,n){"use strict";var o=n(30),a=n(76),i=n(2),r=n(5),s=n(7),c=n(27),l=n(115),d=n(189),u=(n(3581),n(0));class p extends i.PureComponent{render(){const{status:e,collection:t}=this.props;return e&&e!==c.s.UNPUBLISHED&&Object(l.l)(t)!==d.b.THIRD_PARTY?Object(u.jsx)(s.Popup,{position:"top center",content:Object(r.t)(`status.${e}`),trigger:Object(u.jsx)("div",{className:`CollectionStatus ${e}`,title:Object(r.t)(`status.${e}`)}),hideOnScroll:!0,on:"hover"}):null}}var m=Object(o.connect)(((e,t)=>({status:Object(a.n)(e)[t.collection.id]})))(p);t.a=m},875:function(e,t,n){"use strict";var o=n(2),a=n(35),i=n.n(a),r=n(7),s=n(370),c=(n(3433),n(0));class l extends o.PureComponent{render(){const{className:e,content:t=""}=this.props;return Object(c.jsx)(r.Popup,{className:"info-popup",content:t,position:"top center",trigger:Object(c.jsx)(s.a,{className:i()(e,"info-icon")}),on:"hover",inverted:!0})}}t.a=l},878:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return c}));var o=n(48),a=n(42);const i=e=>e.committee,r=e=>i(e).loading,s=e=>(e=>i(e).data)(e).members,c=Object(o.a)(s,a.getAddress,(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.includes(t.toLowerCase())}))},879:function(e,t,n){"use strict";var o=n(30),a=n(82),i=n(2),r=n(35),s=n.n(r),c=n(5),l=n(7),d=n(27),u=(n(3459),n(0));class p extends i.PureComponent{render(){const{status:e,className:t}=this.props;return e&&e!==d.s.UNPUBLISHED?Object(u.jsx)(l.Popup,{className:"ItemStatus popup",position:"top center",content:Object(c.t)(`status.${e}`),trigger:Object(u.jsx)("div",{className:s()("ItemStatus","orb",e,t),title:Object(c.t)(`status.${e}`)}),hideOnScroll:!0,on:"hover"}):null}}p.defaultProps={className:""};var m=Object(o.connect)(((e,t)=>({status:Object(a.o)(e)[t.item.id]})))(p);t.a=m},880:function(e,t,n){"use strict";var o=n(30),a=n(70),i=n(82),r=n(76),s=n(32),c=n(35),l=n.n(c),d=n(2),u=n(7),p=n(5),m=n(263),b=(n(3582),n(0));class h extends d.PureComponent{componentDidMount(){const{itemCount:e}=this.props;e&&this.fetchItemsIfNeeded(e)}componentDidUpdate(e){const{itemCount:t}=this.props;e.itemCount!==t&&t&&this.fetchItemsIfNeeded(t)}fetchItemsIfNeeded(e){const{collectionId:t,items:n,onFetchCollectionThumbnailsRequest:o,collection:a}=this.props,i=e>=4&&n.length<4||e<4&&n.length<e;a&&i&&o(t)}renderItemRow(e){return e.map(((e,t)=>Object(b.jsx)(m.a,{item:e},t)))}renderItemRows(e){const t=e.slice(0,2),n=e.slice(2,4),o={height:n.length?"50%":"100%"};return Object(b.jsxs)(b.Fragment,{children:[t.length>0?Object(b.jsx)("div",{className:"item-row",style:o,children:this.renderItemRow(t)}):null,n.length>0?Object(b.jsx)("div",{className:"item-row",style:o,children:this.renderItemRow(n)}):null]})}render(){const{items:e,className:t,itemCount:n,isLoading:o}=this.props;return Object(b.jsx)("div",{className:l()("CollectionImage","is-image",t),children:o||void 0===n?Object(b.jsx)("div",{className:"item-row loading",children:Object(b.jsx)(u.Loader,{active:!0,size:"tiny",inline:!0})}):0===n?Object(b.jsxs)("div",{className:"item-row empty",children:[Object(b.jsx)("div",{className:"sparkles"}),Object(b.jsx)("div",{children:Object(p.t)("collection_image.no_items")})]}):this.renderItemRows(e)})}}h.defaultProps={className:""};var f=Object(o.connect)(((e,t)=>{var n;const{collectionId:o}=t,c=null===(n=Object(r.b)(e,o))||void 0===n?void 0:n.itemCount,l=Object(i.b)(e,o),d=Object(r.b)(e,o),u=!!Object(i.i)(e).find((e=>e.type===s.m&&e.payload.collectionId===o));return{collection:d,items:l,itemCount:c,isLoading:Object(a.isLoadingType)(Object(i.i)(e),s.p)||u}}),(e=>({onFetchCollectionThumbnailsRequest:t=>e(Object(s.hb)(t))})))(h);t.a=f},89:function(e,t,n){"use strict";n.d(t,"h",(function(){return c})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return d})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return p})),n.d(t,"e",(function(){return m})),n.d(t,"b",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"c",(function(){return y})),n.d(t,"j",(function(){return _})),n.d(t,"o",(function(){return g})),n.d(t,"d",(function(){return j})),n.d(t,"l",(function(){return O})),n.d(t,"a",(function(){return v})),n.d(t,"p",(function(){return C}));var o=n(48),a=n(54),i=n(83),r=n(644);const s=e=>e.scene.present,c=e=>s(e).data,l=e=>!!s(e).loading.length,d=e=>s(e).loading,u=Object(o.a)(a.b,c,((e,t)=>e?t[e.sceneId]:null)),p=Object(o.a)(u,(e=>e&&e.sdk6?e.sdk6.metrics:r.a)),m=Object(o.a)(u,(e=>e&&e.sdk6?e.sdk6.limits:r.a)),b=Object(o.a)(u,(e=>e&&e.sdk6?e.sdk6.components:{})),h=Object(o.a)(u,(e=>e&&e.sdk6?e.sdk6.entities:{})),f=Object(o.a)(u,(e=>e&&e.sdk6?Object.values(e.sdk6.entities).map((e=>e.name)):[])),y=Object(o.a)(h,b,((e,t)=>{const n={};for(const o in e)if(o&&e&&o in e){const a=e[o].components;for(const e of a)n[o]||(n[o]=[]),n[o].push(t[e])}return n})),_=Object(o.a)(h,b,((e,t)=>{const n={};for(const o in e)if(e&&o in e){const a=e[o].components;for(const e of a){const a=t[e];n[o]||(n[o]={}),n[o][a.type]=a}}return n})),g=Object(o.a)(h,b,((e,t)=>{const n={};for(const o in e)if(o&&e&&o in e){const a=e[o].components;for(const e of a)t&&e in t&&r.b.includes(t[e].type)&&(n[o]=t[e])}return n})),j=Object(o.a)(u,(e=>{const t={};for(const n of Object.keys(i.a))t[n]=[];if(e&&e.sdk6){const n=e.sdk6.components;for(const e of Object.values(n))t[e.type]||(t[e.type]=[]),t[e.type].push(e)}return t})),O=Object(o.a)(u,(e=>{if(!e||!e.sdk6)return{};const t=e.sdk6.components,n={};for(const o in t){const e=t[o];e.type===i.a.GLTFShape&&(n[e.data.assetId]=e)}return n})),v=Object(o.a)(u,(e=>{if(!e||!e.sdk6)return{};const t=e.sdk6.components,n={};for(const o in t){const e=t[o];e.type===i.a.NFTShape&&(n[e.data.url]=e)}return n})),C=Object(o.a)(a.b,u,((e,t)=>{if(!e||!t||!t.sdk6)return 0;return Object.values(t.sdk6.components).reduce(((e,t)=>t.type===i.a.Transform?e+1:e),0)-e.layout.cols*e.layout.rows}))},92:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"e",(function(){return b}));var o=n(31),a=n(103);let i,r;function s(e,t,n){let a=`urn:decentraland:${h(o.Network.MATIC)}:collections-thirdparty:${e}:${t}`;return n&&(a+=`:${n}`),a}function c(e,t){return`urn:decentraland:${h(o.Network.MATIC)}:collections-v2:${e}:${t}`}function l(){return`urn:decentraland:${h(o.Network.MATIC)}:collections-v2:0x0000000000000000000000000000000000000000`}function d(e){const t=b(e);if(t.type!==r.COLLECTIONS_THIRDPARTY)throw new Error("URN is not a third party URN");return`urn:decentraland:${t.protocol}:collections-thirdparty:${t.thirdPartyName}`}function u(e){const t=b(e);if(t.type!==r.COLLECTIONS_THIRDPARTY)throw new Error(`Tried to build a third party token for a non third party URN "${e}"`);const{thirdPartyCollectionId:n,thirdPartyTokenId:o}=t;return`${null!==n&&void 0!==n?n:""}:${null!==o&&void 0!==o?o:""}`}function p(e){if(!e)return!1;return b(e).type===r.COLLECTIONS_THIRDPARTY}function m(e){const t=b(e);if(t.type!==r.ENTITY)throw new Error("URN is not an entity URN");return t.entityId}function b(e){const t=new RegExp("urn:decentraland:((?<protocol>mainnet|goerli|sepolia|matic|mumbai|off-chain):)?(?<type>base-avatars|collections-v2|collections-thirdparty|entity):(?<suffix>((?<=base-avatars:)BaseMale|BaseFemale)|((?<=collections-v2:)(?<collectionAddress>0x[a-fA-F0-9]{40}))(:(?<tokenId>[^:|\\s]+))?|((?<=collections-thirdparty:)(?<thirdPartyName>[^:|\\s]+)(:(?<thirdPartyCollectionId>[^:|\\s]+))?(:(?<thirdPartyTokenId>[^:|\\s]+))?)|((?<=entity:)(?<entityId>[^\\?|\\s]+)(\\?=\\&baseUrl=(?<baseUrl>[^\\?|\\s]+))?))").exec(e);if(!t||!t.groups)throw new Error(`Invalid URN: "${e}"`);return t.groups}function h(e){return Object(o.getURNProtocol)(Object(a.getChainIdByNetwork)(e))}!function(e){e.MAINNET="mainnet",e.GOERLI="goerli",e.SEPOLIA="sepolia",e.MATIC="matic",e.MUMBAI="mumbai",e.OFF_CHAIN="off-chain"}(i||(i={})),function(e){e.BASE_AVATARS="base-avatars",e.COLLECTIONS_V2="collections-v2",e.COLLECTIONS_THIRDPARTY="collections-thirdparty",e.ENTITY="entity"}(r||(r={}))},94:function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return s}));const o=32,a=13,i=118,r=8;let s;!function(e){e.MOVE="MOVE",e.ROTATE="ROTATE",e.SCALE="SCALE",e.RESET_ITEM="RESET_ITEM",e.DUPLICATE_ITEM="DUPLICATE_ITEM",e.PREVIEW="PREVIEW",e.TOGGLE_SIDEBAR="TOGGLE_SIDEBAR",e.DELETE_ITEM="DELETE_ITEM",e.UNDO="UNDO",e.REDO="REDO",e.SHORTCUTS="SHORTCUTS",e.RESET_CAMERA="RESET_CAMERA",e.ZOOM_IN="ZOOM_IN",e.ZOOM_OUT="ZOOM_OUT",e.TOGGLE_SNAP_TO_GRID="TOGGLE_SNAP_TO_GRID",e.EXPORT_SCENE="EXPORT_SCENE",e.TOGGLE_MULTISELECTION="TOGGLE_MULTISELECTION"}(s||(s={}))},96:function(e,t,n){"use strict";n.d(t,"n",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"z",(function(){return b})),n.d(t,"v",(function(){return h})),n.d(t,"t",(function(){return f})),n.d(t,"l",(function(){return y})),n.d(t,"x",(function(){return _})),n.d(t,"s",(function(){return g})),n.d(t,"w",(function(){return j})),n.d(t,"q",(function(){return O})),n.d(t,"y",(function(){return v})),n.d(t,"f",(function(){return C})),n.d(t,"a",(function(){return x})),n.d(t,"c",(function(){return w})),n.d(t,"d",(function(){return E})),n.d(t,"p",(function(){return S})),n.d(t,"u",(function(){return A})),n.d(t,"m",(function(){return T})),n.d(t,"g",(function(){return R})),n.d(t,"i",(function(){return k})),n.d(t,"b",(function(){return N})),n.d(t,"k",(function(){return P})),n.d(t,"j",(function(){return I})),n.d(t,"e",(function(){return L})),n.d(t,"r",(function(){return M})),n.d(t,"o",(function(){return D}));var o=n(48),a=n(83),i=n(89),r=n(54),s=n(70),c=n(49),l=n(217),d=n(82),u=n(474);n(43);const p=e=>e.editor,m=e=>p(e).gizmo,b=e=>p(e).sidebar,h=e=>p(e).preview,f=e=>p(e).multiselectionEnabled,y=e=>p(e).selectedEntityIds,_=e=>p(e).isReady,g=e=>p(e).isLoading,j=e=>p(e).isReadOnly,O=e=>p(e).hasLoadedAssetPacks,v=e=>p(e).isScreenshotReady,C=e=>p(e).entitiesOutOfBoundaries,x=e=>p(e).entitiesOutOfBoundaries.length>0,w=e=>p(e).bodyShape,E=e=>p(e).emote,S=e=>p(e).wearablePreviewController,A=e=>p(e).isPlayingEmote,T=e=>p(e).skinColor,R=e=>p(e).eyeColor,k=e=>p(e).hairColor,N=e=>p(e).baseWearables,P=e=>p(e).selectedBaseWearablesByBodyShape,I=(Object(o.a)(w,P,((e,t)=>t?t[e]:null)),Object(o.a)(l.d,(e=>Object.values(e).reduce(((e,t)=>{for(const n of Object.keys(t.contents))e[`${t.id}/${n}`]=t.contents[n];return e}),{})))),L=Object(o.a)(y,i.i,i.b,((e,t,n)=>{let o=!1;for(const i of e){const e=t[i];if(e)for(const t of e.components)if(n[t].type===a.a.NFTShape){o=!0;break}}return{move:e.length>0,rotate:e.length>0,scale:e.length>0,duplicate:e.length>0&&!o,reset:e.length>0,delete:e.length>0}})),M=Object(o.a)(r.b,_,r.e,((e,t,n)=>!e&&!!Object(s.isLoadingType)(n,c.m))),D=Object(o.a)(u.e,u.i,(e=>p(e).visibleItemIds),d.c,((e,t,n,o)=>n.map((e=>o[e])).filter((n=>!!n&&(!t||(e?e===n.collectionId:!n.collectionId))))))},987:function(e,t,n){"use strict";var o=n(2),a=n.n(o),i=n(5),r=n(7),s=n(35),c=n.n(s),l=(n(3412),n(0));class d extends a.a.PureComponent{render(){const{className:e}=this.props;return Object(l.jsx)("div",{className:c()("SmartIcon",e)})}}d.defaultProps={className:""};var u=n(40);n(3413);class p extends o.PureComponent{render(){const{item:e,bodyShape:t,size:n,className:o}=this.props,a=t?Object(u.cb)(t):Object(u.s)(e);return Object(u.Y)(e)?Object(l.jsx)(r.Popup,{content:Object(i.t)("item_types.smart_wearable"),position:"top center",trigger:Object(l.jsx)("div",{className:`ItemBadge smart ${o||""} ${n||"normal"}`,children:Object(l.jsx)(d,{})}),on:"hover"}):Object(l.jsx)("div",{title:Object(i.t)(`body_shapes.${a}`),className:`ItemBadge ${o||""} ${a} ${n||"normal"}`})}}t.a=p},988:function(e,t,n){"use strict";var o=n(30),a=n(298),i=n(878),r=n(2),s=n(7),c=n(317),l=n(5),d=n(41),u=n(1834),p=n(223),m=n(0);const b=Object(c.getLocalStorage)();class h extends r.PureComponent{handleOnTabClick(e){const{onNavigate:t}=this.props;b.setItem(u.a,e),t(e)}render(){const{activeTab:e,isFullscreen:t,isCommitteeMember:n,children:o}=this.props;return Object(m.jsx)("div",{className:"Navigation",children:Object(m.jsxs)(s.Tabs,{isFullscreen:t,children:[o,Object(m.jsx)(s.Tabs.Tab,{active:e===p.a.OVERVIEW,onClick:()=>this.handleOnTabClick(d.a.root()),children:Object(l.t)("navigation.overview")}),Object(m.jsx)(s.Tabs.Tab,{active:e===p.a.COLLECTIONS,onClick:()=>this.handleOnTabClick(d.a.collections()),children:Object(l.t)("navigation.collections")}),Object(m.jsx)(s.Tabs.Tab,{active:e===p.a.SCENES,onClick:()=>this.handleOnTabClick(d.a.scenes()),children:Object(l.t)("navigation.scenes")}),Object(m.jsx)(s.Tabs.Tab,{active:e===p.a.LAND,onClick:()=>this.handleOnTabClick(d.a.land()),children:Object(l.t)("navigation.land")}),Object(m.jsx)(s.Tabs.Tab,{active:e===p.a.NAMES,onClick:()=>this.handleOnTabClick(d.a.ens()),children:Object(l.t)("navigation.names")}),Object(m.jsx)(s.Tabs.Tab,{active:e===p.a.WORLDS,onClick:()=>this.handleOnTabClick(d.a.worlds()),children:Object(l.t)("navigation.worlds")}),n?Object(m.jsx)(s.Tabs.Tab,{active:e===p.a.CURATION,onClick:()=>this.handleOnTabClick(d.a.curation()),children:Object(l.t)("navigation.curation")}):null]})})}}var f=Object(o.connect)((e=>({isCommitteeMember:Object(i.c)(e)})),(e=>({onNavigate:t=>e(Object(a.e)(t))})))(h);t.a=f}},[[3600,1,2]]]);
//# sourceMappingURL=main.b3cb7418.chunk.js.map