1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["libs_website_staking_src_index_ts"],{73403:(Ca,kt,k)=>{k.r(kt),k.d(kt,{WebsiteStakingModule:()=>Xi});var o,ut=k(89204),t=k(68559),kn=k(43942),Mn=k(56196),Ve=k(75797),Rn=k(14600),Ln=k(59452),Dn=k(71870),Xe=k(51567),Nn=k(91817),De=k(36647),On=k(86301),dt=k(98764),ve=k(70271);const $n=(o=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0,function(C={}){var s,l,i=C;function f(){function n(g){const d=r;a=e=0,r=new Map,d.forEach(_=>{try{_(g)}catch(p){console.error(p)}}),this.Sa(),c&&c.pb()}let e=0,a=0,r=new Map,c=null,u=null;this.requestAnimationFrame=function(g){e||(e=requestAnimationFrame(n.bind(this)));const d=++a;return r.set(d,g),d},this.cancelAnimationFrame=function(g){r.delete(g),e&&0==r.size&&(cancelAnimationFrame(e),e=0)},this.nb=function(g){u&&(document.body.remove(u),u=null),g||(u=document.createElement("div"),u.style.backgroundColor="black",u.style.position="fixed",u.style.right=0,u.style.top=0,u.style.color="white",u.style.padding="4px",u.innerHTML="RIVE FPS",g=function(d){u.innerHTML="RIVE FPS "+d.toFixed(1)},document.body.appendChild(u)),c=new function(){let d=0,_=0;this.pb=function(){var p=performance.now();_?(++d,1e3<(p-=_)&&(g(1e3*d/p),d=_=0)):(_=p,d=0)}}},this.kb=function(){u&&(document.body.remove(u),u=null),c=null},this.Sa=function(){}}function F(n){console.assert(!0);const e=new Map;let a=-1/0;this.push=function(r){return e.has(r=r+((1<<n)-1)>>n)&&clearTimeout(e.get(r)),e.set(r,setTimeout(function(){e.delete(r),0==e.length?a=-1/0:r==a&&(a=Math.max(...e.keys()),console.assert(a<r))},1e3)),a=Math.max(r,a),a<<n}}i.ready=new Promise((n,e)=>{s=n,l=e});const V="createConicGradient createImageData createLinearGradient createPattern createRadialGradient getContextAttributes getImageData getLineDash getTransform isContextLost isPointInPath isPointInStroke measureText".split(" "),Y=new function(){function n(){if(!e){let O=function($,E,I){if(E=v.createShader(E),v.shaderSource(E,I),v.compileShader(E),0<(I=v.getShaderInfoLog(E)).length)throw I;v.attachShader($,E)};var S=document.createElement("canvas"),y={alpha:1,depth:0,stencil:0,antialias:0,premultipliedAlpha:1,preserveDrawingBuffer:0,preferLowPowerToHighPerformance:0,failIfMajorPerformanceCaveat:0,enableExtensionsByDefault:1,explicitSwapControl:1,renderViaOffscreenBackBuffer:1};let v=S.getContext("webgl2",y);if(v)a=2;else{if(!(v=S.getContext("webgl",y)))return console.log("No WebGL support. Image mesh will not be drawn."),!1;a=1}if(r=Math.min(v.getParameter(v.MAX_RENDERBUFFER_SIZE),v.getParameter(v.MAX_TEXTURE_SIZE)),O(S=v.createProgram(),v.VERTEX_SHADER,"attribute vec2 vertex;\n attribute vec2 uv;\n uniform vec4 mat;\n uniform vec2 translate;\n varying vec2 st;\n void main() {\n st = uv;\n gl_Position = vec4(mat2(mat) * vertex + translate, 0, 1);\n }"),O(S,v.FRAGMENT_SHADER,"precision highp float;\n uniform sampler2D image;\n varying vec2 st;\n void main() {\n gl_FragColor = texture2D(image, st);\n }"),v.bindAttribLocation(S,0,"vertex"),v.bindAttribLocation(S,1,"uv"),v.linkProgram(S),0<(y=v.getProgramInfoLog(S)).trim().length)throw y;c=v.getUniformLocation(S,"mat"),u=v.getUniformLocation(S,"translate"),v.useProgram(S),v.bindBuffer(v.ARRAY_BUFFER,v.createBuffer()),v.enableVertexAttribArray(0),v.enableVertexAttribArray(1),v.bindBuffer(v.ELEMENT_ARRAY_BUFFER,v.createBuffer()),v.uniform1i(v.getUniformLocation(S,"image"),0),v.pixelStorei(v.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),e=v}return!0}let e=null,a=0,r=0,c=null,u=null,g=0,d=0;this.yb=function(){return n(),r},this.ib=function(S){if(!n())return null;const y=e.createTexture();return e.bindTexture(e.TEXTURE_2D,y),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,S),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),2==a?(e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR_MIPMAP_LINEAR),e.generateMipmap(e.TEXTURE_2D)):e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),y};const _=new F(8),p=new F(8),m=new F(10),T=new F(10);this.mb=function(S,y,v,O,$){if(n()){var E=_.push(S),I=p.push(y);for(var G of((e.canvas.width!=E||e.canvas.height!=I)&&(e.canvas.width=E,e.canvas.height=I),e.viewport(0,I-y,S,y),e.disable(e.SCISSOR_TEST),e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.enable(e.SCISSOR_TEST),v.sort((M,me)=>me.Wa-M.Wa),E=m.push(O),g!=E&&(e.bufferData(e.ARRAY_BUFFER,8*E,e.DYNAMIC_DRAW),g=E),E=0,v))e.bufferSubData(e.ARRAY_BUFFER,E,G.Fa),E+=4*G.Fa.length;for(var Q of(console.assert(E==4*O),v))e.bufferSubData(e.ARRAY_BUFFER,E,Q.Za),E+=4*Q.Za.length;for(var pe of(console.assert(E==8*O),E=T.push($),d!=E&&(e.bufferData(e.ELEMENT_ARRAY_BUFFER,2*E,e.DYNAMIC_DRAW),d=E),G=0,v))e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,G,pe.indices),G+=2*pe.indices.length;console.assert(G==2*$),pe=0,Q=!0,E=G=0;for(const M of v){M.image.Ba!=pe&&(e.bindTexture(e.TEXTURE_2D,M.image.fb||null),pe=M.image.Ba),M.Bb?(e.scissor(M.Ka,I-M.La-M.Ra,M.Ib,M.Ra),Q=!0):Q&&
1(e.scissor(0,I-y,S,y),Q=!1);const me=-2/y;e.uniform4f(c,M.qa[0]*(v=2/S)*M.xa,M.qa[1]*me*M.ya,M.qa[2]*v*M.xa,M.qa[3]*me*M.ya),e.uniform2f(u,M.qa[4]*v*M.xa+v*(M.Ka-M.zb*M.xa)-1,M.qa[5]*me*M.ya+me*(M.La-M.Ab*M.ya)+1),e.vertexAttribPointer(0,2,e.FLOAT,!1,0,E),e.vertexAttribPointer(1,2,e.FLOAT,!1,0,E+4*O),e.drawElements(e.TRIANGLES,M.indices.length,e.UNSIGNED_SHORT,G),E+=4*M.Fa.length,G+=2*M.indices.length}console.assert(E==4*O),console.assert(G==2*$)}},this.canvas=function(){return n()&&e.canvas}};i.onRuntimeInitialized=function(){function n(h){switch(h){case p.srcOver:return"source-over";case p.screen:return"screen";case p.overlay:return"overlay";case p.darken:return"darken";case p.lighten:return"lighten";case p.colorDodge:return"color-dodge";case p.colorBurn:return"color-burn";case p.hardLight:return"hard-light";case p.softLight:return"soft-light";case p.difference:return"difference";case p.exclusion:return"exclusion";case p.multiply:return"multiply";case p.hue:return"hue";case p.saturation:return"saturation";case p.color:return"color";case p.luminosity:return"luminosity"}}function e(h){return"rgba("+((16711680&h)>>>16)+","+((65280&h)>>>8)+","+((255&h)>>>0)+","+((4278190080&h)>>>24)/255+")"}function a(){0<G.length&&(Y.mb(I.drawWidth(),I.drawHeight(),G,Q,pe),G=[],pe=Q=0,I.reset(512,512));for(const h of E){for(const b of h.fa)b();h.fa=[]}E.clear()}var r=i.RenderPaintStyle;const c=i.RenderPath,u=i.RenderPaint,g=i.Renderer,d=i.StrokeCap,_=i.StrokeJoin,p=i.BlendMode,m=r.fill,T=r.stroke,S=i.FillRule.evenOdd;let y=1;var v=i.RenderImage.extend("CanvasRenderImage",{__construct:function(){this.__parent.__construct.call(this),this.Ba=y,y=y+1&2147483647||1},decode:function(h){let b=At;b.total++;var R=this,A=new Image;A.src=URL.createObjectURL(new Blob([h],{type:"image/png"})),A.onload=function(){if(R.cb=A,R.fb=Y.ib(A),R.size(A.width,A.height),b.loaded++,b.loaded===b.total){const x=b.ready;x&&(x(),b.ready=null)}}}}),O=c.extend("CanvasRenderPath",{__construct:function(){this.__parent.__construct.call(this),this.ka=new Path2D},rewind:function(){this.ka=new Path2D},addPath:function(h,b,R,A,x,N,L){var D=this.ka,ne=D.addPath;h=h.ka;const W=new DOMMatrix;W.a=b,W.b=R,W.c=A,W.d=x,W.e=N,W.f=L,ne.call(D,h,W)},fillRule:function(h){this.Ia=h},moveTo:function(h,b){this.ka.moveTo(h,b)},lineTo:function(h,b){this.ka.lineTo(h,b)},cubicTo:function(h,b,R,A,x,N){this.ka.bezierCurveTo(h,b,R,A,x,N)},close:function(){this.ka.closePath()}}),$=u.extend("CanvasRenderPaint",{color:function(h){this.Ja=e(h)},thickness:function(h){this.gb=h},join:function(h){switch(h){case _.miter:this.Aa="miter";break;case _.round:this.Aa="round";break;case _.bevel:this.Aa="bevel"}},cap:function(h){switch(h){case d.butt:this.za="butt";break;case d.round:this.za="round";break;case d.square:this.za="square"}},style:function(h){this.eb=h},blendMode:function(h){this.bb=n(h)},clearGradient:function(){this.sa=null},linearGradient:function(h,b,R,A){this.sa={Xa:h,Ya:b,Na:R,Oa:A,Ea:[]}},radialGradient:function(h,b,R,A){this.sa={Xa:h,Ya:b,Na:R,Oa:A,Ea:[],wb:!0}},addStop:function(h,b){this.sa.Ea.push({color:h,stop:b})},completeGradient:function(){},draw:function(h,b,R){let A=this.eb;var x=this.Ja,N=this.sa;if(h.globalCompositeOperation=this.bb,null!=N){x=N.Xa;var L=N.Ya;const ne=N.Na;var D=N.Oa;const W=N.Ea;N.wb?(N=ne-x,D-=L,x=h.createRadialGradient(x,L,0,x,L,Math.sqrt(N*N+D*D))):x=h.createLinearGradient(x,L,ne,D);for(let oe=0,U=W.length;oe<U;oe++)x.addColorStop((L=W[oe]).stop,e(L.color));this.Ja=x,this.sa=null}switch(A){case T:h.strokeStyle=x,h.lineWidth=this.gb,h.lineCap=this.za,h.lineJoin=this.Aa,h.stroke(b);break;case m:h.fillStyle=x,h.fill(b,R)}}});const E=new Set;let I=null,G=[],Q=0,pe=0;var M=i.CanvasRenderer=g.extend("Renderer",{__construct:function(h){this.__parent.__construct.call(this),this.ja=[1,0,0,1,0,0],this.da=h.getContext("2d"),this.Ha=h,this.fa=[]},save:function(){this.ja.push(...this.ja.slice(this.ja.length-6)),this.fa.push(this.da.save.bind(this.da))},restore:function(){const h=this.ja.length-6;if(6>h)throw"restore() called without matching save().";this.ja.splice(h),this.fa.push(this.da.restore.bind(this.da))},transform:function(h,b,R,A,x,N){const L=this.ja,D=L.length-6;L.splice(D,6,L[D]*h+L[D+2]*b,L[D+1]*h+L[D+3]*b,L[D]*R+L[D+2]*A,L[D+1]*R+L[D+3]*A,L[D]*x+L[D+2]*N+L[D+4],L[D+1]*x+L[D+3]*N+L[D+5]),this.fa.push(this.da.transform.bind(this.da,h,b,R,A,x,N))},rotate:function(h){const b=Math.sin(h);h=Math.cos(h),this.transform(h,b,-b,h,0,0)},_drawPath:function(h,b){this.fa.push(b.draw.bind(b,this.da,h.ka,h.Ia===S?"evenodd":"nonzero"))},_drawRiveImage:function(h,b,R){var A=h.cb;if(A){var x=this.da,N=n(b);this.fa.push(function(){x.globalCompositeOperation=N,x.globalAlpha=R,x.drawImage(A,0,0),x.globalAlpha=1})}},_getMatrix:function(h){const b=this.ja,R=b.length-6;for(let A=0;6>A;++A)h[A]=b[R+A]},_drawImageMesh:function(h,b,R,A,x,N,L,D,ne,W){var oe=this.da.canvas.width,U=this.da.canvas.height;const wn=ne-L,xn=W-D;L=Math.max(L,0),D=Math.max(D,0),ne=Math.min(ne,oe),W=Math.min(W,U);const Ue=ne-L,Ye=W-D;if(console.assert(Ue<=Math.min(wn,oe)),console.assert(Ye<=Math.min(xn,U)),!(0>=Ue||0>=Ye)){ne=Ue<wn||Ye<xn,oe=W=1;var Se=Math.ceil(Ue*W),be=Math.ceil(Ye*oe);U=Y.yb(),Se>U&&(W*=U/Se,Se=U),be>U&&(oe*=U/be,be=U),I||(I=new i.DynamicRectanizer(U),I.reset(512,512)),0>(U=I.addRect(Se,be))&&(a(),E.add(this),U=I.addRect(Se,be),console.assert(0<=U));
1var In=65535&U,An=U>>16;G.push({qa:this.ja.slice(this.ja.length-6),image:h,Ka:In,La:An,zb:L,Ab:D,Ib:Se,Ra:be,xa:W,ya:oe,Fa:new Float32Array(A),Za:new Float32Array(x),indices:new Uint16Array(N),Bb:ne,Wa:h.Ba<<1|(ne?1:0)}),Q+=A.length,pe+=N.length;var Le=this.da,va=n(b);this.fa.push(function(){Le.save(),Le.resetTransform(),Le.globalCompositeOperation=va,Le.globalAlpha=R,Le.drawImage(Y.canvas(),In,An,Se,be,L,D,Ue,Ye),Le.restore()})}},_clipPath:function(h){this.fa.push(this.da.clip.bind(this.da,h.ka,h.Ia===S?"evenodd":"nonzero"))},clear:function(){E.add(this),this.fa.push(this.da.clearRect.bind(this.da,0,0,this.Ha.width,this.Ha.height))},flush:function(){},translate:function(h,b){this.transform(1,0,0,1,h,b)}});i.makeRenderer=function(h){const b=new M(h),R=b.da;return new Proxy(b,{get(A,x){if("function"==typeof A[x])return function(...N){return A[x].apply(A,N)};if("function"==typeof R[x]){if(-1<V.indexOf(x))throw Error("RiveException: Method call to '"+x+"()' is not allowed, as the renderer cannot immediately pass through the return values of any canvas 2d context methods.");return function(...N){b.fa.push(R[x].bind(R,...N))}}return A[x]},set(A,x,N){if(x in R)return R[x]=N,!0}})},i.renderFactory={makeRenderPaint:function(){return new $},makeRenderPath:function(){return new O},makeRenderImage:function(){return new v}};let me=i.load,At=null;i.load=function(h){return new Promise(function(b){let R=null;At={total:0,loaded:0,ready:function(){b(R)}},R=me(h),0==At.total&&b(R)})},r=new f,i.requestAnimationFrame=r.requestAnimationFrame.bind(r),i.cancelAnimationFrame=r.cancelAnimationFrame.bind(r),i.enableFPSCounter=r.nb.bind(r),i.disableFPSCounter=r.kb,r.Sa=a,i.cleanup=function(){I&&I.delete()}};var we,X,q=Object.assign({},i),K="./this.program",ee="object"==typeof window,Z="function"==typeof importScripts,j="";(ee||Z)&&(Z?j=self.location.href:typeof document<"u"&&document.currentScript&&(j=document.currentScript.src),o&&(j=o),j=0!==j.indexOf("blob:")?j.substr(0,j.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Z&&(X=n=>{var e=new XMLHttpRequest;return e.open("GET",n,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),we=(n,e,a)=>{var r=new XMLHttpRequest;r.open("GET",n,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?e(r.response):a()},r.onerror=a,r.send(null)});var Ne,Hi=i.print||console.log.bind(console),xe=i.printErr||console.error.bind(console);Object.assign(i,q),q=null,i.thisProgram&&(K=i.thisProgram),i.wasmBinary&&(Ne=i.wasmBinary),"object"!=typeof WebAssembly&&ft("no native wasm support detected");var Ke,ce,Ie,z,Ce,Oe,he,B,zt,Kt,Ht=!1;function Zt(){var n=Ke.buffer;i.HEAP8=Ie=new Int8Array(n),i.HEAP16=Ce=new Int16Array(n),i.HEAP32=he=new Int32Array(n),i.HEAPU8=z=new Uint8Array(n),i.HEAPU16=Oe=new Uint16Array(n),i.HEAPU32=B=new Uint32Array(n),i.HEAPF32=zt=new Float32Array(n),i.HEAPF64=Kt=new Float64Array(n)}var _t,Jt=[],Qt=[],qt=[];function zi(){var n=i.preRun.shift();Jt.unshift(n)}var Ae,Fe=0,ht=null,Pe=null;function ft(n){throw i.onAbort&&i.onAbort(n),xe(n="Aborted("+n+")"),Ht=!0,n=new WebAssembly.RuntimeError(n+". Build with -sASSERTIONS for more info."),l(n),n}function en(n){return n.startsWith("data:application/octet-stream;base64,")}if(!en(Ae="canvas_advanced.wasm")){var tn=Ae;Ae=i.locateFile?i.locateFile(tn,j):j+tn}function nn(n){if(n==Ae&&Ne)return new Uint8Array(Ne);if(X)return X(n);throw"both async and sync fetching of the wasm failed"}function an(n,e,a){return function Ki(n){if(!Ne&&(ee||Z)){if("function"==typeof fetch&&!n.startsWith("file://"))return fetch(n,{credentials:"same-origin"}).then(e=>{if(!e.ok)throw"failed to load wasm binary file at '"+n+"'";return e.arrayBuffer()}).catch(()=>nn(n));if(we)return new Promise((e,a)=>{we(n,r=>e(new Uint8Array(r)),a)})}return Promise.resolve().then(()=>nn(n))}(n).then(r=>WebAssembly.instantiate(r,e)).then(r=>r).then(a,r=>{xe("failed to asynchronously prepare wasm: "+r),ft(r)})}var mt=n=>{for(;0<n.length;)n.shift()(i)};function rn(n){if(void 0===n)return"_unknown";
1var e=(n=n.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=e&&57>=e?`_${n}`:n}function Ze(n,e){return n=rn(n),{[n]:function(){return e.apply(this,arguments)}}[n]}function on(){this.la=[void 0],this.Qa=[]}var te=new on,ke=void 0;function w(n){throw new ke(n)}var ie=n=>(n||w("Cannot use deleted val. handle = "+n),te.get(n).value),ae=n=>{switch(n){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return te.ab({Va:1,value:n})}};function sn(n){var e=Error,a=Ze(n,function(r){this.name=n,this.message=r,void 0!==(r=Error(r).stack)&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))});return a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},a}var cn=void 0,ln=void 0;function P(n){for(var e="";z[n];)e+=ln[z[n++]];return e}var $e=[];function vt(){for(;$e.length;){var n=$e.pop();n.Y.pa=!1,n.delete()}}var Ge=void 0,le={};function Ct(n,e){for(void 0===e&&w("ptr should not be undefined");n.ba;)e=n.ta(e),n=n.ba;return e}var Te={};function un(n){var e=P(n=yn(n));return ge(n),e}function Be(n,e){var a=Te[n];return void 0===a&&w(e+" has unknown type "+un(n)),a}function Je(){}var Ft=!1;function dn(n){--n.count.value,0===n.count.value&&(n.ea?n.ha.ma(n.ea):n.aa.Z.ma(n.$))}function gn(n,e,a){return e===a?n:void 0===a.ba||null===(n=gn(n,e,a.ba))?null:a.lb(n)}var pn={},_n=void 0;function Qe(n){throw new _n(n)}function qe(n,e){return e.aa&&e.$||Qe("makeClassHandle requires ptr and ptrType"),!!e.ha!=!!e.ea&&Qe("Both smartPtrType and smartPtr must be specified"),e.count={value:1},Me(Object.create(n,{Y:{value:e}}))}function Me(n){return typeof FinalizationRegistry>"u"?(Me=e=>e,n):(Ft=new FinalizationRegistry(e=>{dn(e.Y)}),Je=e=>{Ft.unregister(e)},(Me=e=>{var a=e.Y;return a.ea&&Ft.register(e,{Y:a},e),e})(n))}var et={};function We(n){for(;n.length;){var e=n.pop();n.pop()(e)}}function je(n){return this.fromWireType(he[n>>2])}var Re={},tt={};function J(n,e,a){function r(d){(d=a(d)).length!==n.length&&Qe("Mismatched type converter count");for(var _=0;_<n.length;++_)re(n[_],d[_])}n.forEach(function(d){tt[d]=e});var c=Array(e.length),u=[],g=0;e.forEach((d,_)=>{Te.hasOwnProperty(d)?c[_]=Te[d]:(u.push(d),Re.hasOwnProperty(d)||(Re[d]=[]),Re[d].push(()=>{c[_]=Te[d],++g===u.length&&r(c)}))}),0===u.length&&r(c)}function nt(n){switch(n){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError(`Unknown type size: ${n}`)}}function re(n,e,a={}){if(!("argPackAdvance"in e))throw new TypeError("registerType registeredInstance requires argPackAdvance");!function Qi(n,e,a={}){var r=e.name;if(n||w(`type "${r}" must have a positive integer typeid pointer`),Te.hasOwnProperty(n)){if(a.vb)return;w(`Cannot register type '${r}' twice`)}Te[n]=e,delete tt[n],Re.hasOwnProperty(n)&&(e=Re[n],delete Re[n],e.forEach(c=>c()))}(n,e,a)}function Tt(n){w(n.Y.aa.Z.name+" instance already deleted")}function fe(){}function St(n,e,a){if(void 0===n[e].ca){var r=n[e];n[e]=function(){return n[e].ca.hasOwnProperty(arguments.length)||w(`Function '${a}' called with an invalid number of arguments (${arguments.length}) - expects one of (${n[e].ca})!`),n[e].ca[arguments.length].apply(this,arguments)},n[e].ca=[],n[e].ca[r.oa]=r}}function bt(n,e,a){i.hasOwnProperty(n)?((void 0===a||void 0!==i[n].ca&&void 0!==i[n].ca[a])&&w(`Cannot register public name '${n}' twice`),St(i,n,n),i.hasOwnProperty(a)&&w(`Cannot register multiple overloads of a function with the same number of arguments (${a})!`),i[n].ca[a]=e):(i[n]=e,void 0!==a&&(i[n].Jb=a))}function qi(n,e,a,r,c,u,g,d){this.name=n,this.constructor=e,this.ia=a,this.ma=r,this.ba=c,this.qb=u,this.ta=g,this.lb=d,this.Ta=[]}function it(n,e,a){for(;e!==a;)e.ta||w(`Expected null or instance of ${a.name}, got an instance of ${e.name}`),n=e.ta(n),e=e.ba;return n}function ea(n,e){return null===e?(this.Ca&&w(`null is not a valid ${this.name}`),0):(e.Y||w(`Cannot pass "${Et(e)}" as a ${this.name}`),e.Y.$||w(`Cannot pass deleted object as a pointer of type ${this.name}`),it(e.Y.$,e.Y.aa.Z,this.Z))}function ta(n,e){if(null===e){if(this.Ca&&w(`null is not a valid ${this.name}`),this.wa){var a=this.Da();return null!==n&&n.push(this.ma,a),a}return 0}if(e.Y||w(`Cannot pass "${Et(e)}" as a ${this.name}`),e.Y.$||w(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.va&&e.Y.aa.va&&w(`Cannot convert argument of type ${e.Y.ha?e.Y.ha.name:e.Y.aa.name} to parameter type ${this.name}`),a=it(e.Y.$,e.Y.aa.Z,this.Z),this.wa)switch(void 0===e.Y.ea&&w("Passing raw pointer to smart pointer is illegal"),this.Hb){case 0:e.Y.ha===this?a=e.Y.ea:w(`Cannot convert argument of type ${e.Y.ha?e.Y.ha.name:e.Y.aa.name} to parameter type ${this.name}`);break;case 1:a=e.Y.ea;break;case 2:if(e.Y.ha===this)a=e.Y.ea;else{var r=e.clone();a=this.Db(a,ae(function(){r.delete()})),null!==n&&n.push(this.ma,a)}break;default:w("Unsupporting sharing policy")}return a}function na(n,e){return null===e?(this.Ca&&w(`null is not a valid ${this.name}`),0):(e.Y||w(`Cannot pass "${Et(e)}" as a ${this.name}`),e.Y.$||w(`Cannot pass deleted object as a pointer of type ${this.name}`),e.Y.aa.va&&w(`Cannot convert argument of type ${e.Y.aa.name} to parameter type ${this.name}`),it(e.Y.$,e.Y.aa.Z,this.Z))}function ue(n,e,a,r){this.name=n,this.Z=e,this.Ca=a,this.va=r,this.wa=!1,this.ma=this.Db=this.Da=this.Ua=this.Hb=this.Cb=void 0,void 0!==e.ba?this.toWireType=ta:(this.toWireType=r?ea:na,this.ga=null)}function hn(n,e,a){i.hasOwnProperty(n)||Qe("Replacing nonexistant public symbol"),void 0!==i[n].ca&&void 0!==a?i[n].ca[a]=e:(i[n]=e,i[n].oa=a)}function H(n,e){var a=(n=P(n)).includes("j")?((n,e)=>{var a=[];return function(){if(a.length=0,Object.assign(a,arguments),n.includes("j")){var r=i["dynCall_"+n];r=a&&a.length?r.apply(null,[e].concat(a)):r.call(null,e)}else r=_t.get(e).apply(null,a);return r}})(n,e):_t.get(e);return"function"!=typeof a&&w(`unknown function pointer with signature ${n}: ${e}`),a}var fn=void 0;function de(n,e){var r=[],c={};throw e.forEach(function a(u){c[u]||Te[u]||(tt[u]?tt[u].forEach(a):(r.push(u),c[u]=!0))}),new fn(`${n}: `+r.map(un).join([", "]))}function at(n,e,a,r,c){var u=e.length;2>u&&w("argTypes array size mismatch! Must at least get return value and 'this' types!");var g=null!==e[1]&&null!==a,d=!1;for(a=1;a<e.length;++a)if(null!==e[a]&&void 0===e[a].ga){d=!0;break}var _="void"!==e[0].name,p=u-2,m=Array(p),T=[],S=[];return function(){if(arguments.length!==p&&w(`function ${n} called with ${arguments.length} arguments, expected ${p} args!`),S.length=0,T.length=g?2:1,T[0]=c,g){var y=e[1].toWireType(S,this);T[1]=y}for(var v=0;v<p;++v)m[v]=e[v+2].toWireType(S,arguments[v]),T.push(m[v]);if(v=r.apply(null,T),d)We(S);else for(var O=g?1:2;O<e.length;O++)null!==e[O].ga&&e[O].ga(1===O?y:m[O-2]);return _?e[0].fromWireType(v):void 0}}function rt(n,e){for(var a=[],r=0;r<n;r++)a.push(B[e+4*r>>2]);return a}function mn(n,e,a){return n instanceof Object||w(`${a}
1 with invalid "this": ${n}`),n instanceof e.Z.constructor||w(`${a} incompatible with "this" of type ${n.constructor.name}`),n.Y.$||w(`cannot call emscripten binding method ${a} on deleted object`),it(n.Y.$,n.Y.aa.Z,e.Z)}function yt(n){n>=te.Ga&&0==--te.get(n).Va&&te.$a(n)}function aa(n,e,a){switch(e){case 0:return function(r){return this.fromWireType((a?Ie:z)[r])};case 1:return function(r){return this.fromWireType((a?Ce:Oe)[r>>1])};case 2:return function(r){return this.fromWireType((a?he:B)[r>>2])};default:throw new TypeError("Unknown integer type: "+n)}}function Et(n){if(null===n)return"null";var e=typeof n;return"object"===e||"array"===e||"function"===e?n.toString():""+n}function ra(n,e){switch(e){case 2:return function(a){return this.fromWireType(zt[a>>2])};case 3:return function(a){return this.fromWireType(Kt[a>>3])};default:throw new TypeError("Unknown float type: "+n)}}function oa(n,e,a){switch(e){case 0:return a?function(r){return Ie[r]}:function(r){return z[r]};case 1:return a?function(r){return Ce[r>>1]}:function(r){return Oe[r>>1]};case 2:return a?function(r){return he[r>>2]}:function(r){return B[r>>2]};default:throw new TypeError("Unknown integer type: "+n)}}var vn=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,Cn=(n,e,a)=>{var r=e+a;for(a=e;n[a]&&!(a>=r);)++a;if(16<a-e&&n.buffer&&vn)return vn.decode(n.subarray(e,a));for(r="";e<a;){var c=n[e++];if(128&c){var u=63&n[e++];if(192==(224&c))r+=String.fromCharCode((31&c)<<6|u);else{var g=63&n[e++];65536>(c=224==(240&c)?(15&c)<<12|u<<6|g:(7&c)<<18|u<<12|g<<6|63&n[e++])?r+=String.fromCharCode(c):(c-=65536,r+=String.fromCharCode(55296|c>>10,56320|1023&c))}}else r+=String.fromCharCode(c)}return r},Fn=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,sa=(n,e)=>{for(var a=n>>1,r=a+e/2;!(a>=r)&&Oe[a];)++a;if(32<(a<<=1)-n&&Fn)return Fn.decode(z.subarray(n,a));for(a="",r=0;!(r>=e/2);++r){var c=Ce[n+2*r>>1];if(0==c)break;a+=String.fromCharCode(c)}return a},ca=(n,e,a)=>{if(void 0===a&&(a=2147483647),2>a)return 0;var r=e;a=(a-=2)<2*n.length?a/2:n.length;for(var c=0;c<a;++c)Ce[e>>1]=n.charCodeAt(c),e+=2;return Ce[e>>1]=0,e-r},la=n=>2*n.length,ua=(n,e)=>{for(var a=0,r="";!(a>=e/4);){var c=he[n+4*a>>2];if(0==c)break;++a,65536<=c?(c-=65536,r+=String.fromCharCode(55296|c>>10,56320|1023&c)):r+=String.fromCharCode(c)}return r},da=(n,e,a)=>{if(void 0===a&&(a=2147483647),4>a)return 0;var r=e;a=r+a-4;for(var c=0;c<n.length;++c){var u=n.charCodeAt(c);if(55296<=u&&57343>=u&&(u=65536+((1023&u)<<10)|1023&n.charCodeAt(++c)),he[e>>2]=u,(e+=4)+4>a)break}return he[e>>2]=0,e-r},ga=n=>{for(var e=0,a=0;a<n.length;++a){var r=n.charCodeAt(a);55296<=r&&57343>=r&&++a,e+=4}return e},pa={};function ot(n){var e=pa[n];return void 0===e?P(n):e}var xt,st=[],Tn=[],wt={},Sn=()=>{if(!xt){var e,n={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:K||"./this.program"};for(e in wt)void 0===wt[e]?delete n[e]:n[e]=wt[e];var a=[];for(e in n)a.push(`${e}=${n[e]}`);xt=a}return xt},fa=[null,[],[]];Object.assign(on.prototype,{get(n){return this.la[n]},has(n){return void 0!==this.la[n]},ab(n){var e=this.Qa.pop()||this.la.length;return this.la[e]=n,e},$a(n){this.la[n]=void 0,this.Qa.push(n)}}),ke=i.BindingError=class extends Error{constructor(n){super(n),this.name="BindingError"}},te.la.push({value:void 0},{value:null},{value:!0},{value:!1}),te.Ga=te.la.length,i.count_emval_handles=function(){for(var n=0,e=te.Ga;e<te.la.length;++e)void 0!==te.la[e]&&++n;return n}
1,cn=i.PureVirtualError=sn("PureVirtualError");for(var bn=Array(256),ct=0;256>ct;++ct)bn[ct]=String.fromCharCode(ct);ln=bn,i.getInheritedInstanceCount=function(){return Object.keys(le).length},i.getLiveInheritedInstances=function(){var e,n=[];for(e in le)le.hasOwnProperty(e)&&n.push(le[e]);return n},i.flushPendingDeletes=vt,i.setDelayFunction=function(n){Ge=n,$e.length&&Ge&&Ge(vt)},_n=i.InternalError=class extends Error{constructor(n){super(n),this.name="InternalError"}},fe.prototype.isAliasOf=function(n){if(!(this instanceof fe&&n instanceof fe))return!1;var e=this.Y.aa.Z,a=this.Y.$,r=n.Y.aa.Z;for(n=n.Y.$;e.ba;)a=e.ta(a),e=e.ba;for(;r.ba;)n=r.ta(n),r=r.ba;return e===r&&a===n},fe.prototype.clone=function(){if(this.Y.$||Tt(this),this.Y.ra)return this.Y.count.value+=1,this;var n=Me,e=Object,a=e.create,r=Object.getPrototypeOf(this),c=this.Y;return(n=n(a.call(e,r,{Y:{value:{count:c.count,pa:c.pa,ra:c.ra,$:c.$,aa:c.aa,ea:c.ea,ha:c.ha}}}))).Y.count.value+=1,n.Y.pa=!1,n},fe.prototype.delete=function(){this.Y.$||Tt(this),this.Y.pa&&!this.Y.ra&&w("Object already scheduled for deletion"),Je(this),dn(this.Y),this.Y.ra||(this.Y.ea=void 0,this.Y.$=void 0)},fe.prototype.isDeleted=function(){return!this.Y.$},fe.prototype.deleteLater=function(){return this.Y.$||Tt(this),this.Y.pa&&!this.Y.ra&&w("Object already scheduled for deletion"),$e.push(this),1===$e.length&&Ge&&Ge(vt),this.Y.pa=!0,this},ue.prototype.rb=function(n){return this.Ua&&(n=this.Ua(n)),n},ue.prototype.Ma=function(n){this.ma&&this.ma(n)},ue.prototype.argPackAdvance=8,ue.prototype.readValueFromPointer=je,ue.prototype.deleteObject=function(n){null!==n&&n.delete()},ue.prototype.fromWireType=function(n){function e(){return qe(this.Z.ia,this.wa?{aa:this.Cb,$:a,ha:this,ea:n}:{aa:this,$:n})}var a=this.rb(n);if(!a)return this.Ma(n),null;var r=function Ji(n,e){return e=Ct(n,e),le[e]}(this.Z,a);if(void 0!==r)return 0===r.Y.count.value?(r.Y.$=a,r.Y.ea=n,r.clone()):(r=r.clone(),this.Ma(n),r);if(r=this.Z.qb(a),!(r=pn[r]))return e.call(this);var c=gn(a,this.Z,(r=this.va?r.hb:r.pointerType).Z);return null===c?e.call(this):qe(r.Z.ia,this.wa?{aa:r,$:c,ha:this,ea:n}:{aa:r,$:c})},fn=i.UnboundTypeError=sn("UnboundTypeError");var ma={L:function(n,e,a){n=P(n),e=Be(e,"wrapper"),a=ie(a);var r=[].slice,c=e.Z,u=c.ia,g=c.ba.ia,d=c.ba.constructor;for(var _ in n=Ze(n,function(){c.ba.Ta.forEach(function(p){if(this[p]===g[p])throw new cn(`Pure virtual function ${p} must be implemented in JavaScript`)}.bind(this)),Object.defineProperty(this,"__parent",{value:u}),this.__construct.apply(this,r.call(arguments))}),u.__construct=function(){this===u&&w("Pass correct 'this' to __construct");var p=d.implement.apply(void 0,[this].concat(r.call(arguments)));Je(p);var m=p.Y;p.notifyOnDestruction(),m.ra=!0,Object.defineProperties(this,{Y:{value:m}}),Me(this),p=Ct(c,p=m.$),le.hasOwnProperty(p)?w(`Tried to register registered instance: ${p}`):le[p]=this},u.__destruct=function(){this===u&&w("Pass correct 'this' to __destruct"),Je(this);var p=this.Y.$;p=Ct(c,p),le.hasOwnProperty(p)?delete le[p]:w(`Tried to unregister unregistered instance: ${p}`)},n.prototype=Object.create(u),a)n.prototype[_]=a[_];return ae(n)},N:function(n){var e=et[n];delete et[n];var a=e.Da,r=e.ma,c=e.Pa;J([n],c.map(g=>g.ub).concat(c.map(g=>g.Fb)),g=>{var d={};return c.forEach((_,p)=>{var m=g[p],T=_.sb,S=_.tb,y=g[p+c.length],v=_.Eb,O=_.Gb;d[_.ob]={read:$=>m.fromWireType(T(S,$)),write:($,E)=>{var I=[];v(O,$,y.toWireType(I,E)),We(I)}}}),[{name:e.name,fromWireType:function(_){var m,p={};for(m in d)p[m]=d[m].read(_);return r(_),p},toWireType:function(_,p){for(var m in d)if(!(m in p))throw new TypeError(`Missing field: "${m}"`);var T=a();for(m in d)d[m].write(T,p[m]);return null!==_&&_.push(r,T),T},argPackAdvance:8,readValueFromPointer:je,ga:r}]})},C:function(){},J:function(n,e,a,r,c){var u=nt(a);re(n,{name:e=P(e),fromWireType:function(g){return!!g},toWireType:function(g,d){return d?r:c},argPackAdvance:8,readValueFromPointer:function(g){if(1===a)var d=Ie;else if(2===a)d=Ce;else{if(4!==a)throw new TypeError("Unknown boolean type size: "+e);d=he}return this.fromWireType(d[g>>u])},ga:null})},f:function(n,e,a,r,c,u,g,d,_,p,m,T,S){m=P(m),u=H(c,u),d&&(d=H(g,d)),p&&(p=H(_,p)),S=H(T,S);var y=rn(m);bt(y,function(){de(`Cannot construct ${m} due to unbound types`,[r])}),J([n,e,a],r?[r]:[],function(v){if(v=v[0],r)var O=v.Z,$=O.ia;else $=fe.prototype;v=Ze(y,function(){if(Object.getPrototypeOf(this)!==E)throw new ke("Use 'new' to construct "+m);if(void 0===I.na)throw new ke(m+" has no accessible constructor");var Q=I.na[arguments.length];if(void 0===Q)throw new ke(`Tried to invoke ctor of ${m}
1 with invalid number of parameters (${arguments.length}) - expected (${Object.keys(I.na).toString()}) parameters instead!`);return Q.apply(this,arguments)});var E=Object.create($,{constructor:{value:v}});v.prototype=E;var I=new qi(m,v,E,S,O,u,d,p);I.ba&&(void 0===I.ba.ua&&(I.ba.ua=[]),I.ba.ua.push(I)),O=new ue(m,I,!0,!1),$=new ue(m+"*",I,!1,!1);var G=new ue(m+" const*",I,!1,!0);return pn[n]={pointerType:$,hb:G},hn(y,v),[O,$,G]})},l:function(n,e,a,r,c,u,g){var d=rt(a,r);e=P(e),u=H(c,u),J([],[n],function(_){function p(){de(`Cannot call ${m} due to unbound types`,d)}var m=`${(_=_[0]).name}.${e}`;e.startsWith("@@")&&(e=Symbol[e.substring(2)]);var T=_.Z.constructor;return void 0===T[e]?(p.oa=a-1,T[e]=p):(St(T,e,m),T[e].ca[a-1]=p),J([],d,function(S){if(S=at(m,[S[0],null].concat(S.slice(1)),null,u,g),void 0===T[e].ca?(S.oa=a-1,T[e]=S):T[e].ca[a-1]=S,_.Z.ua)for(const y of _.Z.ua)y.constructor.hasOwnProperty(e)||(y.constructor[e]=S);return[]}),[]})},w:function(n,e,a,r,c,u,g,d){e=P(e),u=H(c,u),J([],[n],function(_){var p=`${(_=_[0]).name}.${e}`,m={get(){de(`Cannot access ${p} due to unbound types`,[a])},enumerable:!0,configurable:!0};return m.set=d?()=>{de(`Cannot access ${p} due to unbound types`,[a])}:()=>{w(`${p} is a read-only property`)},Object.defineProperty(_.Z.constructor,e,m),J([],[a],function(T){T=T[0];var S={get:()=>T.fromWireType(u(r)),enumerable:!0};return d&&(d=H(g,d),S.set=y=>{var v=[];d(r,T.toWireType(v,y)),We(v)}),Object.defineProperty(_.Z.constructor,e,S),[]}),[]})},r:function(n,e,a,r,c,u){var g=rt(e,a);c=H(r,c),J([],[n],function(d){var _=`constructor ${(d=d[0]).name}`;if(void 0===d.Z.na&&(d.Z.na=[]),void 0!==d.Z.na[e-1])throw new ke(`Cannot register multiple constructors with identical number of parameters (${e-1}) for class '${d.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return d.Z.na[e-1]=()=>{de(`Cannot construct ${d.name} due to unbound types`,g)},J([],g,function(p){return p.splice(1,0,null),d.Z.na[e-1]=at(_,p,null,c,u),[]}),[]})},b:function(n,e,a,r,c,u,g,d){var _=rt(a,r);e=P(e),u=H(c,u),J([],[n],function(p){function m(){de(`Cannot call ${T} due to unbound types`,_)}var T=`${(p=p[0]).name}.${e}`;e.startsWith("@@")&&(e=Symbol[e.substring(2)]),d&&p.Z.Ta.push(e);var S=p.Z.ia,y=S[e];return void 0===y||void 0===y.ca&&y.className!==p.name&&y.oa===a-2?(m.oa=a-2,m.className=p.name,S[e]=m):(St(S,e,T),S[e].ca[a-2]=m),J([],_,function(v){return v=at(T,v,p,u,g),void 0===S[e].ca?(v.oa=a-2,S[e]=v):S[e].ca[a-2]=v,[]}),[]})},e:function(n,e,a,r,c,u,g,d,_,p){e=P(e),c=H(r,c),J([],[n],function(m){var T=`${(m=m[0]).name}.${e}`,S={get(){de(`Cannot access ${T} due to unbound types`,[a,g])},enumerable:!0,configurable:!0};return S.set=_?()=>{de(`Cannot access ${T} due to unbound types`,[a,g])}:()=>{w(T+" is a read-only property")},Object.defineProperty(m.Z.ia,e,S),J([],_?[a,g]:[a],function(y){var v=y[0],O={get(){var E=mn(this,m,T+" getter");return v.fromWireType(c(u,E))},enumerable:!0};if(_){_=H(d,_);var $=y[1];O.set=function(E){var I=mn(this,m,T+" setter"),G=[];_(p,I,$.toWireType(G,E)),We(G)}}return Object.defineProperty(m.Z.ia,e,O),[]}),[]})},I:function(n,e){re(n,{name:e=P(e),fromWireType:function(a){var r=ie(a);return yt(a),r},toWireType:function(a,r){return ae(r)},argPackAdvance:8,readValueFromPointer:je,ga:null})},o:function(n,e,a,r){function c(){}a=nt(a),e=P(e),c.values={},re(n,{name:e,constructor:c,fromWireType:function(u){return this.constructor.values[u]},toWireType:function(u,g){return g.value},argPackAdvance:8,readValueFromPointer:aa(e,a,r),ga:null}),bt(e,c)},c:function(n,e,a){var r=Be(n,"enum");e=P(e),n=r.constructor,r=Object.create(r.constructor.prototype,{value:{value:a},constructor:{value:Ze(`${r.name}_${e}`,function(){})}}),n.values[a]=r,n[e]=r},y:function(n,e,a){a=nt(a),re(n,{name:e=P(e),fromWireType:function(r){return r},toWireType:function(r,c){return c},argPackAdvance:8,readValueFromPointer:ra(e,a),ga:null})},t:function(n,e,a,r,c,u){var g=rt(e,a);n=P(n),c=H(r,c),bt(n,function(){de(`Cannot call ${n} due to unbound types`,g)},e-1),J([],g,function(d){return hn(n,at(n,[d[0],null].concat(d.slice(1)),null,c,u),e-1),[]})},k:function(n,e,a,r,c){e=P(e),-1===c&&(c=4294967295),c=nt(a);var u=d=>d;if(0===r){var g=32-8*a;u=d=>d<<g>>>g}a=e.includes("unsigned")?function(d,_){return _>>>0}:function(d,_){return _},re(n,{name:e,fromWireType:u,toWireType:a,argPackAdvance:8,readValueFromPointer:oa(e,c,0!==r),ga:null})},g:function(n,e,a){function r(u){return new c(B.buffer,B[1+(u>>=2)],B[u])}var c=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array
1][e];re(n,{name:a=P(a),fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{vb:!0})},z:function(n,e){var a="std::string"===(e=P(e));re(n,{name:e,fromWireType:function(r){var c=B[r>>2],u=r+4;if(a)for(var g=u,d=0;d<=c;++d){var _=u+d;if(d==c||0==z[_]){if(g=g?Cn(z,g,_-g):"",void 0===p)var p=g;else p+="\0",p+=g;g=_+1}}else{for(p=Array(c),d=0;d<c;++d)p[d]=String.fromCharCode(z[u+d]);p=p.join("")}return ge(r),p},toWireType:function(r,c){c instanceof ArrayBuffer&&(c=new Uint8Array(c));var u,d,g="string"==typeof c;if(g||c instanceof Uint8Array||c instanceof Uint8ClampedArray||c instanceof Int8Array||w("Cannot pass non-string to std::string"),a&&g)for(u=d=0;u<c.length;++u){var _=c.charCodeAt(u);127>=_?d++:2047>=_?d+=2:55296<=_&&57343>=_?(d+=4,++u):d+=3}else d=c.length;if(_=(d=It(4+(u=d)+1))+4,B[d>>2]=u,a&&g){if(g=_,_=u+1,u=z,0<_){_=g+_-1;for(var p=0;p<c.length;++p){var m=c.charCodeAt(p);if(55296<=m&&57343>=m&&(m=65536+((1023&m)<<10)|1023&c.charCodeAt(++p)),127>=m){if(g>=_)break;u[g++]=m}else{if(2047>=m){if(g+1>=_)break;u[g++]=192|m>>6}else{if(65535>=m){if(g+2>=_)break;u[g++]=224|m>>12}else{if(g+3>=_)break;u[g++]=240|m>>18,u[g++]=128|m>>12&63}u[g++]=128|m>>6&63}u[g++]=128|63&m}}u[g]=0}}else if(g)for(g=0;g<u;++g)255<(p=c.charCodeAt(g))&&(ge(_),w("String has UTF-16 code units that do not fit in 8 bits")),z[_+g]=p;else for(g=0;g<u;++g)z[_+g]=c[g];return null!==r&&r.push(ge,d),d},argPackAdvance:8,readValueFromPointer:je,ga:function(r){ge(r)}})},v:function(n,e,a){if(a=P(a),2===e)var r=sa,c=ca,u=la,g=()=>Oe,d=1;else 4===e&&(r=ua,c=da,u=ga,g=()=>B,d=2);re(n,{name:a,fromWireType:function(_){for(var T,p=B[_>>2],m=g(),S=_+4,y=0;
1y<=p;++y){var v=_+4+y*e;(y==p||0==m[v>>d])&&(S=r(S,v-S),void 0===T?T=S:(T+="\0",T+=S),S=v+e)}return ge(_),T},toWireType:function(_,p){"string"!=typeof p&&w(`Cannot pass non-string to C++ string type ${a}`);var m=u(p),T=It(4+m+e);return B[T>>2]=m>>d,c(p,T+4,m+e),null!==_&&_.push(ge,T),T},argPackAdvance:8,readValueFromPointer:je,ga:function(_){ge(_)}})},P:function(n,e,a,r,c,u){et[n]={name:P(e),Da:H(a,r),ma:H(c,u),Pa:[]}},O:function(n,e,a,r,c,u,g,d,_,p){et[n].Pa.push({ob:P(e),ub:a,sb:H(r,c),tb:u,Fb:g,Eb:H(d,_),Gb:p})},K:function(n,e){re(n,{xb:!0,name:e=P(e),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},u:function(n,e,a){n=ie(n),e=Be(e,"emval::as");var r=[],c=ae(r);return B[a>>2]=c,e.toWireType(r,n)},A:function(n,e,a,r,c){n=st[n],e=ie(e),a=ot(a);var u=[];return B[r>>2]=ae(u),n(e,a,u,c)},i:function(n,e,a,r){(n=st[n])(e=ie(e),a=ot(a),null,r)},d:yt,h:function(n,e){var a=function ha(n,e){for(var a=Array(n),r=0;r<n;++r)a[r]=Be(B[e+4*r>>2],"parameter "+r);return a}(n,e),r=a[0];e=r.name+"_$"+a.slice(1).map(function(g){return g.name}).join("_")+"$";var c=Tn[e];if(void 0!==c)return c;var u=Array(n-1);return c=function _a(n){var e=st.length;return st.push(n),e}((g,d,_,p)=>{for(var m=0,T=0;T<n-1;++T)u[T]=a[T+1].readValueFromPointer(p+m),m+=a[T+1].argPackAdvance;for(g=g[d].apply(g,u),T=0;T<n-1;++T)a[T+1].jb&&a[T+1].jb(u[T]);if(!r.xb)return r.toWireType(_,g)}),Tn[e]=c},s:function(n){return n=ot(n),ae(i[n])},M:function(n,e){return n=ie(n),e=ie(e),ae(n[e])},n:function(n){4<n&&(te.get(n).Va+=1)},m:function(n){return ae(ot(n))},x:function(){return ae({})},p:function(n){We(ie(n)),yt(n)},j:function(n,e,a){n=ie(n),e=ie(e),a=ie(a),n[e]=a},q:function(n,e){return n=(n=Be(n,"_emval_take_value")).readValueFromPointer(e),ae(n)},a:()=>{ft("")},D:n=>{var e=z.length;if(2147483648<(n>>>=0))return!1;for(var a=1;4>=a;a*=2){var r=e*(1+.2/a);r=Math.min(r,n+100663296);var c=Math;r=Math.max(n,r);e:{c=c.min.call(c,2147483648,r+(65536-r%65536)%65536)-Ke.buffer.byteLength+65535>>>16;try{Ke.grow(c),Zt();var u=1;break e}catch{}u=void 0}if(u)return!0}return!1},E:(n,e)=>{var a=0;return Sn().forEach(function(r,c){var u=e+a;for(c=B[n+4*c>>2]=u,u=0;u<r.length;++u)Ie[0|c++]=r.charCodeAt(u);Ie[0|c]=0,a+=r.length+1}),0},F:(n,e)=>{var a=Sn();B[n>>2]=a.length;var r=0;return a.forEach(function(c){r+=c.length+1}),B[e>>2]=r,0},G:()=>52,B:function(){return 70},H:(n,e,a,r)=>{for(var c=0,u=0;u<a;u++){var g=B[e>>2],d=B[e+4>>2];e+=8;for(var _=0;_<d;_++){var p=z[g+_],m=fa[n];0===p||10===p?((1===n?Hi:xe)(Cn(m,0)),m.length=0):m.push(p)}c+=d}return B[r>>2]=c,0}};!function(){function n(a){if(ce=a=a.exports,Ke=ce.Q,Zt(),_t=ce.W,Qt.unshift(ce.R),Fe--,i.monitorRunDependencies&&i.monitorRunDependencies(Fe),0==Fe&&(null!==ht&&(clearInterval(ht),ht=null),Pe)){var r=Pe;Pe=null,r()}return a}var e={a:ma};if(Fe++,i.monitorRunDependencies&&i.monitorRunDependencies(Fe),i.instantiateWasm)try{return i.instantiateWasm(e,n)}catch(a){xe("Module.instantiateWasm callback failed with error: "+a),l(a)}(function Zi(n,e){var a=Ae;return Ne||"function"!=typeof WebAssembly.instantiateStreaming||en(a)||a.startsWith("file://")||"function"!=typeof fetch?an(a,n,e):fetch(a,{credentials:"same-origin"}).then(r=>WebAssembly.instantiateStreaming(r,n).then(e,function(c){return xe("wasm streaming compile failed: "+c),xe("falling back to ArrayBuffer instantiation"),an(a,n,e)}))})(e,function(a){n(a.instance)}).catch(l)}();var lt,ge=n=>(ge=ce.S)(n),It=n=>(It=ce.T)(n),yn=n=>(yn=ce.U)(n);function En(){function n(){if(!lt&&(lt=!0,i.calledRun=!0,!Ht)){if(mt(Qt),s(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;){var e=i.postRun.shift();qt.unshift(e)}mt(qt)}}if(!(0<Fe)){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)zi();mt(Jt),0<Fe||(i.setStatus?(i.setStatus("Running..."),setTimeout(function(){setTimeout(function(){i.setStatus("")},1),n()},1)):n())}}if(i.__embind_initialize_bindings=()=>(i.__embind_initialize_bindings=ce.V)(),i.dynCall_jiji=(n,e,a,r,c)=>(i.dynCall_jiji=ce.X)(n,e,a,r,c),Pe=function n(){lt||En(),lt||(Pe=n)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);0<i.preInit.length;)i.preInit.pop()();return En(),C.ready});var Mt=k(46443);
1const Rt=new t.nKC("Folder with Rive files"),Lt=new t.nKC("Version used to load rive WASM"),Bn=new t.nKC("Local path to rive WASM");let Dt=(()=>{class o{constructor(i,s,l,f){this.http=i;const F=f??"2.4.0";this.folder=s??"assets/rive",this.wasmPath=l??`https://unpkg.com/@rive-app/canvas-advanced@${F}/rive.wasm`}getRive(){var i=this;return(0,ut.A)(function*(){if(!i.rive){const s=()=>i.wasmPath;i.rive=yield $n({locateFile:s}),i.frame=(o=>new kn.c(C=>{let i=0,s=!0;const l=f=>{const F=f-i;i=f,s?(C.next(16),s=!1):C.next(F),!C.closed&&o.requestAnimationFrame(l)};o.requestAnimationFrame(l)}))(i.rive).pipe((0,Dn.u)())}return i.rive})()}getAsset(i){return(0,Mn._)(this.http.get(i,{responseType:"arraybuffer"}))}load(i){var s=this;return(0,ut.A)(function*(){if("string"!=typeof i){const[V,Y]=yield Promise.all([s.getRive(),i.arrayBuffer()]);return V?.load(new Uint8Array(Y))}const l=`${s.folder}/${i}.riv`,[f,F]=yield Promise.all([s.getRive(),s.getAsset(l)]);if(!f)throw new Error("Could not load rive");return f.load(new Uint8Array(F))})()}static#e=this.\u0275fac=function(s){return new(s||o)(t.KVO(Mt.Qq),t.KVO(Rt,8),t.KVO(Bn,8),t.KVO(Lt,8))};static#t=this.\u0275prov=t.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Nt(o){const C="string"==typeof o?parseInt(o):o;if("number"==typeof C)return C}const jn=o=>null!=o;let Ot=(()=>
1{class o{set riv(i){this.url.next(i)}set name(i){this.arboardName.next(i)}set width(i){const s=Nt(i)??this.canvas.width;this.canvas.width=s}get width(){return this.canvas.width}set height(i){const s=Nt(i)??this.canvas.height;this.canvas.height=s}get height(){return this.canvas.height}pointerMove(i){const s=Object.values(this.stateMachines).filter(f=>"pointerMove"in f);if(!s.length)return;const l=this.getTransform(i);if(l)for(const f of s)f.pointerMove(l.x,l.y)}pointerDown(i){const s=Object.values(this.stateMachines).filter(f=>"pointerDown"in f);if(!s.length)return;const l=this.getTransform(i);if(l)for(const f of s)f.pointerDown(l.x,l.y)}pointerUp(i){const s=Object.values(this.stateMachines).filter(f=>"pointerUp"in f);if(!s.length)return;const l=this.getTransform(i);if(l)for(const f of s)f.pointerUp(l.x,l.y)}constructor(i,s){var l=this;this.service=i,this.url=new Ve.t(null),this.arboardName=new Ve.t(null),this.boxes={},this.stateMachines={},this.viewbox="0 0 100% 100%",this.lazy=!1,this.fit="contain",this.alignment="center",this.artboardChange=new t.bkB,this.canvas=s.nativeElement,this.whenVisible=(o=>new Promise((C,i)=>{if(typeof window>"u")return C(!1);if(!("IntersectionObserver"in window))return C(!0);let s=!1;const l=new IntersectionObserver(f=>{f.forEach(F=>{0!==F.intersectionRatio!==s&&(C(s),l.disconnect())})},{threshold:[0]});l.observe(o)}))(s.nativeElement),this.loaded=this.url.pipe((0,Xe.p)(jn),(0,Nn.F)(),(0,Xe.p)(()=>typeof window<"u"&&!!this.ctx),(0,De.n)(function(){var f=(0,ut.A)(function*(F){if(l.file=yield l.service.load(F),l.rive=l.service.rive,!l.rive)throw new Error("Service could not load rive");l.renderer=l.rive.makeRenderer(l.canvas)});return function(F){return f.apply(this,arguments)}}()),(0,De.n)(f=>this.setArtboard()),(0,On.t)({bufferSize:1,refCount:!0}))}ngOnInit(){this.onReady()}ngOnDestroy(){setTimeout(()=>{this.renderer?.delete(),this.artboard?.delete(),this.file?.delete()},100)}get ctx(){return this._ctx||(this._ctx=this.canvas.getContext("2d")),this._ctx}setArtboard(){return this.arboardName.pipe((0,dt.M)(()=>this.artboard?.delete()),(0,ve.T)(i=>i?this.file?.artboardByName(i):this.file?.defaultArtboard()),(0,dt.M)(i=>this.artboard=i),(0,dt.M)(()=>this.artboardChange.emit(this.artboard)),(0,ve.T)(()=>!0))}get box(){const i=this.width,s=this.height,l=`${this.viewbox} ${i} ${s}`;if(!this.boxes[l]){const f=this.viewbox.split(" ");if(4!==f.length)throw new Error('View box should look like "0 0 100% 100%"');const[F,V,Y,q]=f.map((K,ee)=>{const Z=ee%2==0?i:s,j=K.endsWith("%")?parseInt(K.slice(0,-1),10)/100:parseInt(K,10)/Z;return ee<2?-Z*j:Z/j});this.boxes[l]={minX:F,minY:V,maxX:Y,maxY:q}}return this.boxes[l]}get isLazy(){return!0===this.lazy||""===this.lazy}get count(){return this.artboard?.animationCount()}onReady(){return this.isLazy?(0,Rn.H)(this.whenVisible).pipe((0,Xe.p)(i=>i),(0,De.n)(()=>this.loaded)):this.loaded}draw(i,s,l){if(!this.rive)throw new Error("Could not load rive before registrating instance");if(!this.artboard)throw new Error("Could not load artboard before registrating instance");if(!this.renderer)throw new Error("Could not load renderer before registrating instance");this.renderer.clear(),function Yn(o){return"didLoop"in o}(i)?(i.advance(s),i.apply(l??1)):i.advance(s),this.artboard.advance(s),this.renderer.save(),this.renderer.align(this.rive.Fit[this.fit],this.rive.Alignment[this.alignment],this.box,this.artboard.bounds),this.artboard.draw(this.renderer),this.renderer.restore()}getTransform(i){if(!this.rive||!this.artboard)return;const s=this.canvas.getBoundingClientRect(),{clientX:l,clientY:f}=function Wn(o){return["touchstart","touchmove"].indexOf(o.type)>-1&&o.touches?.length?(o.preventDefault(),{clientX:o.touches[0].clientX,clientY:o.touches[0].clientY}):"touchend"===o.type&&o.changedTouches?.length?{clientX:o.changedTouches[0].clientX,clientY:o.changedTouches[0].clientY}:{clientX:o.clientX,clientY:o.clientY}}(i);if(!l&&!f)return;const F=l-s.left,V=f-s.top,Y=this.rive.computeAlignment(this.rive.Fit[this.fit],this.rive.Alignment[this.alignment],{minX:0,minY:0,maxX:s.width,maxY:s.height},this.artboard.bounds),q=new this.rive.Mat2D;Y.invert(q);const K=new this.rive.Vec2D(F,V),ee=this.rive.mapXY(q,K),Z=ee.x(),j=ee.y();return ee.delete(),q.delete(),K.delete(),Y.delete(),{x:Z,y:j}}static#e=this.\u0275fac=function(s){return new(s||o)(t.rXU(Dt),t.rXU(t.aKT))};static#t=this.\u0275dir=t.FsC({type:o,selectors:[["canvas","riv",""]],hostBindings:function(s,l){1&s&&t.bIt("touchmove",function(F){return l.pointerMove(F)})("mouseover",function(F){return l.pointerMove(F)})("mouseout",function(F){return l.pointerMove(F)})("mousemove",function(F){return l.pointerMove(F)})("touchstart",function(F){return l.pointerDown(F)})("mousedown",function(F){return l.pointerDown(F)})("touchend",function(F){return l.pointerUp(F)})("mouseup",function(F){return l.pointerUp(F)})},inputs:{riv:"riv",name:[0,"artboard","name"],viewbox:"viewbox",lazy:"lazy",fit:"fit",alignment:"alignment",width:"width",height:"height"},outputs:{artboardChange:"artboardChange"},exportAs:["rivCanvas"],standalone:!0})}return o}
1)();function $t(o={}){return{speed:1,playing:!1,mix:1,...o}}function Vn(o){return null!=o}let Hn=(()=>{class o{set name(i){"string"==typeof i&&this.zone.runOutsideAngular(()=>{this.register(i)})}set index(i){const s="string"==typeof i?parseInt(i):i;"number"==typeof s&&this.zone.runOutsideAngular(()=>{this.register(s)})}set mix(i){const s="string"==typeof i?parseFloat(i):i;s&&s>=0&&s<=1&&this.update({mix:s})}get mix(){return this.state.getValue().mix}set speed(i){const s="string"==typeof i?parseFloat(i):i;"number"==typeof s&&this.update({speed:s})}get speed(){return this.state.getValue().speed}set play(i){!0===i||""===i?this.update({playing:!0}):!1===i&&this.update({playing:!1})}get play(){return this.state.getValue().playing}constructor(i,s,l){this.zone=i,this.canvas=s,this.service=l,this.distance=new Ve.t(null),this.state=new Ve.t($t()),this.load=new t.bkB}ngOnDestroy(){this.sub?.unsubscribe(),this.instance?.delete(),setTimeout(()=>this.instance?.delete(),100)}update(i){const s=$t({...this.state.getValue(),...i});this.state.next(s)}getFrame(i){return i.playing&&this.service.frame?this.service.frame.pipe((0,ve.T)(s=>[i,s])):(0,Ln.of)(null)}initAnimation(i){if(!this.canvas.rive)throw new Error("Could not load animation instance before rive");if(!this.canvas.artboard)throw new Error("Could not load animation instance before artboard");const s="string"==typeof i?this.canvas.artboard.animationByName(i):this.canvas.artboard.animationByIndex(i);(function Xn(o,C,i){if(o)return;const s=C.name??"Default",l=C.animationCount();if("number"==typeof i)throw new Error(`Provided index "${i}" for the animation of artboard "${s}" is not available. Animation count is: ${l}`);{const f=[];for(let F=0;F<l;F++)f.push(C.animationByIndex(F).name);throw new Error(`Provided name "${i}" for the animation of artboard "${s}" is not available. Availables names are: ${JSON.stringify(f)}`)}})(s,this.canvas.artboard,i),this.instance=new this.canvas.rive.LinearAnimationInstance(s,this.canvas.artboard),this.load.emit(this.instance)}register(i){this.sub?.unsubscribe();const s=this.state.pipe((0,De.n)(l=>this.getFrame(l)),(0,Xe.p)(Vn),(0,ve.T)(([l,f])=>f/1e3*l.speed));this.sub=this.canvas.onReady().pipe((0,ve.T)(()=>this.initAnimation(i)),(0,De.n)(()=>s)).subscribe(l=>this.applyChange(l))}applyChange(i){if(!this.instance)throw new Error("Could not load animation instance before running it");this.canvas.draw(this.instance,i,this.state.getValue().mix)}static#e=this.\u0275fac=function(s){return new(s||o)(t.rXU(t.SKi),t.rXU(Ot),t.rXU(Dt))};static#t=this.\u0275dir=t.FsC({type:o,selectors:[["riv-animation"],["","rivAnimation",""]],inputs:{name:"name",index:"index",mix:"mix",speed:"speed",play:"play"},outputs:{load:"load"},exportAs:["rivAnimation"],standalone:!0})}return o})(),zn=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=t.$C({type:o});static#n=this.\u0275inj=t.G2t({imports:[Mt.q1]})}return o})();var _e=k(60316),gt=k(99938),Gt=k(84205),Bt=k(33900),ye=function(o){return o.HOLDER="holder",o.PLAYER="player",o.MINTER="minter",o.PURCHASER="purchaser",o.BUYERSELLER="buyerSeller",o}(ye||{}),Ee=function(o){return o.HOLD_TOKENS="HOLD_TOKENS",o.PLAY_GAME="PLAY_GAME",o.MINT_NFT="MINT_NFT",o.PURCHASE_PACK="PURCHASE_PACK",o.BUY_OR_SELL_CARDS="BUY_OR_SELL_CARDS",o}(Ee||{});const Kn=[{key:Ee.PLAY_GAME,icon:ye.PLAYER,title:"Player",subTitle:"",description:"Play at least one game of Gods Unchained in each reward period.",buttonLink:"https://godsunchained.com/",buttonText:"Play",displayCheckbox:!1},{key:Ee.PURCHASE_PACK,icon:ye.PURCHASER,title:"purchaser",subTitle:"",description:"Purchase at least one Expansion Pack from the Gods Unchained website during each reward period",buttonLink:"https://godsunchained.com/buy-packs",buttonText:"Buy",displayCheckbox:!1},{key:Ee.BUY_OR_SELL_CARDS,icon:ye.BUYERSELLER,title:"Buyer or Seller",subTitle:"Secondary market",description:"Purchase OR successfully list and sell Gods Unchained card from any marketplace running on the Immutable platform at least once per reward period.",buttonLink:"https://tokentrove.com/collection/GodsUnchained",buttonText:"Trade",displayCheckbox:!1}];var He=k(22170);k(14779);const Zn=()=>({breakpoint:"desktop",size:"small"}),Jn=o=>[o];function Qn(o,C){if(1&o&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&o){const i=C.$implicit;t.R7$(),t.JRh(i)}}function qn(o,C){if(1&o&&(t.j41(0,"div",6)(1,"div",7)(2,"gu-body-text",8),t.pXf(3,1),t.k0s()(),t.j41(4,"div",9),t.DNE(5,Qn,2,1,"div",10),t.k0s()()),2&o){const i=C.$implicit;t.R7$(3),t.uP7(i.epoch),t.nnv(3),t.R7$(2),t.Y8G("ngForOf",i.dates)}}const ei=(o,C)=>
1{const i=o.toLocaleString("en-US",{month:"long"}),l=`${i} ${o.toLocaleString("en-US",{year:"numeric"})}`,f=`${i} ${o.getUTCDate()}th`,F=C.find(V=>V.epoch===l);return F?(F.dates.push(f),C):[...C,{epoch:l,dates:[f]}]};let ti=(()=>{class o{constructor(){this.title="",this.stakingStartedDate="2023-09-14",this.cycleDates=this.generateCycleDates()}generateCycleDates(){const i=new Date(this.stakingStartedDate),s=new Date,l=new Date(s.getFullYear(),s.getMonth()+2,0);let f=[];const F=i;for(;F<=l;)4===F.getUTCDay()&&(f=ei(F,f)),F.setUTCDate(F.getUTCDate()+7);return f}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=t.VBU({type:o,selectors:[["cerberus-staking-epoch-modal"]],inputs:{title:"title"},decls:6,vars:6,consts:()=>{let i,s;return i=" " + "\ufffd0\ufffd" + " ",s="" + "\ufffd0\ufffd" + "",[i,s,[1,"content"],["size","2x-small","fontWeight","bold","align","center","color","white",1,"mb-6",3,"responsiveSize"],[1,"epoch-table"],["class","epoch-table__row",4,"ngFor","ngForOf"],[1,"epoch-table__row"],[1,"epoch-table__header-row"],["size","small","fontweight","bold"],[1,"epoch-table__body-row"],[4,"ngFor","ngForOf"]]},template:function(s,l){1&s&&(t.j41(0,"gu-modal-window")(1,"div",2)(2,"gu-heading-text",3),t.pXf(3,0),t.k0s(),t.j41(4,"div",4),t.DNE(5,qn,6,2,"div",5),t.k0s()()()),2&s&&(t.R7$(2),t.Y8G("responsiveSize",t.eq3(4,Jn,t.lJ4(3,Zn))),t.R7$(),t.uP7(l.title),t.nnv(3),t.R7$(2),t.Y8G("ngForOf",l.cycleDates))},dependencies:[_e.Sq],styles:[".epoch-table__row[_ngcontent-%COMP%], .epoch-table__header-row[_ngcontent-%COMP%]{border-bottom:1px solid #7192b0}.epoch-table__header-row[_ngcontent-%COMP%]{padding:16px;color:#c6a052;text-transform:uppercase}.epoch-table__body-row[_ngcontent-%COMP%]{display:flex;padding:16px;flex-wrap:wrap;gap:16px}",".staking-modal__pagination-container[_ngcontent-%COMP%]{margin:20px auto;width:400px;max-width:100%}@media screen and (min-width: 1024px){[_nghost-%COMP%]{padding:60px;width:90vw;max-width:1100px;height:initial;max-height:100vh}.closeIcon[_ngcontent-%COMP%]{position:absolute;top:12px;right:12px;background-color:transparent}}"]})}return o})();var ni=k(71767),ii=k(71065),ai=k(51743),Wt=k(89033),ri=k(50565),oi=k(43287),si=k(38585);const jt=()=>({breakpoint:"desktop",size:"x-small"}),Ut=o=>[o];let ci=(()=>{class o{constructor(){this.month=""}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=t.VBU({type:o,selectors:[["cerberus-staking-floating-banner"]],inputs:{month:"month"},decls:13,vars:9,consts:()=>{let i,s;return i="You will receive your reward",s="By the end of " + "\ufffd0\ufffd" + "",[i,s,[1,"staking-floating-banner"],[1,"staking-floating-banner__background-image"],["srcset","/assets/images/staking/staking-floating-banner--background.webp","type","image/webp"],["src","/assets/images/staking/staking-floating-banner--background.webp",1,"staking-floating-banner__background-image"],[1,"content"],["size","2x-small","fontWeight","bold","align","center",3,"responsiveSize"],["size","2x-small","fontWeight","bold","align","center","fillColor","colors.gold.500",3,"responsiveSize"],[1,"staking__diamond"],[1,"staking-floating-banner__dragon-image"],["srcset","/assets/images/staking/staking-floating-banner--dragon.webp","type","image/webp"],["src","/assets/images/staking/staking-floating-banner--dragon.webp",1,"staking-floating-banner__dragon-image"]]},template:function(s,l){1&s&&(t.j41(0,"section",2)(1,"picture",3),t.nrm(2,"source",4)(3,"img",5),t.k0s(),t.j41(4,"div",6)(5,"gu-heading-text",7),t.pXf(6,0),t.k0s(),t.j41(7,"gu-heading-text",8),t.pXf(8,1),t.k0s(),t.nrm(9,"i",9),t.j41(10,"picture",10),t.nrm(11,"source",11)(12,"img",12),t.k0s()()()),2&s&&(t.R7$(5),t.Y8G("responsiveSize",t.eq3(4,Ut,t.lJ4(3,jt))),t.R7$(2),t.Y8G("responsiveSize",t.eq3(7,Ut,t.lJ4(6,jt))),t.R7$(),t.uP7(l.month),t.nnv(8))},styles:['.staking-floating-banner[_ngcontent-%COMP%]{position:fixed;bottom:0;width:1000px;max-width:100%;height:100px;left:0;right:0;margin-left:auto;margin-right:auto;z-index:1}.staking-floating-banner__background-image[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.content[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;justify-content:center;height:100%}.staking-floating-banner__dragon-image[_ngcontent-%COMP%]{position:absolute;right:-30px;bottom:0;max-width:140px}.staking__diamond[_ngcontent-%COMP%]{position:absolute;top:-10px;left:0;right:0;margin-left:auto;margin-right:auto;padding:4px;box-shadow:inset 0 0 0 1.5px #c6a052;border-radius:2px;display:flex;transform:rotate(-45deg);height:20px;width:20px}.staking__diamond[_ngcontent-%COMP%]:before{content:"";width:12px;height:12px;background:#c6a052;border-radius:2px}@media screen and (min-width: 1024px){.staking-floating-banner__dragon-image[_ngcontent-%COMP%]{right:0;bottom:0;max-width:initial}}
1']})}return o})();const li=()=>({breakpoint:"medium",size:"medium"}),ui=o=>[o];function di(o,C){1&o&&(t.qSk(),t.j41(0,"svg",16),t.nrm(1,"path",17),t.j41(2,"defs")(3,"linearGradient",18),t.nrm(4,"stop",19)(5,"stop",20)(6,"stop",21),t.k0s()()())}function gi(o,C){1&o&&(t.qSk(),t.j41(0,"svg",22),t.nrm(1,"path",23),t.j41(2,"defs")(3,"linearGradient",24),t.nrm(4,"stop",19)(5,"stop",20)(6,"stop",21),t.k0s()()())}function pi(o,C){1&o&&(t.qSk(),t.j41(0,"svg",25),t.nrm(1,"path",26),t.j41(2,"defs")(3,"linearGradient",27),t.nrm(4,"stop",19)(5,"stop",20)(6,"stop",21),t.k0s()()())}function _i(o,C){1&o&&(t.qSk(),t.j41(0,"svg",28),t.nrm(1,"path",29),t.j41(2,"defs")(3,"linearGradient",30),t.nrm(4,"stop",19)(5,"stop",20)(6,"stop",21),t.k0s()()())}function hi(o,C){if(1&o&&(t.j41(0,"gu-heading-text",31),t.pXf(1,2),t.k0s()),2&o){const i=t.XpG();t.R7$(),t.uP7(i.subTitle),t.nnv(1)}}function fi(o,C){if(1&o&&(t.j41(0,"gu-standard-button",32),t.pXf(1,3),t.k0s()),2&o){const i=t.XpG();t.FS9("href",i.isCompleted?null:i.buttonLink),t.Y8G("type",i.isCompleted?"token":"primary"),t.R7$(),t.uP7(i.isCompleted?"Done":i.buttonText),t.nnv(1)}}let mi=(()=>{class o{constructor(){this.icon=ye.PLAYER,this.title="",this.subTitle="",this.description="",this.buttonLink="",this.buttonText="",this.isCompleted=!1,this.isLoggedIn=!1,this.isTransparent=!1}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=t.VBU({type:o,selectors:[["cerberus-staking-participation-card"]],inputs:{icon:"icon",title:"title",subTitle:"subTitle",description:"description",buttonLink:"buttonLink",buttonText:"buttonText",isCompleted:"isCompleted",isLoggedIn:"isLoggedIn",isTransparent:"isTransparent"},decls:15,vars:14,consts:()=>{let i,s,l,f;return i="" + "\ufffd0\ufffd" + "",s=" " + "\ufffd0\ufffd" + " ",l="" + "\ufffd0\ufffd" + "",f="" + "\ufffd0\ufffd" + " ",[i,s,l,f,[1,"staking-page-participation__card"],[1,"staking-page-participation__card_icons"],["class","staking-page-participation__card__icon","width","112","height","72","viewBox","0 0 112 101","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["class","staking-page-participation__card__icon","width","72","height","78","viewBox","0 0 72 78","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["class","staking-page-participation__card__icon","width","85","height","76","viewBox","0 0 85 76","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["class","staking-page-participation__card__icon","width","87","height","90","viewBox","0 0 87 90","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],[1,"staking-page-participation__card__content"],[1,"mt-8","mb-3"],["class","mb-2","size","2x-small","fontWeight","bold","fillGradient","gradients.gold.simple","fillGradientTarget","bottom",4,"ngIf"],["size","x-small","fontWeight","bold","fillGradient","gradients.gold.simple","fillGradientTarget","bottom"],["fillcolor","colors.light.300","size","small",3,"responsiveSizes"],["theme","dark","expand","false","target","_blank",3,"href","type",4,"ngIf"],["width","112","height","72","viewBox","0 0 112 101","fill","none","xmlns","http://www.w3.org/2000/svg",1,"staking-page-participation__card__icon"],["fill-rule","evenodd","clip-rule","evenodd","d","M65.9641 20.5746C65.3485 19.1583 64.8578 18.0277 64.3808 16.9286L64.3762 16.9179L64.3747 16.9144L64.3697 16.903C63.9548 15.9471 63.5497 15.0135 63.0809 13.935H34.9172V6.88798H63.276C63.8398 5.37769 64.3105 4.11475 64.8201 2.74731L64.8202 2.74708L65.5631 0.753906C70.4479 2.8665 73.8623 6.25797 77.6126 10.0456C75.417 13.4924 72.5224 15.6274 69.5165 17.8443C68.3377 18.7138 67.1417 19.5958 65.9641 20.5746ZM87.2082 35.8479L87.2056 35.8495L87.2027 35.8513C85.5848 36.859 84.0089 37.8405 82.3998 38.8411H82.3962C84.9253 46.1749 98.1924 67.1763 101.852 69.9793C105.397 68.8739 108.67 67.2065 111.022 63.1322C105.184 53.0597 99.2908 42.9946 92.4296 32.5977C90.5893 33.7422 88.8763 34.809 87.2082 35.8479ZM104.418 63.4227C102.886 64.943 101.542 64.2338 100.476 61.9967V61.9929C101.477 59.6049 102.864 58.8203 104.616 60.5707C105.061 61.0158 104.934 62.9096 104.418 63.4227ZM10.5326 71.6051C8.5357 70.3484 6.78191 69.2455 5.14739 68.2176C3.51408 67.1905 1.99987 66.2383 0.48114 65.2824C0.546863 64.7269 0.567471 64.2101 0.58635 63.7367C0.622476 62.8308 0.652267 62.0837 0.979741 61.5287C6.63777 51.8976 12.3211 42.2739 18.5355 33.103C23.5179 33.7104 26.477 36.5133 29.8046 40.0293C26.7204 45.0846 23.6811 50.0655 20.6022 55.1115L20.5361 55.2197L20.4988 55.2808C17.2559 60.5954 13.968 65.9838 10.5363 71.6088L10.5326 71.6051ZM5.69838 61.0194C7.21947 62.6001 7.96376 63.3735 9.06574 64.5165C9.26862 64.1027 9.45742 63.7484 9.6262 63.4317L9.62625 63.4316C9.97745 62.7727 10.242 62.2763 10.3664 61.7438C10.4282 61.4732 10.2555 61.1423 10.0344 60.7188C9.91938 60.4985 9.79131 60.2532 9.67635 59.9782L9.62903 59.9907C8.69927 60.2352 7.79098 60.4741 5.69838 61.0194ZM60.7612 50.4187C71.3221 55.7002 80.0007 63.1735 87.7073 72.684V72.6878L95.7174 67.8703L94.8045 66.3762L94.7905 66.3533C90.2846 58.9792 86.0306 52.0174 81.6374 44.8241C74.6497 45.6314 68.1209 44.6204 61.8053 41.9759C59.428 40.9799 56.9024 41.5421 55.4464 43.7339C53.8313 46.1634 52.462 48.906 51.6093 51.7202C50.7747 54.4666 51.7358 55.3117 55.5909 56.2397C56.1726 55.585 56.7675 54.9149 57.3834 54.2211L57.422 54.1777L57.431 54.1675L57.4319 54.1666L57.4485 54.1479L57.4528 54.143C58.4845 52.981 59.5754 51.7523 60.7612 50.4187ZM72.3968 76.1328C72.241 75.8578 72.0851 75.5827 71.9218 75.3135L71.9182 75.3097C72.2928 74.96 72.6639 74.6102 73.0349 74.2604L73.0351 74.2603L73.0352 74.2601L73.0353 74.26L73.0355 74.2598L73.0356 74.2597L73.0357 74.2596L73.0382 74.2572C73.4946 74.6689 73.9468 75.0857 74.3987 75.5023C75.3924 76.4183 76.3853 77.3336 77.4209 78.1919C79.9066 80.2479 82.154 80.4517 83.7437 78.7503C85.6586 76.7018 85.0119 74.5402 83.6281 72.5935C77.7966 64.3884 70.1406 58.575 61.35 53.9386L60.8448 54.4986C60.2628 55.1439 59.7887 55.6696 59.3123 56.1907C56.4616 59.3106 54.1456 60.0311 51.761 58.5372C49.3041 56.9981 48.5598 54.3271 49.5968 50.5282C49.9594 49.2043 50.3659 47.8943 50.7862 46.5397L50.7862 46.5396L50.7862 46.5395L50.7863 46.5394L50.7863 46.5393L50.7863 46.5393L50.7863 46.5392L50.7864 46.5391L50.7868 46.5377C50.9819 45.909 51.1799 45.2706 51.378 44.6167C47.7108 42.7758 44.6252 43.6057 41.6878 45.2732C38.754 46.9368 35.8853 47.1783 32.8575 45.6429C32.346 45.3833 31.776 45.2492 31.0848 45.0866L31.0847 45.0866C30.731 45.0034 30.3457 44.9128 29.9201 44.794C24.9269 52.2409 20.295 59.7746 15.7497 67.8968C16.8428 68.5681 17.7955 69.1547 18.5763 69.6354L18.5786 69.6368C19.3763 70.128 19.9945 70.5086 20.3997 70.7563C21.5253 70.295 22.614 69.7131 23.629 69.1706C25.66 68.085 27.3956 67.1573 28.5399 67.6704C32.601 69.4926 36.4995 72.3823 39.5778 75.7285C40.866 77.1288 41.7384 78.9749 42.6057 80.8101C43.5749 82.861 44.5376 84.8982 46.0668 86.2839C49.5534 89.4415 49.7774 92.7952 49.2572 96.6432C49.505 96.9545 49.7279 97.2493 49.9385 97.5279L49.939 97.5285L49.9397 97.5294L49.9397 97.5294C50.3641 98.0908 50.7389 98.5865 51.1684 99.0199C52.9244 100.797 54.9549 101.427 57.0071 99.7215C58.8137 98.2201 58.904 96.2207 57.8454 94.1043C57.57 93.5578 57.3606 92.974 57.033 92.0606C56.8404 91.5237 56.607 90.8729 56.2954 90.0489C57.1074 90.6014 57.7542 91.0454 58.2989 91.4194L58.2994 91.4197C59.2086 92.0439 59.8336 92.473 60.4684 92.8858C62.34 94.1043 64.2621 94.3533 65.953 92.6594C67.6729 90.9354 67.3007 88.9737 66.2782 86.9479C66.1097 86.6136 65.8522 86.3024 65.5882 85.9833C64.8332 85.0708 64.025 84.094 65.0931 82.3304C65.3847 82.535 65.662 82.7206 65.9267 82.8977C66.4623 83.2563 66.9461 83.5801 67.391 83.9563C71.1956 87.1667 73.0238 87.6194 74.8953 85.7482C76.8283 83.8129 76.42 81.6362 73.5079 77.8901C73.0851 77.3474 72.7411 76.7403 72.3968 76.1328ZM46.0634 37.3395C46.8836 35.1816 47.4653 33.6537 48.289 31.4921V31.4883C52.4882 31.1869 56.6781 31.2192 60.9022 31.2518H60.9023C66.1424 31.2921 71.4354 31.3329 76.8646 30.7376C76.7526 28.3949 76.
16695 26.6558 76.5503 24.1546H48.4444C47.7054 22.2299 47.1521 20.7867 46.5297 19.163L45.9731 17.7112C41.0846 20.3293 37.3018 23.4529 33.649 27.7422C37.421 31.8807 41.1171 35.0873 46.0634 37.3395ZM29.8804 86.9894C25.7941 84.8127 25.2376 83.5791 27.2826 81.0666C28.6114 79.4316 30.1258 77.9624 31.7613 76.3757C32.5184 75.6412 33.3015 74.8815 34.1041 74.0686C34.7917 74.5258 35.4187 74.943 36.0166 75.3408L36.0262 75.3471L36.0737 75.3787C36.7521 75.8301 37.394 76.2572 38.0459 76.6905C36.7094 80.6886 34.1726 83.0192 31.5941 85.388L31.594 85.3882C31.0218 85.9138 30.4476 86.4413 29.884 86.9894H29.8804ZM29.5572 75.204L29.5575 75.2037L29.5588 75.2022C30.1008 74.5692 30.6334 73.9473 31.1665 73.3592H31.1629C30.1765 70.1828 28.7169 69.0737 27.0513 69.9564C23.8067 71.6729 21.1042 74.1439 20.1756 77.9579C21.3932 81.0815 23.4201 81.3229 25.4254 79.5763C26.9451 78.2544 28.2778 76.6981 29.5572 75.204ZM33.7679 93.1122C31.9289 88.623 33.1826 85.7445 37.4894 82.934C39.7945 81.4288 41.5577 81.7683 42.7319 84.8769C40.929 88.7776 38.3493 91.7579 33.7679 93.1122ZM46.5403 94.1996C47.0771 93.6499 47.6191 93.0949 48.1732 92.5275V92.5237C43.8701 87.9665 41.3265 89.185 37.8363 96.5565L37.894 96.6186C38.6646 97.4492 39.555 98.4089 40.9543 99.9215C42.9357 97.8906 44.7074 96.0764 46.5403 94.1996Z","fill","url(#paint0_linear_1718_43813)"],["id","paint0_linear_1718_43813","x1","0.48114","y1","50.7385","x2","111.022","y2","50.7385","gradientUnits","userSpaceOnUse"],["stop-color","#FFF2D8"],["offset","0.4948","stop-color","#EBC98B"],["offset","1","stop-color","#C6A052"],["width","72","height","78","viewBox","0 0 72 78","fill","none","xmlns","http://www.w3.org/2000/svg",1,"staking-page-participation__card__icon"],["fill-rule","evenodd","clip-rule","evenodd","d","M29.4487 17.0811C28.8653 19.9255 28.4931 21.7439 28.0385 23.9734C23.5143 25.6107 19.0294 25.3164 14.133 24.2752L12.9411 18.0997C7.37173 13.8858 7.31446 11.9241 12.9089 8.40435C13.0082 7.8221 13.1104 7.22106 13.2173 6.59265C13.4455 5.25042 13.695 3.78337 13.9827 2.10806C18.3188 0.423899 22.6819 0.993336 27.3806 1.60658L27.8416 1.66668C28.0408 2.55896 28.2311 3.41334 28.4219 4.26945L28.423 4.27468L28.4232 4.27521C28.7498 5.74096 29.0775 7.21203 29.4523 8.88723C29.963 8.92719 30.482 8.97776 31.007 9.02892C32.1672 9.14197 33.3565 9.25786 34.5492 9.26825C37.7573 9.30191 40.9653 9.3138 44.1734 9.32568L44.1738 9.32568C48.1564 9.34044 52.139 9.35519 56.1215 9.41161C57.4061 9.42929 58.6907 9.59412 60.0806 9.77246C60.7665 9.86047 61.478 9.95177 62.2278 10.0303V16.2247C54.4639 16.426 46.9457 16.6218 39.4435 16.8172L39.4234 16.8177L29.4523 17.0773L29.4487 17.0811ZM71.398 33.0501V49.2982C70.9397 49.4115 70.5055 49.5453 70.0874 49.6742L70.0873 49.6743C69.2386 49.9359 68.4561 50.1771 67.672 50.1847C64.7172 50.2105 61.7624 50.2383 58.8076 50.266C44.904 50.3966 31.0004 50.5272 17.0968 50.4526C8.43131 50.4073 1.75237 44.492 0.0987444 36.0115C-0.0415868 35.2875 -0.00241624 34.5261 0.0357142 33.7848C0.0530193 33.4484 0.0701101 33.1162 0.0701101 32.7935C4.37599 31.4015 65.5352 31.5486 71.4016 33.0501H71.398ZM17.988 76.528C23.586 77.7579 56.859 77.3844 61.4369 75.9244H61.4405C60.8152 74.4308 60.1968 72.9524 59.5839 71.4871C58.8669 69.7731 58.1575 68.077 57.4532 66.3951L47.4383 65.5274C47.0446 62.0794 46.7153 59.1821 46.361 56.0547C44.7556 56.0751 43.2022 56.0079 41.6823 55.9422C38.1463 55.7892 34.7911 55.644 31.3817 56.6281C31.2559 57.8262 31.134 58.9827 31.013 60.1315C30.8311 61.8587 30.651 63.5686 30.4618 65.3765C28.7017 65.5438 27.0488 65.7004 25.3891 65.8577C24.0921 65.9805 22.791 66.1038 21.4313 66.2329C21.0394 67.2605 20.5418 68.2381 20.0465 69.2113C18.8908 71.4823 17.7475 73.7288 17.988 76.528Z","fill","url(#paint0_linear_1718_43785)"],["id","paint0_linear_1718_43785","x1","0","y1","39.1317","x2","71.4016","y2","39.1317","gradientUnits","userSpaceOnUse"],["width","85","height","76","viewBox","0 0 85 76","fill","none","xmlns","http://www.w3.org/2000/svg",1,"staking-page-participation__card__icon"],["fill-rule","evenodd","clip-rule","evenodd","d","M42.2649 25.9236C42.3495 26.0535 42.4435 26.1976 42.5315 26.3629H42.5347C42.6788 26.3917 42.8342 26.4341 42.997 26.4786C43.3916 26.5863 43.8298 26.7059 44.2567 26.6722C44.6737 26.6408 45.0793 26.4498 45.4458 26.2773C45.595 26.207 45.7378 26.1398 45.8722 26.0876C47.0136 18.1994 44.5146 14.1041 37.6205 12.2994C36.9085 12.1123 36.1902 11.9569 35.4722 11.8016C34.9253 11.6833 34.3786 11.565 33.8349 11.4328C27.2632 9.83883 26.7054 9.20328 25.5639 2.17493C25.5335 1.98476 25.4075 1.81339 25.2195 1.55779C25.1085 1.40685 24.9759 1.22653 24.8287 0.995605H21.5622C20.2563 8.31624 22.3361 12.5033 28.4079 14.9504C30.0589 15.6165 31.7873 16.2622 33.5253 16.4525C38.6814 17.0167 42.1059 19.2156 41.9866 25.3026C41.9824 25.4903 42.1076 25.6824 42.2649 25.9236ZM49.8455 30.4242C47.5974 30.4378 45.3495 30.4514 43.1021 30.4515V30.03C41.1322 30.03 39.162 30.016 37.1918 30.002C32.3671 29.9677 27.5425 29.9335 22.7229 30.1048C19.5338 30.217 16.1448 30.5296 13.2363 31.7701C4.96204 35.2979 0.467006 42.2209 0.034915 51.4991C-0.40685 60.9439 3.34009 68.4821 11.4692 72.9648C19.2888 77.2811 26.7891 76.0882 33.7606 70.5688C40.8514 64.9543 44.5661 64.9475 51.5247 70.4295C56.4067 74.2767 61.8304 76.0304 67.9474 74.8511C78.4304 72.8323 85.7566 62.5073 84.9376 50.9078C84.1379 39.5666 75.6122 30.7437 64.9453 30.4854C59.9149 30.3633 54.8799 30.3938 49.8455 30.4242ZM31.629 55.727C31.5227 53.4243 31.4356 51.5255 31.3551 49.7658C28.9337 49.3439 27.0977 49.0225 25.2846 48.7051L25.2477 48.6987C25.0273 47.4321 24.8259 46.2795 24.6327 45.1737C24.4697 44.241 24.3125 43.3416 24.1546 42.435H18.8244L18.6958 43.2218C18.3704 45.2127 18.0851 46.9578 17.7797 48.8414C15.716 49.1575 13.8586 49.4396 11.7691 49.7556V55.6624C12.6902 55.8243 13.5472 55.9744 14.3749 56.1194C15.5465 56.3247 16.6593 56.5197 17.8119 56.7228C18.0379 58.1195 18.2484 59.4132 18.4605 60.7168C18.5844 61.4784 18.7089 62.2433 18.8373 63.0341H24.2159C24.5292 61.2777 24.7974 59.7784 25.0566 58.3296C25.1575 57.7655 25.2571 57.209 25.3574 56.648C25.9584 56.5597 26.5318 56.4752 27.1064 56.3906C28.4771 56.1886 29.8545 55.9857 31.629 55.727ZM57.7416 55.8494C55.8101 56.8792 54.4526 55.4551 53.4981 53.2698C53.9012 50.7446 55.0104 49.0623 57.3547 49.6061C58.3188 49.8304 59.6603 51.3734 59.6538 52.308C59.6441 53.5349 58.7445 55.3158 57.7416 55.8494ZM73.5322 51.2403C73.7755 51.4902 73.997 51.7177 74.1966 51.8866C74.174 54.6531 72.465 56.332 70.6882 56.1315C68.8212 55.9173 67.7636 54.7686 67.74
11 52.7804C67.7217 50.8568 69.5403 48.9094 71.1881 49.4702C72.1175 49.7869 72.8989 50.5896 73.5322 51.2403ZM67.0219 44.8004C67.3831 46.6153 65.7934 48.5967 63.1879 48.7768C63.0214 48.5583 62.7933 48.3179 62.5444 48.0555C61.9069 47.3834 61.1331 46.5676 60.9082 45.6093C60.4793 43.7945 61.6176 42.3432 63.533 42.0951C65.4258 41.8504 66.6382 42.8904 67.0219 44.8004ZM65.2567 62.8781C65.0026 63.1536 64.7661 63.4099 64.5842 63.6492C61.882 63.3195 60.7856 62.2456 60.8082 60.2234C60.8308 58.2284 61.9594 57.0627 63.7877 56.8384C65.5676 56.6175 67.4508 58.5717 66.9187 60.4137C66.6421 61.376 65.894 62.1871 65.2567 62.8781ZM43.0855 56.1896C41.7598 56.3259 40.2249 56.4836 39.6228 53.885V53.8816C41.9542 52.9673 43.847 52.5799 46.3815 54.5715C45.9681 54.8141 45.6064 55.066 45.277 55.2954C44.6325 55.7441 44.1117 56.1068 43.5697 56.1451C43.413 56.156 43.2509 56.1726 43.0855 56.1896Z","fill","url(#paint0_linear_1718_43774)"],["id","paint0_linear_1718_43774","x1","0","y1","38.2863","x2","85","y2","38.2863","gradientUnits","userSpaceOnUse"],["width","87","height","90","viewBox","0 0 87 90","fill","none","xmlns","http://www.w3.org/2000/svg",1,"staking-page-participation__card__icon"],["fill-rule","evenodd","clip-rule","evenodd","d","M62.9582 26.7733C63.4014 26.6627 63.8538 26.5497 64.3109 26.4267C64.3109 24.3817 64.3296 22.3614 64.3481 20.3591V20.3586V20.3581V20.3576V20.3571C64.3919 15.63 64.4347 11.003 64.2286 6.38721C64.0639 2.61471 62.013 0.603975 58.1474 0.498345C48.2686 0.222953 38.3754 0.151275 28.493 0.362535C24.2086 0.456847 22.376 2.61849 22.1649 7.25488C21.9574 11.8559 22.0277 16.4756 22.098 21.0893V21.0893V21.0894V21.0894V21.0894C22.1114 21.9684 22.1248 22.8472 22.1362 23.7256C22.1462 24.4561 22.3734 25.1831 22.5845 25.8584L22.5845 25.8584C22.6775 26.1561 22.7674 26.4437 22.8342 26.7172C28.6791 28.0753 30.1216 29.1617 30.2075 32.2024C30.3204 36.2256 27.8353 36.8169 25.2337 37.436C24.2053 37.6807 23.1587 37.9298 22.2472 38.3968C22.2472 40.2158 22.2287 42.029 22.2103 43.8374V43.8376V43.8378V43.838V43.8382C22.167 48.0944 22.1239 52.324 22.3223 56.5387C22.5085 60.4169 24.4771 62.1484 28.3677 62.371C31.0984 62.5242 33.8385 62.4889 36.5784 62.4537H36.5785H36.5786H36.5787H36.5787C37.6169 62.4403 38.655 62.4269 39.6926 62.4238C41.2397 62.4189 42.7873 62.4201 44.335 62.4214C48.7206 62.4249 53.1076 62.4284 57.4888 62.2918C61.4546 62.1673 63.4805 60.8318 63.9709 57.5913C64.9214 51.3259 64.5497 45.0325 64.1918 38.9734L64.1498 38.261C58.1545 36.7105 56.3541 35.2883 56.5188 32.342C56.7466 28.3238 59.5835 27.6157 62.9582 26.7733ZM43.4687 43.1577C39.4564 38.4836 32.5161 24.9781 31.922 20.4171C35.9701 18.6478 48.2363 18.2781 54.994 19.772C54.994 20.143 55.0389 20.5548 55.085 20.9774C55.1884 21.9258 55.2977 22.9287 54.9189 23.6464C52.0509 29.0969 49.026 34.4552 46.0013 39.8133L46.0006 39.8145L45.9999 39.8157L45.9993 39.8168L45.9986 39.818C45.4569 40.7777 44.9151 41.7373 44.3743 42.6975C44.2774 42.8685 44.0378 42.9497 43.7977 43.0312C43.683 43.07 43.5682 43.1089 43.4687 43.1577ZM52.8411 56.8858C52.7185 56.6595 52.5959 56.4331 52.4742 56.2068C53.4033 55.1734 54.3323 54.1391 55.3511 53.005L55.3538 53.002C56.5324 51.69 57.8313 50.2441 59.3894 48.5109V56.9688C57.2168 57.1801 55.2124 57.3725 53.208 57.5648C53.0863 57.3385 52.9637 57.1122 52.8411 56.8858ZM28.8317 57.1292L28.8317 57.1292L28.8316 57.1291C28.3435 57.048 27.8376 56.9639 27.3047 56.9084V49.0315C29.7332 51.5528 31.6203 53.5099 33.6529 55.618L34.1733 56.1577C32.3088 57.7072 30.7007 57.4399 28.8317 57.1292ZM59.4932 12.4232L58.4409 12.9551H58.4373C57.2383 11.6224 56.0378 10.2911 54.6508 8.75297C53.8393 7.85296 52.9638 6.88212 51.9874 5.7987H59.4932V12.4232ZM33.2034 5.48181L33.8262 6.71541C32.2679 8.11076 30.7096 9.50402 29.0701 10.9698L27.3477 12.51V5.98355C29.4801 5.79877 31.3407 5.64037 33.2012 5.48199L33.2025 5.48188L33.2028 5.48185L33.2034 5.48181ZM9.64013 57.2083L9.64088 57.2064V57.2102L9.64013 57.2083ZM8.6964 54.7585C9.00348 55.5697 9.31322 56.3879 9.64013 57.2083C6.73149 64.5606 10.0459 73.5718 17.1395 77.6609C16.6712 74.9866 15.2007 72.8338 13.7634 70.7296C11.9709 68.1054 10.2302 65.557 10.55 62.1672C12.2108 60.0735 14.0148 60.1867 15.3606 61.7636C16.0565 62.5772 16.766 63.3853 17.4768 64.1949L17.4769 64.1951L17.477 64.1951L17.477 64.1951L17.4771 64.1952L17.4771 64.1952C20.3125 67.4246 23.1675 70.6764 25.2537 74.3864C27.2564 77.9506 26.891 82.1872 26.524 86.4442C26.4528 87.2696 26.3815 88.0958 26.3275 88.918C22.75 90.1036 19.2651 89.908 15.8278 89.7151H15.8277H15.8276H15.8276H15.8275C14.8355 89.6594 13.8474 89.6039 12.8622 89.582C12.0935 89.5639 11.282 88.9597 10.5854 88.441L10.4963 88.3748C10.1153 88.0938 9.78744 87.7351 9.45956 87.3764C9.16218 87.051 8.86479 86.7257 8.52772 86.4583C2.1566 81.373 -0.681768 74.8126 0.180839 66.2906C0.457951 63.5562 0.331678 60.7764 0.205331 57.995C0.142373 56.6091 0.0793959 55.2227 0.0663017 53.8414C0.0630521 53.5425 0.0485541 53.2344 0.0339411 52.9237C-0.0158273 51.8659 -0.0669312 50.7796 0.320431 49.9368C0.868061 48.7523 2.03133 47.4545 3.1588 47.1414C4.00351 46.9075 5.70009 47.8846 6.17614 48.8051C7.15647 50.6904 7.91784 52.7017 8.6964 54.7585ZM78.0982 57.8063C80.7248 64.9083 76.8972 74.5405 69.2124 77.033C69.4636 76.5875 69.7153 76.1426 69.9669 75.698L69.9679 75.6963C70.5857 74.6044 71.2029 73.5136 71.8094 72.4172C72.1892 71.7291 72.5792 71.0462 72.9691 70.3633L72.9693 70.3629L72.9702 70.3614C73.9655 68.6185 74.9607 66.8758 75.7859 65.0495C76.7201 62.9859 76.1654 61.3562 72.7972 60.862C72.0796 61.7097 71.3478 62.6108 70.5954 63.5375L70.595 63.538L70.5947 63.5383L70.5946 63.5385L70.5942 63.539L70.5941 63.5391C68.8588 65.6761 67.0134 67.9488 64.9765 70.0141C59.5611 75.503 60.2376 82.0596 61.1717 89.1859H75.0844C75.6655 88.5939 76.2509 87.9816 76.8441 87.3611L76.8445 87.3607L76.8447 87.3605L76.8449 87.3603L76.845 87.3602
1C78.2173 85.9248 79.6317 84.4453 81.1334 83.0707C84.7843 79.7245 86.2804 75.5672 86.1909 70.5196C86.1351 67.4724 86.1936 64.4228 86.252 61.3728L86.2521 61.3722V61.3719V61.3715V61.3711C86.2986 58.9429 86.3452 56.5144 86.3341 54.0866C86.3267 52.7205 86.1354 51.3543 85.9492 50.0253C85.8655 49.4276 85.7829 48.8374 85.7185 48.2581C80.8471 48.0016 80.0453 49.0956 78.0982 57.8063ZM16.0515 32.3419C16.0407 34.8242 17.9628 36.0088 23.1957 36.1371C23.2802 36.1263 23.4233 36.1284 23.6072 36.1311H23.6073H23.6074C24.2656 36.1406 25.4457 36.1576 26.324 35.624C27.5088 34.9034 28.7722 33.402 28.944 32.0854C29.0586 31.2064 27.5016 29.6785 26.3884 29.1278C25.2923 28.5861 23.9035 28.5959 22.6062 28.605L22.6057 28.605C22.4756 28.6059 22.3464 28.6068 22.2186 28.6072C18.0952 28.6185 16.0622 29.9011 16.0515 32.3419ZM58.6518 29.6559C67.7074 28.3129 68.8528 28.6789 70.7176 33.3643C67.4801 36.7835 63.7667 36.0376 59.4661 35.1736C59.0929 35.0987 58.7154 35.0228 58.3333 34.9487C58.4106 33.6492 58.4803 32.4952 58.5474 31.3852L58.5477 31.3791C58.5829 30.7963 58.6174 30.2256 58.6518 29.6522V29.6559ZM47.4359 30.1223C48.6752 27.8076 49.9409 25.4438 51.3325 22.8428C50.4096 22.7889 49.5155 22.7268 48.6423 22.6662C44.1378 22.3536 40.1904 22.0796 35.7232 23.1634C36.4862 24.5146 37.1546 25.8494 37.811 27.1601C39.4858 30.5042 41.0822 33.6919 43.9699 36.5973C45.1559 34.3807 46.2845 32.2727 47.4359 30.1223Z","fill","url(#paint0_linear_1718_43797)"],["id","paint0_linear_1718_43797","x1","0","y1","45.05","x2","86.3358","y2","45.05","gradientUnits","userSpaceOnUse"],["size","2x-small","fontWeight","bold","fillGradient","gradients.gold.simple","fillGradientTarget","bottom",1,"mb-2"],["theme","dark","expand","false","target","_blank",3,"href","type"]]},template:function(s,l){1&s&&(t.j41(0,"div",4)(1,"div",5),t.DNE(2,di,7,0,"svg",6)(3,gi,7,0,"svg",7)(4,pi,7,0,"svg",8)(5,_i,7,0,"svg",9),t.k0s(),t.j41(6,"div",10)(7,"div",11),t.DNE(8,hi,2,1,"gu-heading-text",12),t.j41(9,"gu-heading-text",13),t.pXf(10,0),t.k0s()(),t.j41(11,"gu-paragraph",14),t.pXf(12,1),t.k0s(),t.j41(13,"div"),t.DNE(14,fi,2,3,"gu-standard-button",15),t.k0s()()()),2&s&&(t.AVh("is__transparent",l.isTransparent),t.R7$(2),t.Y8G("ngIf","buyerSeller"===l.icon),t.R7$(),t.Y8G("ngIf","minter"===l.icon),t.R7$(),t.Y8G("ngIf","player"===l.icon),t.R7$(),t.Y8G("ngIf","purchaser"===l.icon),t.R7$(3),t.Y8G("ngIf",l.subTitle),t.R7$(2),t.uP7(l.title),t.nnv(10),t.R7$(),t.Y8G("responsiveSizes",t.eq3(12,ui,t.lJ4(11,li))),t.R7$(),t.uP7(l.description),t.nnv(12),t.R7$(2),t.Y8G("ngIf",l.isLoggedIn))},dependencies:[_e.bT],styles:['.staking-page-participation__card[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;text-align:left;padding:20px 0}.staking-page-participation__card__content[_ngcontent-%COMP%]{margin-left:16px}.staking-page-participation__card_icons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.staking-page-participation__card__checkbox__holder[_ngcontent-%COMP%]{order:1;margin-top:16px}.staking-page-participation__card__icon[_ngcontent-%COMP%]{max-width:48px}.staking-page-participation__card__content[_ngcontent-%COMP%] > gu-paragraph[_ngcontent-%COMP%]{margin-bottom:20px;max-width:460px}@media screen and (min-width: 1024px){.staking-page-participation__card[_ngcontent-%COMP%]{flex-direction:column;min-width:230px;max-width:280px;min-height:460px;padding-bottom:40px;background-color:#ffffff1a;text-align:center;border:1px solid rgba(255,255,255,.4)}.staking-page-participation__card.is__transparent[_ngcontent-%COMP%]{opacity:.5}.staking-page-participation__card[_ngcontent-%COMP%]:before{content:"";position:absolute;display:block;left:-7px;top:7px;width:1px;height:100%;background-color:#fff3}.staking-page-participation__card[_ngcontent-%COMP%]:after{content:"";position:absolute;display:block;left:-6px;bottom:-7px;width:100%;height:1px;background-color:#fff3}.staking-page-participation__card_icons[_ngcontent-%COMP%]{margin-top:32px}.staking-page-participation__card__icon[_ngcontent-%COMP%]{max-width:72px}.staking-page-participation__card__content[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;margin-left:0;padding:0 16px}.staking-page-participation__card__checkbox__holder[_ngcontent-%COMP%]{position:absolute;margin-top:0;top:-22px;left:0;right:0}.staking-page-participation__card__content[_ngcontent-%COMP%] > gu-paragraph[_ngcontent-%COMP%]{margin-bottom:auto}}']})}return o}
1)();function vi(o,C){1&o&&t.nrm(0,"gu-icon",3)}let Ci=(()=>{class o{constructor(){this.isChecked=!1}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=t.VBU({type:o,selectors:[["cerberus-staking-participation-checkbox"]],inputs:{isChecked:"isChecked"},decls:3,vars:1,consts:[[1,"staking-page-participation__checkbox"],[1,"staking-page-participation__checkbox__inner"],["class","staking-page-participation__checkbox__icon","fillColor","colors.gold.500","iconLigature","checkbox_tick",4,"ngIf"],["fillColor","colors.gold.500","iconLigature","checkbox_tick",1,"staking-page-participation__checkbox__icon"]],template:function(s,l){1&s&&(t.j41(0,"div",0),t.nrm(1,"div",1),t.DNE(2,vi,1,0,"gu-icon",2),t.k0s()),2&s&&(t.R7$(2),t.Y8G("ngIf",l.isChecked))},dependencies:[_e.bT],styles:["[_nghost-%COMP%]{display:flex;justify-content:center}.staking-page-participation__checkbox[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center;width:28px;height:28px;border-width:2px;border-style:solid;border-image:linear-gradient(180deg,#fff2d8,#ebc98b 49.48%,#c6a052) 1;background-color:#1d2f41;transform:rotate(-45deg)}.staking-page-participation__checkbox__inner[_ngcontent-%COMP%]{position:absolute;inset:2px;width:20px;height:20px;border:1px solid #c6a052;background-color:transparent}.staking-page-participation__checkbox__icon[_ngcontent-%COMP%]{transform:rotate(45deg);font-size:16px}@media screen and (min-width: 1024px){.staking-page-participation__checkbox[_ngcontent-%COMP%]{width:40px;height:40px}.staking-page-participation__checkbox__inner[_ngcontent-%COMP%]{width:31px;height:31px;inset:3px}.staking-page-participation__checkbox__icon[_ngcontent-%COMP%]{font-size:28px}.staking-page-participation__checkbox__icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:20px}}"]})}return o})();var Fi=k(63617),Yt=k(19678);const Vt=()=>({breakpoint:"medium",size:"large"}),Xt=o=>[o];function Ti(o,C){1&o&&(t.j41(0,"canvas",15),t.nrm(1,"riv-animation",16)(2,"riv-animation",17)(3,"riv-animation",18)(4,"riv-animation",19)(5,"riv-animation",20)(6,"riv-animation",21),t.k0s())}function Si(o,C){1&o&&(t.j41(0,"picture",22),t.nrm(1,"source",23)(2,"img",24),t.k0s())}function bi(o,C){if(1&o){const i=t.RV6();t.j41(0,"div",25)(1,"picture",26),t.nrm(2,"source",27)(3,"img",28),t.k0s(),t.j41(4,"div",29),t.nrm(5,"i",30),t.j41(6,"gu-heading-text",31),t.pXf(7,0),t.k0s(),t.nrm(8,"i",30),t.k0s(),t.j41(9,"div",32)(10,"div",33),t.PLo(11,1),t.j41(12,"div",34),t.nrm(13,"span",35)(14,"span"),t.k0s(),t.j41(15,"gu-standard-button",36),t.bIt("click",function(){t.eBV(i);const l=t.XpG();return t.Njj(l.routeToLogin())}),t.k0s(),t.YFu(),t.k0s(),t.j41(16,"div",33),t.PLo(17,2),t.j41(18,"div",34),t.nrm(19,"span",35)(20,"span"),t.k0s(),t.j41(21,"gu-standard-button",37),t.bIt("click",function(){t.eBV(i);const l=t.XpG();return t.Njj(l.isLoggedIn?l.routeToManageWallets():l.routeToLogin())}),t.k0s(),t.YFu(),t.k0s()()()}if(2&o){const i=t.XpG();t.R7$(6),t.Y8G("responsiveSize",t.eq3(4,Xt,t.lJ4(3,Vt))),t.R7$(9),t.Y8G("disabled",i.isLoggedIn),t.R7$(6),t.Y8G("disabled",i.hasWallet)}}function yi(o,C){if(1&o&&(t.j41(0,"div",38)(1,"div",29),t.nrm(2,"i",30),t.j41(3,"gu-heading-text",31),t.PLo(4,3),t.nrm(5,"span",39),t.YFu(),t.k0s(),t.nrm(6,"i",30),t.k0s()()),2&o){const i=t.XpG();t.R7$(3),t.Y8G("responsiveSize",t.eq3(3,Xt,t.lJ4(2,Vt))),t.R7$(2),t.uP7(i.month),t.nnv(4)}}let Ei=(()=>{class o{constructor(i,s,l,f){this.userId$=i,this.logout$=s,this.router=l,this.userWalletService=f,this.month="",this.destroyed$=new Gt.B,this.isLoggedIn=!1,this.hasWallet=!1,this.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1}ngOnInit(){this.fetchUserWallets(),(0,Fi.h)(this.userId$.pipe((0,ve.T)(()=>!0)),this.logout$.pipe((0,ve.T)(()=>!1))).subscribe(i=>this.isLoggedIn=i)}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}fetchUserWallets(){this.userWalletService.observeUserWallet().pipe((0,Bt.Q)(this.destroyed$)).subscribe(i=>{this.hasWallet=i.length>0})}routeToLogin(){this.router.navigate(["/account/login"])}routeToManageWallets(){this.router.navigate(["/manage-wallets"])}static#e=this.\u0275fac=function(s){return new(s||o)(t.rXU(Yt.ir),t.rXU(Yt.KA),t.rXU(gt.Ix),t.rXU(Wt.S))};static#t=this.\u0275cmp=t.VBU({type:o,selectors:[["cerberus-staking-next-reward-banner"]],inputs:{month:"month"},decls:11,vars:4,consts:()=>{let i,s,l,f;return i=" Participate now ",s="" + "\ufffd#12\ufffd" + "" + "\ufffd#13\ufffd" + " Step 1 " + "[\ufffd/#13\ufffd|\ufffd/#14\ufffd]" + "" + "\ufffd#14\ufffd" + " Sign in to Gods Unchained " + "[\ufffd/#13\ufffd|\ufffd/#14\ufffd]" + "" + "\ufffd/#12\ufffd" + "" + "\ufffd#15\ufffd" + " Login " + "\ufffd/#15\ufffd" + "",s=t.k04(s),l="" + "\ufffd#18\ufffd" + "" + "\ufffd#19\ufffd" + " Step 2 " + "[\ufffd/#19\ufffd|\ufffd/#20\ufffd]" + "" + "\ufffd#20\ufffd" + " C
1onnect your wallet " + "[\ufffd/#19\ufffd|\ufffd/#20\ufffd]" + "" + "\ufffd/#18\ufffd" + "" + "\ufffd#21\ufffd" + "Connect" + "\ufffd/#21\ufffd" + "",l=t.k04(l),f=" You can receive your reward " + "\ufffd#5\ufffd" + "by the end of " + "\ufffd0\ufffd" + "" + "\ufffd/#5\ufffd" + "",[i,s,l,f,[1,"staking-page-next-reward-banner"],[1,"staking-page-next-reward-banner__background-image"],["srcset","/assets/images/misc-art/misc-art--staking_rewards_bghero.webp","type","image/webp"],["srcset","/assets/images/misc-art/misc-art--staking_rewards_bghero.jpg","type","image/jpg"],["src","/assets/images/misc-art/misc-art--staking_rewards_bghero.jpg",1,"staking-page-next-reward-banner__background-image"],[1,"staking-page-next-reward__container"],[1,"staking-reward-banner__riv"],["riv","lil_dragon","artboard","Reward claim","width","392","height","280",4,"ngIf"],["class","staking-reward-banner__riv__img",4,"ngIf"],["data-test-id","staking-sign-in-section",4,"ngIf"],["class","staking-page-next-reward__logged-in-content",4,"ngIf"],["riv","lil_dragon","artboard","Reward claim","width","392","height","280"],["name","Wing flap 1","play",""],["name","Torso movement","play",""],["name","Eye movement","play",""],["name","Eyelids","play",""],["name","Breathing","play",""],["name","Tail","play",""],[1,"staking-reward-banner__riv__img"],["srcset","/assets/images/staking/dragon.png","type","image/png"],["src","/assets/images/staking/dragon.png"],["data-test-id","staking-sign-in-section"],[1,"staking-page-next-reward__icon"],["srcset","/assets/images/staking/union-icon.webp","type","image/webp"],["src","/assets/images/staking/union-icon.webp"],[1,"staking-page-next-reward__heading-container"],[1,"staking__diamond"],["size","x-small","fillcolor","colors.light.100","align","center",3,"responsiveSize"],[1,"staking-page-next-reward-banner__wrapper"],[1,"staking-page-next-reward-banner__step"],[1,"staking-page-next-reward-banner__step__section"],[1,"staking-page-next-reward-banner__title"],["type","primary","data-test-id","staking-login-button",1,"lock_action_button",3,"click","disabled"],["type","primary","data-test-id","staking-manage-wallets-button",1,"lock_action_button",3,"click","disabled"],[1,"staking-page-next-reward__logged-in-content"],[1,"staking__gold"]]},template:function(s,l){1&s&&(t.j41(0,"section",4)(1,"picture",5),t.nrm(2,"source",6)(3,"source",7)(4,"img",8),t.k0s(),t.j41(5,"div",9)(6,"div",10),t.DNE(7,Ti,7,0,"canvas",11)(8,Si,3,0,"picture",12),t.k0s()(),t.DNE(9,bi,22,6,"div",13)(10,yi,7,5,"div",14),t.k0s()),2&s&&(t.R7$(7),t.Y8G("ngIf",!l.isFirefox),t.R7$(),t.Y8G("ngIf",l.isFirefox),t.R7$(),t.Y8G("ngIf",!l.hasWallet),t.R7$(),t.Y8G("ngIf",l.hasWallet))},dependencies:[_e.bT,Ot,Hn],styles:['.staking-page-next-reward-banner[_ngcontent-%COMP%]{position:relative;padding:120px 20px}.staking-page-next-reward__heading-container[_ngcontent-%COMP%]{gap:32px;display:flex;align-items:center;justify-content:center;position:relative;margin-top:-160px;margin-bottom:16px}.staking-page-next-reward__heading-container[_ngcontent-%COMP%] picture[_ngcontent-%COMP%]{position:absolute;left:50%;transform:translate(-50%);top:-85px}.staking-page-next-reward__heading-container[_ngcontent-%COMP%] picture[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:68px;height:68px}.staking-page-next-reward__logged-in-content[_ngcontent-%COMP%]{text-align:center}.staking-reward-banner__riv[_ngcontent-%COMP%]{position:relative;top:-160px;text-align:center;pointer-events:none}.staking-reward-banner__riv[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{width:400px;max-width:100%}.staking-page-next-reward-banner__background-image[_ngcontent-%COMP%]{z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.staking-page-next-reward__icon[_ngcontent-%COMP%]{display:none}.staking-page-next-reward-banner__text__container[_ngcontent-%COMP%]{text-align:center;margin:0 auto}.staking-page-next-reward-banner__wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column}.staking-page-next-reward-banner__step[_ngcontent-%COMP%]{width:100%;max-width:450px;padding:15px 20px;border-top:1px solid #7f7f7f;flex-direction:row;justify-content:space-between;align-items:center;position:relative;display:flex}.staking-page-next-reward-banner__step[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #7f7f7f}.staking-page-next-reward-banner__step__section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start}.staking-page-next-reward-banner__step__section[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-align:left;font-size:16px;line-height:22px}.staking-page-next-reward-banner__step[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:6px 16px;background:#54bbcd;border-radius:2px;border:none;color:#f6f6f6;text-shadow:0 1px 1px rgba(0,0,0,.3);cursor:pointer}.staking-page-next-reward-banner__title[_ngcontent-%COMP%]{color:#7f7f7f;text-transform:uppercase;margin-bottom:5px}.staking__diamond[_ngcontent-%COMP%]{padding:4px;box-shadow:inset 0 0 0 1.5px #c6a052;border-radius:2px;display:flex;transform:rotate(-45deg);height:20px}.staking__diamond[_ngcontent-%COMP%]:before{content:"";width:12px;height:12px;background:#c6a052;border-radius:2px}.staking__gold[_ngcontent-%COMP%]{color:#c6a052;display:block}@media screen and (min-width: 1024px){.staking-page-next-reward-banner[_ngcontent-%COMP%]{padding:80px 20px}.staking-page-next-reward__heading-container[_ngcontent-%COMP%]{gap:120px;margin-bottom:40px;margin-top:0}.staking-page-next-reward__icon[_ngcontent-%COMP%]{display:block;text-align:center;margin-bottom:40px}.staking-page-next-reward__icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:68px}.staking-reward-banner__riv[_ngcontent-%COMP%]{position:absolute;
1left:calc(50% + 200px);transform:translateY(-50%);top:65%}.staking-reward-banner__riv__img[_ngcontent-%COMP%]{margin-top:-150px;margin-left:50px;display:block}}']})}return o})();const ze=()=>({breakpoint:"medium",size:"large"}),se=o=>[o],pt=()=>({breakpoint:"medium",size:"medium"}),wi=()=>({breakpoint:"medium",size:"medium "}),xi=()=>({breakpoint:"medium",size:"x-small"});function Ii(o,C){if(1&o){const i=t.RV6();t.j41(0,"div",71)(1,"gu-heading-text",72),t.PLo(2,7),t.nrm(3,"span",73),t.YFu(),t.k0s(),t.j41(4,"gu-standard-button",74),t.bIt("click",function(){t.eBV(i);const l=t.XpG();return t.Njj(l.onDisplayEpochHistoryModalClick())}),t.pXf(5,8),t.k0s()()}if(2&o){const i=t.XpG();t.R7$(),t.Y8G("responsiveSize",t.eq3(3,se,t.lJ4(2,xi))),t.R7$(2),t.uP7(i.getEndsInDaysLabel(i.epochEndsInDays)),t.nnv(2)}}function Ai(o,C){1&o&&t.eu8(0)}function ki(o,C){if(1&o&&t.nrm(0,"cerberus-staking-participation-checkbox",75),2&o){const i=t.XpG();t.Y8G("isChecked",i.isCompletedAtLeastOneCard(i.userEligibilityCriteria))}}function Mi(o,C){1&o&&(t.j41(0,"gu-standard-button",76),t.pXf(1,9),t.k0s())}function Ri(o,C){1&o&&(t.j41(0,"gu-standard-button",77),t.pXf(1,10),t.k0s())}function Li(o,C){1&o&&t.eu8(0)}function Di(o,C){if(1&o&&t.nrm(0,"cerberus-staking-participation-checkbox",75),2&o){const i=t.XpG();t.Y8G("isChecked",i.isCompletedAtLeastOneCard(i.userEligibilityCriteria))}}function Ni(o,C){if(1&o&&(t.qex(0),t.nrm(1,"cerberus-staking-participation-card",78),t.j41(2,"picture"),t.nrm(3,"source",79)(4,"img",80),t.k0s(),t.bVm()),2&o){const i=C.$implicit,s=t.XpG();t.R7$(),t.FS9("title",i.title),t.FS9("subTitle",i.subTitle),t.FS9("description",i.description),t.FS9("buttonLink",i.buttonLink),t.FS9("buttonText",i.buttonText),t.Y8G("icon",i.icon)("isLoggedIn",s.isWalletConnected)("isCompleted",s.getCardEligibilityCriteria(i.key))("isTransparent",s.isWalletConnected&&s.isCompletedAtLeastOneCard(s.userEligibilityCriteria)&&!s.getCardEligibilityCriteria(i.key))}}function Oi(o,C){if(1&o&&t.nrm(0,"cerberus-staking-next-reward-banner",81),2&o){const i=t.XpG();t.Y8G("month",i.epochEndsMonth)}}function Pi(o,C){1&o&&(t.j41(0,"gu-paragraph",82),t.pXf(1,11),t.k0s()),2&o&&t.Y8G("responsiveSizes",t.eq3(2,se,t.lJ4(1,pt)))}function $i(o,C){1&o&&(t.j41(0,"gu-paragraph",82),t.pXf(1,12),t.k0s()),2&o&&t.Y8G("responsiveSizes",t.eq3(2,se,t.lJ4(1,pt)))}function Gi(o,C){if(1&o){const i=t.RV6();t.j41(0,"gu-standard-button",74),t.bIt("click",function(){t.eBV(i);const l=t.XpG(2);return t.Njj(l.onDisplayRewardHistoryModalClick())}),t.pXf(1,13),t.k0s()}}function Bi(o,C){if(1&o&&(t.j41(0,"div"),t.nrm(1,"cerberus-staking-reward-table",83),t.j41(2,"gu-vertical-space",84),t.DNE(3,Gi,2,0,"gu-standard-button",85),t.k0s()()),2&o){const i=t.XpG();t.R7$(),t.Y8G("stakes",i.userStakes),t.R7$(2),t.Y8G("ngIf",i.shouldDisplayMoreStakesButton)}}function Wi(o,C){if(1&o&&t.nrm(0,"cerberus-staking-floating-banner",81),2&o){const i=t.XpG();t.Y8G("month",i.epochEndsMonth)}}function ji(o,C){1&o&&(t.j41(0,"picture"),t.nrm(1,"source",86)(2,"img",87),t.k0s())}const Ui=[{path:"",component:(()=>{class o{constructor(i,s,l,f,F){this.modalService=i,this.stakingService=s,this.userWalletService=l,this.router=f,this.deviceDetectorService=F,this.userEligibilityCriteria=[],this.userStakes=[],this.isUserStakesFetchError=!1,this.rewardModalTotalPages=1,this.shouldDisplayMoreStakesButton=!1,this.EligibilityCriteria=Ee,this.eligibilityCriteriaLoaded=!1,this.StakingIcon=ye,this.cardsData=Kn,this.isWalletConnected=!1,this.isMobileDevice=!1,this.destroyed$=new Gt.B}ngOnInit(){this.stakingService.fetchLatestStakingEpoch().subscribe(i=>{i.end_at&&(this.epochEndsInDays=(0,He.u2)(i.end_at),this.epochEndsMonth=(0,He.In)(new Date(i.end_at).getMonth()))}),this.getPlayerWalletAndFetchData(),this.checkMobile()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}getPlayerWalletAndFetchData(){this.userWalletService.observeUserWallet().pipe((0,Bt.Q)(this.destroyed$)).subscribe(i=>{const s=(0,He.rB)(i);this.isWalletConnected=!!s,this.stakingService.fetchUserStakingEligibilityCriteria(s).subscribe({next:l=>this.userEligibilityCriteria=l,complete:()=>this.eligibilityCriteriaLoaded=!0}),this.stakingService.fetchUserStakes(s,1).subscribe({next:l=>{this.userStakes=l.data,this.isUserStakesFetchError=!1,this.rewardModalTotalPages=(0,He.JU)(l.metadata),this.shouldDisplayMoreStakesButton=this.userStakes.length>5},error:()=>{this.isUserStakesFetchError=!0}})})}checkMobile(){this.isMobileDevice=this.deviceDetectorService.isMobile()}onDisplayRewardHistoryModalClick(){this.modalService.open(ni.r,{userStakes:this.userStakes,rewardModalTotalPages:this.rewardModalTotalPages})}onDisplayEpochHistoryModalClick(){this.modalService.open(ti,{title:"End of Epoch Dates"})}isCompletedAtLeastOneCard(i){return i.filter(l=>l.key!==Ee.HOLD_TOKENS).some(l=>l.eligible)}getCardEligibilityCriteria(i){return this.userEligibilityCriteria.find(l=>l.key===i)?.eligible||!1}getEndsInDaysLabel(i){return 0===i?"tonight":1===i?`${i} day`:`${i} days`}routeToManageWallets(){this.router.navigate(["/manage-wallets"])}static#e=this.\u0275fac=function(s){return new(s||o)(t.rXU(ii.B),t.rXU(ai.j),t.rXU(Wt.S),t.rXU(gt.Ix),t.rXU(ri.Kg))};static#t=this.\u0275cmp=t.VBU({type:o,selectors:[["cerberus-staking"]],decls:104,vars:37,consts:()=>{let i,s,l,f,F,V,Y,q,K,ee,Z,j,we;return i=" How to participate ",s=" To be eligible for a reward, you must meet the following criteria in a given reward period ",l="HOLD $GODS",f
1=" Keep your $GODS in wallet linked to Immutable ZKEVM. " + "[\ufffd#68\ufffd\ufffd/#68\ufffd|\ufffd#69\ufffd\ufffd/#69\ufffd]" + " This wallet must be connected to your GU account. " + "[\ufffd#68\ufffd\ufffd/#68\ufffd|\ufffd#69\ufffd\ufffd/#69\ufffd]" + " You can manage your wallets in the " + "\ufffd#70\ufffd" + "" + "\ufffd#71\ufffd" + " Manage Wallets page " + "\ufffd/#71\ufffd" + "" + "\ufffd/#70\ufffd" + "",f=t.k04(f),F="" + "\ufffd#77\ufffd" + "" + "\ufffd#78\ufffd" + "" + "[\ufffd/#78\ufffd|\ufffd/#79\ufffd]" + "" + "\ufffd#79\ufffd" + "" + "[\ufffd/#78\ufffd|\ufffd/#79\ufffd]" + "" + "\ufffd#80\ufffd" + "" + "\ufffd#81\ufffd" + "" + "\ufffd#82\ufffd" + "" + "[\ufffd/#82\ufffd|\ufffd/#83\ufffd|\ufffd/#84\ufffd]" + "" + "\ufffd#83\ufffd" + "" + "[\ufffd/#82\ufffd|\ufffd/#83\ufffd|\ufffd/#84\ufffd]" + "" + "\ufffd#84\ufffd" + "" + "[\ufffd/#82\ufffd|\ufffd/#83\ufffd|\ufffd/#84\ufffd]" + "" + "\ufffd/#81\ufffd" + "" + "\ufffd/#80\ufffd" + "" + "\ufffd/#77\ufffd" + " plus " + "\ufffd#85\ufffd" + "one" + "\ufffd/#85\ufffd" + " of the following criteria ",F=t.k04(F),V=" your historical rewards ",Y=" New reward period in: " + "\ufffd#3\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#3\ufffd" + "",q="More info ",K="Buy $IMX",ee="Swap for $GODS",Z=" No rewards to display. Hold $GODS in your IMX wallet to earn rewards. ",j=" Something went wrong while loading data into Historical Rewards ",we=" More ",[["goldenDivider",""],i,s,l,f,F,V,Y,q,K,ee,Z,j,we,[1,"golden-divider"],[1,"staking-page-howto__container"],["size","x-small","fillcolor","colors.light.100","align","center",1,"mb-5",3,"responsiveSize"],["fillcolor","colors.light.100","align","center","size","small",1,"mb-5",3,"responsiveSizes"],["class","staking-page-counter__container mb-10",4,"ngIf"],[1,"staking-page-golden__gradient__divider__container"],[4,"ngTemplateOutlet"],[3,"isChecked",4,"ngIf"],[1,"staking-page-hold__gods"],["width","94","height","90","viewBox","0 0 94 90","fill","none","xmlns","http://www.w3.org/2000/svg",1,"staking-page-participation__card__icon"],["fill-rule","evenodd","clip-rule","evenodd","d","M24.3683 0.377563C23.749 0.377563 23.1768 0.738304 22.8681 1.32348L0.230325 44.2316C-0.0767755 44.8137 -0.0767748 45.5298 0.230326 46.1119L22.8681 89.02C23.1768 89.6052 23.749 89.9659 24.3683 89.9659H69.6317C70.251 89.9659 70.8232 89.6052 71.1319 89.02L93.7697 46.1119C94.0768 45.5298 94.0768 44.8137 93.7697 44.2316L71.1319 1.32348C70.8232 0.738306 70.251 0.377563 69.6317 0.377563H24.3683ZM29.2737 9.94037C28.7886 9.94037 28.3405 10.2241 28.0987 10.6843L10.3676 44.4323C10.1271 44.8901 10.1271 45.4534 10.3676 45.9112L28.0987 79.6591C28.3405 80.1194 28.7886 80.4031 29.2737 80.4031H64.7263C65.2114 80.4031 65.6595 80.1194 65.9013 79.6591L83.6324 45.9112C83.8729 45.4534 83.8729 44.8901 83.6324 44.4323L65.9013 10.6843C65.6595 10.2241 65.2114 9.94037 64.7263 9.94037H29.2737Z","fill","white"],["fill-rule","evenodd","clip-rule","evenodd","d","M24.3683 0.377563C23.749 0.377563 23.1768 0.738304 22.8681 1.32348L0.230325 44.2316C-0.0767755 44.8137 -0.0767748 45.5298 0.230326 46.1119L22.8681 89.02C23.1768 89.6052 23.749 89.9659 24.3683 89.9659H69.6317C70.251 89.9659 70.8232 89.6052 71.1319 89.02L93.7697 46.1119C94.0768 45.5298 94.0768 44.8137 93.7697 44.2316L71.1319 1.32348C70.8232 0.738306 70.251 0.377563 69.6317 0.377563H24.3683ZM29.2737 9.94037C28.7886 9.94037 28.3405 10.2241 28.0987 10.6843L10.3676 44.4323C10.1271 44.8901 10.1271 45.4534 10.3676 45.9112L28.0987 79.6591C28.3405 80.1194 28.7886 80.4031 29.2737 80.4031H64.7263C65.2114 80.4031 65.6595 80.1194 65.9013 79.6591L83.6324 45.9112C83.8729 45.4534 83.8729 44.8901 83.6324 44.4323L65.9013 10.6843C65.6595 10.2241 65.2114 9.94037 64.7263 9.94037H29.2737Z","fill","url(#paint0_linear_1718_43850)"],["d","M25.0642 31.5811H34.8854L31.1769 38.5139L31.1742 38.5122L30.6616 39.4771L27.9287 44.5862C27.896 44.6472 27.8689 44.7106 27.8472 44.7755L22.7163 54.4351L18.279 46.0924C17.9857 45.5408 17.9858 44.8613 18.2795 44.3104L25.0642 31.5811Z","fill","white"],["d","M25.0642 31.5811H34.8854L31.1769 38.5139L31.1742 38.5122L30.6616 39.4771L27.9287 44.5862C27.896 44.6472 27.8689 44.7106 27.8472 44.7755L22.7163 54.4351L18.279 46.0924C17.9857 45.5408 17.9858 44.8613 18.2795 44.3104L25.0642 31.5811Z","fill","url(#paint1_linear_1718_43850)"],["d","M27.4786 27.0513L31.9532 18.6562C32.2457 18.1075 32.7851 17.7694 33.3691 17.7688L46.9573 17.7553L51.8959 27.0527L46.654 27.0527L46.654 27.0513H27.4786Z","fill","white"],["d","M27.4786 27.0513L31.9532 18.6562C32.2457 18.1075 32.7851 17.7694 33.3691 17.7688L46.9573 17.7553L51.8959 27.0527L46.654 27.0527L46.654 27.0513H27.4786Z","fill","url(#paint2_linear_1718_43850)"],["d","M51.7682 17.7505L60.6731 17.7416C61.2595 17.741 61.8016 18.0806 62.095 18.6321L68.876 31.3815L63.9593 40.6379L59.1271 31.6046L51.7682 17.7505Z","fill","white"],["d","M51.7682 17.7505L60.6731 17.7416C61.2595 17.741 61.8016 18.0806 62.095 18.6321L68.876 31.3815L63.9593 40.6379L59.1271 31.6046L51.7682 17.7505Z","fill","url(#paint3_linear_1718_43850)"],["d","M71.284 35.9
1089L75.721 44.2511C76.0143 44.8026 76.0142 45.4821 75.7206 46.033L68.9382 58.7578L59.117 58.7578L60.4705 56.2276L60.486 56.2373L63.4226 50.7088L66.0713 45.7572C66.1034 45.6972 66.1302 45.6348 66.1517 45.571L71.284 35.9089Z","fill","white"],["d","M71.284 35.9089L75.721 44.2511C76.0143 44.8026 76.0142 45.4821 75.7206 46.033L68.9382 58.7578L59.117 58.7578L60.4705 56.2276L60.486 56.2373L63.4226 50.7088L66.0713 45.7572C66.1034 45.6972 66.1302 45.6348 66.1517 45.571L71.284 35.9089Z","fill","url(#paint4_linear_1718_43850)"],["d","M66.5239 63.2876H56.1419C56.1153 63.2897 56.0885 63.2907 56.0616 63.2907H42.1368L47.0754 72.5882L60.6309 72.5746C61.2149 72.574 61.7543 72.236 62.0468 71.6873L66.5239 63.2876Z","fill","white"],["d","M66.5239 63.2876H56.1419C56.1153 63.2897 56.0885 63.2907 56.0616 63.2907H42.1368L47.0754 72.5882L60.6309 72.5746C61.2149 72.574 61.7543 72.236 62.0468 71.6873L66.5239 63.2876Z","fill","url(#paint5_linear_1718_43850)"],["d","M42.2658 72.593L33.3269 72.6019C32.7406 72.6025 32.1984 72.2629 31.905 71.7113L25.124 58.962L30.0408 49.7057L36.9931 62.7026C37.0246 62.7614 37.0604 62.8166 37.1 62.8678L42.2658 72.593Z","fill","white"],["d","M42.2658 72.593L33.3269 72.6019C32.7406 72.6025 32.1984 72.2629 31.905 71.7113L25.124 58.962L30.0408 49.7057L36.9931 62.7026C37.0246 62.7614 37.0604 62.8166 37.1 62.8678L42.2658 72.593Z","fill","url(#paint6_linear_1718_43850)"],["d","M39.7661 32.2671C39.9068 31.9992 40.1674 31.8341 40.4494 31.8341H53.5506C53.8326 31.8341 54.0932 31.9992 54.2339 32.2671L60.7865 44.7408C60.9267 45.0076 60.9267 45.3359 60.7865 45.6027L54.2339 58.0764C54.0932 58.3442 53.8326 58.5093 53.5506 58.5093H40.4494C40.1674 58.5093 39.9068 58.3442 39.7661 58.0764L33.2135 45.6027C33.0733 45.3359 33.0733 45.0076 33.2135 44.7408L39.7661 32.2671Z","fill","white"],["d","M39.7661 32.2671C39.9068 31.9992 40.1674 31.8341 40.4494 31.8341H53.5506C53.8326 31.8341 54.0932 31.9992 54.2339 32.2671L60.7865 44.7408C60.9267 45.0076 60.9267 45.3359 60.7865 45.6027L54.2339 58.0764C54.0932 58.3442 53.8326 58.5093 53.5506 58.5093H40.4494C40.1674 58.5093 39.9068 58.3442 39.7661 58.0764L33.2135 45.6027C33.0733 45.3359 33.0733 45.0076 33.2135 44.7408L39.7661 32.2671Z","fill","url(#paint7_linear_1718_43850)"],["id","paint0_linear_1718_43850","x1","47","y1","0.377563","x2","47","y2","89.9659","gradientUnits","userSpaceOnUse"],["stop-color","#FFF2D8"],["offset","0.5034","stop-color","#EBC98B"],["offset","1","stop-color","#C6A052"],["id","paint1_linear_1718_43850","x1","47","y1","0.377563","x2","47","y2","89.9659","gradientUnits","userSpaceOnUse"],["id","paint2_linear_1718_43850","x1","47","y1","0.377563","x2","47","y2","89.9659","gradientUnits","userSpaceOnUse"],["id","paint3_linear_1718_43850","x1","47","y1","0.377563","x2","47","y2","89.9659","gradientUnits","userSpaceOnUse"],["id","paint4_linear_1718_43850","x1","47","y1","0.377563","x2","47","y2","89.9659","gradientUnits","userSpaceOnUse"],["id","paint5_linear_1718_43850","x1","47","y1","0.377563","x2","47","y2","89.9659","gradientUnits","userSpaceOnUse"],["id","paint6_linear_1718_43850","x1","47","y1","0.377563","x2","47","y2","89.9659","gradientUnits","userSpaceOnUse"],["id","paint7_linear_1718_43850","x1","47","y1","0.377563","x2","47","y2","89.9659","gradientUnits","userSpaceOnUse"],[1,"staking-page__hold__gods--content"],["size","x-small","fontWeight","bold","fillGradient","gradients.gold.simple","fillGradientTarget","bottom",1,"mb-4"],["fillcolor","colors.light.100","align","left","size","small",1,"mb-6",3,"responsiveSizes"],["fillColor","colors.gold.100",3,"responsiveSizes"],["data-test-id","staking-manage-wallets-link","fillColor","colors.gold.100",3,"click"],["theme","dark","type","primary","expand","false","href","https://www.moonpay.com/buy/imx","target","_blank",4,"ngIf"],["theme","dark","type","primary","expand","false","href","https://gods.exchange/","target","_blank",4,"ngIf"],["size","small","fontWeight","bold",1,"staking-page__hold__gods--plustext",3,"responsiveSizes"],["width","33","height","32","viewBox","0 0 33 32","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M19.5 0H13.5V13H0.5V19H13.5V32H19.5V19H32.5V13H19.5V0Z","fill","#C6A052"],["fill-rule","evenodd","clip-rule","evenodd","d","M19.5 0H13.5V13H0.5V19H13.5V32H19.5V19H32.5V13H19.5V0Z","fill","url(#paint0_linear_2634_58084)"],["id","paint0_linear_2634_58084","x1","16.5","y1","0","x2","16.5","y2","32","gradientUnits","userSpaceOnUse"],[1,"staking-page-cards__container","my-15"],[4,"ngFor","ngForOf"],[3,"month",4,"ngIf"],[1,"staking-reward--section"],[1,"staking-reward--content"],["size","x-small","fillcolor","colors.black","align","center",1,"mb-5",3,"responsiveSize"],["class","mb-6","fillcolor","colors.black","align","center","size","small",3,"responsiveSizes",4,"ngIf"],[4,"ngIf"],[1,"staking-page-counter__container","mb-10"],["size","2x-small","fillcolor","colors.light.100","align","center",3,"responsiveSize"],["fillColor","colors.gold.500",1,"mr-5"],["theme","dark","type","token","expand","false",3,"click"],[3,"isChecked"],["theme","dark","type","primary","expand","false","href","https://www.moonpay.com/buy/imx","target","_blank"],["theme","dark","type","primary","expand","false","href","https://gods.exchange/","target","_blank"],[3,"icon","title","subTitle","description","buttonLink","buttonText","isLoggedIn","isCompleted","isTransparent"],["srcset","/assets/images/misc-art/misc-art-white-gradient-divider.svg","type","image/svg"],["src","/assets/images/misc-art/misc-art-white-gradient-divider.svg","alt","White cards divider",1,"staking-page-white__gradient__divider__img","is-hidden-desktop"],[3,"month"],["fillcolor","colors.black","align","center","size","small",1,"mb-6",3,"responsiveSizes"],[3,"stakes"],["top","large"],["theme","dark","type","token","expand","false",3,"click",4,"ngIf"],["srcset","/assets/images/misc-art/misc-art-golden-gradient-divider.svg","type","image/svg"],["src","/assets/images/misc-art/misc-art-golden-gradient-divider.svg","alt","Golden divider",1,"staking-page-golden__gradient__divider__img"]]},template:function(s,l){if(1&s){const f=t.RV6();t.nrm(0,"div",14)(1,"cerberus-staking-header")(2,"div",14),t.j41(3,"div",15)(4,"gu-heading-text",16),t.pXf(5,1),t.k0s(),t.j41(6,"gu-paragraph",17),t.pXf(7,2),t.k0s(),t.DNE(8,Ii,6,5,"div",18),t.j41(9,"div",19),t.DNE(10,Ai,1,0,"ng-container",20)(11,ki,1,1,"cerberus-staking-participation-checkbox",21),t.k0s(),t.j41(12,"div",22),t.qSk(),t.j41(13,"svg",23),t.nrm(14,"path",24)(15,"path",25)(16,"path",26)(17,"path",27)(18,"path",28)(19,"path",29)(20,"path",30)(21,"path",31)(22,"path",32)(23,"path",33)(24,"path",34)(25,"path",35)(26,"path",36)(27,"path",37)(28,"path",38)(29,"path",39),t.j41(30,"defs")(31,"linearGradient",40),t.nrm(32,"stop",41)(33,"stop",42)(34,"stop",43),t.k0s(),t.j41(35,"linearGradient",44),t.nrm(36,"stop",41)(37,"stop",42)(38,"stop",43),t.k0s(),t.j41(39,"linearGradient",45),t.nrm(40,"stop",41)(4
11,"stop",42)(42,"stop",43),t.k0s(),t.j41(43,"linearGradient",46),t.nrm(44,"stop",41)(45,"stop",42)(46,"stop",43),t.k0s(),t.j41(47,"linearGradient",47),t.nrm(48,"stop",41)(49,"stop",42)(50,"stop",43),t.k0s(),t.j41(51,"linearGradient",48),t.nrm(52,"stop",41)(53,"stop",42)(54,"stop",43),t.k0s(),t.j41(55,"linearGradient",49),t.nrm(56,"stop",41)(57,"stop",42)(58,"stop",43),t.k0s(),t.j41(59,"linearGradient",50),t.nrm(60,"stop",41)(61,"stop",42)(62,"stop",43),t.k0s()()(),t.joV(),t.j41(63,"div",51)(64,"gu-heading-text",52),t.pXf(65,3),t.k0s(),t.j41(66,"gu-paragraph",53),t.PLo(67,4),t.nrm(68,"br")(69,"br"),t.j41(70,"gu-body-text",54)(71,"gu-link",55),t.bIt("click",function(){return t.eBV(f),t.Njj(l.routeToManageWallets())}),t.k0s()(),t.YFu(),t.k0s(),t.DNE(72,Mi,2,0,"gu-standard-button",56),t.EFF(73," then "),t.DNE(74,Ri,2,0,"gu-standard-button",57),t.k0s(),t.j41(75,"gu-body-text",58),t.PLo(76,5),t.qSk(),t.j41(77,"svg",59),t.nrm(78,"path",60)(79,"path",61),t.j41(80,"defs")(81,"linearGradient",62),t.nrm(82,"stop",41)(83,"stop",42)(84,"stop",43),t.k0s()()(),t.joV(),t.nrm(85,"span"),t.YFu(),t.k0s()(),t.j41(86,"div",19),t.DNE(87,Li,1,0,"ng-container",20)(88,Di,1,1,"cerberus-staking-participation-checkbox",21),t.k0s(),t.j41(89,"div",63),t.DNE(90,Ni,5,9,"ng-container",64),t.k0s()(),t.nrm(91,"div",14),t.DNE(92,Oi,1,1,"cerberus-staking-next-reward-banner",65),t.nrm(93,"div",14),t.j41(94,"div",66)(95,"div",67)(96,"gu-heading-text",68),t.pXf(97,6),t.k0s(),t.DNE(98,Pi,2,4,"gu-paragraph",69)(99,$i,2,4,"gu-paragraph",69)(100,Bi,4,2,"div",70),t.k0s()(),t.DNE(101,Wi,1,1,"cerberus-staking-floating-banner",65)(102,ji,3,0,"ng-template",null,0,t.C5r)}if(2&s){const f=t.sdS(103);t.R7$(4),t.Y8G("responsiveSize",t.eq3(20,se,t.lJ4(19,ze))),t.R7$(2),t.Y8G("responsiveSizes",t.eq3(23,se,t.lJ4(22,ze))),t.R7$(2),t.Y8G("ngIf",l.isWalletConnected&&l.epochEndsInDays),t.R7$(2),t.Y8G("ngTemplateOutlet",f),t.R7$(),t.Y8G("ngIf",l.isWalletConnected&&l.eligibilityCriteriaLoaded),t.R7$(55),t.Y8G("responsiveSizes",t.eq3(26,se,t.lJ4(25,pt))),t.R7$(4),t.Y8G("responsiveSizes",t.eq3(29,se,t.lJ4(28,wi))),t.R7$(2),t.Y8G("ngIf",l.isWalletConnected),t.R7$(2),t.Y8G("ngIf",l.isWalletConnected),t.R7$(),t.Y8G("responsiveSizes",t.eq3(32,se,t.lJ4(31,ze))),t.R7$(12),t.Y8G("ngTemplateOutlet",f),t.R7$(),t.Y8G("ngIf",l.isWalletConnected&&l.eligibilityCriteriaLoaded),t.R7$(2),t.Y8G("ngForOf",l.cardsData),t.R7$(2),t.Y8G("ngIf",l.epochEndsMonth),t.R7$(4),t.Y8G("responsiveSize",t.eq3(35,se,t.lJ4(34,ze))),t.R7$(2),t.Y8G("ngIf",!l.isUserStakesFetchError&&!l.userStakes.length),t.R7$(),t.Y8G("ngIf",l.isUserStakesFetchError),t.R7$(),t.Y8G("ngIf",!l.isUserStakesFetchError&&l.userStakes.length),t.R7$(),t.Y8G("ngIf",l.isWalletConnected&&l.isMobileDevice&&l.epochEndsMonth)}},dependencies:[_e.Sq,_e.bT,_e.T3,oi.A,si.W,ci,mi,Ci,Ei],styles:['.cerberusModal__backdrop, .cerberusModal{position:fixed!important}.staking-page-howto__container[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:column;padding:72px 16px 0;min-height:800px;background-image:url(/assets/images/staking/staking-howto_bg.webp);background-position:center;background-size:cover}.staking-page-counter__container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.staking-page-counter__container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#c6a052}.staking-page-counter__container[_ngcontent-%COMP%] gu-heading-text[_ngcontent-%COMP%]{width:100%}.staking-page-counter__container[_ngcontent-%COMP%] gu-standard-button[_ngcontent-%COMP%]{margin:16px 0}.staking-page-primary__card__container[_ngcontent-%COMP%]{display:flex;align-items:center}.staking-page__hold__gods--plustext[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;text-transform:uppercase;margin:32px 0}.staking-page__hold__gods--plustext[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#c6a052;padding:0 4px}.staking-page__hold__gods--plustext[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{vertical-align:middle;margin-right:20px}.staking-page-golden__gradient__divider__container[_ngcontent-%COMP%]{position:relative;width:1000px;max-width:80vw}.staking-page-golden__gradient__divider__container[_ngcontent-%COMP%] > cerberus-staking-participation-checkbox[_ngcontent-%COMP%]{position:absolute;top:-2px;left:0;right:0}.staking-page-golden__gradient__divider__img[_ngcontent-%COMP%], .staking-page-white__gradient__divider__img[_ngcontent-%COMP%]{max-width:100%}.staking-page-cards__container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.staking-page-hold__gods[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;max-width:670px;padding-top:60px}.staking-page-hold__gods[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:48px;margin-right:16px}.staking-page__hold__gods--content[_ngcontent-%COMP%]{max-width:calc(100% - 64px)}.golden-divider[_ngcontent-%COMP%]{height:4px;width:100%;background:linear-gradient(90deg,#c6a052 3%,#ebc98b 25%,#fff2d8,#ebc98b 75%,#c6a052 97%);border-top:3px solid #0a0a0a;border-bottom:3px solid #0a0a0a;box-sizing:content-box;position:relative}.staking-reward--section[_ngcontent-%COMP%]{background-image:url(/assets/images/staking/staking-reward-history--background-art.webp);background-size:cover;background-repeat:no-repeat;background-position:bottom}.staking-reward--content[_ngcontent-%COMP%]{max-width:860px;margin:0 auto;padding:80px 16px;text-align:center}@media screen and (min-width: 1024px),print{.staking-page-counter__container[_ngcontent-%COMP%] gu-heading-text[_ngcontent-%COMP%]{flex:1;width:auto}.staking-page-counter__container[_ngcontent-%COMP%] gu-standard-button[_ngcontent-%COMP%]{width:auto;margin:0}.staking-page__hold__gods--content[_ngcontent-%COMP%]{max-width:70%}}@media screen and (min-width: 1024px){.staking-page-cards__container[_ngcontent-%COMP%]{flex-direction:row;gap:16px;margin-right:-16px}.staking-page-primary__card__container[_ngcontent-%COMP%]{gap:72px;padding:72px}.staking-page-golden__gradient__divider__container[_ngcontent-%COMP%] > cerberus-staking-participation-checkbox[_ngcontent-%COMP%]{top:-9px}.staking__diamond[_ngcontent-%COMP%]{padding:4px;box-shadow:inset 0 0 0 1.5px #c6a052;border-radius:2px;display:flex;transform:rotate(-45deg);height:20px}.staking__diamond[_ngcontent-%COMP%]:before{content:"";width:12px;height:12px;background:#c6a052;border-radius:2px}.staking-page__hold__gods--plustext[_ngcontent-%COMP%]{width:auto;margin:48px 0}.staking-page-hold__gods[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:92px;margin-left:32px}}']})}return o}
1)(),data:{title:"Offering of the Gods"}}];var Yi=k(38176),Vi=k(56429);let Xi=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=t.$C({type:o});static#n=this.\u0275inj=t.G2t({providers:[{provide:Rt,useValue:"assets/images/rive"},{provide:Lt,useValue:"1.2.0"}],imports:[_e.MD,zn,Yi.B,Vi.r,gt.iI.forChild(Ui)]})}return o})()}}]); 2//# sourceMappingURL=libs_website_staking_src_index_ts.9fca65c26fad90aa.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.