PageSourceSearch

https://www.boundaries-planetarium.earth/component---src-pages-index-js-6281048e02ce0edd2a50.js

js boundaries-planetarium.earth collected 2026-10-08 19:45:26 UTC 512,674 bytes, 31 lines download raw bytes

vendor: 4,709 bytes, lines 1-2
1/*! For license information please see component---src-pages-index-js-6281048e02ce0edd2a50.js.LICENSE.txt */
2(self.webpackChunkceiling=self.webpackChunkceiling||[]).push([[74,98,103,111,177,208,293,307,308,349,385,452,466,544,593,753,766,779,821,830,831,841,863],{7007:function(e){function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function r(e){return"object"==typeof e&&null!==e}function o(e){return void 0===e}e.exports=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,a,i,s,l,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||r(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(o(a=this._events[e]))return!1;if(n(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),a.apply(this,s)}else if(r(a))for(s=Array.prototype.slice.call(arguments,1),i=(c=a.slice()).length,l=0;l<i;l++)c[l].apply(this,s);return!0},t.prototype.addListener=function(e,a){var i;if(!n(a))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,n(a.listener)?a.listener:a),this._events[e]?r(this._events[e])?this._events[e].push(a):this._events[e]=[this._events[e],a]:this._events[e]=a,r(this._events[e])&&!this._events[e].warned&&(i=o(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(e,o),r||(r=!0,t.apply(this,arguments))}return o.listener=t,this.on(e,o),this},t.prototype.removeListener=function(e,t){var o,a,i,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(o=this._events[e]).length,a=-1,o===t||n(o.listener)&&o.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(r(o)){for(s=i;s-- >0;)if(o[s]===t||o[s].listener&&o[s].listener===t){a=s;break}if(a<0)return this;1===o.length?(o.length=0,delete this._events[e]):o.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},6205:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",h2:"h2",p:"p"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"ABOUT"),"\n",o.createElement(t.h2,null,"Audio Planetarium Module for the Anthropocene, APMA-2000"),"\n",o.createElement(t.p,null,"Humans have thrived in the stable climate of the planet that lasted for the past 12 thousand years. However, the “Great Acceleration” of our civilization is on the dangerous course, causing irreversible ecological destructions which are now threatening our own survival. Scientists have proposed biophysical limits to sustain our life on the planet, beyond which the Earth may no longer be a safe place for humans. Scholars, activists, governments and businesses are working together to generate the deep social changes that will realize our life in harmony with 
2nature."),"\n",o.createElement(t.p,null,"What if we were to build a technology which helps us to make them happen, allowing people to learn about the most advanced knowledge about the current planetary conditions and envision the pathways to achieve a truly sustainable future."),"\n",o.createElement(t.p,null,"APMA-2000 invites to you to join in an unique meditative experience on a human life in harmony with nature, using the power of music and human voice."))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},4173:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",h2:"h2",p:"p"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"ABOUT"),"\n",o.createElement(t.h2,null,"「人新世のための音響プラネタリウム・モジュール」APMA-2000 について"),"\n",o.createElement(t.p,null,"人類は、過去 1 万 2 千年の間に続いてきた安定した気候のもとで繁栄しました。しかし、私たちの文明の「大加速」は、今や生態系の不可逆的な破壊を引き起こし、人間自身の存続を脅かす、危険な軌道を突き進んでいます。科学者たちは、私たち人類が地球上での生活を続けるための生物理学的な限界を明らかにし、それを超えてしまえば、地球は人間が安全に暮らすことができる場所ではなくなってしまうことを示しています。いま、科学者、活動家、政府、企業は、自然と調和する人間の生活を実現するために、根本的な社会変革に向けた行動を開始しています。"),"\n",o.createElement(t.p,null,"もし、私たちが、そのような変革を助けるようなテクノロジーをつくるとしたらーー。それを通じて、人々が現在の地球の状況に関する最も先進的な知識を学び、真に持続可能な未来への道筋を描くことができるとしたらーー。"),"\n",o.createElement(t.p,null,"APMA-2000 は、音楽と人間の声の力を通じて、自然と調和した人間のあり方をめぐる、かつてない瞑想的経験へとあなたをいざないます。"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},2845:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Aja Barber"),"\n",o.createElement(a.D9),"\n",o.createElement(t.p,null,"Aja Barber is a writer and the author of the book Consumed: The Need for Collective Change, Colonialism, Climate Change and Consumerism. Aja is also a contributing editor at ELLE UK. Aja was raised in Reston, Virginia but now lives in London, UK with her husband Stephen and their two cats. When she can’t be found writing about sustainability and fashion she’s most likely doing ballet or yoga."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.instagram.com/AjaBarber"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://bookshop.org/p/books/consumed-the-need-for-collective-change-colonialism-climate-change-and-consumerism-aja-barber/17761916"},"Consumed: The Need for Collective Change: Colonialism, Climate Change, and Consumerism")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.ajabarber.com"},"Aja Barber")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Narrative Channel 3 “Transitions” English Voiceover"),"\n"),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"All the systems which currently exist and keep our world running will need to be thoroughly reexamined and rebuilt in order for us to have a future where all humans can live, grow and thrive. The threat of climate emergency altering our world forever is very real and very scary. We need a shake up from top to bottom, from the clothing and material items we buy, to the food we eat. We need business models that put the planet and people first and foremost. We are currently presented with what is a tremendous opportunity to build a world that’s more inclusive, thoughtful and kind than ever before. It all depends on us and what sort of future we decide we want. Have you decided?"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},1037:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Aja Barber"),"\n",o.createElement(a.D9),"\n",o.createElement(t.p,null,"Aja Barber は、ライターで、書籍 Consumed: The Need for Collective Change, Colonialism, Climate Change and Consumerism(『コンシュームド:コレクティヴな変革、気候変動、植民地主義、消費主義』)の著者。Aja は ELLE UK の寄稿者でもある。ヴァージニア州レã
2‚¹ãƒˆãƒ³ã«è‚²ã¡ã€ç¾åœ¨ã¯å¤«ã®ã‚¹ãƒ†ãƒ•ァンと 2 匹の猫とともにイギリス・ロンドンに暮らしている。サステナビリティやファッションについての執筆以外の時間には、バレエやヨガを実践している。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.instagram.com/AjaBarber"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://bookshop.org/p/books/consumed-the-need-for-collective-change-colonialism-climate-change-and-consumerism-aja-barber/17761916"},"Consumed: The Need for Collective Change: Colonialism, Climate Change, and Consumerism")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.ajabarber.com"},"Aja Barber")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル3「トランジション」 英語ナレーション"),"\n"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"すべての人々が生き、成長し、繁栄することができる未来のために、現在の私たちの世界を動かしているすべてのシステムを、再検討し、作り直さなくてはなりません。気候危機が私たちの世界を永久に変えてしまうという恐ろしい脅威は、現実のものです。私たちは、自分が買う服やモノ、食べものを含むシステム全体を作り直さなくてはいけません。この惑星とそこに生きる人々を中心に据え、最も大切にするビジネスモデルが必要です。私たちはいま、かつてないほどインクルーシヴで、配慮と思いやりに満ちた世界を作るための大きな機会を手にしています。どのような未来を欲しているかを決めるのは私たち次第です。あなたはもう決めましたか?"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},1649:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",ol:"ol"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"analog_mannequin"),"\n",o.createElement(a.AM),"\n",o.createElement(t.p,null,"analog_mannequin is a US-based multimedia artist known for their psychedelic analog glitchart and ethereal cassette soundscapes. Having experimented with video feedback and cassette recording since childhood, they cultivated a daily art practice and began hosting regular livestreams which gained popularity during the COVID-19 pandemic. These otherworldly streams featured glitched VHS visuals and liquid light projection paired with synth compositions, and became a safe space for a global community to find peace and childlike wonder in an uncertain and lonely time. analog_mannequin has since ventured into the world of physical installations and VJing, alongside continuing their ambient music production."),"\n",o.createElement(t.p,null,"A common thread throughout analog_mannequin’s varied works is their connection to gear in the realm of near-obsolete physical media, such as vintage video mixers, VHS camcorders, and audiocassette tape. Through relishing the imperfections of these devices and utilizing them to craft surreal fractals and soundscapes, analog_mannequin has helped introduce these media to a new generation of enthusiasts."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/analog_mannequin/"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.tiktok.com/@analog_mannequin?_t=8e26Nf5OYxe&_r=1"},"TikTok")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://open.spotify.com/artist/5BnokxEB4VXeS1359upGtH?si=MFbIH1ohQXuJoxVAAn3piQ"},"Spotify")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Channel Meditate II Music","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"And all its contents"),"\n"),"\n"),"\n"),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"The capitalist class has plunged all life on this planet into crisis. Their obsession with the myth of infinite growth, their endeavor to absolve corporate polluters by imposing the responsibility of sustainability solely onto individuals, and their unfeeling disregard for the human rights of laborers in the global south and across the world, will all be etched in history as some of the great evils of our time."),"\n",o.createElement(t.p,null,"Unless we come together and imagine a radical new way forward, world leaders' empty climate promises and corporations' deceptive greenwashing campaigns will kick the can of climate change down the road until it’s too late."),"\n",o.createElement(t.p,null,"“And all its contents” was crafted as a meditation on the immense challenge we face, and also on the revolutionary optimism we must keep ever alive in our hearts."),"\n",o.createElement(a.f8),"\n",o.createElement(a.m$),"\n",o.createElement(a.fx),"\n",o.createElement(a.YL),"\n",o.createElement(a.tH),"\n",o.createElement(a.m5),"\n",o.createElement(a.fr))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},3681:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",ol:"ol"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"analog_mannequin"),"\n",o.createElement(a.AM),"\n",o.createElement(t.p,null,"analog_mannequin はアメリカ合衆国をベースに活動するマルチメディア・アーティストで、サイケデリックなアナログ・グリッチアートやカセット・テープを用いた浮遊感のあるサウンドスケープで知られている。幼少期からヴィデオ・フィードバックやカセットを使った録音の実験を行っていたことが日々のアート実践につながり、その後に始めたライヴ配信は、新型コロナウイルスの流行時に人気を博した。異世界のような感覚に満ちたストリームは、VHS ヴィデオの歪んだ映像や水が反射光の投影をシンセサイザーの音楽とともに表現したものだった。不確実性と孤独が支配する時代にあって、その表現は世界中のオーディエンスに心の
2平安や子どもが感じるような驚きの感覚を呼び起こし、彼らに安らぎの空間を与えることになった。analog_mannequin は、その後、フィジカルなインスタレーションや VJ(ヴィジュアル・ジョッキー)にも活動の範囲を広げつつ、アンビエント音楽の制作を続けている。"),"\n",o.createElement(t.p,null,"analog_annequin の多様な仕事に共通するのは、ヴィンテージ・ヴィデオ・ミキサー、VHS カメラ、オーディオカセット・テープなどの、ほとんど時代遅れの物理メディアの装置を用いている点である。これらのデヴァイスの不完全さに親しみ、シュールレアルなフラクタル模様やサウンドスケープを作り出すことで、analog_mannequin は新たな世代のファンたちにこれらのメディアとの出会いを提供している。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/analog_mannequin/"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.tiktok.com/@analog_mannequin?_t=8e26Nf5OYxe&_r=1"},"TikTok")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://open.spotify.com/artist/5BnokxEB4VXeS1359upGtH?si=MFbIH1ohQXuJoxVAAn3piQ"},"Spotify")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Channel Meditate II 音楽","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"And all its contents"),"\n"),"\n"),"\n"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"資本家たちは、この惑星のすべての生命を危機に追いやってしまいました。彼らが無限の成長という神話に執着していること、持続可能性という責任を個人に押しつけて、汚染を行う企業に免罪符を与えようと力を尽くしていること、そしてグローバル・サウスや世界のあちこちで働く人々の人権を冷徹に無視していることは、いずれも、私たちの時代における大きな悪事として歴史に刻まれるでしょう。"),"\n",o.createElement(t.p,null,"私たちが、ともに力を合わせて、抜本的に新たな前進の道筋を想像することができなければ、世界の指導者による気候対策の空虚な約束や、企業による誤魔化しに満ちたグリーンウォッシングのキャンペーンが、気候変動への対策を妨げ、手遅れになるまでそれを足蹴にして、貶めてしまうでしょう。"),"\n",o.createElement(t.p,null,"“And all its contents”は、私たちが直面するきわめて大きな挑戦と、私たちがその心に常に生き生きと保ち続けるべき革命的な楽観主義についての深い思索を表現したものです。"),"\n",o.createElement(a.f8),"\n",o.createElement(a.m$),"\n",o.createElement(a.fx),"\n",o.createElement(a.YL),"\n",o.createElement(a.tH),"\n",o.createElement(a.m5),"\n",o.createElement(a.fr))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},5767:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Ayaka Hironaka"),"\n",o.createElement(a.GB),"\n",o.createElement(t.p,null,"Photo: Osamu Hoshikawa"),"\n",o.createElement(t.p,null,"Ayaka joined TV Asahi in 2013 as an announcer after graduating from Keio University. She has hosted various prominent TV shows in Japan and made appearances in popular radio programs and lectures. She is the author of 100% Pure (Magazine House) and An Uncool Life (Kadokawa Publisher), which are both published in Japanese."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/hironaka_ayaka/"},"Instagram")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Narrative Channel 3 “Transitions” Japanese Voiceover"),"\n"),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"I was kindly invited by my old friend to participate in this project. I learned a lot from reading the script and was highly inspired by it, as it made me reflect on my own way of living. I feel grateful to be part of the project."),"\n",o.createElement(a.ww))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},2707:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"弘中 綾香"),"\n",o.createElement(a.GB),"\n",o.createElement(t.p,null,"撮影:干川修"),"\n",o.createElement(t.p,null,"慶應義塾大学法学部を卒業後、2013 年にテレビ朝日入社。アナウンサーとして働き始める。"),"\n",o.createElement(t.p,null,"テレビ番組だけでなく、執筆活動やラジオ、講演会など多岐にわたって活躍中。著書として、「純度100%」(マガジンハウス)「アンクールな人生」(KADOKAWA)を出版。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/hironaka_ayaka/"},"Instagram")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル3「トランジション」 日本語ナレーション"),"\n"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"古くからの友人の誘いで今回参加させて頂きました。原稿を読んでいく上で私も勉強になった部分、そして自らの生活の在り方を考えさせられたところも多くあり、大変刺激を受けました。"),"\n",o.createElement(t.p,null,"このプロジェクトにご縁を頂いたことに感謝しております。"),"\n",o.createElement(a.ww))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},5967:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",a:"a",h2:"h2",ul:"ul",li:"li",ol:"ol"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Benyamin Nuss"),"\n",o.createElement(a.MP),"\n",o.createElement(t.p,null,"Photo by Taewook Ahn"),"\n",o.createElement(t.p,null,"Benyamin Nuss was born in Bergisch Gladbach, Germany. He began playing the ",o.createElement(t.a,{href:"https://en.wikipedia.org/wiki/Piano"},"piano")," at age 6 and was taught and supported by his then teacher Viktor Langemann. His father, internationally renowned ",o.
2createElement(t.a,{href:"https://en.wikipedia.org/wiki/Jazz"},"Jazz")," trombonist Ludwig Nuss also was a big musical influence on him. With a good environment, he grew up with music from different genres. Later, inspired by “Doctor Gradus ad Parnassum” from “Children’s Corner,” he began at the age of ten to study the composer ",o.createElement(t.a,{href:"https://en.wikipedia.org/wiki/Claude_Debussy"},"Claude Debussy"),", and soon after the works of ",o.createElement(t.a,{href:"https://en.wikipedia.org/wiki/Maurice_Ravel"},"Maurice Ravel"),". While studying classical piano with Ilja Scheps, Nuss played in various jazz bands and continued his self-studies in composition. Through his versatility as a pianist and composer, Nuss was featured as a soloist around the world with orchestras like the London Symphony Orchestra or the Tokyo Philharmonic Orchestra and recorded numerous albums under his name, including two solo albums with renowned label Deutsche Grammophon. As a composer he published his first album with entire original compositions in 2017 and has written music for several festivals and soloists. Last year his first orchestral work, a concerto for harmonica, piano and chamber orchestra was successfully premiered in venues such as the Gewandhaus Leipzig or the Oetker-Halle Bielefeld."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/benyaminnuss/"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.youtube.com/user/BennyNuss89?themeRefresh=1"},"YouTube")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.benyaminnuss.com"},"Benyamin Nuss")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Narrative Channel 1 “Anthropocene” Music"),"\n",o.createElement(t.li,null,"Narrative Channel 2 “Planetary Boundaries” Music"),"\n",o.createElement(t.li,null,"Channel Piano Music","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Preludes Op. 1 No. 3"),"\n",o.createElement(t.li,null,"Windspiele"),"\n",o.createElement(t.li,null,"Letters Op. 9-S"),"\n",o.createElement(t.li,null,"Petite Piece for Clarinet and Piano Op. 4"),"\n",o.createElement(t.li,null,"Letters Op. 9-K"),"\n"),"\n"),"\n"),"\n",o.createElement(t.p,null,"All music on Channel Piano are from the CD “Benyamin Nuss and friends“, Purrcatmusic 2017. Track 4, clarinet Mina Magome."),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"Seeing our planet at stake, experiencing the extreme weather around the world, including the drought in Germany or the terrible flooding in my hometown, I feel extremely honored to be able to participate in this wonderful project because it spreads a clear message everybody should share: we have only one earth and we all have to act together NOW. In the improvised music which you will find under the spoken word channels, I tried to follow the flow of the text, but also capture personal emotions and images I have towards the climate crisis. On the one hand there is our planet which is crying out for help, hopelessness, sorrow and depression;
2 on the other hand there is hope, a certain nostalgic feeling towards the beauty of our planet combined with the feeling of home, love and joy."),"\n",o.createElement(a._k),"\n",o.createElement(t.p,null,"Photo by Manuel Chillagano"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},3675:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",ol:"ol"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Benyamin Nuss"),"\n",o.createElement(a.MP),"\n",o.createElement(t.p,null,"写真:Taewook Ahn"),"\n",o.createElement(t.p,null,"Benyamin Nuss は、ドイツのベルギッシュ・グラートバッハ生まれ。6 歳の時にピアノをはじめ、Viktor Langemann に師事する。彼の父親で、国際的に知られたジャズ・トロンボーン奏者でもある Ludwig Nuss もその音楽に大きな影響を与えた。めぐまれた環境のもとで、さまざまなジャンルの音楽とともに育ったが、「子どもたちの領分」の「グラドゥス・アド・パルナッスム博士」に感化され、10 歳には Claude Debussy の作品を、その後、Maurice Ravel の作品を学ぶようになる。Ilja Scheps のもとでクラシック・ピアノを学びながら、さまざまなジャズ・バンドでも演奏し、独学で作曲を続けた。ピアニストと作曲家としての幅広い技能を通じて、ロンドン交響楽団や東京フィルハーモニー交響楽団などとソロ奏者として共演し、自らの名前で多数のアルバムを録音している。これには著名なレーベルであるドイツ・グラモフォンからの二つのソロ・アルバムが含まれる。作曲家としては、2017 年に完全オリジナル楽曲による最初のアルバムを発表し、いくつかのフェスティバルやソロ演奏のために作曲を続けている。2022 年には、最初のオーケストラ作品である、ハーモニカ、ピアノ、そして室内オーケストラのためのコンチェルトが、Gewandhaus Leipzig や Oetker-Halle Bielefeld などのホールで成功裏に上演された。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/benyaminnuss/"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.youtube.com/user/BennyNuss89?themeRefresh=1"},"YouTube")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.benyaminnuss.com"},"Benyamin Nuss")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル1 「人新世」 音楽"),"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル2 「プラネタリー・バウンダリーズ」 音楽"),"\n",o.createElement(t.li,null,"Channel Piano 音楽","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Preludes Op. 1 No. 3(前奏曲 Op.1 No.3)"),"\n",o.createElement(t.li,null,"Windspiele(風鈴)"),"\n",o.createElement(t.li,null,"Letters Op. 9-S(手紙 Op. 9-S)"),"\n",o.createElement(t.li,null,"Petite Piece for Clarinet and Piano Op. 4(クラリネットとピアノのための小品 Op. 4)"),"\n",o.createElement(t.li,null,"Letters Op. 9-K(手紙 Op. 9-K)"),"\n"),"\n"),"\n"),"\n",o.createElement(t.p,null,"ピアノ・チャンネルのすべての曲は CD “Benyamin Nuss and friends”(Purrcatmusic 2017)に収録されたもの。トラック 4 のクラリネットは Mina Magome による。"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"私たちの惑星の危機的な状況を目の当たりにし、世界じゅうの異常気象、特にドイツの干ばつや故郷の街で起きた悲惨な洪水を経験してきた私にとって、この素晴らしいプロジェクトに参加できたことは非常に光栄なã
2“とです。このプロジェクトが「私たちには一つの地球しかなく、今すぐに行動をともにしなければいけない」という誰もが共有すべき明確なメッセージを伝えるものだからです。ナラティヴ・チャンネルにおける即興の音楽を通じて、私はテキストの流れを追いつつも、気候変動に対する自らの個人的な感覚やイメージを捉えようと試みました。一方には、助けを求めて叫ぶ私たちの地球、絶望、悲しみ、陰鬱とした気持ちがあります。しかし、もう一方には、希望、故郷、愛、喜びと結びついた、私たちの惑星の美しさについてのある種のノスタルジックな感覚があるのです。"),"\n",o.createElement(a._k),"\n",o.createElement(t.p,null,"写真:Manuel Chillagano"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},1969:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",a:"a",h2:"h2",ul:"ul",li:"li"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Della Z Duncan"),"\n",o.createElement(a.Hh),"\n",o.createElement(t.p,null,"Della Z Duncan is a ",o.createElement(t.a,{href:"http://www.dellazduncan.com/"},"Renegade Economist"),". Areas of her livelihood garden include supporting individuals as a ",o.createElement(t.a,{href:"https://www.kosmosjournal.org/kj_article/cultivating-right-livelihood/"},"Right Livelihood Coach"),", helping businesses and organizations as a Post-Capitalist consultant, teaching and facilitating courses and retreats on the Work that Reconnects, Financial Permaculture, and Regenerative Economics, and hosting the ",o.createElement(t.a,{href:"http://www.upstreampodcast.org/"},"Upstream Podcast")," which challenges mainstream economic thinking through documentaries and conversations including ",o.createElement(t.a,{href:"https://www.upstreampodcast.org/greentransitionpt1"},"The Green Transition: The Problem with Green Capitalism")," and ",o.createElement(t.a,{href:"https://www.upstreampodcast.org/greentransitionpt2"}),o.createElement(t.a,{href:"https://www.upstreampodcast.org/the-myth-of-freedom-under-capitalism"},"The Myth of Freedom Under Capitalism"),". Della is also the Course Development Manager of Fritjof Capra’s Capra Course on the Systems View of Life, a founding member of the ",o.createElement(t.a,{href:"https://caldec.org/"},"California Doughnut Economics Coalition"),", a Senior Fellow of Social and Economic Equity at the London School of Economics, a Gross National Happiness Master Trainer, and a Senior Lecturer of Renegade Economics and Regenerative Livelihoods at the California Institute of Integral Studies, Santa Cruz Permaculture, Vital Cycles Permaculture, and Gaia Education."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.dellazduncan.com"},"Della Duncan")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.dellazduncan.com/right-livelihood-coach"},"Della Duncan - Right Livelihood Coach")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.upstreampodcast.org"},"Upstream Podcast")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.upstreampodcast.org/greentransitionpt1"},"The Green Transition: The Problem with Green Capitalism")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.upstreampodcast.org/the-myth-of-freedom-under-capitalism"},"The Myth of Freedom Under Capitalism")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://caldec.org/"},"California Doughnut Economics Coalition")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Narrative Channel 1 “Anthropocene” English Voiceover"),"\n"),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"Power on and drop in to this cosmic sonic adventure pairing luscious ethereal soundscapes with informative narratives designed to empower you to understand the causes and conditions of our time on earth and to recognize the potential we each have to contribute positively to the planet and leave the world better than found."))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},81:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Della Z Duncan"),"\n",o.createElement(a.Hh),"\n",o.createElement(t.p,null,"Della Z Duncan は自らをレネゲート(「反抗的な」)経済学者と呼んでいる。彼女の活動領域には、ライト・ライブリフッド・コーチ(Right Livelihood Coach)としての個人の支援、「ポスト資本主義コンサルタント」としての企業や組織の手助け、「再びつなぐ仕事」「ファイナンシャル・パーマカルチャー」「リジェネラティヴ経済学」などについての講義やファシリテーション、「アップストリーム・ポッドキャスト」の運営ã
2ªã©ãŒå«ã¾ã‚Œã‚‹ã€‚このポッドキャストでは、「グリーン・トランジション:グリーン資本主義の課題」(The Green Transition The Problem with Green Capitalism)や「資本主義における自由という神話」(The Myth of Freedom Under Capitalism)を含むドキュメンタリーや会話を通じて、主流の経済学の考えに挑戦している。Della は Fritjof Capra の「生活に関するシステム論的観点」の講義開発マネジャー、カリフォルニア・ドーナツ経済学連盟の創設メンバー、ロンドン・スクール・オブ・エコノミクスの社会経済公正性分野のシニア・フェロー、国民総幸福マスター・トレイナー、そしてカリフォルニア統合研究所の反抗的経済学およびリジェネラティヴ・ライヴリフッドに関するシニア・フェローであり、サンタ・クルス・パーマカルチャー、ヴァイタル・サイクル・パーマカルチャー、ガイア教育にも関わっている。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.dellazduncan.com"},"Della Duncan")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.dellazduncan.com/right-livelihood-coach"},"Della Duncan - Right Livelihood Coach")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://www.upstreampodcast.org"},"Upstream Podcast")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.upstreampodcast.org/greentransitionpt1"},"The Green Transition: The Problem with Green Capitalism")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.upstreampodcast.org/the-myth-of-freedom-under-capitalism"},"The Myth of Freedom Under Capitalism")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://caldec.org/"},"California Doughnut Economics Coalition")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル1 「人新世」 英語ナレーション"),"\n"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"電源を入れ、この宇宙的な音の冒険に飛び込んでください。官能的なまでに甘美なサウンドスケープと有益な情報に満ちたナラティヴが、地球における人間の時代の原因と条件を理解し、この惑星のために貢献し、この世界をよりよい場所にするための潜在的な力を自覚するためのエンパワーメントを与えてくれるはずです。"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},9526:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1"},(0,r.RP)(),e.components);return o.createElement(t.h1,null,"ARTISTS")}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},4356:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1"},(0,r.RP)(),e.components);return o.createElement(t.h1,null,"アーティスト")}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},482:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Koki Yamamoto"),"\n",o.createElement(a.BR),"\n",o.createElement(t.p,null,"Born in Aichi, Japan, on January 13, 1994. He grew up listening to various radio shows both in and out of Japan. As a main host of a morning radio show, he wishes to convey positive energy to his listeners."),"\n",o.createElement(t.p,null,"He graduated from Okasaki High School and Meiji University, where he studied German Language. He also studied at the University of Montana, USA, and the University of Indonesia, Indonesia. He enjoys climbing mountains and watching airplanes."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://twitter.com/yamanesia"},"Twitter")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://fmbird.jp/dj/koki_yamamoto/"},"FM BIRD")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Channel 2 “Planetary Boundaries” Japanese Voiceover"),"\n"),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"I feel grateful to be part of the project."),"\n",o.createElement(t.p,null,"As I read about the Planetary Boundaries, I was utterly shocked to learn about the human impact on the Earth’s environment. I was once again reminded how valuable and fragile our planet is. However, the story also provides us clues to a vision of human life in harmony with 
2nature, a future where we can sustain our life on the planet. I, for one, was able to reflect on my own day-to-day behaviors from a new perspective.\nThe biggest attraction of this audio project is the collection of elegantly flowing music. They are full of energy that appeals directly to your soul. Listen carefully to these sounds, and you will feel as if you are listening to the voice of the planet..."),"\n",o.createElement(a.Pi))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},5616:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"山本 航生"),"\n",o.createElement(a.BR),"\n",o.createElement(t.p,null,"1994 年 1 月 13 日生まれ、愛知県出身。"),"\n",o.createElement(t.p,null,"幼少時より国内外の多数のラジオ番組と共に育つ。FM ラジオのメインパーソナリティとして、毎日の放送を通してリスナーを勇気づけるラジオ番組を心がけている。"),"\n",o.createElement(t.p,null,"岡崎高校卒業、明治大学文学部文学科(ドイツ文学専攻)卒業、アメリカモンタナ大学留学(文化人類学科)インドネシアインドネシア大学留学。登山、飛行機ウォッチングが趣味。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://twitter.com/yamanesia"},"Twitter")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://fmbird.jp/dj/koki_yamamoto/"},"FM BIRD")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル2 「プラネタリー・バウンダリーズ」 日本語ナレーション"),"\n"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"このプロジェクトに携わらせていただいたこと、心より感謝しております。"),"\n",o.createElement(t.p,null,"「プラネタリー・バウンダリーズ」により、地球の命のかけがえなさを痛感し、人間の手によって地球が脅かされている現状に、言葉を失いました。ただその一方で、このコンテンツは、よりよい地球、人間の未来をこの先も持続させていくために、地球と人間のあるべき将来像に関してヒントを与えてくれます。自分も実際のアクションを見直す良いきっかけになりました。"),"\n",o.createElement(t.p,null,"中でも最大の聞きどころはこのコンテンツを彩る、流麗で耳心地のいい音楽たち。心の奥に訴えかけるパワーがみなぎっています。ここにながれる音や声に耳を澄ましてみると、まさにそれは地球の声が聞こえてくるようです。"),"\n",o.createElement(a.Pi))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},818:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",a:"a",h2:"h2",ul:"ul",li:"li"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Marc Thompson"),"\n",o.createElement(a.op),"\n",o.createElement(t.p,null,"Marc Thompson is a creative activist, health promotion specialist, podcaster and LGBTQ+ cultural archivist."),"\n",o.createElement(t.p,null,"He has been at the forefront of HIV activism and education since 1986. He has founded and developed a range of movements, groups and interventions for Black, queer and HIV communities over the past 30 years."),"\n",o.createElement(t.p,null,"Most recently Marc has curated the digital archive and podcast series ‘Black and Gay, Back in the Day’ documenting Black LGBT life in Britain 
2since the 1970s, launched his podcast series We Were Always Here, telling the story of the UK HIV epidemic through unheard voices."),"\n",o.createElement(t.p,null,"Marc is currently the co-director of ",o.createElement(t.a,{href:"http://thelovetank.info/"},"The Love Tank"),", a not-for-profit organisation working to promote the health and wellbeing of under-served communities through campaigning, education, advocacy and research."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://prepster.info/"},"Prepster")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://thelovetank.info/"},"The Love Tank")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.queerhealth.info/projects/beau"},"Beau")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://podcasts.apple.com/gb/podcast/we-were-always-here/id1587035513"},"We Were Always Here")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Narrative Channel 2 “Planetary Boundaries” English Voiceover"),"\n"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},4736:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Marc Thompson"),"\n",o.createElement(a.op),"\n",o.createElement(t.p,null,"Marc Thompson は、クリエイティヴ・アクティヴィスト、ヘルス・プロモーションの専門家、ポッドキャストの運営者、そして LGBTQ+の文化的アーキヴィスト。"),"\n",o.createElement(t.p,null,"1986 年から HIV に関する運動と教育の最前線で活動を続け、過去 30 年にわたって、黒人、クイア、HIV コミュニティにかかわる幅広い運動、グループなどを創設し、発展させてきた。"),"\n",o.createElement(t.p,null,"最近では、”Black and Gay, Back in the Day”というデジタル・アーカイブとポッドキャスト・シリーズを開始し、1970 年代以降のイギリスにおける黒人 LGBT の生活についてのドキュメントを発表した。また、We Were Always Here というポッドキャスト・シリーズでは、これまで光の当たらなかった人々の声を通じてイギリスにおける HIV の物語を伝えている。"),"\n",o.createElement(t.p,null,"Marc は現在、非営利団体 The Love Tank の共同ディレクターをつとめ、キャンペーン、教育、アドヴォカシー、そして研究を通じて、人々から見落とされがちなさまざまなコミュニティの健康とウェルビーイングの推進のために尽力している。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://prepster.info/"},"Prepster")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"http://thelovetank.info/"},"The Love Tank")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.queerhealth.info/projects/beau"},"Beau")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://podcasts.apple.com/gb/podcast/we-were-always-here/id1587035513"},"We Were Always Here")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル2 「プラネタリー・バウンダリーズ」 英語ナレーション"),"\n"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},1673:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",ol:"ol",br:"br"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Michael Louis"),"\n",o.createElement(a.o8),"\n",o.createElement(t.p,null,"Michael Louis Aaberg is an Oakland Native, a producer, musician and educator. He’s the producer behind artist Goapele’s ‘Closer’ and her musical director. He’s played keys and recorded for Lalah Hathaway including her Grammy winning Live record. He’s featured on Derrick Hodge’s “Color of Noize” and Ambrose Akinmusire’s “Origami Harvest” on Blue note Records.  He has started his own label Tiger’s Eye Music and his debut, “ Slept On” as well as his latest release “Shapes & Shades” are both  available on Bandcamp only. Michael resides in the Bay Area with his wife and daughter."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/tigers_view/"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://youtube.com/@michaellouisaaberg3537?feature=sharea"},"YouTube")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Channel Vibe Music","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Sprit Steps"),"\n"),"\n"),"\n",o.createElement(t.li,null,"Channel Focus Music:","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Prophet Chill"),"\n",o.createElement(t.li,null,"Rhodes Chill"),"\n",o.createElement(t.li,null,"808 Chill"),"\n",o.createElement(t.li,null,"Upright Chill"),"\n",o.createElement(t.li,null,"Wurli Chill"),"\n"),"\n"),"\n"),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"I’m excited and honored to be included in this amazing undertaking. I hope the music that I’ve created helps shine a light on the need to change society to co-exist peacefully with our planet."),"\n",o.createElement(t.p,null,"Western colonialism has taken a huge and fast moving toll on our environment and the people and animals living on it."),"\n",o.createElement(t.p,null,"We, including myself, must change our personal lives and demand change from our leaders to address this huge problem."),"\n",o.createElement(t.p,null,"My hope is my musical contributions will help with the impact of this very important message."),"\n",o.createElement(t.p,null,"Peace and Blessings",o.createElement(t.br),"\n","Michael Louis"),"\n",o.createElement(a.Y2),"\n",o.createElement(a.RZ))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},2249:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",ol:"ol",br:"br"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Michael Louis"),"\n",o.createElement(a.o8),"\n",o.createElement(t.p,null,"Michael Louis Aaberg は、アメリカ・カリフォルニア州オークランド生まれのプロデューサー、ミュージシャン、教育者。彼は Goapele の”Closer”のプロデューサーであり、Lalah Hathaway のキーボード奏者で、彼女がグラミー賞を受賞したライヴ音源にも参加している。このほか、Derrick Hodge の”Color of Noize”や Ambrose Akinmusire の”Origami Harvest”(Blue Note Records)でも共演。彼が立ち上げた Tiger’s Eye Music レーベルでは、デビュー・アルバム”Slept On”と最近のリリース盤”Shapes & Shades”が Bandcamp でアクセス可能になっている。現在は、カリフォルニア州のベイエリアに妻と娘とともに暮らしている。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/tigers_view/"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://youtube.com/@michaellouisaaberg3537?feature=sharea"},"YouTube")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Channel Vibe 音楽","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Sprit Steps"),"\n"),"\n"),"\n",o.createElement(t.li,null,"Channel Focus 音楽","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Prophet Chill"),"\n",o.createElement(t.li,null,"Rhodes Chill"),"\n",o.createElement(t.li,null,"808 Chill"),"\n",o.createElement(t.li,null,"Upright Chill"),"\n",o.createElement(t.li,null,"Wurli Chill"),"\n"),"\n"),"\n"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"この素晴らしい企画に参加できたことに興奮を感じるとともに、光栄に思います。人間の社会は、地球と平和に共存できるよう変化することが必要であり、私が作った音楽がそのことを知るための光になればと思います。西洋による植民地主義は私たちの環境、そして地球に生きる人々と動物に対して、巨大かつ加速的な害悪をもたらしてしまいました。私を含む、私たち一人ひとりが、個人の生活を変えるとともに、この大きな課題に対処するように指導者たちに変化を訴えなã
2‘ればいけません。私の音楽を通じて、この非常に重要なメッセージがより大きな影響を持つことを願っています。"),"\n",o.createElement(t.p,null,"平和と祝福を。",o.createElement(t.br),"\n","Michael Louis"),"\n",o.createElement(a.Y2),"\n",o.createElement(a.RZ))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},1090:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"金子 奈緒"),"\n",o.createElement(a.ZU),"\n",o.createElement(t.p,null,"Nao has a “crystal voice.” As a professional voice actor, she was selected as one of Asahi Shimbun’s “100 People of the 21 Century.” She is one of the most talented and prolific Japanese narrators of our time and has appeared in a number of TV and radio shows, media interviews, narrated contents, and educational materials. She also helps educate the next generation of voice professionals as an instructor at FM-Bird Academy."),"\n",o.createElement(t.p,null,"Nao was born in Tokyo in 1975. After graduating from Toho Women’s Junior High and High Schools, she studied at Keio University. She hosted popular radio and TV shows such as NHK Orchestra Concert, The Best of the Classics (NHK-FM) and The House of Classic Music (NHK E Television)."),"\n",o.createElement(t.p,null,"She received “NHK National High School Broadcasting Awards” and the National FM Broadcasting Association’s “JFN Prize and Special Prize for Planning” for a documentary program produced for the 70th anniversary of the end of the WWII."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://fmbird.jp/dj/nao_kaneko/"},"FM BIRD")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Channel 1 “Anthropocene” Japanese Voiceover"),"\n"),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"During the recording, it happened that the impression I had from the written script was replaced by another as I actually put the text into voice. It is a rare experience. The text I received appeared to be marked by the feelings of negativity: the senses of despair and helplessness. However, the more I read it and put it into voice, I was able to feel different kinds of feeling to grow in me. I surely began to feel the senses of hope, wisdom and passion possessed by the humanity. As I recorded the narrative, I was hoping and praying that the people who listen to these tracks would also feel these “lights” that I found. With the beautiful, all-embracing music, I hope you will find the elements of hope for the future of our planet."),"\n",o.createElement(a.r9))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},3248:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",ul:"ul",li:"li",h2:"h2",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"金子 奈緒"),"\n",o.createElement(a.ZU),"\n",o.createElement(t.p,null,"「21 世紀の 100 人」 に選出されたクリスタル・ヴォイス。"),"\n",o.createElement(t.p,null,"日本を代表するナレーター・司会者の一人。TV やラジオでの司会・ナレーション、インタビュー、朗読、学校教材など「声のプロフェッショナル」として実績多数。"),"\n",o.createElement(t.p,null,"FM BIRD アカデミー講師として次世代教育も担う。1975 年東京生まれ。桐朋女子中学校・高等学校卒業。慶応義塾大学卒業。NHK-FM「N 響演奏会」 「ベストオブクラシック」 NHK E テレ「クラシック音楽館」など。"),"\n",o.createElement(t.p,null,"受賞歴:"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"NHK 杯全国高校放送コンテスト 3 年連続東京地区優勝、東京大会 2 冠、全国大会 2 位。"),"\n",o.createElement(t.li,null,"全国 FM 放送協議会 JFN 賞企画部門特別賞受賞「戦後 70 年特別番組『記憶のバトン-70 の階段-』"),"\n"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://fmbird.jp/dj/nao_kaneko/"},"FM BIRD")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル1 「人新世」 日本語ナレーション"),"\n"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"ナレーションを担
2当して、今回ほど「文字から受ける印象と、実際声に出してみた印象が異なった」のは、珍しいような気がしています。原稿の文字から受ける、危機感や絶望と言ったネガティヴな印象。しかし何度も声に出すうちに、その奥に存在する、人類の希望や知恵、情熱を確かに感じたのです。お聴き下さる皆さんにも、そんな光をお伝えできるように。私なりの祈りを込めて、ナレーションを入れさせて頂きました。全てを包み込むような素晴らしい音楽と共に、地球の未来にある希望を探して頂ければ幸いです。"),"\n",o.createElement(a.r9))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},6565:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",ol:"ol"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Wac-Lounge"),"\n",o.createElement(a.Cx),"\n",o.createElement(t.p,null,"Wac-Lounge is a solo artistic project by Hideaki Waku. As part of “eureka!” an electronic music unit, he released CD and vinyl works from a Germany-based label. He made a tour in three cities including Frankfurt and Berlin and provided a number of music to fashion brands (like BALLY) and collective audio projects. In January 2023, the NTS Radio London aired an hour of Wac-Lounge music mix. The COVID crisis inspired him to publish countless audio-visual installations on Instagram, featuring modular synthesizers and tape recorders."),"\n",o.createElement(t.h2,null,"Links"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/wac_lounge"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://youtube.com/@wac-lounge"},"YouTube")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://wac-lounge.bandcamp.com"},"Bandcamp")),"\n"),"\n",o.createElement(t.h2,null,"Participation"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Narrative Channel 3 “Transitions” Music"),"\n",o.createElement(t.li,null,"Channel Meditate I Music:","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Name of the wind"),"\n",o.createElement(t.li,null,"Moss chronicles"),"\n",o.createElement(t.li,null,"Last stop"),"\n"),"\n"),"\n"),"\n",o.createElement(t.h2,null,"Message"),"\n",o.createElement(t.p,null,"It is really an honor to be part of this intelligent project centered around the theme of the Anthropocene. I use modular synthesizers to make music. The creative power of its generative sound has never bored me. When I create sound with these synths, I think about a wave as an image. It is a low frequency wave that our ears are not capable of hearing. Then I visualize the shape of that wave in my mind and connect it to an audible, electronic sound. When different low frequency waves overlap, a new wave of a more complex shape is created. It generates ever-changing sound patterns, vibrations, melodies and harmonies that are utterly beyond expectation. I think that these organic, unpredictable phenomena have a lot in common with the working of the Nature."),"\n",o.createElement(a.IU),"\n",o.createElement(a.Uc))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},5221:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(4574);function i(e){const t=Object.assign({h1:"h1",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",ol:"ol"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"Wac-Lounge"),"\n",o.createElement(a.Cx),"\n",o.createElement(t.p,null,"和久英明によるソロプロジェクト。エレクトロユニット eureka!名義で国内やドイツのレーベルから CD やアナログなどリリース。フランクフルトのフィルムフェスやベルリンなど 3 都市を回るツアーに出演。また BALLY などのブランドやコンピレーションに多数楽曲提供している。年始めにはロンドン 
2NTS ラジオで 1 時間の Wac-Lounge ミックスを披露。コロナ以降、モジュラーシンセやテープレコーダーをモチーフにした音楽及び映像作品をインスタグラムにて発信中。"),"\n",o.createElement(t.h2,null,"リンク"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://www.instagram.com/wac_lounge"},"Instagram")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://youtube.com/@wac-lounge"},"YouTube")),"\n",o.createElement(t.li,null,o.createElement(t.a,{href:"https://wac-lounge.bandcamp.com"},"Bandcamp")),"\n"),"\n",o.createElement(t.h2,null,"参加"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"ナラティヴ・チャンネル3 「トランジション」 音楽"),"\n",o.createElement(t.li,null,"Channel Meditate I  音楽","\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Name of the wind"),"\n",o.createElement(t.li,null,"Moss chronicles"),"\n",o.createElement(t.li,null,"Last stop"),"\n"),"\n"),"\n"),"\n",o.createElement(t.h2,null,"メッセージ"),"\n",o.createElement(t.p,null,"この度は人新世をテーマとした思慮深いプロジェクトの一助となれたことをとても光栄に感じております。私の音楽はモジュラーシンセサイザーで作られており、この楽器の持つ生成的な音の表現力は毎日飽きることがありません。私はこのモジュラーシンセで音作りをする時、波をイメージします。耳に聴こえない低周波の波。その波形を頭に描いて可聴域の電子音と繋げます。いくつかの低周波を重ねると複雑な波の形が生まれます。すると永遠に変化し続ける音色やヴィブラート、思いもよらないメロディーや和音が生まれるのです。その有機性と予測不可能な現象は自然に通ずるものがあると考えます。"),"\n",o.createElement(a.IU),"\n",o.createElement(a.Uc))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},9950:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",strong:"strong",br:"br",ol:"ol",li:"li",ul:"ul"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"CHANNELS"),"\n",o.createElement(t.p,null,"APMA-2000 receives 3 narrative channels and 5 music channels."),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"NARRATIVES:")),"\n",o.createElement(t.p,null,"3 channels comb
2ining music and spoken words to invite you to learn about and reflect on the most advanced scientific insights into the current conditions of the planetary environment and the transitions to sustainable futures."),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,'Channel 1 "Anthropocene"'),o.createElement(t.br),"\n","What is happening to the Planet's environment?"),"\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"What is the Anthropocene?"),"\n",o.createElement(t.li,null,"Industrial Revolution"),"\n",o.createElement(t.li,null,"Great Acceleration"),"\n",o.createElement(t.li,null,"Climate Change"),"\n",o.createElement(t.li,null,"Sixth Mass Extinction"),"\n",o.createElement(t.li,null,"Capitalocene"),"\n",o.createElement(t.li,null,"Human-Nature Relationship"),"\n"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Music: Benyamin Nuss"),"\n",o.createElement(t.li,null,"Voiceover: Della Z Duncan (English), Nao Kaneko (Japanese)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,'Channel 2 "Planetary Boundaries"'),o.createElement(t.br),"\n","What is the safe and just operating space for humanity?"),"\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Planetary Boundaries"),"\n",o.createElement(t.li,null,"Tipping Points"),"\n",o.createElement(t.li,null,"Nine Boundaries"),"\n",o.createElement(t.li,null,"16 Tipping Elements"),"\n",o.createElement(t.li,null,"Food and Our Planet"),"\n",o.createElement(t.li,null,"Safe and Just Boundaries"),"\n"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Music: Benyamin Nuss"),"\n",o.createElement(t.li,null,"Voiceover: Marc Thompson (English), Koki Yamamoto (Japanese)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,'Channel 3 "Transitions"'),o.createElement(t.br),"\n","What are the pathways for a human life in harmony with nature?"),"\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Transitions of Our Time"),"\n",o.createElement(t.li,null,"Towards a Climate Resilient World"),"\n",o.createElement(t.li,null,"Restoring the Biodiversity and the Ecosystem"),"\n",o.createElement(t.li,null,"Doughnut Economics"),"\n",o.createElement(t.li,null,"The Limits to Growth and the Earth for All"),"\n",o.createElement(t.li,null,"Designing the Transitions"),"\n",o.createElement(t.li,null,"Sharing Commitments for Ocean Stewardship"),"\n",o.createElement(t.li,null,"Transforming Ourselves, in Harmony with Nature"),"\n"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Music: Wac-Lounge"),"\n",o.createElement(t.li,null,"Voiceover: Aja Barber (English), Ayaka Hironaka (Japanese)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"MUSIC:")),"\n",o.createElement(t.p,null,"5 channels of extremely unique sound journeys that guide you into immer
2sive reflections on our being on the planet."),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"Meditate I"),": Wac-Lounge",o.createElement(t.br),"\n",o.createElement(t.strong,null,"Vibe"),": Michael Louis",o.createElement(t.br),"\n",o.createElement(t.strong,null,"Meditate II"),": analog_mannequin",o.createElement(t.br),"\n",o.createElement(t.strong,null,"Piano"),": Benyamin Nuss",o.createElement(t.br),"\n",o.createElement(t.strong,null,"Focus"),": Michael Louis"),"\n",o.createElement(t.p,null,"FOCUS button will start playing the Lo-Fi music to accompany you during work or study."))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},1004:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",strong:"strong",br:"br",ol:"ol",li:"li",ul:"ul"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"チャンネル"),"\n",o.createElement(t.p,null,"APMA-2000 は3つのナラティヴ・チャンネルと5つの音楽チャンネルを受信します。"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"ナラティヴ:")),"\n",o.createElement(t.p,null,"音楽とナレーションによって人間と自然にかかわる最新の科学的知見と、持続可能な未来へのトランジションについて考えるための3つのチャンネル。"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"チャンネル1 「人新世」"),o.createElement(t.br),"\n","私たちの惑星の環境に何が起きているのか?"),"\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"人新世とは何か?"),"\n",o.createElement(t.li,null,"産業革命"),"\n",o.createElement(t.li,null,"大加速"),"\n",o.createElement(t.li,null,"気候変動"),"\n",o.createElement(t.li,null,"第 6 の大量絶滅"),"\n",o.createElement(t.li,null,"資本主義の時代"),"\n",o.createElement(t.li,null,"人間と自然の関係"),"\n"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"音楽: Benyamin Nuss"),"\n",o.createElement(t.li,null,"ナレーション: 金子奈緒 (日本語) 、Della Z Duncan (英語)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"チャンネル2 「プラネタリー・バウンダリーズ」"),o.createElement(t.br),"\n","人類のための安全で公正な活動領域とは何か?"),"\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"プラネタリー・バウンダリーズ"),"\n",o.createElement(t.li,null,"ティッピング・ポイント"),"\n",o.createElement(t.li,null,"9つの限界値"),"\n",o.createElement(t.li,null,"16 のティッピング・エレメント"),"\n",o.createElement(t.li,null,"食とわたしたちの地球"),"\n",o.createElement(t.li,null,"安全で公正なバウンダリー"),"\n"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"音楽: Benyamin Nuss"),"\n",o.createElement(t.li,null,"ナレーション: 山本航生 (日本語)、Marc Thompson (英語)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"チャンネル3「トランジション」"),o.createElement(t.br),"\n","自然と調和する人間の生のためのパスウェイとはどのようなものか?"),"\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"私たちの時代のトランジション"),"\n",o.createElement(t.li,null,"気候レジリエントな世界に向かって"),"\n",o.createElement(t.li,null,"生物多様性と生態系を回復する"),"\n",o.createElement(t.li,null,"ドーナツ経済学"),"\n",o.createElement(t.li,null,"成長の限界と万人のための地球"),"\n",o.createElement(t.li,null,"トランジションをデザインする"),"\n",o.createElement(t.li,null,"海洋スチュワードシップのための約束"),"\n",o.createElement(t.li,null,"自然と調和する人間への変革"),"\n"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"音楽: Wac-Lounge"),"\n",o.createElement(t.li,null,"ナレーション: 弘中綾香 (日本語)、 Aja Barber (英語)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"音楽:")),"\n",o.createElement(t.p,null,"地球における人間のあり方についての没入的思索をうながす、きわめてユニークなサウンド・ジャーニーを提供する5つのチャンネル。"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"Meditate I"),": Wac-Lounge",o.createElement(t.br),"\n",o.createElement(t.strong,null,"Vibe"),": Michael Louis",o.createElement(t.br),"\n",o.createElement(t.strong,null,"Meditate II"),": analog_mannequin",o.createElement(t.br),"\n",o.createElement(t.strong,null,"Piano"),": Benyamin Nuss",o.createElement(t.br),"\n",o.createElement(t.strong,null,"Focus"),": Michael Louis"),"\n",o.createElement(t.p,null,"FOCUS ボタンを押すと、勉強や仕事の時間にあなたに寄り添う Lo-Fi 音楽を再生します。"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},1155:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"CONTACT US"),"\n",o.createElement(t.p,null,"Please contact Hitachi's Research and Development Group for any inquiries regarding this website."),"\n",o.createElement(t.p,null,"URL: ",o.createElement(t.a,{href:"https://www8.hitachi.co.jp/inquiry/hitachi-ltd/hqrd/rd/en/form.jsp"},"https://www8.hitachi.co.jp/inquiry/hitachi-ltd/hqrd/rd/en/form.jsp")))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},8623:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",a:"a"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"お問い合わせ"),"\n",o.createElement(t.p,null,"本ウェブサイトについては、日立製作所研究開発グループの「お問い合わせ」フォームにご連絡ください。"),"\n",o.createElement(t.p,null,"URL: ",o.createElement(t.a,{href:"https://www8.hitachi.co.jp/inquiry/hqrd/rd/jp/form.jsp"},"https://www8.hitachi.co.jp/inquiry/hqrd/rd/jp/form.jsp")))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},3669:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",ul:"ul",li:"li"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"COPYRIGHT"),"\n",o.createElement(t.p,null,"Copyright © 2023 Hitachi, Ltd. All rights reserved."),"\n",o.createElement(t.p,null,"The content and materials on this website, including but not limited to text, images, graphics, logos, and audio are the property of Hitachi, Ltd. unless otherwise indicated."),"\n",o.createElement(t.p,null,"The music and voice used on this website belong to their respective artists and are protected under their copyrights."),"\n",o.createElement(t.p,null,"The scientific diagrams featured on this website belong to the scientists and research organizations credited, and their usage is subject to their respective copyrights."),"\n",o.createElement(t.p,null,"The scientific findings and research mentioned on this website are the intellectual property of the scientists and researchers whose work is cited. Hitachi, Ltd. acknowledges and respects their contributions."),"\n",o.createElement(t.p,null,"Some of the photographic images used in the website without credit are licensed by Unsplash."),"\n",o.createElement(t.p,null,"Any unauthorized reproduction, distribution, or use of the content and materials on this website is strictly prohibited and may violate copyright laws."),"\n",o.createElement(t.p,null,"For inquiries regarding the use of any materials or to request permissions, please contact Hitachi, Ltd."),"\n",o.createElement(t.p,null,"The production team gratefully acknowledges the support and contributions of the following individuals and organizations for their assistance and support in the research and production of this website:"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"IPCC (Intergovernmental Panel on Climate Change)"),"\n",o.createElement(t.li,null,"IPBES (Intergovernmental Science-Policy Platform on Biodiversity and Ecosystem Services)"),"\n",o.createElement(t.li,null,"The Club of Rome"),"\n",o.createElement(t.li,null,"Stockholm Resilience Centre"),"\n",o.createElement(t.li,null,"Potsdam Institute for Climate Impact Research"),"\n",o.createElement(t.li,null,"SeaBOS"),"\n",o.createElement(t.li,null,"Oxfam International"),"\n",o.createElement(t.li,null,"Wendy Broadgate (Future Earth)"),"\n",o.createElement(t.li,null,"Frank Geels (University of Manchester)"),"\n",o.createElement(t.li,null,"Terry Irwin (Carnegie Mellon University)"),"\n",o.createElement(t.li,null,"Embassy of Sweden in Japan"),"\n",o.createElement(t.li,null,"Dan Hill (University of Melbourne)"),"\n"),"\n",o.createElement(t.p,null,"References to academic research on this website do not imply endorsement by the researchers, authors, or institutions involved. The content presented on this website is carefully constructed by the production team for educational purpose but should not be construed as representing the views of the referenced researchers, authors, or institutions."),"\n",o.createElement(t.p,null,"Visitors of the website are encouraged to critically evaluate the information and seek further research for a deeper understanding of the topics on the planetary environment."))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},8821:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",ul:"ul",li:"li"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"著作権"),"\n",o.createElement(t.p,null,"Copyright © 2023 Hitachi, Ltd. All rights reserved."),"\n",o.createElement(t.p,null,"このウェブサイトのコンテンツと素材は、別に明示しない限り、日立製作所が所有します。これにはテキスト、イメージ、グラフィクス、ロゴ、オーディオなどが含まれます。"),"\n",o.createElement(t.p,null,"このウェブサイトで使用される音楽と声は、それぞれのアーティストに帰属し、著作権によって保護されています。"),"\n",o.createElement(t.p,null,"このウェブサイトで取り上げている科学的図表は、クレジットされた科学者に帰属し、その使用はその著作権の対象となります。"),"\n",o.createElement(t.p,null,"このウェブサイトで言及された科学的知見や研究は、その著作が引用されている科学者や研究者が所有します。日立製作所はその貢献に謝意と敬意を示します。"),"\n",o.createElement(t.p,null,"このウェブサイトで使用されている写真のうちクレジットのないものの一部は、Unsplash によってライセンスされたものです。"),"\n",o.createElement(t.p,null,"このウェブサイトのコンテンツや素材を許可なく複製、頒布、転用することは禁止されており、著作権にかかわる法律を侵害する可能性があります。本ウェブサイトの素材の使用等に関して、許可が必要な場合は、別に掲げる日立製作所の担当者にお問い合わせください。"),"\n",o.createElement(t.p,null,"制作チームは、本ウェブサイトの研究と制作に関するご支援について、下記の個人と団体に感謝の意を表します。"),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"IPCC(気候変動に関する政府間パネル)"),"\n",o.createElement(t.li,null,"IPBES (生物多様性及び生態系サービスに関する政府間科学・政策プラットフォーム)"),"\n",o.createElement(t.li,null,"ローマ・クラブ"),"\n",o.createElement(t.li,null,"ストックホルム・レジリエンス・センター"),"\n",o.createElement(t.li,null,"ポツダム気候影響研究所"),"\n",o.createElement(t.li,null,"SeaBOS"),"\n",o.createElement(t.li,null,"Oxfam International"),"\n",o.createElement(t.li,null,"Wendy Broadgate (Future Earth)"),"\n",o.createElement(t.li,null,"Frank Geels(マンチェスター大学)"),"\n",o.createElement(t.li,null,"Terry Irwin(カーネギー・メロン大学)"),"\n",o.createElement(t.li,null,"在日スウェーデン大使館"),"\n",o.createElement(t.li,null,"Dan Hill(メルボルン大学)"),"\n"),"\n",o.createElement(t.p,null,"このウェブサイトにおける学術研究への言及は、研究者、著者、研究機関によってその内容が裏付けされていることを意味しません。このウェブサイトにおいて示されたコンテンツは、教育的な目的のために制作チームによって注意深く構築されたものですが、言及された研究者、著者、研究機関の意見を代表するものではありません。"),"\n",o.createElement(t.p,null,"このウェブサイトを訪問される方には、提示された情報を批判的に評価するとともに、地球環境にかかわるトピックに関する理解を深めるために、さらなる研究を進めていただければと存じます。"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},4119:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",strong:"strong",ul:"ul",li:"li"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"DIALOGUES"),"\n",o.createElement(t.p,null,"The concepts, texts and visuals of this project are inspired by the dialogues with some of the most important and influential scholars of the Earth system science and anthropology. We would like to express our enormous gratitude to the following individuals:"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"GERMANY")),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Johan Rockström (Director, Potsdam Institute for Climate Impact Research)"),"\n",o.createElement(t.li,null,"Jonathan Donges (Potsdam Institute for Climate Impact Research)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"SWEDEN")),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Henrik Österblom (Professor / Science Director, Stockholm Resilience Centre)"),"\n",o.createElement(t.li,null,"Magnus Nyström (Professor / Deputy Science Director, Stockholm Resilience Centre)"),"\n",o.createElement(t.li,null,"Per Olsson (Associate Professor, Stockholm Resilience Centre)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"ICELAND")),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Gísli Pálsson (Emeritus Professor, University of Iceland)"),"\n"),"\n",o.createElement(t.p,null,"* The titles and positions are at the time of October 2022."),"\n",o.createElement(t.p,null,"** In the Channel 1 Track 2, the English narration incorrectly refers to the work of Dr. Gísli Pálsson. The correct title of his book is “The Human Age.” We sincerely apologize for the mistake."))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},9331:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",strong:"strong",ul:"ul",li:"li"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"対話"),"\n",o.createElement(t.p,null,"このプロジェクトにかã
2‹ã‚ã‚‹ã‚³ãƒ³ã‚»ãƒ—ト、テキスト、そしてビジュアルは、地球システム科学と人類学にかかわる重要かつ影響力のある研究者の方々との対話にインスピレーションを得ました。特に下記の方々に心からの御礼を申し上げます。"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"ドイツ")),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Johan Rockström (ポツダム気候影響研究所 所長)"),"\n",o.createElement(t.li,null,"Jonathan Donges (ポツダム気候影響研究所)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"スウェーデン")),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Henrik Österblom (ストックホルム・レジリエンス・センター教授・科学部長)"),"\n",o.createElement(t.li,null,"Magnus Nyström (ストックホルム・レジリエンス・センター教授・副科学部長)"),"\n",o.createElement(t.li,null,"Per Olsson (ストックホルム・レジリエンス・センター 准教授)"),"\n"),"\n",o.createElement(t.p,null,o.createElement(t.strong,null,"アイスランド")),"\n",o.createElement(t.ul,null,"\n",o.createElement(t.li,null,"Gísli Pálsson (アイスランド大学 名誉教授)"),"\n"),"\n",o.createElement(t.p,null,"* いずれも役職は 2022 å¹´ 10 月当時。"),"\n",o.createElement(t.p,null,"** 英語版チャンネル1・トラック 2 においてギスリ・パルソン博士の著作名の説明が誤っておりました。正しくは The Human Age です。ここに訂正し、心よりお詫び申し上げます。"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},6124:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(7003);function i(e){const t=Object.assign({h1:"h1",ol:"ol",li:"li"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"HOW TO USE"),"\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"Push “POWER” to turn on APMA-2000."),"\n",o.createElement(t.li,null,"Select language."),"\n",o.createElement(t.li,null,"Drag radio tuner lamp or turn dial to tune in to narratives or music channels."),"\n",o.createElement(t.li,null,"Listen and reflect / contemplate / meditate on our life on the planet."),"\n",o.createElement(t.li,null,"Control tracks - Backward, forward, pause, etc."),"\n",o.createElement(t.li,null,"Cards are printed to help learning. touch them to enlarge."),"\n"),"\n",o.createElement(a.A))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},2222:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540),a=n(7003);function i(e){const t=Object.assign({h1:"h1",ol:"ol",li:"li"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"使い方"),"\n",o.createElement(t.ol,null,"\n",o.createElement(t.li,null,"APMA-2000 の電源を入れる。"),"\n",o.createElement(t.li,null,"言語を選ぶ。"),"\n",o.createElement(t.li,null,"ラジオ・チューナーのランプをドラッグするか、ダイアルを回して、ナラティヴや音楽のチャンネルをさがす。"),"\n",o.createElement(t.li,null,"音声を聞きながら、この惑星における人間のあり方について、見つめなおす/深く思いをはせる/静かに考える。"),"\n",o.createElement(t.li,null,"トラックをコントロールする。巻き戻し、早送り、一時停止などはここで。"),"\n",o.createElement(t.li,null,"学びを助けるカードが印刷されます。クリックすると拡大します。"),"\n"),"\n",o.createElement(a.A))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(i,e)):i(e)}},7999:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"APMA-2000"),"\n",o.createElement(t.p,null,"Audio Planetarium Module for the Anthropoce
2ne"),"\n",o.createElement(t.p,null,"Hitachi Research and Development Group"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},667:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"APMA-2000"),"\n",o.createElement(t.p,null,"Audio Planetarium Module for the Anthropocene"),"\n",o.createElement(t.p,null,"人新世のための音響プラネタリウム・モジュール"),"\n",o.createElement(t.p,null,"日立製作所 研究開発グループ"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},3587:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",br:"br"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"PRODUCTION TEAM"),"\n",o.createElement(t.p,null,"CONCEPT, RESEARCH, AND NARRATIVE:",o.createElement(t.br),"\n","Koji Sasaki (Hitachi)"),"\n",o.createElement(t.p,null,"WEB DESIGN & DEVELOPMENT:",o.createElement(t.br),"\n","Michael Pecirno (Takram), Yosuke Ushigome (Takram)"),"\n",o.createElement(t.p,null,"MUSIC AND NARRATIVE DIRECTION:",o.createElement(t.br),"\n","Koji Sasaki (Hitachi)"),"\n",o.createElement(t.p,null,"SOUND ENGINEERING:",o.createElement(t.br),"\n","Sam Conran, Takamitsu Kashima (Sounds Next), Junya Suzuki (Sound Arts)"),"\n",o.createElement(t.p,null,"JAPANESE RECORDING SUPPORT:",o.createElement(t.br),"\n","Makiko Nagakura-Stapf (FM BIRD)"),"\n",o.createElement(t.p,null,"SOUND DESIGN:",o.createElement(t.br),"\n","Sam Conran"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},5263:function(e,t,n){"use strict";n.r(t);var r=n(8453),o=n(6540);function a(e){const t=Object.assign({h1:"h1",p:"p",br:"br"},(0,r.RP)(),e.components);return o.createElement(o.Fragment,null,o.createElement(t.h1,null,"制作チーム"),"\n",o.createElement(t.p,null,"全体コンセプト、リサーチ、テキスト:",o.createElement(t.br),"\n","佐々木剛二(日立製作所)"),"\n",o.createElement(t.p,null,"ウェブ・デザインと開発:",o.createElement(t.br),"\n","Michael Pecirno(Takram), 牛込陽介(Takram)"),"\n",o.createElement(t.p,null,"音楽とナラティヴのディレクション:",o.createElement(t.br),"\n","佐々木剛二(日立製作所)"),"\n",o.createElement(t.p,null,"サウンド・エンジニアリング:",o.createElement(t.br),"\n","Sam Conran, 鹿島隆充(サウンズネクスト), 鈴木惇也(サウンド・アーツ)"),"\n",o.createElement(t.p,null,"日本語ナレーション収録支援:",o.createElement(t.br),"\n","長倉シュタッフ牧子 (FM BIRD)"),"\n",o.createElement(t.p,null,"サウンド・デザイン:",o.createElement(t.br),"\n","Sam Conran"))}t.default=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,r.RP)(),e.components);return t?o.createElement(t,e,o.createElement(a,e)):a(e)}},7003:function(e,t,n){"use strict";var r=n(6540),o=n(2532);t.A=()=>r.createElement(o.S,{src:"../images/machine_diagram.jpg",alt:"Machine Diagram",placeholder:"blurred",height:480,objectFit:"contain",objectPosition:"left center",__imageData:n(8503)})},5307:function(__unused_webpack_module,__webpack_exports__){"use strict";__webpack_exports__.A=parent=>{var initialCode="",sandbox=createSandbox(initialCode),addToContext=(e,t)=>
2{sandbox=createSandbox(initialCode+=`\n      var ${e} = ${t}\n    `)};return{addToContext:addToContext,eval:e=>sandbox.eval(e)};function createSandbox(initial){eval(initial);var localEval=function(code){eval(code)};return{eval:localEval}}}},5968:function(e,t,n){"use strict";n.r(t),n.d(t,{Head:function(){return Lh},default:function(){return Ph}});var r=n(6540),o=n(4472),a=n(5556),i=n.n(a),s=n(9410);var l={};o.ThemeContext.Extend=function(e){var t=e.children,n=e.value;return r.createElement(o.ThemeContext.Consumer,null,(function(e){return r.createElement(o.ThemeContext.Provider,{value:(0,s.$N)(e,n)},t)}))},o.ThemeContext.Extend.propTypes={children:i().node.isRequired,value:i().shape({}).isRequired},o.ThemeContext.propTypes=l;var c={},u=r.createContext(void 0);u.propTypes=c;var d=r.createContext("object"==typeof document?document.body:void 0),h=n(7615),m=n(2469),p=n(1941),f=function(e){var t=(0,r.useRef)(null);return(0,r.useImperativeHandle)(e,(function(){return t.current}),[t]),t},A=n(937),g=n(9315),v=o.default.div.withConfig(g.OY).withConfig({displayName:"StyledGrommet",componentId:"sc-19lkkz7-0"})([""," "," "," "," ",""],(function(e){return!e.plain&&g.BI}),(function(e){return e.full&&("min"===e.full?(0,o.css)(["min-height:100vh;"]):(0,o.css)(["width:100vw;height:100vh;overflow:auto;"]))}),(function(e){return e.theme.global.font.face}),(function(e){return e.theme.grommet.extend}),(function(e){return e.cssVars&&Object.keys(e.theme.global.colors).filter((function(t){return"string"==typeof e.theme.global.colors[t]})).map((function(t){return"--"+t+": "+e.theme.global.colors[t]+";"})).join("\n")})),y=r.createContext(void 0),b=n(6535),E=JSON.parse('{"button":{"busy":"button is in a busy state","success":"button action succeeded"},"calendar":{"previousMove":"Moved to {date}","previous":"Go to {date}","nextMove":"Moved to {date}","next":"Go to {date}"},"carousel":{"previous":"Go to slide {slide}","next":"Go to slide {slide}","jump":"Jump to slide {slide}"},"dateInput":{"openCalendar":"Press space to open calendar","enterCalendar":"Calendar is open, use arrow keys and enter to select a date.","exitCalendar":"Exited calendar dialog"},"dataFilters":{"clear":"Clear filters","heading":"Filters","open":"Open filters","openSet":{"singular":"Open filters, {number} filter applied","plural":"Open filters, {number} filters applied"}},"dataForm":{"submit":"Apply filters"},"dataSearch":{"label":"Search","open":"Open search"},"dataSort":{"ascending":"Ascending","by":"Sort by","descending":"Descending","direction":"Sort direction","open":"Open sort"},"dataSummary":{"filtered":"{filteredTotal} results of {total} {items}","filteredSingle":"{filteredTotal} result of {total} {items}","items":"items","itemsSingle":"item","selected":"{selected} selected","total":"{total} {items}","totalSingle":"{total} {items}"},"dataTableColumns":{"open":"Open column selector","order":"Order columns","select":"Select columns","tip":"Manage columns"},"dataTableGroupBy":{"clear":"Clear group","label":"Group by"},"dataView":{"label":"View"},"fileInput":{"browse":"browse","dropPrompt":"Drop file here or","dropPromptMultiple":"Drop files here or","files":"files","maxFile":"Attach a maximum of {max} files only.","maxSizeSingle":"The file is too large. Select a file no larger than {maxSize}.","maxSizeMultiple":{"singular":"One file is too large. Select files which are no larger than {maxSize}.","plural":"{numOfFiles} files are too large. Select files which are no larger than {maxSize}."},"remove":"remove","removeAll":"remove all"},"form":{"invalid":"invalid","required":"required"},"formField":{"maxCharacters":{"remaining":{"singular":"{number} character left","plural":"{number} characters left"},"overLimit":{"singular":"{number} character over limit","plural":"{number} characters over limit"}}},"input":{"readOnlyCopy":{"prompt":"Copy to clipboard","validation":"Copied"}},"menu":{"openMenu":"Open Menu","closeMenu":"Close Menu"},"pagination":{"stepLabel":"Items per page","summary":"Showing {start}-{end} of {total}","summaryNoItems":"0 items"},"rangeSelector":{"lower":"Lower Bounds","upper":"Upper Bounds"},"select":{"multiple":"multiple","selected":"; Selected: {currentSelectedValue}"},"selectMultiple":{"clearAll":"Clear All","clearAllA11y":"{selected} options selected. Clear all?","open":"Open drop","optionNotSelected":"{optionLabel} not selected","optionSelected":"{optionLabel} selected","search":"Search to filter options","selectAll":"Select All","selectAllA11y":"Select all {total} options","selectDrop":"Select dropdown","selected":"{selected} selected","selectedOfTotal":"{selected} selected of {total}","selectedOptions":"Selected options","showMore":"+ {remaining} more","summarizedValue":"{selected} selected"},"skipLinks":{"skipTo":"Skip To:"},"tabs":{"tabContents":"Tab Contents"}
2,"textInput":{"enterSelect":"(Press Enter to Select)","suggestionsCount":"suggestions available","suggestionsExist":"This input has suggestions use arrow keys to navigate","suggestionIsOpen":"Suggestions drop is open, continue to use arrow keys to navigate"},"video":{"audioDescriptions":"video audio description","captions":"closed captions","closeMenu":"close menu","description":"video audio description","fullScreen":"full screen","progressMeter":"video progress","scrubber":"scrubber","openMenu":"open menu","pauseButton":"pause","playButton":"play","volumeDown":"volume down","volumeUp":"volume up"}}'),w=function(e,t){var n,r=(null==(n=e.id)?void 0:n.split("."))||[],o=r[(null==r?void 0:r.length)-1],a=t;r.forEach((function(e){"object"==typeof a&&(a=a[e])}));var i=(e.messages?e.messages[o]:void 0)||a||e.defaultMessage,s=e.values,l=i,c=null==i?void 0:i.match(/\{(.+?)\}/g);return null==c||c.forEach((function(e){var t=e.substr(1,e.length-2),n=s[t];l=l.replace(e,n)})),s?l:i},x={messages:E,format:function(e){return w(e,E)}},k=r.createContext(x);var _={},C=r.createContext((function(){})),S=function(){return(0,r.useContext)(C)},M=function(e){var t=e.onAnalytics,n=e.children,o=(0,r.useRef)(),a=(0,r.useCallback)((function(e){return t&&t(e)}),[t]);return(0,r.useEffect)((function(){var e;return t&&(e=new window.MutationObserver((function(){var e,t=null==(e=window)||null==(e=e.location)?void 0:e.href,n=o.current;t!==n&&(o.current=t,a({type:"pageView",url:t,previousUrl:n}))}))).observe(document,{subtree:!0,childList:!0}),function(){var t;return null==(t=e)?void 0:t.disconnect()}}),[a,t]),r.createElement(C.Provider,{value:a},n)},T=["children","full","containerTarget","theme","options","messages","onAnalytics"];function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(null,arguments)}var B=(0,o.createGlobalStyle)(["body{margin:0;}"]),j={},O=(0,r.forwardRef)((function(e,t){var n=e.children,a=e.full,i=e.containerTarget,l=void 0===i?"object"==typeof document?document.body:void 0:i,c=e.theme,g=e.options,x=void 0===g?j:g,_=e.messages,C=e.onAnalytics,S=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,T),O=e.background,P=e.dir,L=e.themeMode,z=e.userAgent,D=(0,r.useState)(),R=D[0],N=D[1],F=(0,r.useMemo)((function(){var e=(0,s.$N)(A.E,c||{});c&&c.menu&&c.menu.drop&&c.menu.drop.align&&(delete e.menu.drop.align,e.menu.drop.align=c.menu.drop.align);var t=e.global.colors.background;e.dark="dark"===(L||e.defaultMode),"auto"===L&&"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(e.dark=!0);var n=(0,m.$2)(O||t,e);return e.dark=(0,p.hG)(n,e),e.baseBackground=O||t,e.background=e.baseBackground,P&&(e.dir=P),e}),[O,P,L,c]),V=(0,r.useMemo)((function(){var e=(0,s.$N)(E,(null==_?void 0:_.messages)||{});return{messages:e,format:function(t){var n=(null==_?void 0:_.format)&&_.format(t);return void 0!==n?n:w(t,e)}}}),[_]);(0,r.useEffect)((function(){var e=function(){N((0,h._y)(document.body.clientWidth,F))};return window.addEventListener("resize",e),e(),function(){window.removeEventListener("resize",e)}}),[F]);var Q=R||function(e,t){if(e)return/(tablet|ipad|playbook|silk)|(android(?!.*mobile))/i.test(e)?(0,h.Gt)("tablet",t):/Mobile|iPhone|Android/.test(e)?(0,h.Gt)("phone",t):(0,h.Gt)("computer",t)}(z,F)||F.global.deviceBreakpoints.tablet,Y=f(t),U=(0,r.useRef)([]);(0,r.useEffect)((function(){Y.current&&U.current.push(Y.current)}),[Y]);var W=(0,r.useMemo)((function(){return{roots:U}}),[]);return r.createElement(o.ThemeContext.Provider,{value:F},r.createElement(u.Provider,{value:Q},r.createElement(y.Provider,{value:W},r.createElement(d.Provider,{value:l},r.createElement(b.k.Provider,{value:x},r.createElement(k.Provider,{value:V},r.createElement(M,{onAnalytics:C},r.createElement(v,I({full:a},S,{ref:Y}),n),a&&r.createElement(B,null))))))))}));O.displayName="Grommet",O.propTypes=_;var P=n(776),L=n(4196),z=n(1651),D=n.n(z);var R=e=>{const t=r.useRef(e);return r.useEffect((()=>{t.current=e})),t};const N=(e,t=100,n=!1)=>{const o=R(e),a=r.useRef(),i=[t,n,o];function s(){a.current&&clearTimeout(a.current),a.current=void 0}function l(){a.current=void 0}return r.useEffect((()=>s),i),r.useCallback((function(){const e=arguments,{current:r}=a;if(void 0===r&&n)return a.current=setTimeout(l,t),o.current.apply(null,e);r&&clearTimeout(r),a.current=setTimeout((()=>{a.current=void 0,o.current.apply(null,e)}),t)}
2),i)};var F=function(e,t,n,o){const a=r.useRef(n),i=r.useRef(o);r.useEffect((()=>{a.current=n,i.current=o})),r.useEffect((()=>{const n=e&&"current"in e?e.current:e;if(!n)return;let r=0;function o(...e){r||a.current.apply(this,e)}n.addEventListener(t,o);const s=i.current;return()=>{r=1,n.removeEventListener(t,o),s&&s()}}),[e,t])};const V={},Q="undefined"==typeof window?null:window,Y=Q&&void 0!==Q.visualViewport?Q.visualViewport:null,U=()=>[document.documentElement.clientWidth,document.documentElement.clientHeight],W=function(e){void 0===e&&(e=V);const{wait:t,leading:n,initialWidth:o=0,initialHeight:a=0}=e,[i,s]=((e,t,n)=>{const o=r.useState(e);return[o[0],N(o[1],t,n)]})("undefined"==typeof document?[o,a]:U,t,n),l=()=>s(U);return F(Q,"resize",l),F(Y,"resize",l),F(Q,"orientationchange",l),i};var G=(0,s.ol)({global:{colors:{background:{light:"#ffffff",dark:"#000000"}},backgrounds:{stack:{color:"light-1",image:"url(https://v2.grommet.io/img/stak-hurrah.svg)"},"gradient-purple-blue":{color:"neutral-3",image:"linear-gradient(\n          #3D138D 0%, /* neutral-2 */\n          #00739D 100% /* neutral-3 */\n        );",rotate:145},"gradient-purple-gold":{color:"neutral-2",image:"linear-gradient(\n          #3D138D 0%, /* neutral-2 */\n          #EB0F79 75%,\n          #FFCA58 100% /* accent-4 */\n        );"}},font:{family:'-apple-system,\n         BlinkMacSystemFont, \n         "Segoe UI", \n         Roboto, \n         Oxygen, \n         Ubuntu, \n         Cantarell, \n         "Fira Sans", \n         "Droid Sans",  \n         "Helvetica Neue", \n         Arial, sans-serif,  \n         "Apple Color Emoji", \n         "Segoe UI Emoji", \n         "Segoe UI Symbol"'}},button:{extend:(0,o.css)(["",""],(function(e){return!e.plain&&"font-weight: bold;"}))}});var H=(0,n(7240).deepMerge)(G,{global:{font:{family:"AkkuratMono"},colors:{buttonLabel:"#979797",ledRed:"#F88C83",ledGreen:"#B6F2D8",darkAccent:"#2E2E2E",focus:"#B6F2D8",ink:"#3C3C3C",brand:"#F88C83"},size:{nominalMachineWidth:1140,nominalMachineHeight:702,machinePadding:24,nominalMachineWidthMobile:320,nominalMachineHeightMobile:462,machinePaddingMobile:0}},anchor:{color:"#3C3C3C",fontWeight:400,textDecoration:"underline",hover:{extend:o.css`
3        opacity: 0.6;
4      `}}});const X=r.createContext(1),Z=e=>{let{children:t}=e;const{0:n,1:o}=(0,r.useState)(1),[a,i]=W(),s="small"===(0,r.useContext)(u);return(0,r.useEffect)((()=>{if(s){const{nominalMachineWidthMobile:e,nominalMachineHeightMobile:t,machinePaddingMobile:n}=H.global.size,r=e/t;o((a/i<r?a-2*n:r*(i-2*n))/e)}else{const{nominalMachineWidth:e,nominalMachineHeight:t,machinePadding:n}=H.global.size,r=e/t;o((a/i<r?a-2*n:r*(i-2*n))/e)}}),[a,i,s]),r.createElement(X.Provider,{value:{scale:n,setScale:o}},t)},q=()=>(0,r.useContext)(X);function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J.apply(null,arguments)}var K=function(e){var t=J({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e));return r.createElement(P.a,J({as:"main",fill:"vertical",flex:"grow",overflow:"auto"},t))};var $=e=>{let{children:t,setMobile:n}=e;const o="small"===(0,r.useContext)(u);return(0,r.useEffect)((()=>{n(o)}),[o]),r.createElement(K,null,t)},ee=(0,o.css)([""," "," flex-grow:1;display:flex;"],(function(e){return!0===e.fillContainer||"horizontal"===e.fillContainer?"\n        width: 100%;\n        max-width: none;\n      ":""}),(function(e){return!0===e.fillContainer||"vertical"===e.fillContainer?"height: 100%;":""})),te=o.default.div.withConfig(g.OY).withConfig({displayName:"StyledStack",componentId:"sc-ajspsk-0"})(["position:relative;"," "," ",""],g.m,(function(e){return e.fillContainer&&ee}),(function(e){return e.theme.stack&&e.theme.stack.extend})),ne={fill:"\n    top: 0;\n    left: 0;\n    bottom: 0;\n    right: 0;\n  ",center:"\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n  ",left:"\n    top: 50%;\n    left: 0;\n    transform: translateY(-50%);\n  ",right:"\n    top: 50%;\n    right: 0;\n    transform: translateY(-50%);\n  ",top:"\n    top: 0;\n    left: 50%;\n    transform: translateX(-50%);\n  ",bottom:"\n    bottom: 0;\n    left: 50%;\n    transform: translateX(-50%);\n  ","top-left":"\n    top: 0;\n    left: 0;\n  ","bottom-left":"\n    bottom: 0;\n    left: 0;\n  ","top-right":"\n    top: 0;\n    right: 0;\n  ","bottom-right":"\n    bottom: 0;\n    right: 0;\n  "},re=o.default.div.withConfig(g.OY).withConfig({displayName:"StyledStack__StyledStackLayer",componentId:"sc-ajspsk-1"})(["position:",";"," "," "," ",""],(function(e){return e.guiding?"relative":"absolute"}),(function(e){return e.guiding&&"display: block;"}),(function(e){return!e.guiding&&ne[e.anchor||"fill"]+";"}),(function(e){return e.fillContainer&&"\n    width: 100%;\n    height: 100%;\n  "}),(function(e){return!e.interactive&&"pointer-events: none;"}));var oe={},ae=n(6039),ie=["anchor","children","fill","guidingChild","interactiveChild"];function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},se.apply(null,arguments)}var le=(0,r.forwardRef)((function(e,t){var n=e.anchor,o=e.children,a=e.fill,i=e.guidingChild,s=e.interactiveChild,l=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,ie),c=(0,ae.i)().passThemeFlag,u=r.Children.toArray(o).filter((function(e){return e})),d=function(e){var t=e;return"first"!==t&&t?"last"===t&&(t=u.length-1):t=0,t},h=d(i),m=s&&d(s),p=u.map(function(e){var t=e.anchor,n=e.fill,o=e.guidingIndex,a=e.interactiveChild,i=e.interactiveIndex;return function(e,s){var l=void 0===a||i===s,c=s===o?{guiding:!0,fillContainer:n}:{anchor:t};return r.createElement(re,se({key:s,interactive:l},c),e)}}({anchor:n,fill:a,guidingIndex:h,interactiveChild:s,interactiveIndex:m}));return r.createElement(te,se({ref:t,fillContainer:a},c,l),p)}));le.displayName="Stack",le.propTypes=oe;const ce="undefined"!=typeof document,ue=ce?r.useLayoutEffect:r.useEffect;function de(){const e=(0,r.useRef)(!1);return ue((()=>(e.current=!0,()=>{e.current=!1})),[]),e}const he=e=>e;class me{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}const pe=["prepare","read","update","preRender","render","postRender"];const{schedule:fe,cancel:Ae,state:ge,steps:ve}=function(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=pe.reduce(((e,t)=>(e[t]=function(e){let t=new me,n=new me,r=0,o=!1,a=!1;const i=new WeakSet,s={schedule:(e,a=!1,s=!1)=>{const l=s&&o,c=l?t:n;return a&&i.add(e),c.add(e)&&l&&o&&(r=t.order.length),e},cancel:e=>{n.remove(e),i.delete(e)},process:l=>{if(o)a=!0;else{if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let n=0;n<r;n++){const r=t.order[n];r(l),i.has(r)&&(s.schedule(r),e())}o=!1,a&&(a=!1,s.process(l))}}};return s}((()=>n=!0)),e)),{}),i=e=>a[e].process(o),s=()=>{const a=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(a-o.timestamp,40),1),o.timestamp=a,o.isProcessing=!0,pe.forEach(i),o.isProcessing=!1,n&&t&&(r=!1,e(s))};return{schedule:pe.reduce(((t,i)=>{const l=a[i];return t[i]=(t,a=!1,i=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(s)),l.schedule(t,a,i)),t}),{}),cancel:e=>pe.forEach((t=>a[t].cancel(e))),state:o,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:he,!0);const ye=(0,r.createContext)(null);function be(e){const t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}class Ee extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function we({children:e,isPresent:t}){const n=(0,r.useId)(),o=(0,r.useRef)(null),a=(0,r.useRef)({width:0,height:0,top:0,left:0});return(0,r.useInsertionEffect)((()=>{const{width:e,height:r,top:i,left:s}=a.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n          [data-motion-pop-id="${n}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${r}px !important;\n            top: ${i}px !important;\n            left: ${s}px !important;\n          }\n        `),()=>{document.head.removeChild(l)}}),[t]),r.createElement(Ee,{isPresent:t,childRef:o,sizeRef:a},r.cloneElement(e,{ref:o}))}const xe=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:i,mode:s})=>{const l=be(ke),c=(0,r.useId)(),u=(0,r.useMemo)((()=>({id:c,initial:t,isPresent:n,custom:a,onExitComplete:e=>
4{l.set(e,!0);for(const t of l.values())if(!t)return;o&&o()},register:e=>(l.set(e,!1),()=>l.delete(e))})),i?void 0:[n]);return(0,r.useMemo)((()=>{l.forEach(((e,t)=>l.set(t,!1)))}),[n]),r.useEffect((()=>{!n&&!l.size&&o&&o()}),[n]),"popLayout"===s&&(e=r.createElement(we,{isPresent:n},e)),r.createElement(ye.Provider,{value:u},e)};function ke(){return new Map}const _e=(0,r.createContext)({});let Ce=he,Se=he;const Me=e=>e.key||"";const Te=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:a,presenceAffectsLayout:i=!0,mode:s="sync"})=>{Se(!a,"Replace exitBeforeEnter with mode='wait'");const l=(0,r.useContext)(_e).forceRender||function(){const e=de(),[t,n]=(0,r.useState)(0),o=(0,r.useCallback)((()=>{e.current&&n(t+1)}),[t]);return[(0,r.useCallback)((()=>fe.postRender(o)),[o]),t]}()[0],c=de(),u=function(e){const t=[];return r.Children.forEach(e,(e=>{(0,r.isValidElement)(e)&&t.push(e)})),t}(e);let d=u;const h=(0,r.useRef)(new Map).current,m=(0,r.useRef)(d),p=(0,r.useRef)(new Map).current,f=(0,r.useRef)(!0);var A;if(ue((()=>{f.current=!1,function(e,t){e.forEach((e=>{const n=Me(e);t.set(n,e)}))}(u,p),m.current=d})),A=()=>{f.current=!0,p.clear(),h.clear()},(0,r.useEffect)((()=>()=>A()),[]),f.current)return r.createElement(r.Fragment,null,d.map((e=>r.createElement(xe,{key:Me(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:i,mode:s},e))));d=[...d];const g=m.current.map(Me),v=u.map(Me),y=g.length;for(let r=0;r<y;r++){const e=g[r];-1!==v.indexOf(e)||h.has(e)||h.set(e,void 0)}return"wait"===s&&h.size&&(d=[]),h.forEach(((e,n)=>{if(-1!==v.indexOf(n))return;const a=p.get(n);if(!a)return;const f=g.indexOf(n);let A=e;if(!A){const e=()=>{h.delete(n);const e=Array.from(p.keys()).filter((e=>!v.includes(e)));if(e.forEach((e=>p.delete(e))),m.current=u.filter((t=>{const r=Me(t);return r===n||e.includes(r)})),!h.size){if(!1===c.current)return;l(),o&&o()}};A=r.createElement(xe,{key:Me(a),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:i,mode:s},a),h.set(n,A)}d.splice(f,0,A)})),d=d.map((e=>{const t=e.key;return h.has(t)?e:r.createElement(xe,{key:Me(e),isPresent:!0,presenceAffectsLayout:i,mode:s},e)})),r.createElement(r.Fragment,null,h.size?d:d.map((e=>(0,r.cloneElement)(e))))};var Ie=function(e){let{regl:t,precision:n,label:r="",width:o,height:a}=e;this.regl=t,this.precision=n,this.label=r,this.positionBuffer=this.regl.buffer([[-2,0],[0,-2],[2,2]]),this.draw=()=>{},this.init(),this.pingPongIndex=0,this.fbos=Array(2).fill().map((()=>this.regl.framebuffer({color:this.regl.texture({mag:"nearest",width:o,height:a,format:"rgba"}),depthStencil:!1})))};Ie.prototype.resize=function(e,t){this.fbos.forEach((n=>{n.resize(e,t)}))},Ie.prototype.getCurrent=function(){return this.fbos[this.pingPongIndex]},Ie.prototype.getTexture=function(){var e=this.pingPongIndex?0:1;return this.fbos[e]},Ie.prototype.init=function(){return this.transformIndex=0,this.fragHeader=`\n  precision ${this.precision} float;\n\n  uniform float time;\n  varying vec2 uv;\n  `,this.fragBody="",this.vert=`\n  precision ${this.precision} float;\n  attribute vec2 position;\n  varying vec2 uv;\n\n  void main () {\n    uv = position;\n    gl_Position = vec4(2.0 * position - 1.0, 0, 1);\n  }`,this.attributes={position:this.positionBuffer},this.uniforms={time:this.regl.prop("time"),resolution:this.regl.prop("resolution")},this.frag=`\n       ${this.fragHeader}\n\n      void main () {\n        vec4 c = vec4(0, 0, 0, 0);\n        vec2 st = uv;\n        ${this.fragBody}\n        gl_FragColor = c;\n      }\n  `,this},Ie.prototype.render=function(e){let t=e[0];var n=this,r=Object.assign(t.uniforms,{prevBuffer:()=>n.fbos[n.pingPongIndex]});n.draw=n.regl({frag:t.frag,vert:n.vert,attributes:n.attributes,uniforms:r,count:3,framebuffer:()=>(n.pingPongIndex=n.pingPongIndex?0:1,n.fbos[n.pingPongIndex])})},Ie.prototype.tick=function(e){this.draw(e)};var Be=Ie,je=n(7899),Oe=n.n(je);let Pe=function(){function e(e){let{regl:t,width:n,height:r,pb:o,label:a=""}=e;this.label=a,this.regl=t,this.src=null,this.dynamic=!0,this.width=n,this.height=r,this.tex=this.regl.texture({shape:[1,1]}),this.pb=o}var t=e.prototype;return t.init=function(e,t){"src"in e&&(this.src=e.src,this.tex=this.regl.texture({data:this.src,...t})),"dynamic"in e&&(this.dynamic=e.dynamic)},t.initCam=function(e,t){const n=this;var r;(r=e,navigator.mediaDevices.enumerateDevices().then((e=>e.filter((e=>"videoinput"===e.kind)))).then((e=>{let t={audio:!1,video:!0};return e[r]&&(t.video={deviceId:{exact:e[r].deviceId}}),window.navigator.mediaDevices.getUserMedia(t)})).then((e=>{const t=document.createElement("video");return t.setAttribute("autoplay",""),t.setAttribute("muted",""),t.setAttribute("playsinline",""),t.srcObject=e,new Promise(((e,n)=>{t.addEventListener("loadedmetadata",(()=>{t.play().then((()=>e({video:t})))}))}))})).catch(console.log.bind(console))).then((e=>{n.src=e.video,n.dynamic=!0,n.tex=n.regl.texture({data:n.src,...t})})).catch((e=>console.log("could not get camera",e)))},t.initVideo=function(e,t){void 0===e&&(e="");const n=document.createElement("video");n.crossOrigin="anonymous",n.autoplay=!0,n.loop=!0,n.muted=!0;n.addEventListener("loadeddata",(()=>{this.src=n,n.play(),this.tex=this.regl.texture({data:this.src,...t}),this.dynamic=!0}));n.src=e},t.initImage=function(e,t){void 0===e&&(e="");const n=document.createElement("img");n.crossOrigin="anonymous",n.src=e,n.onload=()=>{this.src=n,this.dynamic=!1,this.tex=this.regl.texture({data:this.src,...t})}},t.initStream=function(e,t){let n=this;
4e&&this.pb&&(this.pb.initSource(e),this.pb.on("got video",(function(r,o){r===e&&(n.src=o,n.dynamic=!0,n.tex=n.regl.texture({data:n.src,...t}))})))},t.initScreen=function(e,t){void 0===e&&(e=0);const n=this;var r;new Promise((function(e,t){navigator.mediaDevices.getDisplayMedia(r).then((t=>{const n=document.createElement("video");n.srcObject=t,n.addEventListener("loadedmetadata",(()=>{n.play(),e({video:n})}))})).catch((e=>t(e)))})).then((function(e){n.src=e.video,n.tex=n.regl.texture({data:n.src,...t}),n.dynamic=!0})).catch((e=>console.log("could not get screen",e)))},t.resize=function(e,t){this.width=e,this.height=t},t.clear=function(){this.src&&this.src.srcObject&&this.src.srcObject.getTracks&&this.src.srcObject.getTracks().forEach((e=>e.stop())),this.src=null,this.tex=this.regl.texture({shape:[1,1]})},t.tick=function(e){null!==this.src&&!0===this.dynamic&&(this.src.videoWidth&&this.src.videoWidth!==this.tex.width&&(console.log(this.src.videoWidth,this.src.videoHeight,this.tex.width,this.tex.height),this.tex.resize(this.src.videoWidth,this.src.videoHeight)),this.src.width&&this.src.width!==this.tex.width&&this.tex.resize(this.src.width,this.src.height),this.tex.subimage(this.src))},t.getTexture=function(){return this.tex},e}();var Le=Pe,ze=n(6343),De=n.n(ze);let Re=function(){function e(e){let{numBins:t=4,cutoff:n=2,smooth:r=.4,max:o=15,scale:a=10,isDrawing:i=!1,parentEl:s=document.body}=e;this.vol=0,this.scale=a,this.max=o,this.cutoff=n,this.smooth=r,this.setBins(t),this.beat={holdFrames:20,threshold:40,_cutoff:0,decay:.98,_framesSinceBeat:0},this.onBeat=()=>{},this.canvas=document.createElement("canvas"),this.canvas.width=100,this.canvas.height=80,this.canvas.style.width="100px",this.canvas.style.height="80px",this.canvas.style.position="absolute",this.canvas.style.right="0px",this.canvas.style.bottom="0px",s.appendChild(this.canvas),this.isDrawing=i,this.ctx=this.canvas.getContext("2d"),this.ctx.fillStyle="#DFFFFF",this.ctx.strokeStyle="#0ff",this.ctx.lineWidth=.5,window.navigator.mediaDevices&&window.navigator.mediaDevices.getUserMedia({video:!1,audio:!0}).then((e=>{this.stream=e,this.context=new AudioContext;let t=this.context.createMediaStreamSource(e);this.meyda=De().createMeydaAnalyzer({audioContext:this.context,source:t,featureExtractors:["loudness"]})})).catch((e=>console.log("ERROR",e)))}var t=e.prototype;return t.detectBeat=function(e){e>this.beat._cutoff&&e>this.beat.threshold?(this.onBeat(),this.beat._cutoff=1.2*e,this.beat._framesSinceBeat=0):this.beat._framesSinceBeat<=this.beat.holdFrames?this.beat._framesSinceBeat++:(this.beat._cutoff*=this.beat.decay,this.beat._cutoff=Math.max(this.beat._cutoff,this.beat.threshold))},t.tick=function(){if(this.meyda){var e=this.meyda.get();if(e&&null!==e){this.vol=e.loudness.total,this.detectBeat(this.vol);const t=(e,t)=>e+t;let n=Math.floor(e.loudness.specific.length/this.bins.length);this.prevBins=this.bins.slice(0),this.bins=this.bins.map(((r,o)=>e.loudness.specific.slice(o*n,(o+1)*n).reduce(t))).map(((e,t)=>e*(1-this.settings[t].smooth)+this.prevBins[t]*this.settings[t].smooth)),this.fft=this.bins.map(((e,t)=>Math.max(0,(e-this.settings[t].cutoff)/this.settings[t].scale))),this.isDrawing&&this.draw()}}},t.setCutoff=function(e){this.cutoff=e,this.settings=this.settings.map((t=>(t.cutoff=e,t)))},t.setSmooth=function(e){this.smooth=e,this.settings=this.settings.map((t=>(t.smooth=e,t)))},t.setBins=function(e){this.bins=Array(e).fill(0),this.prevBins=Array(e).fill(0),this.fft=Array(e).fill(0),this.settings=Array(e).fill(0).map((()=>({cutoff:this.cutoff,scale:this.scale,smooth:this.smooth}))),this.bins.forEach(((e,t)=>{window["a"+t]=function(e,n){return void 0===e&&(e=1),void 0===n&&(n=0),()=>window.a.fft[t]*e+n}}))},t.setScale=function(e){this.scale=e,this.settings=this.settings.map((t=>(t.scale=e,t)))},t.setMax=function(e){this.max=e,console.log("set max is deprecated")},t.hide=function(){this.isDrawing=!1,this.canvas.style.display="none"},t.show=function(){this.isDrawing=!0,this.canvas.style.display="block"},t.draw=function(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);var e=this.canvas.width/this.bins.length,t=this.canvas.height/(2*this.max);this.bins.forEach(((n,r)=>{var o=n*t;this.ctx.fillRect(r*e,this.canvas.height-o,e,o);var a=this.canvas.height-t*this.settings[r].cutoff;this.ctx.beginPath(),this.ctx.moveTo(r*e,a),this.ctx.lineTo((r+1)*e,a),this.ctx.stroke();var i=this.canvas.height-t*(this.settings[r].scale+this.settings[r].cutoff);this.ctx.beginPath(),this.ctx.moveTo(r*e,i),this.ctx.lineTo((r+1)*e,i),this.ctx.stroke()}))},e}();var Ne=Re;var Fe=function(){function e(e){this.mediaSource=new MediaSource,this.stream=e,this.output=document.createElement("video"),this.output.autoplay=!0,this.output.loop=!0;let t=this;this.mediaSource.addEventListener("sourceopen",(()=>{console.log("MediaSource opened"),t.sourceBuffer=t.mediaSource.addSourceBuffer('video/webm; codecs="vp8"'),console.log("Source buffer: ",t.sourceBuffer)}))}var t=e.prototype;return t.start=function(){let e={mimeType:"video/webm;codecs=vp9"};this.recordedBlobs=[];try{this.mediaRecorder=new MediaRecorder(this.stream,e)}catch(t){console.log("Unable to create MediaRecorder with options Object: ",t);try{e={mimeType:"video/webm,codecs=vp9"},this.mediaRecorder=new MediaRecorder(this.stream,e)}catch(n){console.log("Unable to create MediaRecorder with options Object: ",n);try{e="video/vp8",this.mediaRecorder=new MediaRecorder(this.stream,e)}catch(r){return alert("MediaRecorder is not supported by this browser.\n\nTry Firefox 29 or later, or Chrome 47 or later, with Enable experimental Web Platform features enabled from chrome://flags."),void console.error("Exception while creating MediaRecorder:",r)}}}console.log("Created MediaRecorder",this.mediaRecorder,"with options",e),this.mediaRecorder.onstop=this._handleStop.bind(this),this.mediaRecorder.ondataavailable=this._handleDataAvailable.bind(this),this.mediaRecorder.start(100),console.log("MediaRecorder started",this.mediaRecorder)},t.stop=function(){this.mediaRecorder.stop()},t._handleStop=function(){const e=new Blob(this.recordedBlobs,{type:this.mediaRecorder.mimeType}),t=window.URL.createObjectURL(e);this.output.src=t;const n=document.createElement("a");n.style.display="none",n.href=t;let r=new Date;n.download=`hydra-${r.getFullYear()}-${r.getMonth()+1}-${r.getDate()}-${r.getHours()}.${r.getMinutes()}.${r.getSeconds()}.webm`,document.body.appendChild(n),n.click(),setTimeout((()=>{document.body.removeChild(n),window.URL.revokeObjectURL(t)}),300)},t._handleDataAvailable=function(e){e.data&&e.data.size>0&&this.recordedBlobs.push(e.data)},e}(),Ve=n(4506),Qe={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e},sin:function(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}},Ye=()=>{Array.prototype.fast=function(e){return void 0===e&&(e=1),this._speed=e,this},Array.prototype.smooth=function(e){return void 0===e&&(e=1),this._smooth=e,this},Array.prototype.ease=function(e){return void 0===e&&(e="linear"),"function"==typeof e?(this._smooth=1,this._ease=e):Qe[e]&&(this._smooth=1,this._ease=Qe[e]),this},Array.prototype.offset=function(e){return void 0===e&&(e=.5),this._offset=e%1,this},Array.prototype.fit=function(e,t){void 0===e&&(e=0),void 0===t&&(t=1);let n=Math.min.apply(Math,(0,Ve.A)(this)),r=Math.max.apply(Math,(0,Ve.A)(this));var o=this.map((o=>((e,t,n,r,o)=>(e-t)*(o-r)/(n-t)+r)(o,n,r,e,t)));return o._speed=this._speed,o._smooth=this._smooth,o._ease=this._ease,o}},Ue=function(e){return void 0===e&&(e=[]),t=>{let{time:n,bpm:r}=t,o=e._speed?e._speed:1,a=e._smooth?e._smooth:0,i=n*o*(r/60)+(e._offset||0);if(0!==a){let t=e._ease?e._ease:Qe.linear,n=i-a/2,r=e[Math.floor(n%e.length)],o=e[Math.floor((n+1)%e.length)];return t(Math.min(n%1/a,1))*(o-r)+r}e[Math.floor(i%e.length)];return e[Math.floor(i%e.length)]}},We=n(5307);var Ge=function(){function e(e,t,n){void 0===n&&(n=[]),this.makeGlobal=t,this.sandbox=(0,We.A)(e),this.parent=e,Object.keys(e).forEach((e=>this.add(e))),this.userProps=n}var t=e.prototype;return t.add=function(e){this.makeGlobal&&(window[e]=this.parent[e]),this.sandbox.addToContext(e,`parent.${e}`)},t.set=function(e,t){this.makeGlobal&&(window[e]=t),this.parent[e]=t},t.tick=function(){this.makeGlobal&&this.userProps.forEach((e=>{this.parent[e]=window[e]}))},t.eval=function(e){this.sandbox.eval(e)},e}(),He=n(7387);const Xe={float:{vec4:{name:"sum",args:[[1,1,1,1]]},vec2:{name:"sum",args:[[1,1]]}}};const Ze=e=>((e=e.toString()).indexOf(".")<0&&(e+="."),e);function qe(e,t){var n=()=>"";return e.forEach((e=>{var r=function(e,t){const n=e.transform.inputs,r=e.userArgs,{generators:o}=e.synth,{src:a}=o;return n.map(((e,n)=>{const o={value:e.default,type:e.type,isUniform:!1,name:e.name,vecLen:0};if("float"===o.type&&(o.value=Ze(e.default)),e.type.startsWith("vec"))try{o.vecLen=Number.parseInt(e.type.substr(3))}catch(c){console.log(`Error determining length of vector input type ${e.type} (${e.name})`)}if(r.length>n&&(o.value=r[n],"function"==typeof r[n]?(o.value=(t,o,a)=>{try{const t=r[n](o);return"number"==typeof t?t:(console.warn("function does not return a number",r[n]),e.default)}catch(c){return console.warn("ERROR",c),e.default}},o.isUniform=!0):r[n].constructor===Array&&(o.value=(e,t,o)=>Ue(r[n])(t),o.isUniform=!0)),t<0);else{if(o.value&&o.value.transforms){const t=o.value.transforms[o.value.transforms.length-1];if(t.transform.glsl_return_type!==e.type){const n=Xe[e.type];if(void 0!==n){const e=n[t.transform.glsl_return_type];if(void 0!==e){var i;const{name:t,args:n}=e;o.value=(i=o.value)[t].apply(i,(0,Ve.A)(n))}}}o.isUniform=!1}else if("float"===o.type&&"number"==typeof o.value)o.value=Ze(o.value);else if(o.type.startsWith("vec")&&"object"==typeof o.value&&Array.isArray(o.value))o.isUniform=!1,o.value=`${o.type}(${o.value.map(Ze).join(", ")})`;else if("sampler2D"===e.type){var s=o.value;o.value=()=>s.getTexture(),o.isUniform=!0}else if(o.value.getTexture&&"vec4"===e.type){var l=o.value;o.value=a(l),o.isUniform=!1}o.isUniform&&(o.name+=t)}return o}
4))}(e,t.uniforms.length);r.forEach((e=>{e.isUniform&&t.uniforms.push(e)})),function(e,t){for(var n=0;n<t.length;n++)if(e.name==t[n].name)return!0;return!1}(e,t.glslFunctions)||t.glslFunctions.push(e);var o=n;if("src"===e.transform.type)n=n=>`${Je(n,e.name,r,t)}`;else if("coord"===e.transform.type)n=n=>`${o(`${Je(n,e.name,r,t)}`)}`;else if("color"===e.transform.type)n=n=>`${Je(`${o(n)}`,e.name,r,t)}`;else if("combine"===e.transform.type){var a=r[0].value&&r[0].value.transforms?e=>`${qe(r[0].value.transforms,t)(e)}`:r[0].isUniform?()=>r[0].name:()=>r[0].value;n=n=>`${Je(`${o(n)}, ${a(n)}`,e.name,r.slice(1),t)}`}else if("combineCoord"===e.transform.type){a=r[0].value&&r[0].value.transforms?e=>`${qe(r[0].value.transforms,t)(e)}`:r[0].isUniform?()=>r[0].name:()=>r[0].value;n=n=>`${o(`${Je(`${n}, ${a(n)}`,e.name,r.slice(1),t)}`)}`}})),n}function Je(e,t,n,r){return`${t}(${e}${n.map((e=>e.isUniform?e.name:e.value&&e.value.transforms?`${qe(e.value.transforms,r)("st")}`:e.value)).reduce(((e,t)=>`${e}, ${t}`),"")})`}var Ke={_luminance:{type:"util",glsl:"float _luminance(vec3 rgb){\n      const vec3 W = vec3(0.2125, 0.7154, 0.0721);\n      return dot(rgb, W);\n    }"},_noise:{type:"util",glsl:"\n    //\tSimplex 3D Noise\n    //\tby Ian McEwan, Ashima Arts\n    vec4 permute(vec4 x){return mod(((x*34.0)+1.0)*x, 289.0);}\n  vec4 taylorInvSqrt(vec4 r){return 1.79284291400159 - 0.85373472095314 * r;}\n\n  float _noise(vec3 v){\n    const vec2  C = vec2(1.0/6.0, 1.0/3.0) ;\n    const vec4  D = vec4(0.0, 0.5, 1.0, 2.0);\n\n  // First corner\n    vec3 i  = floor(v + dot(v, C.yyy) );\n    vec3 x0 =   v - i + dot(i, C.xxx) ;\n\n  // Other corners\n    vec3 g = step(x0.yzx, x0.xyz);\n    vec3 l = 1.0 - g;\n    vec3 i1 = min( g.xyz, l.zxy );\n    vec3 i2 = max( g.xyz, l.zxy );\n\n    //  x0 = x0 - 0. + 0.0 * C\n    vec3 x1 = x0 - i1 + 1.0 * C.xxx;\n    vec3 x2 = x0 - i2 + 2.0 * C.xxx;\n    vec3 x3 = x0 - 1. + 3.0 * C.xxx;\n\n  // Permutations\n    i = mod(i, 289.0 );\n    vec4 p = permute( permute( permute(\n               i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n             + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n             + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n  // Gradients\n  // ( N*N points uniformly over a square, mapped onto an octahedron.)\n    float n_ = 1.0/7.0; // N=7\n    vec3  ns = n_ * D.wyz - D.xzx;\n\n    vec4 j = p - 49.0 * floor(p * ns.z *ns.z);  //  mod(p,N*N)\n\n    vec4 x_ = floor(j * ns.z);\n    vec4 y_ = floor(j - 7.0 * x_ );    // mod(j,N)\n\n    vec4 x = x_ *ns.x + ns.yyyy;\n    vec4 y = y_ *ns.x + ns.yyyy;\n    vec4 h = 1.0 - abs(x) - abs(y);\n\n    vec4 b0 = vec4( x.xy, y.xy );\n    vec4 b1 = vec4( x.zw, y.zw );\n\n    vec4 s0 = floor(b0)*2.0 + 1.0;\n    vec4 s1 = floor(b1)*2.0 + 1.0;\n    vec4 sh = -step(h, vec4(0.0));\n\n    vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n    vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n    vec3 p0 = vec3(a0.xy,h.x);\n    vec3 p1 = vec3(a0.zw,h.y);\n    vec3 p2 = vec3(a1.xy,h.z);\n    vec3 p3 = vec3(a1.zw,h.w);\n\n  //Normalise gradients\n    vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n    p0 *= norm.x;\n    p1 *= norm.y;\n    p2 *= norm.z;\n    p3 *= norm.w;\n\n  // Mix final noise value\n    vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n    m = m * m;\n    return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n                                  dot(p2,x2), dot(p3,x3) ) );\n  }\n    "},_rgbToHsv:{type:"util",glsl:"vec3 _rgbToHsv(vec3 c){\n            vec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);\n            vec4 p = mix(vec4(c.bg, K.wz), vec4(c.gb, K.xy), step(c.b, c.g));\n            vec4 q = mix(vec4(p.xyw, c.r), vec4(c.r, p.yzx), step(p.x, c.r));\n\n            float d = q.x - min(q.w, q.y);\n            float e = 1.0e-10;\n            return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);\n        }"},_hsvToRgb:{type:"util",glsl:"vec3 _hsvToRgb(vec3 c){\n        vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n        vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n        return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n    }"}},$e=function(e){return this.transforms=[],this.transforms.push(e),this.defaultOutput=e.defaultOutput,this.synth=e.synth,this.type="GlslSource",this.defaultUniforms=e.defaultUniforms,this};$e.prototype.addTransform=function(e){this.transforms.push(e)},$e.prototype.out=function(e){var t=e||this.defaultOutput,n=this.glsl(t);if(this.synth.currentFunctions=[],t)try{t.render(n)}catch(r){console.log("shader could not compile",r)}},$e.prototype.glsl=function(){var e=[],t=[];
4return this.transforms.forEach((e=>{"renderpass"===e.transform.type?console.warn("no support for renderpass"):t.push(e)})),t.length>0&&e.push(this.compile(t)),e},$e.prototype.compile=function(e){var t=function(e){var t={uniforms:[],glslFunctions:[],fragColor:""},n=qe(e,t)("st");t.fragColor=n;let r={};return t.uniforms.forEach((e=>r[e.name]=e)),t.uniforms=Object.values(r),t}(e,this.synth),n={};return t.uniforms.forEach((e=>{n[e.name]=e.value})),{frag:`\n  precision ${this.defaultOutput.precision} float;\n  ${Object.values(t.uniforms).map((e=>{let t=e.type;if("texture"===e.type)t="sampler2D";return`\n      uniform ${t} ${e.name};`})).join("")}\n  uniform float time;\n  uniform vec2 resolution;\n  varying vec2 uv;\n  uniform sampler2D prevBuffer;\n\n  ${Object.values(Ke).map((e=>`\n            ${e.glsl}\n          `)).join("")}\n\n  ${t.glslFunctions.map((e=>`\n            ${e.transform.glsl}\n          `)).join("")}\n\n  void main () {\n    vec4 c = vec4(1, 0, 0, 1);\n    vec2 st = gl_FragCoord.xy/resolution.xy;\n    gl_FragColor = ${t.fragColor};\n  }\n  `,uniforms:Object.assign({},this.defaultUniforms,n)}};var et=$e;let tt=function(){function e(e){let{defaultUniforms:t,defaultOutput:n,extendTransforms:r=[],changeListener:o=()=>{}}=void 0===e?{}:e;this.defaultOutput=n,this.defaultUniforms=t,this.changeListener=o,this.extendTransforms=r,this.generators={},this.init()}var t=e.prototype;return t.init=function(){const e=[{name:"noise",type:"src",inputs:[{type:"float",name:"scale",default:10},{type:"float",name:"offset",default:.1}],glsl:"   return vec4(vec3(_noise(vec3(_st*scale, offset*time))), 1.0);"},{name:"voronoi",type:"src",inputs:[{type:"float",name:"scale",default:5},{type:"float",name:"speed",default:.3},{type:"float",name:"blending",default:.3}],glsl:"   vec3 color = vec3(.0);\n   // Scale\n   _st *= scale;\n   // Tile the space\n   vec2 i_st = floor(_st);\n   vec2 f_st = fract(_st);\n   float m_dist = 10.;  // minimun distance\n   vec2 m_point;        // minimum point\n   for (int j=-1; j<=1; j++ ) {\n   for (int i=-1; i<=1; i++ ) {\n   vec2 neighbor = vec2(float(i),float(j));\n   vec2 p = i_st + neighbor;\n   vec2 point = fract(sin(vec2(dot(p,vec2(127.1,311.7)),dot(p,vec2(269.5,183.3))))*43758.5453);\n   point = 0.5 + 0.5*sin(time*speed + 6.2831*point);\n   vec2 diff = neighbor + point - f_st;\n   float dist = length(diff);\n   if( dist < m_dist ) {\n   m_dist = dist;\n   m_point = point;\n   }\n   }\n   }\n   // Assign a color using the closest point position\n   color += dot(m_point,vec2(.3,.6));\n   color *= 1.0 - blending*m_dist;\n   return vec4(color, 1.0);"},{name:"osc",type:"src",inputs:[{type:"float",name:"frequency",default:60},{type:"float",name:"sync",default:.1},{type:"float",name:"offset",default:0}],glsl:"   vec2 st = _st;\n   float r = sin((st.x-offset/frequency+time*sync)*frequency)*0.5  + 0.5;\n   float g = sin((st.x+time*sync)*frequency)*0.5 + 0.5;\n   float b = sin((st.x+offset/frequency+time*sync)*frequency)*0.5  + 0.5;\n   return vec4(r, g, b, 1.0);"},{name:"shape",type:"src",inputs:[{type:"float",name:"sides",default:3},{type:"float",name:"radius",default:.3},{type:"float",name:"smoothing",default:.01}],glsl:"   vec2 st = _st * 2. - 1.;\n   // Angle and radius from the current pixel\n   float a = atan(st.x,st.y)+3.1416;\n   float r = (2.*3.1416)/sides;\n   float d = cos(floor(.5+a/r)*r-a)*length(st);\n   return vec4(vec3(1.0-smoothstep(radius,radius + smoothing + 0.0000001,d)), 1.0);"},{name:"gradient",type:"src",inputs:[{type:"float",name:"speed",default:0}],glsl:"   return vec4(_st, sin(time*speed), 1.0);"},{name:"src",type:"src",inputs:[{type:"sampler2D",name:"tex",default:NaN}],glsl:"   //  vec2 uv = gl_FragCoord.xy/vec2(1280., 720.);\n   return texture2D(tex, fract(_st));"},{name:"solid",type:"src",inputs:[{type:"float",name:"r",default:0},{type:"float",name:"g",default:0},{type:"float",name:"b",default:0},{type:"float",name:"a",default:1}],glsl:"   return vec4(r, g, b, a);"},{name:"rotate",type:"coord",inputs:[{type:"float",name:"angle",default:10},{type:"float",name:"speed",default:0}],glsl:"   vec2 xy = _st - vec2(0.5);\n   float ang = angle + speed *time;
4\n   xy = mat2(cos(ang),-sin(ang), sin(ang),cos(ang))*xy;\n   xy += 0.5;\n   return xy;"},{name:"scale",type:"coord",inputs:[{type:"float",name:"amount",default:1.5},{type:"float",name:"xMult",default:1},{type:"float",name:"yMult",default:1},{type:"float",name:"offsetX",default:.5},{type:"float",name:"offsetY",default:.5}],glsl:"   vec2 xy = _st - vec2(offsetX, offsetY);\n   xy*=(1.0/vec2(amount*xMult, amount*yMult));\n   xy+=vec2(offsetX, offsetY);\n   return xy;\n   "},{name:"pixelate",type:"coord",inputs:[{type:"float",name:"pixelX",default:20},{type:"float",name:"pixelY",default:20}],glsl:"   vec2 xy = vec2(pixelX, pixelY);\n   return (floor(_st * xy) + 0.5)/xy;"},{name:"posterize",type:"color",inputs:[{type:"float",name:"bins",default:3},{type:"float",name:"gamma",default:.6}],glsl:"   vec4 c2 = pow(_c0, vec4(gamma));\n   c2 *= vec4(bins);\n   c2 = floor(c2);\n   c2/= vec4(bins);\n   c2 = pow(c2, vec4(1.0/gamma));\n   return vec4(c2.xyz, _c0.a);"},{name:"shift",type:"color",inputs:[{type:"float",name:"r",default:.5},{type:"float",name:"g",default:0},{type:"float",name:"b",default:0},{type:"float",name:"a",default:0}],glsl:"   vec4 c2 = vec4(_c0);\n   c2.r = fract(c2.r + r);\n   c2.g = fract(c2.g + g);\n   c2.b = fract(c2.b + b);\n   c2.a = fract(c2.a + a);\n   return vec4(c2.rgba);"},{name:"repeat",type:"coord",inputs:[{type:"float",name:"repeatX",default:3},{type:"float",name:"repeatY",default:3},{type:"float",name:"offsetX",default:0},{type:"float",name:"offsetY",default:0}],glsl:"   vec2 st = _st * vec2(repeatX, repeatY);\n   st.x += step(1., mod(st.y,2.0)) * offsetX;\n   st.y += step(1., mod(st.x,2.0)) * offsetY;\n   return fract(st);"},{name:"modulateRepeat",type:"combineCoord",inputs:[{type:"float",name:"repeatX",default:3},{type:"float",name:"repeatY",default:3},{type:"float",name:"offsetX",default:.5},{type:"float",name:"offsetY",default:.5}],glsl:"   vec2 st = _st * vec2(repeatX, repeatY);\n   st.x += step(1., mod(st.y,2.0)) + _c0.r * offsetX;\n   st.y += step(1., mod(st.x,2.0)) + _c0.g * offsetY;\n   return fract(st);"},{name:"repeatX",type:"coord",inputs:[{type:"float",name:"reps",default:3},{type:"float",name:"offset",default:0}],glsl:"   vec2 st = _st * vec2(reps, 1.0);\n   //  float f =  mod(_st.y,2.0);\n   st.y += step(1., mod(st.x,2.0))* offset;\n   return fract(st);"},{name:"modulateRepeatX",type:"combineCoord",inputs:[{type:"float",name:"reps",default:3},{type:"float",name:"offset",default:.5}],glsl:"   vec2 st = _st * vec2(reps, 1.0);\n   //  float f =  mod(_st.y,2.0);\n   st.y += step(1., mod(st.x,2.0)) + _c0.r * offset;\n   return fract(st);"},{name:"repeatY",type:"coord",inputs:[{type:"float",name:"reps",default:3},{type:"float",name:"offset",default:0}],glsl:"   vec2 st = _st * vec2(1.0, reps);\n   //  float f =  mod(_st.y,2.0);\n   st.x += step(1., mod(st.y,2.0))* offset;\n   return fract(st);"},{name:"modulateRepeatY",type:"combineCoord",inputs:[{type:"float",name:"reps",default:3},{type:"float",name:"offset",default:.5}],glsl:"   vec2 st = _st * vec2(reps, 1.0);\n   //  float f =  mod(_st.y,2.0);\n   st.x += step(1., mod(st.y,2.0)) + _c0.r * offset;\n   return fract(st);"},{name:"kaleid",type:"coord",inputs:[{type:"float",name:"nSides",default:4}],glsl:"   vec2 st = _st;\n   st -= 0.5;\n   float r = length(st);\n   float a = atan(st.y, st.x);\n   float pi = 2.*3.1416;\n   a = mod(a,pi/nSides);\n   a = abs(a-pi/nSides/2.);\n   return r*vec2(cos(a), sin(a));"},{name:"modulateKaleid",type:"combineCoord",inputs:[{type:"float",name:"nSides",default:4}],glsl:"   vec2 st = _st - 0.5;\n   float r = length(st);\n   float a = atan(st.y, st.x);\n   float pi = 2.*3.1416;\n   a = mod(a,pi/nSides);\n   a = abs(a-pi/nSides/2.);\n   return (_c0.r+r)*vec2(cos(a), sin(a));"},{name:"scroll",type:"coord",inputs:[{type:"float",name:"scrollX",default:.5},{type:"float",name:"scrollY",default:.5},{type:"float",name:"speedX",default:0},{type:"float",name:"speedY",default:0}],glsl:"\n   _st.x += scrollX + time*speedX;\n   _st.y += scrollY + time*speedY;\n   return fract(_st);"},{name:"scrollX",type:"coord",inputs:[{type:"float",name:"scrollX",default:.5},{type:"float",name:"speed",default:0}],glsl:"   _st.x += scrollX + time*speed;\n   return fract(_st);"},{name:"modulateScrollX",type:"combineCoord",inputs:[{type:"float",name:"scrollX",default:.5},{type:"float",name:"speed",default:0}],glsl:"   _st.x += _c0.r*scrollX + time*speed;\n   return fract(_st);"},{name:"scrollY",type:"coord",inputs:[{type:"float",name:"scrollY",default:.5},{type:"float",name:"speed",default:0}],glsl:"   _st.y += scrollY + time*speed;\n   return fract(_st);"},{name:"modulateScrollY",type:"combineCoord",inputs:[{type:"float",name:"scrollY",default:.5},{type:"float",name:"speed",default:0}],glsl:"   _st.y += _c0.r*scrollY + time*speed;\n   return fract(_st);"}
4,{name:"add",type:"combine",inputs:[{type:"float",name:"amount",default:1}],glsl:"   return (_c0+_c1)*amount + _c0*(1.0-amount);"},{name:"sub",type:"combine",inputs:[{type:"float",name:"amount",default:1}],glsl:"   return (_c0-_c1)*amount + _c0*(1.0-amount);"},{name:"layer",type:"combine",inputs:[],glsl:"   return vec4(mix(_c0.rgb, _c1.rgb, _c1.a), clamp(_c0.a + _c1.a, 0.0, 1.0));"},{name:"blend",type:"combine",inputs:[{type:"float",name:"amount",default:.5}],glsl:"   return _c0*(1.0-amount)+_c1*amount;"},{name:"mult",type:"combine",inputs:[{type:"float",name:"amount",default:1}],glsl:"   return _c0*(1.0-amount)+(_c0*_c1)*amount;"},{name:"diff",type:"combine",inputs:[],glsl:"   return vec4(abs(_c0.rgb-_c1.rgb), max(_c0.a, _c1.a));"},{name:"modulate",type:"combineCoord",inputs:[{type:"float",name:"amount",default:.1}],glsl:"   //  return fract(st+(_c0.xy-0.5)*amount);\n   return _st + _c0.xy*amount;"},{name:"modulateScale",type:"combineCoord",inputs:[{type:"float",name:"multiple",default:1},{type:"float",name:"offset",default:1}],glsl:"   vec2 xy = _st - vec2(0.5);\n   xy*=(1.0/vec2(offset + multiple*_c0.r, offset + multiple*_c0.g));\n   xy+=vec2(0.5);\n   return xy;"},{name:"modulatePixelate",type:"combineCoord",inputs:[{type:"float",name:"multiple",default:10},{type:"float",name:"offset",default:3}],glsl:"   vec2 xy = vec2(offset + _c0.x*multiple, offset + _c0.y*multiple);\n   return (floor(_st * xy) + 0.5)/xy;"},{name:"modulateRotate",type:"combineCoord",inputs:[{type:"float",name:"multiple",default:1},{type:"float",name:"offset",default:0}],glsl:"   vec2 xy = _st - vec2(0.5);\n   float angle = offset + _c0.x * multiple;\n   xy = mat2(cos(angle),-sin(angle), sin(angle),cos(angle))*xy;\n   xy += 0.5;\n   return xy;"},{name:"modulateHue",type:"combineCoord",inputs:[{type:"float",name:"amount",default:1}],glsl:"   return _st + (vec2(_c0.g - _c0.r, _c0.b - _c0.g) * amount * 1.0/resolution);"},{name:"invert",type:"color",inputs:[{type:"float",name:"amount",default:1}],glsl:"   return vec4((1.0-_c0.rgb)*amount + _c0.rgb*(1.0-amount), _c0.a);"},{name:"contrast",type:"color",inputs:[{type:"float",name:"amount",default:1.6}],glsl:"   vec4 c = (_c0-vec4(0.5))*vec4(amount) + vec4(0.5);\n   return vec4(c.rgb, _c0.a);"},{name:"brightness",type:"color",inputs:[{type:"float",name:"amount",default:.4}],glsl:"   return vec4(_c0.rgb + vec3(amount), _c0.a);"},{name:"mask",type:"combine",inputs:[],glsl:"   float a = _luminance(_c1.rgb);\n  return vec4(_c0.rgb*a, a*_c0.a);"},{name:"luma",type:"color",inputs:[{type:"float",name:"threshold",default:.5},{type:"float",name:"tolerance",default:.1}],glsl:"   float a = smoothstep(threshold-(tolerance+0.0000001), threshold+(tolerance+0.0000001), _luminance(_c0.rgb));\n   return vec4(_c0.rgb*a, a);"},{name:"thresh",type:"color",inputs:[{type:"float",name:"threshold",default:.5},{type:"float",name:"tolerance",default:.04}],glsl:"   return vec4(vec3(smoothstep(threshold-(tolerance+0.0000001), threshold+(tolerance+0.0000001), _luminance(_c0.rgb))), _c0.a);"},{name:"color",type:"color",inputs:[{type:"float",name:"r",default:1},{type:"float",name:"g",default:1},{type:"float",name:"b",default:1},{type:"float",name:"a",default:1}],glsl:"   vec4 c = vec4(r, g, b, a);\n   vec4 pos = step(0.0, c); // detect whether negative\n   // if > 0, return r * _c0\n   // if < 0 return (1.0-r) * _c0\n   return vec4(mix((1.0-_c0)*abs(c), c*_c0, pos));"},{name:"saturate",type:"color",inputs:[{type:"float",name:"amount",default:2}],glsl:"   const vec3 W = vec3(0.2125, 0.7154, 0.0721);\n   vec3 intensity = vec3(dot(_c0.rgb, W));\n   return vec4(mix(intensity, _c0.rgb, amount), _c0.a);"},{name:"hue",type:"color",inputs:[{type:"float",name:"hue",default:.4}],glsl:"   vec3 c = _rgbToHsv(_c0.rgb);\n   c.r += hue;\n   //  c.r = fract(c.r);\n   return vec4(_hsvToRgb(c), _c0.a);"},{name:"colorama",type:"color",inputs:[{type:"float",name:"amount",default:.005}],glsl:"   vec3 c = _rgbToHsv(_c0.rgb);\n   c += vec3(amount);\n   c = _hsvToRgb(c);\n   c = fract(c);\n   return vec4(c, _c0.a);"},{name:"prev",type:"src",inputs:[],glsl:"   return texture2D(prevBuffer, fract(_st));"},{name:"sum",type:"color",inputs:[{type:"vec4",name:"scale",default:1}],glsl:"   vec4 v = _c0 * s;\n   return v.r + v.g + v.b + v.a;\n   }\n   float sum(vec2 _st, vec4 s) { // vec4 is not a typo, because argument type is not overloaded\n   vec2 v = _st.xy * s.xy;\n   return v.x + v.y;"},{name:"r",type:"color",inputs:[{type:"float",name:"scale",default:1},{type:"float",name:"offset",default:0}],glsl:"   return vec4(_c0.r * scale + offset);"},{name:"g",type:"color",inputs:[{type:"float",name:"scale",default:1},{type:"float",name:"offset",default:0}],glsl:"   return vec4(_c0.g * scale + offset);"},{name:"b",type:"color",inputs:[{type:"float",name:"scale",default:1},{type:"float",name:"offset",default:0}],glsl:"   return vec4(_c0.b * scale + offset);"},{name:"a",type:"color",inputs:[{type:"float",name:"scale",default:1},{type:"float",name:"offset",default:0}],glsl:"   return vec4(_c0.a * scale + offset);"}];return this.glslTransforms={},this.generators=Object.entries(this.generators).reduce(((e,t)=>
4{let[n,r]=t;return this.changeListener({type:"remove",synth:this,method:n}),e}),{}),this.sourceClass=function(e){function t(){return e.apply(this,arguments)||this}return(0,He.A)(t,e),t}(et),Array.isArray(this.extendTransforms)?e.concat(this.extendTransforms):"object"==typeof this.extendTransforms&&this.extendTransforms.type&&e.push(this.extendTransforms),e.map((e=>this.setFunction(e)))},t._addMethod=function(e,t){var n=this;const r=this;if(this.glslTransforms[e]=t,"src"===t.type){const o=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return new n.sourceClass({name:e,transform:t,userArgs:a,defaultOutput:n.defaultOutput,defaultUniforms:n.defaultUniforms,synth:r})};return this.generators[e]=o,this.changeListener({type:"add",synth:this,method:e}),o}this.sourceClass.prototype[e]=function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return this.transforms.push({name:e,transform:t,userArgs:o,synth:r}),this}},t.setFunction=function(e){var t=function(e){let t=nt[e.type];if(t){let n=t.args.map((e=>e)).join(", "),r=e.inputs.map((e=>`${e.type} ${e.name}`)).join(", "),o=`${n}${r.length>0?", "+r:""}`,a=`\n  ${t.returnType} ${e.name}(${o}) {\n      ${e.glsl}\n  }\n`;return"combine"!==e.type&&"combineCoord"!==e.type||e.inputs.unshift({name:"color",type:"vec4"}),Object.assign({},e,{glsl:a})}console.warn(`type ${e.type} not recognized`,e)}(e);t&&this._addMethod(e.name,t)},e}();const nt={src:{returnType:"vec4",args:["vec2 _st"]},coord:{returnType:"vec2",args:["vec2 _st"]},color:{returnType:"vec4",args:["vec4 _c0"]},combine:{returnType:"vec4",args:["vec4 _c0","vec4 _c1"]},combineCoord:{returnType:"vec2",args:["vec2 _st","vec4 _c0"]}};var rt=tt,ot=n(364),at=n.n(ot);let it=function(){function e(e){let{pb:t=null,width:r=1280,height:o=720,numSources:a=4,numOutputs:i=4,makeGlobal:s=!0,autoLoop:l=!0,detectAudio:c=!0,enableStreamCapture:u=!0,canvas:d,precision:h,extendTransforms:m={}}=void 0===e?{}:e;Ye(),this.pb=t,this.width=r,this.height=o,this.renderAll=!1,this.detectAudio=c,this._initCanvas(d),n.g.window.test="hi",this.synth={time:0,bpm:30,width:this.width,height:this.height,fps:void 0,stats:{fps:0},speed:1,render:this._render.bind(this),setResolution:this.setResolution.bind(this),update:e=>{},hush:this.hush.bind(this),tick:this.tick.bind(this)},s&&(window.loadScript=this.loadScript),this.timeSinceLastUpdate=0,this._time=0;if(h&&["lowp","mediump","highp"].includes(h.toLowerCase()))this.precision=h.toLowerCase();else{let e=(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream;this.precision=e?"highp":"mediump"}if(this.extendTransforms=m,this.saveFrame=!1,this.captureStream=null,this.generator=void 0,this._initRegl(),this._initOutputs(i),this._initSources(a),this._generateGlslTransforms(),this.synth.screencap=()=>{this.saveFrame=!0},u)try{this.captureStream=this.canvas.captureStream(25),this.synth.vidRecorder=new Fe(this.captureStream)}catch(p){console.warn("[hydra-synth warning]\nnew MediaSource() is not currently supported on iOS."),console.error(p)}c&&this._initAudio(),l&&Oe()(this.tick.bind(this)).start(),this.sandbox=new Ge(this.synth,s,["speed","update","bpm","fps"])}var t=e.prototype;return t.eval=function(e){this.sandbox.eval(e)},t.getScreenImage=function(e){this.imageCallback=e,this.saveFrame=!0},t.hush=function(){this.s.forEach((e=>{e.clear()})),this.o.forEach((e=>{this.synth.solid(0,0,0,0).out(e)})),this.synth.render(this.o[0]),this.sandbox.set("update",(e=>{}))},t.loadScript=function(e){void 0===e&&(e="");return new Promise(((t,n)=>{var r=document.createElement("script");r.onload=function(){console.log(`loaded script ${e}`),t()},r.onerror=n=>{console.log(`error loading script ${e}`,"log-error"),t()},r.src=e,document.head.appendChild(r)}))},t.setResolution=function(e,t){this.canvas.width=e,this.canvas.height=t,this.width=e,this.height=t,this.sandbox.set("width",e),this.sandbox.set("height",t),console.log(this.width),this.o.forEach((n=>{n.resize(e,t)})),this.s.forEach((n=>{n.resize(e,t)})),this.regl._refresh(),console.log(this.canvas.width)},t.canvasToImage=function(e){const t=document.createElement("a");t.style.display="none";let n=new Date;t.download=`hydra-${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}-${n.getHours()}.${n.getMinutes()}.${n.getSeconds()}.png`,document.body.appendChild(t);var r=this;this.canvas.toBlob((e=>
4{r.imageCallback?(r.imageCallback(e),delete r.imageCallback):(t.href=URL.createObjectURL(e),console.log(t.href),t.click())}),"image/png"),setTimeout((()=>{document.body.removeChild(t),window.URL.revokeObjectURL(t.href)}),300)},t._initAudio=function(){this.synth.a=new Ne({numBins:4,parentEl:this.canvas.parentNode})},t._initCanvas=function(e){e?(this.canvas=e,this.width=e.width,this.height=e.height):(this.canvas=document.createElement("canvas"),this.canvas.width=this.width,this.canvas.height=this.height,this.canvas.style.width="100%",this.canvas.style.height="100%",this.canvas.style.imageRendering="pixelated",document.body.appendChild(this.canvas))},t._initRegl=function(){this.regl=at()({canvas:this.canvas,pixelRatio:1}),this.regl.clear({color:[0,0,0,1]}),this.renderAll=this.regl({frag:`\n      precision ${this.precision} float;\n      varying vec2 uv;\n      uniform sampler2D tex0;\n      uniform sampler2D tex1;\n      uniform sampler2D tex2;\n      uniform sampler2D tex3;\n\n      void main () {\n        vec2 st = vec2(1.0 - uv.x, uv.y);\n        st*= vec2(2);\n        vec2 q = floor(st).xy*(vec2(2.0, 1.0));\n        int quad = int(q.x) + int(q.y);\n        st.x += step(1., mod(st.y,2.0));\n        st.y += step(1., mod(st.x,2.0));\n        st = fract(st);\n        if(quad==0){\n          gl_FragColor = texture2D(tex0, st);\n        } else if(quad==1){\n          gl_FragColor = texture2D(tex1, st);\n        } else if (quad==2){\n          gl_FragColor = texture2D(tex2, st);\n        } else {\n          gl_FragColor = texture2D(tex3, st);\n        }\n\n      }\n      `,vert:`\n      precision ${this.precision} float;\n      attribute vec2 position;\n      varying vec2 uv;\n\n      void main () {\n        uv = position;\n        gl_Position = vec4(1.0 - 2.0 * position, 0, 1);\n      }`,attributes:{position:[[-2,0],[0,-2],[2,2]]},uniforms:{tex0:this.regl.prop("tex0"),tex1:this.regl.prop("tex1"),tex2:this.regl.prop("tex2"),tex3:this.regl.prop("tex3")},count:3,depth:{enable:!1}}),this.renderFbo=this.regl({frag:`\n      precision ${this.precision} float;\n      varying vec2 uv;\n      uniform vec2 resolution;\n      uniform sampler2D tex0;\n\n      void main () {\n        gl_FragColor = texture2D(tex0, vec2(1.0 - uv.x, uv.y));\n      }\n      `,vert:`\n      precision ${this.precision} float;\n      attribute vec2 position;\n      varying vec2 uv;\n\n      void main () {\n        uv = position;\n        gl_Position = vec4(1.0 - 2.0 * position, 0, 1);\n      }`,attributes:{position:[[-2,0],[0,-2],[2,2]]},uniforms:{tex0:this.regl.prop("tex0"),resolution:this.regl.prop("resolution")},count:3,depth:{enable:!1}})},t._initOutputs=function(e){const t=this;this.o=Array(e).fill().map(((e,n)=>{var r=new Be({regl:this.regl,width:this.width,height:this.height,precision:this.precision,label:`o${n}`});return r.id=n,t.synth["o"+n]=r,r})),this.output=this.o[0]},t._initSources=function(e){this.s=[];for(var t=0;t<e;t++)this.createSource(t)},t.createSource=function(e){let t=new Le({regl:this.regl,pb:this.pb,width:this.width,height:this.height,label:`s${e}`});return this.synth["s"+this.s.length]=t,this.s.push(t),t},t._generateGlslTransforms=function(){var e=this;this.generator=new rt({defaultOutput:this.o[0],defaultUniforms:this.o[0].uniforms,extendTransforms:this.extendTransforms,changeListener:t=>{let{type:n,method:r,synth:o}=t;"add"===n&&(e.synth[r]=o.generators[r],e.sandbox&&e.sandbox.add(r))}}),this.synth.setFunction=this.generator.setFunction.bind(this.generator)},t._render=function(e){e?(this.output=e,this.isRenderingAll=!1):this.isRenderingAll=!0},t.tick=function(e,t){if(this.sandbox.tick(),!0===this.detectAudio&&this.synth.a.tick(),this.sandbox.set("time",this.synth.time+=.001*e*this.synth.speed),this.timeSinceLastUpdate+=e,!this.synth.fps||this.timeSinceLastUpdate>=1e3/this.synth.fps){if(this.synth.stats.fps=Math.ceil(1e3/this.timeSinceLastUpdate),this.synth.update)try{this.synth.update(this.timeSinceLastUpdate)}catch(n){console.log(n)}for(let e=0;e<this.s.length;e++)this.s[e].tick(this.synth.time);for(let e=0;e<this.o.length;e++)this.o[e].tick({time:this.synth.time,bpm:this.synth.bpm,resolution:[this.canvas.width,this.canvas.height]});this.isRenderingAll?this.renderAll({tex0:this.o[0].getCurrent(),tex1:this.o[1].getCurrent(),tex2:this.o[2].getCurrent(),tex3:this.o[3].getCurrent(),resolution:[this.canvas.width,this.canvas.height]}):this.renderFbo({tex0:this.output.getCurrent(),resolution:[this.canvas.width,this.canvas.height]}),this.timeSinceLastUpdate=0}!0===this.saveFrame&&(this.canvasToImage(),this.saveFrame=!1)},e}();var st=it;const lt=(0,r.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ct=(0,r.createContext)({}),ut=(0,r.createContext)({strict:!1}),dt=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),ht="data-"+dt("framerAppearId");function mt(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function pt(e){return"string"==typeof e||Array.isArray(e)}function ft(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const At=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],gt=["initial",...At];function vt(e){return ft(e.animate)||gt.some((t=>pt(e[t])))}function yt(e){return Boolean(vt(e)||e.variants)}function bt(e){const{initial:t,animate:n}=function(e,t){if(vt(e)){const{initial:t,animate:n}=e;return{initial:!1===t||pt(t)?t:void 0,animate:pt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,r.useContext)(ct));return(0,r.useMemo)((()=>({initial:t,animate:n})),[Et(t),Et(n)])}function Et(e){return Array.isArray(e)?e.join(" "):e}const wt={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},xt={};for(const Dh in wt)xt[Dh]={isEnabled:e=>wt[Dh].some((t=>!!e[t]))};const kt=(0,r.createContext)({}),_t=Symbol.for("motionComponentSymbol");function Ct({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)xt[t]={...xt[t],...e[t]}}(e);const i=(0,r.forwardRef)((function(i,s){let l;const c={...(0,r.useContext)(lt),...i,layoutId:St(i)},{isStatic:u}=c,d=bt(i),h=o(i,u);if(!u&&ce){d.visualElement=function(e,t,n,o){const{visualElement:a}=(0,r.useContext)(ct),i=(0,r.useContext)(ut),s=(0,r.useContext)(ye),l=(0,r.useContext)(lt).reducedMotion,c=(0,r.useRef)();o=o||i.renderer,!c.current&&o&&(c.current=o(e,{visualState:t,parent:a,props:n,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));const u=c.current;(0,r.useInsertionEffect)((()=>{u&&u.update(n,s)}));const d=(0,r.useRef)(Boolean(n[ht]&&!window.HandoffComplete));return ue((()=>{u&&(u.render(),d.current&&u.animationState&&u.animationState.animateChanges())})),(0,r.useEffect)((()=>{u&&(u.updateFeatures(),!d.current&&u.animationState&&u.animationState.animateChanges(),d.current&&(d.current=!1,window.HandoffComplete=!0))})),u}(a,h,c,t);const n=(0,r.useContext)(kt),o=(0,r.useContext)(ut).strict;d.visualElement&&(l=d.visualElement.loadFeatures(c,o,e,n))}return r.createElement(ct.Provider,{value:d},l&&d.visualElement?r.createElement(l,{visualElement:d.visualElement,...c}):null,n(a,i,function(e,t,n){return(0,r.useCallback)((r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):mt(n)&&(n.current=r))}),[t])}(h,d.visualElement,s),h,u,d.visualElement))}));return i[_t]=a,i}function St({layoutId:e}){const t=(0,r.useContext)(_e).id;return t&&void 0!==e?t+"-"+e:e}function Mt(e){function t(t,n={}){return Ct(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Tt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function It(e){return"string"==typeof e&&!e.includes("-")&&!!(Tt.indexOf(e)>-1||/[A-Z]/.test(e))}const Bt={};const jt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ot=new Set(jt);function Pt(e,{layout:t,layoutId:n}){return Ot.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Bt[e]||"opacity"===e)}const Lt=e=>Boolean(e&&e.getVelocity),zt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Dt=jt.length;const Rt=e=>t=>"string"==typeof t&&t.startsWith(e),Nt=Rt("--"),Ft=Rt("var(--"),Vt=(e,t)=>
vendor: 4,153 bytes, line 4
4t&&"number"==typeof e?t.transform(e):e,Qt=(e,t,n)=>Math.min(Math.max(n,e),t),Yt={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Ut={...Yt,transform:e=>Qt(0,1,e)},Wt={...Yt,default:1},Gt=e=>Math.round(1e5*e)/1e5,Ht=/(-)?([\d]*\.?[\d])+/g,Xt=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Zt=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function qt(e){return"string"==typeof e}const Jt=e=>({test:t=>qt(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Kt=Jt("deg"),$t=Jt("%"),en=Jt("px"),tn=Jt("vh"),nn=Jt("vw"),rn={...$t,parse:e=>$t.parse(e)/100,transform:e=>$t.transform(100*e)},on={...Yt,transform:Math.round},an={borderWidth:en,borderTopWidth:en,borderRightWidth:en,borderBottomWidth:en,borderLeftWidth:en,borderRadius:en,radius:en,borderTopLeftRadius:en,borderTopRightRadius:en,borderBottomRightRadius:en,borderBottomLeftRadius:en,width:en,maxWidth:en,height:en,maxHeight:en,size:en,top:en,right:en,bottom:en,left:en,padding:en,paddingTop:en,paddingRight:en,paddingBottom:en,paddingLeft:en,margin:en,marginTop:en,marginRight:en,marginBottom:en,marginLeft:en,rotate:Kt,rotateX:Kt,rotateY:Kt,rotateZ:Kt,scale:Wt,scaleX:Wt,scaleY:Wt,scaleZ:Wt,skew:Kt,skewX:Kt,skewY:Kt,distance:en,translateX:en,translateY:en,translateZ:en,x:en,y:en,z:en,perspective:en,transformPerspective:en,opacity:Ut,originX:rn,originY:rn,originZ:en,zIndex:on,fillOpacity:Ut,strokeOpacity:Ut,numOctaves:on};function sn(e,t,n,r){const{style:o,vars:a,transform:i,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const d in t){const e=t[d];if(Nt(d)){a[d]=e;continue}const n=an[d],r=Vt(e,n);if(Ot.has(d)){if(l=!0,i[d]=r,!u)continue;e!==(n.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,s[d]=r):o[d]=r}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let a="";for(let i=0;i<Dt;i++){const t=jt[i];void 0!==e[t]&&(a+=`${zt[t]||t}(${e[t]}) `)}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,r?"":a):n&&r&&(a="none"),a}(e.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}const ln=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cn(e,t,n){for(const r in t)Lt(t[r])||Pt(r,n)||(e[r]=t[r])}function un(e,t,n){const o={};return cn(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},t,n){return(0,r.useMemo)((()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return sn(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)}),[t])}(e,t,n)),e.transformValues?e.transformValues(o):o}function dn(e,t,n){const r={},o=un(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const hn=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function mn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||hn.has(e)}let pn=e=>!mn(e);try{(fn=require("@emotion/is-prop-valid").default)&&(pn=e=>e.startsWith("on")?!mn(e):fn(e))}catch(zh){}var fn;function An(e,t,n){return"string"==typeof e?e:en.transform(t+n*e)}const gn={offset:"stroke-dashoffset",array:"stroke-dasharray"},vn={offset:"strokeDashoffset",array:"strokeDasharray"};function yn(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:a,pathLength:i,pathSpacing:s=1,pathOffset:l=0,...c},u,d,h){if(sn(e,c,u,h),d)return void(e.style.viewBox&&(e.attrs.viewB
4ox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:p,dimensions:f}=e;m.transform&&(f&&(p.transform=m.transform),delete m.transform),f&&(void 0!==o||void 0!==a||p.transform)&&(p.transformOrigin=function(e,t,n){return`${An(t,e.x,e.width)} ${An(n,e.y,e.height)}`}(f,void 0!==o?o:.5,void 0!==a?a:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==i&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const a=o?gn:vn;e[a.offset]=en.transform(-r);const i=en.transform(t),s=en.transform(n);e[a.array]=`${i} ${s}`}(m,i,s,l,!1)}const bn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),En=e=>"string"==typeof e&&"svg"===e.toLowerCase();function wn(e,t,n,o){const a=(0,r.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return yn(n,t,{enableHardwareAcceleration:!1},En(o),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};cn(t,e.style,e),a.style={...t,...a.style}}return a}function xn(e=!1){return(t,n,o,{latestValues:a},i)=>{const s=(It(t)?wn:dn)(n,a,i,t),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(pn(o)||!0===n&&mn(o)||!t&&!mn(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),c={...l,...s,ref:o},{children:u}=n,d=(0,r.useMemo)((()=>Lt(u)?u.get():u),[u]);return(0,r.createElement)(t,{...c,children:d})}}function kn(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const _n=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Cn(e,t,n,r){kn(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(_n.has(o)?o:dt(o),t.attrs[o])}function Sn(e,t){const{style:n}=e,r={};for(const o in n)(Lt(n[o])||t.style&&Lt(t.style[o])||Pt(o,e))&&(r[o]=n[o]);return r}function Mn(e,t){const n=Sn(e,t);for(const r in e)if(Lt(e[r])||Lt(t[r])){n[-1!==jt.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Tn(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}const In=e=>Array.isArray(e);function Bn(e){const t=Lt(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const jn=e=>(t,n)=>{const o=(0,r.useContext)(ct),a=(0,r.useContext)(ye),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,a){const i={latestValues:On(r,o,a,e),renderState:t()};return n&&(i.mount=e=>n(r,e,i)),i}(e,t,o,a);return n?i():be(i)};function On(e,t,n,r){const o={},a=r(e,{});for(const h in a)o[h]=Bn(a[h]);let{initial:i,animate:s}=e;const l=vt(e),c=yt(e);t&&c&&!l&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===i;const d=u?s:i;if(d&&"boolean"!=typeof d&&!ft(d)){(Array.isArray(d)?d:[d]).forEach((t=>{const n=Tn(e,t);if(!n)return;const{transitionEnd:r,transition:a,...i}=n;for(const e in i){let t=i[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]}))}return o}const Pn={useVisualState:jn({scrapeMotionValuesFromProps:Mn,createRenderState:bn,onMount:(e,t,{renderState:n,latestValues:r})=>{fe.read((()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}})),fe.render((()=>{yn(n,r,{enableHardwareAcceleration:!1},En(t.tagName),e.transformTemplate),Cn(t,n)}))}})},Ln={useVisualState:jn({scrapeMotionValuesFromProps:Sn,createRenderState:ln})};function zn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Dn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Rn(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Nn(e,t,n,r){return zn(e,t,(e=>t=>Dn(t)&&e(t,Rn(t)))(n),r)}const Fn=(e,t)=>n=>t(e(n)),Vn=(...e)=>e.reduce(Fn);function Qn(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Yn=Qn("dragHorizontal"),Un=Qn("dragVertical");function Wn(e){let t=!1;if("y"===e)t=Un();else if("x"===e)t=Yn();else{const e=Yn(),n=Un();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Gn(){const e=Wn(!0);return!e||(e(),!1)}class Hn{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Xn(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"
4Start":"End");return Nn(e.current,n,((n,o)=>{if("touch"===n.pointerType||Gn())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[r]&&fe.update((()=>a[r](n,o)))}),{passive:!e.getProps()[r]})}const Zn=(e,t)=>!!t&&(e===t||Zn(e,t.parentElement));function qn(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Rn(n))}const Jn=new WeakMap,Kn=new WeakMap,$n=e=>{const t=Jn.get(e.target);t&&t(e)},er=e=>{e.forEach($n)};function tr(e,t,n){const r=function({root:e,...t}){const n=e||document;Kn.has(n)||Kn.set(n,{});const r=Kn.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(er,{root:e,...t})),r[o]}(t);return Jn.set(e,n),r.observe(e),()=>{Jn.delete(e),r.unobserve(e)}}const nr={some:0,all:1};const rr={inView:{Feature:class extends Hn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:nr[r]};return tr(this.node.current,a,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Hn{constructor(){super(...arguments),this.removeStartListeners=he,this.removeEndListeners=he,this.removeAccessibleListeners=he,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),r=Nn(window,"pointerup",((e,t)=>
vendor: 6,326 bytes, line 4
4{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r,globalTapTarget:o}=this.node.getProps();fe.update((()=>{o||Zn(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)}))}),{passive:!(n.onTap||n.onPointerUp)}),o=Nn(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Vn(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=zn(this.node.current,"keydown",(e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=zn(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&qn("up",((e,t)=>{const{onTap:n}=this.node.getProps();n&&fe.update((()=>n(e,t)))}))})),qn("down",((e,t)=>{this.startPress(e,t)}))})),t=zn(this.node.current,"blur",(()=>{this.isPressing&&qn("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=Vn(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&fe.update((()=>n(e,t)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Gn()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&fe.update((()=>n(e,t)))}mount(){const e=this.node.getProps(),t=Nn(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=zn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Vn(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Hn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Vn(zn(this.node.current,"focus",(()=>this.onFocus())),zn(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends Hn{mount(){this.unmount=Vn(Xn(this.node,!0),Xn(this.node,!1))}unmount(){}}}};function or(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function ar(e,t,n){const r=e.getProps();return Tn(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach(((e,n)=>t[n]=e.get())),t}(e),function(e){const t={};return e.values.forEach(((e,n)=>t[n]=e.getVelocity())),t}(e))}const ir=e=>1e3*e,sr=e=>e/1e3,lr=!1,cr=e=>Array.isArray(e)&&"number"==typeof e[0];function ur(e){return Boolean(!e||"string"==typeof e&&hr[e]||cr(e)||Array.isArray(e)&&e.every(ur))}const dr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,hr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:dr([0,.65,.55,1]),circOut:dr([.55,0,1,.45]),backIn:dr([.31,.01,.66,-.59]),backOut:dr([.33,1.53,.69,.99])};function mr(e){if(e)return cr(e)?dr(e):Array.isArray(e)?e.map(mr):hr[e]}const pr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function fr(e,t,n,r){if(e===t&&n===r)return he;const o=t=>function(e,t,n,r,o){let a,i,s=0;do{i=t+(n-t)/2,a=pr(i,r,o)-e,a>0?n=i:t=i}while(Math.abs(a)>1e-7&&++s<12);return i}(t,0,1,e,n);return e=>0===e||1===e?e:pr(o(e),t,r)}const Ar=fr(.42,0,1,1),gr=fr(0,0,.58,1),vr=fr(.42,0,.58,1),yr=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,br=e=>t=>1-e(1-t),Er=e=>1-Math.sin(Math.acos(e)),wr=br(Er),xr=yr(Er),kr=fr(.33,1.53,.69,.99),_r=br(kr),Cr=yr(_r),Sr={linear:he,easeIn:Ar,easeInOut:vr,easeOut:gr,circIn:Er,circInOut:xr,circOut:wr,backIn:_r,backInOut:Cr,backOut:kr,anticipate:e=>(e*=2)<1?.5*_r(e):.5*(2-Math.pow(2,-10*(e-1)))},Mr=e=>{if(Array.isArray(e)){Se(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return fr(t,n,r,o)}return"string"==typeof e?(Se(void 0!==Sr[e],`Invalid easing type '${e}'`),Sr[e]):e},Tr=(e,t)=>n=>Boolean(qt(n)&&Zt.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Ir=(e,t,n)=>r=>{if(!qt(r))return r;const[o,a,i,s]=r.match(Ht);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(i),alpha:void 0!==s?parseFloat(s):1}},Br={...Yt,transform:e=>Math.round((e=>Qt(0,255,e))(e))},jr={test:Tr("rgb","red"),parse:Ir("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Br.transform(e)+", "+Br.transform(t)+", "+Br.transform(n)+", "+Gt(Ut.transform(r))+")"};const Or={test:Tr("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:jr.transform},Pr={test:Tr("hsl","hue"),parse:Ir("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+$t.transform(Gt(t))+", "+$t.transform(Gt(n))+", "+Gt(Ut.transform(r))+")"},Lr={test:e=>jr.test(e)||Or.test(e)||Pr.test(e),parse:e=>jr.test(e)?jr.parse(e):Pr.test(e)?Pr.parse(e):Or.parse(e),transform:e=>qt(e)?e:e.hasOwnProperty("red")?jr.transform(e):Pr.transform(e)},zr=(e,t,n)=>-n*e+n*t+e;function Dr(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const Rr=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Nr=[Or,jr,Pr];function Fr(e){const t=(n=e,Nr.find((e=>e.test(n))));var n;Se(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Pr&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,a=0,i=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=Dr(s,r,e+1/3),a=Dr(s,r,e),i=Dr(s,r,e-1/3)}else o=a=i=n;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*i),alpha:r}}(r)),r}const Vr=(e,t)=>{const n=Fr(e),r=Fr(t),o={...n};return e=>(o.red=Rr(n.red,r.red,e),o.green=Rr(n.green,r.green,e),o.blue=Rr(n.blue,r.blue,e),o.alpha=zr(n.alpha,r.alpha,e),jr.transform(o))};
4const Qr={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:he},Yr={regex:Xt,countKey:"Colors",token:"${c}",parse:Lr.parse},Ur={regex:Ht,countKey:"Numbers",token:"${n}",parse:Yt.parse};function Wr(e,{regex:t,countKey:n,token:r,parse:o}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(o)))}function Gr(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Wr(n,Qr),Wr(n,Yr),Wr(n,Ur),n}function Hr(e){return Gr(e).values}function Xr(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Gr(e),a=t.length;return e=>{let t=o;for(let o=0;o<a;o++)t=o<r?t.replace(Qr.token,e[o]):o<r+n?t.replace(Yr.token,Lr.transform(e[o])):t.replace(Ur.token,Gt(e[o]));return t}}const Zr=e=>"number"==typeof e?0:e;const qr={test:function(e){var t,n;return isNaN(e)&&qt(e)&&((null===(t=e.match(Ht))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Xt))||void 0===n?void 0:n.length)||0)>0},parse:Hr,createTransformer:Xr,getAnimatableNone:function(e){const t=Hr(e);return Xr(e)(t.map(Zr))}},Jr=(e,t)=>n=>`${n>0?t:e}`;function Kr(e,t){return"number"==typeof e?n=>zr(e,t,n):Lr.test(e)?Vr(e,t):e.startsWith("var(")?Jr(e,t):to(e,t)}const $r=(e,t)=>{const n=[...e],r=n.length,o=e.map(((e,n)=>Kr(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},eo=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Kr(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},to=(e,t)=>{const n=qr.createTransformer(t),r=Gr(e),o=Gr(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Vn($r(r.values,o.values),n):(Ce(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Jr(e,t))},no=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},ro=(e,t)=>n=>zr(e,t,n);function oo(e,t,n){const r=[],o=n||("number"==typeof(a=e[0])?ro:"string"==typeof a?Lr.test(a)?Vr:to:Array.isArray(a)?$r:"object"==typeof a?eo:ro);var a;const i=e.length-1;for(let s=0;s<i;s++){let n=o(e[s],e[s+1]);if(t){const e=Array.isArray(t)?t[s]||he:t;n=Vn(e,n)}r.push(n)}return r}function ao(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;if(Se(a===t.length,"Both input and output ranges must be the same length"),1===a)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=oo(t,r,o),s=i.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=no(e[n],e[n+1],t);return i[n](r)};return n?t=>l(Qt(e[0],e[a-1],t)):l}function io(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=no(0,t,r);e.push(zr(n,1,o))}}(t,e.length-1),t}function so({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Mr):Mr(r),a={done:!1,value:t[0]},i=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:io(t),e),s=ao(i,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map((()=>c||vr)).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(a.value=s(t),a.done=t>=e,a)}}function lo(e,t){return t?e*(1e3/t):0}function co(e,t,n){const r=Math.max(t-5,0);return lo(n-e(r),t-r)}const uo=.001;function ho({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,a;Ce(e<=ir(10),"Spring duration must be 10 seconds or less");let i=1-t;i=Qt(.05,1,i),e=Qt(.01,10,sr(e)),i<1?(o=t=>{const r=t*i,o=r*e,a=r-n,s=po(t,i),l=Math.exp(-o);return uo-a/s*l},a=t=>{const r=t*i*e,a=r*n+n,s=Math.pow(i,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=po(Math.pow(t,2),i);return(-o(t)+uo>0?-1:1)*((a-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,a=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let o=1;o<mo;o++)r-=e(r)/t(r);return r}(o,a,5/e);if(e=ir(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*i*Math.sqrt(r*t),duration:e}}}const mo=12;function po(e,t){return e*Math.sqrt(1-t*t)}const fo=["duration","bounce"],Ao=["stiffness","damping","mass"];function go(e,t){return t.some((t=>void 0!==e[t]))}function vo({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],a=e[e.length-1],i={done:!1,value:o},{stiffness:s,damping:l,mass:c,duration:u,velocity:d,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!go(e,Ao)&&go(e,fo)){const n=ho(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...r,velocity:-sr(r.velocity||0)}),m=d||0,p=l/(2*Math.sqrt(s*c)),f=a-o,A=sr(Math.sqrt(s/c)),g=Math.abs(f)<5;let v;if(n||(n=g?.01:2),t||(t=g?.005:.5),p<1){const e=po(A,p);v=t=>{const n=Math.exp(-p*A*t);return a-n*((m+p*A*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===p)v=e=>a-Math.exp(-A*e)*(f+(m+A*f)*e);else{const e=A*Math.sqrt(p*p-1);v=t=>{const n=Math.exp(-p*A*t),r=Math.min(e*t,300);return a-n*((m+p*A*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:h&&u||null,next:e=>{const r=v(e);if(h)i.done=e>=u;else{let o=m;0!==e&&(o=p<1?co(v,e,r):0);const s=Math.abs(o)<=n,l=Math.abs(a-r)<=t;i.done=s&&l}return i.value=i.done?a:r,i}}}function yo({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:a=
4500,modifyTarget:i,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},m=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let p=n*t;const f=d+p,A=void 0===i?f:i(f);A!==f&&(p=A-d);const g=e=>-p*Math.exp(-e/r),v=e=>A+g(e),y=e=>{const t=g(e),n=v(e);h.done=Math.abs(t)<=c,h.value=h.done?A:n};let b,E;const w=e=>{var t;(t=h.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(b=e,E=vo({keyframes:[h.value,m(h.value)],velocity:co(v,e,h.value),damping:o,stiffness:a,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return E||void 0!==b||(t=!0,y(e),w(e)),void 0!==b&&e>b?E.next(e-b):(!t&&y(e),h)}}}const bo=e=>{const t=({timestamp:t})=>e(t);return{start:()=>fe.update(t,!0),stop:()=>Ae(t),now:()=>ge.isProcessing?ge.timestamp:performance.now()}};function Eo(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const wo={decay:yo,inertia:yo,tween:so,keyframes:so,spring:vo};function xo({autoplay:e=!0,delay:t=0,driver:n=bo,keyframes:r,type:o="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...h}){let m,p,f=1,A=!1;const g=()=>{p=new Promise((e=>{m=e}))};let v;g();const y=wo[o]||so;let b;y!==so&&"number"!=typeof r[0]&&(b=ao([0,100],r,{clamp:!1}),r=[0,100]);const E=y({...h,keyframes:r});let w;"mirror"===s&&(w=y({...h,keyframes:[...r].reverse(),velocity:-(h.velocity||0)}));let x="idle",k=null,_=null,C=null;null===E.calculatedDuration&&a&&(E.calculatedDuration=Eo(E));const{calculatedDuration:S}=E;let M=1/0,T=1/0;null!==S&&(M=S+i,T=M*(a+1)-i);let I=0;const B=e=>{if(null===_)return;f>0&&(_=Math.min(_,e)),f<0&&(_=Math.min(e-T/f,_)),I=null!==k?k:Math.round(e-_)*f;const n=I-t*(f>=0?1:-1),o=f>=0?n<0:n>T;I=Math.max(n,0),"finished"===x&&null===k&&(I=T);let l=I,c=E;if(a){const e=Math.min(I,T)/M;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,a+1);Boolean(t%2)&&("reverse"===s?(n=1-n,i&&(n-=i/M)):"mirror"===s&&(c=w)),l=Qt(0,1,n)*M}const u=o?{done:!1,value:r[0]}:c.next(l);b&&(u.value=b(u.value));let{done:h}=u;o||null===S||(h=f>=0?I>=T:I<=0);const m=null===k&&("finished"===x||"running"===x&&h);return d&&d(u.value),m&&P(),u},j=()=>{v&&v.stop(),v=void 0},O=()=>{x="idle",j(),m(),g(),_=C=null},P=()=>{x="finished",u&&u(),j(),m()},L=()=>
4{if(A)return;v||(v=n(B));const e=v.now();l&&l(),null!==k?_=e-k:_&&"finished"!==x||(_=e),"finished"===x&&g(),C=_,k=null,x="running",v.start()};e&&L();const z={then(e,t){return p.then(e,t)},get time(){return sr(I)},set time(e){e=ir(e),I=e,null===k&&v&&0!==f?_=v.now()-e/f:k=e},get duration(){const e=null===E.calculatedDuration?Eo(E):E.calculatedDuration;return sr(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,z.time=sr(I))},get state(){return x},play:L,pause:()=>{x="paused",k=I},stop:()=>{A=!0,"idle"!==x&&(x="idle",c&&c(),O())},cancel:()=>{null!==C&&B(C),O()},complete:()=>{x="finished"},sample:e=>(_=0,B(e))};return z}const ko=function(e){let t;return()=>(void 0===t&&(t=e()),t)}((()=>Object.hasOwnProperty.call(Element.prototype,"animate"))),_o=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Co(e,t,{onUpdate:n,onComplete:r,...o}){if(!(ko()&&_o.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let a,i,s=!1,l=!1;const c=()=>{i=new Promise((e=>{a=e}))};c();let{keyframes:u,duration:d=300,ease:h,times:m}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!ur(t.ease))(t,o)){const e=xo({...o,repeat:0,delay:0});let t={done:!1,value:u[0]};const n=[];let r=0;for(;!t.done&&r<2e4;
4)t=e.sample(r),n.push(t.value),r+=10;m=void 0,u=n,d=r-10,h="linear"}const p=function(e,t,n,{delay:r=0,duration:o,repeat:a=0,repeatType:i="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=mr(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:"reverse"===i?"alternate":"normal"})}(e.owner.current,t,u,{...o,duration:d,ease:h,times:m}),f=()=>{l=!1,p.cancel()},A=()=>{l=!0,fe.update(f),a(),c()};p.onfinish=()=>{l||(e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(u,o)),r&&r(),A())};return{then(e,t){return i.then(e,t)},attachTimeline(e){return p.timeline=e,p.onfinish=null,he},get time(){return sr(p.currentTime||0)},set time(e){p.currentTime=ir(e)},get speed(){return p.playbackRate},set speed(e){p.playbackRate=e},get duration(){return sr(d)},play:()=>{s||(p.play(),Ae(f))},pause:()=>p.pause(),stop:()=>{if(s=!0,"idle"===p.playState)return;const{currentTime:t}=p;if(t){const n=xo({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}A()},complete:()=>{l||p.finish()},cancel:A}}const So={type:"spring",stiffness:500,damping:25,restSpeed:10},Mo={type:"keyframes",duration:.8},To={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Io=(e,{keyframes:t})=>t.length>2?Mo:Ot.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:So:To,Bo=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!qr.test(t)&&"0"!==t||t.startsWith("url("))),jo=new Set(["brightness","contrast","saturate","opacity"]);function Oo(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Ht)||[];if(!r)return e;const o=n.replace(r,"");let a=jo.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const Po=/([a-z-]*)\(.*?\)/g,Lo={...qr,getAnimatableNone:e=>{const t=e.match(Po);return t?t.map(Oo).join(" "):e}},zo={...an,color:Lr,backgroundColor:Lr,outlineColor:Lr,fill:Lr,stroke:Lr,borderColor:Lr,borderTopColor:Lr,borderRightColor:Lr,borderBottomColor:Lr,borderLeftColor:Lr,filter:Lo,WebkitFilter:Lo},Do=e=>zo[e];function Ro(e,t){let n=Do(e);return n!==Lo&&(n=qr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const No=e=>/^0[^.\s]+$/.test(e);function Fo(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||No(e):void 0}function Vo(e,t){return e[t]||e.default||e}const Qo=!1,Yo=(e,t,n,r={})=>o=>{const a=Vo(r,e)||{},i=a.delay||r.delay||0;let{elapsed:s=0}=r;s-=ir(i);const l=function(e,t,n,r){const o=Bo(t,n);let a;a=Array.isArray(n)?[...n]:[null,n];const i=void 0!==r.from?r.from:e.get();let s;const l=[];for(let c=0;c<a.length;c++)null===a[c]&&(a[c]=0===c?i:a[c-1]),Fo(a[c])&&l.push(c),"string"==typeof a[c]&&"none"!==a[c]&&"0"!==a[c]&&(s=a[c]);if(o&&l.length&&s)for(let c=0;c<l.length;c++)a[l[c]]=Ro(t,s);return a}(t,e,n,a),c=l[0],u=l[l.length-1],d=Bo(e,c),h=Bo(e,u);Ce(d===h,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-s,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:i,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(a)||(m={...m,...Io(e,m)}),m.duration&&(m.duration=ir(m.duration)),m.repeatDelay&&(m.repeatDelay=ir(m.repeatDelay)),!d||!h||lr||!1===a.type||Qo)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:he,pause:he,stop:he,then:e=>(e(),Promise.resolve()),cancel:he,complete:he});return t?xo({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(lr?{...m,delay:0}:m);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Co(t,e,m);if(n)return n}return xo(m)};function Uo(e){return Boolean(Lt(e)&&e.add)}const Wo=e=>/^\-?\d*\.?\d+$/.test(e);function Go(e,t){-1===e.indexOf(t)&&e.push(t)}function Ho(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Xo{constructor(){this.subscriptions=[]}add(e){return Go(this.subscriptions,e),()=>Ho(this.subscriptions,e)}
4notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Zo={current:void 0};class qo{constructor(e,t={}){var n;this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=ge;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,fe.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>fe.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Xo);const n=this.events[e].add(t);return"change"===e?()=>{n(),fe.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Zo.current&&Zo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?lo(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Jo(e,t){return new qo(e,t)}const Ko=e=>t=>t.test(e),$o=[Yt,en,$t,Kt,nn,tn,{test:e=>"auto"===e,parse:e=>e}],ea=e=>$o.find(Ko(e)),ta=[...$o,Lr,qr];function na(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Jo(n))}function ra(e,t){const n=ar(e,t);let{transitionEnd:r={},transition:o={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const s in a){na(e,s,(i=a[s],In(i)?i[i.length-1]||0:i))}var i}function oa(e,t){if(!t)return;return(t[e]||t.default||t).from}function aa({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function ia(e,t){const n=e.get();if(!Array.isArray(t))return n!==t;for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}function sa(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:i,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(a=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const d in s){const t=e.getValue(d),r=s[d];if(!t||void 0===r||u&&aa(u,d))continue;const o={delay:n,elapsed:0,...Vo(a||{},d)};if(window.HandoffAppearAnimations){const n=e.getProps()[ht];if(n){const e=window.HandoffAppearAnimations(n,d,t,fe);null!==e&&(o.elapsed=e,o.isHandoff=!0)}}let i=!o.isHandoff&&!ia(t,r);if("spring"===o.type&&(t.getVelocity()||o.velocity)&&(i=!1),t.animation&&(i=!1),i)continue;t.start(Yo(d,t,r,e.shouldReduceMotion&&Ot.has(d)?{type:!1}:o));const h=t.animation;Uo(l)&&(l.add(d),h.then((()=>l.remove(d)))),c.push(h)}return i&&Promise.all(c).then((()=>{i&&ra(e,i)})),c}function la(e,t,n={}){const r=ar(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const a=r?()=>Promise.all(sa(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:a=0,staggerChildren:i,staggerDirection:s}=o;return function(e,t,n=0,r=0,o=1,a){const i=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;
4return Array.from(e.variantChildren).sort(ca).forEach(((e,r)=>{e.notify("AnimationStart",t),i.push(la(e,t,{...a,delay:n+l(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(i)}(e,t,a+r,i,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[a,i]:[i,a];return e().then((()=>t()))}return Promise.all([a(),i(n.delay)])}function ca(e,t){return e.sortNodePosition(t)}const ua=[...At].reverse(),da=At.length;function ha(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>la(e,t,n)));r=Promise.all(o)}else if("string"==typeof t)r=la(e,t,n);else{const o="function"==typeof t?ar(e,t,n.custom):t;r=Promise.all(sa(e,o,n))}return r.then((()=>e.notify("AnimationComplete",t)))}(e,t,n))))}function ma(e){let t=ha(e);const n={animate:fa(!0),whileInView:fa(),whileHover:fa(),whileTap:fa(),whileDrag:fa(),whileFocus:fa(),exit:fa()};let r=!0;const o=(t,n)=>{const r=ar(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function a(a,i){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},h=1/0;for(let t=0;t<da;t++){const m=ua[t],p=n[m],f=void 0!==s[m]?s[m]:l[m],A=pt(f),g=m===i?p.isActive:null;!1===g&&(h=t);let v=f===l[m]&&f!==s[m]&&A;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),p.protectedKeys={...d},!p.isActive&&null===g||!f&&!p.prevProp||ft(f)||"boolean"==typeof f)continue;let y=pa(p.prevProp,f)||m===i&&p.isActive&&!v&&A||t>h&&A,b=!1;const E=Array.isArray(f)?f:[f];let w=E.reduce(o,{});!1===g&&(w={});const{prevResolvedValues:x={}}=p,k={...x,...w},_=e=>{y=!0,u.has(e)&&(b=!0,u.delete(e)),p.needsAnimating[e]=!0};for(const e in k){const t=w[e],n=x[e];if(d.hasOwnProperty(e))continue;let r=!1;r=In(t)&&In(n)?!or(t,n):t!==n,r?void 0!==t?_(e):u.add(e):void 0!==t&&u.has(e)?_(e):p.protectedKeys[e]=!0}p.prevProp=f,p.prevResolvedValues=w,p.isActive&&(d={...d,...w}),r&&e.blockInitialAnimation&&(y=!1),!y||v&&!b||c.push(...E.map((e=>({animation:e,options:{type:m,...a}}))))}if(u.size){const t={};u.forEach((n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)})),c.push({animation:t})}let m=Boolean(c.length);return!r||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(m=!1),r=!1,m?t(c):Promise.resolve()}return{animateChanges:a,setActive:function(t,r,o){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const s=a(o,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function pa(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!or(t,e)}function fa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Aa=0;const ga={animation:{Feature:class extends Hn{constructor(e){super(e),e.animationState||(e.animationState=ma(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),ft(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Hn{constructor(){super(...arguments),this.id=Aa++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},va=(e,t)=>Math.abs(e-t);class ya{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=wa(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=va(e.x,t.x),r=va(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=ge;this.history.push({...r,timestamp:o});const{onStart:a,onMove:i}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>
vendor: 3,275 bytes, line 4
4{this.lastMoveEvent=e,this.lastMoveEventInfo=ba(t,this.transformPagePoint),fe.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const a=wa("pointercancel"===e.type?this.lastMoveEventInfo:ba(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Dn(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const a=ba(Rn(e),this.transformPagePoint),{point:i}=a,{timestamp:s}=ge;this.history=[{...i,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,wa(a,this.history)),this.removeListeners=Vn(Nn(this.contextWindow,"pointermove",this.handlePointerMove),Nn(this.contextWindow,"pointerup",this.handlePointerUp),Nn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ae(this.updatePoint)}}function ba(e,t){return t?{point:t(e.point)}:e}function Ea(e,t){return{x:e.x-t.x,y:e.y-t.y}}function wa({point:e},t){return{point:e,delta:Ea(e,ka(t)),offset:Ea(e,xa(t)),velocity:_a(t,.1)}}function xa(e){return e[0]}function ka(e){return e[e.length-1]}function _a(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=ka(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>ir(t)));)n--;if(!r)return{x:0,y:0};const a=sr(o.timestamp-r.timestamp);if(0===a)return{x:0,y:0};const i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Ca(e){return e.max-e.min}function Sa(e,t=0,n=.01){return Math.abs(e-t)<=n}function Ma(e,t,n,r=.5){e.origin=r,e.originPoint=zr(t.min,t.max,e.origin),e.scale=Ca(n)/Ca(t),(Sa(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=zr(n.min,n.max,e.origin)-e.originPoint,(Sa(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ta(e,t,n,r){Ma(e.x,t.x,n.x,r?r.originX:void 0),Ma(e.y,t.y,n.y,r?r.originY:void 0)}function Ia(e,t,n){e.min=n.min+t.min,e.max=e.min+Ca(t)}function Ba(e,t,n){e.min=t.min-n.min,e.max=e.min+Ca(t)}function ja(e,t,n){Ba(e.x,t.x,n.x),Ba(e.y,t.y,n.y)}function Oa(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Pa(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const La=.35;function za(e,t,n){return{min:Da(e,t),max:Da(e,n)}}function Da(e,t){return"number"==typeof e?e:e[t]||0}function Ra(e){return[e("x"),e("y")]}function Na({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Fa(e){return void 0===e||1===e}function Va({scale:e,scaleX:t,scaleY:n}){return!Fa(e)||!Fa(t)||!Fa(n)}function Qa(e){return Va(e)||Ya(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ya(e){return Ua(e.x)||Ua(e.y)}function Ua(e){return e&&"0%"!==e}function Wa(e,t,n){return n+t*(e-n)}function Ga(e,t,n,r,o){return void 0!==o&&(e=Wa(e,o,r)),Wa(e,n,r)+t}function Ha(e,t=0,n=1,r,o){e.min=Ga(e.min,t,n,r,o),e.max=Ga(e.max,t,n,r,o)}function Xa(e,{x:t,y:n}){Ha(e.x,t.translate,t.scale,t.originPoint),Ha(e.y,n.translate,n.scale,n.originPoint)}function Za(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function qa(e,t){e.min=e.min+t,e.max=e.max+t}
4function Ja(e,t,[n,r,o]){const a=void 0!==t[o]?t[o]:.5,i=zr(e.min,e.max,a);Ha(e,t[n],t[r],i,t.scale)}const Ka=["x","scaleX","originX"],$a=["y","scaleY","originY"];function ei(e,t){Ja(e.x,t,Ka),Ja(e.y,t,$a)}function ti(e,t){return Na(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const ni=({current:e})=>e?e.ownerDocument.defaultView:null,ri=new WeakMap;class oi{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new ya(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Rn(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Wn(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ra((e=>{let t=this.getAxisMotionValue(e).get()||0;if($t.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Ca(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),o&&fe.update((()=>o(e,t)),!1,!0);const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:a}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:i}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(i),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),a&&a(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Ra((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:ni(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&fe.update((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!ai(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?zr(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?zr(n,e,r.max):Math.min(e,n)),e}(a,this.constraints[e],this.elastic[e])),o.set(a)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&mt(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:Oa(e.x,n,o),y:Oa(e.y,t,r)}}(r.layoutBox,t),this.elastic=function(e=La){return!1===e?e=0:!0===e&&(e=La),{x:za(e,"left","right"),y:za(e,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ra((e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!mt(e))return!1;const n=e.current;Se(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=ti(e,n),{scroll:o}=t;return o&&(qa(r.x,o.offset.x),qa(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let a=function(e,t){return{x:Pa(e.x,t.x),y:Pa(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=Na(e))}return a}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:i}=this.getProps(),s=this.constraints||{},l=Ra((i=>{if(!ai(i,t,this.currentDirection))return;let l=s&&s[i]||{};a&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[i]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(i,d)}));return Promise.all(l).then(i)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Yo(e,n,0,t))}stopAnimation(){Ra((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){Ra((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Ra((t=>{const{drag:n}=this.getProps();if(!ai(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:a}=r.layout.layoutBox[t];o.set(e[t]-zr(n,a,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!mt(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Ra((e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Ca(e),o=Ca(t);return o>r?n=no(t.min,t.max-r,e.min):r>o&&(n=no(e.min,e.max-o,t.min)),Qt(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ra((t=>{if(!ai(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:a}=this.constraints[t];n.set(zr(o,a,r[t]))}))}addListeners(){if(!this.visualElement.current)return;ri.set(this.visualElement,this);const e=Nn(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}
vendor: 5,428 bytes, line 4
4=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();mt(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=zn(window,"resize",(()=>this.scalePositionWithinConstraints())),a=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ra((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:a=La,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:a,dragMomentum:i}}}function ai(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ii=e=>(t,n)=>{e&&fe.update((()=>e(t,n)))};const si={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function li(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ci={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!en.test(e))return e;e=parseFloat(e)}return`${li(e,t.target.x)}% ${li(e,t.target.y)}%`}},ui={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=qr.parse(e);if(o.length>5)return r;const a=qr.createTransformer(e),i="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=s,o[1+i]/=l;const c=zr(s,l,.5);return"number"==typeof o[2+i]&&(o[2+i]/=c),"number"==typeof o[3+i]&&(o[3+i]/=c),a(o)}};class di extends r.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var a;a=mi,Object.assign(Bt,a),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),si.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,a=n.projection;return a?(a.isPresent=o,r||e.layoutDependency!==t||void 0===t?a.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?a.promote():a.relegate()||fe.postRender((()=>{const e=a.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function hi(e){const[t,n]=function(){const e=(0,r.useContext)(ye);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:o}=e,a=(0,r.useId)();return(0,r.useEffect)((()=>o(a)),[]),!t&&n?[!1,()=>n&&n(a)]:[!0]}(),o=(0,r.useContext)(_e);return r.createElement(di,{...e,layoutGroup:o,switchLayoutGroup:(0,r.useContext)(kt),isPresent:t,safeToRemove:n})}const mi={borderRadius:{...ci,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ci,borderTopRightRadius:ci,borderBottomLeftRadius:ci,borderBottomRightRadius:ci,boxShadow:ui},pi=["TopLeft","TopRight","BottomLeft","BottomRight"],fi=pi.length,Ai=e=>"string"==typeof e?parseFloat(e):e,gi=e=>"number"==typeof e||en.test(e);function vi(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const yi=Ei(0,.5,wr),bi=Ei(.5,.95,he);function Ei(e,t,n){return r=>r<e?0:r>t?1:n(no(e,t,r))}function wi(e,t){e.min=t.min,e.max=t.max}function xi(e,t){wi(e.x,t.x),wi(e.y,t.y)}function ki(e,t,n,r,o){return e=Wa(e-=t,1/n,r),void 0!==o&&(e=Wa(e,1/o,r)),e}function _i(e,t,[n,r,o],a,i){!function(e,t=0,n=1,r=.5,o,a=e,i=e){$t.test(t)&&(t=parseFloat(t),t=zr(i.min,i.max,t/100)-i.min);if("number"!=typeof t)return;let s=zr(a.min,a.max,r);e===a&&(s-=t),e.min=ki(e.min,t,n,s,o),e.max=ki(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,a,i)}const Ci=["x","scaleX","originX"],Si=["y","scaleY","originY"];function Mi(e,t,n,r){_i(e.x,t,Ci,n?n.x:void 0,r?r.x:void 0),_i(e.y,t,Si,n?n.y:void 0,r?r.y:void 0)}function Ti(e){return 0===e.translate&&1===e.scale}function Ii(e){return Ti(e.x)&&Ti(e.y)}function Bi(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function ji(e){return Ca(e.x)/Ca(e.y)}class Oi{constructor(){this.members=[]}add(e){Go(this.members,e),e.scheduleRender()}remove(e){if(Ho(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let r=t;r>=0;r--){const e=this.members[r];if(!1!==e.isPresent){n=e;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}
4exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Pi(e,t,n){let r="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(r=`translate3d(${o}px, ${a}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const i=e.x.scale*t.x,s=e.y.scale*t.y;return 1===i&&1===s||(r+=`scale(${i}, ${s})`),r||"none"}const Li=(e,t)=>e.depth-t.depth;class zi{constructor(){this.children=[],this.isDirty=!1}add(e){Go(this.children,e),this.isDirty=!0}remove(e){Ho(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Li),this.isDirty=!1,this.children.forEach(e)}}const Di=["","X","Y","Z"],Ri={visibility:"hidden"};let Ni=0;const Fi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Vi({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ni++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;this.projectionUpdateScheduled=!1,Fi.totalNodes=Fi.resolvedTargetDeltas=Fi.recalculatedProjection=0,this.nodes.forEach(Ui),this.nodes.forEach(Ji),this.nodes.forEach(Ki),this.nodes.forEach(Wi),e=Fi,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new zi)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Xo),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:a,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(a||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const a=o-n;a>=t&&(Ae(r),e(a-t))};return fe.read(r,!0),()=>Ae(r)}(r,250),si.hasAnimatedSinceResize&&(si.hasAnimatedSinceResize=!1,this.nodes.forEach(qi))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&i&&(o||a)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||i.getDefaultTransition()||os,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!Bi(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Vo(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||qi(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ae(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
4h($i),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const e=this.path[o];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Hi);this.isUpdating||this.nodes.forEach(Xi),this.isUpdating=!1,this.nodes.forEach(Zi),this.nodes.forEach(Qi),this.nodes.forEach(Yi),this.clearAllSnapshots();const e=performance.now();ge.delta=Qt(0,1e3/60,e-ge.timestamp),ge.timestamp=e,ge.isProcessing=!0,ve.update.process(ge),ve.preRender.process(ge),ve.render.process(ge),ge.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask((()=>this.update())))}clearAllSnapshots(){this.nodes.forEach(Gi),this.sharedNodes.forEach(es)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,fe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){fe.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Ii(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,a=r!==this.prevTransformTemplateValue;e&&(t||Qa(this.latestValues)||a)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),ss((r=n).x),ss(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(qa(t.x,n.offset.x),qa(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};xi(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:a}=r;if(r!==this.root&&o&&a.layoutScroll){if(o.isRoot){xi(t,e);const{scroll:n}=this.root;n&&(qa(t.x,-n.offset.x),qa(t.y,-n.offset.y))}qa(t.x,o.offset.x),qa(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};xi(n,e);for(let r=0;r<this.path.length;r++){const e=this.path[r];!t&&e.options.layoutScroll&&e.scroll&&e!==e.root&&ei(n,{x:-e.scroll.offset.x,y:-e.scroll.offset.y}),Qa(e.latestValues)&&ei(n,e.latestValues)}return Qa(this.latestValues)&&ei(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};xi(t,e);for(let n=0;n<this.path.length;n++){const e=this.path[n];if(!e.instance)continue;if(!Qa(e.latestValues))continue;Va(e.latestValues)&&e.updateSnapshot();const r={x:{min:0,max:0},y:{min:0,max:0}};xi(r,e.measurePageBox()),Mi(t,e.latestValues,e.snapshot?e.snapshot.layoutBox:void 0,r)}return Qa(this.latestValues)&&Mi(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ge.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
4haredProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:a}=this.options;if(this.layout&&(o||a)){if(this.resolvedRelativeTargetAt=ge.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ja(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),xi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var i,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),i=this.target,s=this.relativeTarget,l=this.relativeParent.target,Ia(i.x,s.x,l.x),Ia(i.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):xi(this.target,this.layout.layoutBox),Xa(this.target,this.targetDelta)):xi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ja(this.relativeTargetOrigin,this.target,e.target),xi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Fi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Va(this.parent.latestValues)&&!Ya(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===ge.timestamp&&(r=!1),r)return;const{layout:o,layoutId:a}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!a)return;xi(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let a,i;t.x=t.y=1;for(let s=0;s<o;s++){a=n[s],i=a.projectionDelta;const o=a.instance;o&&o.style&&"contents"===o.style.display||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&ei(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,Xa(e,i)),r&&Qa(a.latestValues)&&ei(e,a.latestValues))}t.x=Za(t.x),t.y=Za(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;Ta(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Pi(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===i&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Fi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const i={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(rs));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,h;ts(a.x,e.x,n),ts(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ja(i,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){ns(e.x,t.x,n.x,r),ns(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,i,n),d&&(l=this.relativeTarget,h=d,l.x.min===h.x.min&&l.x.max===h.x.max&&l.y.min===
vendor: 5,284 bytes, line 4
4h.y.min&&l.y.max===h.y.max)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),xi(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,a){o?(e.opacity=zr(0,void 0!==n.opacity?n.opacity:1,yi(r)),e.opacityExit=zr(void 0!==t.opacity?t.opacity:1,0,bi(r))):a&&(e.opacity=zr(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<fi;i++){const o=`border${pi[i]}Radius`;let a=vi(t,o),s=vi(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||gi(a)===gi(s)?(e[o]=Math.max(zr(Ai(a),Ai(s),r),0),($t.test(s)||$t.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=zr(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ae(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=fe.update((()=>{si.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Lt(e)?e:Jo(e);return r.start(Yo("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&ls(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ca(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Ca(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}xi(t,n),ei(t,o),Ta(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Oi);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let o=0;o<Di.length;o++){const t="rotate"+Di[o];n[t]&&(r[t]=n[t],e.setStaticValue(t,0))}e.render();for(const o in r)e.setStaticValue(o,r[o]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Ri;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Bn(null==e?void 0:e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Bn(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Qa(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const i=a.animationValues||a.latestValues;this.applyTransformsToTarget(),r.transform=Pi(this.projectionDeltaWithTransform,this.treeScale,i),o&&(r.transform=o(i,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,a.animationValues?r.opacity=a===this?null!==(n=null!==(t=i.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r.opacity=a===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const c in Bt){if(void 0===i[c])continue;const{correct:e,applyTo:t}=Bt[c],n="none"===r.transform?i[c]:e(i[c],a);if(t){const e=t.length;for(let o=0;o<e;o++)r[t[o]]=n}else r[c]=n}return this.options.layoutId&&(r.pointerEvents=a===this?Bn(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
4resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Hi),this.root.sharedNodes.clear()}}}function Qi(e){e.updateLayout()}function Yi(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,a=n.source!==e.layout.source;"size"===o?Ra((e=>{const r=a?n.measuredBox[e]:n.layoutBox[e],o=Ca(r);r.min=t[e].min,r.max=r.min+o})):ls(o,n.layoutBox,t)&&Ra((r=>{const o=a?n.measuredBox[r]:n.layoutBox[r],i=Ca(t[r]);o.max=o.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+i)}));const i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ta(i,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};a?Ta(s,e.applyTransform(r,!0),n.measuredBox):Ta(s,t,n.layoutBox);const l=!Ii(i);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:a}=r;if(o&&a){const i={x:{min:0,max:0},y:{min:0,max:0}};ja(i,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};ja(s,t,a.layoutBox),Bi(i,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=i,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:i,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Ui(e){Fi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Wi(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Gi(e){e.clearSnapshot()}function Hi(e){e.clearMeasurements()}function Xi(e){e.isLayoutDirty=!1}function Zi(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function qi(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ji(e){e.resolveTargetDelta()}function Ki(e){e.calcProjection()}function $i(e){e.resetRotation()}function es(e){e.removeLeadSnapshot()}function ts(e,t,n){e.translate=zr(t.translate,0,n),e.scale=zr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ns(e,t,n,r){e.min=zr(t.min,n.min,r),e.max=zr(t.max,n.max,r)}function rs(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const os={duration:.45,ease:[.4,0,.1,1]},as=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),is=as("applewebkit/")&&!as("chrome/")?Math.round:he;function ss(e){e.min=is(e.min),e.max=is(e.max)}function ls(e,t,n){return"position"===e||"preserve-aspect"===e&&!Sa(ji(t),ji(n),.2)}const cs=Vi({attachResizeListener:(e,t)=>zn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),us={current:void 0},ds=Vi({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!us.current){const e=new cs({});e.mount(window),e.setOptions({layoutScroll:!0}),us.current=e}return us.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),hs={pan:{Feature:class extends Hn{constructor(){super(...arguments),this.removePointerDownListener=he}onPointerDown(e){this.session=new ya(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ni(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:ii(e),onStart:ii(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&fe.update((()=>r(e,t)))}}}mount(){this.removePointerDownListener=Nn(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Hn{constructor(e){super(e),this.removeGroupControls=he,this.removeListeners=he,this.controls=new oi(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||he}
vendor: 11,082 bytes, line 4
4unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ds,MeasureLayout:hi}},ms=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ps(e,t,n=1){Se(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=ms.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const e=a.trim();return Wo(e)?parseFloat(e):e}return Ft(o)?ps(o,t,n+1):o}const fs=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),As=e=>fs.has(e),gs=e=>e===Yt||e===en,vs=(e,t)=>parseFloat(e.split(", ")[t]),ys=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return vs(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?vs(t[1],e):0}},bs=new Set(["x","y","z"]),Es=jt.filter((e=>!bs.has(e)));const ws={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ys(4,13),y:ys(5,14)};ws.translateX=ws.x,ws.translateY=ws.y;const xs=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(As);let a=[],i=!1;const s=[];if(o.forEach((o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=ea(c);const d=t[o];let h;if(In(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=ea(c);for(let n=t;n<e&&null!==d[n];n++)h?Se(ea(d[n])===h,"All keyframes must be of the same type"):(h=ea(d[n]),Se(h===u||gs(u)&&gs(h),"Keyframes must be of the same dimension as the current value"))}else h=ea(d);if(u!==h)if(gs(u)&&gs(h)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&h===en&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==h?void 0:h.transform)&&(0===c||0===d)?0===c?l.set(h.transform(c)):t[o]=u.transform(d):(i||(a=function(e){const t=[];return Es.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.render(),t}(e),i=!0),s.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(d))})),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,a=getComputedStyle(o),{display:i}=a,s={};"none"===i&&t.setStaticValue("display",e.display||"block"),n.forEach((e=>{s[e]=ws[e](r,a)})),t.render();const l=t.measureViewportBox();return n.forEach((n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=ws[n](l,a)})),e})(t,e,s);return a.length&&a.forEach((([t,n])=>{e.getValue(t).set(n)})),e.render(),ce&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function ks(e,t,n,r){return(e=>Object.keys(e).some(As))(t)?xs(e,t,n,r):{target:t,transitionEnd:r}}const _s=(e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach((e=>{const t=e.get();if(!Ft(t))return;const n=ps(t,r);n&&e.set(n)}));for(const o in t){const e=t[o];if(!Ft(e))continue;const a=ps(e,r);a&&(t[o]=a,n||(n={}),void 0===n[o]&&(n[o]=e))}return{target:t,transitionEnd:n}}(e,t,r);return ks(e,t=o.target,n,r=o.transitionEnd)},Cs={current:null},Ss={current:!1};const Ms=new WeakMap,Ts=Object.keys(xt),Is=Ts.length,Bs=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],js=gt.length;class Os{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>fe.render(this.render,!1,!0);const{latestValues:i,renderState:s}=o;this.latestValues=i,this.baseTarget={...i},this.initialValues=t.initial?{...i}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.isControllingVariants=vt(t),this.isVariantNode=yt(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const u in c){const e=c[u];void 0!==i[u]&&Lt(e)&&(e.set(i[u],!1),Uo(l)&&l.add(u))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Ms.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),Ss.current||function(){if(Ss.current=!0,ce)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Cs.current=e.matches;e.addListener(t),t()}else Cs.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Cs.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ms.delete(this.current),this.projection&&this.projection.unmount(),Ae(this.notifyUpdate),Ae(this.render),this.valueSubscriptions.forEach((e=>e())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=Ot.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&fe.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{r(),o()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let a,i;for(let s=0;s<Is;s++){const e=Ts[s],{isEnabled:n,Feature:r,ProjectionNode:o,MeasureLayout:l}=xt[e];o&&(a=o),n(t)&&(!this.features[e]&&r&&(this.features[e]=new r(this)),l&&(i=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:i,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||i&&mt(i),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return i}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n<Bs.length;n++){const t=Bs[n];this.propEventSubscriptions[t]&&(this.propEventSubscriptions[t](),delete this.propEventSubscriptions[t]);const r=e["on"+t];r&&(this.propEventSubscriptions[t]=this.on(t,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const a=t[o],i=n[o];if(Lt(a))e.addValue(o,a),Uo(r)&&r.add(o);else if(Lt(i))e.addValue(o,Jo(a,{owner:e})),Uo(r)&&r.remove(o);else if(i!==a)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(a)}else{const t=e.getStaticValue(o);e.addValue(o,Jo(void 0!==t?t:a,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let n=0;n<js;n++){const e=gt[n],r=this.props[e];(pt(r)||!1===r)&&(t[e]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Jo(t,{owner:this}),this.addValue(e,n)),n}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Tn(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Lt(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Xo),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Ps extends Os{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let a=function(e,t,n){const r={};for(const o in e){const e=oa(o,t);
4if(void 0!==e)r[o]=e;else{const e=n.getValue(o);e&&(r[o]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),a&&(a=r(a))),o){!function(e,t,n){var r,o;const a=Object.keys(t).filter((t=>!e.hasValue(t))),i=a.length;var s;if(i)for(let l=0;l<i;l++){const i=a[l],c=t[i];let u=null;Array.isArray(c)&&(u=c[0]),null===u&&(u=null!==(o=null!==(r=n[i])&&void 0!==r?r:e.readValue(i))&&void 0!==o?o:t[i]),null!=u&&("string"==typeof u&&(Wo(u)||No(u))?u=parseFloat(u):(s=u,!ta.find(Ko(s))&&qr.test(c)&&(u=Ro(i,c))),e.addValue(i,Jo(u,{owner:e})),void 0===n[i]&&(n[i]=u),null!==u&&e.setBaseTarget(i,u))}}(this,n,a);const e=_s(this,n,a,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Ls extends Ps{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(Ot.has(t)){const e=Do(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(Nt(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ti(e,t)}build(e,t,n,r){sn(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Sn(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Lt(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}renderInstance(e,t,n,r){kn(e,t,n,r)}}class zs extends Ps{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Ot.has(t)){const e=Do(t);return e&&e.default||0}return t=_n.has(t)?t:dt(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Mn(e,t)}build(e,t,n,r){yn(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Cn(e,t,0,r)}mount(e){this.isSVGTag=En(e.tagName),super.mount(e)}}const Ds=(e,t)=>It(e)?new zs(t,{enableHardwareAcceleration:!1}):new Ls(t,{enableHardwareAcceleration:!0}),Rs={...ga,...rr,...hs,...{layout:{ProjectionNode:ds,MeasureLayout:hi}}},Ns=Mt(((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...It(e)?Pn:Ln,preloadedFeatures:n,useRender:xn(t),createVisualElement:r,Component:e}}(e,t,Rs,Ds)));const Fs=Ns(P.a);var Vs=e=>r.createElement(Fs,e),Qs="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,Ys=(0,o.css)(["color:",";"],(function(e){return(0,m.$2)(e.colorProp,e.theme)})),Us=(0,o.css)(["font-weight:",";"],(function(e){return e.weight})),Ws=(0,o.css)(["word-break:",";"],(function(e){return e.wordBreak})),Gs=(0,o.css)(["font-family:",";"],(function(e){return e.theme.text.font.family})),Hs=(0,o.default)("span").withConfig(g.OY).withConfig({displayName:"StyledText",componentId:"sc-1sadyjn-0"})([""," "," "," "," "," "," "," "," ",""],g.m,(function(e){return function(e){var t=e.size||"medium",n=e.theme.text[t];return n?(0,o.css)(["font-size:",";line-height:",";"],n.size,n.height):(0,o.css)(["font-size:",";line-height:normal;"],t)}(e)}),(function(e){return e.textAlign&&g.O8}),(function(e){return e.truncate&&"\n  white-space: nowrap;\n  max-width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n"}),(function(e){return e.colorProp&&Ys}),(function(e){return e.weight&&Us}),(function(e){return e.wordBreak&&Ws}),(function(e){return e.theme.text.font&&e.theme.text.font.family&&Gs}),(function(e){return e.theme.text&&e.theme.text.extend})),Xs=n(961),Zs=["html","body"],qs=function(e,t){void 0===e&&(e=document.body);var n=document.createElement("div");return"first"===t?e.prepend(n):e.appendChild(n),n},Js=function(e){var t=window.scrollX,n=window.scrollY;e.focus(),window.scrollTo(t,n)},Ks="tabindex",$s="data-g-tabindex",el=/^(a|area|input|select|textarea|button|iframe)$/,tl=function(e){if(e)return e.offsetParent?e:tl(e.parentElement)||e},nl=function(e){return e&&"BUTTON"!==e.nodeName&&"A"!==e.nodeName?nl(e.parentElement):e},rl=["hidden","restrictScroll","children","trapFocus"];function ol(){return ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ol.apply(null,arguments)}var al=function(e){var t=e.hidden,n=void 0!==t&&t,o=e.restrictScroll,a=void 0!==o&&o,i=e.children,s=e.trapFocus,l=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,rl),c=(0,r.useState)(""),u=c[0],d=c[1],h=(0,r.useRef)(null),m=(0,r.useRef)(null),p=(0,r.useRef)(null),f=function(){var e=(0,r.useRef)([]),t=(0,r.useMemo)((function(){return{roots:e}}),[]),n=(0,r.useContext)(y);return{contextValue:n||t,hasRoots:void 0!==(null==n?void 0:n.roots)}}(),A=f.contextValue,g=f.hasRoots,v=A.roots,b=(0,r.useRef)(!1),E=(0,r.useRef)(null);(0,r.useEffect)((function(){var e=h.current,t=v.current,r=function(e){if(!function(e){if((null==e?void 0:e.tabIndex)<0||null!=e&&e.disabled)return!1;switch(null==e?void 0:e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"DIV":return e.tabIndex>=0;default:return!1}}(e))return!1;b.current=!0;try{e.focus()}catch(t){}return b.current=!1,document.activeElement===e},o=function(e){for(var t=0;t<e.childNodes.length;t+=1){var n=e.childNodes[t];
4if(r(n)||o(n))return!0}return!1},a=function(e){for(var t=e.childNodes.length-1;t>=0;t-=1){var n=e.childNodes[t];if(r(n)||a(n))return!0}return!1},i=function(r){!n&&s&&!1===b.current&&e&&t[t.length-1]===e&&(e.contains(r.target)?E.current=r.target:(o(e),E.current===document.activeElement&&a(e),E.current=document.activeElement))};if(e&&t.push(e),!n&&s){var l=document.createElement("div"),c=document.createElement("div"),u={position:"absolute",height:"1px",left:"0",right:"0"};Object.assign(l.style,ol({},u,{top:"0"})),Object.assign(c.style,ol({},u,{bottom:"0"})),m.current=e.parentNode.insertBefore(l,e),p.current=e.parentNode.insertBefore(c,e.nextSibling),m.current.tabIndex=0,p.current.tabIndex=0}return document.addEventListener("focus",i,!0),function(){var n,r;t.includes(e)&&t.splice(t.indexOf(e),1),document.removeEventListener("focus",i,!0),null!=t&&t[t.length-1]&&function(e){if(!e.hasAttribute("aria-live")){e.removeAttribute("aria-hidden");var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return e.hasAttribute($s)})).forEach((function(e){var t=e.getAttribute($s);t>=0?e.setAttribute(Ks,e.getAttribute($s)):"none"===t&&e.removeAttribute(Ks),e.removeAttribute($s)}))}}(t[t.length-1]),null==m||null==(n=m.current)||n.remove(),null==p||null==(r=p.current)||r.remove()}}),[n,v,s]),(0,r.useEffect)((function(){return"hidden"!==u&&!n&&a&&s&&(d(document.body.style.overflow),document.body.style.overflow="hidden"),function(){"hidden"!==u&&!n&&a&&s&&(document.body.style.overflow=u)}}),[u,n,s,a]),(0,r.useEffect)((function(){var e=v.current,t=setTimeout((function(){!n&&s&&(null==e||e.forEach((function(t,n){n<e.length-1&&function(e){if(!e.hasAttribute("aria-live")){e.setAttribute("aria-hidden",!0);var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return null!==e.getAttribute(Ks)})).forEach((function(e){e.getAttribute($s)||e.setAttribute($s,e.getAttribute(Ks)),e.setAttribute(Ks,-1)})),Array.prototype.filter.call(t||[],(function(e){return e.tagName.toLowerCase().match(el)&&e.focus&&null===e.getAttribute($s)})).forEach((function(e){e.setAttribute($s,"none"),e.setAttribute(Ks,-1)}))}}(t)})))}),0);return function(){return clearTimeout(t)}}),[n,v,s]);var w=r.createElement("div",ol({ref:h,"aria-hidden":n},l),i);return g?w:r.createElement(y.Provider,{value:A},w)},il=r.createContext([]),sl=n(6167),ll=n(5050);var cl=(0,o.keyframes)(["0%{opacity:0.5;transform:scale(0.8);}100%{opacity:1;transform:scale(1);}"]),ul=(0,o.default)(P.a).withConfig({displayName:"StyledDrop",componentId:"sc-16s5rx8-0"})([""," "," position:fixed;z-index:",";outline:none;"," "," opacity:0;transform-origin:",";animation:"," 0.1s forwards;animation-delay:0.01s;@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){display:flex;align-items:stretch;}",""],g.BI,(function(e){return!e.plain&&(e.round&&(0,g.IJ)(e.round,!0,e.theme)||"border-radius: "+e.theme.global.drop.border.radius+";")}),(function(e){return e.theme.global.drop.zIndex}),(function(e){return!e.plain&&(0,p.mT)(e.background||e.theme.global.drop.background,e.theme)}),(function(e){return!e.plain&&(e.margin||e.theme.global.drop.margin)&&e.theme.global&&function(e,t,n,r,o){var a=e.global.edgeSize[n]||n,i={},s="string"==typeof a&&a.split(" ").length>1;return!0!==e.global.drop.intelligentMargin||s||"string"!=typeof a?(0,g.hY)("margin",o||e.global.drop.margin,r,e.global.edgeSize.responsiveBreakpoint,e):("bottom"===t.top?i.top=a:"top"===t.bottom&&(i.bottom=a),"left"===t.right?i.left="-"+a:"right"===t.left&&(i.left=a),Object.keys(i)||(i="none"),(0,g.hY)("margin",i,r,e.global.edgeSize.responsiveBreakpoint,e))}(e.theme,e.alignProp,e.theme.global.drop.margin,e.responsive,e.margin)}),(function(e){return function(e){var t="top";e.bottom&&(t="bottom");var n="left";return e.right&&(n="right"),t+" "+n}(e.alignProp)}),cl,(function(e){return e.theme.global.drop&&e.theme.global.drop.extend})),dl=["a11yTitle","aria-label","align","background","onAlign","children","dropTarget","elevation","onClickOutside","onEsc","onKeyDown","overflow","plain","responsive","restrictFocus","stretch","trapFocus"];function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hl.apply(null,arguments)}var ml=function(e){27===(e.keyCode?e.keyCode:e.which)&&e.stopPropagation()},pl={top:"top",left:"left"},fl=(0,r.forwardRef)((function(e,t){var n=e.a11yTitle,a=e["aria-label"],i=e.align,s=void 0===i?pl:i,l=e.background,c=e.onAlign,u=e.children,h=e.dropTarget,m=e.elevation,A=e.onClickOutside,g=e.onEsc,v=e.onKeyDown,y=e.overflow,E=void 0===y?"auto":y,w=e.plain,x=e.responsive,k=void 0===x||x,_=e.restrictFocus,C=e.stretch,S=void 0===C?"width":C,M=e.trapFocus,T=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,dl),I=(0,r.useContext)(d),B=(0,ae.i)(),j=B.theme,O=B.passThemeFlag,P=(0,r.useContext)(b.k).drop,L=(0,r.useContext)(il),z=(0,r.useMemo)((function(){return L.length}),[L]),D=(0,r.useMemo)((function(){return[].concat(L,[z])}),[L,z]),R=f(t);(0,r.useEffect)((function(){var e=function(e){for(var t=null,n=e.composed&&e.composedPath()[0]||e.target;null===t&&n&&n!==document&&!(n instanceof ShadowRoot);){var r=n.getAttribute("data-g-portal-id");null!==r&&(t=parseInt(r,10)),n=n.parentNode}(!((null==h?void 0:h.current)&&h.current.contains(e.target)||h&&"function"==typeof h.contains&&h.contains(e.target))&&null===t||-1!==L.indexOf(t))&&A(e)};return A&&document.addEventListener("mousedown",e),function(){A&&document.removeEventListener("mousedown",e)}}),[A,I,L,h]),(0,r.useEffect)((function(){var e,t=(null==h?void 0:h.current)||h,n=function(e){var n,r,o,a=window.innerWidth,i=window.innerHeight,l=R.current;if(l&&t){var u,d,h,m,p,f,A,g,v,y;l.style.left="",l.style.top="",l.style.bottom="",l.style.width="",e||(l.style.maxHeight="");var b,E,w,x,_=t.getBoundingClientRect(),C=l.getBoundingClientRect();b=S?Math.min("align"===S?Math.min(_.width,C.width):Math.max(_.width,C.width),a):Math.min(C.width,a),s.left?"left"===s.left?E=_.left:"r
4ight"===s.left&&(E=_.left+_.width):s.right?"left"===s.right?E=_.left-b:"right"===s.right&&(E=_.left+_.width-b):E=_.left+_.width/2-b/2,E+b>a?E-=E+b-a:E<0&&(E=0);var M,T,I,B=C.height;if(k&&"top"===s.bottom&&_.top-C.height<=0&&_.bottom+C.height<i?B=w=_.bottom:k&&"top"===s.top&&_.top+C.height>=i&&_.top+C.height>_.bottom&&_.bottom-C.height>0?(x=_.bottom,B=w):k&&"bottom"===s.top&&_.bottom+C.height>=i&&_.top-C.height>0?B=x=_.top:k&&"bottom"===s.bottom&&_.bottom-C.height<=0&&_.bottom-C.height>_.top&&_.top+C.height>0?(w=_.top,B=x):"top"===s.top?B=i-(w=_.top):"bottom"===s.top?B=i-(w=_.bottom):"top"===s.bottom?B=x=_.top:"bottom"===s.bottom?B=x=_.bottom:w=_.top+_.height/2-C.height/2,null!=P&&P.checkContainingBlock)T=null==(I=M=function(e){for(var t=function(e){var t;return null!=(t=e.offsetParent)?t:e.parentNode}(e);t instanceof window.HTMLElement&&!["html","body"].includes(t.nodeName.toLowerCase());){var n,r=window.getComputedStyle(t);if(r.transform&&"none"!==r.transform||r.perspective&&"none"!==r.perspective||r.backdropFilter&&"none"!==r.backdropFilter||"paint"===r.contain||["transform","perspective"].includes(r.willChange)||"filter"===r.willChange||r.filter&&"none"!==r.filter)return t;t=null==(n=t)?void 0:n.parentNode}return null}(l))?void 0:I.getBoundingClientRect();var O=null!=(u=null==(d=T)?void 0:d.left)?u:0,L=null!=(h=null==(m=T)?void 0:m.top)?h:0,z=null!=(p=null==(f=T)?void 0:f.bottom)?p:i,D=null!=(A=null==(g=M)?void 0:g.scrollLeft)?A:0,N=null!=(v=null==(y=M)?void 0:y.scrollTop)?v:0;l.style.left=E-O+D+"px",S&&(l.style.width=b+.1+"px"),""!==w&&(l.style.top=w-L+N+"px"),""!==x&&(l.style.bottom=z-x-N+"px"),e||(j.drop&&j.drop.maxHeight&&(B=Math.min(B,(0,sl.HY)(j.drop.maxHeight))),l.style.maxHeight=B+"px")}c&&(r=null==R||null==(n=R.current)?void 0:n.style,o=""!==(null==r?void 0:r.top)?"top":"bottom",c(o))},r=function(){(e=function(e,t){var n=[];if(e){for(var r=e.parentNode;r&&r.getBoundingClientRect;){var o=r.getBoundingClientRect();t?o.width&&r.scrollWidth>o.width+10&&n.push(r):o.height&&r.scrollHeight>o.height+10&&n.push(r),r=r.parentNode}n.length&&Zs.includes(n[0].tagName.toLowerCase())&&(n.length=0),n.push(document)}return n}(t)).forEach((function(e){return e.addEventListener("scroll",n)}))},o=function(){e.forEach((function(e){return e.removeEventListener("scroll",n)})),e=[]},a=function(){o(),r(),n(!1)};return r(),window.addEventListener("resize",a),n(!1),function(){o(),window.removeEventListener("resize",a)}}),[s,I,c,h,L,z,k,_,S,j.drop,R,P]),(0,r.useEffect)((function(){if(_){var e=R.current;e&&(e.contains(document.activeElement)||e.focus())}}),[R,_]);var N=r.createElement(ul,hl({"aria-label":n||a,ref:R,background:l,plain:w,elevation:w?void 0:m||j.global.drop.elevation||j.global.drop.shadowSize||"small",tabIndex:"-1",alignProp:s,overflow:E,"data-g-portal-id":z},O,T),u),F=(0,r.useMemo)((function(){var e;return(l||j.global.drop.background)&&(e=(0,p.hG)(l||j.global.drop.background,j)),hl({},j,{dark:e})}),[l,j]),V=F.dark;return void 0!==V&&V!==j.dark&&(N=r.createElement(o.ThemeContext.Provider,{value:F},N)),r.createElement(il.Provider,{value:D},r.createElement(al,{onKeyDown:g&&ml,trapFocus:M},r.createElement(ll.s,{capture:!0,onEsc:g?function(e){e.stopPropagation(),g(e)}:void 0,onKeyDown:v,target:"document"},N)))})),Al=(i().string,i().oneOfType([i().oneOf(["baseline","center","end","start","stretch"]),i().string]),i().oneOf(["fadeIn","fadeOut","jiggle","pulse","rotateLeft","rotateRight","slideUp","slideDown","slideLeft","slideRight","zoomIn","zoomOut"])),gl=i().shape({type:Al,delay:i().number,duration:i().number,size:i().oneOf(["xsmall","small","medium","large","xlarge"])}),vl=i().oneOfType([Al,gl,i().arrayOf(i().oneOfType([Al,gl]))]),yl=i().oneOfType([i().string,i().shape({dark:i().string,light:i().string})]),bl=i().oneOfType([i().string,i().shape({clip:i().oneOfType([i().oneOf(["text"]),i().string]),color:yl,dark:i().oneOfType([i().bool,i().string]),image:i().string,position:i().string,opacity:i().oneOfType([i().string,i().bool,i().number,i().oneOf(["weak","medium","strong"])]),repeat:i().oneOfType([i().oneOf(["no-repeat","repeat"]),i().string]),rotate:i().oneOfType([i().number,i().string]),size:i().oneOfType([i().oneOf(["cover","contain"]),i().string]),light:i().string})]),El=["xxsmall","xsmall","small","medium","large","xlarge"],wl=(i().oneOfType([i().oneOf(["none"].concat(El)),i().shape({bottom:i().oneOfType([i().oneOf(El),i().string]),end:i().oneOfType([i().oneOf(El),i().string]),horizontal:i().oneOfType([i().oneOf(El),i().string]),left:i().oneOfType([i().oneOf(El),i().string]),right:i().oneOfType([i().oneOf(El),i().string]),start:i().oneOfType([i().oneOf(El),i().string]),top:i().oneOfType([i().oneOf(El),i().string]),vertical:i().oneOfType([i().oneOf(El),i().string])}),i().string]),["xxsmall","xsmall","small","medium","large","xlarge"]),xl=(i().oneOfType([i().oneOf(["none"].concat(wl)),i().shape({bottom:i().oneOfType([i().oneOf(wl),i().string]),end:i().oneOfType([i().oneOf(wl),i().string]),horizontal:i().oneOfType([i().oneOf(wl),i().string]),left:i().oneOfType([i().oneOf(wl),i().string]),right:i().oneOfType([i().oneOf(wl),i().string]),start:i().oneOfType([i().oneOf(wl),i().string]),top:i().oneOfType([i().oneOf(wl),i().string]),vertical:i().oneOfType([i().oneOf(wl),i().string])}),i().string]),i().oneOf(["start","center","end","stretch","baseline"]),i().string,i().oneOfType([i().oneOf(["none","xsmall","small","medium","large","xlarge"]),i().string])),kl=(i().oneOfType([i().bool,i().string,i().oneOf(["background"]),bl,i().shape({background:bl,elevation:xl})]),i().oneOf(["circle","diamond","square","star","triangle","triangleDown"]),i().oneOf(["squares","circles","stripesHorizontal","stripesVertical","stripesDiagonalDown","stripesDiagonalUp"]),i().oneOfType([i().bool,i().oneOf(["xsmall","small","medium","large","xlarge","full"]),i().string,i().shape({corner:i().oneOf(["top","left","bottom","right","top-left","top-right","bottom-left","bottom-right"]),size:i().oneOfType([i().oneOf(["xsmall","small","medium","large","xlarge"]),i().string])})]),i().shape({dark:i().arrayOf(i().string),light:i().arrayOf(i().string)})),_l=(i().oneOfType([i().bool,i().shape({animation:vl,colors:kl,depth:i().number,message:i().oneOfType([i().string,i().shape({start:i().string,end:i().string})])})]),i().oneOf(["xxsmall","xsmall","small","medium","large","xlarge","xxlarge"])),Cl=(i().oneOfType([_l,i().string,i().shape({height:i().oneOfType([_l,i().string]),min:i().oneOfType([_l,i().string]),max:i().oneOfType([_l,i().string])})]),i().oneOfType([_l,i().string,i().shape({width:i().oneOfType([_l,i().string]),min:i().oneOfType([_l,i().string]),max:i().oneOfType([_l,i().string])})]),["auto","hidden","scroll","visible"]);i().oneOfType([i().oneOf(Cl),i().shape({horizontal:i().oneOf(Cl),vertical:i().oneOf(Cl)}),i().string]);var Sl={},Ml=["inline","restrictFocus","target","trapFocus"];function Tl(){return Tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tl.apply(null,arguments)}var Il=(0,r.forwardRef)((function(e,t){var n=e.inline,o=e.restrictFocus,a=e.target,i=e.trapFocus,s=void 0===i||i,l=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,Ml),c=(0,ae.i)().theme,u=(0,r.useState)(),h=u[0],m=u[1];(0,r.useEffect)((function(){return m(document.activeElement)}),[]);var p=(0,r.useState)(),f=p[0],A=p[1],g=(0,r.useContext)(d),v=(0,r.useRef)(null);(0,r.useEffect)((function(){null!=v&&v.current||(v.current=g.childNodes.length,A(n?void 0:qs(g)))}),[g,n]),(0,r.useEffect)((function(){return function(){o&&h&&(h.focus?Js(h):h.parentNode&&h.parentNode.focus&&Js(h.parentNode)),f&&g.removeChild(f)}}),[g,f,h,o]);var y=r.createElement(fl,Tl({ref:t,dir:c&&c.dir,dropTarget:a,restrictFocus:o,trapFocus:s},l));return n?y:f?(0,Xs.createPortal)(y,f):null}));Il.displayName="Drop",Il.propTypes=Sl;var Bl=function(){var e=(0,r.useState)(),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=function(){return n(!1)},t=function(){return n(!0)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),function(){document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}}),[]),t};var jl={};function Ol(){return Ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ol.apply(null,arguments)}var Pl=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.content,a=e.defaultVisible,i=void 0!==a&&a,s=e.dropProps,l=e.plain,c=(0,ae.i)().theme,u=(0,r.useState)(!1),d=u[0],h=u[1],m=(0,r.useState)(!1),p=m[0],A=m[1],g=Bl(),v=f(t),y=r.Children.count(n)<=1&&!r.isValidElement(n)&&r.createElement("span",null,n)||r.Children.only(n),b=(0,r.cloneElement)(y,{onMouseEnter:function(e){var t;h(!0),null!=(t=y.props)&&t.onMouseEnter&&y.props.onMouseEnter(e)},onMouseLeave:function(e){var t;h(!1),null!=(t=y.props)&&t.onMouseLeave&&y.props.onMouseLeave(e)},onFocus:function(e){var t;g&&h(!0),null!=(t=y.props)&&t.onFocus&&y.props.onFocus(e)},onBlur:function(e){var t;g&&h(!1),null!=(t=y.props)&&t.onBlur&&y.props.onBlur(e)},key:"tip-child",ref:function(e){"function"==typeof v?v(e):v&&(v.current=e);var t=y.ref;"function"==typeof t?t(e):t&&(t.current=e)}});return(0,r.useEffect)((function(){h(i)}),[i]),[b,(d||p)&&r.createElement(Il,Ol({target:v.current,trapFocus:!1,key:"tip-drop"},c.tip.drop,s,{onMouseEnter:function(){return A(!0)},onMouseLeave:function(){return A(!1)}}),l?o:r.createElement(P.a,c.tip.content,o))]}));Pl.displayName="Tip",Pl.propTypes=jl;var Ll={},zl=n(6636);var Dl={},Rl=o.default.div.withConfig(g.OY).withConfig({displayName:"StyledSkeleton",componentId:"sc-1omqm6u-0"})(["display:flex;box-sizing:border-box;"," "," "," "," "," "," ",""],g.m,(function(e){return e.background&&(0,p.mT)(e.background,e.theme)}),(function(e){var t;return(0,g.hv)(e.heightProp||(null==(t=e.theme.text)||null==(t=t.medium)?void 0:t.height),e.theme)}),(function(e){return(0,g.kj)(e.widthProp||"100%",e.theme)}),(function(e){return e.pad&&(0,g.hY)("padding",e.pad,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return e.round&&(0,g.IJ)(e.round,!0,e.theme)}),(function(e){var t;return null==(t=e.theme)||null==(t=t.skeleton)?void 0:t.extend})),Nl=["as","colors","width","height"];function Fl(){return Fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fl.apply(null,arguments)}var Vl=(0,r.forwardRef)((function(e,t){var n,o=e.as,a=e.colors,i=e.width,s=e.he
4ight,l=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,Nl),c=(0,ae.i)(),u=c.theme,d=c.passThemeFlag,h=(0,zl.B)(),m=(null==h?void 0:h.depth)||0,p=(a||(null==u||null==(n=u.skeleton)?void 0:n.colors))[u.dark?"dark":"light"],f=p[(m+1)%p.length];return r.createElement(Rl,Fl({ref:t,as:o,background:f,widthProp:i,heightProp:s},d,l))}));Vl.displayName="Skeleton",Vl.propTypes=Dl;var Ql=["as","size"];function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yl.apply(null,arguments)}var Ul=(0,r.forwardRef)((function(e,t){var n=e.as,o=e.size,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,Ql),i=(0,ae.i)().theme,s=o||"medium",l=i.text[s],c=l?l.size:o;return r.createElement(Vl,Yl({ref:t,as:n,height:c},i.text.skeleton,a))}));Ul.displayName="TextSkeleton";var Wl=r.createContext({}),Gl=["children","color","tag","as","tip","a11yTitle","truncate","size","skeleton","level"];function Hl(){return Hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hl.apply(null,arguments)}var Xl=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.color,a=e.tag,i=e.as,s=e.tip,l=e.a11yTitle,c=void 0===l?"string"==typeof s&&s||(null==s?void 0:s.content)||void 0:l,u=e.truncate,d=e.size,h=e.skeleton,m=e.level,p=void 0===m?1:m,A=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,Gl),g=(0,ae.i)().passThemeFlag,v=f(t),y=(0,r.useState)(!1),b=y[0],E=y[1],w=(0,r.useMemo)((function(){return{size:d}}),[d]),x=(0,zl.B)();if(Qs((function(){var e=function(){E(!1),"tip"===u&&v.current&&v.current.scrollWidth>v.current.offsetWidth&&E(!0)};return window.addEventListener("resize",e),window.addEventListener("pagechange",e),e(),function(){window.removeEventListener("resize",e),window.removeEventListener("pagechange",e)}}),[v,u]),x)return r.createElement(Ul,Hl({ref:t,as:i,level:p,size:d},h,A));var k=r.createElement(Hs,Hl({as:!i&&a?a:i,colorProp:o,"aria-label":c,level:p,truncate:u,size:d},g,A,{ref:v}),void 0!==n?r.createElement(Wl.Provider,{value:w},n):void 0);if(s||b){if(b)return r.createElement(Pl,Hl({content:n},s),k);if("tip"!==u)return r.createElement(Pl,s,k)}return k}));Xl.displayName="Text",Xl.propTypes=Ll;var Zl=e=>{let{progress:t}=e;const n="small"===(0,r.useContext)(u);return r.createElement(P.a,{fill:!0,background:"black",justify:"center",align:"center"},r.createElement(P.a,{gap:"medium",align:"center"},r.createElement(P.a,{width:n?"240px":"480px",height:n?"93.4px":"186.8px",background:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNDAuMDcgOTQuMDEiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im04MS41NSwxLjNoLTMxLjAydjI4LjE1TDM1LjA1LDMuN2MtMS4wOC0xLjgtMi40Ni0zLTQuNS0zcy0zLjQyLDEuMi00LjUsM0wxLjI3LDQ0LjkyaDEwLjYyTDMwLjE5LDEzLjlsNy45OCwxMy40NGgtOS44NGwtNC4yNiw3LjI2aDE4LjQybDYuMTIsMTAuMzJoMTEuMjJWMTAuNjZoMjEuNzJjNC41NiwwLDcuMjYsMi41OCw3LjI2LDYuNzJzLTIuNyw2LjcyLTcuMjYsNi43MmgtMTYuMjZ2OS4wNmgxNi4yNmMxMC4zMiwwLDE2LjM4LTYuNTQsMTYuMzgtMTYuMDhzLTYuMDYtMTUuNzgtMTYuMzgtMTUuNzhaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMTQ5Ljc4LDQuNTRjLS42Ni0yLjUyLTIuMTYtMy43OC00LjQ0LTMuNzgtMS45OCwwLTMuNTQsMS4xNC00LjQ0LDMuMTJsLTEyLjk2LDI3LjcyLTEyLjk2LTI3LjcyYy0uOTYtMS45OC0yLjc2LTMuMTItNC42OC0zLjEyLTIuNCwwLTMuOSwxLjI2LTQuNTYsMy43OGwtMTAuNjgsNDAuMzhoOS4xOGw3LjA4LTI3LjU0LDExLjU4LDI0LjY2YzEuMDIsMi4yMiwyLjUyLDMuNDgsNC43NCwzLjQ4czMuNjYtMS4yNiw0Ljc0LTMuNDhsMTEuNjQtMjQuNjYsNy4xNCwyNy41NCw2LjQzLTEwLjY5LTcuODEtMjkuNjlaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMTg0LjkzLDMuN2MtMS4wOC0xLjgtMi40Ni0zLTQuNS0zcy0zLjQyLDEuMi00LjUsM2wtMTguMzUsMzAuNTMtNi40MywxMC42OWgxMC42Mm
4wxOC4zLTMxLjAyLDcuOTgsMTMuNDRoLTkuODRsLTQuMjYsNy4yNmgxOC40Mmw2LjEyLDEwLjMyaDExLjIyTDE4NC45MywzLjdaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJtNTAuNTMsOTIuNnYtMTMuMDhjMC04LjcsNC44Ni0xMi43OCwxMy45OC0xMi43OGgxNS4zNmMyLjU4LDAsNC4zMi0xLjUsNC4zMi00LjJzLTEuNjgtNC4yLTQuMzItNC4yaC0yOC45OHYtOS4zNmgyOC45OGM5LjA2LDAsMTMuOTgsNS40LDEzLjk4LDEyLjZzLTUuMjgsMTIuNTQtMTMuODYsMTIuNTRoLTE1LjQ4Yy0zLjMsMC01LjE2LDEuNjgtNS4xNiw0LjYydjQuNWgzMy43OHY5LjM2aC00Mi42WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0ibTExOC44NCw5My4xNGMtMTMuMDIsMC0yMi45OC0xMC4xNC0yMi45OC0yMi44czkuOTYtMjEuOSwyMi45OC0yMS45LDIzLjA0LDkuMDYsMjMuMDQsMjEuOS0xMC4wOCwyMi44LTIzLjA0LDIyLjhabTAtMzUuMjhjLTksMC0xMy42Miw1LjUyLTEzLjYyLDEyLjk2czQuNTYsMTIuOTYsMTMuNTYsMTIuOTYsMTMuNjgtNS41MiwxMy42OC0xMi45Ni00LjYyLTEyLjk2LTEzLjYyLTEyLjk2WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0ibTE2Ny4zLDkzLjE0Yy0xMy4wMiwwLTIyLjk4LTEwLjE0LTIyLjk4LTIyLjhzOS45Ni0yMS45LDIyLjk4LTIxLjksMjMuMDQsOS4wNiwyMy4wNCwyMS45LTEwLjA4LDIyLjgtMjMuMDQsMjIuOFptMC0zNS4yOGMtOSwwLTEzLjYyLDUuNTItMTMuNjIsMTIuOTZzNC41NiwxMi45NiwxMy41NiwxMi45NiwxMy42OC01LjUyLDEzLjY4LTEyLjk2LTQuNjItMTIuOTYtMTMuNjItMTIuOTZaIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJtMjE1Ljc2LDkzLjE0Yy0xMy4wMiwwLTIyLjk4LTEwLjE0LTIyLjk4LTIyLjhzOS45Ni0yMS45LDIyLjk4LTIxLjksMjMuMDQsOS4wNiwyMy4wNCwyMS45LTEwLjA4LDIyLjgtMjMuMDQsMjIuOFptMC0zNS4yOGMtOSwwLTEzLjYyLDUuNTItMTMuNjIsMTIuOTZzNC41NiwxMi45NiwxMy41NiwxMi45NiwxMy42OC01LjUyLDEzLjY4LTEyLjk2LTQuNjItMTIuOTYtMTMuNjItMTIuOTZaIi8+PC9zdmc+)",overflow:"visible"}),r.createElement(Xl,{textAlign:"center"},"Audio Planetarium Module",r.createElement("br",null),"for the Anthropocene"),r.createElement(P.a,{width:n?"240px":"480px",height:"2px",background:"border"},r.createElement(Vs,{fill:"vertical",background:"white",initial:{width:"0%"},animate:{width:100*t+"%"},transition:{delay:.1,duration:.3}}))))};var ql=e=>{let{preloadProgress:t,children:n}=e;const{machinePadding:o}=H.global.size,a=(0,r.useRef)(null),i=(0,r.useRef)(null),{0:s,1:l}=(0,r.useState)(!0);return(0,r.useEffect)((()=>{1<=t&&setTimeout((()=>{l(!1)}),800)}),[t]),(0,r.useEffect)((()=>{i.current=new st({canvas:a.current,detectAudio:!1,makeGlobal:!1}).synth,i.current.osc(10,-.1,.4).brightness(.4).kaleid(9).add(i.current.noise(1)).color(.3,.5,.6).mult(i.current.noise(200,1).modulateScale(i.current.shape(48,0,1.5).invert(),1),1).brightness(-.2).saturate(.8).out()}),[]),r.createElement(le,{fill:!0,interactiveChild:1},r.createElement(P.a,{width:"100dvw",height:"100dvh"},r.createElement("canvas",{ref:a,style:{width:"100%",height:"100%"}})),r.createElement(P.a,{width:"100dvw",height:"100dvh",justify:"center",align:"center",style:{visibility:1<=t?"visible":"hidden"}},n),r.createElement(Te,null,s&&r.createElement(Vs,{width:"100dvw",height:"100dvh",exit:{opacity:0}},r.createElement(Zl,{progress:t}))))};var Jl=e=>{let{width:t,height:n}=e;const{scale:o}=q();return r.createElement(P.a,{width:t?{min:o*t+"px",max:o*t+"px"}:"100%",height:n?{min:o*n+"px",max:o*n+"px"}:"100%",fill:(!t||!n)&&(t?"vertical":"horizontal")})},Kl=n(2532);const $l=()=>r.createElement(Kl.S,{src:"../images/led/off.png",alt:"LED off",placeholder:"blurred",__imageData:n(6)}),ec=()=>r.createElement(Kl.S,{src:"../images/led/green.png",alt:"LED green",placeholder:"blurred",__imageData:n(8348)}),tc=()=>r.createElement(Kl.S,{src:"../images/led/red.png",alt:"LED red",placeholder:"blurred",__imageData:n(583)});var nc=e=>{let{on:t,color:n,blink:o}=e;const a=24,i=24,{scale:s}=q(),l=s*a,c=s*i,u="green"===n?r.createElement(ec,null):r.createElement(tc,null);return r.createElement(P.a,{width:`${l}px`,height:`${c}px`},r.createElement(le,{fill:!0},r.createElement($l,null),o?t&&r.createElement(Vs,{initial:{opacity:0,scale:.75},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.75},transition:{duration:1.5,ease:"easeOut",repeat:1/0,repeatType:"reverse"}},u):t&&r.createElement(Te,null,r.createElement(Vs,{initial:{opacity:0,scale:.75},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.75},transition:{duration:.15}},u))))},rc=function(e,t,n){var o;return e&&null!=n&&null!=(o=n.icon)&&o.matchSize&&!e.props.size?(0,r.cloneElement)(e,{size:t}):e};var oc={},ac=n(2247);function ic(){return ic=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ic.apply(null,arguments)}var sc=(0,o.default)(P.a).withConfig({displayName:"Badge__StyledBadgeContainer",componentId:"sc-1es4ws1-0"})(["",""],(function(e){return e.theme.button.badge.container.extend})),lc=function(e){var t,n,o=e.children,a=e.content,i=(0,ae.i)(),s=i.theme,l=i.passThemeFlag,c=(0,r.useRef)(),u=(0,r.useRef)(),d=(0,r.useRef)(),h="boolean"==typeof a||a&&a.value&&"boolean"==typeof a.value?(0,sl.HY)(s.button.badge.size.medium)/2+"px":s.button.badge.size.medium;if(Qs((function(){var e=function(){if(null!=c&&c.current)if(c.current.style.minHeight="",c.current.style.minWidth="",null!=u&&u.current)if("number"==typeof a||"object"==typeof a&&a.value){c.current.style.minHeight=h,c.current.style.minWidth=h;var e=u.current.getBoundingClientRect(),t=e.height,n=e.width;if(t){var r=h,o=h,i=2.5*((0,sl.HY)(r)-t);c.current.style.minHeight=r,c.current.style.minWidth=Math.max((0,sl.HY)(o),Math.ceil(n+i))+"px"}}else c.current.style.minHeight=u.current.getBoundingClientRect().width,c.current.style.minWidth=u.current.getBoundingClientRect().height;else c.current.style.minHeight=h,c.current.style.minWidth=h};return window.addEventListener("resize",e),e(),function(){window.removeEventListener("resize",e)}}),[a,h]),Qs((function(){if(null!=d&&d.current){var e="boolean"==typeof a||a&&!0===a.value?"25%":"50%";d.current.children[1].style.top=0,d.current.children[1].style.right=0,d.current.children[1].style.transform="translate("+e+", -"+e+")",d.current.children[1].style.transformOrigin="100% 0%"}}),[a]),"number"==typeof a?t=a:"object"==typeof a&&(t=a.value),"number"==typeof t||"boolean"==typeof t||"boolean"==typeof a){if("number"==typeof t){var m=a.max||9;
4n=r.createElement(Xl,{color:"text-strong",size:s.button.badge.text.size.medium,weight:"normal",ref:u},t>m?m+"+":t)}n=r.createElement(sc,ic({ref:c,align:"center",background:a.background||s.button.badge.container.background,flex:!1,justify:"center",round:!0,pad:"boolean"!=typeof t&&"boolean"!=typeof a?s.button.badge.container.pad:void 0},l),n)}else n=r.createElement(P.a,{ref:u},a);return r.createElement(le,{ref:d,anchor:"top-right"},o,n)},cc=function(e){var t=e.hasIcon&&!e.hasLabel,n=e.sizeProp;return!t&&n&&e.theme.button.size&&e.theme.button.size[n]?e.theme.button.size[n].border.radius:e.theme.button.border.radius},uc=function(e){return(0,o.css)(["border:"," solid ",";border-radius:",";"," color:",";padding:",";",""],e.theme.button.border.width,(0,m.$2)(e.colorValue||e.theme.button.border.color||"control",e.theme),cc(e),e.theme.button.elevation&&(0,g.$j)(e.theme.button.elevation),(0,m.$2)(e.theme.button.color||"text",e.theme),function(e){var t=e.sizeProp;return t&&e.theme.button.size&&e.theme.button.size[t]?(0,o.css)([""," ",""],e.theme.button.size[t].pad.vertical,e.theme.button.size[t].pad.horizontal):(0,o.css)([""," ",""],e.theme.button.padding.vertical,e.theme.button.padding.horizontal)}(e),function(e){var t=e.sizeProp||"medium",n=e.theme.text[t];return(0,o.css)(["font-size:",";line-height:",";"],n.size,n.height)}(e))};var dc=(0,o.css)(["&:hover{"," ",";}"],(function(e){return e.hoverIndicator&&(0,p.du)(e.hoverIndicator,e.theme)}),(function(e){return!e.plain&&(0,o.css)(["box-shadow:0px 0px 0px 2px ",";"],function(e){return e.colorValue?(0,m.$2)(e.colorValue,e.theme):e.active&&e.primary&&e.theme.button.primary&&e.theme.button.primary.active&&e.theme.button.primary.active.border&&e.theme.button.primary.active.border.color?(0,m.$2)(e.theme.button.primary.active.border.color,e.theme):(0,m.$2)(e.theme.button.border.color||"control",e.theme)}(e))})),hc=o.default.button.withConfig(g.OY).withConfig({displayName:"StyledButton",componentId:"sc-323bzc-0"})(["display:inline-block;box-sizing:border-box;cursor:pointer;font:inherit;text-decoration:none;margin:0;background:transparent;overflow:visible;text-transform:none;"," "," "," "," "," "," "," &:focus{","}&:focus:not(:focus-visible){","}"," "," "," "," "," "," ",""],g.m,(function(e){return e.plain&&function(e){return(0,o.css)(["color:",";outline:none;border:none;padding:0;text-align:inherit;"],(0,m.$2)(e.colorValue||"inherit",e.theme))}(e)}),(function(e){return!e.plain&&uc(e)}),(function(e){return e.primary&&function(e){var t,n;return(0,o.css)([""," border-radius:",";"," ",""],(0,p.mT)((0,m.$2)(e.colorValue||e.theme.button.primary&&e.theme.button.primary.color||"control",e.theme),e.theme,e.theme.button.color),cc(e),(null==(t=e.theme.button.primary)?void 0:t.elevation)&&(0,g.$j)(null==(n=e.theme.button.primary)?void 0:n.elevation),e.theme.button.primary&&e.theme.button.primary.extend)}(e)}),(function(e){return!e.disabled&&!e.selected&&!e.focus&&!e.busy&&!e.success&&dc}),(function(e){return!e.disabled&&e.active&&function(e){return(0,o.css)([""," "," ",""],p.Aj,e.primary&&e.theme.button.primary&&e.theme.button.primary.active&&e.theme.button.primary.active.border&&e.theme.button.primary.active.border.color&&"border: "+e.theme.button.border.width+" solid\n    "+(0,m.$2)(e.theme.button.primary.active.border.color,e.theme)+";\n    ",e.primary&&e.theme.button.primary&&e.theme.button.primary.active&&e.theme.button.primary.active.extend)}(e)}),(function(e){return e.disabled&&e.theme.button&&e.theme.button.disabled&&function(e){return(0,o.css)([""," "," "," ",""],(0,g.o2)(e.theme.button.disabled.opacity),!e.plain&&e.theme.button.disabled.border&&e.theme.button.disabled.border.color&&"border: "+e.theme.button.border.width+" solid\n    "+(0,m.$2)(e.theme.button.disabled.border.color,e.theme)+";",e.theme.button.disabled.color&&(e.primary?(0,p.mT)((0,m.$2)(e.theme.button.disabled.color,e.theme),e.theme,e.theme.button.color):"color: "+(0,m.$2)(e.theme.button.disabled.color,e.theme)+";"),e.theme.button.disabled&&e.theme.button.disabled.extend)}(e)}),(function(e){return(!e.plain||e.focusIndicator)&&(0,g.Y$)()}),(0,g.FF)(),(function(e){return!e.plain&&e.theme.button.transition&&"\n    transition-property: "+e.theme.button.transition.properties.join(",")+";\n    transition-duration: "+e.theme.button.transition.duration+"s;\n    transition-timing-function: "+e.theme.button.transition.timing+";\n  "}),(function(e){return e.fillContainer&&("horizontal"===(t=e.fillContainer)?"width: 100%;":"vertical"===t?"height: 100%;":t?"\n      width: 100%;\n      height: 100%;\n      max-width: none;\n      flex: 1 0 auto;\n    ":void 0);var t}),(function(e){return e.hasIcon&&!e.hasLabel&&"\n    line-height: 0;\n  "}),(function(e){return!0===e.pad&&e.hasIcon&&!e.hasLabel&&"\n    padding: "+e.theme.global.edgeSize.small+";\n  "}),(function(e){return!e.plain&&e.pad&&(0,g.hY)("padding",e.pad,!1,void 0,e.theme)}),(function(e){return e.theme.button&&e.theme.button.extend}),(function(e){return(e.busy||e.success)&&"\n    cursor: default;\n  "})),mc=n(3555),pc=function(e,t,n,r,o){var a,i;if(void 0===e&&(e="medium"),e&&o&&null!=n&&null!=(a=n.size)&&null!=(a=a[e])&&null!=(a=a.iconOnly)&&a.pad){var s,l=null==n||null==(s=n.size)||null==(s=s[e])||null==(s=s.iconOnly)?void 0:s.pad;return{vertical:"string"==typeof l?l:l.vertical,horizontal:"string"==typeof l?l:l.horizontal}}return e&&null!=n&&null!=(i=n.size)&&null!=(i=i[e])&&null!=(i=i[r])&&i.pad?n.size[e][r].pad:e&&n.size&&n.size[e]&&n.size[e].pad?{vertical:n.size[e].pad.vertical,horizontal:n.size[e].pad.horizontal}:t.button.padding?{vertical:t.global.edgeSize[t.button.padding.vertical]||t.button.padding.vertical,horizontal:t.global.edgeSize[t.button.padding.horizontal]||t.button.padding.horizontal}:void 0},fc=function(e){return(0,o.css)(["border:none;",";"," "," ",""],function(e){var t=e.sizeProp,n="object"==typeof e.kind?e.kind:e.theme.button;return t&&n.size&&n.size[t]?(0,o.css)(["border-radius:",";
4"],n.size[t].border.radius):n.border&&n.border.radius?(0,o.css)(["border-radius:",";"],n.border.radius):""}(e),function(e){var t=e.hasIcon,n=e.hasLabel,r=e.sizeProp,a=e.theme,i=e.kind,s="object"==typeof i?i:a.button,l=pc(r,a,s,i,t&&!n);return l?(0,o.css)(["padding:"," ",";"],l.vertical,l.horizontal):""}(e),function(e){var t=e.sizeProp||"medium",n=e.theme.text[t];return(0,o.css)(["font-size:",";line-height:",";"],n.size,e.hasIcon&&!e.hasLabel?0:n.height)}(e),e.icon&&"\n    > svg {\n      display: flex;\n      align-self: center;\n      vertical-align: middle;\n    }\n  ")},Ac=function(e,t){var n;if(t){n=e;for(var r=t.split(".");n&&r.length;)n=n[r.shift()]}return n},gc=function(e,t,n){var r;if(!0===(null==n||null==(r=n.button)?void 0:r.intelligentPad)){var a=(0,sl.HY)(t);return(0,o.css)(["padding:","px ","px;"],Math.max((0,sl.HY)(e.vertical)-a,0),Math.max((0,sl.HY)(e.horizontal)-a,0))}return(0,o.css)(["padding:"," ",";"],e.vertical,e.horizontal)},vc=o.default.button.withConfig({shouldForwardProp:function(e){return(0,mc.default)(e)&&!["kind"].includes(e)}}).withConfig({displayName:"StyledButtonKind",componentId:"sc-1vhfpnt-0"})(["display:inline-block;box-sizing:border-box;cursor:pointer;font:inherit;text-decoration:none;margin:0;background:transparent;overflow:visible;text-transform:none;"," "," "," "," "," "," "," "," "," &:focus{","}&:focus:not(:focus-visible){","}"," "," "," ",""],g.m,(function(e){return e.plain&&function(e){return(0,o.css)(["outline:none;border:none;padding:0;text-align:inherit;color:inherit;"," ",""],e.icon&&"\n    > svg {\n      display: flex;\n      align-self: center;\n      vertical-align: middle;\n    }\n  ",e.hasIcon&&!e.hasLabel&&"line-height: 0;")}(e)}),(function(e){return!e.disabled&&e.active&&p.Aj}),(function(e){return!e.plain&&fc(e)}),(function(e){return!e.plain&&function(e){var t=e.busy,n=e.colorValue,r=e.hasIcon,a=e.hasLabel,i=e.kind,s=e.sizeProp,l=e.success,c=e.themePaths,u=e.theme,d=[],h="object"==typeof i?i:u.button,m=pc(s,u,h,i,r&&!a);if(c.base.forEach((function(e){var t=Ac(h,e);t&&(d.push((0,g._k)(t,u,n)),t.border&&t.border.width&&m&&!t.padding&&d.push(gc(m,t.border.width,u)))})),!c.base.length&&"object"==typeof i){var p=i;p&&(d.push((0,g._k)(p,u,n)),p.border&&p.border.width&&m&&!p.padding&&d.push(gc(m,p.border.width,u)))}return c.hover.forEach((function(e){var n=Ac(h,e);if(n){var r=(0,g._k)(n,u),a="";n.border&&n.border.width&&m&&!n.padding&&(a=gc(m,n.border.width,u)),r.length>0&&!t&&!l&&d.push((0,o.css)(["&:hover{"," ","}"],r,a))}})),d}(e)}),(function(e){return!e.plain&&e.pad&&(0,g.hY)("padding",e.pad,!1,void 0,e.theme)}),(function(e){return!e.plain&&e.align&&"\n    text-align: "+e.align+";\n    "}),(function(e){return!e.disabled&&e.hoverIndicator&&!e.busy&&!e.success&&function(e){var t=e.hoverIndicator,n=e.theme,r={};!0===t||"background"===t?r.background=n.global.hover.background:t.color||t.background?(t.background&&(r.background=t.background),t.color&&(r.color=t.color)):r.background=t;var a=(0,g._k)(r,n);return a.length>0?(0,o.css)(["&:hover{","}"],a):""}(e)}),(function(e){return e.disabled&&(0,g.o2)(e.theme.button.disabled.opacity)}),(function(e){return(!e.plain||e.focusIndicator)&&(0,g.Y$)()}),(0,g.FF)(),(function(e){return!e.plain&&e.theme.button.transition&&"\n    transition-property: "+e.theme.button.transition.properties.join(",")+";\n    transition-duration: "+e.theme.button.transition.duration+"s;\n    transition-timing-function: "+e.theme.button.transition.timing+";\n  "}),(function(e){return e.fillContainer&&("horizontal"===(t=e.fillContainer)?"width: 100%;":"vertical"===t?"height: 100%;":t?"\n      width: 100%;\n      height: 100%;\n      max-width: none;\n      flex: 1 0 auto;\n    ":void 0);var t}),(function(e){return e.theme.button&&e.theme.button.extend}),(function(e){return(e.busy||e.success)&&"\n    cursor: default;\n  "})),yc=n(4897),bc=(0,o.keyframes)(["0%,80%,100%{transform:scale(0.4);}40%{transform:scale(0.8);}"]),Ec=(0,o.css)(["animation:"," 1.4s infinite ease-in-out both;"],bc),wc=(0,o.default)(P.a).withConfig({displayName:"BusyAnimation__Dot",componentId:"sc-feuivs-0"})(["background-color:currentColor;width:8px;height:8px;border-radius:100%;display:inline-block;"," ",""],Ec,(function(e){return e.delay&&"animation-delay: "+e.delay+";"})),xc=function(){return r.createElement(P.a,{style:{position:"absolute"},fill:!0,alignContent:"center",justify:"center"},r.createElement(P.a,{alignSelf:"center",direction:"row",gap:"small"},r.createElement(wc,{delay:"-0.32s"}),r.createElement(wc,{delay:"-0.16s"}),r.createElement(wc,null)))}
4,kc=(0,o.keyframes)(["0%{opacity:0;transform:scale(.3);}20%{opacity:1;transform:scale(1.15);}30%{transform:scale(.9);}45%{transform:scale(1.05);}55%{transform:scale(1);}100%{transform:scale(1);}"]),_c=(0,o.default)(yc.M).withConfig({displayName:"BusyAnimation__GrowCheckmark",componentId:"sc-feuivs-1"})(["position:absolute;align-self:center;animation:"," 0.9s ease-in-out;"],kc),Cc=o.default.div.withConfig(g.OY).withConfig({displayName:"BusyAnimation__StyledBusyContents",componentId:"sc-feuivs-2"})(["opacity:",";}"],(function(e){return e.animating?0:1})),Sc=["active","align","aria-label","badge","busy","color","children","disabled","icon","focusIndicator","gap","fill","href","justify","kind","label","messages","onBlur","onClick","onFocus","onMouseOut","onMouseOver","pad","plain","primary","reverse","secondary","selected","size","success","tip","type","a11yTitle","as"];function Mc(){return Mc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mc.apply(null,arguments)}var Tc=(0,o.default)(P.a).withConfig({displayName:"Button__RelativeBox",componentId:"sc-zuqsuw-0"})(["position:relative;"]),Ic=function(e,t,n,r){void 0===e&&(e=[]);var o=[],a=e.length-1;for("object"==typeof r&&(a=0);a>=0&&!o[1];){var i="object"==typeof r&&r||t.button,s=i;if(e[a])for(var l=e[a].split(".");s&&l.length;)s=s[l.shift()];if(s){var c,u=n&&s.background&&s.background.color?n:s.background,d=s.color||(!Object.prototype.hasOwnProperty.call(s,"color")||void 0!==s.color)&&void 0,h=void 0;if(null!=(c=s)&&null!=(c=c.icon)&&null!=(c=c.props)&&c.color)h=s.icon.props.color;else if(e[a+1]){for(var m,f=e[a+1].split(".");i&&f.length;)s=i[f.shift()];null!=(m=s)&&null!=(m=m.icon)&&null!=(m=m.props)&&m.color&&(h=s.icon.props.color)}h||(h=!n||s.background&&s.background.color||s.border&&s.border.color?d:n),o=(0,p.Dv)(u,h,t)}a-=1}return o[1]||void 0},Bc=function(e,t,n){var r;void 0===e&&(e=[]);var o=e.length-1;for("object"==typeof n&&(o=0);o>=0&&!r;){var a,i="object"==typeof n&&n||t.button;if(e[o])for(var s=e[o].split(".");i&&s.length;)i=i[s.shift()];null!=(a=i)&&a.icon&&(r=i.icon),o-=1}return r||void 0},jc=function(e,t,n,r,o){var a;if(void 0===t&&(t=[]),r){var i="object"==typeof r&&r||n.button;if(t[0])for(var s=t[0].split(".");i&&s.length;)i=i[s.shift()];i&&(a=i[e]||i[e]&&i[e].color)}else a=o&&n&&n.button&&n.button.primary?n.button.primary[e]||n.button.primary[e]&&n.button.primary[e].color:n&&n.button&&n.button[e]||n&&n.button&&n.button[e]&&n.button[e].color;return a},Oc=(0,r.forwardRef)((function(e,t){var n,o,a=e.active,i=e.align,s=void 0===i?"center":i,l=e["aria-label"],c=e.badge,u=e.busy,d=e.color,h=e.children,f=e.disabled,A=e.icon,g=e.focusIndicator,v=void 0===g||g,y=e.gap,b=e.fill,E=e.href,w=e.justify,x=e.kind,_=e.label,C=e.messages,M=e.onBlur,T=e.onClick,I=e.onFocus,B=e.onMouseOut,j=e.onMouseOver,O=e.pad,L=e.plain,z=e.primary,D=e.reverse,R=e.secondary,N=e.selected,F=e.size,V=e.success,Q=e.tip,Y=e.type,U=void 0===Y?"button":Y,W=e.a11yTitle,G=void 0===W?"string"==typeof Q?Q:void 0:W,H=e.as,X=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,Sc),Z=(0,ae.i)(),q=Z.theme,J=Z.passThemeFlag,K=(0,r.useState)(),$=K[0],ee=K[1],te=(0,r.useState)(!1),ne=te[0],re=te[1],oe=(0,r.useContext)(ac.n),ie=(0,r.useContext)(k).format;u&&V&&console.warn("Button cannot have both busy and success set to true."),(0,r.useEffect)((function(){u?oe(ie({id:"button.busy",messages:C})):V&&oe(ie({id:"button.success",messages:C}))}),[oe,u,ie,C,V]),(A||_)&&h&&console.warn("Button should not have children if icon or label is provided");var se,le,ce=(0,zl.B)(),ue=S(),de=(0,r.useCallback)((function(e){ue({type:"buttonClick",element:nl(e.target),event:e,href:E,label:"string"==typeof _?_:void 0}),T&&T(e)}),[T,ue,E,_]),he=(0,r.useMemo)((function(){return"object"==typeof x}),[x]),me=(0,r.useMemo)((function(){if(q.button.default||he)return x||(z?"primary":R?"secondary":"default")}),[x,he,z,R,q]),pe=F||me&&"medium"||void 0,fe=(0,r.useMemo)((function(){if(me&&!L){var e={base:[],hover:[]};return he||e.base.push(me),N&&(e.base.push("selected"),he||e.base.push("selected."+me)),f?(e.base.push("disabled"),he||e.base.push("disabled."+me)):(a&&(e.base.push("active"),he||e.base.push("active."+me)),e.hover.push("hover"),he||e.hover.push("hover."+me),a&&(e.hover.push("hover.active"),he||e.hover.push("hover.active."+me))),e}}),[a,f,me,he,L,N]),Ae=function(){var e=(0,p._w)((0,m.$2)(d||q.button.primary&&q.button.primary.color||q.global.colors.control||"brand",q),q);return(0,m.OI)(e,q)},ge=function(e){re(!0),j&&j(e)},ve=function(e){re(!1),B&&B(e)},ye=ne&&Bc(null==fe?void 0:fe.hover,q,me)||Bc(null==fe?void 0:fe.base,q,me),be=A||ye;if(A&&!A.props.color)if(me){if(!L){var Ee=ne&&Ic(fe.hover,q)||Ic(fe.base,q,d,me);Ee&&(be=(0,r.cloneElement)(A,{color:Ee}))}}else z&&(be=(0,r.cloneElement)(A,{color:q.global.colors.text[Ae()?"dark":"light"]}));else if(ye&&!L){var we=ne&&Ic(fe.hover,q)||Ic(fe.base,q,d,me);we&&(be=(0,r.cloneElement)(ye,{color:we}))}if(be=rc(be,pe,q),ce)return r.createElement(Vl,Mc({ref:t,height:(null==(se=q.text[pe||"medium"])?void 0:se.height)||pe,a11yTitle:G},X,null==(le=q.button.size)?void 0:le[pe||"medium"],q.button.skeleton));var xe,ke,_e=null!=D?D:null==(n=q.button[me])?void 0:n.reverse,Ce=!H&&E?"a":H,Se=_e?_:be,Me=_e?be:_;Se&&Me?xe=r.createElement(P.a,{direction:(null==(ke=q.button)||null==(ke=ke[me])?void 0:ke.direction)||"row",align:"center",justify:w||("center"===s?"center":"between"),gap:y||q.button.gap,responsive:!1},Se,Me):xe="function"==typeof h?h({active:a,disabled:f,hover:ne,focus:$}):Se||Me||h;var Te,Ie,Be=jc("background",fe&&fe.base,q,me,z),je=jc("border",fe&&fe.base,q,me,z),Oe="container"!==(null==(o=q.button)||null==(o=o.badge)?void 0:o.align)&&(!Be&&!je||!me&&A&&!_);(c&&Oe&&(xe=r.createElement(lc,{content:c},xe)),u||V)&&(me?L||(Te=ne&&Ic(fe.hover,q)||Ic(fe.base,q,d,me)):z&&(Te=q.global.colors.text[Ae()?"dark":"light"]),xe=r.createElement(Tc,{flex:!1},u&&r.createElement(xc,null),V&&r.createElement(P.a,{style:{position:"absolute"},fill:!0,alignContent:"center",justify:"center"},r.createElement(_c,{color:Te,"aria-hidden":!0})),r.createElement(Cc,{animating:u||V},xe)));return Ie=me?r.createElement(vc,Mc({},X,{as:Ce,ref:t,active:a,align:s,"aria-label":l||G,busy:u,badge:c,colorValue:d,disabled:f,hasIcon:!!A,gap:y,hasLabel:!!_,icon:A,fillContainer:b,focus:$,focusIndicator:v,href:E,kind:me,themePaths:fe,onClick:u||V?void 0:de,onFocus:function(e){ee(!0),I&&I(e)},onBlur:function(e){ee(!1),M&&M(e)},onMouseOver:ge,onMouseOut:ve,pad:O,plain:L||r.Children.count(h)>0,primary:z,selected:N,sizeProp:pe,success:V,type:E?void 0:U},J),xe):r.createElement(hc,Mc({},X,{as:Ce,ref:t,"aria-label":l||G,busy:u,colorValue:d,active:a,selected:N,disabled:f,hasIcon:!!A,gap:y,hasLabel:!!_,fillContainer:b,focus:$,focusIndicator:v,href:E,kind:me,themePaths:fe,onClick:u||V?void 0:de,onFocus:function(e){ee(!0),I&&I(e)},onBlur:function(e){ee(!1),M&&M(e)},onMouseOver:ge,onMouseOut:ve,pad:O||!L,plain:void 0!==L?L:r.Children.count(h)>0||A&&!_,primary:z,sizeProp:pe,success:V,type:E?void 0:U},J),xe),Q&&(Ie="string"==typeof Q?r.createElement(Pl,{content:Q},Ie):r.createElement(Pl,Q,Ie)),c&&!Oe&&(Ie=r.createElement(lc,{content:c},Ie)),Ie}));Oc.displayName="Button",Oc.propTypes=oc;const Pc=(0,o.default)(Xl)`
5  letter-spacing: 0.1em;
6  text-transform: uppercase;
7`;var Lc=e=>r.createElement(Pc,e);const zc=()=>r.createElement(Kl.S,{src:"../images/button/on.png",alt:"button on",placeholder:"blurred",__imageData:n(8855)}),Dc=()=>r.createElement(Kl.S,{src:"../images/button/off.png",alt:"button off",placeholder:"blurred",__imageData:n(1023)}),Rc=()=>r.createElement(Kl.S,{src:"../images/button/power_on.png",alt:"power button on",placeholder:"blurred",__imageData:n(9335)}),Nc=()=>r.createElement(Kl.S,{src:"../images/button/power_off.png",alt:"power button off",placeholder:"blurred",__imageData:n(7571)}),Fc=()=>r.createElement(Kl.S,{src:"../images/button/on_mobile.png",alt:"button on",placeholder:"blurred",__imageData:n(5925)}),Vc=()=>r.createElement(Kl.S,{src:"../images/button/off_mobile.png",alt:"button off",placeholder:"blurred",__imageData:n(8846)});var Qc=e=>{let{label:t,onClick:n,on:a=!1,disabled:i,power:s=!1}=e;const l="small"===(0,r.useContext)(u),{0:c,1:d}=(0,r.useState)(!1),h=s?106:l?62:48,m=l?24:48,{scale:p}=q(),f=p*h,A=p*m,{0:g,1:v}=(0,r.useState)(!1),y=()=>{d(!1),window.removeEventListener("mouseup",y)};return r.createElement(P.a,{width:`${f}px`,gap:4*p+"px"},r.createElement(P.a,{fill:"horizontal",height:`${A}px`},r.createElement(le,{fill:!0},s?r.createElement(Nc,null):l?r.createElement(Vc,null):r.createElement(Dc,null),r.createElement(Te,null,s?r.createElement(Vs,{initial:{opacity:0}
7,animate:{opacity:a||c?1:0},exit:{opacity:0},transition:{duration:.1}},r.createElement(Rc,null)):r.createElement(Vs,{initial:{opacity:0},animate:{opacity:a||c?1:0},exit:{opacity:0},transition:{duration:.1}},l?r.createElement(Fc,null):r.createElement(zc,null))),r.createElement(Oc,{fill:!0,plain:!0,onClick:e=>{n(e),v(!0),setTimeout((()=>{v(!1)}),400)},disabled:i||g,onMouseDown:()=>(d(!0),void window.addEventListener("mouseup",y))}))),t?r.createElement(o.ThemeContext.Extend,{value:"日本語"===t?{text:{font:{family:"Noto Sans JP"}}}:{}},r.createElement(P.a,{alignSelf:"center",align:"center",margin:{top:p*("日本語"===t?0:2)+"px"}},r.createElement(Lc,{size:`${Math.max(10,10*p)}px`,color:"darkAccent"},t))):null)};var Yc=e=>{let{disabled:t,on:n,onButtonClick:o}=e;const{scale:a}=q();return"small"===(0,r.useContext)(u)?r.createElement(P.a,{gap:8*a+"px"},r.createElement(nc,{on:!0,color:"red",blink:!n}),r.createElement(Qc,{disabled:t,on:n,label:"POWER",onClick:o})):r.createElement(P.a,{gap:6*a+"px"},r.createElement(P.a,{direction:"row",align:"center",gap:3*a+"px"},r.createElement(nc,{on:!0,color:"red",blink:!n}),r.createElement(P.a,{width:44*a+"px",height:16*a+"px",background:"url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDQiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCA0NCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuOTQgNi41NUM5Ljk0IDcuMjQgOS43MiA3Ljc1IDkuMzQgOC4xM0M4Ljk2IDguNTEgOC4yOSA4Ljc1IDcuNTEgOC43NUg1Ljg0VjExLjVINC45NVY0LjQxSDcuNUM4LjMzIDQuNDEgOS4wMSA0LjY3IDkuMzkgNS4wOEM5LjczIDUuNDUgOS45NCA1LjkzIDkuOTQgNi41NVpNOS4wMiA2LjU1QzkuMDIgNS42NSA4LjM2IDUuMjIgNy40OCA1LjIySDUuODRWNy45NEg3LjQ5QzguNDQgNy45NCA5LjAyIDcuNSA5LjAyIDYuNTVaTTE3LjAxMTIgNy45NkMxNy4wMTEyIDkuMDkgMTYuOTIxMiAxMC4xMiAxNi4xNTEyIDEwLjg3QzE1LjY0MTIgMTEuMzcgMTUuMDExMiAxMS42NCAxNC4zMDEyIDExLjY0QzEzLjU5MTIgMTEuNjQgMTIuOTYxMiAxMS4zNyAxMi40NTEyIDEwLjg3QzExLjY4MTIgMTAuMTIgMTEuNTkxMiA5LjA5IDExLjU5MTIgNy45NkMxMS41OTEyIDYuODMgMTEuNjgxMiA1LjggMTIuNDUxMiA1LjA1QzEyLjk2MTIgNC41NSAxMy41OTEyIDQuMjggMTQuMzAxMiA0LjI4QzE1LjAxMTIgNC4yOCAxNS42NDEyIDQuNTUgMTYuMTUxMiA1LjA1QzE2LjkyMTIgNS44IDE3LjAxMTIgNi44MyAxNy4wMTEyIDcuOTZaTTE2LjA5MTIgNy45NkMxNi4wOTEyIDcuMjIgMTYuMTExMiA2LjI3IDE1LjUzMTIgNS42N0MxNS4xOTEyIDUuMzIgMTQuNzgxMiA1LjEzIDE0LjMwMTIgNS4xM0MxMy44MjEyIDUuMTMgMTMuNDExMiA1LjMyIDEzLjA3MTIgNS42N0MxMi40OTEyIDYuMjcgMTIuNTExMiA3LjIyIDEyLjUxMTIgNy45NkMxMi41MTEyIDguNyAxMi40OTEyIDkuNjUgMTMuMDcxMiAxMC4yNUMxMy40MTEyIDEwLjYgMTMuODIxMiAxMC43OSAxNC4zMDEyIDEwLjc5QzE0Ljc4MTIgMTAuNzkgMTUuMTkxMiAxMC42IDE1LjUzMTIgMTAuMjVDMTYuMTExMiA5LjY1IDE2LjA5MTIgOC43IDE2LjA5MTIgNy45NlpNMjQuMjQyMyA0LjQxTDIzLjc1MjMgMTEuNUgyMi42ODIzTDIxLjUwMjMgNy41OUwyMC4zNTIzIDExLjVIMTkuMjcyM0wxOC43ODIzIDQuNDFIMTkuNjIyM0wxOS45ODIzIDEwLjE5TDIxLjEwMjMgNi40NEgyMS45MzIzTDIzLjA1MjMgMTAuMThMMjMuNDAyMyA0LjQxSDI0LjI0MjNaTTMxLjI5MzUgMTEuNUgyNi42MDM1VjQuNDFIMzEuMjkzNVY1LjIzSDI3LjQ5MzVWNy4zOUgzMC4zNjM1VjguMjNIMjcuNDkzNVYxMC42OEgzMS4yOTM1VjExLjVaTTM4LjUyNDcgMTEuNUgzNy41NTQ3TDM2LjIxNDcgOC41NUgzNC41OTQ3VjExLjVIMzMuNzA0N1Y0LjQxSDM2LjEzNDdDMzYuOTY0NyA0LjQxIDM3LjU0NDcgNC42NCAzNy45MzQ3IDUuMDRDMzguMjc0NyA1LjQgMzguNDk0NyA1Ljg2IDM4LjQ5NDcgNi40OEMzOC40OTQ3IDcuMSAzOC4yOTQ3IDcuNTIgMzcuOTU0NyA3Ljg4QzM3Ljc0NDcgOC4xIDM3LjQ0NDcgOC4yNyAzNy4xMDQ3IDguMzhMMzguNTI0NyAxMS41Wk0zNy41NzQ3IDYuNDhDMzcuNTc0NyA1LjU4IDM2Ljk3NDcgNS4yMyAzNi4xMzQ3IDUuMjNIMzQuNTk0N1Y3LjcySDM2LjEzNDdDMzYuOTc0NyA3LjcyIDM3LjU3NDcgNy4zOCAzNy41NzQ3IDYuNDhaIiBmaWxsPSIjMkUyRTJFIi8+CjxyZWN0IHg9IjAuNSIgeT0iMC41IiB3aWR0aD0iNDMiIGhlaWdodD0iMTUiIHJ4PSIxLjUiIHN0cm9rZT0iIzJFMkUyRSIvPgo8L3N2Zz4K)"})),r.createElement(Qc,{disabled:t,power:!0,on:n,onClick:o}))},Uc=n.p+"static/dial_background-7112d55d12539d9599914b6e3301e8de.png";var Wc=e=>{let{disabled:t=!1,min:n=0,max:o=1,step:a=.005,value:i=0,onChange:s=()=>{}}=e;const l=(0,r.useRef)(null),{0:c,1:u}=(0,r.useState)({x:0,y:0}),{0:d,1:h}=(0,r.useState)(0),{0:m,1:p}=(0,r.useState)(0),f=92,A=92,{scale:g}=q(),v=g*f,y=g*A,b=e=>{const t=e.clientX-c.x,n=e.clientY-c.y;let r=180*Math.atan2(n,t)/Math.PI+90;r<0&&(r+=360),p(r)},E=()=>{window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",E)},w=e=>{if("changedTouches"in e&&1===e.changedTouches.length){const t=e.changedTouches[0].clientX-c.x,n=e.changedTouches[0].clientY-c.y;let r=180*Math.atan2(n,t)/Math.PI+90;r<0&&(r+=360),p(r)}},x=()=>{window.removeEventListener("touchmove",w),window.removeEventListener("touchend",x)};return(0,r.useEffect)((()=>
7{if(l.current){const{left:e,top:t,width:n,height:r}=l.current.getBoundingClientRect();u({x:e+n/2,y:t+r/2})}}),[]),(0,r.useEffect)((()=>{let e=m-d;e<-180?e+=360:180<e&&(e-=360);let t=e/360*(o-n);if(a<=Math.abs(t)){const e=i+Math.floor(t/a)*a/4;n<=e&&e<=o&&(h(m),s(e))}}),[d,m,o,n,s,a,i]),r.createElement(P.a,{ref:l,onMouseDown:e=>(e=>{if(t)return;const{left:n,top:r,width:o,height:a}=e.target.getBoundingClientRect(),i={x:n+o/2,y:r+a/2};u(i);const s=e.clientX-i.x,l=e.clientY-i.y;let c=180*Math.atan2(l,s)/Math.PI+90;c<0&&(c+=360),h(c),p(c),window.addEventListener("mousemove",b),window.addEventListener("mouseup",E)})(e),onTouchStart:e=>(e=>{if(!t&&"changedTouches"in e&&1===e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0],r=t-c.x,o=n-c.y;let a=180*Math.atan2(o,r)/Math.PI+90;a<0&&(a+=360),h(a),p(a),window.addEventListener("touchmove",w),window.addEventListener("touchend",x)}})(e),align:"center",justify:"center",width:`${v}px`,height:`${y}px`,background:{image:`url(${Uc})`},round:"full",style:{boxShadow:`${-5*g}px ${11*g}px ${24*g}px 0 rgba(0, 0, 0, 0.75)`}},r.createElement(P.a,{fill:!0,round:"full",align:"center",style:{transform:`rotate(${(i-n)/(o-n)*360}deg)`}},r.createElement(P.a,{width:4*g+"px",height:4*g+"px",round:!0,margin:10*g+"px",background:"darkAccent"})))},Gc=n(4794);var Hc=n.p+"static/apma-2000-b9387cbe5dfcf697e72c7ac8f9854cc2.jpg",Xc=n.p+"static/apma-2000-twitter-09b24c8d9fa8600dbeb1b3ddd37bad1e.jpg";const Zc=e=>{let{title:t,description:n,pathname:o,children:a}=e;const{title:i,description:s,siteUrl:l,domain:c}=(0,Gc.useStaticQuery)("3764592887").site.siteMetadata,u={title:t||i,description:n||s,image:`${l}${Hc}`,twitterImage:`${l}${Xc}`,url:`${l}${o||""}`,domain:c};return r.createElement(r.Fragment,null,r.createElement("title",null,u.title),r.createElement("meta",{name:"description",content:u.description}),r.createElement("meta",{name:"image",content:u.image}),r.createElement("meta",{property:"og:url",content:"https://boundaries-planetarium.earth"}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"og:title",content:u.title}),r.createElement("meta",{property:"og:description",content:u.description}),r.createElement("meta",{property:"og:image",content:u.image}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("meta",{property:"twitter:domain",content:u.domain}),r.createElement("meta",{property:"twitter:url",content:u.url}),r.createElement("meta",{name:"twitter:title",content:u.title}),r.createElement("meta",{name:"twitter:description",content:u.description}),r.createElement("meta",{name:"twitter:image",content:u.twitterImage}),a)};var qc=n.p+"static/slider_background-33a7a6ef296d0e3032e9646715eb555e.png",Jc=n.p+"static/slider_background_mobile-6fc52c4781b378f1ee363d122d35577d.png";var Kc=e=>{let{channels:t,markType:n="text"}=e;const{scale:o}=q();return r.createElement(le,null,t.map(((e,t)=>r.createElement(P.a,{key:t,pad:{left:100*e.position+"%"}},"text"===n?r.createElement(Xl,{size:`${Math.max(10,10*o)}px`,color:"darkAccent",margin:{left:-2*o+"px"}},Array.from(e.title)[0]):"line"===n?r.createElement(P.a,{background:"rgba(217,217,217,0.6)",round:2*o+"px",width:2*o+"px",height:6*o+"px"}):null))))};var $c=e=>{let{disabled:t=!1,min:n=0,max:o=1,step:a=.0025,value:i=0,ready:s=!1,channel:l,loading:c,onPositionChange:d=()=>{},onRightButtonClick:h=()=>{},onLeftButtonClick:m=()=>{},channels:p,onLoad:f}=e;const A="small"===(0,r.useContext)(u),g=(0,r.useRef)(null),{0:v,1:y}=(0,r.useState)(!1),{scale:b}=q(),E=(0,r.useCallback)((e=>{let t=n+(e-g.current.offsetLeft)/g.current.offsetWidth*(o-n);t<n?t=n:o<t&&(t=o),d(Math.round(t/a)*a)}),[o,n,a,d]),w=(0,r.useCallback)((e=>{v&&g.current&&E(e.clientX)}),[v,E]),x=(0,r.useCallback)((e=>{v&&g.current&&"changedTouches"in e&&1===e.changedTouches.length&&E(e.changedTouches[0].clientX)}),[v,E]),k=()=>{y(!1)},_=()=>{y(!1)};let C=0;return g.current&&(C=g.current.offsetWidth*i-24,C<0?C=0:g.current.offsetWidth-48<C&&(C=g.current.offsetWidth-48)),(0,r.useEffect)((()=>{const e=new Image;e.onload=f,e.src=A?Jc:qc}),[]),(0,r.useEffect)((()=>(v?(window.addEventListener("mousemove",w),window.addEventListener("mouseup",k),window.addEventListener("touchmove",x),window.addEventListener("touchend",_)):(window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",k),window.removeEventListener("touchmove",x),window.removeEventListener("touchend",_)),()=>{window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",k),window.removeEventListener("touchmove",x),window.removeEventListener("touchend",_)})),[v,w,x]),r.createElement(P.a,{width:b*(A?284:506)+"px"},r.createElement(P.a,{fill:"horizontal",pad:4*b+"px"},r.createElement(Kc,{channels:p.filter((e=>"speech"===e.type))})),r.createElement(P.a,{fill:"horizontal",height:35*b+"px",pad:4*b+"px",background:`url(${A?Jc:qc})`,onLoad:f},r.createElement(le,{ref:g,fill:!0},r.createElement(P.a,{fill:!0,pad:{vertical:6*b+"px"},justify:"between"},r.createElement(Kc,{channels:p.filter((e=>"speech"===e.type)),markType:"line"}),r.createElement(Kc,{channels:p.filter((e=>"music"===e.type)),markType:"line"})),r.createElement(P.a,{direction:"row",fill:!0,pad:1*b+"px",gap:1*b+"px",round:6*b+"px",overflow:"hidden"},Array(A?47:71).fill(null).map(((e,t,n)=>{const o=s?Math.max(.036-Math.abs(i-t/n.length),0)/.036:0;return r.createElement(Vs,{key:t,fill:!0,style:{opacity:o,visibility:o>0?"visible":"hidden"},animate:{background:l?c?H.global.colors.ledRed:H.global.colors.ledGreen:H.global.colors.ledRed},transition:{duration:.2}})}))),r.createElement(P.a,{direction:"row",fill:!0},r.createElement(P.a,{fill:"vertical",style:{width:`${C}px`}}
7,r.createElement(Oc,{plain:!0,disabled:t,fill:"vertical",style:{padding:0},onClick:m})),r.createElement(P.a,{width:"48px"},r.createElement(Oc,{plain:!0,disabled:t,fill:!0,onMouseDown:()=>{y(!0)},onTouchStart:e=>{"changedTouches"in e&&1===e.changedTouches.length&&y(!0)}})),r.createElement(P.a,{flex:"grow",fill:"vertical"},r.createElement(Oc,{plain:!0,disabled:t,fill:"vertical",style:{padding:0},onClick:h}))))),r.createElement(P.a,{fill:"horizontal",pad:4*b+"px"},r.createElement(Kc,{channels:p.filter((e=>"music"===e.type))})))},eu=(0,o.css)(["left:-100%;right:100%;z-index:-1;position:fixed;"]),tu=o.default.div.withConfig(g.OY).withConfig({displayName:"StyledLayer",componentId:"sc-rmtehz-0"})([""," background:transparent;position:relative;z-index:",";pointer-events:none;outline:none;"," ",";"],g.BI,(function(e){return e.theme.layer.zIndex}),(function(e){if("hidden"===e.position)return eu;var t=[];if(t.push("\n  position: fixed;\n  top: 0px;\n  left: 0px;\n  right: 0px;\n  bottom: 0px;\n"),e.responsive&&e.theme.layer.responsiveBreakpoint&&!e.layerTarget){var n=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];t.push((0,sl.Jj)(n,"\n  position: fixed;\n  width: 100%;\n  height: 100%;\n  min-height: 100vh;\n"))}return t}),(function(e){return e.theme.layer&&e.theme.layer.extend})),nu=o.default.div.withConfig(g.OY).withConfig({displayName:"StyledLayer__StyledOverlay",componentId:"sc-rmtehz-1"})(["position:absolute;"," top:0px;left:0px;right:0px;bottom:0px;"," "," pointer-events:all;will-change:transform;"],(function(e){if(e.responsive&&e.theme.layer.responsiveBreakpoint){var t=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];return(0,sl.Jj)(t,"position: relative;")}return""}),(function(e){return e.theme.layer.overlay.backdropFilter&&"backdrop-filter: "+e.theme.layer.overlay.backdropFilter+";"}),(function(e){return!e.plain&&e.theme.layer.overlay.background&&(0,p.mT)(e.theme.layer.overlay.background,e.theme)})),ru=function(e,t,n){var r=-1!==n.indexOf("top")||-1!==n.indexOf("bottom")?"vertical":"horizontal",o=e[n]||e[r]||e,a=t.global.edgeSize[o]||o;return!!t.global.edgeSize[o]||"string"==typeof o?(0,sl.HY)(a):0},ou=function(e,t,n,r){return void 0===r&&(r=void 0),r?e[r]+ru(t,n,r):{bottom:e.bottom+ru(t,n,"bottom"),end:e.right+ru(t,n,"end"),left:e.left+ru(t,n,"left"),right:e.right+ru(t,n,"right"),start:e.left+ru(t,n,"start"),top:e.top+ru(t,n,"top")}},au={center:{vertical:(0,o.keyframes)(["0%{transform:translateX(-50%) scale(0.8);}100%{transform:translateX(-50%) scale(1);}"]),horizontal:(0,o.keyframes)(["0%{transform:translateY(-50%) scale(0.8);}100%{transform:translateY(-50) scale(1);}"]),true:(0,o.keyframes)(["0%{transform:scale(0.8);}100%{transform:scale(1);}"]),false:(0,o.keyframes)(["0%{transform:translate(-50%,-50%) scale(0.8);}100%{transform:translate(-50%,-50%) scale(1);}"])},top:{vertical:(0,o.keyframes)(["0%{transform:translate(-50%,-100%);}100%{transform:translate(-50%,0);}"]),horizontal:(0,o.keyframes)(["0%{transform:translateY(-100%);}100%{transform:translateY(0);}"]),true:(0,o.keyframes)(["0%{transform:translateY(-100%);}100%{transform:translateY(0);}"]),false:(0,o.keyframes)(["0%{transform:translate(-50%,-100%);}100%{transform:translate(-50%,0);}"])},bottom:{vertical:(0,o.keyframes)(["0%{transform:translate(-50%,100%);}100%{transform:translate(-50%,0);}"]),horizontal:(0,o.keyframes)(["0%{transform:translateY(100%);}100%{transform:translateY(0);}"]),true:(0,o.keyframes)(["0%{transform:translateY(100%);}100%{transform:translateY(0);}"]),false:(0,o.keyframes)(["0%{transform:translate(-50%,100%);}100%{transform:translate(-50%,0);}"])},left:{vertical:(0,o.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),horizontal:(0,o.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,o.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),false:(0,o.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"])},right:{vertical:(0,o.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),horizontal:(0,o.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,o.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),false:(0,o.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"])},start:{vertical:(0,o.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),horizontal:(0,o.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,o.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),false:(0,o.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"])},end:{vertical:(0,o.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),horizontal:(0,o.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,o.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),false:(0,o.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"])}},iu=function(e,t,n){var r,a=void 0!==e.animation?e.animation:e.animate;return void 0===a&&(a="slide"),"slide"===a||!0===a?r=au[t][n]:"fadeIn"===a&&(r=(0,o.keyframes)(["0%{opacity:0}
7100%{opacity:1}"])),r?(0,o.css)(["animation:"," ","s ease-in-out forwards;"],r,.2):""},su={center:{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;left:50%;transform:translateX(-50%);",""],e.top,e.bottom,(function(e){return iu(e,"center","vertical")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;top:50%;transform:translateY(-50%);",""],e.left,e.right,(function(e){return iu(e,"center","horizontal")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;",""],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"center","true")}))},false:function(){return(0,o.css)(["top:50%;left:50%;transform:translate(-50%,-50%);",""],(function(e){return iu(e,"center","false")}))}},top:{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;left:50%;transform:translate(-50%,0%);",""],e.top,e.bottom,(function(e){return iu(e,"top","vertical")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;top:","px;transform:translateY(0);",""],e.left,e.right,e.top,(function(e){return iu(e,"top","horizontal")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateY(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"top","true")}))},false:function(e){return(0,o.css)(["top:","px;left:50%;transform:translate(-50%,0);",""],e.top,(function(e){return iu(e,"top","false")}))}},bottom:{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;left:50%;transform:translate(-50%,0);",""],e.top,e.bottom,(function(e){return iu(e,"bottom","vertical")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.top,e.bottom,(function(e){return iu(e,"bottom","horizontal")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateY(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"bottom","true")}))},false:function(e){return(0,o.css)(["bottom:","px;left:50%;transform:translate(-50%,0);",""],e.bottom,(function(e){return iu(e,"bottom","false")}))}},left:{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return iu(e,"left","vertical")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;top:50%;transform:translate(0,-50%);",""],e.left,e.right,(function(e){return iu(e,"left","horizontal")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"left","true")}))},false:function(e){return(0,o.css)(["left:","px;top:50%;transform:translate(0,-50%);",""],e.left,(function(e){return iu(e,"left","false")}))}},right:{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.right,(function(e){return iu(e,"right","vertical")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;top:50%;transform:translate(0,-50%);",""],e.left,e.right,(function(e){return iu(e,"right","horizontal")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"right","true")}))},false:function(e){return(0,o.css)(["right:","px;top:50%;transform:translate(0,-50%);",""],e.right,(function(e){return iu(e,"right","false")}))}},start:{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;inset-inline-start:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,(function(e){return iu(e,"start","vertical")}))},horizontal:function(e){return(0,o.css)(["inset-inline-start:","px;inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.start,e.end,(function(e){return iu(e,"start","horizontal")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;inset-inline-start:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,e.end,(function(e){return iu(e,"start","true")}))},false:function(e){return(0,o.css)(["inset-inline-start:","px;top:50%;transform:translate(0,-50%);",""],e.start,(function(e){return iu(e,"start","false")}))}},end:{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.end,(function(e){return iu(e,"end","vertical")}))},horizontal:function(e){return(0,o.css)(["inset-inline-start:","px;inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.start,e.end,(function(e){return iu(e,"end","horizontal")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;inset-inline-start:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,e.end,(function(e){return iu(e,"end","true")}))},false:function(e){return(0,o.css)(["inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.end,(function(e){return iu(e,"end","false")}))}},"top-right":{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",";
7"],e.top,e.bottom,e.right,(function(e){return iu(e,"top","true")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;top:0;transform:translateX(0);",";"],e.left,e.right,(function(e){return iu(e,"top","true")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",";"],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"top","true")}))},false:function(e){return(0,o.css)(["top:","px;right:","px;transform:translateY(0);",";"],e.top,e.right,(function(e){return iu(e,"top","true")}))}},"top-left":{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return iu(e,"top","true")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;top:0;transform:translateX(0);",""],e.left,e.right,(function(e){return iu(e,"top","true")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"top","true")}))},false:function(e){return(0,o.css)(["top:","px;left:","px;transform:translateY(0);",""],e.top,e.left,(function(e){return iu(e,"top","true")}))}},"bottom-right":{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.right,(function(e){return iu(e,"bottom","true")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.right,e.bottom,(function(e){return iu(e,"bottom","true")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"bottom","true")}))},false:function(e){return(0,o.css)(["bottom:","px;right:","px;transform:translateY(0);",""],e.bottom,e.right,(function(e){return iu(e,"bottom","true")}))}},"bottom-left":{vertical:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return iu(e,"bottom","true")}))},horizontal:function(e){return(0,o.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.right,e.bottom,(function(e){return iu(e,"bottom","true")}))},true:function(e){return(0,o.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return iu(e,"bottom","true")}))},false:function(e){return(0,o.css)(["bottom:","px;left:","px;transform:translateY(0);",""],e.bottom,e.left,(function(e){return iu(e,"bottom","true")}))}}},lu={left:0,right:0,top:0,bottom:0},cu=(0,o.css)([""," max-height:",";max-width:",";",";",";"],(function(e){return e.modal||"hidden"!==e.position?(0,o.css)(["position:",";"],e.modal||e.layerTarget?"absolute":"fixed"):eu}),(function(e){return"calc(100% - "+ou(lu,e.margin,e.theme,"top")+"px - "+ou(lu,e.margin,e.theme,"bottom")+"px)"}),(function(e){return"calc(100% - "+ou(lu,e.margin,e.theme,"left")+"px - "+ou(lu,e.margin,e.theme,"right")+"px)"}),(function(e){return e.plain||e.full&&"none"===e.margin?"border-radius: 0;":function(e,t,n,r){var a=[],i=!0===e?"medium":e,s=t.global.edgeSize[i]||i,l=s.split(" ").length>1;return"none"!==r||l||!0!==t.layer.border.intelligentRounding?a.push((0,o.css)(["border-radius:",";"],s)):"bottom"===n?a.push((0,o.css)(["border-radius:"," "," 0 0;"],s,s)):"bottom-left"===n?a.push((0,o.css)(["border-radius:0 "," 0 0;"],s)):"bottom-right"===n?a.push((0,o.css)(["border-radius:"," 0 0 0;"],s)):"end"===n?a.push((0,o.css)(["border-start-start-radius:",";border-end-start-radius:",";"],s,s)):"left"===n?a.push((0,o.css)(["border-radius:0 "," "," 0;"],s,s)):"right"===n?a.push((0,o.css)(["border-radius:"," 0 0 ",";"],s,s)):"start"===n?a.push((0,o.css)(["border-end-end-radius:",";border-start-end-radius:",";"],s,s)):"top"===n?a.push((0,o.css)(["border-radius:0 0 "," ",";"],s,s)):"top-left"===n?a.push((0,o.css)(["border-radius:0 0 "," 0;"],s)):"top-right"===n?a.push((0,o.css)(["border-radius:0 0 0 ",";"],s)):a.push((0,o.css)(["border-radius:",";"],s)),a}
7(e.theme.layer.border.radius,e.theme,e.position,e.margin)}),(function(e){return"hidden"!==e.position&&su[e.position][e.full](ou(lu,e.margin,e.theme),lu)||""})),uu=function(e){return(0,o.css)(["position:relative;max-height:none;max-width:none;border-radius:0;height:",";width:",";"],e.layerTarget?"100%":"100vh",e.layerTarget?"100%":"100vw")},du=(0,o.css)(["box-shadow:",";"],(function(e){return e.theme.global.elevation[e.theme.dark?"dark":"light"][e.theme.layer.container.elevation]})),hu=o.default.div.withConfig({shouldForwardProp:function(e){return(0,mc.default)(e)&&!["elevation"].includes(e)}}).withConfig({displayName:"StyledLayer__StyledContainer",componentId:"sc-rmtehz-2"})([""," display:flex;flex-direction:column;min-height:",";"," outline:none;pointer-events:all;z-index:",";"," "," ",";",";"],(function(e){return e.modal?"":g.BI}),(function(e){return e.theme.global.size.xxsmall}),(function(e){return!e.plain&&(e.background||e.theme.layer.background)&&(0,p.mT)(e.background||e.theme.layer.background,e.theme)}),(function(e){return e.theme.layer.container.zIndex}),(function(e){return!e.plain&&e.theme.layer.container.elevation&&du}),cu,(function(e){if(e.responsive&&e.theme.layer.responsiveBreakpoint){var t=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];if(t)return(0,sl.Jj)(t,uu)}return""}),(function(e){return e.theme.layer.container&&e.theme.layer.container.extend})),mu=["background","children","full","id","margin","modal","onClickOutside","onEsc","plain","position","responsive","target"];function pu(){return pu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pu.apply(null,arguments)}var fu=o.default.a.withConfig(g.OY).withConfig({displayName:"LayerContainer__HiddenAnchor",componentId:"sc-1srj14c-0"})(["width:0;height:0;overflow:hidden;position:absolute;&:focus{outline:none;}"]),Au=(0,r.forwardRef)((function(e,t){var n=e.background,a=e.children,i=e.full,s=void 0!==i&&i,l=e.id,c=e.margin,h=void 0===c?"none":c,m=e.modal,f=void 0===m||m,A=e.onClickOutside,g=e.onEsc,v=e.plain,y=e.position,E=void 0===y?"center":y,w=e.responsive,x=void 0===w||w,k=e.target,_=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,mu),C=(0,r.useContext)(d),M=(0,ae.i)(),T=M.theme,I=M.passThemeFlag,B=(0,r.useContext)(u),j=(0,r.useContext)(b.k).layer,O=(0,r.useRef)(),P=(0,r.useRef)(),L=(0,r.useRef)(),z=(0,r.useContext)(il),D=(0,r.useMemo)((function(){return z.length}),[z]),R=(0,r.useMemo)((function(){return[].concat(z,[D])}),[z,D]),N=S();(0,r.useEffect)((function(){var e=new Date,t=L.current,n="hidden"===E;return n||N({type:"layerOpen",element:t}),function(){n||N({type:"layerClose",element:t,elapsed:(new Date).getTime()-e.getTime()})}}),[N,L,E]),(0,r.useEffect)((function(){if("hidden"!==E){var e=L.current||P.current||t.current;e&&e.scrollIntoView&&e.scrollIntoView();for(var n=document.activeElement;n&&n!==P.current;)n=n.parentElement;f&&!n&&O.current&&O.current.focus()}}),[f,E,t]),(0,r.useEffect)((function(){if("hidden"!==E){var e=L.current||P.current||t.current;e&&e.scrollIntoView&&e.scrollIntoView()}}),[E,t]),(0,r.useEffect)((function(){var e=function(e){for(var t=null,n=e.composed&&e.composedPath()[0]||e.target;null===t&&n&&n!==document&&!(n instanceof ShadowRoot);){var r=n.getAttribute("data-g-portal-id");null!==r&&""!==r?t=parseInt(r,10):n=n.parentNode}null!==t&&-1===z.indexOf(t)||null===n||A(e)};if(A&&document.addEventListener("mousedown",e),k){var t=function(){var e=window.innerWidth,t=window.innerHeight,n=tl(k),r=L.current;if(r&&n){r.style.left="",r.style.top="",r.style.bottom="",r.style.width="";var o=n.getBoundingClientRect(),a=r.getBoundingClientRect();r.style.left=o.left+"px",r.style.right=e-o.right+"px",r.style.top=o.top+"px",r.style.bottom=t-o.bottom+"px",r.style.maxHeight=o.height,r.style.maxWidth=Math.min(a.width,e)}};return t(),window.addEventListener("resize",t),window.addEventListener("scroll",t,!0),function(){window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0),A&&document.removeEventListener("mousedown",e)}}return function(){A&&document.removeEventListener("mousedown",e)}}),[C,k,A,z,D]);var F=r.createElement(hu,pu({ref:t||P,background:n,elevation:T.layer.container.elevation,id:j&&j.singleId?l+"__container":l,full:s,margin:h,modal:f},I,_,{position:E,plain:v,responsive:x,layerTarget:k,dir:T.dir,"data-g-portal-id":D}),r.createElement(fu,{ref:O,tabIndex:"-1","aria-hidden":"true"}),a);F=r.createElement(tu,pu({ref:L,id:l,plain:v,position:E,responsive:x,layerTarget:k,tabIndex:"-1",dir:T.dir},I),f&&r.createElement(nu,pu({plain:v,responsive:x,onMouseDown:A},I)),F),g&&(F=r.createElement(ll.s,{onEsc:g?function(e){e.stopPropagation(),g(e)}:void 0,target:!1===f?"document":void 0},F));var V=(0,r.useMemo)((function(){var e=(0,p.hG)(T.layer.background,T);return pu({},T,{dark:e})}),[T]);if(T.layer.background){var Q=V.dark;void 0!==Q&&Q!==T.dark&&(F=r.createElement(o.ThemeContext.Provider,{value:V},F))}F=r.createElement(il.Provider,{value:R},F);var Y=x&&B===T.layer.responsiveBreakpoint;return(f||Y)&&(F=r.createElement(al,{hidden:"hidden"===E,restrictScroll:!(k||!f&&!Y)||void 0,trapFocus:!0},F)),F}));var gu={};function vu(){return vu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vu.apply(null,arguments)}var yu=(0,r.forwardRef)((function(e,t){var n=e.animate,o=e.animation,a=e.targetChildPosition,i=(0,r.useState)(),s=i[0],l=i[1];(0,r.useEffect)((function(){return l(document.activeElement)}),[]);var c=(0,r.useState)(),u=c[0],h=c[1],m=(0,r.useContext)(d);return(0,r.useEffect)((function(){return h(qs(m,a))}),[m,a]),Qs((function(){return function(){if(s&&(s.focus?setTimeout((function(){return s.focus()}),0):s.parentNode&&s.parentNode.focus&&s.parentNode.focus()),u)if(!1!==(void 0!==o?o:n)){var e=u.cloneNode(!0);e.id="layerClone",m.appendChild(e);var t=e.querySelector('[class*="StyledLayer__StyledContainer"]');t&&t.style&&(t.style.animationDirection="reverse"),setTimeout((function(){var e=m.getRootNode().getElementById("layerClone");e&&(m.contains(e)&&m.removeChild(e),u.remove())}),200)}else m.contains(u)&&m.removeChild(u)}}),[n,o,m,u,s]),u?(0,Xs.createPortal)(r.createElement(Au,vu({ref:t},e)),u):null}));
7yu.displayName="Layer",yu.propTypes=gu;const bu="1113111404",Eu={global:{colors:{text:"#3C3C3C",dummy:"rgba(60, 60, 60, 0.15)"}}},wu=e=>{let{size:t,text:n}=e;return r.createElement(P.a,{background:"dummy",round:t.round/8+"px",height:`${t.fontSize}px`,width:n.length*t.fontSize*.6+"px"})};var xu=e=>{let{onClick:t,image:n,enlarged:a}=e;const{file:i,title:s,source:l,note:c,alt:u}=n,{scale:d}=q(),h={width:320,height:213,round:8,shadowOffsetY:2,shadowBlur:4,fontSize:3.8,pad:9,captionHeight:17,gap:1.9};return Object.keys(h).forEach((e=>{h[e]=(a?3.0625:1)*d*h[e]})),r.createElement(o.ThemeContext.Extend,{value:Eu},r.createElement(P.a,{round:`${h.round}px`,style:{boxShadow:`0px ${h.shadowOffsetY}px ${h.shadowBlur}px 0 rgba(0, 0, 0, 0.25)`},onClick:t,width:`${h.width}px`,height:`${h.height}px`},r.createElement(le,{fill:!0},r.createElement(P.a,{fill:!0,round:`${h.round}px`,overflow:"hidden",style:{isolation:"isolate"}},r.createElement(Kl.G,{image:(0,Kl.c)(i),alt:u})),r.createElement(P.a,{fill:!0,justify:"end",pad:`${h.pad}px`},r.createElement(P.a,{height:`${h.captionHeight}px`,gap:`${a?0:h.gap}px`},s&&(a?r.createElement(Xl,{color:"text",size:`${Math.max(10,h.fontSize)}px`},s):r.createElement(wu,{size:h,text:s})),l&&(a?r.createElement(Xl,{color:"text",size:`${Math.max(10,h.fontSize)}px`},r.createElement("p",{style:{margin:0},dangerouslySetInnerHTML:{__html:l}})):r.createElement(wu,{size:h,text:l})),c&&(a?r.createElement(Xl,{color:"text",size:`${Math.max(10,h.fontSize)}px`},c):r.createElement(wu,{size:h,text:c})))))))},ku=(0,o.css)(["color:",";"],(function(e){return(0,m.$2)(e.colorProp||e.theme.heading.color,e.theme)})),_u=o.default.h1.withConfig(g.OY).withConfig({displayName:"StyledHeading",componentId:"sc-1rdh4aw-0"})([""," "," "," "," "," "," ",""],g.m,(function(e){return function(e){var t=(e.theme.heading.level[e.level]||{}).font;return t&&t.family?(0,o.css)(["font-family:",";"],t.family):e.theme.heading.font?(0,o.css)(["font-family:",";"],e.theme.heading.font.family):""}(e)}),(function(e){return function(e){var t=e.size||"medium",n=e.theme.heading,r=n.level[e.level];if(r){var a=r[t],i=[(0,o.css)(["font-size:",";line-height:",";max-width:",";font-weight:",";overflow-wrap:",";"],a?a.size:t,a?a.height:"normal",(e.fillProp?"none":a&&a.maxWidth)||r.medium.maxWidth,e.weight||r.font.weight||n.weight,e.overflowWrap)];if(e.responsive&&n.responsiveBreakpoint){var s=e.theme.global.breakpoints[n.responsiveBreakpoint];if(s){var l=n.level[e.level+1]?n.level[e.level+1][t]:n.level[e.level][t];l&&i.push((0,sl.Jj)(s,"\n            font-size: "+l.size+";\n            line-height: "+l.height+";\n            max-width: "+(e.fillProp?"none":l.maxWidth)+";\n          "))}}return i}return console.warn("Heading level "+e.level+" is not defined in your theme."),""}(e)}),(function(e){return e.textAlign&&g.O8}),(function(e){return e.truncate&&"\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n"}),(function(e){return(e.colorProp||e.theme.heading.color)&&ku}),(function(e){return e.theme.heading&&e.theme.heading.extend}));var Cu={};function Su(){return Su=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Su.apply(null,arguments)}var Mu=(0,r.forwardRef)((function(e,t){var n=e.as,o=e.level,a=void 0===o?1:o,i=e.size,s=(0,ae.i)().theme,l=s.heading.level[a],c=null==l?void 0:l[i||"medium"],u=c?c.height:i;return r.createElement(Vl,Su({as:n,ref:t,height:u},s.heading.skeleton))}));Mu.displayName="HeadingSkeleton";var Tu=["children","color","fill","level","overflowWrap","responsive","weight"];function Iu(){return Iu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Iu.apply(null,arguments)}var Bu=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.color,a=e.fill,i=e.level,s=void 0===i?1:i,l=e.overflowWrap,c=e.responsive,u=void 0===c||c,d=e.weight,h=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}
7(e,Tu),m=(0,ae.i)().passThemeFlag,p=f(t),A=(0,r.useState)(l||"break-word"),g=A[0],v=A[1],y=(0,zl.B)();Qs((function(){var e=function(){var e;!l&&p.current&&(e=p.current.scrollWidth>p.current.offsetWidth?"anywhere":"break-word",v(e))};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[p,l]);var b=n;return y&&(b=r.createElement(Mu,Iu({level:s,fill:a,responsive:u},h))),r.createElement(_u,Iu({as:"h"+s,colorProp:o,fillProp:a,level:+s,overflowWrap:g,responsive:u,weight:d},m,h,{ref:p}),b)}));Bu.displayName="Heading",Bu.propTypes=Cu;var ju=(0,o.css)(["color:",";"],(function(e){return(0,m.$2)(e.colorProp,e.theme)})),Ou=(0,o.css)(["font-family:",";"],(function(e){return e.theme.paragraph.font.family})),Pu=o.default.p.withConfig(g.OY).withConfig({displayName:"StyledParagraph",componentId:"sc-tbetod-0"})([""," "," "," "," "," "," ",""],g.m,(function(e){return function(e){return e.maxLines&&(0,o.css)(["display:-webkit-box;-webkit-line-clamp:",";-webkit-box-orient:vertical;overflow:hidden;"],e.maxLines)}(e)}),(function(e){return function(e){var t=e.size||"medium",n=e.theme.paragraph[t];return(0,o.css)(["font-size:",";line-height:",";max-width:",";"],n?n.size:t,n?n.height:"normal",e.fillProp?"none":n&&n.maxWidth)}(e)}),(function(e){return e.textAlign&&g.O8}),(function(e){return e.colorProp&&ju}),(function(e){return e.theme.paragraph.font&&e.theme.paragraph.font.family&&Ou}),(function(e){return e.theme.paragraph&&e.theme.paragraph.extend}));var Lu={},zu=(0,r.forwardRef)((function(e,t){var n=e.fill,o=e.size||"medium",a=(0,ae.i)().theme.paragraph[o],i=a?a.size:o;return r.createElement(P.a,{ref:t,gap:"xsmall",width:{max:n?"none":a&&a.maxWidth}},r.createElement(Vl,{height:i}),r.createElement(Vl,{height:i}),r.createElement(Vl,{height:i,width:"30%"}))}));zu.displayName="ParagraphSkeleton";var Du=["children","color","fill","size"];function Ru(){return Ru=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ru.apply(null,arguments)}var Nu=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.color,a=e.fill,i=e.size,s=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,Du),l=(0,ae.i)().passThemeFlag,c=(0,zl.B)(),u=(0,r.useMemo)((function(){return{size:i}}),[i]);return c?r.createElement(zu,Ru({ref:t,fill:a,size:i},s),n):r.createElement(Pu,Ru({ref:t,colorProp:o,fillProp:a,size:i},l,s),void 0!==n?r.createElement(Wl.Provider,{value:u},n):void 0)}));Nu.displayName="Paragraph",Nu.prototype=Lu;var Fu=o.default.a.withConfig(g.OY).withConfig({displayName:"StyledAnchor",componentId:"sc-1rp7lwl-0"})(["box-sizing:border-box;display:inline-flex;"," color:",";"," text-decoration:",";cursor:pointer;"," "," "," "," "," ",""],(function(e){return function(e){if(e.size){var t=e.size||"medium",n=e.theme.text[t];return(0,o.css)(["font-size:",";line-height:",";"],n?n.size:t,n?n.height:"normal")}return(0,o.css)(["font-size:inherit;line-height:inherit;"])}(e)}),(function(e){var t;return(0,m.$2)(e.colorProp||(null==(t=e.theme.anchor)||null==(t=t.size)||null==(t=t[e.size])?void 0:t.color)||e.theme.anchor.color,e.theme)}),(function(e){var t,n;return e.weight?"font-weight: "+e.weight+";":((null==(t=e.theme.anchor)||null==(t=t.size)||null==(t=t[e.size])?void 0:t.fontWeight)||e.theme.anchor.fontWeight)&&"font-weight: "+((null==(n=e.theme.anchor)||null==(n=n.size)||null==(n=n[e.size])?void 0:n.fontWeight)||e.theme.anchor.fontWeight)+";"}),(function(e){var t;return e.hasIcon?"none":(null==(t=e.theme.anchor)||null==(t=t.size)||null==(t=t[e.size])?void 0:t.textDecoration)||e.theme.anchor.textDecoration}),g.m,(function(e){return!e.disabled&&e.theme.anchor.hover&&(0,o.css)(["&:hover{"," "," ","}"],e.theme.anchor.hover.textDecoration&&"text-decoration: "+e.theme.anchor.hover.textDecoration+";",e.theme.anchor.hover.fontWeight&&"font-weight: "+e.theme.anchor.hover.fontWeight+";",e.theme.anchor.hover.extend)}),(function(e){return e.hasIcon&&!e.hasLabel&&"\n    padding: "+e.theme.global.edgeSize.small+";\n  "}),(function(e){return e.disabled&&"\n  opacity: 0.3;\n  cursor: default;\n  text-decoration: none;\n"}),(function(e){return e.focus&&(0,g.Y$)()}),(function(e){return e.theme.anchor.extend}));var Vu={},Qu=["a11yTitle","aria-label","children","color","disabled","gap","href","icon","label","onBlur","onClick","onFocus","reverse","size"];function Yu(){return Yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yu.apply(null,arguments)}var Uu=(0,r.forwardRef)((function(e,t){var n=e.a11yTitle,o=e["aria-label"],a=e.children,i=e.color,s=e.disabled,l=e.gap,c=e.href,u=e.icon,d=e.label,h=e.onBlur,p=e.onClick,f=e.onFocus,A=e.reverse,g=e.size,v=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,Qu),y=(0,ae.i)(),b=y.theme,E=y.passThemeFlag,w=(0,r.useState)(),x=w[0],k=w[1],_=(0,r.useContext)(Wl).size,C=S(),M=(0,r.useCallback)((function(e){C({type:"anch
7orClick",element:nl(e.target),event:e,href:c,label:"string"==typeof d?d:void 0}),p&&p(e)}),[p,C,d,c]);(0,r.useEffect)((function(){(u||d)&&a&&console.warn("Anchor should not have children if icon or label is provided")}),[a,u,d]);var T,I,B=u;u&&!u.props.color&&(B=(0,r.cloneElement)(u,{color:(0,m.$2)(i||(null==(T=b.anchor)||null==(T=T.icon)?void 0:T.color)||(null==(I=b.anchor)||null==(I=I.size)||null==(I=I[g||_])?void 0:I.color)||b.anchor.color,b)}));var j=rc(B,g||_,b),O=A?d:j,L=A?j:d;return r.createElement(Fu,Yu({},v,{ref:t,"aria-label":o||n,colorProp:i,disabled:s,hasIcon:!!u,focus:x,hasLabel:d,reverse:A,href:s?void 0:c,onClick:s?void 0:M,onFocus:function(e){k(!0),f&&f(e)},onBlur:function(e){k(!1),h&&h(e)},size:g||_},E),O&&L?r.createElement(P.a,{as:"span",direction:"row",align:"center",gap:l||b.anchor.gap,responsive:!1},O,L):O||L||a)}));Uu.displayName="Anchor",Uu.propTypes=Vu;var Wu=n(8453);var Gu=e=>{let{name:t,displayName:n,on:a,onClick:i}=e;return r.createElement(o.ThemeContext.Extend,{value:{button:{default:{padding:{horizontal:"none",vertical:"none"}},extend:o.css`
8          font-weight: ${a?700:400};
9          text-align: start;
10          background: none;
11        `}}},r.createElement(Vs,{direction:"row",gap:"small",pad:{vertical:"small"},layout:!0,whileHover:{columnGap:"4px"},transition:{duration:.1}},r.createElement(Oc,{label:n,active:a,color:"text",onClick:()=>i(t.toLowerCase()),pad:"none",plain:!0}),r.createElement(Xl,{active:a},">")))};var Hu=()=>r.createElement(P.a,{fill:"horizontal",height:"1px",background:"ink"}),Xu=n(9526),Zu=n(4356),qu=n(5967),Ju=n(6565),Ku=n(1673),$u=n(1649),ed=n(1969),td=n(818),nd=n(2845),rd=n(1090),od=n(482),ad=n(5767),id=n(3675),sd=n(5221),ld=n(2249),cd=n(3681),ud=n(81),dd=n(4736),hd=n(1037),md=n(3248),pd=n(5616),fd=n(2707),Ad={theme:{global:{colors:{icon:"#666666"}},icon:{size:{small:"12px",medium:"24px",large:"48px",xlarge:"96px"}}}};var gd=function(e){return void 0===e&&(e=""),parseFloat(e.match(/\d+(\.\d+)?/),10)};function vd(e){var t,n=(0,r.useContext)(o.ThemeContext),a=e.size,i={};null!=n&&null!=(t=n.icon)&&t.disableScaleDown&&(gd(n.icon.size[a]||a)<24&&(i.vectorEffect="non-scaling-stroke"));return i}var yd=function(e,t){return(e-t)/2+"px"};function bd(e){var t,n,a,i=e.height,s=e.size,l=void 0===s?"medium":s,c=e.width,u=(0,r.useContext)(o.ThemeContext),d=gd((null==u||null==(t=u.icon)||null==(t=t.size)?void 0:t[l])||l),h="";if(i&&null!=u&&null!=(n=u.text)&&null!=(n=n[i])&&n.height){var m=gd(u.text[i].height);if(m>d){var p=yd(m,d);h+="padding-top: "+p+"; padding-bottom: "+p+";"}}if(c&&null!=u&&null!=(a=u.text)&&null!=(a=a[c])&&a.height){var f=gd(u.text[c].height);if(f>d){var A=yd(f,d);h+="padding-left: "+A+"; padding-right: "+A+";"}}return h}var Ed=["a11yTitle","color","size","theme"];function wd(){return wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wd.apply(this,arguments)}var xd=function e(t,n,r){var o=n.global&&void 0!==n.global.colors[t]?n.global.colors[t]:t,a=o;return o&&((!0===r||void 0===r&&n.dark)&&void 0!==o.dark?a=o.dark:!1!==r&&n.dark||void 0===o.light||(a=o.light)),a&&n.global&&void 0!==n.global.colors[a]&&(a=e(a,n,r)),a},kd=function(e,t,n,r){return(0,o.css)(["",":",";"],e,xd(t,n,r))},_d=(0,o.css)([""," "," g{fill:inherit;stroke:inherit;}*:not([stroke]){&[fill='none']{stroke-width:0;}}*[stroke*='#'],*[STROKE*='#']{stroke:inherit;fill:none;}*[fill-rule],*[FILL-RULE],*[fill*='#'],*[FILL*='#']{fill:inherit;stroke:none;}"],(function(e){return kd("fill",e.color||e.theme.global.colors.icon,e.theme)}),(function(e){return kd("stroke",e.color||e.theme.global.colors.icon,e.theme)})),Cd=(0,r.forwardRef)((function(e,t){var n=e.a11yTitle,o=(e.color,e.size,e.theme,function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ed));return r.createElement("svg",wd({ref:t,"aria-label":n},o))}));Cd.displayName="Icon";var Sd=(0,o.default)(Cd).withConfig({shouldForwardProp:function(e){return!["height","width"].includes(e)}}).withConfig({displayName:"StyledIcon",componentId:"sc-ofa7kd-0"})(["display:inline-block;flex:0 0 auto;"," "," "," ",""],(function(e){var t,n=e.size,r=void 0===n?"medium":n,o=e.theme,a=(e.viewBox||"0 0 24 24").split(" "),i=a[2],s=a[3],l=i/s,c=o.icon.size[r]||r,u=gd(c),d=(null==(t=c.match(/[a-z]+$/))?void 0:t[0])||"px";return i<s?"\n      width: "+u+d+";\n      height: "+u/l+d+";\n    ":s<i?"\n      width: "+u*l+d+";\n      height: "+u+d+";\n    ":"\n      width: "+u+d+";\n      height: "+u+d+";\n    "}),(function(e){return"plain"!==e.color&&_d}),(function(e){return(e.height||e.width)&&bd(e)}),(function(e){var t=e.theme;return t&&t.icon.extend}));function Md(){return Md=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Md.apply(this,arguments)}Sd.defaultProps={},Object.setPrototypeOf(Sd.defaultProps,Ad);var Td=(0,r.forwardRef)((function(e,t){var n=vd(e);return r.createElement(Sd,Md({ref:t,viewBox:"0 0 24 24",a11yTitle:"Previous"},e),r.createElement("path",Md({fill:"none",stroke:"#000",strokeWidth:"2",d:"M17 2 7 12l10 10"},n)))}));function Id(){return Id=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Id.apply(this,arguments)}Td.displayName="Previous";var Bd=(0,r.forwardRef)((function(e,t){var n=vd(e);return r.createElement(Sd,Id({ref:t,viewBox:"0 0 24 24",a11yTitle:"Close"},e),r.createElement("path",Id({fill:"none",stroke:"#000",strokeWidth:"2",d:"m3 3 18 18M3 21 21 3"},n)))}));Bd.displayName="Close";var jd=e=>{let{onBackClick:t,onCloseClick:n}=e;return r.createElement(P.a,{direction:"row",fill:"horizontal",justify:"between",style:{position:"fixed",left:"0px",right:"0px"},pad:{horizontal:"medium"}},r.createElement(Oc,{plain:!0,icon:r.createElement(Td,{color:"text"}),a11yTitle:"Previous",onClick:t,disabled:void 0===t,style:{visibility:void 0===t?"hidden":"visible"}}),r.createElement(Oc,{plain:!0,icon:r.createElement(Bd,{color:"text"}),a11yTitle:"Close",onClick:n,disabled:void 0===n,style:{visibility:void 0===n?"hidden":"visible"}}))};const Od=[{displayName:{en:"Benyamin Nuss",ja:"Benyamin Nuss"},name:"Benyamin Nuss",page:{en:qu.default,ja:id.default}},{displayName:{en:"Wac-Lounge",ja:"Wac-Lounge"},name:"Wac-Lounge",page:{en:Ju.default,ja:sd.default}},{displayName:{en:"Michael Louis",ja:"Michael Louis"},name:"Michael Louis",page:{en:Ku.default,ja:ld.default}},{displayName:{en:"analog_mannequin",ja:"analog_mannequin"},name:"analog_mannequin",page:{en:$u.default,ja:cd.default}}
11],Pd=[{displayName:{en:"Della Z Duncan",ja:"Della Z Duncan"},name:"Della Z Duncan",page:{en:ed.default,ja:ud.default}},{displayName:{en:"Marc Thompson",ja:"Marc Thompson"},name:"Marc Thompson",page:{en:td.default,ja:dd.default}},{displayName:{en:"Aja Barber",ja:"Aja Barber"},name:"Aja Barber",page:{en:nd.default,ja:hd.default}}],Ld=[{displayName:{en:"Nao Kaneko",ja:"金子 奈緒"},name:"Nao Kaneko",page:{en:rd.default,ja:md.default}},{displayName:{en:"Koki Yamamoto",ja:"山本 航生"},name:"Koki Yamamoto",page:{en:od.default,ja:pd.default}},{displayName:{en:"Ayaka Hironaka",ja:"弘中 綾香"},name:"Ayaka Hironaka",page:{en:ad.default,ja:fd.default}}];var zd=e=>{let{onBackClick:t,onCloseClick:n,language:o}=e;const a="small"===(0,r.useContext)(u),{0:i,1:s}=(0,r.useState)(null),l=e=>{s(e)},c=Od.find((e=>e.name.toLowerCase()===i))||Pd.find((e=>e.name.toLowerCase()===i))||Ld.find((e=>e.name.toLowerCase()===i));return r.createElement(P.a,{direction:"row",fill:"horizontal"},(!a||a&&!c)&&r.createElement(P.a,{basis:a?"100%":"calc(100% / 3)",flex:{shrink:0},fill:"vertical",overflow:{vertical:"auto"},pad:"medium"},r.createElement(P.a,{fill:"horizontal",height:"fit-content",justify:"start",flex:{shrink:0},pad:a?{top:"large"}:"none"},"ja"===o?r.createElement(Zu.default,null):r.createElement(Xu.default,null),r.createElement(Bu,{level:4}," ","ja"===o?"音楽:":"MUSIC:"),r.createElement(Hu,null),Od.map(((e,t)=>r.createElement(r.Fragment,{key:t},r.createElement(Gu,{name:e.name,displayName:e.displayName["ja"===o?"ja":"en"],on:i===e.name.toLowerCase(),onClick:l}),r.createElement(Hu,null)))),r.createElement(P.a,{fill:"horizontal",height:"xxsmall"}),r.createElement(Bu,{level:4},"ja"===o?"日本語ナレーション:":"ENGLISH VOICEOVER:"),r.createElement(Hu,null),("ja"===o?Ld:Pd).map(((e,t)=>r.createElement(r.Fragment,{key:t},r.createElement(Gu,{name:e.name,displayName:e.displayName["ja"===o?"ja":"en"],on:i===e.name.toLowerCase(),onClick:l}),r.createElement(Hu,null)))),r.createElement(P.a,{fill:"horizontal",height:"xxsmall"}),r.createElement(Bu,{level:4}," ","ja"===o?"英語ナレーション:":"JAPANESE VOICEOVER:"),r.createElement(Hu,null),("ja"===o?Pd:Ld).map(((e,t)=>r.createElement(r.Fragment,{key:t},r.createElement(Gu,{name:e.name,displayName:e.displayName["ja"===o?"ja":"en"],on:i===e.name.toLowerCase(),onClick:l}),r.createElement(Hu,null))))),a&&r.createElement(jd,{onBackClick:t,onCloseClick:n})),r.createElement(P.a,{fill:!0,pad:"medium",overflow:{vertical:"auto"}},r.createElement(P.a,{fill:"horizontal",height:"fit-content",justify:"start",flex:{shrink:0}},c?r.createElement(P.a,{pad:a?{top:"large"}:"none"},"ja"===o?r.createElement(c.page.ja,null):r.createElement(c.page.en,null)):null,c&&a&&r.createElement(jd,{onBackClick:()=>s(null),onCloseClick:n}))))},Dd=n(7999),Rd=n(6205),Nd=n(6124),Fd=n(9950),Vd=n(3587),Qd=n(4119),Yd=n(3669),Ud=n(1155),Wd=n(667),Gd=n(4173),Hd=n(2222),Xd=n(1004),Zd=n(5263),qd=n(9331),Jd=n(8821),Kd=n(8623),$d=n.p+"static/about_background-bc8db0632eca90fa584d7bc1a3a30325.jpg";const eh={h1:e=>{let{children:t}=e;return r.createElement(Bu,{level:4,color:"text"},t)},h2:e=>{let{children:t}=e;return r.createElement(Bu,{level:4,color:"text"},t)},h3:e=>{let{children:t}=e;return r.createElement(Bu,{level:4,color:"text"},t)},h4:e=>{let{children:t}=e;return r.createElement(Bu,{level:4,color:"text"},t)},p:e=>{let{children:t}=e;return r.createElement(Nu,{color:"text"},t)},a:e=>{let{children:t,href:n}=e;return r.createElement(Uu,{label:t,href:n,target:"_blank"})},ol:e=>{let{children:t}=e;return r.createElement(P.a,{margin:{vertical:"18px"}},t.filter((e=>"\n"!==e)).map(((e,t)=>r.createElement(P.a,{key:t,direction:"row"},r.createElement(P.a,{basis:"32px",flex:!1},r.createElement(Xl,{color:"text"},`${t+1}.`)),r.createElement(P.a,{fill:"horizontal"},e)))))},ul:e=>{let{children:t}=e;return r.createElement(P.a,{margin:{vertical:"18px"}},t.filter((e=>"\n"!==e)).map(((e,t)=>r.createElement(P.a,{key:t,direction:"row"},r.createElement(P.a,{basis:"32px",flex:!1},r.createElement(Xl,{color:"text"},"-")),r.createElement(P.a,{fill:"horizontal"},e)))))},li:e=>{let{children:t}=e;
11return r.createElement(Xl,{color:"text"},t)}},th=e=>{let{children:t,onBackClick:n,onCloseClick:o}=e;const a="small"===(0,r.useContext)(u);return r.createElement(P.a,{fill:!0,pad:"medium",overflow:{vertical:"auto"}},r.createElement(P.a,{fill:"horizontal",height:"fit-content",justify:"start",flex:{shrink:0},pad:a?{top:"large"}:"none"},t),a&&r.createElement(jd,{onBackClick:n,onCloseClick:o}))},nh=e=>{let{language:t,onBackClick:n,onCloseClick:o}=e;return r.createElement(th,{onBackClick:n,onCloseClick:o},"ja"===t?r.createElement(Gd.default,null):r.createElement(Rd.default,null))},rh=e=>{let{language:t,onBackClick:n,onCloseClick:o}=e;return r.createElement(th,{onBackClick:n,onCloseClick:o},"ja"===t?r.createElement(Hd.default,null):r.createElement(Nd.default,null))},oh=e=>{let{language:t,onBackClick:n,onCloseClick:o}=e;return r.createElement(th,{onBackClick:n,onCloseClick:o},"ja"===t?r.createElement(Xd.default,null):r.createElement(Fd.default,null))},ah=e=>{let{language:t,onBackClick:n,onCloseClick:o}=e;return r.createElement(th,{onBackClick:n,onCloseClick:o},"ja"===t?r.createElement(Zd.default,null):r.createElement(Vd.default,null))},ih=e=>{let{language:t,onBackClick:n,onCloseClick:o}=e;return r.createElement(th,{onBackClick:n,onCloseClick:o},"ja"===t?r.createElement(qd.default,null):r.createElement(Qd.default,null))},sh=e=>{let{language:t,onBackClick:n,onCloseClick:o}=e;return r.createElement(th,{onBackClick:n,onCloseClick:o},"ja"===t?r.createElement(Jd.default,null):r.createElement(Yd.default,null))},lh=e=>{let{language:t,onBackClick:n,onCloseClick:o}=e;return r.createElement(th,{onBackClick:n,onCloseClick:o},"ja"===t?r.createElement(Kd.default,null):r.createElement(Ud.default,null))};var ch=e=>{let{onCloseClick:t,language:n}=e;const a="small"===(0,r.useContext)(u),{0:i,1:s}=(0,r.useState)(a?null:"about"),l=e=>{s(e)},c=()=>{s(null)},d={global:{colors:{text:"ink"}},paragraph:{small:{maxWidth:"auto"},medium:{maxWidth:"auto"},large:{maxWidth:"auto"},xlarge:{maxWidth:"auto"},xxlarge:{maxWidth:"auto"},font:{family:"ja"===n?"Noto Sans JP":"AkkuratMono"}},text:{font:{family:"ja"===n?"Noto Sans JP":"AkkuratMono"}}},h="about"===i?r.createElement(nh,{language:n,onCloseClick:t,onBackClick:c}):"how to use"===i?r.createElement(rh,{language:n,onCloseClick:t,onBackClick:c}):"channels"===i?r.createElement(oh,{language:n,onCloseClick:t,onBackClick:c}):"artists"===i?r.createElement(zd,{language:n,onCloseClick:t,onBackClick:c}):"production team"===i?r.createElement(ah,{language:n,onCloseClick:t,onBackClick:c}):"dialogues"===i?r.createElement(ih,{language:n,onCloseClick:t,onBackClick:c}):"copyright"===i?r.createElement(sh,{language:n,onCloseClick:t,onBackClick:c}):"contact us"===i?r.createElement(lh,{language:n,onCloseClick:t,onBackClick:c}):null;return r.createElement(P.a,{round:"xsmall",elevation:"small",pad:a?"none":"medium",background:`url(${$d})`,fill:!0,overflow:"hidden"},r.createElement(o.ThemeContext.Extend,{value:d},r.createElement(Wu.xA,{components:eh},r.createElement(P.a,{direction:"row",fill:!0},(!a||a&&!h)&&r.createElement(P.a,{basis:a?"100%":"calc(100% / 4)",flex:{shrink:0},height:"fill",overflow:{vertical:"auto"},pad:"medium"},r.createElement(P.a,{fill:"horizontal",height:"fit-content",justify:"start",flex:{shrink:0}},"ja"===n?r.createElement(Wd.default,null):r.createElement(Dd.default,null),a&&r.createElement(r.Fragment,null,r.createElement(P.a,{fill:"horizontal",height:"xxsmall"}),"ja"===n?r.createElement(Xl,null,"[注意]お使いのブラウザのサイズにより、APMA-2000の簡易版が表示されています。APMA-2000の完全版を体験するには、幅が768px以上のブラウザをお使いください。"):r.createElement(Xl,null,"Note: You are experiencing a simplified version of APMA-2000 due to your browser dimentions. To experience APMA-2000 fully, your browser's width needs to be 768 px or more.")),r.createElement(P.a,{fill:"horizontal",height:"xxsmall"}),r.createElement(Hu,null),r.createElement(Gu,{name:"ABOUT",displayName:"ABOUT",on:"about"===i,onClick:l}),r.createElement(Hu,null),r.createElement(Gu,{name:"HOW TO USE",displayName:"ja"===n?"使い方":"HOW TO USE",on:"how to use"===i,onClick:l}),r.createElement(Hu,null),r.createElement(Gu,{name:"CHANNELS",displayName:"ja"===n?"チャンネル":"CHANNELS",on:"channels"===i,onClick:l}),r.createElement(Hu,null),r.createElement(Gu,{name:"ARTISTS",displayName:"ja"===n?"アーティスト":"ARTISTS",on:"artists"===i,onClick:l}),r.createElement(Hu,null),r.createElement(Gu,{name:"PRODUCTION TEAM",displayName:"ja"===n?"制作チーム":"PRODUCTION TEAM",on:"production team"===i,onClick:l}),r.createElement(Hu,null),r.createElement(Gu,{name:"DIALOGUES",displayName:"ja"===n?"対話":"DIALOGUES",on:"dialogues"===i,onClick:l}),r.createElement(Hu,null),r.createElement(Gu,{name:"COPYRIGHT",displayName:"ja"===n?"著作権":"COPYRIGHT",on:"copyright"===i,onClick:l}),r.createElement(Hu,null),r.createElement(Gu,{name:"CONTACT US",displayName:"ja"===n?"お問い合わせ":"CONTACT US",on:"contact us"===i,onClick:l}),r.createElement(Hu,null)),a&&r.createElement(jd,{onCloseClick:t})),h))))},uh=n.p+"static/printer_background-8c9915efa2ef96548a7d1427a96a394f.png";var dh=e=>{let{visible:t,isFirstItem:n,animationProperties:o,children:a}=e;const{scale:i}=q(),{initialX:s,x:l,angle:c}=o,u=(0,r.useRef)(!0);(0,r.useEffect)((()=>{u.current&&setTimeout((()=>{u.current=!1}),4e3)}));const d={x:s,y:304*-i,rotate:0,opacity:1},h={x:l,y:-i,rotate:0,opacity:1};return r.createElement(Te,null,t&&r.createElement(Vs,{initial:u.current?d:h,animate:u.current?{x:[s,s,s,s,(l+s)/2,l],y:[304*-i,120*-i,120*-i,-i,3*-i,-i],rotate:[0,0,0,0,c,0],opacity:[1,1,1,1,1,1]}:h,exit:{opacity:0}
11,transition:{ease:"easeOut",duration:n||!u.current?0:4,times:[0,.6,.88,.92,.96,1]}},a))};var hh=e=>{let{language:t,track:n,elapsedTime:a,showAbout:i,showInstruction:s,onLoad:l}=e;const{0:c,1:u}=(0,r.useState)(void 0),d=(0,r.useRef)([]),h=(0,r.useRef)([]),m=(0,r.useRef)(n),p=(0,r.useRef)(a),{0:f,1:A}=(0,r.useState)(void 0),{scale:g}=q(),{0:v,1:y}=(0,r.useState)(!1),b={name:"startup",file:(0,Gc.useStaticQuery)(bu).allFile.edges.map((e=>e.node)).find((e=>"startup"===e.name)),alt:"Start up instruction card"},E={name:"about",file:(0,Gc.useStaticQuery)(bu).allFile.edges.map((e=>e.node)).find((e=>"about"===e.name)),alt:"About card"},w={name:"about",file:(0,Gc.useStaticQuery)(bu).allFile.edges.map((e=>e.node)).find((e=>"about_ja"===e.name)),alt:"About card in Japanese"},x={name:"instruction",file:(0,Gc.useStaticQuery)(bu).allFile.edges.map((e=>e.node)).find((e=>"instruction"===e.name)),alt:"Instruction card"},k={name:"instruction",file:(0,Gc.useStaticQuery)(bu).allFile.edges.map((e=>e.node)).find((e=>"instruction_ja"===e.name)),alt:"Instruction card in Japanese"};return(0,r.useEffect)((()=>{const e=new Image;return e.onload=l,e.src=uh,d.current=[b],h.current=[{initialX:0,x:0,angle:0}],()=>{d.current=[],h.current=[]}}),[]),(0,r.useEffect)((()=>{i&&u("ja"===t?w:E)}),[i,t]),(0,r.useEffect)((()=>{s&&u("ja"===t?k:x)}),[s,t]),(0,r.useEffect)((()=>{m.current===n&&n&&u(n.images?n.images.sort(((e,t)=>Number(e.enterAt)-Number(t.enterAt))).find((e=>p.current<=e.enterAt&&e.enterAt<a)):void 0),m.current=n,p.current=a}),[n,a]),(0,r.useEffect)((()=>{c&&(d.current.push(c),h.current.push({initialX:g*Math.round(4*(Math.random()-.5)),x:g*Math.round(4*(Math.random()-.5)),angle:5*(Math.random()-.5)}),y(!0),setTimeout((()=>{y(!1)}),4e3))}),[c]),r.createElement(r.Fragment,null,r.createElement(P.a,{direction:"row",gap:12*g+"px"},r.createElement(nc,{on:v,color:"red"}),r.createElement(P.a,{width:404*g+"px",height:304*g+"px",pad:10*g+"px",background:`url(${uh})`},r.createElement(P.a,{fill:!0,overflow:"hidden",align:"center",justify:"end"},r.createElement(le,{anchor:"bottom"},d.current.map(((e,t,n)=>{const{initialX:o,x:a,angle:i}=h.current[t];return r.createElement(dh,{key:t,visible:n.length-3<t,isFirstItem:0===t,animationProperties:h.current[t]},r.createElement(xu,{image:e,onClick:()=>(e=>{A(e)})(e)}))})))))),f&&r.createElement(o.ThemeContext.Extend,{value:{layer:{overlay:{backdropFilter:"blur(12px)"}}}},f.name&&"about"===f.name?r.createElement(yu,{onEsc:()=>A(void 0),onClickOutside:()=>A(void 0),animation:"fadeIn",background:"transparent",full:!0,margin:"large"},r.createElement(ch,{language:t})):r.createElement(yu,{onEsc:()=>A(void 0),onClickOutside:()=>A(void 0),animation:"fadeIn",background:"transparent"},r.createElement(xu,{image:f,enlarged:!0}))))},mh=n.p+"static/visualiser_background-eecd904e4af0ef7fd3a869ecfb9f6a77.png";var ph=e=>{let{powerOn:t,languageSet:n,channel:o,loading:a,onLoad:i}=e;const s=(0,r.useRef)(null),l=(0,r.useRef)(null);(0,r.useEffect)((()=>{const e=new Image;e.onload=i,e.src=mh,l.current=new st({canvas:s.current,detectAudio:!1,makeGlobal:!1}).synth}),[]),(0,r.useEffect)((()=>{l.current&&((e,t,n)=>{if(t&&!n){const{visualiserParams:n}=t;"speech"===t.type?e.osc(20,-.1,.4).kaleid(9).rotate((e=>{let{time:t}=e;return t/4%360})).color(Number(n.color.r),Number(n.color.g),Number(n.color.b)).brightness(.5).modulate(e.noise(2.5,.1),.1).mask(e.shape(9,(e=>{let{time:t}=e;return.2*Math.sin(t/2)+.3}),.5).modulate(e.noise(2.5,.1),.1)).posterize(15,1).layer(e.noise(200,50).color(1,1,1,.15)).add(e.solid(.07,.2,.26)).out():e.osc(10,.4,(e=>{let{time:t}=e;return 2*Math.sin(t/5)})).rotate((e=>{let{time:t}=e;return t/10%360})).brightness(1).color(Number(n.color.r),Number(n.color.g),Number(n.color.b)).modulate(e.noise(2,0)).mult(e.noise(1.5,Number(n.tempo)).thresh(.5,.32)).modulateScale(e.shape(48,0,1),1.5).saturate(.5).posterize(15,1).layer(e.noise(200,50).color(1,1,1,.15)).add(e.solid(.07,.2,.26)).out()}else e.solid(.07,.2,.26).layer(e.noise(200,50).color(1,1,1,.15)).out()})(l.current,o,a)}),[t,n,o,a]);const c=206,u=206,{scale:d}=q(),h=d*c,m=d*u;return r.createElement(P.a,{width:`${h}px`,height:`${m}px`,pad:8*d+"px",background:`url(${mh})`},r.createElement(Te,null,r.createElement(P.a,{fill:!0,round:"full",background:"#2C2C2C"},r.createElement(Vs,{fill:!0,round:"full",overflow:"hidden",initial:{opacity:0}
11,animate:{opacity:t?1:0},exit:{opacity:0},transition:{duration:4}},r.createElement("canvas",{ref:s,style:{width:"100%",height:"100%",borderRadius:"100%"}})))))};var fh=e=>{let{onLoad:t,children:o}=e;const{scale:a}=q(),{nominalMachineWidth:i,nominalMachineHeight:s}=H.global.size,l=i*a,c=s*a;return"small"===(0,r.useContext)(u)?r.createElement(le,{fill:!0},r.createElement(P.a,{fill:!0,justify:"center",align:"center"},r.createElement(P.a,{width:320*a+"px",height:462*a+"px"},r.createElement(Kl.S,{src:"../images/machine_background_mobile.jpg",alt:"machine background",placeholder:"blurred",objectFit:"cover",onLoad:t,__imageData:n(2482)}))),r.createElement(P.a,{fill:!0,justify:"center",align:"center"},r.createElement(P.a,{width:320*a+"px",height:462*a+"px"},o))):r.createElement(le,{fill:!0},r.createElement(P.a,{fill:!0,justify:"center",align:"center"},r.createElement(P.a,{width:`${l}px`,height:`${c}px`},r.createElement(Kl.S,{src:"../images/machine.png",alt:"machine background",placeholder:"blurred",objectFit:"cover",onLoad:t,__imageData:n(8751)}))),r.createElement(P.a,{fill:!0,justify:"center",align:"center"},r.createElement(P.a,{width:`${l}px`,height:`${c}px`},o)))};const Ah=(e,t)=>o.keyframes`
12  from {
13    transform: translateX(${e}px);
14  }
15
16  to {
17    transform: translateX(${t}px);
18  }
19`;var gh=(0,o.default)(Xl)`
20  white-space: nowrap;
21  text-overflow: clip;
22  max-width: 100%;
23  animation: ${e=>{let{clientWidth:t,scrollWidth:n,duration:r,elapsedTimeOnStart:o,enterDelay:a,leaveAdvance:i,paused:s}=e;if(n<=t)return Ah(0,0);{const e=t,l=Math.min(t-n,0),c=(l-e)/(r-a-i),u=c*a,d=c*i,h=o/r*(l+d-(e-u))+e-u;return Ah(h,s?h:l+d)}}}
24    ${e=>{let{duration:t,elapsedTimeOnStart:n}=e;return t-n}}s
25    linear;
26`,vh=n.p+"static/info_display_background-93ce358fe2b988c5285904ebe8f8148e.png",yh=n.p+"static/info_display_background_mobile-ea5fc0751b41f9bfcad444787361e6c1.png";const bh={global:{colors:{text:"#BCD0C7"}}},Eh={text:{font:{family:"Noto Sans JP"},extend:o.css`
27      line-height: normal;
28    `}},wh=e=>{let{scale:t,children:n,mobile:o}=e;return r.createElement(Vs,{initial:{opacity:0}
28,animate:{opacity:1},overflow:{vertical:"visible"},height:o?12*t+"px":null},r.createElement(Lc,{color:"text",size:`${Math.max(10,10*t)}px`,style:{opacity:.6},truncate:!0},n))},xh=e=>{let{scale:t,delay:n=0,children:o,mobile:a}=e;return r.createElement(Vs,{initial:{opacity:0},animate:{opacity:1},transition:{delay:n},overflow:{vertical:"visible"},height:a?34*t+"px":null,justify:"center",fill:!a&&"vertical"},r.createElement(Xl,{color:"text",size:`${Math.max(10,14*t)}px`},o))},kh=e=>{let{scale:t,delay:n=0,blink:o=!1,children:a,mobile:i}=e;return r.createElement(Vs,{initial:{opacity:0},animate:{opacity:1},transition:{duration:o?1:.4,delay:n,repeat:o?1/0:0,repeatType:"reverse"},overflow:{vertical:"visible"},height:i?17*t+"px":null,flex:!1},r.createElement(Xl,{color:"text",size:`${Math.max(10,14*t)}px`,style:{opacity:.6}},a))};var _h=e=>{let{on:t,language:n,paused:a,channel:i,track:s,trackLoading:l,trackElapsedTime:c,onLoad:d}=e;const h="small"===(0,r.useContext)(u),m=h?284:506,p=h?100:106,{scale:f}=q(),A=f*m,g=f*p,{0:v,1:y}=(0,r.useState)(""),{0:b,1:E}=(0,r.useState)(""),w=(0,r.useRef)(null),{0:x,1:k}=(0,r.useState)(1/0),{0:_,1:C}=(0,r.useState)(1/0),{0:S,1:M}=(0,r.useState)(0),T=(0,r.useRef)(c);return(0,r.useEffect)((()=>{const e=new Image;e.onload=d,e.src=h?yh:vh}),[]),(0,r.useEffect)((()=>{const e=Math.floor(c/60),t=Math.floor(c-60*e);y(`${e}:${t<10?"0":""}${t}`),2<Math.abs(T.current-c)&&M(c),T.current=c}),[c]),(0,r.useEffect)((()=>{if(s&&!l){const e=Math.floor(s.duration/60),t=Math.floor(s.duration-60*e);E(`${e}:${t<10?"0":""}${t}`),M(s.elapsedTime)}else E("")}),[s,l,a]),(0,r.useEffect)((()=>{w.current&&(C(w.current.clientWidth),k(w.current.scrollWidth))}),[w.current,i,s]),r.createElement(o.ThemeContext.Extend,{value:bh},r.createElement(P.a,{width:`${A}px`,height:`${g}px`,pad:9*f+"px",background:`url(${h?yh:vh})`,onLoad:d},r.createElement(P.a,{fill:!0,pad:"ja"===n?{vertical:8*f+"px",horizontal:f*(h?6:10)+"px"}:f*(h?8:10)+"px",justify:"between",overflow:"hidden"},r.createElement(o.ThemeContext.Extend,{value:"ja"===n?Eh:{}},!t&&r.createElement(wh,{mobile:h,key:0,scale:f}," "),t&&!n&&r.createElement(wh,{mobile:h,key:1,scale:f},"Starting up"),t&&n&&!i&&r.createElement(wh,{mobile:h,key:2,scale:f},"Scanning"),t&&n&&i&&r.createElement(wh,{mobile:h,key:3,scale:f},h?`Ch ${i.title} - ${i.tracks.indexOf(s)+1}/${i.tracks.length}`:`Ch ${i.title} - ${i.artist} | ${i.tracks.indexOf(s)+1} / ${i.tracks.length}`)),r.createElement(P.a,{direction:"row",fill:"horizontal",justify:"between",align:"center",gap:0*f+"px"},r.createElement(o.ThemeContext.Extend,{value:"ja"===n?Eh:{}},!t&&r.createElement(xh,{mobile:h,key:0,scale:f},h?"APMA-2000":" "),t&&!n&&r.createElement(xh,{mobile:h,key:h?0:1,scale:f,delay:h?0:1},"APMA-2000"),t&&n&&!i&&r.createElement(xh,{mobile:h,key:2,scale:f}," "),t&&n&&i&&r.createElement(xh,{mobile:h,key:3,scale:f},s.title)),!h&&!t&&r.createElement(kh,{mobile:h,key:0,scale:f}," "),!h&&t&&!n&&r.createElement(kh,{mobile:h,key:1,scale:f,delay:2,blink:!0},"Select Language >>"),!h&&t&&n&&!i&&r.createElement(kh,{mobile:h,key:2,scale:f}," "),!h&&t&&n&&i&&l&&r.createElement(kh,{mobile:h,key:3,scale:f,blink:!0},"Loading"),!h&&t&&n&&i&&!l&&r.createElement(kh,{mobile:h,key:4,scale:f},`${v} / ${b}`)),r.createElement(o.ThemeContext.Extend,{value:"ja"===n?Eh:{}},r.createElement(Te,null,h?t?n?i?l?r.createElement(kh,{mobile:h,key:3,scale:f,blink:!0},"Loading"):r.createElement(kh,{mobile:h,key:4,scale:f},`${v} / ${b}`):r.createElement(kh,{mobile:h,key:2,scale:f,blink:!0},"Seek Channel ↓"):r.createElement(kh,{mobile:h,key:1,scale:f,delay:2,blink:!0},"Select Language ↑"):r.createElement(kh,{mobile:h,key:0,scale:f,blink:!0},"Press <<POWER>> to Begin"):t&&n&&i&&s&&s.text&&!s.loading?r.createElement(Vs,{initial:{opacity:0}
28,animate:{opacity:1},exit:{opacity:0}},r.createElement(gh,{ref:w,scrollWidth:x,clientWidth:_,elapsedTimeOnStart:S,duration:s.duration,enterDelay:s.textEnterDelay?s.textEnterDelay:0,leaveAdvance:s.textLeaveAdvance?s.textLeaveAdvance:0,color:"text",size:`${Math.max(10,14*f)}px`,style:{opacity:.6},paused:a},s.text)):r.createElement(Xl,{size:`${Math.max(10,14*f)}px`}," "))))))};var Ch=e=>{let{powerOn:t,language:n,onLanguageClick:o,onAboutClick:a}=e;const{scale:i}=q(),s="small"===(0,r.useContext)(u);return r.createElement(P.a,{direction:"row",pad:{top:i*(s?0:30)+"px"},gap:i*(s?12:20)+"px"},r.createElement(Qc,{disabled:!t,on:"en"===n,onClick:()=>o("en"),label:"english"}),r.createElement(Qc,{disabled:!t,on:"ja"===n,onClick:()=>o("ja"),label:"日本語"}),r.createElement(Qc,{onClick:a,label:"about"}))};var Sh=()=>{const{scale:e}=q();return r.createElement(P.a,{width:90*e+"px",height:1*e+"px",background:"darkAccent"})};var Mh=e=>{let{ready:t,enabled:n,paused:o,onPlayPauseClick:a,muted:i,onMuteClick:s,onFocusClick:l,onSkipBackwardClick:c,onSkipForwardClick:d,onRewindClick:h,onForwardClick:m}=e;const p="small"===(0,r.useContext)(u),{scale:f}=q();return r.createElement(P.a,{pad:{top:0*f+"px"},gap:f*(p?16:24)+"px"},r.createElement(P.a,{direction:"row",gap:f*(p?12:20)+"px"},r.createElement(Qc,{disabled:!n,label:"Pause",on:o,onClick:()=>a(!o)}),r.createElement(Qc,{label:"Mute",on:i,onClick:()=>s(!i)}),r.createElement(Qc,{disabled:!t,label:"Focus",onClick:l})),r.createElement(P.a,{direction:"row",gap:f*(p?12:20)+"px"},r.createElement(Qc,{disabled:!n,label:"Prev",onClick:c}),r.createElement(Qc,{disabled:!n,label:"Rewind",onClick:h}),r.createElement(Qc,{disabled:!n,label:"Forward",onClick:m}),r.createElement(Qc,{disabled:!n,label:"Next",onClick:d})))};var Th=()=>{const{scale:e}=q();return r.createElement(P.a,{direction:"row",width:208*e+"px",height:208*e+"px",wrap:!0,justify:"between"},Array(4).fill(null).map(((t,n)=>r.createElement(P.a,{key:n,direction:"row",width:96*e+"px",height:96*e+"px"},Array(4).fill(null).map(((e,t)=>r.createElement(P.a,{key:t,width:"25%",height:"100%"},Array(4).fill(null).map(((e,t)=>r.createElement(P.a,{key:t,width:"100%",height:"25%"},r.createElement(nc,{on:!1,color:"red"})))))))))))},Ih=n.p+"static/ICO_ON_Short_Revision-3f16cfdeb420ef3bb60bdf36f5720ea3.mp3",Bh=n.p+"static/CB1-add67b19651bb1e0ac0e3e3248ff1adb.mp3";var jh=(0,o.default)(yu)`
29  height: 100dvh;
30`;const Oh=.02;var Ph=e=>{let{data:t}=e;const{edges:n}=t.allChannelsJson,{0:o,1:a}=(0,r.useState)(0),{0:i,1:s}=(0,r.useState)(null),{0:l,1:c}=(0,r.useState)(-1),u=(0,r.useRef)(l),{0:d,1:h}=(0,r.useState)(0),{0:m,1:p}=(0,r.useState)(!1),{0:f,1:A}=(0,r.useState)(0),g=(0,r.useRef)(null),{0:v,1:y}=(0,r.useState)(!1),b=(0,r.useRef)(null),{0:E,1:w}=(0,r.useState)(!1),{0:x,1:k}=(0,r.useState)(!1),_=(0,r.useRef)(x),{0:C,1:S}=(0,r.useState)(!1),{0:M,1:T}=(0,r.useState)(0),I=(0,r.useRef)(M),{0:B,1:j}=(0,r.useState)(!1),{0:z,1:R}=(0,r.useState)(!1),{0:N,1:F}=(0,r.useState)(!1),{0:V,1:Q}=(0,r.useState)(!1),{0:Y,1:U}=(0,r.useState)(0),W=(0,r.useRef)(null),G=()=>{U((e=>e+.03))},X=()=>{U((e=>e+.02))},q=e=>{a(e)},J=e=>{let t=-1;const r=n.filter((e=>{let{node:t}=e;return t.language===i||"all"===t.language}));if(-1!==l){const o=n[l],a=r.indexOf(o);let i="forward"===e?a+1:a-1;if(i<0||r.length<=i)return;t=n.indexOf(r[i])}else{const a="forward"===e?r.find((e=>{let{node:t}=e;return o<Number(t.position)})):r.findLast((e=>{let{node:t}=e;return Number(t.position)<o}));if(!a)return;t=n.indexOf(a)}const{node:s}=n[t];a(Number(s.position))},K=()=>{E&&window.location.reload(!1),w(!E),a(0)},ee=e=>{s(e),a(0)},te=e=>{k(e)};(0,r.useEffect)((()=>{_.current=x}),[x]);const ne=e=>{S(e)},re=()=>{if(-1!==l){const{node:e}=n[l],t=e.tracks[d];if(t.player&&"unloaded"!==t.player.state()){if(t.player.seek()<3&&0<d){const t=d-1,n=e.tracks[t];h(t),A(n.elapsedTime)}else t.player.once("seek",(()=>{const e=t.player.seek();A(e),t.elapsedTime=e})),t.player.seek(0)}}},oe=()=>{if(-1!==l){const{node:e}=n[l];let t=d+1;e.tracks.length<=t&&(t=0);const r=e.tracks[t];h(t),A(r.elapsedTime)}},ae=()=>{if(-1!==l){const{node:e}=n[l],t=e.tracks[d];let r=t.player.seek()-15;r<0&&(r=0),t.player.once("seek",(()=>{const e=t.player.seek();A(e),t.elapsedTime=e})),t.player.seek(r)}},ie=()=>{if(-1!==l){const{node:e}=n[l],t=e.tracks[d];let r=t.player.seek()+15;const o=t.player.duration()-.5;o<r&&(r=o),t.player.once("seek",(()=>{const e=t.player.seek();A(e),t.elapsedTime=e})),t.player.seek(r)}},se=()=>{const{node:e}=n.find((e=>{let{node:t}=e;return"focus"===t.title.toLowerCase()}));e&&a(e.position)},le=()=>{V?F(!0):(j(!0),setTimeout((()=>{j(!1)}),5e3))};(0,r.useEffect)((()=>
30(W.current=new(D()),g.current=new L.Howl({src:Ih,onload:()=>{y(!0)}}),b.current=new L.Howl({src:Bh,loop:!0,volume:.2}),()=>{g.current.unload()})),[]),(0,r.useEffect)((()=>{w(!1),a(0)}),[V]),(0,r.useEffect)((()=>(n.forEach((e=>{let{node:t}=e;t.currentTrackIndex=0,t.tracks.forEach((e=>{e.elapsedTime=0,e.player&&(e.player.unload(),e.player=null)}))})),()=>{n.forEach((e=>{let{node:t}=e;t.tracks.forEach((e=>{e.player&&(e.player.unload(),e.player=null)}))}))})),[n]),(0,r.useEffect)((()=>{E?(g.current.play(),W.current.enable()):W.current.disable()}),[E]),(0,r.useEffect)((()=>{null!==i&&(R(!0),setTimeout((()=>{R(!1)}),5e3),b.current.play())}),[i]),(0,r.useEffect)((()=>{k(!1)}),[o]),(0,r.useEffect)((()=>{L.Howler.mute(C)}),[C]),(0,r.useEffect)((()=>{let e=-1,t=1/0,r=0;if(n.forEach(((n,a)=>{let{node:s}=n;if(s.language===i||"all"===s.language){const n=Number(s.position),i=Math.abs(n-o);if(t=Math.min(t,i),i<.04)if(e=a,i<Oh)r=1;else{r=1-(i-Oh)/.02}}})),c(e),T(r),-1!==e){const{node:t}=n[e];h(t.currentTrackIndex);const r=t.tracks[t.currentTrackIndex];A(r.elapsedTime)}else h(-1),A(0)}),[n,i,o]),(0,r.useEffect)((()=>{u.current=l}),[l]),(0,r.useEffect)((()=>{I.current=M,b.current.volume(.2*Math.pow(1-M,2))}),[M]),(0,r.useEffect)((()=>{n.forEach(((e,t)=>{let{node:n}=e;n.tracks.forEach(((e,r,o)=>{t===l&&r===d?e.player&&"unloaded"!==e.player.state()?"loading"!==e.player.state()&&(x||e.player.playing()?x&&e.player.playing()?(e.player.once("pause",(()=>{e.elapsedTime=e.player.seek(),A(e.elapsedTime)})),e.player.pause()):M!==e.player.volume()&&e.player.volume(M):(e.player.seek(e.elapsedTime),e.player.play())):(e.loading=!0,p(!0),e.player=new L.Howl({src:e.file.publicURL,html5:!0,volume:M,loop:1===o.length,onload:()=>{e.duration=e.player.duration(),e.loading=!1,p(!1),l===u.current&&!1===_.current&&(e.player.volume(I.current),e.player.seek(e.elapsedTime),e.player.play(),e.timer=setInterval((()=>{e.elapsedTime=e.player.seek(),A(e.elapsedTime)}),1e3))},onend:()=>{if(e.elapsedTime=0,1===o.length)A(0);else{e.player.unload(),e.player=null;const t=r+1<o.length?r+1:0;h(t),A(n.tracks[t].elapsedTime)}}})):(e.player&&"unloaded"!==e.player.state()&&("loaded"===e.player.state()&&(e.elapsedTime=e.player.seek()),e.player.off("load"),e.player.off("end"),e.player.unload()),e.timer&&(clearInterval(e.timer),e.timer=0))})),t===l&&(n.currentTrackIndex=d)}))}),[n,l,d,x,M]);const{node:ce}=l<0?{node:null}:n[l],ue=ce?ce.tracks[d]:null,de=i&&-1!==l&&!m;return r.createElement(O,{theme:H,themeMode:"light",full:!0},r.createElement($,{setMobile:Q},r.createElement(ql,{preloadProgress:Y},r.createElement(Z,null,r.createElement(fh,{onLoad:()=>{U((e=>e+.8))}},V?r.createElement(r.Fragment,null,r.createElement(Jl,{height:32}),r.createElement(P.a,{direction:"row",align:"end"},r.createElement(Jl,{width:18}),r.createElement(Yc,{disabled:!v,on:E,onButtonClick:K}),r.createElement(Jl,{width:12}),r.createElement(Ch,{powerOn:E,language:i,onLanguageClick:ee,onAboutClick:le})),r.createElement(Jl,{height:16}),r.createElement(P.a,{fill:"horizontal",align:"center"},r.createElement(_h,{on:E,language:i,paused:x,channel:ce,track:ue,trackElapsedTime:f,trackLoading:m,onLoad:G})),r.createElement(Jl,{height:12}),r.createElement(P.a,{fill:"horizontal",align:"center"},r.createElement($c,{disabled:!i,value:o,onPositionChange:q,onRightButtonClick:()=>J("forward"),onLeftButtonClick:()=>J("backward"),ready:E&&i,channel:ce,loading:m,channels:n.filter((e=>{let{node:t}=e;return t.language===(i||"en")||"all"===t.language})).map((e=>{let{node:t}=e;return t})),onLoad:X})),r.createElement(Jl,{height:12}),r.createElement(P.a,{fill:"horizontal",align:"center"},r.createElement(Mh,{ready:E&&null!==i,enabled:de,paused:x,onPlayPauseClick:te,muted:C,onMuteClick:ne,onFocusClick:se,onSkipBackwardClick:re,onSkipForwardClick:oe,onRewindClick:ae,onForwardClick:ie})),N&&r.createElement(jh,{onEsc:()=>F(!1),onClickOutside:()=>F(!1),animation:"fadeIn",position:"top"},r.createElement(ch,{language:i,onCloseClick:()=>{F(!1)}}))):r.createElement(r.Fragment,null,r.createElement(Jl,{height:47}),r.createElement(P.a,{direction:"row"},r.createElement(Jl,{width:67,height:108}),r.createElement(Yc,{disabled:!v,on:E,onButtonClick:K}),r.createElement(Jl,{width:145}),r.createElement(_h,{on:E,language:i,paused:x,channel:ce,track:ue,trackElapsedTime:f,trackLoading:m,onLoad:G}),r.createElement(Jl,{width:43}),r.createElement(Ch,{powerOn:E,language:i,onLanguageClick:ee,onAboutClick:le})),r.createElement(Jl,{height:1}),r.createElement(P.a,{direction:"row",align:"center"},r.createElement(Jl,{width:67}),r.createElement(ph,{powerOn:E,languageSet:null!==i,channel:ce,loading:m,onLoad:()=>{U((e=>e+.1))}}),r.createElement(Jl,{width:44}),r.createElement($c,{disabled:!i,value:o,onPositionChange:q,onRightButtonClick:()=>J("forward"),onLeftButtonClick:()=>J("backward"),ready:E&&i,channel:ce,loading:m,channels:n.filter((e=>{let{node:t}=e;return t.language===(i||"en")||"all"===t.language})).map((e=>{let{node:t}=e;return t})),onLoad:X}),r.createElement(Sh,null),r.createElement(Wc,{disabled:!i,value:o,onChange:q})),r.createElement(P.a,{direction:"row",align:"center"},r.createElement(Jl,{width:67}),r.createElement(Mh,{ready:E&&null!==i,enabled:de,paused:x,onPlayPauseClick:te,muted:C,onMuteClick:ne,onFocusClick:se,onSkipBackwardClick:re,onSkipForwardClick:oe,onRewindClick:ae,onForwardClick:ie}),r.createElement(Jl,{width:12}),r.createElement(hh,{language:i,track:ue,elapsedTime:f,showAbout:B,showInstruction:z,onLoad:()=>{U((e=>e+.05))}}),r.createElement(Jl,{width:82}),r.createElement(Th,null))))))))};const Lh=()=>r.createElement(r.Fragment,null,r.createElement(Zc,null))},4897:function(e,t,n){"use strict";t.M=void 0;
30var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(6540)),o=n(5387),a=n(3020);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}(t.M=(0,r.forwardRef)((function(e,t){var n=(0,a.useScaleProps)(e);return r.default.createElement(o.StyledIcon,s({ref:t,viewBox:"0 0 24 24",a11yTitle:"Checkmark"},e),r.default.createElement("path",s({fill:"none",stroke:"#000",strokeWidth:"2",d:"m2 14 7 6L22 4"},n)))}))).displayName="Checkmark"},1947:function(e,t){"use strict";t.__esModule=!0,t.withinDropPortal=t.shouldKeepFocus=t.setFocusWithoutScroll=t.makeNodeUnfocusable=t.makeNodeFocusable=t.isNodeBeforeScroll=t.isNodeAfterScroll=t.isFocusable=t.getNewContainer=t.getFirstFocusableDescendant=t.findVisibleParent=t.findScrollParents=t.findScrollParent=t.findButtonParent=t.containsFocus=void 0;t.findScrollParent=function(e,t){var n;if(e){for(var r=e.parentNode;!n&&r&&r.getBoundingClientRect;){var o=r.getBoundingClientRect();t?o.width&&r.scrollWidth>o.width+10&&(n=r):o.height&&r.scrollHeight>o.height+10&&(n=r),r=r.parentNode}n?"body"===n.tagName.toLowerCase()&&(n=document):n=document}return n};var n=["html","body"],r=(t.findScrollParents=function(e,t){var r=[];if(e){for(var o=e.parentNode;o&&o.getBoundingClientRect;){var a=o.getBoundingClientRect();t?a.width&&o.scrollWidth>a.width+10&&r.push(o):a.height&&o.scrollHeight>a.height+10&&r.push(o),o=o.parentNode}r.length&&n.includes(r[0].tagName.toLowerCase())&&(r.length=0),r.push(document)}return r},t.containsFocus=function(e){for(var t=e.getRootNode().activeElement;t&&t!==e;)t=t.parentElement;return!!t},t.withinDropPortal=function(e,t){for(var n,r=null==e?void 0:e.getRootNode(),o=e;o&&o!==r;)o.hasAttribute("data-g-portal-id")?(n=o.getAttribute("data-g-portal-id"),o=r):o=o.parentElement;return void 0!==n&&-1===t.indexOf(parseInt(n,10))},t.isFocusable=function(e){var t=e.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t}),o=t.getFirstFocusableDescendant=function(e){for(var t=e.getElementsByTagName("*"),n=0;n<t.length;n+=1){var o=t[n];if(r(o))return o}},a=(t.shouldKeepFocus=function(e){var t=e.activeElement;return!!r(t)||!!o(t)},t.getNewContainer=function(e,t){void 0===e&&(e=document.body);var n=document.createElement("div");return"first"===t?e.prepend(n):e.appendChild(n),n},t.setFocusWithoutScroll=function(e){var t=window.scrollX,n=window.scrollY;e.focus(),window.scrollTo(t,n)},"tabindex"),i="data-g-tabindex",s=(t.makeNodeFocusable=function(e){if(!e.hasAttribute("aria-live")){e.removeAttribute("aria-hidden");var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return e.hasAttribute(i)})).forEach((function(e){var t=e.getAttribute(i);t>=0?e.setAttribute(a,e.getAttribute(i)):"none"===t&&e.removeAttribute(a),e.removeAttribute(i)}))}},/^(a|area|input|select|textarea|button|iframe)$/),l=(t.makeNodeUnfocusable=function(e){if(!e.hasAttribute("aria-live")){e.setAttribute("aria-hidden",!0);var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return null!==e.getAttribute(a)})).forEach((function(e){e.getAttribute(i)||e.setAttribute(i,e.getAttribute(a)),e.setAttribute(a,-1)})),Array.prototype.filter.call(t||[],(function(e){return e.tagName.toLowerCase().match(s)&&e.focus&&null===e.getAttribute(i)})).forEach((function(e){e.setAttribute(i,"none"),e.setAttribute(a,-1)}))}},t.findVisibleParent=function(e){if(e)return e.offsetParent?e:l(e.parentElement)||e}),c=(t.isNodeAfterScroll=function(e,t){var n=e.getBoundingClientRect().bottom,r=t.getBoundingClientRect?t.getBoundingClientRect():{height:0,top:0},o=r.height;return n>=r.top+o},t.isNodeBeforeScroll=function(e,t){return e.getBoundingClientRect().top<=(t.getBoundingClientRect?t.getBoundingClientRect():{top:0}).top},t.findButtonParent=function(e){return e&&"BUTTON"!==e.nodeName&&"A"!==e.nodeName?c(e.parentElement):e})},229:function(e,t,n){"use strict";t.__esModule=!0,t.PortalContext=void 0;
30var r,o=(r=n(6540))&&r.__esModule?r:{default:r};t.PortalContext=o.default.createContext([])},4070:function(e,t,n){"use strict";t.__esModule=!0,t.normalizeTiming=t.animationObjectStyle=t.animationEnding=t.animationBounds=void 0;var r=n(4472),o={xsmall:1.001,small:1.01,medium:1.1,large:1.5,xlarge:2},a={xsmall:1,small:5,medium:10,large:50,xlarge:200},i={xsmall:.1,small:1,medium:5,large:400,xlarge:1e3},s={xsmall:.001,small:.01,medium:.05,large:.1,xlarge:.5},l=t.animationBounds=function(e,t){if(void 0===t&&(t="medium"),"draw"===e)return["","stroke-dashoffset: 0"];if("fadeIn"===e)return["opacity: 0;","opacity: 1;"];if("fadeOut"===e)return["opacity: 1;","opacity: 0;"];if("jiggle"===e){var n=i[t];return["transform: rotate(-"+n+"deg);","transform: rotate("+n+"deg);"]}return"pulse"===e?["transform: scale(1);","transform: scale("+o[t]+")"]:"rotateRight"===e?["transform: rotate(0deg);","transform: rotate(359deg);"]:"rotateLeft"===e?["transform: rotate(0deg);","transform: rotate(-359deg);"]:"flipIn"===e?["transform: rotateY(90deg);","transform: rotateY(0);"]:"flipOut"===e?["transform: rotateY(0);","transform: rotateY(90deg);"]:"slideDown"===e?["transform: translateY(-"+a[t]+"%);","transform: none;"]:"slideLeft"===e?["transform: translateX("+a[t]+"%);","transform: none;"]:"slideRight"===e?["transform: translateX(-"+a[t]+"%);","transform: none;"]:"slideUp"===e?["transform: translateY("+a[t]+"%);","transform: none;"]:"zoomIn"===e?["transform: scale("+(1-s[t])+");","transform: none;"]:"zoomOut"===e?["transform: scale("+(1+s[t])+");","transform: none;"]:[]},c=t.normalizeTiming=function(e,t){return"number"==typeof e?e/1e3+"s":e||t},u=t.animationEnding=function(e){return"draw"===e?"linear forwards":"jiggle"===e||"pulse"===e?"alternate infinite":"rotateRight"===e||"rotateLeft"===e?"infinite linear":"forwards"};t.animationObjectStyle=function(e,t,n){var o=l(e.type,e.size),a=n&&n.animation||t.global.animation;if(o){var i=(0,r.css)(["from{",";}to{",";}"],o[0],o[1]);return(0,r.css)([""," "," "," ",""],(0,r.keyframes)(["",""],i),c(e.duration,c(a[e.type]?a[e.type].duration:e.duration,a.duration)),c(e.delay,"0s"),u(e.type))}return""}},8718:function(e,t,n){"use strict";
30t.__esModule=!0,t.selectedStyle=t.normalizeBackground=t.getHoverIndicatorStyle=t.backgroundStyle=t.backgroundIsDark=t.backgroundAndTextColors=t.activeStyle=void 0;var r=n(4472),o=n(2346),a=t.normalizeBackground=function(e,t){var n,r=(null==(n=t.global.backgrounds)?void 0:n[e])||e,o=r;return r&&(t.dark&&r.dark&&"boolean"!=typeof r.dark?o=r.dark:!t.dark&&r.light&&"boolean"!=typeof r.light&&(o=r.light),o=function(e,t){return e&&Array.isArray(e)&&"function"==typeof e[0]?e[0]({theme:t}):e}(o,t)),o},i=function(e,t){var n,r=e.color||e;return(0,o.normalizeColor)((null==(n=t.global.backgrounds)?void 0:n[r])||r,t,e.dark)},s=function(e,t){var n;if(e.image){var r,o;n=a(e.dark?null==(r=t.global.backgrounds)||null==(r=r[e.image])?void 0:r.dark:null==(o=t.global.backgrounds)?void 0:o[e.image],t)||e.image}else{var i,l=a(null==(i=t.global.backgrounds)?void 0:i[e],t);n="object"==typeof l?s(l,t):l}return n},l=(t.backgroundIsDark=function(e,t){var n,r=a(e,t);if(r)if("object"==typeof r){var i=r.color,s=r.dark,l=r.opacity;if("boolean"==typeof s)n=s;else if(i&&(!l||"weak"!==l)){var c=(0,o.normalizeColor)(r.color,t);c&&(n=(0,o.colorIsDark)(c))}}else{var u=(0,o.normalizeColor)(r,t);u&&(n=(0,o.colorIsDark)(u))}return n},function(e){var t=(0,o.colorIsDark)(e);if(void 0!==t)return t?"dark":"light"}),c=t.backgroundAndTextColors=function(e,t,n){if(!e)return[void 0,t];var r,s,c=n.global,u=a(e,n),d=t||c.colors.text;if("object"==typeof u){if(!1===u.dark?s=d.light||d:u.dark&&(s=d.dark||d),u.color){var h=i(u,n),m=!0===u.opacity?c.opacity.medium:c.opacity[u.opacity]||u.opacity;if(r=(0,o.getRGBA)(h,m)||h,!s&&(void 0===m||m>.3)){var p=l(r);s=(0,o.normalizeColor)(p&&d[p]||d,n)}}}else{r=i(u,n);var f,A=l(r);if(r&&(0,o.canExtractRGBArray)(r))(0,o.getRGBArray)(r)[3]<.5&&(f=!0);A?s=(0,o.normalizeColor)(d[A]||d,n,"dark"===A):f&&d?s=(0,o.normalizeColor)(d,n):("transparent"!==r&&(r=void 0),d&&(s=(0,o.normalizeColor)(d,n)))}return!1===t&&(s=void 0),[r,s]},u=t.backgroundStyle=function(e,t,n){if(void 0!==e){var i=a(e,t),l=c(i,n,t),u=l[0],d=l[1],h=i.rotate?function(e,t){var n=s(e,t),r=n;0===n.lastIndexOf("linear-gradient",0)?r=n.lastIndexOf("deg,")>=0?n.replace(/\d{1,}deg\b,/gm,e.rotate+"deg,"):n.replace("linear-gradient(","linear-gradient("+e.rotate+"deg, "):console.warn("'background.rotate' property only supports 'background.image' containing a linear-gradient string.");return r}(i,t):s(i,t),m="";if(i.clip&&(m="text"===i.clip?"-webkit-text-fill-color: transparent; \n           -webkit-background-clip: text; \n           background-clip: text;":"background-clip: "+i.clip+";"),"string"==typeof i&&0===i.lastIndexOf("url",0))return(0,r.css)(["background:"," no-repeat center center;background-size:cover;"],i);if(h){var p="\n      "+(u?"background-color: "+u+";":"")+"\n      background-image: "+h+";\n      background-repeat: "+("object"==typeof i&&i.repeat||"no-repeat")+";\n      background-position: "+(i.position||"center center")+";\n      background-size: "+(i.size||"cover")+";\n      "+m+"\n    ";return(0,r.css)([""," ",""],d?"color: "+d+";":"",i.opacity?"position: relative;\n        z-index: 0;\n        &:before {\n          content: '';\n          position: absolute;\n          top: 0;\n          right: 0;\n          left: 0;\n          bottom: 0;\n          z-index: -1;\n          border-radius: inherit;\n          "+p+"\n          opacity: "+(!0===i.opacity?t.global.opacity.medium:t.global.opacity[i.opacity]||i.opacity)+";\n        }":p)}return u?(0,r.css)(["background-color:",";",""],u,d?"color: "+d+";":""):"string"==typeof i?(0,r.css)(["background:",";"],(0,o.normalizeColor)(i,t)):void 0}};t.activeStyle=(0,r.css)(["",""],(function(e){return u((0,o.normalizeColor)(e.theme.global.active.background,e.theme),e.theme,e.theme.global.active.color)})),t.selectedStyle=(0,r.css)(["",""],(function(e){return u((0,o.normalizeColor)(e.theme.global.selected.background,e.theme),e.theme,e.theme.global.selected.color)})),t.getHoverIndicatorStyle=function(e,t){var n,o;return!0===e||"background"===e?n=t.global.hover.background:"object"==typeof e&&(e.elevation||e.background)?(o=e.elevation,n=e.background):n=e,(0,r.css)([""," ",""],u(n,t,t.global.hover.color),o&&"box-shadow: "+t.global.elevation[t.dark?"dark":"light"][o]+";")}},3124:function(e,t,n){"use strict";t.__esModule=!0,t.responsiveBorderStyle=t.borderStyle=void 0;var r=n(4472),o=n(2346),a=n(6736),i=t.responsiveBorderStyle=function(e,t){var n=(0,o.normalizeColor)(e.color||"border",t),r=e.size||"xsmall",a=e.style||"solid",
30i="string"==typeof e?e:e.side||"all",s=t.box.responsiveBreakpoint&&t.global.breakpoints[t.box.responsiveBreakpoint];s.borderSize||(s.borderSize=t.global.borderSize);var l=s&&(s.borderSize[r]||r)&&a+" "+(s.borderSize[r]||r)+" "+n;if(l){if("top"===i||"bottom"===i||"left"===i||"right"===i)return"border-"+i+": "+l+";";if("end"===i||"start"===i)return"border-inline-"+i+": "+l+";";if("vertical"===i)return"\n      border-left: "+l+";\n      border-right: "+l+";\n    ";if("horizontal"===i)return"\n      border-top: "+l+";\n      border-bottom: "+l+";\n    ";if("between"!==i)return"border: "+l+";"}};t.borderStyle=function(e,t,n){var s=[];return(Array.isArray(e)?e:[e]).forEach((function(e){var l=[],c=(0,o.normalizeColor)(e.color||"border",n),u=e.size||"xsmall",d=e.style||"solid",h="string"==typeof e?e:e.side||"all",m=d+" "+(n.global.borderSize[u]||u)+" "+c,p=t&&i(e,n),f=p&&n.box.responsiveBreakpoint&&n.global.breakpoints[n.box.responsiveBreakpoint];"top"===h||"bottom"===h||"left"===h||"right"===h?(l.push("border-"+h+": "+m+";"),p&&l.push((0,a.breakpointStyle)(f,p))):"end"===h||"start"===h?(l.push((0,r.css)(["border-inline-",":",";"],h,m)),p&&l.push((0,a.breakpointStyle)(f,p))):"vertical"===h?(l.push((0,r.css)(["border-left:",";border-right:",";"],m,m)),p&&l.push((0,a.breakpointStyle)(f,p))):"horizontal"===h?(l.push((0,r.css)(["border-top:",";border-bottom:",";"],m,m)),p&&l.push((0,a.breakpointStyle)(f,p))):"between"===h||(l.push((0,r.css)(["border:",";"],m)),p&&l.push((0,a.breakpointStyle)(f,p))),s.push(l)})),s}},2346:function(e,t){"use strict";t.__esModule=!0,t.normalizeColor=t.getRGBArray=t.getRGBA=t.colorIsDark=t.canExtractRGBArray=void 0;var n=t.normalizeColor=function(e,t,r){var o=t.global&&void 0!==t.global.colors[e]?t.global.colors[e]:e,a=o;return o&&((!0===r||void 0===r&&t.dark)&&void 0!==o.dark?a=o.dark:!1!==r&&t.dark||void 0===o.light||(a=o.light)),a&&t.global&&void 0!==t.global.colors[a]&&(a=n(a,t,r)),a},r=/^#[A-Za-z0-9]{3,4}$|^#[A-Za-z0-9]{6,8}$/,o=/^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?\)/,a=/^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([.0-9]*)\s?\)/,i=/^hsla?\(\s?([0-9]*)\s?,\s?([0-9]*)%?\s?,\s?([0-9]*)%?\s?.*?\)/,s=t.canExtractRGBArray=function(e){return r.test(e)||o.test(e)||a.test(e)||i.test(e)},l=t.getRGBArray=function(e){if(r.test(e)){var t=function(e){return e.length<7?e.match(/[A-Za-z0-9]{1}/g).map((function(e){return parseInt(""+e+e,16)})):e.match(/[A-Za-z0-9]{2}/g).map((function(e){return parseInt(e,16)}))}(e),n=t[0],s=t[1],l=t[2],c=t[3];return[n,s,l,void 0!==c?c/255:void 0]}var u=e.match(o);if(u)return u.splice(1).map((function(e){return parseInt(e,10)}));if(u=e.match(a))return u.splice(1).map((function(e){return parseFloat(e,10)}));if(u=e.match(i)){var d=u.splice(1).map((function(e){return parseInt(e,10)}));return function(e,t,n){var r,o,a;if(0===t||"0"===t)r=n,o=n,a=n;else{var i=function(e,t,n){var r=n;return r<0&&(r+=1),r>1&&(r-=1),r<.16666667?e+6*(t-e)*r:r<.5?t:r<.66666667?e+(t-e)*(.66666667-r)*6:e},s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=i(l,s,e+.33333333),o=i(l,s,e),a=i(l,s,e-.33333333)}return[Math.round(255*r),Math.round(255*o),Math.round(255*a)]}(d[0]/360,d[1]/100,d[2]/100)}return e};t.colorIsDark=function(e){if(e&&s(e)){var t=l(e),n=t[0],r=t[1],o=t[2];if(t[3]<.5)return;return(299*n+587*r+114*o)/1e3<125}},t.getRGBA=function(e,t){if(e&&s(e)){var n=l(e),r=n[0],o=n[1],a=n[2],i=n[3];return"rgba("+r+", "+o+", "+a+", "+(void 0!==t?t:void 0!==i?i:1)+")"}}},849:function(e,t){"use strict";t.__esModule=!0,t.setHoursWithOffset=void 0;t.setHoursWithOffset=function(e){var t=new Date(e);if(-1===(null==e?void 0:e.indexOf("T"))){var n=t.getTimezoneOffset(),r=t.getHours();t.setHours(r,n<0?-n:n)}return t}},2135:function(e,t){"use strict";t.__esModule=!0,t.translateEndAngle=t.polarToCartesian=t.baseUnit=t.arcCommands=void 0;var n=10,r=(t.baseUnit=24,t.polarToCartesian=function(e,t,n,r){var o=(r-90)*Math.PI/180;return{x:e+n*Math.cos(o),y:t+n*Math.sin(o)}});t.arcCommands=function(e,t,o,a,i){var s=i;i>a&&i-a>=360&&(s=a+359.99);var l=r(e,t,o,s),c=r(e,t,o,a),u=s-a<=180?"0":"1";return["M",l.x.toFixed(n),l.y.toFixed(n),"A",o.toFixed(n),o.toFixed(n),0,u,0,c.x.toFixed(n),c.y.toFixed(n)].join(" ")},t.translateEndAngle=function(e,t,n){return Math.max(0,e+t*n)%360}},8055:function(e,t,n){"use strict";t.__esModule=!0,t.useSizedIcon=void 0;var r=n(6540);t.useSizedIcon=function(e,t,n){var o;return e&&null!=n&&null!=(o=n.icon)&&o.matchSize&&!e.props.size?(0,r.cloneElement)(e,{size:t}):e}},7240:function(e,t,n){"use strict";t.__esModule=!0;var r=n(4070);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))}));var o=n(6736);
30Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||(t[e]=o[e]))}));var a=n(8718);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||(t[e]=a[e]))}));var i=n(3124);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||(t[e]=i[e]))}));var s=n(2346);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||(t[e]=s[e]))}));var l=n(849);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||(t[e]=l[e]))}));var c=n(1947);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||(t[e]=c[e]))}));var u=n(2135);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||(t[e]=u[e]))}));var d=n(8055);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||(t[e]=d[e]))}));var h=n(7020);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||(t[e]=h[e]))}));var m=n(8733);Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===m[e]||(t[e]=m[e]))}));var p=n(4722);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||(t[e]=p[e]))}));var f=n(229);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||(t[e]=f[e]))}));var A=n(1815);Object.keys(A).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===A[e]||(t[e]=A[e]))}));var g=n(1664);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===g[e]||(t[e]=g[e]))}));var v=n(5584);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===v[e]||(t[e]=v[e]))}));var y=n(3149);Object.keys(y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===y[e]||(t[e]=y[e]))}));var b=n(9114);Object.keys(b).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===b[e]||(t[e]=b[e]))}))},6736:function(e,t,n){"use strict";t.__esModule=!0,t.parseMetricToNum=t.getAvailableAtBadge=t.fontSize=t.findAllByType=t.edgeToNum=t.breakpointStyle=void 0;var r=n(4472),o=t.parseMetricToNum=function(e){return"number"==typeof e?e:(e.match(/\s/),parseFloat(e.match(/\d+(\.\d+)?/),10))},a=(t.edgeToNum=function(e,t){return e?o(t.global.edgeSize[e]||e):0},t.fontSize=function(e,t){return(0,r.css)(["font-size:",";line-height:",";"],(function(t){return o(e)/o(t.theme.global.font.size)*1+"rem"}),(function(n){return t||Math.ceil(o(e)/o(n.theme.global.lineHeight))*(o(n.theme.global.lineHeight)/o(e))+"px"}))},t.breakpointStyle=function(e,t){return(0,r.css)(["@media only screen ","{",";}"],e.value&&"and (max-width: "+e.value+"px)",t)},t.findAllByType=function(e,t){var n=[];return e.type===t&&n.push(e),e.children&&e.children.forEach((function(e){n=n.concat(a(e,t))})),n});t.getAvailableAtBadge=function(e,t){return[{url:"https://storybook.grommet.io/?selectedKind="+t+"-"+e+"&full=0&stories=1&panelRight=0",badge:"https://cdn-images-1.medium.com/fit/c/120/120/1*TD1P0HtIH9zF0UEH28zYtw.png",label:"Storybook"},{url:"https://codesandbox.io/s/github/grommet/grommet-sandbox?initialpath=/"+e.toLowerCase()+"&module=%2Fsrc%2F"+e+".js",badge:"https://codesandbox.io/static/img/play-codesandbox.svg",label:"CodeSandbox"}]}},8733:function(e,t){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(null,arguments)}t.__esModule=!0,t.removeUndefined=t.isObject=t.deepMerge=t.deepFreeze=void 0;var r=t.isObject=function(e){return e&&"object"==typeof e&&!Array.isArray(e)},o=(t.deepFreeze=function(e){return Object.keys(e).forEach((function(t){return t&&r(e[t])&&Object.freeze(e[t])})),Object.freeze(e)},t.deepMerge=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];if(!a.length)return e;var s=n({},e);return a.forEach((function(e){r(e)&&Object.keys(e).forEach((function(t){r(e[t])?s[t]?s[t]=o(s[t],e[t]):s[t]=n({},e[t]):s[t]=e[t]}))}
30)),s});t.removeUndefined=function(e){var t={};return Object.keys(e).forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t}},4722:function(e,t,n){"use strict";t.__esModule=!0,t.usePagination=t.normalizeShow=void 0;var r=n(6540),o=["data","page","step"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}t.normalizeShow=function(e,t){var n;return"number"==typeof e?n=Math.ceil((e+1)/t):"object"==typeof e&&"page"in e&&(n=e.page),n},t.usePagination=function(e){var t=e.data,n=e.page,i=e.step,s=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,o),l=t?Math.ceil(t.length/i):0,c=(0,r.useState)(Math.min(n,l)||1),u=c[0],d=c[1];u>l&&(null==t?void 0:t.length)>0&&d(Math.max(l,1));var h=i*(u-1),m=h+i;return[(0,r.useMemo)((function(){return Array.isArray(t)?t.slice(h,m):[]}),[t,h,m]),a({numberItems:t&&t.length,onChange:function(e){return d(e.page)},page:u,step:i},s)]}},1815:function(e,t,n){"use strict";t.__esModule=!0,t.readOnlyStyle=void 0;var r=n(4472),o=n(8718),a=n(2346);t.readOnlyStyle=function(e){var t,n,i,s=[];return null!=e&&null!=(t=e.global.input.readOnly)&&null!=(t=t.border)&&t.color&&s.push((0,r.css)(["border-color:",";"],(0,a.normalizeColor)(e.global.input.readOnly.border.color,e))),null!=e&&null!=(n=e.global.input.readOnly)&&n.background&&s.push((0,o.backgroundStyle)(null==(i=e.global.input.readOnly)?void 0:i.background,e)),s}},1664:function(e,t,n){"use strict";t.__esModule=!0,t.useForwardedRef=void 0;var r=n(6540);t.useForwardedRef=function(e){var t=(0,r.useRef)(null);return(0,r.useImperativeHandle)(e,(function(){return t.current}),[t]),t}},5584:function(e,t){"use strict";
30t.__esModule=!0,t.isSmall=t.getDeviceBreakpoint=t.getBreakpointStyle=t.getBreakpoint=void 0;t.getBreakpoint=function(e,t){var n=Object.keys(t.global.breakpoints).sort((function(e,n){var r=t.global.breakpoints[e],o=t.global.breakpoints[n];return r?o?r.value?o.value?r.value-o.value:-1:1:-1:1})),r=n[n.length-1];return n.find((function(n){var r=t.global.breakpoints[n];return(!r.value||r.value>=e)&&n}))||r},t.getDeviceBreakpoint=function(e,t){return t.global.deviceBreakpoints[e]},t.getBreakpointStyle=function(e,t){var n=t&&e.global.breakpoints[t]||{};return n.edgeSize||(n.edgeSize=e.global.edgeSize),n.borderSize||(n.borderSize=e.global.borderSize),n.size||(n.size=e.global.size),n},t.isSmall=function(e){return["xsmall","small"].includes(e)}},7020:function(e,t,n){"use strict";t.__esModule=!0,t.widthStyle=t.unfocusStyle=t.textAlignStyle=t.styledComponentsConfig=t.sizeStyle=t.roundStyle=t.plainInputStyle=t.overflowStyle=t.kindPartStyles=t.inputStyle=t.inputPadForIcon=t.heightStyle=t.getInputPadBySide=t.genericStyles=t.focusStyle=t.fillStyle=t.elevationStyle=t.edgeStyle=t.disabledStyle=t.controlBorderStyle=t.baseStyle=t.alignStyle=t.alignContentStyle=void 0;var r,o=n(4472),a=(r=n(3555))&&r.__esModule?r:{default:r},i=n(8718),s=n(2346),l=n(5584),c=n(6736);t.styledComponentsConfig={shouldForwardProp:a.default},t.baseStyle=(0,o.css)(["font-family:",";font-size:",";line-height:",";font-weight:",";"," "," box-sizing:border-box;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;"],(function(e){return e.theme.global.font.family}),(function(e){return e.theme.global.font.size}),(function(e){return e.theme.global.font.height}),(function(e){return e.theme.global.font.weight}),(function(e){return e.theme.global.font.variant&&"\n    font-variant:"+e.theme.global.font.variant+";\n  "}),(function(e){return!e.plain&&(0,i.backgroundStyle)(e.theme.baseBackground,e.theme)}));var u=t.controlBorderStyle=(0,o.css)(["border:"," solid ",";border-radius:",";"],(function(e){return e.theme.global.control.border.width}),(function(e){return(0,s.normalizeColor)(e.theme.global.control.border.color||"border",e.theme)}),(function(e){return e.theme.global.control.border.radius})),d=t.edgeStyle=function(e,t,n,r,a){var i=r&&a.global.breakpoints[r];if("string"==typeof t)return(0,o.css)(["",":",";",";"],e,a.global.edgeSize[t]||t,n&&i?(0,c.breakpointStyle)(i,"\n        "+e+": "+(i.edgeSize[t]||t)+";\n      "):"");var s=[],l=t.horizontal,u=t.vertical,d=t.top,h=t.bottom,m=t.left,p=t.right,f=l&&u&&l===u;if(f||d&&h&&m&&p&&d===h===m===p){var A=f?l:d;return(0,o.css)(["",":",";",";"],e,a.global.edgeSize[A]||A,n&&i?(0,c.breakpointStyle)(i,"\n        "+e+": "+(i.edgeSize[A]||A)+";\n      "):"")}return l&&s.push((0,o.css)(["","-left:",";","-right:",";",";"],e,a.global.edgeSize[l]||l,e,a.global.edgeSize[l]||l,n&&i?(0,c.breakpointStyle)(i,"\n          "+e+"-left: "+(i.edgeSize[l]||l)+";\n          "+e+"-right: "+(i.edgeSize[l]||l)+";\n        "):"")),u&&s.push((0,o.css)(["","-top:",";","-bottom:",";",";"],e,a.global.edgeSize[u]||u,e,a.global.edgeSize[u]||u,n&&i?(0,c.breakpointStyle)(i,"\n          "+e+"-top: "+(i.edgeSize[u]||u)+";\n          "+e+"-bottom: "+(i.edgeSize[u]||u)+";\n        "):"")),d&&s.push((0,o.css)(["","-top:",";",";"],e,a.global.edgeSize[d]||d,n&&i?(0,c.breakpointStyle)(i,"\n          "+e+"-top: "+(i.edgeSize[d]||d)+";\n        "):"")),h&&s.push((0,o.css)(["","-bottom:",";",";"],e,a.global.edgeSize[h]||h,n&&i?(0,c.breakpointStyle)(i,"\n          "+e+"-bottom: "+(i.edgeSize[h]||h)+";\n        "):"")),m&&s.push((0,o.css)(["","-left:",";",";"],e,a.global.edgeSize[m]||m,n&&i?(0,c.breakpointStyle)(i,"\n          "+e+"-left: "+(i.edgeSize[m]||m)+";\n        "):"")),p&&s.push((0,o.css)(["","-right:",";",";"],e,a.global.edgeSize[p]||p,n&&i?(0,c.breakpointStyle)(i,"\n          "+e+"-right: "+(i.edgeSize[p]||p)+";\n        "):"")),t.start&&s.push((0,o.css)(["","-inline-start:",";",";"],e,a.global.edgeSize[t.start]||t.start,n&&i?(0,c.breakpointStyle)(i,"\n          "+e+"-inline-start: "+(i.edgeSize[t.start]||t.start)+";\n        "):"")),t.end&&s.push((0,o.css)(["","-inline-end:",";",";"],e,a.global.edgeSize[t.end]||t.end,n&&i?(0,c.breakpointStyle)(i,"\n          "+e+"-inline-end: "+(i.edgeSize[t.end]||t.end)+";\n        "):"")),s},h=(t.fillStyle=function(e){return"horizontal"===e?"width: 100%;":"vertical"===e?"height: 100%;":e?"\n      width: 100%;\n      height: 100%;\n    ":void 0},function(e,t){var n=void 0===t?{}:t,r=n.forceOutline,o=n.justBorder,a=e.theme.global.focus;if(!a||r&&!a.outline){var i=(0,s.normalizeColor)("focus",e.theme);return i?"outline: 2px solid "+i+";":""}
30if(a.outline&&(!a.border||!o)){if("object"==typeof a.outline){var l=(0,s.normalizeColor)(a.outline.color||"focus",e.theme);return"\n        outline-offset: 0px;\n        outline: "+(a.outline.size||"2px")+" solid "+l+";\n      "}return"outline: "+a.outline+";"}if(a.shadow&&(!a.border||!o)){if("object"==typeof a.shadow){var c=(0,s.normalizeColor)(a.border&&a.border.color||a.shadow.color||"focus",e.theme),u=a.shadow.size||"2px";return"\n        outline: none;\n        box-shadow: 0 0 "+u+" "+u+" "+c+";\n      "}return"\n      outline: none;\n      box-shadow: "+a.shadow+";\n    "}return a.border?"\n      outline: none;\n      border-color: "+(0,s.normalizeColor)(a.border.color||"focus",e.theme)+";\n    ":""}),m=function(e,t){var n=void 0===t?{}:t,r=n.forceOutline,o=n.justBorder,a=e.theme.global.focus;return!a||r&&!a.outline?(0,s.normalizeColor)("focus",e.theme)?"outline: none;":"":!a.outline||a.border&&o?!a.shadow||a.border&&o?a.border?"\n      outline: none;\n      border-color: none;\n    ":"":"object"==typeof a.shadow?"\n        outline: none;\n        box-shadow: none;\n      ":"\n      outline: none;\n      box-shadow: none;\n    ":"object"==typeof a.outline?"\n        outline-offset: 0px;\n        outline: none;\n      ":"outline: none;"},p=t.focusStyle=function(e){var t=void 0===e?{}:e,n=t.forceOutline,r=t.justBorder,a=t.skipSvgChildren;return(0,o.css)([""," "," ",""],(function(e){return!a&&"\n  > circle,\n  > ellipse,\n  > line,\n  > path,\n  > polygon,\n  > polyline,\n  > rect {\n    "+h(e)+"\n  }"}),(function(e){return h(e,{forceOutline:n,justBorder:r})}),!n&&"\n  ::-moz-focus-inner {\n    border: 0;\n  }\n  ")},f=(t.unfocusStyle=function(e){var t=void 0===e?{}:e,n=t.forceOutline,r=t.justBorder,a=t.skipSvgChildren;return(0,o.css)([""," "," ",""],(function(e){return!a&&"\n  > circle,\n  > ellipse,\n  > line,\n  > path,\n  > polygon,\n  > polyline,\n  > rect {\n    "+m(e)+"\n  }"}),(function(e){return m(e,{forceOutline:n,justBorder:r})}),!n&&"\n  ::-moz-focus-inner {\n    border: 0;\n  }\n  ")},function(e,t){return(0,c.parseMetricToNum)((e.theme.global.edgeSize[t]||t)+"px")+(0,c.parseMetricToNum)(e.theme.global.control.border.width+"px")+"px"}),A=(t.getInputPadBySide=function(e,t){var n;if("object"!=typeof e.theme.global.input.padding)return f(e,e.theme.global.input.padding);n="left"===t||"right"===t?"horizontal":"top"===t||"bottom"===t?"vertical":void 0;var r=e.theme.global.input.padding[t]||e.theme.global.input.padding[n];return f(e,r)},(0,o.css)(["color:",";"],(function(e){return(0,s.normalizeColor)(e.theme.global.colors.placeholder,e.theme)}))),g=(0,o.css)(["&::-webkit-input-placeholder{",";}&::-moz-placeholder{",";}&:-ms-input-placeholder{",";}"],A,A,A),v=(t.inputStyle=(0,o.css)(["box-sizing:border-box;"," font-family:inherit;border:none;-webkit-appearance:none;background:transparent;color:inherit;width:100%;"," "," "," margin:0;"," &:focus{",";}"," "," ::-webkit-search-decoration{-webkit-appearance:none;}&::-moz-focus-inner{border:none;outline:none;}&:-moz-placeholder,&::-moz-placeholder{opacity:1;}",""],(function(e){var t;return"font-size: "+(e.theme.global.input.font.size?(null==(t=e.theme.text[e.theme.global.input.font.size])?void 0:t.size)||e.theme.global.input.font.size:"inherit")+";"}),(function(e){return e.theme.global.input.font.height&&"line-height: "+e.theme.global.input.font.height+";"}),(function(e){return e.theme.global.input.padding&&"object"!=typeof e.theme.global.input.padding?"padding: "+((0,c.parseMetricToNum)(e.theme.global.edgeSize[e.theme.global.input.padding]||e.theme.global.input.padding)-(0,c.parseMetricToNum)(e.theme.global.control.border.width))+"px;":d("padding",e.theme.global.input.padding,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return(e.theme.global.input.weight||e.theme.global.input.font.weight)&&(0,o.css)(["font-weight:",";"],e.theme.global.input.weight||e.theme.global.input.font.weight)}),(function(e){return e.size&&function(e){var t=e.theme.text[e.size];return t?(0,o.css)(["font-size:",";line-height:",";"],t.size,t.height):(0,o.css)(["font-size:",";"],e.size)}(e)}),(function(e){return(!e.plain||e.focusIndicator)&&p()}),u,g,(function(e){return e.theme.global.input.extend})),t.inputPadForIcon=(0,o.css)(["",""],(function(e){var t,n,r=null!=(t=e.theme)&&null!=(t=t.icon)&&t.matchSize?(0,c.parseMetricToNum)(null==(n=e.theme.icon)||null==(n=n.size)?void 0:n[(null==e?void 0:e.size)||"medium"])+(0,c.parseMetricToNum)(e.theme.global.edgeSize.medium)+"px":e.theme.global.edgeSize.large;return e.reverse?"padding-right: "+r+";":"padding-left: "+r+";"})),t.overflowStyle=function(e){return"string"==typeof e?(0,o.css)(["overflow:",";"],e):(0,o.css)([""," ",";"],e.horizontal&&"overflow-x: "+e.horizontal+";",e.vertical&&"overflow-y: "+e.vertical+";")},{center:"center",end:"flex-end",start:"flex-start",stretch:"stretch",baseline:"baseline"}),y=(t.genericStyles=(0,o.css)([""," "," ",""],(function(e){return e.alignSelf&&"align-self: "+v[e.alignSelf]+";"}),(function(e){return e.gridArea&&"grid-area: "+e.gridArea+";"}),(function(e){return e.margin&&e.theme.global&&d("margin",e.margin,e.responsive,e.theme.global.edgeSize.responsiveBreakpoint,e.theme)})),t.disabledStyle=function(e){return(0,o.css)(["opacity:",";cursor:default;"],(function(t){return e||t.theme.global.control.disabled.opacity}))},t.sizeStyle=function(e,t,n){return(0,o.css)(["",":",";"],e,n.global.size[t]||t)},t.plainInputStyle=(0,o.css)(["outline:none;border:none;"]),t.elevationStyle=function(e){return(0,o.css)(["box-shadow:",";"],(function(t){return t.theme.global.elevation[t.theme.dark?"dark":"light"][e]}))}),b=(t.kindPartStyles=function(e,t,n){var r=[];if(e.padding||e.pad){var a=e.padding||e.pad;a.vertical||a.horizontal?r.push("padding: "+(t.global.edgeSize[a.vertical]||a.vertical||0
30)+" "+(t.global.edgeSize[a.horizontal]||a.horizontal||0)+";"):r.push("padding: "+(t.global.edgeSize[a]||a||0)+";")}if(e.background?r.push((0,i.backgroundStyle)(n||e.background,t,e.color||(!Object.prototype.hasOwnProperty.call(e,"color")||void 0!==e.color)&&void 0)):e.color&&r.push("color: "+(0,s.normalizeColor)(e.color,t)+";"),e.border?(e.border.width&&r.push((0,o.css)(["border-style:solid;border-width:",";"],e.border.width)),e.border.color&&r.push((0,o.css)(["border-color:",";"],(0,s.normalizeColor)(!e.background&&n||e.border.color||"border",t))),e.border.radius&&r.push((0,o.css)(["border-radius:",";"],e.border.radius))):!1===e.border&&r.push("border: none;"),!n||e.border||e.background||r.push("color: "+(0,s.normalizeColor)(n,t)+";"),e.font&&(e.font.size&&r.push("font-size: "+(t.text[e.font.size].size||e.font.size)+";"),e.font.height&&r.push("line-height: "+e.font.height+";"),e.font.weight&&r.push("font-weight: "+e.font.weight+";")),e.opacity){var l=!0===e.opacity?t.global.opacity.medium:t.global.opacity[e.opacity]||e.opacity;r.push("opacity: "+l+";")}return e.elevation&&r.push(y(e.elevation)),e.extend&&r.push(e.extend),r},{full:"100%"}),E=(t.roundStyle=function(e,t,n){var r=(0,l.getBreakpointStyle)(n,n.box.responsiveBreakpoint),a=[];if("object"==typeof e){var i=b[e.size]||n.global.edgeSize[e.size||"medium"]||e.size,s=t&&r&&r.edgeSize[e.size]&&(r.edgeSize[e.size]||e.size);"top"===e.corner?(a.push((0,o.css)(["border-top-left-radius:",";border-top-right-radius:",";"],i,i)),s&&a.push((0,c.breakpointStyle)(r,"\n          border-top-left-radius: "+s+";\n          border-top-right-radius: "+s+";\n        "))):"bottom"===e.corner?(a.push((0,o.css)(["border-bottom-left-radius:",";border-bottom-right-radius:",";"],i,i)),s&&a.push((0,c.breakpointStyle)(r,"\n          border-bottom-left-radius: "+s+";\n          border-bottom-right-radius: "+s+";\n        "))):"left"===e.corner?(a.push((0,o.css)(["border-top-left-radius:",";border-bottom-left-radius:",";"],i,i)),s&&a.push((0,c.breakpointStyle)(r,"\n          border-top-left-radius: "+s+";\n          border-bottom-left-radius: "+s+";\n        "))):"right"===e.corner?(a.push((0,o.css)(["border-top-right-radius:",";border-bottom-right-radius:",";"],i,i)),s&&a.push((0,c.breakpointStyle)(r,"\n          border-top-right-radius: "+s+";\n          border-bottom-right-radius: "+s+";\n        "))):e.corner?(a.push((0,o.css)(["border-","-radius:",";"],e.corner,i)),s&&a.push((0,c.breakpointStyle)(r,"\n          border-"+e.corner+"-radius: "+s+";\n        "))):(a.push((0,o.css)(["border-radius:",";"],i)),s&&a.push((0,c.breakpointStyle)(r,"\n          border-radius: "+s+";\n        ")))}else{var u=!0===e?"medium":e;a.push((0,o.css)(["border-radius:",";"],b[u]||n.global.edgeSize[u]||u));var d=t&&r&&r.edgeSize[u];d&&a.push((0,c.breakpointStyle)(r,"\n        border-radius: "+d+";\n      "))}return a},{center:"center",end:"right",justify:"justify",start:"left"}),w=(t.textAlignStyle=(0,o.css)(["text-align:",";"],(function(e){return E[e.textAlign]})),{baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"}),x=(t.alignStyle=(0,o.css)(["align-items:",";"],(function(e){var t;return null!=(t=w[e.align])?t:e.align})),{around:"space-around",baseline:"baseline",between:"space-between",center:"center",evenly:"space-evenly",end:"flex-end",start:"flex-start",stretch:"stretch"}),k=(t.alignContentStyle=(0,o.css)(["align-content:",";"],(function(e){var t;return null!=(t=x[e.alignContent])?t:e.alignContent})),function(e,t){return e.global.size[t]||t});t.widthStyle=function(e,t){return"object"==typeof e?function(e,t){var n=[];return e.max&&n.push((0,o.css)(["max-width:",";"],k(t,e.max))),e.min&&n.push((0,o.css)(["min-width:",";"],k(t,e.min))),e.width&&n.push((0,o.css)(["width:",";"],k(t,e.width))),n}(e,t):function(e,t){return(0,o.css)(["width:",";"],k(t,e))}(e,t)},t.heightStyle=function(e,t){return"object"==typeof e?function(e,t){var n=[];return e.max&&n.push((0,o.css)(["max-height:",";"],k(t,e.max))),e.min&&n.push((0,o.css)(["min-height:",";
30"],k(t,e.min))),e.width&&n.push((0,o.css)(["height:",";"],k(t,e.height))),e.height&&n.push((0,o.css)(["height:",";"],k(t,e.height))),n}(e,t):function(e,t){return(0,o.css)(["height:",";"],k(t,e))}(e,t)}},3149:function(e,t,n){"use strict";t.__esModule=!0,t.useKeyboard=t.default=void 0;var r=n(6540),o=t.useKeyboard=function(){var e=(0,r.useState)(),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=function(){return n(!1)},t=function(){return n(!0)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),function(){document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}}),[]),t};t.default=o},9114:function(e,t,n){"use strict";t.__esModule=!0,t.useId=void 0;var r=n(6540),o=0,a=function(){return":r"+(o++).toString(32)+":"};t.useId=null!=r.useId?r.useId:function(){return(0,r.useState)(a)[0]}},4196:function(e,t,n){var r;!function(){"use strict";var o=function(){this.init()};o.prototype={init:function(){var e=this||a;return e._counter=1e3,e._html5AudioPool=[],e.html5PoolSize=10,e._codecs={},e._howls=[],e._muted=!1,e._volume=1,e._canPlayEvent="canplaythrough",e._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,e.masterGain=null,e.noAudio=!1,e.usingWebAudio=!0,e.autoSuspend=!0,e.ctx=null,e.autoUnlock=!0,e._setup(),e},volume:function(e){var t=this||a;if(e=parseFloat(e),t.ctx||m(),void 0!==e&&e>=0&&e<=1){if(t._volume=e,t._muted)return t;t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e,a.ctx.currentTime);for(var n=0;n<t._howls.length;n++)if(!t._howls[n]._webAudio)for(var r=t._howls[n]._getSoundIds(),o=0;o<r.length;o++){var i=t._howls[n]._soundById(r[o]);i&&i._node&&(i._node.volume=i._volume*e)}return t}return t._volume},mute:function(e){var t=this||a;t.ctx||m(),t._muted=e,t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e?0:t._volume,a.ctx.currentTime);for(var n=0;n<t._howls.length;n++)if(!t._howls[n]._webAudio)for(var r=t._howls[n]._getSoundIds(),o=0;o<r.length;o++){var i=t._howls[n]._soundById(r[o]);i&&i._node&&(i._node.muted=!!e||i._muted)}return t},stop:function(){for(var e=this||a,t=0;t<e._howls.length;t++)e._howls[t].stop();return e},unload:function(){for(var e=this||a,t=e._howls.length-1;t>=0;t--)e._howls[t].unload();return e.usingWebAudio&&e.ctx&&void 0!==e.ctx.close&&(e.ctx.close(),e.ctx=null,m()),e},codecs:function(e){return(this||a)._codecs[e.replace(/^x-/,"")]},_setup:function(){var e=this||a;if(e.state=e.ctx&&e.ctx.state||"suspended",e._autoSuspend(),!e.usingWebAudio)if("undefined"!=typeof Audio)try{void 0===(new Audio).oncanplaythrough&&(e._canPlayEvent="canplay")}catch(t){e.noAudio=!0}else e.noAudio=!0;try{(new Audio).muted&&(e.noAudio=!0)}catch(t){}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var e=this||a,t=null;try{t="undefined"!=typeof Audio?new Audio:null}catch(u){return e}if(!t||"function"!=typeof t.canPlayType)return e;var n=t.canPlayType("audio/mpeg;").replace(/^no$/,""),r=e._navigator?e._navigator.userAgent:"",o=r.match(/OPR\/(\d+)/g),i=o&&parseInt(o[0].split("/")[1],10)<33,s=-1!==r.indexOf("Safari")&&-1===r.indexOf("Chrome"),l=r.match(/Version\/(.*?) /),c=s&&l&&parseInt(l[1],10)<15;return e._codecs={mp3:!(i||!n&&!t.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!n,opus:!!t.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(t.canPlayType('audio/wav; codecs="1"')||t.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!t.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!t.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(t.canPlayType("audio/x-m4b;")||t.canPlayType("audio/m4b;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(t.canPlayType("audio/x-mp4;")||t.canPlayType("audio/mp4;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!(c||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(c||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!t.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(t.canPlayType("audio/x-flac;")||t.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||a;if(!e._audioUnlocked&&e.ctx){e._audioUnlocked=!1,e.autoUnlock=!1,e._mobileUnloaded||44100===e.ctx.sampleRate||(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function(n){for(;e._html5AudioPool.length<e.html5PoolSize;)try{var r=new Audio;r._unlocked=!0,e._releaseHtml5Audio(r)}catch(n){e.noAudio=!0;break}for(var o=0;o<e._howls.length;o++)if(!e._howls[o]._webAudio)for(var a=e._howls[o]._getSoundIds(),i=0;i<a.length;i++){var s=e._howls[o]._soundById(a[i]);s&&s._node&&!s._node._unlocked&&(s._node._unlocked=!0,s._node.load())}e._autoResume();var l=e.ctx.createBufferSource();l.buffer=e._scratchBuffer,l.connect(e.ctx.destination),void 0===l.start?l.noteOn(0):l.start(0),"function"==typeof e.ctx.resume&&e.ctx.resume(),l.onended=function(){l.disconnect(0),e._audioUnlocked=!0,document.removeEventListener("touchstart",t,!0),document.removeEventListener("touchend",t,!0),document.removeEventListener("click",t,!0),document.removeEventListener("keydown",t,!0);for(var n=0;n<e._howls.length;n++)e._howls[n]._emit("unlock")}};return document.addEventListener("touchstart",t,!0),document.addEventListener("touchend",t,!0),document.addEventListener("click",t,!0),document.addEventListener("keydown",t,!0),e}},_obtainHtml5Audio:function(){var e=this||a;if(e._html5AudioPool.length)return e._html5AudioPool.pop();var t=(new Audio).play();return t&&"undefined"!=typeof Promise&&(t instanceof Promise||"function"==typeof t.then)&&t.catch((function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")})),new Audio},_releaseHtml5Audio:function(e){var t=this||a;
vendor: 13,762 bytes, line 30
30return e._unlocked&&t._html5AudioPool.push(e),t},_autoSuspend:function(){var e=this;if(e.autoSuspend&&e.ctx&&void 0!==e.ctx.suspend&&a.usingWebAudio){for(var t=0;t<e._howls.length;t++)if(e._howls[t]._webAudio)for(var n=0;n<e._howls[t]._sounds.length;n++)if(!e._howls[t]._sounds[n]._paused)return e;return e._suspendTimer&&clearTimeout(e._suspendTimer),e._suspendTimer=setTimeout((function(){if(e.autoSuspend){e._suspendTimer=null,e.state="suspending";var t=function(){e.state="suspended",e._resumeAfterSuspend&&(delete e._resumeAfterSuspend,e._autoResume())};e.ctx.suspend().then(t,t)}}),3e4),e}},_autoResume:function(){var e=this;if(e.ctx&&void 0!==e.ctx.resume&&a.usingWebAudio)return"running"===e.state&&"interrupted"!==e.ctx.state&&e._suspendTimer?(clearTimeout(e._suspendTimer),e._suspendTimer=null):"suspended"===e.state||"running"===e.state&&"interrupted"===e.ctx.state?(e.ctx.resume().then((function(){e.state="running";for(var t=0;t<e._howls.length;t++)e._howls[t]._emit("resume")})),e._suspendTimer&&(clearTimeout(e._suspendTimer),e._suspendTimer=null)):"suspending"===e.state&&(e._resumeAfterSuspend=!0),e}};var a=new o,i=function(e){e.src&&0!==e.src.length?this.init(e):console.error("An array of source files must be passed with any new Howl.")};i.prototype={init:function(e){var t=this;return a.ctx||m(),t._autoplay=e.autoplay||!1,t._format="string"!=typeof e.format?e.format:[e.format],t._html5=e.html5||!1,t._muted=e.mute||!1,t._loop=e.loop||!1,t._pool=e.pool||5,t._preload="boolean"!=typeof e.preload&&"metadata"!==e.preload||e.preload,t._rate=e.rate||1,t._sprite=e.sprite||{},t._src="string"!=typeof e.src?e.src:[e.src],t._volume=void 0!==e.volume?e.volume:1,t._xhr={method:e.xhr&&e.xhr.method?e.xhr.method:"GET",headers:e.xhr&&e.xhr.headers?e.xhr.headers:null,withCredentials:!(!e.xhr||!e.xhr.withCredentials)&&e.xhr.withCredentials},t._duration=0,t._state="unloaded",t._sounds=[],t._endTimers={},t._queue=[],t._playLock=!1,t._onend=e.onend?[{fn:e.onend}]:[],t._onfade=e.onfade?[{fn:e.onfade}]:[],t._onload=e.onload?[{fn:e.onload}]:[],t._onloaderror=e.onloaderror?[{fn:e.onloaderror}]:[],t._onplayerror=e.onplayerror?[{fn:e.onplayerror}]:[],t._onpause=e.onpause?[{fn:e.onpause}]:[],t._onplay=e.onplay?[{fn:e.onplay}]:[],t._onstop=e.onstop?[{fn:e.onstop}]:[],t._onmute=e.onmute?[{fn:e.onmute}]:[],t._onvolume=e.onvolume?[{fn:e.onvolume}]:[],t._onrate=e.onrate?[{fn:e.onrate}]:[],t._onseek=e.onseek?[{fn:e.onseek}]:[],t._onunlock=e.onunlock?[{fn:e.onunlock}]:[],t._onresume=[],t._webAudio=a.usingWebAudio&&!t._html5,void 0!==a.ctx&&a.ctx&&a.autoUnlock&&a._unlockAudio(),a._howls.push(t),t._autoplay&&t._queue.push({event:"play",action:function(){t.play()}}),t._preload&&"none"!==t._preload&&t.load(),t},load:function(){var e=this,t=null;if(a.noAudio)e._emit("loaderror",null,"No audio support.");else{"string"==typeof e._src&&(e._src=[e._src]);for(var n=0;n<e._src.length;n++){var r,o;if(e._format&&e._format[n])r=e._format[n];else{if("string"!=typeof(o=e._src[n])){e._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(r=/^data:audio\/([^;,]+);/i.exec(o))||(r=/\.([^.]+)$/.exec(o.split("?",1)[0])),r&&(r=r[1].toLowerCase())}if(r||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),r&&a.codecs(r)){t=e._src[n];break}}if(t)return e._src=t,e._state="loading","https:"===window.location.protocol&&"http:"===t.slice(0,5)&&(e._html5=!0,e._webAudio=!1),new s(e),e._webAudio&&c(e),e;e._emit("loaderror",null,"No codec support for selected audio sources.")}},play:function(e,t){var n=this,r=null;if("number"==typeof e)r=e,e=null;else{if("string"==typeof e&&"loaded"===n._state&&!n._sprite[e])return null;if(void 0===e&&(e="__default",!n._playLock)){for(var o=0,i=0;i<n._sounds.length;i++)n._sounds[i]._paused&&!n._sounds[i]._ended&&(o++,r=n._sounds[i]._id);1===o?e=null:r=null}}var s=r?n._soundById(r):n._inactiveSound();if(!s)return null;if(r&&!e&&(e=s._sprite||"__default"),"loaded"!==n._state){s._sprite=e,s._ended=!1;var l=s._id;return n._queue.push({event:"play",action:function(){n.play(l)}}),l}if(r&&!s._paused)return t||n._loadQueue("play"),s._id;n._webAudio&&a._autoResume();var c=Math.max(0,s._seek>0?s._seek:n._sprite[e][0]/1e3),u=Math.max(0,(n._sprite[e][0]+n._sprite[e][1])/1e3-c),d=1e3*u/Math.abs(s._rate),h=n._sprite[e][0]/1e3,m=(n._sprite[e][0]+n._sprite[e][1])/1e3;s._sprite=e,s._ended=!1;var p=function(){s._paused=!1,s._seek=c,s._start=h,s._stop=m,s._loop=!(!s._loop&&!n._sprite[e][2])};if(!(c>=m)){var f=s._node;if(n._webAudio){var A=function(){n._playLock=!1,p(),n._refreshBuffer(s);var e=s._muted||n._muted?0:s._volume;f.gain.setValueAtTime(e,a.ctx.currentTime),s._playStart=a.ctx.currentTime,void 0===f.bufferSource.start?s._loop?f.bufferSource.noteGrainOn(0,c,86400):f.bufferSource.noteGrainOn(0,c,u):s._loop?f.bufferSource.start(0,c,86400):f.bufferSource.start(0,c,u),d!==1/0&&(n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),d)),t||setTimeout((function(){n._emit("play",s._id),n._loadQueue()}),0)};"running"===a.state&&"interrupted"!==a.ctx.state?A():(n._playLock=!0,n.once("resume",A),n._clearTimer(s._id))}else{var g=function(){f.currentTime=c,f.muted=s._muted||n._muted||a._muted||f.muted,f.volume=s._volume*a.volume(),f.playbackRate=s._rate;try{var r=f.play();if(r&&"undefined"!=typeof Promise&&(r instanceof Promise||"function"==typeof r.then)?(n._playLock=!0,p(),r.then((function(){n._playLock=!1,f._unlocked=!0,t?n._loadQueue():n._emit("play",s._id)})).catch((function(){n._playLock=!1,n._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),s._ended=!0,s._paused=!0}))):t||(n._playLock=!1,p(),n._emit("play",s._id)),f.playbackRate=s._rate,f.paused)return void n._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==e||s._loop?n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),d):(n._endTimers[s._id]=function(){n._ended(s),f.removeEventListener("ended",n._endTimers[s._id],!1)},f.addEventListener("ended",n._endTimers[s._id],!1))}catch(o){n._emit("playerror",s._id,o)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===f.src&&(f.src=n._src,f.load());var v=window&&window.ejecta||!f.readyState&&a._navigator.isCocoonJS;if(f.readyState>=3||v)g();else{n._playLock=!0,n._state="loading";var y=function(){n._state="loaded",g(),f.removeEventListener(a._canPlayEvent,y,!1)};f.addEventListener(a._canPlayEvent,y,!1),n._clearTimer(s._id)}}return s._id}n._ended(s)},pause:function(e){var t=this;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"pause",action:function(){t.pause(e)}}),t;for(var n=t._getSoundIds(e),r=0;r<n.length;r++){t._clearTimer(n[r]);var o=t._soundById(n[r]);if(o&&!o._paused&&(o._seek=t.seek(n[r]),o._rateSeek=0,o._paused=!0,t._stopFade(n[r]),o._node))if(t._webAudio){if(!o._node.bufferSource)continue;void 0===o._node.bufferSource.stop?o._node.bufferSource.noteOff(0):o._node.bufferSource.stop(0),t._cleanBuffer(o._node)}else isNaN(o._node.duration)&&o._node.duration!==1/0||o._node.pause();arguments[1]||t._emit("pause",o?o._id:null)}return t},stop:function(e,t){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(e)}}),n;for(var r=n._getSoundIds(e),o=0;o<r.length;o++){n._clearTimer(r[o]);var a=n._soundById(r[o]);a&&(a._seek=a._start||0,a._rateSeek=0,a._paused=!0,a._ended=!0,n._stopFade(r[o]),a._node&&(n._webAudio?a._node.bufferSource&&(void 0===a._node.bufferSource.stop?a._node.bufferSource.noteOff(0):a._node.bufferSource.stop(0),n._cleanBuffer(a._node)):isNaN(a._node.duration)&&a._node.duration!==1/0||(a._node.currentTime=a._start||0,a._node.pause(),a._node.duration===1/0&&n._clearSound(a._node))),t||n._emit("stop",a._id))}return n},mute:function(e,t){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"mute",action:function(){n.mute(e,t)}}),n;if(void 0===t){if("boolean"!=typeof e)return n._muted;n._muted=e}for(var r=n._getSoundIds(t),o=0;o<r.length;o++){var i=n._soundById(r[o]);i&&(i._muted=e,i._interval&&n._stopFade(i._id),n._webAudio&&i._node?i._node.gain.setValueAtTime(e?0:i._volume,a.ctx.currentTime):i._node&&(i._node.muted=!!a._muted||e),n._emit("mute",i._id))}return n},volume:function(){var e,t,n,r=this,o=arguments;if(0===o.length)return r._volume;if(1===o.length||2===o.length&&void 0===o[1]?r._getSoundIds().indexOf(o[0])>=0?t=parseInt(o[0],10):e=parseFloat(o[0]):o.length>=2&&(e=parseFloat(o[0]),t=parseInt(o[1],10)),!(void 0!==e&&e>=0&&e<=1))return(n=t?r._soundById(t):r._sounds[0])?n._volume:0;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"volume",action:function(){r.volume.apply(r,o)}}),r;void 0===t&&(r._volume=e),t=r._getSoundIds(t);for(var i=0;i<t.length;i++)(n=r._soundById(t[i]))&&(n._volume=e,o[2]||r._stopFade(t[i]),r._webAudio&&n._node&&!n._muted?n._node.gain.setValueAtTime(e,a.ctx.currentTime):n._node&&!n._muted&&(n._node.volume=e*a.volume()),r._emit("volume",n._id));return r},fade:function(e,t,n,r){var o=this;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"fade",action:function(){o.fade(e,t,n,r)}}),o;e=Math.min(Math.max(0,parseFloat(e)),1),t=Math.min(Math.max(0,parseFloat(t)),1),n=parseFloat(n),o.volume(e,r);for(var i=o._getSoundIds(r),s=0;s<i.length;s++){var l=o._soundById(i[s]);if(l){if(r||o._stopFade(i[s]),o._webAudio&&!l._muted){var c=a.ctx.currentTime,u=c+n/1e3;l._volume=e,l._node.gain.setValueAtTime(e,c),l._node.gain.linearRampToValueAtTime(t,u)}o._startFadeInterval(l,e,t,n,i[s],void 0===r)}}return o},_startFadeInterval:function(e,t,n,r,o,a){var i=this,s=t,l=n-t,c=Math.abs(l/.01),u=Math.max(4,c>0?r/c:r),d=Date.now();e._fadeTo=n,e._interval=setInterval((function(){var o=(Date.now()-d)/r;d=Date.now(),s+=l*o,s=Math.round(100*s)/100,s=l<0?Math.max(n,s):Math.min(n,s),i._webAudio?e._volume=s:i.volume(s,e._id,!0),a&&(i._volume=s),(n<t&&s<=n||n>t&&s>=n)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,i.volume(n,e._id),i._emit("fade",e._id))}),u)},_stopFade:function(e){var t=this,n=t._soundById(e);return n&&n._interval&&(t._webAudio&&n._node.gain.cancelScheduledValues(a.ctx.currentTime),clearInterval(n._interval),n._interval=null,t.volume(n._fadeTo,e),n._fadeTo=null,t._emit("fade",e)),t},loop:function(){var e,t,n,r=this,o=arguments;if(0===o.length)return r._loop;if(1===o.length){if("boolean"!=typeof o[0])return!!(n=r._soundById(parseInt(o[0],10)))&&n._loop;e=o[0],r._loop=e}else 2===o.length&&(e=o[0],t=parseInt(o[1],10));for(var a=r._getSoundIds(t),i=0;i<a.length;i++)(n=r._soundById(a[i]))&&(n._loop=e,r._webAudio&&n._node&&n._node.bufferSource&&(n._node.bufferSource.loop=e,e&&(n._node.bufferSource.loopStart=n._start||0,n._node.bufferSource.loopEnd=n._stop,r.playing(a[i])&&(r.pause(a[i],!0),r.play(a[i],!0)))));return r},rate:function(){var e,t,n,r=this,o=arguments;if(0===o.length)t=r._sounds[0]._id;else if(1===o.length){r._getSoundIds().indexOf(o[0])>=0?t=parseInt(o[0],10):e=parseFloat(o[0])}else 2===o.length&&(e=parseFloat(o[0]),t=parseInt(o[1],10));if("number"!=typeof e)return(n=r._soundById(t))?n._rate:r._rate;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"rate",action:function(){r.rate.apply(r,o)}}),r;void 0===t&&(r._rate=e),t=r._getSoundIds(t);for(var i=0;i<t.length;i++)if(n=r._soundById(t[i])){r.playing(t[i])&&(n._rateSeek=r.seek(t[i]),n._playStart=r._webAudio?a.ctx.currentTime:n._playStart),n._rate=e,r._webAudio&&n._node&&n._node.bufferSource?n._node.bufferSource.playbackRate.setValueAtTime(e,a.ctx.currentTime):n._node&&(n._node.playbackRate=e);var s=r.seek(t[i]),l=1e3*((r._sprite[n._sprite][0]+r._sprite[n._sprite][1])/1e3-s)/Math.abs(n._rate);!r._endTimers[t[i]]&&n._paused||(r._clearTimer(t[i]),r._endTimers[t[i]]=setTimeout(r._ended.bind(r,n),l)),r._emit("rate",n._id)}return r},seek:function(){var e,t,n=this,r=arguments;if(0===r.length)n._sounds.length&&(t=n._sounds[0]._id);else if(1===r.length){n._getSoundIds().indexOf(r[0])>=0?t=parseInt(r[0],10):n._sounds.length&&(t=n._sounds[0]._id,e=parseFloat(r[0]))}else 2===r.length&&(e=parseFloat(r[0]),t=parseInt(r[1],10));if(void 0===t)return 0;if("number"==typeof e&&("loaded"!==n._state||n._playLock))return n._queue.push({event:"seek",action:function(){n.seek.apply(n,r)}}),n;var o=n._soundById(t);if(o){if(!("number"==typeof e&&e>=0)){if(n._webAudio){var i=n.playing(t)?a.ctx.currentTime-o._playStart:0,s=o._rateSeek?o._rateSeek-o._seek:0;return o._seek+(s+i*Math.abs(o._rate))}return o._node.currentTime}var l=n.playing(t);l&&n.pause(t,!0),o._seek=e,o._ended=!1,n._clearTimer(t),n._webAudio||!o._node||isNaN(o._node.duration)||(o._node.currentTime=e);var c=function(){l&&n.play(t,!0),n._emit("seek",t)};if(l&&!n._webAudio){var u=function(){n._playLock?setTimeout(u,0):c()};setTimeout(u,0)}else c()}return n},playing:function(e){var t=this;if("number"==typeof e){var n=t._soundById(e);return!!n&&!n._paused}for(var r=0;r<t._sounds.length;r++)if(!t._sounds[r]._paused)return!0;return!1},duration:function(e){var t=this,n=t._duration,r=t._soundById(e);return r&&(n=t._sprite[r._sprite][1]/1e3),n},state:function(){return this._state},unload:function(){for(var e=this,t=e._sounds,n=0;n<t.length;n++)t[n]._paused||e.stop(t[n]._id),e._webAudio||(e._clearSound(t[n]._node),t[n]._node.removeEventListener("error",t[n]._errorFn,!1),t[n]._node.removeEventListener(a._canPlayEvent,t[n]._loadFn,!1),t[n]._node.removeEventListener("ended",t[n]._endFn,!1),a._releaseHtml5Audio(t[n]._node)),delete t[n]._node,e._clearTimer(t[n]._id);var r=a._howls.indexOf(e);r>=0&&a._howls.splice(r,1);var o=!0;for(n=0;n<a._howls.length;
vendor: 9,504 bytes, line 30
30n++)if(a._howls[n]._src===e._src||e._src.indexOf(a._howls[n]._src)>=0){o=!1;break}return l&&o&&delete l[e._src],a.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,t,n,r){var o=this["_on"+e];return"function"==typeof t&&o.push(r?{id:n,fn:t,once:r}:{id:n,fn:t}),this},off:function(e,t,n){var r=this,o=r["_on"+e],a=0;if("number"==typeof t&&(n=t,t=null),t||n)for(a=0;a<o.length;a++){var i=n===o[a].id;if(t===o[a].fn&&i||!t&&i){o.splice(a,1);break}}else if(e)r["_on"+e]=[];else{var s=Object.keys(r);for(a=0;a<s.length;a++)0===s[a].indexOf("_on")&&Array.isArray(r[s[a]])&&(r[s[a]]=[])}return r},once:function(e,t,n){return this.on(e,t,n,1),this},_emit:function(e,t,n){for(var r=this,o=r["_on"+e],a=o.length-1;a>=0;a--)o[a].id&&o[a].id!==t&&"load"!==e||(setTimeout(function(e){e.call(this,t,n)}.bind(r,o[a].fn),0),o[a].once&&r.off(e,o[a].fn,o[a].id));return r._loadQueue(e),r},_loadQueue:function(e){var t=this;if(t._queue.length>0){var n=t._queue[0];n.event===e&&(t._queue.shift(),t._loadQueue()),e||n.action()}return t},_ended:function(e){var t=this,n=e._sprite;if(!t._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime<e._stop)return setTimeout(t._ended.bind(t,e),100),t;var r=!(!e._loop&&!t._sprite[n][2]);if(t._emit("end",e._id),!t._webAudio&&r&&t.stop(e._id,!0).play(e._id),t._webAudio&&r){t._emit("play",e._id),e._seek=e._start||0,e._rateSeek=0,e._playStart=a.ctx.currentTime;var o=1e3*(e._stop-e._start)/Math.abs(e._rate);t._endTimers[e._id]=setTimeout(t._ended.bind(t,e),o)}return t._webAudio&&!r&&(e._paused=!0,e._ended=!0,e._seek=e._start||0,e._rateSeek=0,t._clearTimer(e._id),t._cleanBuffer(e._node),a._autoSuspend()),t._webAudio||r||t.stop(e._id,!0),t},_clearTimer:function(e){var t=this;if(t._endTimers[e]){if("function"!=typeof t._endTimers[e])clearTimeout(t._endTimers[e]);else{var n=t._soundById(e);n&&n._node&&n._node.removeEventListener("ended",t._endTimers[e],!1)}delete t._endTimers[e]}return t},_soundById:function(e){for(var t=this,n=0;n<t._sounds.length;n++)if(e===t._sounds[n]._id)return t._sounds[n];return null},_inactiveSound:function(){var e=this;e._drain();for(var t=0;t<e._sounds.length;t++)if(e._sounds[t]._ended)return e._sounds[t].reset();return new s(e)},_drain:function(){var e=this,t=e._pool,n=0,r=0;if(!(e._sounds.length<t)){for(r=0;r<e._sounds.length;r++)e._sounds[r]._ended&&n++;for(r=e._sounds.length-1;r>=0;r--){if(n<=t)return;e._sounds[r]._ended&&(e._webAudio&&e._sounds[r]._node&&e._sounds[r]._node.disconnect(0),e._sounds.splice(r,1),n--)}}},_getSoundIds:function(e){if(void 0===e){for(var t=[],n=0;n<this._sounds.length;n++)t.push(this._sounds[n]._id);return t}return[e]},_refreshBuffer:function(e){return e._node.bufferSource=a.ctx.createBufferSource(),e._node.bufferSource.buffer=l[this._src],e._panner?e._node.bufferSource.connect(e._panner):e._node.bufferSource.connect(e._node),e._node.bufferSource.loop=e._loop,e._loop&&(e._node.bufferSource.loopStart=e._start||0,e._node.bufferSource.loopEnd=e._stop||0),e._node.bufferSource.playbackRate.setValueAtTime(e._rate,a.ctx.currentTime),this},_cleanBuffer:function(e){var t=a._navigator&&a._navigator.vendor.indexOf("Apple")>=0;if(!e.bufferSource)return this;if(a._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),t))try{e.bufferSource.buffer=a._scratchBuffer}catch(n){}return e.bufferSource=null,this},_clearSound:function(e){/MSIE |Trident\//.test(a._navigator&&a._navigator.userAgent)||(e.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var s=function(e){this._parent=e,this.init()};s.prototype={init:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++a._counter,t._sounds.push(e),e.create(),e},create:function(){var e=this,t=e._parent,n=a._muted||e._muted||e._parent._muted?0:e._volume;return t._webAudio?(e._node=void 0===a.ctx.createGain?a.ctx.createGainNode():a.ctx.createGain(),e._node.gain.setValueAtTime(n,a.ctx.currentTime),e._node.paused=!0,e._node.connect(a.masterGain)):a.noAudio||(e._node=a._obtainHtml5Audio(),e._errorFn=e._errorListener.bind(e),e._node.addEventListener("error",e._errorFn,!1),e._loadFn=e._loadListener.bind(e),e._node.addEventListener(a._canPlayEvent,e._loadFn,!1),e._endFn=e._endListener.bind(e),e._node.addEventListener("ended",e._endFn,!1),e._node.src=t._src,e._node.preload=!0===t._preload?"auto":t._preload,e._node.volume=n*a.volume(),e._node.load()),e},reset:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._rateSeek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++a._counter,e},_errorListener:function(){var e=this;e._parent._emit("loaderror",e._id,e._node.error?e._node.error.code:0),e._node.removeEventListener("error",e._errorFn,!1)},_loadListener:function(){var e=this,t=e._parent;t._duration=Math.ceil(10*e._node.duration)/10,0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue()),e._node.removeEventListener(a._canPlayEvent,e._loadFn,!1)},_endListener:function(){var e=this,t=e._parent;t._duration===1/0&&(t._duration=Math.ceil(10*e._node.duration)/10,t._sprite.__default[1]===1/0&&(t._sprite.__default[1]=1e3*t._duration),t._ended(e)),e._node.removeEventListener("ended",e._endFn,!1)}};var l={},c=function(e){var t=e._src;if(l[t])return e._duration=l[t].duration,void h(e);if(/^data:[^;]+;base64,/.test(t)){for(var n=atob(t.split(",")[1]),r=new Uint8Array(n.length),o=0;o<n.length;++o)r[o]=n.charCodeAt(o);d(r.buffer,e)}else{var a=new XMLHttpRequest;a.open(e._xhr.method,t,!0),a.withCredentials=e._xhr.withCredentials,a.responseType="arraybuffer",e._xhr.headers&&Object.keys(e._xhr.headers).forEach((function(t){a.setRequestHeader(t,e._xhr.headers[t])})),a.onload=function(){var t=(a.status+"")[0];"0"===t||"2"===t||"3"===t?d(a.response,e):e._emit("loaderror",null,"Failed loading audio file with status: "+a.status+".")},a.onerror=function(){e._webAudio&&(e._html5=!0,e._webAudio=!1,e._sounds=[],delete l[t],e.load())},u(a)}},u=function(e){try{e.send()}catch(t){e.onerror()}},d=function(e,t){var n=function(){t._emit("loaderror",null,"Decoding audio data failed.")},r=function(e){e&&t._sounds.length>0?(l[t._src]=e,h(t,e)):n()};"undefined"!=typeof Promise&&1===a.ctx.decodeAudioData.length?a.ctx.decodeAudioData(e).then(r).catch(n):a.ctx.decodeAudioData(e,r,n)},h=function(e,t){t&&!e._duration&&(e._duration=t.duration),0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue())},m=function(){if(a.usingWebAudio){try{"undefined"!=typeof AudioContext?a.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?a.ctx=new webkitAudioContext:a.usingWebAudio=!1}catch(o){a.usingWebAudio=!1}a.ctx||(a.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(a._navigator&&a._navigator.platform),t=a._navigator&&a._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),n=t?parseInt(t[1],10):null;if(e&&n&&n<9){var r=/safari/.test(a._navigator&&a._navigator.userAgent.toLowerCase());a._navigator&&!r&&(a.usingWebAudio=!1)}a.usingWebAudio&&(a.masterGain=void 0===a.ctx.createGain?a.ctx.createGainNode():a.ctx.createGain(),a.masterGain.gain.setValueAtTime(a._muted?0:a._volume,a.ctx.currentTime),a.masterGain.connect(a.ctx.destination)),a._setup()}};void 0===(r=function(){return{Howler:a,Howl:i}}.apply(t,[]))||(e.exports=r),t.Howler=a,t.Howl=i,void 0!==n.g?(n.g.HowlerGlobal=o,n.g.Howler=a,n.g.Howl=i,n.g.Sound=s):"undefined"!=typeof window&&(window.HowlerGlobal=o,window.Howler=a,window.Howl=i,window.Sound=s)}(),function(){"use strict";var e;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(e){var t=this;if(!t.ctx||!t.ctx.listener)return t;for(var n=t._howls.length-1;n>=0;n--)t._howls[n].stereo(e);return t},HowlerGlobal.prototype.pos=function(e,t,n){var r=this;return r.ctx&&r.ctx.listener?(t="number"!=typeof t?r._pos[1]:t,n="number"!=typeof n?r._pos[2]:n,"number"!=typeof e?r._pos:(r._pos=[e,t,n],void 0!==r.ctx.listener.positionX?(r.ctx.listener.positionX.setTargetAtTime(r._pos[0],Howler.ctx.currentTime,.1),r.ctx.listener.positionY.setTargetAtTime(r._pos[1],Howler.ctx.currentTime,.1),r.ctx.listener.positionZ.setTargetAtTime(r._pos[2],Howler.ctx.currentTime,.1)):r.ctx.listener.setPosition(r._pos[0],r._pos[1],r._pos[2]),r)):r},HowlerGlobal.prototype.orientation=function(e,t,n,r,o,a){var i=this;if(!i.ctx||!i.ctx.listener)return i;var s=i._orientation;return t="number"!=typeof t?s[1]:t,n="number"!=typeof n?s[2]:n,r="number"!=typeof r?s[3]:r,o="number"!=typeof o?s[4]:o,a="number"!=typeof a?s[5]:a,"number"!=typeof e?s:(i._orientation=[e,t,n,r,o,a],void 0!==i.ctx.listener.forwardX?(i.ctx.listener.forwardX.setTargetAtTime(e,Howler.ctx.currentTime,.1),i.ctx.listener.forwardY.setTargetAtTime(t,Howler.ctx.currentTime,.1),i.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),i.ctx.listener.upX.setTargetAtTime(r,Howler.ctx.currentTime,.1),i.ctx.listener.upY.setTargetAtTime(o,Howler.ctx.currentTime,.1),i.ctx.listener.upZ.setTargetAtTime(a,Howler.ctx.currentTime,.1)):i.ctx.listener.setOrientation(e,t,n,r,o,a),i)},Howl.prototype.init=(e=Howl.prototype.init,function(t){var n=this;return n._orientation=t.orientation||[1,0,0],n._stereo=t.stereo||null,
30n._pos=t.pos||null,n._pannerAttr={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:360,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:360,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:0,distanceModel:void 0!==t.distanceModel?t.distanceModel:"inverse",maxDistance:void 0!==t.maxDistance?t.maxDistance:1e4,panningModel:void 0!==t.panningModel?t.panningModel:"HRTF",refDistance:void 0!==t.refDistance?t.refDistance:1,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:1},n._onstereo=t.onstereo?[{fn:t.onstereo}]:[],n._onpos=t.onpos?[{fn:t.onpos}]:[],n._onorientation=t.onorientation?[{fn:t.onorientation}]:[],e.call(this,t)}),Howl.prototype.stereo=function(e,n){var r=this;if(!r._webAudio)return r;if("loaded"!==r._state)return r._queue.push({event:"stereo",action:function(){r.stereo(e,n)}}),r;var o=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===n){if("number"!=typeof e)return r._stereo;r._stereo=e,r._pos=[e,0,0]}for(var a=r._getSoundIds(n),i=0;i<a.length;i++){var s=r._soundById(a[i]);if(s){if("number"!=typeof e)return s._stereo;s._stereo=e,s._pos=[e,0,0],s._node&&(s._pannerAttr.panningModel="equalpower",s._panner&&s._panner.pan||t(s,o),"spatial"===o?void 0!==s._panner.positionX?(s._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),s._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),s._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):s._panner.setPosition(e,0,0):s._panner.pan.setValueAtTime(e,Howler.ctx.currentTime)),r._emit("stereo",s._id)}}return r},Howl.prototype.pos=function(e,n,r,o){var a=this;if(!a._webAudio)return a;if("loaded"!==a._state)return a._queue.push({event:"pos",action:function(){a.pos(e,n,r,o)}}),a;if(n="number"!=typeof n?0:n,r="number"!=typeof r?-.5:r,void 0===o){if("number"!=typeof e)return a._pos;a._pos=[e,n,r]}for(var i=a._getSoundIds(o),s=0;s<i.length;s++){var l=a._soundById(i[s]);if(l){if("number"!=typeof e)return l._pos;l._pos=[e,n,r],l._node&&(l._panner&&!l._panner.pan||t(l,"spatial"),void 0!==l._panner.positionX?(l._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.positionY.setValueAtTime(n,Howler.ctx.currentTime),l._panner.positionZ.setValueAtTime(r,Howler.ctx.currentTime)):l._panner.setPosition(e,n,r)),a._emit("pos",l._id)}}return a},Howl.prototype.orientation=function(e,n,r,o){var a=this;if(!a._webAudio)return a;if("loaded"!==a._state)return a._queue.push({event:"orientation",action:function(){a.orientation(e,n,r,o)}}),a;if(n="number"!=typeof n?a._orientation[1]:n,r="number"!=typeof r?a._orientation[2]:r,void 0===o){if("number"!=typeof e)return a._orientation;a._orientation=[e,n,r]}for(var i=a._getSoundIds(o),s=0;s<i.length;s++){var l=a._soundById(i[s]);if(l){if("number"!=typeof e)return l._orientation;l._orientation=[e,n,r],l._node&&(l._panner||(l._pos||(l._pos=a._pos||[0,0,-.5]),t(l,"spatial")),void 0!==l._panner.orientationX?(l._panner.orientationX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.orientationY.setValueAtTime(n,Howler.ctx.currentTime),l._panner.orientationZ.setValueAtTime(r,Howler.ctx.currentTime)):l._panner.setOrientation(e,n,r)),a._emit("orientation",l._id)}}return a},Howl.prototype.pannerAttr=function(){var e,n,r,o=this,a=arguments;if(!o._webAudio)return o;if(0===a.length)return o._pannerAttr;if(1===a.length){if("object"!=typeof a[0])return(r=o._soundById(parseInt(a[0],10)))?r._pannerAttr:o._pannerAttr;e=a[0],void 0===n&&(e.pannerAttr||(e.pannerAttr={coneInnerAngle:e.coneInnerAngle,coneOuterAngle:e.coneOuterAngle,coneOuterGain:e.coneOuterGain,distanceModel:e.distanceModel,maxDistance:e.maxDistance,refDistance:e.refDistance,rolloffFactor:e.rolloffFactor,panningModel:e.panningModel}),o._pannerAttr={coneInnerAngle:void 0!==e.pannerAttr.coneInnerAngle?e.pannerAttr.coneInnerAngle:o._coneInnerAngle,coneOuterAngle:void 0!==e.pannerAttr.coneOuterAngle?e.pannerAttr.coneOuterAngle:o._coneOuterAngle,coneOuterGain:void 0!==e.pannerAttr.coneOuterGain?e.pannerAttr.coneOuterGain:o._coneOuterGain,distanceModel:void 0!==e.pannerAttr.distanceModel?e.pannerAttr.distanceModel:o._distanceModel,maxDistance:void 0!==e.pannerAttr.maxDistance?e.pannerAttr.maxDistance:o._maxDistance,refDistance:void 0!==e.pannerAttr.refDistance?e.pannerAttr.refDistance:o._refDistance,rolloffFactor:void 0!==e.pannerAttr.rolloffFactor?e.pannerAttr.rolloffFactor:o._rolloffFactor,panningModel:void 0!==e.pannerAttr.panningModel?e.pannerAttr.panningModel:o._panningModel})}else 2===a.length&&(e=a[0],n=parseInt(a[1],10));for(var i=o._getSoundIds(n),s=0;s<i.length;s++)if(r=o._soundById(i[s])){var l=r._pannerAttr;l={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:l.coneInnerAngle,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:l.coneOuterAngle,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:l.coneOuterGain,distanceModel:void 0!==e.distanceModel?e.distanceModel:l.distanceModel,maxDistance:void 0!==e.maxDistance?e.maxDistance:l.maxDistance,refDistance:void 0!==e.refDistance?e.refDistance:l.refDistance,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:l.rolloffFactor,panningModel:void 0!==e.panningModel?e.panningModel:l.panningModel};var c=r._panner;c||(r._pos||(r._pos=o._pos||[0,0,-.5]),t(r,"spatial"),c=r._panner),c.coneInnerAngle=l.coneInnerAngle,c.coneOuterAngle=l.coneOuterAngle,c.coneOuterGain=l.coneOuterGain,c.distanceModel=l.distanceModel,c.maxDistance=l.maxDistance,c.refDistance=l.refDistance,c.rolloffFactor=l.rolloffFactor,c.panningModel=l.panningModel}return o},Sound.prototype.init=function(e){return function(){var t=this,n=t._parent;t._orientation=n._orientation,t._stereo=n._stereo,t._pos=n._pos,t._pannerAttr=n._pannerAttr,e.call(this),t._stereo?n.stereo(t._stereo):t._pos&&n.pos(t._pos[0],t._pos[1],t._pos[2],t._id)}}(Sound.prototype.init),Sound.prototype.reset=function(e){return function(){var t=this,n=t._parent;return t._orientation=n._orientation,t._stereo=n._stereo,t._pos=n._pos,t._pannerAttr=n._pannerAttr,t._stereo?n.stereo(t._stereo):t._pos?n.pos(t._pos[0],t._pos[1],t._pos[2],t._id):t._panner&&(t._panner.disconnect(0),t._panner=void 0,n._refreshBuffer(t)),e.call(this)}}(Sound.prototype.reset);var t=function(e,t){"spatial"===(t=t||"spatial")?(e._panner=Howler.ctx.createPanner(),e._panner.coneInnerAngle=e._pannerAttr.coneInnerAngle,e._panner.coneOuterAngle=e._pannerAttr.coneOuterAngle,e._panner.coneOuterGain=e._pannerAttr.coneOuterGain,e._panner.distanceModel=e._pannerAttr.distanceModel,e._panner.maxDistance=e._pannerAttr.maxDistance,e._panner.refDistance=e._pannerAttr.refDistance,e._panner.rolloffFactor=e._pannerAttr.rolloffFactor,e._panner.panningModel=e._pannerAttr.panningModel,void 0!==e._panner.positionX?(e._panner.positionX.setValueAtTime(e._pos[0],Howler.ctx.currentTime),e._panner.positionY.setValueAtTime(e._pos[1],Howler.ctx.currentTime),e._panner.positionZ.setValueAtTime(e._pos[2],Howler.ctx.currentTime)):e._panner.setPosition(e._pos[0],e._pos[1],e._pos[2]),void 0!==e._panner.orientationX?(e._panner.orientationX.setValueAtTime(e._orientation[0],Howler.ctx.currentTime),e._panner.orientationY.setValueAtTime(e._orientation[1],Howler.ctx.currentTime),e._panner.orientationZ.setValueAtTime(e._orientation[2],Howler.ctx.currentTime)):e._panner.setOrientation(e._orientation[0],e._orientation[1],e._orientation[2])):(e._panner=Howler.ctx.createStereoPanner(),e._panner.pan.setValueAtTime(e._stereo,Howler.ctx.currentTime)),e._panner.connect(e._node),e._paused||e._parent.pause(e._id,!0).play(e._id,!0)}}()},6698:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},6343:function(e){e.exports=function(){"use strict";function e(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var t=Object.freeze({__proto__:null,blackman:function(e){for(var t=new Float32Array(e),n=2*Math.PI/(e-1),r=2*n,o=0;o<e/2;o++)t[o]=.42-.5*Math.cos(o*n)+.08*Math.cos(o*r);for(o=Math.ceil(e/2);o>0;o--)t[e-o]=t[o-1];return t},hamming:function(e){for(var t=new Float32Array(e),n=0;n<e;n++)t[n]=.54-.46*Math.cos(2*Math.PI*(n/e-1));return t},hanning:function(e){for(var t=new Float32Array(e),n=0;n<e;n++)t[n]=.5-.5*Math.cos(2*Math.PI*n/(e-1));return t},sine:function(e){for(var t=Math.PI/(e-1),n=new Float32Array(e),r=0;r<e;r++)n[r]=Math.sin(t*r);return n}}),n={};function r(e){for(;e%2==0&&e>1;)e/=2;return 1===e}function o(e,r){if("rect"!==r){if(""!==r&&r||(r="hanning"),n[r]||(n[r]={}),!n[r][e.length])try{n[r][e.length]=t[r](e.length)}catch(e){throw new Error("Invalid windowing function")}e=function(e,t){for(var n=[],r=0;r<Math.min(e.length,t.length);r++)n[r]=e[r]*t[r];return n}(e,n[r][e.length])}return e}function a(e,t,n){for(var r=new Float32Array(e),o=0;o<r.length;o++)r[o]=o*t/n,r[o]=13*Math.atan(r[o]/1315.8)+3.5*Math.atan(Math.pow(r[o]/7518,2));return r}function i(e){return Float32Array.from(e)}function s(e){return 1125*Math.log(1+e/700)}function l(e,t,n){for(var r,o=new Float32Array(e+2),a=new Float32Array(e+2),i=t/2,l=s(0),c=(s(i)-l)/(e+1),u=new Array(e+2),d=0;d<o.length;d++)o[d]=d*c,a[d]=(r=o[d],700*(Math.exp(r/1125)-1)),u[d]=Math.floor((n+1)*a[d]/t);for(var h=new Array(e),m=0;m<h.length;m++){for(h[m]=new Array(n/2+1).fill(0),d=u[m];d<u[m+1];d++)h[m][d]=(d-u[m])/(u[m+1]-u[m]);for(d=u[m+1];d<u[m+2];d++)h[m][d]=(u[m+2]-d)/(u[m+2]-u[m+1])}return h}function c(t,n,r,o,a,i,s){void 0===o&&(o=5),void 0===a&&(a=2),void 0===i&&(i=!0),void 0===s&&(s=440);var l=Math.floor(r/2)+1,c=new Array(r).fill(0).map((function(e,o){return t*function(e,t){return Math.log2(16*e/t)}(n*o/r,s)}));c[0]=c[1]-1.5*t;var u,d,h,m=c.slice(1).map((function(e,t){return Math.max(e-c[t])}),1).concat([1]),p=Math.round(t/2),f=new Array(t).fill(0).map((function(e,n){return c.map((function(e){return(10*t+p+e-n)%t-p}))})),A=f.map((function(e,t){return e.map((function(e,n){return Math.exp(-.5*Math.pow(2*f[t][n]/m[n],2))}))}));if(d=(u=A)[0].map((function(){return 0})),h=u.reduce((function(e,t){return t.forEach((function(t,n){e[n]+=Math.pow(t,2)})),e}),d).map(Math.sqrt),A=u.map((function(e,t){return e.map((function(e,t){return e/(h[t]||1)}))})),a){var g=c.map((function(e){return Math.exp(-.5*Math.pow((e/t-o)/a,2))}));A=A.map((function(e){return e.map((function(e,t){return e*g[t]}))}
30))}return i&&(A=e(e([],A.slice(3),!0),A.slice(0,3),!0)),A.map((function(e){return e.slice(0,l)}))}function u(e,t){for(var n=0,r=0,o=0;o<t.length;o++)n+=Math.pow(o,e)*Math.abs(t[o]),r+=t[o];return n/r}function d(e){var t=e.ampSpectrum,n=e.barkScale,r=e.numberOfBarkBands,o=void 0===r?24:r;if("object"!=typeof t||"object"!=typeof n)throw new TypeError;var a=o,i=new Float32Array(a),s=0,l=t,c=new Int32Array(a+1);c[0]=0;for(var u=n[l.length-1]/a,d=1,h=0;h<l.length;h++)for(;n[h]>u;)c[d++]=h,u=d*n[l.length-1]/a;for(c[a]=l.length-1,h=0;h<a;h++){for(var m=0,p=c[h];p<c[h+1];p++)m+=l[p];i[h]=Math.pow(m,.23)}for(h=0;h<i.length;h++)s+=i[h];return{specific:i,total:s}}function h(e){var t=e.ampSpectrum;if("object"!=typeof t)throw new TypeError;for(var n=new Float32Array(t.length),r=0;r<n.length;r++)n[r]=Math.pow(t[r],2);return n}function m(e){var t=e.ampSpectrum,n=e.melFilterBank,r=e.bufferSize;if("object"!=typeof t)throw new TypeError("Valid ampSpectrum is required to generate melBands");if("object"!=typeof n)throw new TypeError("Valid melFilterBank is required to generate melBands");for(var o=h({ampSpectrum:t}),a=n.length,i=Array(a),s=new Float32Array(a),l=0;l<s.length;l++){i[l]=new Float32Array(r/2),s[l]=0;for(var c=0;c<r/2;c++)i[l][c]=n[l][c]*o[c],s[l]+=i[l][c];s[l]=Math.log(s[l]+1)}return Array.prototype.slice.call(s)}function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f=null,A=p((function(e,t){var n=e.length;return t=t||2,f&&f[n]||function(e){(f=f||{})[e]=new Array(e*e);for(var t=Math.PI/e,n=0;n<e;n++)for(var r=0;r<e;r++)f[e][r+n*e]=Math.cos(t*(r+.5)*n)}(n),e.map((function(){return 0})).map((function(r,o){return t*e.reduce((function(e,t,r,a){return e+t*f[n][r+o*n]}),0)}))})),g=Object.freeze({__proto__:null,amplitudeSpectrum:function(e){return e.ampSpectrum},buffer:function(e){return e.signal},chroma:function(e){var t=e.ampSpectrum,n=e.chromaFilterBank;if("object"!=typeof t)throw new TypeError("Valid ampSpectrum is required to generate chroma");if("object"!=typeof n)throw new TypeError("Valid chromaFilterBank is required to generate chroma");var r=n.map((function(e,n){return t.reduce((function(t,n,r){return t+n*e[r]}),0)})),o=Math.max.apply(Math,r);return o?r.map((function(e){return e/o})):r},complexSpectrum:function(e){return e.complexSpectrum},energy:function(e){var t=e.signal;if("object"!=typeof t)throw new TypeError;for(var n=0,r=0;r<t.length;r++)n+=Math.pow(Math.abs(t[r]),2);return n},loudness:d,melBands:m,mfcc:function(e){var t=e.ampSpectrum,n=e.melFilterBank,r=e.numberOfMFCCCoefficients,o=e.bufferSize,a=Math.min(40,Math.max(1,r||13));if(n.length<a)throw new Error("Insufficient filter bank for requested number of coefficients");var i=m({ampSpectrum:t,melFilterBank:n,bufferSize:o});return A(i).slice(0,a)},perceptualSharpness:function(e){for(var t=d({ampSpectrum:e.ampSpectrum,barkScale:e.barkScale}),n=t.specific,r=0,o=0;o<n.length;o++)r+=o<15?(o+1)*n[o+1]:.066*Math.exp(.171*(o+1));return r*(.11/t.total)},perceptualSpread:function(e){for(var t=d({ampSpectrum:e.ampSpectrum,barkScale:e.barkScale}),n=0,r=0;r<t.specific.length;r++)t.specific[r]>n&&(n=t.specific[r]);return Math.pow((t.total-n)/t.total,2)},powerSpectrum:h,rms:function(e){var t=e.signal;if("object"!=typeof t)throw new TypeError;for(var n=0,r=0;r<t.length;r++)n+=Math.pow(t[r],2);return n/=t.length,Math.sqrt(n)},spectralCentroid:function(e){var t=e.ampSpectrum;if("object"!=typeof t)throw new TypeError;return u(1,t)},spectralCrest:function(e){var t=e.ampSpectrum;if("object"!=typeof t)throw new TypeError;var n=0,r=-1/0;return t.forEach((function(e){n+=Math.pow(e,2),r=e>r?e:r})),n/=t.length,n=Math.sqrt(n),r/n},spectralFlatness:function(e){var t=e.ampSpectrum;if("object"!=typeof t)throw new TypeError;for(var n=0,r=0,o=0;o<t.length;o++)n+=Math.log(t[o]),r+=t[o];return Math.exp(n/t.length)*t.length/r},spectralFlux:function(e){var t=e.signal,n=e.previousSignal,r=e.bufferSize;if("object"!=typeof t||"object"!=typeof n)throw new TypeError;for(var o=0,a=-r/2;a<t.length/2-1;a++)x=Math.abs(t[a])-Math.abs(n[a]),o+=(x+Math.abs(x))/2;return o},spectralKurtosis:function(e){var t=e.ampSpectrum;if("object"!=typeof t)throw new TypeError;var n=t,r=u(1,n),o=u(2,n),a=u(3,n),i=u(4,n);return(-3*Math.pow(r,4)+6*r*o-4*r*a+i)/Math.pow(Math.sqrt(o-Math.pow(r,2)),4)},spectralRolloff:function(e){var t=e.ampSpectrum,n=e.sampleRate;if("object"!=typeof t)throw new TypeError;for(var r=t,o=n/(2*(r.length-1)),a=0,i=0;i<r.length;i++)a+=r[i];for(var s=.99*a,l=r.length-1;a>s&&l>=0;)a-=r[l],--l;return(l+1)*o},spectralSkewness:function(e){var t=e.ampSpectrum;if("object"!=typeof t)throw new TypeError;var n=u(1,t),r=u(2,t),o=u(3,t);return(2*Math.pow(n,3)-3*n*r+o)/Math.pow(Math.sqrt(r-Math.pow(n,2)),3)},spectralSlope:function(e){var t=e.ampSpectrum,n=e.sampleRate,r=e.bufferSize;if("object"!=typeof t)throw new TypeError;for(var o=0,a=0,i=new Float32Array(t.length),s=0,l=0,c=0;c<t.length;c++){o+=t[c];var u=c*n/r;i[c]=u,s+=u*u,a+=u,l+=u*t[c]}return(t.length*l-a*o)/(o*(s-Math.pow(a,2)))},spectralSpread:function(e){var t=e.ampSpectrum;if("object"!=typeof t)throw new TypeError;return Math.sqrt(u(2,t)-Math.pow(u(1,t),2))},zcr:function(e){var t=e.signal;if("object"!=typeof t)throw new TypeError;for(var n=0,r=1;r<t.length;r++)(t[r-1]>=0&&t[r]<0||t[r-1]<0&&t[r]>=0)&&n++;return n}});function v(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var y={},b={},E={bitReverseArray:function(e){if(void 0===y[e]){for(var t=(e-1).toString(2).length,n="0".repeat(t),r={},o=0;o<e;o++){var a=o.toString(2);a=n.substr(a.length)+a,a=[].concat(v(a)).reverse().join(""),r[o]=parseInt(a,2)}y[e]=r}return y[e]},multiply:function(e,t){return{real:e.real*t.real-e.imag*t.imag,imag:e.real*t.imag+e.imag*t.real}},add:function(e,t){return{real:e.real+t.real,imag:e.imag+t.imag}},subtract:function(e,t){return{real:e.real-t.real,imag:e.imag-t.imag}},euler:function(e,t){var n=-2*Math.PI*e/t;return{real:Math.cos(n),imag:Math.sin(n)}},conj:function(e){return e.imag*=-1,e},constructComplexArray:function(e){var t={};t.real=void 0===e.real?e.slice():e.real.slice();var n=t.real.length;return void 0===b[n]&&(b[n]=Array.apply(null,Array(n)).map(Number.prototype.valueOf,0)),t.imag=b[n].slice(),t}},w=function(e){var t={};void 0===e.real||void 0===e.imag?t=E.constructComplexArray(e):(t.real=e.real.slice(),t.imag=e.imag.slice());var n=t.real.length,r=Math.log2(n);if(Math.round(r)!=r)throw new Error("Input size must be a power of 2.");if(t.real.length!=t.imag.length)throw new Error("Real and imaginary components must have the same length.");for(var o=E.bitReverseArray(n),a={real:[],imag:[]},i=0;i<n;i++)a.real[o[i]]=t.real[i],a.imag[o[i]]=t.imag[i];for(var s=0;s<n;s++)t.real[s]=a.real[s],t.imag[s]=a.imag[s];for(var l=1;l<=r;l++)for(var c=Math.pow(2,l),u=0;u<c/2;u++)for(var d=E.euler(u,c),h=0;h<n/c;h++){var m=c*h+u,p=c*h+u+c/2,f={real:t.real[m],imag:t.imag[m]},A={real:t.real[p],imag:t.imag[p]},g=E.multiply(d,A),v=E.subtract(f,g);t.real[p]=v.real,t.imag[p]=v.imag;var y=E.add(g,f);t.real[m]=y.real,t.imag[m]=y.imag}return t},k=w,_=function(){function e(e,t){var n=this;if(this._m=t,!e.audioContext)throw this._m.errors.noAC;if(e.bufferSize&&!r(e.bufferSize))throw this._m._errors.notPow2;
30if(!e.source)throw this._m._errors.noSource;this._m.audioContext=e.audioContext,this._m.bufferSize=e.bufferSize||this._m.bufferSize||256,this._m.hopSize=e.hopSize||this._m.hopSize||this._m.bufferSize,this._m.sampleRate=e.sampleRate||this._m.audioContext.sampleRate||44100,this._m.callback=e.callback,this._m.windowingFunction=e.windowingFunction||"hanning",this._m.featureExtractors=g,this._m.EXTRACTION_STARTED=e.startImmediately||!1,this._m.channel="number"==typeof e.channel?e.channel:0,this._m.inputs=e.inputs||1,this._m.outputs=e.outputs||1,this._m.numberOfMFCCCoefficients=e.numberOfMFCCCoefficients||this._m.numberOfMFCCCoefficients||13,this._m.numberOfBarkBands=e.numberOfBarkBands||this._m.numberOfBarkBands||24,this._m.spn=this._m.audioContext.createScriptProcessor(this._m.bufferSize,this._m.inputs,this._m.outputs),this._m.spn.connect(this._m.audioContext.destination),this._m._featuresToExtract=e.featureExtractors||[],this._m.barkScale=a(this._m.bufferSize,this._m.sampleRate,this._m.bufferSize),this._m.melFilterBank=l(Math.max(this._m.melBands,this._m.numberOfMFCCCoefficients),this._m.sampleRate,this._m.bufferSize),this._m.inputData=null,this._m.previousInputData=null,this._m.frame=null,this._m.previousFrame=null,this.setSource(e.source),this._m.spn.onaudioprocess=function(e){var t;null!==n._m.inputData&&(n._m.previousInputData=n._m.inputData),n._m.inputData=e.inputBuffer.getChannelData(n._m.channel),n._m.previousInputData?((t=new Float32Array(n._m.previousInputData.length+n._m.inputData.length-n._m.hopSize)).set(n._m.previousInputData.slice(n._m.hopSize)),t.set(n._m.inputData,n._m.previousInputData.length-n._m.hopSize)):t=n._m.inputData;var r=function(e,t,n){if(e.length<t)throw new Error("Buffer is too short for frame length");if(n<1)throw new Error("Hop length cannot be less that 1");if(t<1)throw new Error("Frame length cannot be less that 1");var r=1+Math.floor((e.length-t)/n);return new Array(r).fill(0).map((function(r,o){return e.slice(o*n,o*n+t)}))}(t,n._m.bufferSize,n._m.hopSize);r.forEach((function(e){n._m.frame=e;var t=n._m.extract(n._m._featuresToExtract,n._m.frame,n._m.previousFrame);"function"==typeof n._m.callback&&n._m.EXTRACTION_STARTED&&n._m.callback(t),n._m.previousFrame=n._m.frame}))}}return e.prototype.start=function(e){this._m._featuresToExtract=e||this._m._featuresToExtract,this._m.EXTRACTION_STARTED=!0},e.prototype.stop=function(){this._m.EXTRACTION_STARTED=!1},e.prototype.setSource=function(e){this._m.source&&this._m.source.disconnect(this._m.spn),this._m.source=e,this._m.source.connect(this._m.spn)},e.prototype.setChannel=function(e){e<=this._m.inputs?this._m.channel=e:console.error("Channel ".concat(e," does not exist. Make sure you've provided a value for 'inputs' that is greater than ").concat(e," when instantiating the MeydaAnalyzer"))},e.prototype.get=function(e){return this._m.inputData?this._m.extract(e||this._m._featuresToExtract,this._m.inputData,this._m.previousInputData):null},e}(),C={audioContext:null,spn:null,bufferSize:512,sampleRate:44100,melBands:26,chromaBands:12,callback:null,windowingFunction:"hanning",featureExtractors:g,EXTRACTION_STARTED:!1,numberOfMFCCCoefficients:13,numberOfBarkBands:24,_featuresToExtract:[],windowing:o,_errors:{notPow2:new Error("Meyda: Buffer size must be a power of 2, e.g. 64 or 512"),featureUndef:new Error("Meyda: No features defined."),invalidFeatureFmt:new Error("Meyda: Invalid feature format"),invalidInput:new Error("Meyda: Invalid input."),noAC:new Error("Meyda: No AudioContext specified."),noSource:new Error("Meyda: No source node specified.")},createMeydaAnalyzer:function(e){return new _(e,Object.assign({},C))},listAvailableFeatureExtractors:function(){return Object.keys(this.featureExtractors)},extract:function(e,t,n){var o=this;if(!t)throw this._errors.invalidInput;if("object"!=typeof t)throw this._errors.invalidInput;if(!e)throw this._errors.featureUndef;if(!r(t.length))throw this._errors.notPow2;void 0!==this.barkScale&&this.barkScale.length==this.bufferSize||(this.barkScale=a(this.bufferSize,this.sampleRate,this.bufferSize)),void 0!==this.melFilterBank&&this.barkScale.length==this.bufferSize&&this.melFilterBank.length==this.melBands||(this.melFilterBank=l(Math.max(this.melBands,this.numberOfMFCCCoefficients),this.sampleRate,this.bufferSize)),void 0!==this.chromaFilterBank&&this.chromaFilterBank.length==this.chromaBands||(this.chromaFilterBank=c(this.chromaBands,this.sampleRate,this.bufferSize)),"buffer"in t&&void 0===t.buffer?this.signal=i(t):this.signal=t;var s=S(t,this.windowingFunction,this.bufferSize);
30if(this.signal=s.windowedSignal,this.complexSpectrum=s.complexSpectrum,this.ampSpectrum=s.ampSpectrum,n){var u=S(n,this.windowingFunction,this.bufferSize);this.previousSignal=u.windowedSignal,this.previousComplexSpectrum=u.complexSpectrum,this.previousAmpSpectrum=u.ampSpectrum}var d=function(e){return o.featureExtractors[e]({ampSpectrum:o.ampSpectrum,chromaFilterBank:o.chromaFilterBank,complexSpectrum:o.complexSpectrum,signal:o.signal,bufferSize:o.bufferSize,sampleRate:o.sampleRate,barkScale:o.barkScale,melFilterBank:o.melFilterBank,previousSignal:o.previousSignal,previousAmpSpectrum:o.previousAmpSpectrum,previousComplexSpectrum:o.previousComplexSpectrum,numberOfMFCCCoefficients:o.numberOfMFCCCoefficients,numberOfBarkBands:o.numberOfBarkBands})};if("object"==typeof e)return e.reduce((function(e,t){var n;return Object.assign({},e,((n={})[t]=d(t),n))}),{});if("string"==typeof e)return d(e);throw this._errors.invalidFeatureFmt}},S=function(e,t,n){var r={};void 0===e.buffer?r.signal=i(e):r.signal=e,r.windowedSignal=o(r.signal,t),r.complexSpectrum=k(r.windowedSignal),r.ampSpectrum=new Float32Array(n/2);for(var a=0;a<n/2;a++)r.ampSpectrum[a]=Math.sqrt(Math.pow(r.complexSpectrum.real[a],2)+Math.pow(r.complexSpectrum.imag[a],2));return r};return"undefined"!=typeof window&&(window.Meyda=C),C}()},1651:function(e,t,n){const{webm:r,mp4:o}=n(427),a=()=>"undefined"!=typeof navigator&&parseFloat((""+(/CPU.*OS ([0-9_]{3,4})[0-9_]{0,1}|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))<10&&!window.MSStream,i=()=>"wakeLock"in navigator;e.exports=class{constructor(){if(this.enabled=!1,i()){this._wakeLock=null;const e=()=>{null!==this._wakeLock&&"visible"===document.visibilityState&&this.enable()};document.addEventListener("visibilitychange",e),document.addEventListener("fullscreenchange",e)}else a()?this.noSleepTimer=null:(this.noSleepVideo=document.createElement("video"),this.noSleepVideo.setAttribute("title","No Sleep"),this.noSleepVideo.setAttribute("playsinline",""),this._addSourceToVideo(this.noSleepVideo,"webm",r),this._addSourceToVideo(this.noSleepVideo,"mp4",o),this.noSleepVideo.addEventListener("loadedmetadata",(()=>{this.noSleepVideo.duration<=1?this.noSleepVideo.setAttribute("loop",""):this.noSleepVideo.addEventListener("timeupdate",(()=>{this.noSleepVideo.currentTime>.5&&(this.noSleepVideo.currentTime=Math.random())}))})))}_addSourceToVideo(e,t,n){var r=document.createElement("source");r.src=n,r.type=`video/${t}`,e.appendChild(r)}get isEnabled(){return this.enabled}enable(){if(i())return navigator.wakeLock.request("screen").then((e=>{this._wakeLock=e,this.enabled=!0,console.log("Wake Lock active."),this._wakeLock.addEventListener("release",(()=>{console.log("Wake Lock released.")}))})).catch((e=>{throw this.enabled=!1,console.error(`${e.name}, ${e.message}`),e}));if(a())return this.disable(),console.warn("\n        NoSleep enabled for older iOS devices. This can interrupt\n        active or long-running network requests from completing successfully.\n        See https://github.com/richtr/NoSleep.js/issues/15 for more details.\n      "),this.noSleepTimer=window.setInterval((()=>{document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))}),15e3),this.enabled=!0,Promise.resolve();return this.noSleepVideo.play().then((e=>(this.enabled=!0,e))).catch((e=>{throw this.enabled=!1,e}))}disable(){i()?(this._wakeLock&&this._wakeLock.release(),this._wakeLock=null):a()?this.noSleepTimer&&(console.warn("\n          NoSleep now disabled for older iOS devices.\n        "),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}}},427:function(e){e.exports={webm:"data:video/webm;base64,GkXfowEAAAAAAAAfQoaBAUL3gQFC8oEEQvOBCEKChHdlYm1Ch4EEQoWBAhhTgGcBAAAAAAAVkhFNm3RALE27i1OrhBVJqWZTrIHfTbuMU6uEFlSua1OsggEwTbuMU6uEHFO7a1OsghV17AEAAAAAAACkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVSalmAQAAAAAAAEUq17GDD0JATYCNTGF2ZjU1LjMzLjEwMFdBjUxhdmY1NS4zMy4xMDBzpJBlrrXf3DCDVB8KcgbMpcr+RImIQJBgAAAAAAAWVK5rAQAAAAAAD++uAQAAAAAAADLXgQFzxYEBnIEAIrWcg3VuZIaFVl9WUDiDgQEj44OEAmJaAOABAAAAAAAABrCBsLqBkK4BAAAAAAAPq9eBAnPFgQKcgQAitZyDdW5khohBX1ZPUkJJU4OBAuEBAAAAAAAAEZ+BArWIQOdwAAAAAABiZIEgY6JPbwIeVgF2b3JiaXMAAAAAAoC7AAAAAAAAgLUBAAAAAAC4AQN2b3JiaXMtAAAAWGlwaC5PcmcgbGliVm9yYmlzIEkgMjAxMDExMDEgKFNjaGF1ZmVudWdnZXQpAQAAABUAAABlbmNvZGVyPUxhdmM1NS41Mi4xMDI
vendor: 4,633 bytes, line 30
30BBXZvcmJpcyVCQ1YBAEAAACRzGCpGpXMWhBAaQlAZ4xxCzmvsGUJMEYIcMkxbyyVzkCGkoEKIWyiB0JBVAABAAACHQXgUhIpBCCGEJT1YkoMnPQghhIg5eBSEaUEIIYQQQgghhBBCCCGERTlokoMnQQgdhOMwOAyD5Tj4HIRFOVgQgydB6CCED0K4moOsOQghhCQ1SFCDBjnoHITCLCiKgsQwuBaEBDUojILkMMjUgwtCiJqDSTX4GoRnQXgWhGlBCCGEJEFIkIMGQcgYhEZBWJKDBjm4FITLQagahCo5CB+EIDRkFQCQAACgoiiKoigKEBqyCgDIAAAQQFEUx3EcyZEcybEcCwgNWQUAAAEACAAAoEiKpEiO5EiSJFmSJVmSJVmS5omqLMuyLMuyLMsyEBqyCgBIAABQUQxFcRQHCA1ZBQBkAAAIoDiKpViKpWiK54iOCISGrAIAgAAABAAAEDRDUzxHlETPVFXXtm3btm3btm3btm3btm1blmUZCA1ZBQBAAAAQ0mlmqQaIMAMZBkJDVgEACAAAgBGKMMSA0JBVAABAAACAGEoOogmtOd+c46BZDppKsTkdnEi1eZKbirk555xzzsnmnDHOOeecopxZDJoJrTnnnMSgWQqaCa0555wnsXnQmiqtOeeccc7pYJwRxjnnnCateZCajbU555wFrWmOmkuxOeecSLl5UptLtTnnnHPOOeecc84555zqxekcnBPOOeecqL25lpvQxTnnnE/G6d6cEM4555xzzjnnnHPOOeecIDRkFQAABABAEIaNYdwpCNLnaCBGEWIaMulB9+gwCRqDnELq0ehopJQ6CCWVcVJKJwgNWQUAAAIAQAghhRRSSCGFFFJIIYUUYoghhhhyyimnoIJKKqmooowyyyyzzDLLLLPMOuyssw47DDHEEEMrrcRSU2011lhr7jnnmoO0VlprrbVSSimllFIKQkNWAQAgAAAEQgYZZJBRSCGFFGKIKaeccgoqqIDQkFUAACAAgAAAAABP8hzRER3RER3RER3RER3R8RzPESVREiVREi3TMjXTU0VVdWXXlnVZt31b2IVd933d933d+HVhWJZlWZZlWZZlWZZlWZZlWZYgNGQVAAACAAAghBBCSCGFFFJIKcYYc8w56CSUEAgNWQUAAAIACAAAAHAUR3EcyZEcSbIkS9IkzdIsT/M0TxM9URRF0zRV0RVdUTdtUTZl0zVdUzZdVVZtV5ZtW7Z125dl2/d93/d93/d93/d93/d9XQdCQ1YBABIAADqSIymSIimS4ziOJElAaMgqAEAGAEAAAIriKI7jOJIkSZIlaZJneZaomZrpmZ4qqkBoyCoAABAAQAAAAAAAAIqmeIqpeIqoeI7oiJJomZaoqZoryqbsuq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq4LhIasAgAkAAB0JEdyJEdSJEVSJEdygNCQVQCADACAAAAcwzEkRXIsy9I0T/M0TxM90RM901NFV3SB0JBVAAAgAIAAAAAAAAAMybAUy9EcTRIl1VItVVMt1VJF1VNVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVN0zRNEwgNWQkAkAEAkBBTLS3GmgmLJGLSaqugYwxS7KWxSCpntbfKMYUYtV4ah5RREHupJGOKQcwtpNApJq3WVEKFFKSYYyoVUg5SIDRkhQAQmgHgcBxAsixAsiwAAAAAAAAAkDQN0DwPsDQPAAAAAAAAACRNAyxPAzTPAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABA0jRA8zxA8zwAAAAAAAAA0DwP8DwR8EQRAAAAAAAAACzPAzTRAzxRBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABA0jRA8zxA8zwAAAAAAAAAsDwP8EQR0DwRAAAAAAAAACzPAzxRBDzRAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEOAAABBgIRQasiIAiBMAcEgSJAmSBM0DSJYFTYOmwTQBkmVB06BpME0AAAAAAAAAAAAAJE2DpkHTIIoASdOgadA0iCIAAAAAAAAAAAAAkqZB06BpEEWApGnQNGgaRBEAAAAAAAAAAAAAzzQhihBFmCbAM02IIkQRpgkAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAGHAAAAgwoQwUGrIiAIgTAHA4imUBAIDjOJYFAACO41gWAABYliWKAABgWZooAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAYcAAACDChDBQashIAiAIAcCiKZQHHsSzgOJYFJMmyAJYF0DyApgFEEQAIAAAocAAACLBBU2JxgEJDVgIAUQAABsWxLE0TRZKkaZoniiRJ0zxPFGma53meacLzPM80IYqiaJoQRVE0TZimaaoqME1VFQAAUOAAABBgg6bE4gCFhqwEAEICAByKYlma5nmeJ4qmqZokSdM8TxRF0TRNU1VJkqZ5niiKommapqqyLE3zPFEURdNUVVWFpnmeKIqiaaqq6sLzPE8URdE0VdV14XmeJ4qiaJqq6roQRVE0TdNUTVV1XSCKpmmaqqqqrgtETxRNU1Vd13WB54miaaqqq7ouEE3TVFVVdV1ZBpimaaqq68oyQFVV1XVdV5YBqqqqruu6sgxQVdd1XVmWZQCu67qyLMsCAAAOHAAAAoygk4wqi7DRhAsPQKEhKwKAKAAAwBimFFPKMCYhpBAaxiSEFEImJaXSUqogpFJSKRWEVEoqJaOUUmopVRBSKamUCkIqJZVSAADYgQMA2IGFUGjISgAgDwCAMEYpxhhzTiKkFGPOOScRUoox55yTSjHmnHPOSSkZc8w556SUzjnnnHNSSuacc845KaVzzjnnnJRSSuecc05KKSWEzkEnpZTSOeecEwAAVOAAABBgo8jmBCNBhYasBABSAQAMjmNZmuZ5omialiRpmud5niiapiZJmuZ5nieKqsnzPE8URdE0VZXneZ4oiqJpqirXFUXTNE1VVV2yLIqmaZqq6rowTdNUVdd1XZimaaqq67oubFtVVdV1ZRm2raqq6rqyDFzXdWXZloEsu67s2rIAAPAEBwCgAhtWRzgpGgssNGQlAJABAEAYg5BCCCFlEEIKIYSUUggJAAAYcAAACDChDBQashIASAUAAIyx1lprrbXWQGettdZaa62AzFprrbXWWmuttdZaa6211lJrrbXWWmuttdZaa6211lprrbXWWmuttdZaa6211lprrbXWWmuttdZaa6211lprrbXWWmstpZRSSimllFJKKaWUUkoppZRSSgUA+lU4APg/2LA6wknRWGChISsBgHAAAMAYpRhzDEIppVQIMeacdFRai7FCiDHnJKTUWmzFc85BKCGV1mIsnnMOQikpxVZjUSmEUlJKLbZYi0qho5JSSq3VWIwxqaTWWoutxmKMSSm01FqLMRYjbE2ptdhqq7EYY2sqLbQYY4zFCF9kbC2m2moNxggjWywt1VprMMYY3VuLpbaaizE++NpSLDHWXAAAd4MDAESCjTOsJJ0VjgYXGrISAAgJACAQUooxxhhzzjnnpFKMOeaccw5CCKFUijHGnHMOQgghlIwx5pxzEEIIIYRSSsaccxBCCCGEkFLqnHMQQgghhBBKKZ1zDkIIIYQQQimlgxBCCCGEEEoopaQU
vendor: 7,016 bytes, line 30
30QgghhBBCCKmklEIIIYRSQighlZRSCCGEEEIpJaSUUgohhFJCCKGElFJKKYUQQgillJJSSimlEkoJJYQSUikppRRKCCGUUkpKKaVUSgmhhBJKKSWllFJKIYQQSikFAAAcOAAABBhBJxlVFmGjCRcegEJDVgIAZAAAkKKUUiktRYIipRikGEtGFXNQWoqocgxSzalSziDmJJaIMYSUk1Qy5hRCDELqHHVMKQYtlRhCxhik2HJLoXMOAAAAQQCAgJAAAAMEBTMAwOAA4XMQdAIERxsAgCBEZohEw0JweFAJEBFTAUBigkIuAFRYXKRdXECXAS7o4q4DIQQhCEEsDqCABByccMMTb3jCDU7QKSp1IAAAAAAADADwAACQXAAREdHMYWRobHB0eHyAhIiMkAgAAAAAABcAfAAAJCVAREQ0cxgZGhscHR4fICEiIyQBAIAAAgAAAAAggAAEBAQAAAAAAAIAAAAEBB9DtnUBAAAAAAAEPueBAKOFggAAgACjzoEAA4BwBwCdASqwAJAAAEcIhYWIhYSIAgIABhwJ7kPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99YAD+/6tQgKOFggADgAqjhYIAD4AOo4WCACSADqOZgQArADECAAEQEAAYABhYL/QACIBDmAYAAKOFggA6gA6jhYIAT4AOo5mBAFMAMQIAARAQABgAGFgv9AAIgEOYBgAAo4WCAGSADqOFggB6gA6jmYEAewAxAgABEBAAGAAYWC/0AAiAQ5gGAACjhYIAj4AOo5mBAKMAMQIAARAQABgAGFgv9AAIgEOYBgAAo4WCAKSADqOFggC6gA6jmYEAywAxAgABEBAAGAAYWC/0AAiAQ5gGAACjhYIAz4AOo4WCAOSADqOZgQDzADECAAEQEAAYABhYL/QACIBDmAYAAKOFggD6gA6jhYIBD4AOo5iBARsAEQIAARAQFGAAYWC/0AAiAQ5gGACjhYIBJIAOo4WCATqADqOZgQFDADECAAEQEAAYABhYL/QACIBDmAYAAKOFggFPgA6jhYIBZIAOo5mBAWsAMQIAARAQABgAGFgv9AAIgEOYBgAAo4WCAXqADqOFggGPgA6jmYEBkwAxAgABEBAAGAAYWC/0AAiAQ5gGAACjhYIBpIAOo4WCAbqADqOZgQG7ADECAAEQEAAYABhYL/QACIBDmAYAAKOFggHPgA6jmYEB4wAxAgABEBAAGAAYWC/0AAiAQ5gGAACjhYIB5IAOo4WCAfqADqOZgQILADECAAEQEAAYABhYL/QACIBDmAYAAKOFggIPgA6jhYICJIAOo5mBAjMAMQIAARAQABgAGFgv9AAIgEOYBgAAo4WCAjqADqOFggJPgA6jmYECWwAxAgABEBAAGAAYWC/0AAiAQ5gGAACjhYICZIAOo4WCAnqADqOZgQKDADECAAEQEAAYABhYL/QACIBDmAYAAKOFggKPgA6jhYICpIAOo5mBAqsAMQIAARAQABgAGFgv9AAIgEOYBgAAo4WCArqADqOFggLPgA6jmIEC0wARAgABEBAUYABhYL/QACIBDmAYAKOFggLkgA6jhYIC+oAOo5mBAvsAMQIAARAQABgAGFgv9AAIgEOYBgAAo4WCAw+ADqOZgQMjADECAAEQEAAYABhYL/QACIBDmAYAAKOFggMkgA6jhYIDOoAOo5mBA0sAMQIAARAQABgAGFgv9AAIgEOYBgAAo4WCA0+ADqOFggNkgA6jmYEDcwAxAgABEBAAGAAYWC/0AAiAQ5gGAACjhYIDeoAOo4WCA4+ADqOZgQObADECAAEQEAAYABhYL/QACIBDmAYAAKOFggOkgA6jhYIDuoAOo5mBA8MAMQIAARAQABgAGFgv9AAIgEOYBgAAo4WCA8+ADqOFggPkgA6jhYID+oAOo4WCBA+ADhxTu2sBAAAAAAAAEbuPs4EDt4r3gQHxghEr8IEK",mp4:"data:video/mp4;base64,AAAAHGZ0eXBNNFYgAAACAGlzb21pc28yYXZjMQAAAAhmcmVlAAAGF21kYXTeBAAAbGliZmFhYyAxLjI4AABCAJMgBDIARwAAArEGBf//rdxF6b3m2Ui3lizYINkj7u94MjY0IC0gY29yZSAxNDIgcjIgOTU2YzhkOCAtIEguMjY0L01QRUctNCBBVkMgY29kZWMgLSBDb3B5bGVmdCAyMDAzLTIwMTQgLSBodHRwOi8vd3d3LnZpZGVvbGFuLm9yZy94MjY0Lmh0bWwgLSBvcHRpb25zOiBjYWJhYz0wIHJlZj0zIGRlYmxvY2s9MTowOjAgYW5hbHlzZT0weDE6MHgxMTEgbWU9aGV4IHN1Ym1lPTcgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MSBtZV9yYW5nZT0xNiBjaHJvbWFfbWU9MSB0cmVsbGlzPTEgOHg4ZGN0PTAgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz02IGxvb2thaGVhZF90aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBucj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9MCBjb25zdHJhaW5lZF9pbnRyYT0wIGJmcmFtZXM9MCB3ZWlnaHRwPTAga2V5aW50PTI1MCBrZXlpbnRfbWluPTI1IHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NDAgcmM9Y3JmIG1idHJlZT0xIGNyZj0yMy4wIHFjb21wPTAuNjAgcXBtaW49MCBxcG1heD02OSBxcHN0ZXA9NCB2YnZfbWF4cmF0ZT03NjggdmJ2X2J1ZnNpemU9MzAwMCBjcmZfbWF4PTAuMCBuYWxfaHJkPW5vbmUgZmlsbGVyPTAgaXBfcmF0aW89MS40MCBhcT0xOjEuMDAAgAAAAFZliIQL8mKAAKvMnJycnJycnJycnXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXiEASZACGQAjgCEASZACGQAjgAAAAAdBmjgX4GSAIQBJkAIZACOAAAAAB0GaVAX4GSAhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZpgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGagC/AySEASZACGQAjgAAAAAZBmqAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZrAL8DJIQBJkAIZACOAAAAABkGa4C/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmwAvwMkhAEmQAhkAI4AAAAAGQZsgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGbQC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBm2AvwMkhAEmQAhkAI4AAAAAGQZuAL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGboC/AySEASZACGQAjgAAAAAZBm8AvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZvgL8DJIQBJkAIZACOAAAAABkGaAC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmiAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZpAL8DJIQBJkAIZACOAAAAABkGaYC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBmoAvwMkhAEmQAhkAI4AAAAAGQZqgL8DJIQBJkAIZACOAIQBJkAIZACOAAAAABkGawC/AySEASZACGQAjgAAAAAZBmuAvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZsAL8DJIQBJkAIZACOAAAAABkGbIC/AySEASZACGQAjgCEASZACGQAjgAAAAAZBm0AvwMkhAEmQAhkAI4AhAEmQAhkAI4AAAAAGQZtgL8DJIQBJkAIZACOAAAAABkGbgCvAySEASZACGQAjgCEASZACGQAjgAAAAAZBm6AnwMkhAEmQAhkAI4AhAEmQAhkAI4AhAEmQAhkAI4AhAEmQAhkAI4AAAAhubW9vdgAAAGxtdmhkAAAAAAAAAAAAAAAAAAAD6AAABDcAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAzB0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAABAAAAAAAAA+kAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAALAAAACQAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAPpAAAAAAABAAAAAAKobWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAAB1MAAAdU5VxAAAAAAALWhkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaWRlb0hhbmRsZXIAAAACU21pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAhNzdGJsAAAAr3N0c2QAAAAAAAAAAQAAAJ9hdmMxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAALAAkABIAAAASAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGP//AAAALWF2Y0MBQsAN/+EAFWdCwA3ZAsTsBEAAAPpAADqYA8UKkgEABWjLg8sgAAAAHHV1aWRraEDyXyRPxbo5pRvPAyPzAAAAAAAAABhzdHRzAAAAAAAAAAEAAAAeAAAD6QAAABRzdHNzAAAAAAAAAAEAAAABAAAAHHN0c2MAAAAAAAAAAQAAAAEAAAABAAAAAQAAAIxzdHN6AAAAAAAAAAAAAAAeAAADDwAAAAsAAAALAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAACgAAAAoAAAAKAAAAiHN0Y28AAAAAAAAAHgAAAEYAAANnAAADewAAA5gAAAO0AAADxwAAA+MAAAP2AAAEEgAABCUAAARBAAAEXQAABHAAAASMAAAEnwAABLsAAATOAAAE6gAABQYAAAUZAAAFNQAABUgAAAVkAAAFdwAABZMAAAWmAAAFwgAABd4AAAXxAAAGDQAABGh0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAACAAAAAAAABDcAAAAAAAAAAAAAAAEBAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAQkAAADcAABAAAAAAPgbWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAAC7gAAAykBVxAAAAAAALWhkbHIAAAAAAAAAAHNvdW4AAAAAAAAAAAAAAABTb3VuZEhhbmRsZXIAAAADi21pbmYAAAAQc21oZAAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAADT3N0YmwAAABnc3RzZAAAAAAAAAABAAAAV21wNGEAAAAAAAAAAQAAAAAAAAAAAAIAEAAAAAC7gAAAAAAAM2VzZHMAAAAAA4CAgCIAAgAEgICAFEAVBbjYAAu4AAAADcoFgICAAhGQBoCAgAECAAAAIHN0dHMAAAAAAAAAAgAAADIAAAQAAAAAAQAAAkAAAAFUc3RzYwAAAAAAAAAbAAAAAQAAAAEAAAABAAAAAgAAAAIAAAABAAAAAwAAAAEAAAABAAAABAAAAAIAAAABAAAABgAAAAEAAAABAAAABwAAAAIAAAABAAAACAAAAAEAAAABAAAACQAAAAIAAAABAAAACgAAAAEAAAABAAAACwAAAAIAAAABAAAADQAAAAEAAAABAAAADgAAAAIAAAABAAAADwAAAAEAAAABAAAAEAAAAAIAAAABAAAAEQAAAAEAAAABAAAAEgAAAAIAAAABAAAAFAAAAAEAAAABAAAAFQAAAAIAAAABAAAAFgAAAAEAAAABAAAAFwAAAAIAAAABAAAAGAAAAAEAAAABAAAAGQAAAAIAAAABAAAAGgAAAAEAAAABAAAAGwAAAAIAAAABAAAAHQAAAAEAAAABAAAAHgAAAAIAAAABAAAAHwAAAAQAAAABAAAA4HN0c3oAAAAAAAAAAAAAADMAAAAaAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAACMc3RjbwAAAAAAAAAfAAAALAAAA1UAAANyAAADhgAAA6IAAAO+AAAD0QAAA+0AAAQAAAAEHAAABC8AAARLAAAEZwAABHoAAASWAAAEqQAABMUAAATYAAAE9AAABRAAAAUjAAAFPwAABVIAAAVuAAAFgQAABZ0AAAWwAAAFzAAABegAAAX7AAAGFwAAAGJ1ZHRhAAAAWm1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALWlsc3QAAAAlqXRvbwAAAB1kYXRhAAAAAQAAAABMYXZmNTUuMzMuMTAw"}}
30,3491:function(e){(function(){var t,n,r,o,a,i;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-a)/1e6},n=process.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),i=1e9*process.uptime(),a=o-i):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},7899:function(e,t,n){var r=n(6698),o=n(7007).EventEmitter,a=n(3716),i=n(3146);function s(e){if(!(this instanceof s))return new s(e);this.running=!1,this.last=a(),this._frame=0,this._tick=this.tick.bind(this),e&&this.on("tick",e)}e.exports=s,r(s,o),s.prototype.start=function(){if(!this.running)return this.running=!0,this.last=a(),this._frame=i(this._tick),this},s.prototype.stop=function(){return this.running=!1,0!==this._frame&&i.cancel(this._frame),this._frame=0,this},s.prototype.tick=function(){this._frame=i(this._tick);var e=a(),t=e-this.last;this.emit("tick",t),this.last=e}},3146:function(e,t,n){for(var r=n(3491),o="undefined"==typeof window?n.g:window,a=["moz","webkit"],i="AnimationFrame",s=o["request"+i],l=o["cancel"+i]||o["cancelRequest"+i],c=0;!s&&c<a.length;c++)s=o[a[c]+"Request"+i],l=o[a[c]+"Cancel"+i]||o[a[c]+"CancelRequest"+i];if(!s||!l){var u=0,d=0,h=[],m=1e3/60;s=function(e){if(0===h.length){var t=r(),n=Math.max(0,m-(t-u));u=n+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return h.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return s.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}},3716:function(e,t,n){e.exports=n.g.performance&&n.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},9335:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAABYlAAAWJQFJUiTwAAACA0lEQVR42m2SS2saYRiF5ydUAu3OtT9FCZWqqNWFvRKE1uioO23oZdRoYyBtRXQUFEEa0Bh1rt7SjdB0JbbrFldZxD8gZeb0m68T00UHHs5w3nkPh+FlGPI0m80djuM+7e3tXfn9fp0An8/3H7zwem9xuVya0+m8stvtH202246RxSyXS0u1Wv22H4ng+bOnWiy2jzgb+0v8VhNxliiLRCKOpEnk5Qs89Ps0EgyHw3FptVotzHw+zx8cvMLbN683g/65rioyDBRZgkJUNtREpohbbzjog69W9CePH21crgfYvb+bYzqdzs9kMglVlfUvFzNczKaYTsaYEKbTiQl5n0wokxvPnI/HKj6cnGgejwdut/s
3070263f+dyWcym0+2SIpNmtN1NQ5m2Vcz2qjkXJRGjkYpWq4VgMIhAILBhRqPRr1QqRRoquiCKkEiAgSAJ20BjWaKhCsXwJIl8IwoQRQn1ek0LhUIIh8M/mPV6XSgeH+P90dGGBOrD4RD9wQBnvR5VURApgiCAzoYD6p/3++icdfH59FRnWXYTjcZALiXHALAsFovLYrGIdDqtcZkMMtksJXd4iHy+gAIh/w9Z4huzdxyHGMtqZA+lUulrNBq9Q0+HhN5brValXq93XavVwddqqJnwPE+p8lWQ8yLKU61UKiiXy2g0Gtfk15S63e5dI+wP4eXZEFCbsGYAAAAASUVORK5CYII="},"images":{"fallback":{"src":"/static/b67ccf601bbeb9a65e97011b172be18a/90f0c/power_on.png","srcSet":"/static/b67ccf601bbeb9a65e97011b172be18a/58da8/power_on.png 52w,\\n/static/b67ccf601bbeb9a65e97011b172be18a/dcefb/power_on.png 104w,\\n/static/b67ccf601bbeb9a65e97011b172be18a/90f0c/power_on.png 208w","sizes":"(min-width: 208px) 208px, 100vw"},"sources":[{"srcSet":"/static/b67ccf601bbeb9a65e97011b172be18a/cbfcf/power_on.webp 52w,\\n/static/b67ccf601bbeb9a65e97011b172be18a/c8c8a/power_on.webp 104w,\\n/static/b67ccf601bbeb9a65e97011b172be18a/64e5d/power_on.webp 208w","type":"image/webp","sizes":"(min-width: 208px) 208px, 100vw"}]},"width":208,"height":96}')},1023:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEIklEQVR42nVUWU8bVxSeX8Cv4AEIi8RfQIB4QIR9B7GJF8RfQErUqm0qBUIpJoQqhaq4lFBQbGPjdWbs8ZrgBdvYBmpDAEt0FU+J0Hw95wKlLx3p07lz7rnfPeuV1tbWSqamplbGx8c/TUxMgKQ+NjaG0dFRjIyMYHh4GENDQwIDAwMC/f396O3tRU9Pj97R0YH6+vqPtbW1K6WlpSXS5uamYXZ2lg1vurq60N3djW6SvO7s7AQfYLS3t6OtrU2gldHaisePW9Hc3IympqablpYWEKlBkmX5uq6uDp9/9kRXFTdsVgvse1Y4HDa4nA64XU543E4oshteVYbPqxBU+DUfNEIsug+DYVEnUjQ2Nl5LZrNZLysrA5P9/dcfuLg4Q/Hy/F9cXny4lZcP8pJs2I7ln7//hv3374Sn5L3OhCgvL4fFbMKH8zNks4c4Ocrh+DiHE8IxrY+OsjjKMXJi71bP/xmcn50Kbzl8TpdksVgEoentDs5o8/AwTaQZ5O7AF2Qzh8iwniQTsz6TSQvbQuEEms8rckpFgrS7uysIt7e3cHZaQDqdxGE6JQhYplJJoUulDoQUeiYX+0kRiaoqolhceclqtQnCN282UPj1BMmDBNKpW9Jk8gAHB3GhS4l1Quge9hPIUdgej1t0QV9fHySbzYaKinL8ZFwX+eKqJeIxxGJRxEnG4yT/s2Z9IhEXNqxjj91ut2gt7k9pb2+PCCtgXP/xLsw0ovv7kOlWRZGp+rKQiuyBTBA6CtFu30PA7xfhOx0O0bPc9JLdbheEP6ytUSgpylMKxeIl8vk8JTyPfKFAyAuc0rpAOKVcZ7NZhCNh4S2T8yAMDg5CcjqdgvDVyivEadMf8CMUDiEQCiAYDCISiRDCAkwQDt8iEAwgEAhQOmKwWq2CkMfzlvDRIywtv0SMcqJpGjT/A0JEGg6FhGTwhaz3kZ3q9eI9pWeXWo97kOde4oSyh98sLGCfCuIlIx81Kh/gHPkJfImXes2v+REkr+7/2Za9fWsyiR7kx0TyeDyCcO7FPI0QESoqzapXQFVV4QVDIb3M/+r9vo8KRjNNF2zv7Ige5BeKHwc8opCfP59FJBwBX8A6t0eG507yQUVR4KI91jFkWRHQ/AFsbf0ievCeUGcPv11YpGlIU6KDVIwQ3RyExuHRAfYiyP8UPqdC0wLwihz6qFDvKIe7gpDeUV2KRqPXVVVV5HKfPjc/jy++eoYvn32N2bkXWFw0YNGwhJfLy9QF3+H196t4vbqKVWqx9XUjNjZ+htlswdMnT3XuwcnJyWvp6upqiT7U1NTcVFZWgsnvUV1d/b8gewG2a2houOFHenp62iABKCkWiyvUUx85d5RDnSvvcrnALeWgKeBpYvCYcs9Z6EHhZ89kMukE1n8yGo0rMzMzJf8ArEyTuNsq59EAAAAASUVORK5CYII="},"images":{"fallback":{"src":"/static/9881bfbf253c02c9e0a0c94bf65166b7/e3fe2/off.png","srcSet":"/static/9881bfbf253c02c9e0a0c94bf65166b7/2391d/off.png 24w,\\n/static/9881bfbf253c02c9e0a0c94bf65166b7/fcdb9/off.png 48w,\\n/static/9881bfbf253c02c9e0a0c94bf65166b7/e3fe2/off.png 96w","sizes":"(min-width: 96px) 96px, 100vw"},"sources":[{"srcSet":"/static/9881bfbf253c02c9e0a0c94bf65166b7/4e704/off.webp 24w,\\n/static/9881bfbf253c02c9e0a0c94bf65166b7/e78b1/off.webp 48w,\\n/static/9881bfbf253c02c9e0a0c94bf65166b7/8ef24/off.webp 96w","type":"image/webp","sizes":"(min-width: 96px) 96px, 100vw"}]},"width":96,"height":96}')},8846:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAABqbAAAamwHdbkbTAAAB+klEQVR42j3SS28SURgG4Pkp/gCWblyQsCixQrnfu2CFDdHqolbDtYE1C/4AO5uAEAQGmgodukGdmVJxIwxDirbcaqKp0W1P5/XMDOniyfm+LznnzMw7TC6X80aj0V+hUAjBYFAJBALw+/3w+XzweL1wu91wuVxwOp1wUHa7HTabDVtbW7BarbBYLIrZbIbRaLwwGAyPmEKhsNrZeYpY7I2SiMeRSOiS9xKaVFKVRCqlS6dSunSa7o3dbW+HYDKZzhi1efliV/n39w8uf0wxv7rEfKZbzK+omWa5mGG1nNN1jtVqgWvNEj+vl7i5+a0cpA/Up10w+/uvld3nz+hh3zGWRvj65RyiwEMU+ftVENb4z+uZoM0/fezhjNbyWFIymQw8Hs+CicfjSiQSoUMZo+EI0+kFZFnWTWSM5fGajMlkos0lSYI0lvBtOARPLxkMBko2m1W//ZKhBXm8uXl73G6T6vsaqbMsYZstUms0SOvoiLTbHU2nc0JOOI7qEu70lHRozXW7pNfrEZ7nb/de7SEcDs8ZjuNGaqobG+Y7C03ticWip0dZaZJ2uwMOh0NLWUMTV1N3qelTXv1PIPRNQR0zAB72+/0PzWazTwmtVktsNBqaer0u1mo1sVqtipVKRVMul8VSqSQWi0XN28NDgfbnLMu+y+fzD/4DpH+z7qNAeFYAAAAASUVORK5CYII="},"images":{"fallback":{"src":"/static/535b648f426d97c0eeb91c93448e28e1/614af/off_mobile.png","srcSet":"/static/535b648f426d97c0eeb91c93448e28e1/5dd09/off_mobile.png 38w,\\n/static/535b648f426d97c0eeb91c93448e28e1/3b094/off_mobile.png 75w,\\n/static/535b648f426d97c0eeb91c93448e28e1/614af/off_mobile.png 150w","sizes":"(min-width: 150px) 150px, 100vw"},"sources":[{"srcSet":"/static/535b648f426d97c0eeb91c93448e28e1/e0452/off_mobile.webp 38w,\\n/static/535b648f426d97c0eeb91c93448e28e1/61789/off_mobile.webp 75w,\\n/static/535b648f426d97c0eeb91c93448e28e1/ae087/off_mobile.webp 150w","type":"image/webp","sizes":"(min-width: 150px) 150px, 100vw"}]},"width":150,"height":59}')},8751:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAABYlAAAWJQFJUiTwAAACgklEQVR42k2TSY/aQBCF/bOjKJdoFI2iZBY2YzAeb5gdA2ZfAgO2wexJpMz/SA6Wei4v1Q2j5PDplV9JXeXuKmneUP+cT8fXfRSw/XbNDrsNO+4joZwTxafDVnhcOefTnn0nfpwP7Of5SBzYy8sv5nvmqzQsy3GwDvG8mGG1XMBfPSPwl8QzfP8Sh5zQRxisBGuK1+sL202IXRTieDpj4WqQXO1L3B8N0eu2Meh3MRz0MBr2MSFvPL4wnYyIMabTMWaCCWazf3wjnlc+Bk4aUkW5jWvNFiqVEirVCqpErV4VNBp1NJsNuG4TrZYLr9Omwh56vS76RJdi7
30/o9mEzRMR8g2amb2CqWYBg6NE2Dks8jp6pQtQKedB2GacIq2ig6Dkzbhu0Ur4WrQmv1uijstrtwtXtIyuf38WM6i1Q6DTnLNYOHZBJJ0kxWQZo8WVGgFjTk1QIK2hMM3aAGTOgEV15Yt0tw5FtI8u27+C6ZwWMigcdkSvCQSNKhKSRSaWRkOlTO0sEKlFweWSKj5ITmqUiOiqiFAjSjCDPxEZJ2/yGWVQ1ZJUsdqCLJlXejUycm/TKH/7puGKKbJ7oe07ZgWORblriOSq2JovwJkpW+iU2nBJOSNt2VUyqiXC6Jx6nXa6jWqv89Vk14F7+CMnk8V2/U4Ho9NLU7PjZf47bXpdck022geYXHnU4LHa9Nr9lBn0ZqNOhjPBzQaPUF/HU9yon8eAzPSkAaOunYDwLM+Tx9uzB/Yz4VA79czi9DT6wo5t98ATgroXNsogjTeg7SpCL/jrbRa+gv2CZcsnVAXJU2hIXBm7dim7XPok3AtrSmO1rT3TZktCUsIv9wPLJZI8f+Ah8H2fOnTaU/AAAAAElFTkSuQmCC"},"images":{"fallback":{"src":"/static/9c09dfa49c8d2f19848bd34a5719ee4e/e2038/machine.png","srcSet":"/static/9c09dfa49c8d2f19848bd34a5719ee4e/76b47/machine.png 571w,\\n/static/9c09dfa49c8d2f19848bd34a5719ee4e/6713d/machine.png 1142w,\\n/static/9c09dfa49c8d2f19848bd34a5719ee4e/e2038/machine.png 2284w","sizes":"(min-width: 2284px) 2284px, 100vw"},"sources":[{"srcSet":"/static/9c09dfa49c8d2f19848bd34a5719ee4e/b4df4/machine.webp 571w,\\n/static/9c09dfa49c8d2f19848bd34a5719ee4e/9ae8c/machine.webp 1142w,\\n/static/9c09dfa49c8d2f19848bd34a5719ee4e/dea67/machine.webp 2284w","type":"image/webp","sizes":"(min-width: 2284px) 2284px, 100vw"}]},"width":2284,"height":1408}')},8348:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAABYlAAAWJQFJUiTwAAACwElEQVR42q1U3VLTQBQu1acRBcY3cBzfgxt9BuUm+gzOqDPceO29UKHV4YZCpUVaStOmTQK0TdJuUprdZje96HrO9offAfzJzJk92c1+Od853zmJxB2PlHIOLDm1xN88k8tzt/1E+1PwL1I+yAeNBSsmyw0RrDQEeWPFveUidRe0H9rDe0eG6y515gHgg8m7pRr3WpXIJeXIIeibgpQMQT7tUffJxTs30sC1TJvPLe7vVrjrbTObpMPaINXX42+hLjLUYLiHZ5bwd0rceXbx7jUw/Ct8uFeM2s5GaNA1WpWbzJDfWV0Z+moPzoq87Zjcz+4Q+9FV0LGjJZKWIKs699w0rfdTrCa3WGOUi05Ghagp0dDfYuYIz9K0Fla445jCf5+QieQMS5OaejlgracQnbE9sAlGARdlgbdkibvycGLoF6KWOlujuswy2zc5OczH7sIsymlS60P/lcG7HYiObgC1XHSqAMrClUfCU4Y+5A0jlRsQ5SbkFwtVByXMCjQFNEWg6bxzth7qPMMaMg+RYFQIVBUdqYNVwMe9PNDPQE5TUCgoEAFFrFwDBI29BcD+eh+qqQCbM0B9Anh0EyDIyRLB62uAdQ6UBSFpkMaY8omid4kyn1AejCnjtzWBlHvnlKdF2Y+9JWsYmFl23PsKCVdFiVoK4Lwozrgo1FTyyTILitItl2JvUQlFQyw5kQ2sxyJYrfJOADoLlWyoOcoNTkdIEQ193EupghiQbbcNnfPxkmwuinKfHs/bw95BMXJ9FO9aqCsxY07R0F8PJ8IG8dvC381
30R5/Gt3VKkrRcAWtJ59wzoB5nQYNB6AgsAbQitZ5GjyO2CZn9im94IdnU45GGi2KL3GbrArPGuX+FevyI6Z5CODrRbFWiu/jqPLHnv8XXImkso+AZICgbGOzP2XxaYt4hn/33A/uv0Hpt2N8hvW45WQoYh5aMAAAAASUVORK5CYII="},"images":{"fallback":{"src":"/static/ab2c26bc8f0ab2e948a35350248af7fb/fcdb9/green.png","srcSet":"/static/ab2c26bc8f0ab2e948a35350248af7fb/29278/green.png 12w,\\n/static/ab2c26bc8f0ab2e948a35350248af7fb/2391d/green.png 24w,\\n/static/ab2c26bc8f0ab2e948a35350248af7fb/fcdb9/green.png 48w","sizes":"(min-width: 48px) 48px, 100vw"},"sources":[{"srcSet":"/static/ab2c26bc8f0ab2e948a35350248af7fb/30aa9/green.webp 12w,\\n/static/ab2c26bc8f0ab2e948a35350248af7fb/4e704/green.webp 24w,\\n/static/ab2c26bc8f0ab2e948a35350248af7fb/e78b1/green.webp 48w","type":"image/webp","sizes":"(min-width: 48px) 48px, 100vw"}]},"width":48,"height":48}')},2482:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAdABQDASIAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAAIDAQT/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/aAAwDAQACEAMQAAAB7iDRYkGMmysKH//EABcQAQEBAQAAAAAAAAAAAAAAAAARAhP/2gAIAQEAAQUCmUymVVURHR0dH//EABcRAAMBAAAAAAAAAAAAAAAAAAABEhD/2gAIAQMBAT8ByWSz/8QAFxEBAAMAAAAAAAAAAAAAAAAAAAEREv/aAAgBAgEBPwGlNQ1D/8QAFxABAQEBAAAAAAAAAAAAAAAAMQABIP/aAAgBAQAGPwIyMjOyIv/EABoQAAICAwAAAAAAAAAAAAAAAAAR8PEBECD/2gAIAQEAAT8hoiqK7XHP5smybP/aAAwDAQACAAMAAAAQT/p9/8QAFxEAAwEAAAAAAAAAAAAAAAAAAAEREP/aAAgBAwEBPxCsr0P/xAAWEQEBAQAAAAAAAAAAAAAAAAARABD/2gAIAQIBAT8QEND/xAAcEAACAQUBAAAAAAAAAAAAAAAAASEQETFBUXH/2gAIAQEAAT8QVeMJfob0UBdo8ihgywEHawR0H//Z"},"images":{"fallback":{"src":"/static/b8895522fac42536a3096daf332799f2/2ff79/machine_background_mobile.jpg","srcSet":"/static/b8895522fac42536a3096daf332799f2/c28c6/machine_background_mobile.jpg 192w,\\n/static/b8895522fac42536a3096daf332799f2/6e5c7/machine_background_mobile.jpg 384w,\\n/static/b8895522fac42536a3096daf332799f2/2ff79/machine_background_mobile.jpg 768w","sizes":"(min-width: 768px) 768px, 100vw"},"sources":[{"srcSet":"/static/b8895522fac42536a3096daf332799f2/5ecfe/machine_background_mobile.webp 192w,\\n/static/b8895522fac42536a3096daf332799f2/30c7d/machine_background_mobile.webp 384w,\\n/static/b8895522fac42536a3096daf332799f2/f7474/machine_background_mobile.webp 768w","type":"image/webp","sizes":"(min-width: 768px) 768px, 100vw"}]},"width":768,"height":1109}')},583:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAABYlAAAWJQFJUiTwAAADdElEQVR42qVVW08TQRTGaPRRfBAiPtgH9V38BSYmvEE0ISIgjZoQQa0iMUFDAi/6rvFWCnhpK9BKS0JoUdQWW6RQC1qJN+iV7UVaaZV2y3ZndpyzLbUqGgiTnM3JnJkv8833ndmCgjUMQsgmiIKNDKLRbPU1VO+I1lXujkkrJDHpMQnkRFpRCLX1AG0ONZ8pijQ3HGTv363hRobauTHzTd46eoMbMbazXfdq47S21FxbBGv/CyYYDNu+t1zaz3XfqeYdNjXyuqaxz+3GXheDPS4G+TxumOMdk2pWcbsW1sKeVcFMJtOWeFPj3tSTnnPY9Xkc+zx+ZB+LIqOORXp1WgzIJ61RqGHXl7G0Rt2YamvaC3v/AgxfkRWzDxS1yOOeRHMfGTSkTQqaLkIGVEQY7BVDzPu6CDI8SaLZTww/93mM7bh1fOnK6eK/BEhcPVvKz7zvo7Tm+SFtgmi7CX6qF4jZKAiWZ0R49YxALs7RGgVN0LU+Sv9hvKXh4Ey+UFTFQvaxQoqCwY/Ibo2S3k4iPNURACI2EyETo5mwmencSKbW10ko/W/I553m7nfUxKTSwhxgpKq8hLe+vI6CAQboEL2SCGZjBsxuIWTqdSYgp3NiTfeIYGN/Evk97vRzQ1vyVHlJzrSxijIJPzVxDwf8C0in5ITBnszp4FQA5LRnAnI6J14BXUPXprHXzXCvR2+AT0Xzw4c9emgP77DLUZCJYJ1y+Z+AjhXAEVEkrFdxCACpR1MrgCLl8sOUsvk6CodCQIPoKGUTpTVuztB05FEez1Km1/KL8nBbsqqqJE8UaSGr7qjDC+FZ9MYWE3oUv0QB0JwopgxdqPXmRHnLUbvFLuSJItrmYn0p/vBei7+GvyJDf842eMU2lqxthnVZ2/QnkJfaZsquirfIfrcNjCWZrJjrllfjAPOO93oiPFUbrEH0ecaGXEPBqOnRl08B5Jm1QZuGZX8YWzxltvWWB7QyEmScOByKUPqL9ERJBJevV3L0VEnwKZ730t6em4A2TdE9q7Ze7nFole3jHspPoBnnAAWdBaFQcD6CGf8CDjIMYvwfkHNaA2Zebr2875+PQ/7z9eP8yZ2JS6cOsOquOlCfd0zIqU/lvOXFNVbVeSJ2ub50Tc/Xn/29WF+5PVFWtit2rEyySL2aqDmyCxxBZtbxwG70F/ATOdlVqIXVPFcAAAAASUVORK5CYII="},"images":{"fallback":{"src":"/static/8200f8c9715fefe6243aab3d97a49ff2/fcdb9/red.png","srcSet":"/static/8200f8c9715fefe6243aab3d97a49ff2/29278/red.png 12w,\\n/static/8200f8c9715fefe6243aab3d97a49ff2/2391d
30/red.png 24w,\\n/static/8200f8c9715fefe6243aab3d97a49ff2/fcdb9/red.png 48w","sizes":"(min-width: 48px) 48px, 100vw"},"sources":[{"srcSet":"/static/8200f8c9715fefe6243aab3d97a49ff2/30aa9/red.webp 12w,\\n/static/8200f8c9715fefe6243aab3d97a49ff2/4e704/red.webp 24w,\\n/static/8200f8c9715fefe6243aab3d97a49ff2/e78b1/red.webp 48w","type":"image/webp","sizes":"(min-width: 48px) 48px, 100vw"}]},"width":48,"height":48}')},7571:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAABYlAAAWJQFJUiTwAAACF0lEQVR42k2SS08aURiG5yfUmLR/gQ1LEvf+BVJ/gQzjovaiDqAhrDBtJdSIiWEBXbhpqKnCpsVF5X6ZC3NB6wAFEYQYfwFpZt6ec8Smkzx53/f7zvctzhmOI9/5+fni2tpaguf5qSD4HQIEvx9+P/8Iz4P/H5+Psbq6ar9cWZl6PJ4Dl8u1SHdxABbC4XDzMJGAqkj28KaP8e0NRoRbynDA/Hg0JDrE3fiWMZmMMbkb4bJt2onEAZaXlxtut3uBOzpKvt/b+0gHZ8ObgdPrWuh1Ouh0rtHtWEw7FmHuLesXy7RHfb/fc+7vp7N4PI6lpaVdLhKJ9E++ZvC713VMQ0fb1GHoGnStBZoNg3iSqbK63mJqGPo/7VrXdrFQgNfrNblgMPgn/+M7rtptmLqOq8tLtkyb05pDl9KsaxpDI1mWZSiKzHrFYoHct3/G7ezsDFKpFEzTcKrVKiRJhiRLaDQb7LBMvKzQGh1WoKgq6z+eaaJWq0FVVTufz8Pn87W54+PjD6/W11EslWeSrLCl5UoFhWKRaZ0M1Gt1NlghvRKp0XqpXMbPiwtUqzVHkZXZ/qd9CIKwy145Go02Xr95i1T6s505OcET305PcXaWRS6bQ3ZOLpfDaTbLOCP+SyZjx2IxhEKhejqdfvb067xIJpOH7zY2HjY3N/GEuCViiyCKRMVHDQQCDHGuoe3tB/LCh5qmPafL/gJRfwz6VzI2KQAAAABJRU5ErkJggg=="},"images":{"fallback":{"src":"/static/b63b989e8263393a752111aef734fc45/90f0c/power_off.png","srcSet":"/static/b63b989e8263393a752111aef734fc45/58da8/power_off.png 52w,\\n/static/b63b989e8263393a752111aef734fc45/dcefb/power_off.png 104w,\\n/static/b63b989e8263393a752111aef734fc45/90f0c/power_off.png 208w","sizes":"(min-width: 208px) 208px, 100vw"},"sources":[{"srcSet":"/static/b63b989e8263393a752111aef734fc45/cbfcf/power_off.webp 52w,\\n/static/b63b989e8263393a752111aef734fc45/c8c8a/power_off.webp 104w,\\n/static/b63b989e8263393a752111aef734fc45/64e5d/power_off.webp 208w","type":"image/webp","sizes":"(min-width: 208px) 208px, 100vw"}]},"width":208,"height":96}')},6:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAABYlAAAWJQFJUiTwAAAC/klEQVR42p1US08aURRW619orLWtbDWxQYz4SNjgC0RRATca/QEaUTcNrFwZsFVeNqBigI0uTNwJWza2wk55iEBpRaE8Y4Do0rk9ZwJmqIi2Jzlzbmbmfvf7zvlmamqeiZWVlbqDg4NXmLiu+Z/AjdU2P/e8LAghtZi41mg0jTqdbsJgMMj1ev2CVquVrK2tvS2+WlvMpwNlYd3f328wGo1fzGbzKWTUZDIlt7a2Ujs7OzGo/vX1dS0extxTUQbW4+Nj9t7e3jer1fpTqVSGR0ZGUl1dXQUul1sQCATZ5eXlazggDYzdwP4jc2+ZTKzBYLDJ4XC4LBbL2fj4+DWbzSYdHR2ks7OTcDgc0traSlgsFunr68sAYGxzc/NkdXX1NROjjJ3b7f56dHTkmZycjAArMjg4SAmFQjpxzefzqe7ubqoImgb5CWD5uYxlaZFIJFher9enUqncvb29ZHh4mAK5ZHR09CHhHgIRPKy5uZksLS3FoK/+0qBolnChm3p1dTV9DjE7Oxvs7+8nYrGYQhCoj0CRaUtLCyrI4qA2NjYmHgYEgPVFhp8CgcD52NhYHCQ+AFZKlN/e3o69LeD0wU7yotp6JqAyGo1eSCSSOLKoBog9xUH19PTkt7e3E2ChBSYgLTmTyUzd3NyE5+bmLoaGhggwfRIQ7EMzhB4nd3d3o2h4pmR63JFI5MPd3V348PDQBY2/B0DyFODAwADV1tZGFArFD7CYV61WvyuzDizoSWezWWOhUAgtLi76kCV4EYHvQT4mhVUkEt3jlKE1UZvNFoKhaB6Zu4ScTCYb8vm8Nx6Pn8nl8nNkggMCEOwbDoPweDwik8l+ofnhEz0BRY2PjM1kmU6nOblczg8ZgZ645ufnL6RSaRyY/p6ZmQmhT8H8frvd/t3pdLIrfnoM0JInm1KplPn29jYEbQhfXl6CowJ+ML7f4/Gculwuvc/ne1P151Dp9xWLxd7D9KcBXIG2goOm8N7f773kn1hX7WR8XmrRPwcCQ6/qMV8C8gf8QkTb1pyulgAAAABJRU5ErkJggg=="},"images":{"fallback":{"src":"/static/c8204ce412d165926119a1e45252021a/fcdb9/off.png","srcSet":"/static/c8204ce412d165926119a1e45252021a/29278/off.png 12w,\\n/static/c8204ce412d165926119a1e45252021a/2391d/off.png 24w,\\n/static/c8204ce412d165926119a1e45252021a/fcdb9/off.png 48w","sizes":"(min-width: 48px) 48px, 100vw"},"sources":[{"srcSet":"/static/c8204ce412d165926119a1e45252021a/30aa9/off.webp 12w,\\n/static/c8204ce412d165926119a1e45252021a/4e704/off.webp 24w,\\n/static/c8204ce412d165926119a1e45252021a/e78b1/off.webp 48w","type":"image/webp","sizes":"(min-width: 48px) 48px, 100vw"}]},"width":48,"height":48}')},5925:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAABqbAAAamwHdbkbTAAAB/UlEQVR42k2QS2saURTH56N06
30QcoQrIRlHTR4PvVVmfGd0WoM1ofIA0GjbowJXXRdinNrhBHXEVcuNVbuy4IxSg+ECWIz02uc3pHxWbx438499z/eVCpVMrEcdw0EAiA3+8XCeDz+cDr9YLH4wG32w0ulwucTic4HA5gWRYYhgGapsFmt4PNZhPNZjMoFIq/MpnshKpWq6NwOAyvzs5EjVYDGg2BqE6rBZ1OQgd6vQ4MBsMRo9EIJtMeo9EA5+evt1arFZRK5S+q2WxuibsofbbbbUCTrjS9h2FoYI8wZDr6ALNDqjcY9HB6eiKq1Wpp2gHVaDREqevlZRK+f/sKX25u4HM+D9fXB0icz/+Pn2s6nYKPZDuylWgymaQTDahWqyVaLBYoFAoglEpQqVRAEEpQIrEgCFAiCAfK5fI+R97uSnfw4/Z2Z0pOsPPwv/cPqXa7jVUq1dObd2/xh2AQc3wI86EQDnI8JrfFkUiEEMWRaBRHYzEci8VxPB7fxRypcbAslsvlT9KteZ7vU8vl8k+tVoNPFxfbXC4H2Wz2SEZSkss9I5s9KCGTyUL66gqSySQuFouQSCTuqfV6/XKz2dyvVqsWMW8uFgs0n8/RbDZDj4+PaDqdoslkgsbjMRqNRmg4HKJBv496vR7qdruo+/DQ7HQ6v+v1+k9i/OIfAKyKDCyfR0UAAAAASUVORK5CYII="},"images":{"fallback":{"src":"/static/49b51d5b13cc8e43ceee279f276e3cca/614af/on_mobile.png","srcSet":"/static/49b51d5b13cc8e43ceee279f276e3cca/5dd09/on_mobile.png 38w,\\n/static/49b51d5b13cc8e43ceee279f276e3cca/3b094/on_mobile.png 75w,\\n/static/49b51d5b13cc8e43ceee279f276e3cca/614af/on_mobile.png 150w","sizes":"(min-width: 150px) 150px, 100vw"},"sources":[{"srcSet":"/static/49b51d5b13cc8e43ceee279f276e3cca/e0452/on_mobile.webp 38w,\\n/static/49b51d5b13cc8e43ceee279f276e3cca/61789/on_mobile.webp 75w,\\n/static/49b51d5b13cc8e43ceee279f276e3cca/ae087/on_mobile.webp 150w","type":"image/webp","sizes":"(min-width: 150px) 150px, 100vw"}]},"width":150,"height":59}')},8503:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAMABQDASIAAhEBAxEB/8QAFwABAQEBAAAAAAAAAAAAAAAAAAECBf/EABUBAQEAAAAAAAAAAAAAAAAAAAAB/9oADAMBAAIQAxAAAAHr3Ugo/8QAGBAAAwEBAAAAAAAAAAAAAAAAAAEQESH/2gAIAQEAAQUC6KYJT//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABYQAAMAAAAAAAAAAAAAAAAAAAERIP/aAAgBAQAGPwIuv//EABoQAAIDAQEAAAAAAAAAAAAAAAAhARExQaH/2gAIAQEAAT8hhlVxlL30iEV0YSj/2gAMAwEAAgADAAAAEI//AP/EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8QP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8QP//EAB0QAQACAgIDAAAAAAAAAAAAAAEAESExQXGhsdH/2gAIAQEAAT8QuCgooswKns+SgDvu/MREWKZzCOWoCgT/2Q=="},"images":{"fallback":{"src":"/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/912a6/machine_diagram.jpg","srcSet":"/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/abcd6/machine_diagram.jpg 195w,\\n/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/16020/machine_diagram.jpg 390w,\\n/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/912a6/machine_diagram.jpg 779w,\\n/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/1c855/machine_diagram.jpg 1558w","sizes":"(min-width: 779px) 779px, 100vw"},"sources":[{"srcSet":"/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/41c33/machine_diagram.webp 195w,\\n/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/19161/machine_diagram.webp 390w,\\n/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/2496b/machine_diagram.webp 779w,\\n/static/4b8fff11a8a1b34f12fce57fdd2b1a6b/4e233/machine_diagram.webp 1558w","type":"image/webp","sizes":"(min-width: 779px) 779px, 100vw"}]},"width":779,"height":480.00000000000006}')},8855:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAABYlAAAWJQFJUiTwAAAEZUl
30EQVR42m1UWU9bRxS+v4BfQV4RohGEJWymkWgJqjGr2fclbFICpEHsCDAYlxQQJl6owAaD8Q7GJOykD6maR95AgNjEvj0Rofv1zEBKUvXh05y5d+abs3znCCMjI16FhYW63NzcL7QiPz9fzMvLA+2Rk52NrKwsZGZmIiMjA2lpaRxyuRwpKSlITk4WZTIZIiMjb3x9fXXe3t5egtlsVhsMBtTU1NwWFBSgqKgIjPj/wP7/F9n0aHpa2q1UKoWfn59aWFtbu+7p6cGjR95igL8/njwJQFBQIIKDg/D0aQhCQ0MRFhaKiPBw8iQCEkkkoiQSbrPv7Pzjxz+I6enpiIqKuhY2NzfFuro6frnq1UuO16+rH1DzgBqG6ipUV71CRUU5pSUbsjgpAgMDeYoofFHY2tpCY2MjYmOfo+c3Ffr7eqF5p8a7bzGoxuDgAOHeVg9ApepG7ZtfkU05Dg8L46lKSkqCsL29zQnl8hSMjRphsZgx5XJ+B5fTCafTDhfZ7ikXtw2GESi7OlH64gWFKkFxcREvlLCzs4OmpiaqZiYcdhtmZz1YXFzAEmFxYR4LhMXFu5VhaWkRC/NzsNPZPoqmsrKC5Y4Ii3n1hd3dXTQ3N5M0MuhlBz68f4+V5SUOdvkr+b/20hLfOx129Pf3cUIJFamkpASpqakQ9vf30dLSQvpKhd1mhWfGzT2bJy8WFua4N9y+XznmPsBqtaC393dUlJfzyr+g0JlGhYODA7S2tnJ2y6QZc3R41uPBJNlWyyS/aKGVYfJ+z/5ptRoou5W82hER4ZyQSUc4PDxEW1sb5JRQ88QED/mvT5+wurKC1dXV7/Dnx48cy8vLsFEOVSoVSktLqcrhfGXdJBwdHaG9vR2JiYkwmUyw2WyYmZnBtHuaw0NF8ngeMOO5+zc6OgqlUsmJwkg2ZWVld4THx8fo6OhAQkICRsdGYaGQXEwaTC60zrjd9IAbblrd0/TI9BTsVJARko2iU0GhliCMuqmMcsn6Xjg9PYVCoUCcLA5GowHmyUk4uO6YBqdIey5u2x0ObjNSRjg8PMzvFZH+QkJCUE6ErK+F8/NzdHZ2QiqNg2GECCfMcNBlBpvNTrmyk+bsPBVWAretVk7Y0aFAAQ2N4OAQKk4FcnJyIFxcXKCrqwvPY2Oh1+k5qck0TuGbMDZOoLxOjE9gfJx9G+N7I+VPo9GS3FqRm5dPwySI9FjJ+1m4vLwUGWF0dDTUajUd1GBo6A/oh4ag1w9Bp9dzm33T0YNanQ4arRY9b9/iTW0tDzPAP4B7yGapcHNzc83cp+Eo/vjsGX6KieHe/kLzTSaLR3x8AhJIAUlJyUhhg5UPVzmpIgkxP8eQd8Hw8fER6+vrGeE183CQSGEwGm5ZLpm2uru7OZgsGFgEX8HOfAsmuYGBgVs2pKmf1YIoil5nZ2c6yuXN1dUVyBYJODk5AdMoEz7rpr29PbC+Z8OETSiao9jY2BDX19fx9+fPX8aMRl1DQ4PXP+mrIUeUh11qAAAAAElFTkSuQmCC"},"images":{"fallback":{"src":"/static/0d9a0769cd8b1fc9e81986fb85c056a0/e3fe2/on.png","srcSet":"/static/0d9a0769cd8b1fc9e81986fb85c056a0/2391d/on.png 24w,\\n/static/0d9a0769cd8b1fc9e81986fb85c056a0/fcdb9/on.png 48w,\\n/static/0d9a0769cd8b1fc9e81986fb85c056a0/e3fe2/on.png 96w","sizes":"(min-width: 96px) 96px, 100vw"},"sources":[{"srcSet":"/static/0d9a0769cd8b1fc9e81986fb85c056a0/4e704/on.webp 24w,\\n/static/0d9a0769cd8b1fc9e81986fb85c056a0/e78b1/on.webp 48w,\\n/static/0d9a0769cd8b1fc9e81986fb85c056a0/8ef24/on.webp 96w","type":"image/webp","sizes":"(min-width: 96px) 96px, 100vw"}]},"width":96,"height":96}')}}]);
31//# sourceMappingURL=component---src-pages-index-js-6281048e02ce0edd2a50.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.