From 641b988b5cb10def641457b6b739946131bdf7a8 Mon Sep 17 00:00:00 2001 From: DaivdYuan <47169162+DaivdYuan@users.noreply.github.com> Date: Mon, 20 Jun 2022 13:11:45 +0800 Subject: [PATCH 1/7] beautiful usable frontend completed and debugged during quarantine --- backend/.DS_Store | Bin 0 -> 6148 bytes backend/NET.py | 372 + backend/Nerglish Dictionary.md | 91 + backend/__pycache__/NET.cpython-38.pyc | Bin 0 -> 5592 bytes backend/__pycache__/settings.cpython-38.pyc | Bin 0 -> 189 bytes backend/backend.py | 46 + backend/nerglish.js | 1074 + backend/settings.py | 1 + backend/static/favicon.ico | Bin 0 -> 4286 bytes backend/static/js/131.43081bf6.js | 2 + backend/static/js/576.43081bf6.js | 76 + backend/static/js/576.43081bf6.js.LICENSE.txt | 56 + backend/static/js/index.43081bf6.js | 2 + backend/static/js/runtime.43081bf6.js | 2 + backend/static/manifest.json | 15 + backend/static/media/bg.dd38d73e.jpeg | Bin 0 -> 316185 bytes backend/templates/index.html | 21 + frontend/.babelrc | 9 + frontend/.gitignore | 22 + frontend/App.js | 50 + frontend/README.md | 70 + frontend/build/favicon.ico | Bin 0 -> 3870 bytes frontend/build/index.html | 1 + frontend/build/static/js/131.43081bf6.js | 2 + frontend/build/static/js/576.43081bf6.js | 76 + .../static/js/576.43081bf6.js.LICENSE.txt | 56 + frontend/build/static/js/index.43081bf6.js | 2 + frontend/build/static/js/runtime.43081bf6.js | 2 + frontend/build/static/media/bg.dd38d73e.jpeg | Bin 0 -> 316185 bytes frontend/package-lock.json | 35394 ++++++++++++++++ frontend/package.json | 77 + frontend/package_old.json | 71 + frontend/public/favicon.ico | Bin 0 -> 3870 bytes frontend/public/index.html | 43 + frontend/public/manifest.json | 25 + frontend/public/robots.txt | 3 + frontend/src/App.js | 43 + frontend/src/alertBox.js | 62 + frontend/src/appBar.js | 33 + frontend/src/bg.jpeg | Bin 0 -> 316185 bytes frontend/src/components.js | 111 + frontend/src/index.css | 13 + frontend/src/index.js | 23 + frontend/src/reportWebVitals.js | 13 + frontend/src/settings.js | 1 + frontend/src/toolBar.js | 27 + frontend/src/translatorWindow.js | 23 + frontend/src/utils.js | 11 + frontend/webpack.config.js | 99 + 49 files changed, 38120 insertions(+) create mode 100644 backend/.DS_Store create mode 100644 backend/NET.py create mode 100644 backend/Nerglish Dictionary.md create mode 100644 backend/__pycache__/NET.cpython-38.pyc create mode 100644 backend/__pycache__/settings.cpython-38.pyc create mode 100644 backend/backend.py create mode 100644 backend/nerglish.js create mode 100644 backend/settings.py create mode 100644 backend/static/favicon.ico create mode 100644 backend/static/js/131.43081bf6.js create mode 100644 backend/static/js/576.43081bf6.js create mode 100644 backend/static/js/576.43081bf6.js.LICENSE.txt create mode 100644 backend/static/js/index.43081bf6.js create mode 100644 backend/static/js/runtime.43081bf6.js create mode 100644 backend/static/manifest.json create mode 100644 backend/static/media/bg.dd38d73e.jpeg create mode 100644 backend/templates/index.html create mode 100644 frontend/.babelrc create mode 100644 frontend/.gitignore create mode 100644 frontend/App.js create mode 100644 frontend/README.md create mode 100644 frontend/build/favicon.ico create mode 100644 frontend/build/index.html create mode 100644 frontend/build/static/js/131.43081bf6.js create mode 100644 frontend/build/static/js/576.43081bf6.js create mode 100644 frontend/build/static/js/576.43081bf6.js.LICENSE.txt create mode 100644 frontend/build/static/js/index.43081bf6.js create mode 100644 frontend/build/static/js/runtime.43081bf6.js create mode 100644 frontend/build/static/media/bg.dd38d73e.jpeg create mode 100644 frontend/package-lock.json create mode 100644 frontend/package.json create mode 100644 frontend/package_old.json create mode 100644 frontend/public/favicon.ico create mode 100644 frontend/public/index.html create mode 100644 frontend/public/manifest.json create mode 100644 frontend/public/robots.txt create mode 100644 frontend/src/App.js create mode 100644 frontend/src/alertBox.js create mode 100644 frontend/src/appBar.js create mode 100644 frontend/src/bg.jpeg create mode 100644 frontend/src/components.js create mode 100644 frontend/src/index.css create mode 100644 frontend/src/index.js create mode 100644 frontend/src/reportWebVitals.js create mode 100644 frontend/src/settings.js create mode 100644 frontend/src/toolBar.js create mode 100644 frontend/src/translatorWindow.js create mode 100644 frontend/src/utils.js create mode 100644 frontend/webpack.config.js diff --git a/backend/.DS_Store b/backend/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0?\@,:?¥★、….>【】[]《》?“”‘’\[\\]^_`{|}~]+0123456789' + 符号位置 = [] + 空格位置 = [] + 匹配到的符号 = [] + for i in range(len(英文)): + if 英文[i] in 符号: + 符号位置.append(i) + 匹配到的符号.append(英文[i]) + if 英文[i] == ' ': + 空格位置.append(i) + 无连字符英文 = 英文.replace('-', ' ') + 无符号英文 = 无连字符英文.translate(str.maketrans('','', 符号)) + + # 翻译所有字典中有的词 + 英鱼词典 = { + 'feral': "furl", + 'move': "flllurlog", + 'walk': "flllurlog", + 'fisherman': "fllurlokkr", + 'net': "mgrrrl", + 'gordunni': "grrundee", + 'clan': "klun", + 'guild': "klun", + 'thirsty': "mllgggrrrr", + 'with': "mmgr", + 'tasty': "mmm", + 'yummy': "mmm", + 'good': "mmmm", + 'great': "mmmmm", + 'right': "mmmml", + 'correct': "mmmml", + 'aunt': "mmmrrggllm", + 'uncle': "mmmrrrggglm", + 'friend': "mmmrrglllm", + 'friends': "mmmrrglllm", + 'murloc': "mmmurlok", + 'yes': "mrgle", + 'ok': "mrgle", + 'magic': "mrrrggk", + 'sorry': "mrrrgll", + 'and': "n", + 'no': "nk", + 'ogre': "rrrgrrr", + 'sing': "shng", + 'scar': "skr", + 'spring': "srng", + 'honor': "uuua", + 'battlecry': "mrglllll", + 'charge': "flllurllg", + 'beast': "flrrgmmrk", + 'king': "kklun", + 'crush': "kllrrug", + 'taunt': "murrgl", + 'agent': "fllrrgmgr", + 'combo': "flrrkgr", + 'blizzard': "blrrgrk", + 'battle': "aaaaaaaaugurgble", + 'nerglish': "mmmurlokmurg", + 'translate': "mmmurglurk", + 'mrgl': "mrgl", + 'ringworm': "murguhlum", + 'up': "urka" + } + 英文词 = 无符号英文.split(" ") + 已翻译词位置 = [] + i = 0 + for i in range(len(英文词)): + if 英鱼词典.__contains__(英文词[i]): + 英文词[i] = 英鱼词典[英文词[i]] + 已翻译词位置.append(i) + + # 剔除已翻译的英文 + i = 0 + 未翻译英文词 = [] + for i in range(len(英文词)): + if i not in 已翻译词位置: + 未翻译英文词.append(英文词[i]) + + # 翻译未翻译的英语 + 英鱼字典 = { + 'a':'ar', + 'e':'ml', + 'i':'rh', + 'o':'lo', + 'u':'ur', + 't':'lm', + 's':'sh', + 'h':'mh', + 'w':'ua', + 'b':'bk', + 'm':'mm', + 'f':'fl', + 'c':'gk', + 'l':'ll', + 'd':'de', + 'p':'un', + 'n':'nl', + 'g':'gg', + 'r':'rn', + 'y':'rm', + 'v':'ok', + 'j':'gl', + 'k':'km', + 'q':'ku', + 'x':'uu', + 'z':'gb', + + 'A':'Ar', + 'E':'Ml', + 'I':'Rh', + 'O':'Lo', + 'U':'Ur', + 'T':'Lm', + 'S':'Sh', + 'H':'Mh', + 'W':'Ua', + 'B':'Bk', + 'M':'Mm', + 'F':'Fl', + 'C':'Gk', + 'L':'Ll', + 'D':'De', + 'P':'Un', + 'N':'Nl', + 'G':'Gg', + 'R':'Rn', + 'Y':'Rm', + 'V':'Ok', + 'J':'Gl', + 'K':'Km', + 'Q':'Ku', + 'X':'Uu', + 'Z':'Gb' + } + i = 0 + 鱼人词 = [] + for i in range(len(未翻译英文词)): + j = 0 + 新词 = '' + for j in range(len(未翻译英文词[i])): + 新词 += 英鱼字典[未翻译英文词[i][j]] + 鱼人词.append(新词) + + # 整合信息并输出 + i = 0 + j = 0 + for i in range(len(英文词)): + if i not in 已翻译词位置: + 英文词[i] = 鱼人词[j] + j += 1 + + i = 0 + 单词i = 0 + 符号i = 0 + 空格i = 0 + 鱼文 = '' + while i < len(英文): + try: + if i == 空格位置[空格i]: + 鱼文 += ' ' + 空格i += 1 + i += 1 + continue + except: + pass + try: + if i == 符号位置[符号i]: + 鱼文 += 匹配到的符号[符号i] + 符号i += 1 + i += 1 + continue + except: + pass + try: + 鱼文 += ''.join(英文词[单词i]) + i += len(无符号英文.split(" ")[单词i]) + 单词i += 1 + continue + except: + pass + return 鱼文 + + + +def 鱼转英(鱼文): + # 匹配所有标点符号和数字 + 符号 = '[·’!"\#$%&\'()#!()*+,-./:;<=>?\@,:?¥★、….>【】[]《》?“”‘’\[\\]^_`{|}~]+0123456789' + 符号位置 = [] + 空格位置 = [] + 匹配到的符号 = [] + for i in range(len(鱼文)): + if 鱼文[i] in 符号: + 符号位置.append(i) + 匹配到的符号.append(鱼文[i]) + if 鱼文[i] == ' ': + 空格位置.append(i) + 无连字符鱼文 = 鱼文.replace('-', ' ') + 无符号鱼文 = 无连字符鱼文.translate(str.maketrans('','', 符号)) + + # 翻译所有字典中有的词 + 鱼英词典 = { + 'furl': 'feral', + 'flllurlog': 'walk', + 'fllurlokkr': 'fisherman', + 'mgrrrl': 'net', + 'grrundee': 'gordunni', + 'klun': 'guild', + 'mllgggrrrr': 'thirsty', + 'mmgr': 'with', + 'mmm': 'yummy', + 'mmmm': 'good', + 'mmmmm': 'great', + 'mmmml': 'correct', + 'mmmrrggllm': 'aunt', + 'mmmrrrggglm': 'uncle', + 'mmmrrglllm': 'friends', + 'mmmurlok': 'murloc', + 'mrgle': 'ok', + 'mrrrggk': 'magic', + 'mrrrgll': 'sorry', + 'n': 'and', + 'nk': 'no', + 'rrrgrrr': 'ogre', + 'shng': 'sing', + 'skr': 'scar', + 'srng': 'spring', + 'uuua': 'honor', + 'mrglllll': 'battlecry', + 'flllurllg': 'charge', + 'flrrgmmrk': 'beast', + 'kklun': 'king', + 'kllrrug': 'crush', + 'murrgl': 'taunt', + 'fllrrgmgr': 'agent', + 'flrrkgr': 'combo', + 'blrrgrk': 'blizzard', + 'aaaaaaaaugurgble': 'battle', + 'mmmurlokmurg': 'nerglish', + 'mmmurglurk': 'translate', + 'mrgl': 'mrgl', + 'murguhlum': 'ringworm', + 'urka': 'up' + } + 鱼文词 = 无符号鱼文.split(" ") + 已翻译词位置 = [] + i = 0 + for i in range(len(鱼文词)): + if 鱼英词典.__contains__(鱼文词[i]): + 鱼文词[i] = 鱼英词典[鱼文词[i]] + 已翻译词位置.append(i) + + # 剔除已翻译的英文 + i = 0 + 未翻译鱼文词 = [] + for i in range(len(鱼文词)): + if i not in 已翻译词位置: + 未翻译鱼文词.append(鱼文词[i]) + + # 翻译未翻译的英语 + 鱼英字典 = { + 'ar': 'a', + 'ml': 'e', + 'rh': 'i', + 'lo': 'o', + 'ur': 'u', + 'lm': 't', + 'sh': 's', + 'mh': 'h', + 'ua': 'w', + 'bk': 'b', + 'mm': 'm', + 'fl': 'f', + 'gk': 'c', + 'll': 'l', + 'de': 'd', + 'un': 'p', + 'nl': 'n', + 'gg': 'g', + 'rn': 'r', + 'rm': 'y', + 'ok': 'v', + 'gl': 'j', + 'km': 'k', + 'ku': 'q', + 'uu': 'x', + 'gb': 'z', + + 'Ar': 'A', + 'Ml': 'E', + 'Rh': 'I', + 'Lo': 'O', + 'Ur': 'U', + 'Lm': 'T', + 'Sh': 'S', + 'Mh': 'H', + 'Ua': 'W', + 'Bk': 'B', + 'Mm': 'M', + 'Fl': 'F', + 'Gk': 'C', + 'Ll': 'L', + 'De': 'D', + 'Un': 'P', + 'Nl': 'N', + 'Gg': 'G', + 'Rn': 'R', + 'Rm': 'Y', + 'Ok': 'V', + 'Gl': 'J', + 'Km': 'K', + 'Ku': 'Q', + 'Uu': 'X', + 'Gb': 'Z' + } + i = 0 + 英文词 = [] + for i in range(len(未翻译鱼文词)): + j = 0 + 新词 = '' + for j in range(0,len(未翻译鱼文词[i]),2): + 新词 += 鱼英字典[未翻译鱼文词[i][j]+未翻译鱼文词[i][j+1]] + 英文词.append(新词) + + # 整合信息并输出 + i = 0 + j = 0 + for i in range(len(鱼文词)): + if i not in 已翻译词位置: + 鱼文词[i] = 英文词[j] + j += 1 + + i = 0 + 单词i = 0 + 符号i = 0 + 空格i = 0 + 英文 = '' + while i < len(鱼文): + try: + if i == 空格位置[空格i]: + 英文 += ' ' + 空格i += 1 + i += 1 + continue + except: + pass + try: + if i == 符号位置[符号i]: + 英文 += 匹配到的符号[符号i] + 符号i += 1 + i += 1 + continue + except: + pass + try: + 英文 += ''.join(鱼文词[单词i]) + i += len(无符号鱼文.split(" ")[单词i]) + 单词i += 1 + except: + pass + + return 英文 + +print(英转鱼("Error: 404 not found.")) +print(鱼转英("Mlrnrnlorn: 404 nllolm fllournlde.")) \ No newline at end of file diff --git a/backend/Nerglish Dictionary.md b/backend/Nerglish Dictionary.md new file mode 100644 index 0000000..cfff044 --- /dev/null +++ b/backend/Nerglish Dictionary.md @@ -0,0 +1,91 @@ +# Nerglish Dictionary + +## Vocabulary + +feral: "furl", +move: "flllurlog", +walk: "flllurlog", +fisherman: "fllurlokkr", +net: "mgrrrl", +gordunni: "grrundee", +clan: "klun", +guild: "klun", +thirsty: "mllgggrrrr", +with: "mmgr", +tasty: "mmm", +yummy: "mmm", +good: "mmmm", +great: "mmmmm", +right: "mmmml", +correct: "mmmml", +aunt: "mmmrrggllm", +uncle: "mmmrrrggglm", +friend: "mmmrrglllm", +friends: "mmmrrglllm", +murloc: "mmmurlok", +yes: "mrgle", +ok: "mrgle", +magic: "mrrrggk", +sorry: "mrrrgll", +and: "n", +no: "nk", +ogre: "rrrgrrr", +sing: "shng", +scar: "skr", +spring: "srng", +honor: "uuua", +battlecry: "mrglllll", +charge: "flllurllg", +beast: "flrrgmmrk", +king: "kklun", +crush: "kllrrug", +taunt: "murrgl", +agent: "fllrrgmgr", +combo: "flrrkgr", +blizzard: "blrrgrk", +battle: "aaaaaaaaugurgble", +nerglish: "mmmurlokmurg", +translate: "mmmurglurk", +mrgl: "mrgl", +ringworm: "murguhlum", +up: "urka" + +## Phrases + +the more, the merrier: "Aaaaaughibbrgubugbugrguburgle", +i am murloc: "RwlRwlRwlRwl", +night elf: "kuldurrreee", +the murloc gods have blessed us: "mglrmglmglmgl" +fishing nets: "mgrrrl" +i will kill you: "rgllll glrrm gl" + +## English-Nerglish syllables + +'ar': 'a', +'ml': 'e', +'rh': 'i', +'lo': 'o', +'ur': 'u', +'lm': 't', +'sh': 's', +'mh': 'h', +'ua': 'w', +'bk': 'b', +'mm': 'm', +'fl': 'f', +'gk': 'c', +'ll': 'l', +'de': 'd', +'un': 'p', +'nl': 'n', +'gg': 'g', +'rn': 'r', +'rm': 'y', +'ok': 'v', +'gl': 'j', +'km': 'k', +'ku': 'q', +'uu': 'x', +'gb': 'z' + +## Nerglish Syllable Pronunciations and Rules diff --git a/backend/__pycache__/NET.cpython-38.pyc b/backend/__pycache__/NET.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..313a3544196fe07b966e34a2bcb636f6fa019f32 GIT binary patch literal 5592 zcmd6rdvp}l9mnU+KC*cd5>!ysh^Q>D1&N{<0Wp9I2^a{E0LIzQ z^Si%$@9+NZojaNDq`kVjLgU}Xrw_z`HC5A&qHyLfz=g$pW}6tKk+8Im;#G7A(kXDC z)}d37LVOLFK~tyjfEW-$V>>`)MVrJLEgCt+5wzBXz@_w?z}IW|yqVAJS{{o;UL>`= z&S!wnpsTsU(-5Uu+p;hp@-#0rN%KTHESo)jNcTc}c`Pr;mS5wSe2et7E+>0|(Kg#A zd)iQd0;KQN^I>u0%Lav9>{W8>QY@hjifxN&4$Y;jX&yDwHFPb_r|al?T0l2Y6WvG)X%Q`^n`jB$ zOwF{EmeF#$g>I$WXa%jL7HXwcw3=?GHd;e#sh!r*dfGr6se?ArX4*n`P$%6<2E{2s zw5Ks&Rm!m1&#pt09x))C}s|no2!u`8uA@I?kis3l(=+S{n?= z)qQh#1p{8)BrUBE>hcY*o^b#J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kG-<3Rn%?4zvMlfVDt7unxex)mKAu1FVgVXjI})x5S%7MgY8VB>s&cD*?Qb zWHnF&;0-8if$;#|Zn7T0$G-vGV|d<%F2coKLDcp7*Hcoz6J zum|v`@Eok?ffs-w0Pkb@9pJmb_kb6Hmw@jBKLGXtF9SaW_5-f~uL1{v*MQf7H-H}j zKL&mR{1i9{ya~Jo90J}33cz9DXTT9gv{81z-UMt0wg7hkoxq)d0mOj>K!6E!0ZE`6 zNC8`cG++T4z~8zyEC=WTwgD2z0xpmPwgWqWyMSJx54aoffIP4hxCiJ5?ghRE3;_25 zyMV6)_X7_A4+0MX4+D=dPU*0I4*Y@j;eVw7yin33>I~HzK~CjTe|!kuVdeNOQm$=f`-O9jSaTr zHgq}sFO1oJQ(7!(OWSg!U8=Jz$I3MDzdf8B`^lUg4e__2$zQoHJ~(~t=7&@veD=C$ j+(`eH;%=%)Q^uj3WiG^a&DJnj9R?!zXia?1s}lbLq3-8o literal 0 HcmV?d00001 diff --git a/backend/__pycache__/settings.cpython-38.pyc b/backend/__pycache__/settings.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0683c90b12a0b194ff833f6d5b07a4909ec34190 GIT binary patch literal 189 zcmWIL<>g`kf<0f?CrJS5#~=^^+2lvs3d@^ovtVN;31(i}eaBZ*kb<=BJeA Mq}qX;^cjd50OpA^TmS$7 literal 0 HcmV?d00001 diff --git a/backend/backend.py b/backend/backend.py new file mode 100644 index 0000000..ee6e970 --- /dev/null +++ b/backend/backend.py @@ -0,0 +1,46 @@ +from flask import Flask,render_template +from flask_socketio import SocketIO, emit +from settings import NAMESPACE +from NET import * + +app = Flask(__name__) + +'''app.config['CORS_AUTOMATIC_OPTIONS'] = True +app.config['CORS_SUPPORTS_CREDENTIALS'] = True + +CORS(app)''' +socketio = SocketIO() +socketio.init_app(app) + +@socketio.on('connect', namespace=NAMESPACE) +def connect(): + emit('response', {'data': 'Connected'}) + print("Client connected") + +@socketio.on('disconnect', namespace=NAMESPACE) +def disconnect(): + print('Client disconnected') + +@socketio.on('query',namespace = NAMESPACE) +def translate(message): + print(message) + isEnglish = message['isEnglish'] + content = message['content'] + success = True + try: + res = 英转鱼(content) if isEnglish else 鱼转英(content) + except Exception as e: + res = "Error:"+str(e) + success=False + + print('translated:',res) + emit('results', {'content': res,'success':success}) + +@app.route("/",methods=['GET']) +def hello_world(): + return render_template("index.html") + +if __name__=="__main__": + print("haha --@DaivdYuan") + socketio.run(app,host='localhost',port=5000,debug=True,log_output=True) + print("MAIN","quitting") diff --git a/backend/nerglish.js b/backend/nerglish.js new file mode 100644 index 0000000..16cb3f5 --- /dev/null +++ b/backend/nerglish.js @@ -0,0 +1,1074 @@ +/* King Mrgl-Mrgl sends his regards! */ + +!(function (e) { + var t = {}; + function n(r) { + if (t[r]) return t[r].exports; + var i = (t[r] = { i: r, l: !1, exports: {} }); + return e[r].call(i.exports, i, i.exports, n), (i.l = !0), i.exports; + } + (n.m = e), + (n.c = t), + (n.d = function (e, t, r) { + n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: r }); + }), + (n.r = function (e) { + "undefined" != typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), + Object.defineProperty(e, "__esModule", { value: !0 }); + }), + (n.t = function (e, t) { + if ((1 & t && (e = n(e)), 8 & t)) return e; + if (4 & t && "object" == typeof e && e && e.__esModule) return e; + var r = Object.create(null); + if ( + (n.r(r), + Object.defineProperty(r, "default", { enumerable: !0, value: e }), + 2 & t && "string" != typeof e) + ) + for (var i in e) + n.d( + r, + i, + function (t) { + return e[t]; + }.bind(null, i) + ); + return r; + }), + (n.n = function (e) { + var t = + e && e.__esModule + ? function () { + return e.default; + } + : function () { + return e; + }; + return n.d(t, "a", t), t; + }), + (n.o = function (e, t) { + return Object.prototype.hasOwnProperty.call(e, t); + }), + (n.p = ""), + n((n.s = 1)); +})([ + function (e, t, n) { + var r, i, o; + (o = function () { + var e = "retain", + t = document, + n = {}.hasOwnProperty; + function r() { + return ( + function (e, t, n, o, a) { + if (t && !t.nodeType && arguments.length <= 2) return !1; + var s = "function" == typeof n; + s && + ((u = n), + (n = function (e, t) { + return u(e.text, t.startIndex); + })); + var u; + var l = i(t, { + find: e, + wrap: s ? null : n, + replace: s ? n : "$" + (o || "&"), + prepMatch: function (e, t) { + if (!e[0]) + throw "findAndReplaceDOMText cannot handle zero-length matches"; + if (o > 0) { + var n = e[o]; + (e.index += e[0].indexOf(n)), (e[0] = n); + } + return ( + (e.endIndex = e.index + e[0].length), + (e.startIndex = e.index), + (e.index = t), + e + ); + }, + filterElements: a, + }); + return ( + (r.revert = function () { + return l.revert(); + }), + !0 + ); + }.apply(null, arguments) || i.apply(null, arguments) + ); + } + function i(e, t) { + return new o(e, t); + } + function o(t, i) { + var o = i.preset && r.PRESETS[i.preset]; + if (((i.portionMode = i.portionMode || e), o)) + for (var a in o) n.call(o, a) && !n.call(i, a) && (i[a] = o[a]); + (this.node = t), + (this.options = i), + (this.prepMatch = i.prepMatch || this.prepMatch), + (this.reverts = []), + (this.matches = this.search()), + this.matches.length && this.processMatches(); + } + return ( + (r.NON_PROSE_ELEMENTS = { + br: 1, + hr: 1, + script: 1, + style: 1, + img: 1, + video: 1, + audio: 1, + canvas: 1, + svg: 1, + map: 1, + object: 1, + input: 1, + textarea: 1, + select: 1, + option: 1, + optgroup: 1, + button: 1, + }), + (r.NON_CONTIGUOUS_PROSE_ELEMENTS = { + address: 1, + article: 1, + aside: 1, + blockquote: 1, + dd: 1, + div: 1, + dl: 1, + fieldset: 1, + figcaption: 1, + figure: 1, + footer: 1, + form: 1, + h1: 1, + h2: 1, + h3: 1, + h4: 1, + h5: 1, + h6: 1, + header: 1, + hgroup: 1, + hr: 1, + main: 1, + nav: 1, + noscript: 1, + ol: 1, + output: 1, + p: 1, + pre: 1, + section: 1, + ul: 1, + br: 1, + li: 1, + summary: 1, + dt: 1, + details: 1, + rp: 1, + rt: 1, + rtc: 1, + script: 1, + style: 1, + img: 1, + video: 1, + audio: 1, + canvas: 1, + svg: 1, + map: 1, + object: 1, + input: 1, + textarea: 1, + select: 1, + option: 1, + optgroup: 1, + button: 1, + table: 1, + tbody: 1, + thead: 1, + th: 1, + tr: 1, + td: 1, + caption: 1, + col: 1, + tfoot: 1, + colgroup: 1, + }), + (r.NON_INLINE_PROSE = function (e) { + return n.call( + r.NON_CONTIGUOUS_PROSE_ELEMENTS, + e.nodeName.toLowerCase() + ); + }), + (r.PRESETS = { + prose: { + forceContext: r.NON_INLINE_PROSE, + filterElements: function (e) { + return !n.call(r.NON_PROSE_ELEMENTS, e.nodeName.toLowerCase()); + }, + }, + }), + (r.Finder = o), + (o.prototype = { + search: function () { + var e, + t = 0, + n = 0, + r = this.options.find, + i = this.getAggregateText(), + o = [], + a = this; + return ( + (r = + "string" == typeof r + ? RegExp( + String(r).replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1"), + "g" + ) + : r), + (function i(s) { + for (var u = 0, l = s.length; u < l; ++u) { + var d = s[u]; + if ("string" == typeof d) { + if (r.global) + for (; (e = r.exec(d));) o.push(a.prepMatch(e, t++, n)); + else (e = d.match(r)) && o.push(a.prepMatch(e, 0, n)); + n += d.length; + } else i(d); + } + })(i), + o + ); + }, + prepMatch: function (e, t, n) { + if (!e[0]) + throw new Error( + "findAndReplaceDOMText cannot handle zero-length matches" + ); + return ( + (e.endIndex = n + e.index + e[0].length), + (e.startIndex = n + e.index), + (e.index = t), + e + ); + }, + getAggregateText: function () { + var e = this.options.filterElements, + t = this.options.forceContext; + return (function n(r) { + if (!r) return []; + if (r.nodeType === Node.TEXT_NODE) return [r.data]; + if (e && !e(r)) return []; + var i = [""]; + var o = 0; + if ((r = r.firstChild)) + do { + if (r.nodeType !== Node.TEXT_NODE) { + var a = n(r); + t && r.nodeType === Node.ELEMENT_NODE && (!0 === t || t(r)) + ? ((i[++o] = a), (i[++o] = "")) + : ("string" == typeof a[0] && (i[o] += a.shift()), + a.length && ((i[++o] = a), (i[++o] = ""))); + } else i[o] += r.data; + } while ((r = r.nextSibling)); + return i; + })(this.node); + }, + processMatches: function () { + var e, + t, + n, + r = this.matches, + i = this.node, + o = this.options.filterElements, + a = [], + s = i, + u = r.shift(), + l = 0, + d = 0, + c = [i]; + e: for (; ;) { + if ( + (s.nodeType === Node.TEXT_NODE && + (!t && s.length + l >= u.endIndex + ? (t = { + node: s, + index: d++, + text: s.data.substring( + u.startIndex - l, + u.endIndex - l + ), + indexInMatch: 0 === l ? 0 : l - u.startIndex, + indexInNode: u.startIndex - l, + endIndexInNode: u.endIndex - l, + isEnd: !0, + }) + : e && + a.push({ + node: s, + index: d++, + text: s.data, + indexInMatch: l - u.startIndex, + indexInNode: 0, + }), + !e && + s.length + l > u.startIndex && + (e = { + node: s, + index: d++, + indexInMatch: 0, + indexInNode: u.startIndex - l, + endIndexInNode: u.endIndex - l, + text: s.data.substring(u.startIndex - l, u.endIndex - l), + }), + (l += s.data.length)), + (n = s.nodeType === Node.ELEMENT_NODE && o && !o(s)), + e && t) + ) { + if ( + ((s = this.replaceMatch(u, e, a, t)), + (l -= t.node.data.length - t.endIndexInNode), + (e = null), + (t = null), + (a = []), + (d = 0), + 0, + !(u = r.shift())) + ) + break; + } else if (!n && (s.firstChild || s.nextSibling)) { + s.firstChild + ? (c.push(s), (s = s.firstChild)) + : (s = s.nextSibling); + continue; + } + for (; ;) { + if (s.nextSibling) { + s = s.nextSibling; + break; + } + if ((s = c.pop()) === i) break e; + } + } + }, + revert: function () { + for (var e = this.reverts.length; e--;) this.reverts[e](); + this.reverts = []; + }, + prepareReplacementString: function (e, t, n) { + var r = this.options.portionMode; + return "first" === r && t.indexInMatch > 0 + ? "" + : ((e = e.replace(/\$(\d+|&|`|')/g, function (e, t) { + var r; + switch (t) { + case "&": + r = n[0]; + break; + case "`": + r = n.input.substring(0, n.startIndex); + break; + case "'": + r = n.input.substring(n.endIndex); + break; + default: + r = n[+t] || ""; + } + return r; + })), + "first" === r + ? e + : t.isEnd + ? e.substring(t.indexInMatch) + : e.substring( + t.indexInMatch, + t.indexInMatch + t.text.length + )); + }, + getPortionReplacementNode: function (e, n) { + var r = this.options.replace || "$&", + i = this.options.wrap, + o = this.options.wrapClass; + if (i && i.nodeType) { + var a = t.createElement("div"); + (a.innerHTML = + i.outerHTML || new XMLSerializer().serializeToString(i)), + (i = a.firstChild); + } + if ("function" == typeof r) + return (r = r(e, n)) && r.nodeType + ? r + : t.createTextNode(String(r)); + var s = "string" == typeof i ? t.createElement(i) : i; + return ( + s && o && (s.className = o), + (r = t.createTextNode(this.prepareReplacementString(r, e, n))) + .data && s + ? (s.appendChild(r), s) + : r + ); + }, + replaceMatch: function (e, n, r, i) { + var o, + a, + s = n.node, + u = i.node; + if (s === u) { + var l = s; + n.indexInNode > 0 && + ((o = t.createTextNode(l.data.substring(0, n.indexInNode))), + l.parentNode.insertBefore(o, l)); + var d = this.getPortionReplacementNode(i, e); + return ( + l.parentNode.insertBefore(d, l), + i.endIndexInNode < l.length && + ((a = t.createTextNode(l.data.substring(i.endIndexInNode))), + l.parentNode.insertBefore(a, l)), + l.parentNode.removeChild(l), + this.reverts.push(function () { + o === d.previousSibling && o.parentNode.removeChild(o), + a === d.nextSibling && a.parentNode.removeChild(a), + d.parentNode.replaceChild(l, d); + }), + d + ); + } + (o = t.createTextNode(s.data.substring(0, n.indexInNode))), + (a = t.createTextNode(u.data.substring(i.endIndexInNode))); + for ( + var c = this.getPortionReplacementNode(n, e), + f = [], + h = 0, + g = r.length; + h < g; + ++h + ) { + var m = r[h], + p = this.getPortionReplacementNode(m, e); + m.node.parentNode.replaceChild(p, m.node), + this.reverts.push( + (function (e, t) { + return function () { + t.parentNode.replaceChild(e.node, t); + }; + })(m, p) + ), + f.push(p); + } + var x = this.getPortionReplacementNode(i, e); + return ( + s.parentNode.insertBefore(o, s), + s.parentNode.insertBefore(c, s), + s.parentNode.removeChild(s), + u.parentNode.insertBefore(x, u), + u.parentNode.insertBefore(a, u), + u.parentNode.removeChild(u), + this.reverts.push(function () { + o.parentNode.removeChild(o), + c.parentNode.replaceChild(s, c), + a.parentNode.removeChild(a), + x.parentNode.replaceChild(u, x); + }), + x + ); + }, + }), + r + ); + }), + e.exports + ? (e.exports = o()) + : void 0 === + (i = "function" == typeof (r = o) ? r.call(t, n, t, e) : r) || + (e.exports = i); + }, + function (e, t, n) { + "use strict"; + n.r(t); + var r = n(0), + i = n.n(r); + function o(e) { + return 0 | e.next(); + } + function a(e, t) { + return 0 === t ? e : (n) => e(n) + t; + } + function s(e) { + const t = 0 | e.next(); + return ( + 4294967296 * (2097151 & t) + + (e.next() >>> 0) + + (2097152 & t ? -9007199254740992 : 0) + ); + } + function u(e) { + for (; ;) { + const t = 0 | e.next(); + if (!(4194304 & t)) { + return ( + 4294967296 * (2097151 & t) + + (e.next() >>> 0) + + (2097152 & t ? -9007199254740992 : 0) + ); + } + if (4194304 == (8388607 & t) && 0 == (0 | e.next())) + return 9007199254740992; + } + } + function l(e) { + return e.next() >>> 0; + } + function d(e) { + return 4294967296 * (2097151 & e.next()) + (e.next() >>> 0); + } + function c(e) { + for (; ;) { + const t = 0 | e.next(); + if (!(2097152 & t)) { + return 4294967296 * (2097151 & t) + (e.next() >>> 0); + } + if (2097152 == (4194303 & t) && 0 == (0 | e.next())) + return 9007199254740992; + } + } + function f(e) { + return 0 == ((e + 1) & e); + } + function h(e) { + return f(e) + ? ((t = e), (e) => e.next() & t) + : (function (e) { + const t = e + 1, + n = t * Math.floor(4294967296 / t); + return (e) => { + let r = 0; + do { + r = e.next() >>> 0; + } while (r >= n); + return r % t; + }; + })(e); + var t; + } + function g(e) { + const t = e + 1; + if (0 == (0 | t)) { + const e = ((t / 4294967296) | 0) - 1; + if (f(e)) + return (n = e), (e) => 4294967296 * (e.next() & n) + (e.next() >>> 0); + } + var n; + return (function (e) { + const t = e * Math.floor(9007199254740992 / e); + return (n) => { + let r = 0; + do { + r = 4294967296 * (2097151 & n.next()) + (n.next() >>> 0); + } while (r >= t); + return r % e; + }; + })(t); + } + function m(e, t) { + return (n) => { + let r = 0; + do { + const e = 0 | n.next(); + r = + 4294967296 * (2097151 & e) + + (n.next() >>> 0) + + (2097152 & e ? -9007199254740992 : 0); + } while (r < e || r > t); + return r; + }; + } + function p(e, t) { + if ( + ((e = Math.floor(e)), + (t = Math.floor(t)), + e < -9007199254740992 || !isFinite(e)) + ) + throw new RangeError("Expected min to be at least -9007199254740992"); + if (t > 9007199254740992 || !isFinite(t)) + throw new RangeError("Expected max to be at most 9007199254740992"); + const n = t - e; + return n <= 0 || !isFinite(n) + ? () => e + : 4294967295 === n + ? 0 === e + ? l + : a(o, e + 2147483648) + : n < 4294967295 + ? a(h(n), e) + : 9007199254740991 === n + ? a(d, e) + : n < 9007199254740991 + ? a(g(n), e) + : t - 1 - e == 9007199254740991 + ? a(c, e) + : -9007199254740992 === e && 9007199254740992 === t + ? u + : -9007199254740992 === e && 9007199254740991 === t + ? s + : -9007199254740991 === e && 9007199254740992 === t + ? a(s, 1) + : 9007199254740992 === t + ? a(m(e - 1, t - 1), 1) + : m(e, t); + } + function x(e) { + return 1 == (1 & e.next()); + } + function N(e, t) { + return (n) => e(n) < t; + } + function v(e, t) { + return null == t + ? null == e + ? x + : (function (e) { + if (e <= 0) return () => !1; + if (e >= 1) return () => !0; + { + const t = 4294967296 * e; + return t % 1 == 0 + ? N(o, (t - 2147483648) | 0) + : N(d, Math.round(9007199254740992 * e)); + } + })(e) + : e <= 0 + ? () => !1 + : e >= t + ? () => !0 + : N(p(0, t - 1), e); + } + function b(e) { + return p(1, e); + } + const E = + "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"; + function y(e = E) { + const t = e.length; + if (!t) throw new Error("Expected pool not to be an empty string"); + const n = p(0, t - 1); + return (t, r) => { + let i = ""; + for (let o = 0; o < r; ++o) { + const r = n(t); + i += e.charAt(r); + } + return i; + }; + } + const I = y("0123456789abcdef"), + M = y("0123456789abcdef".toUpperCase()); + function w(e, t) { + return e < 0 ? Math.max(e + t, 0) : Math.min(e, t); + } + function T(e) { + const t = +e; + return t < 0 ? Math.ceil(t) : Math.floor(t); + } + function S(e) { + return d(e) / 9007199254740992; + } + function k(e) { + return c(e) / 9007199254740992; + } + const C = Array.prototype.slice; + function O(e, t, n = 0) { + const r = t.length; + if (r) + for (let i = (r - 1) >>> 0; i > n; --i) { + const n = p(0, i)(e); + if (i !== n) { + const e = t[i]; + (t[i] = t[n]), (t[n] = e); + } + } + return t; + } + const R = (() => { + try { + if ("xxx" === "x".repeat(3)) return (e, t) => e.repeat(t); + } catch (e) { } + return (e, t) => { + let n = ""; + for (; t > 0;) 1 & t && (n += e), (t >>= 1), (e += e); + return n; + }; + })(); + function _(e, t) { + return R("0", t - e.length) + e; + } + const P = { next: () => (4294967296 * Math.random()) | 0 }; + class A { + constructor(e = P) { + this.engine = e; + } + int32() { + return o(this.engine); + } + uint32() { + return l(this.engine); + } + uint53() { + return d(this.engine); + } + uint53Full() { + return c(this.engine); + } + int53() { + return s(this.engine); + } + int53Full() { + return u(this.engine); + } + integer(e, t) { + return p(e, t)(this.engine); + } + realZeroToOneInclusive() { + return k(this.engine); + } + realZeroToOneExclusive() { + return S(this.engine); + } + real(e, t, n = !1) { + return (function (e, t, n = !1) { + if (!isFinite(e)) + throw new RangeError("Expected min to be a finite number"); + if (!isFinite(t)) + throw new RangeError("Expected max to be a finite number"); + return a( + ((r = n ? k : S), + 1 == (i = t - e) ? r : 0 === i ? () => 0 : (e) => r(e) * i), + e + ); + var r, i; + })( + e, + t, + n + )(this.engine); + } + bool(e, t) { + return v(e, t)(this.engine); + } + pick(e, t, n) { + return (function (e, t, n, r) { + const i = t.length; + if (0 === i) throw new RangeError("Cannot pick from an empty array"); + const o = null == n ? 0 : w(T(n), i), + a = void 0 === r ? i : w(T(r), i); + if (o >= a) + throw new RangeError(`Cannot pick between bounds ${o} and ${a}`); + return t[p(o, a - 1)(e)]; + })(this.engine, e, t, n); + } + shuffle(e) { + return O(this.engine, e); + } + sample(e, t) { + return (function (e, t, n) { + if (n < 0 || n > t.length || !isFinite(n)) + throw new RangeError( + "Expected sampleSize to be within 0 and the length of the population" + ); + if (0 === n) return []; + const r = C.call(t), + i = r.length; + if (i === n) return O(e, r, 0); + const o = i - n; + return O(e, r, o - 1).slice(o); + })(this.engine, e, t); + } + die(e) { + return b(e)(this.engine); + } + dice(e, t) { + return (function (e, t) { + const n = b(e); + return (e) => { + const r = []; + for (let i = 0; i < t; ++i) r.push(n(e)); + return r; + }; + })( + e, + t + )(this.engine); + } + uuid4() { + return (function (e) { + const t = e.next() >>> 0, + n = 0 | e.next(), + r = 0 | e.next(), + i = e.next() >>> 0; + return ( + _(t.toString(16), 8) + + "-" + + _((65535 & n).toString(16), 4) + + "-" + + _((((n >> 4) & 4095) | 16384).toString(16), 4) + + "-" + + _(((16383 & r) | 32768).toString(16), 4) + + "-" + + _(((r >> 4) & 65535).toString(16), 4) + + _(i.toString(16), 8) + ); + })(this.engine); + } + string(e, t) { + return y(t)(this.engine, e); + } + hex(e, t) { + return (function (e) { + return e ? M : I; + })(t)(this.engine, e); + } + date(e, t) { + return (function (e, t) { + const n = p(e.getTime(), t.getTime()); + return (e) => new Date(n(e)); + })( + e, + t + )(this.engine); + } + } + const L = (() => { + try { + const e = new ArrayBuffer(4), + t = new Int32Array(e); + if (((t[0] = 2147483648), -2147483648 === t[0])) return Int32Array; + } catch (e) { } + return Array; + })(); + (() => { + let e = null; + let t = 128; + })(); + const U = + "function" == typeof Math.imul && -5 === Math.imul(4294967295, 5) + ? Math.imul + : (e, t) => { + const n = 65535 & e, + r = 65535 & t; + return ( + (n * r + + (((((e >>> 16) & 65535) * r + n * ((t >>> 16) & 65535)) << + 16) >>> + 0)) | + 0 + ); + }; + class j { + constructor() { + (this.data = new L(624)), (this.index = 0), (this.uses = 0); + } + static seed(e) { + return new j().seed(e); + } + static seedWithArray(e) { + return new j().seedWithArray(e); + } + static autoSeed() { + return j.seedWithArray( + (function (e = P, t = 16) { + const n = []; + n.push(0 | new Date().getTime()); + for (let r = 1; r < t; ++r) n[r] = 0 | e.next(); + return n; + })() + ); + } + next() { + (0 | this.index) >= 624 && (D(this.data), (this.index = 0)); + const e = this.data[this.index]; + return ( + (this.index = (this.index + 1) | 0), + (this.uses += 1), + 0 | + (function (e) { + return ( + (e ^= e >>> 11), + (e ^= (e << 7) & 2636928640), + (e ^= (e << 15) & 4022730752) ^ (e >>> 18) + ); + })(e) + ); + } + getUseCount() { + return this.uses; + } + discard(e) { + if (e <= 0) return this; + for ( + this.uses += e, + (0 | this.index) >= 624 && (D(this.data), (this.index = 0)); + e + this.index > 624; + + ) + (e -= 624 - this.index), D(this.data), (this.index = 0); + return (this.index = (this.index + e) | 0), this; + } + seed(e) { + let t = 0; + this.data[0] = t = 0 | e; + for (let e = 1; e < 624; e = (e + 1) | 0) + this.data[e] = t = (U(t ^ (t >>> 30), 1812433253) + e) | 0; + return (this.index = 624), (this.uses = 0), this; + } + seedWithArray(e) { + return ( + this.seed(19650218), + (function (e, t) { + let n = 1, + r = 0; + const i = t.length; + let o = 0 | Math.max(i, 624), + a = 0 | e[0]; + for (; (0 | o) > 0; --o) + (e[n] = a = + ((e[n] ^ U(a ^ (a >>> 30), 1664525)) + (0 | t[r]) + (0 | r)) | + 0), + ++r, + (0 | (n = (n + 1) | 0)) > 623 && ((e[0] = e[623]), (n = 1)), + r >= i && (r = 0); + for (o = 623; (0 | o) > 0; --o) + (e[n] = a = ((e[n] ^ U(a ^ (a >>> 30), 1566083941)) - n) | 0), + (0 | (n = (n + 1) | 0)) > 623 && ((e[0] = e[623]), (n = 1)); + e[0] = 2147483648; + })(this.data, e), + this + ); + } + } + function D(e) { + let t = 0, + n = 0; + for (; (0 | t) < 227; t = (t + 1) | 0) + (n = (2147483648 & e[t]) | (2147483647 & e[(t + 1) | 0])), + (e[t] = e[(t + 397) | 0] ^ (n >>> 1) ^ (1 & n ? 2567483615 : 0)); + for (; (0 | t) < 623; t = (t + 1) | 0) + (n = (2147483648 & e[t]) | (2147483647 & e[(t + 1) | 0])), + (e[t] = e[(t - 227) | 0] ^ (n >>> 1) ^ (1 & n ? 2567483615 : 0)); + (n = (2147483648 & e[623]) | (2147483647 & e[0])), + (e[623] = e[396] ^ (n >>> 1) ^ (1 & n ? 2567483615 : 0)); + } + (() => { + let e = null; + let t = 128; + })(); + var F, + z = { + feral: "furl", + move: "flllurlog", + walk: "flllurlog", + fisherman: "fllurlokkr", + net: "mgrrrl", + gordunni: "grrundee", + clan: "klun", + guild: "klun", + thirsty: "mllgggrrrr", + with: "mmgr", + tasty: "mmm", + yummy: "mmm", + good: "mmmm", + great: "mmmmm", + right: "mmmml", + correct: "mmmml", + aunt: "mmmrrggllm", + uncle: "mmmrrrggglm", + friend: "mmmrrglllm", + friends: "mmmrrglllm", + murloc: "mmmurlok", + yes: "mrgle", + ok: "mrgle", + magic: "mrrrggk", + sorry: "mrrrgll", + and: "n", + no: "nk", + ogre: "rrrgrrr", + sing: "shng", + scar: "skr", + spring: "srng", + honor: "uuua", + battlecry: "mrglllll", + charge: "flllurllg", + beast: "flrrgmmrk", + king: "kklun", + crush: "kllrrug", + taunt: "murrgl", + agent: "fllrrgmgr", + combo: "flrrkgr", + blizzard: "blrrgrk", + battle: "aaaaaaaaugurgble", + nerglish: "mmmurlokmurg", + translate: "mmmurglurk", + mrgl: "mrgl", + }, + B = { + "": "mmmmmmmmmmmmmmmmmmmmmmmmmmgggggnnrrrrbbaaaaksuhhfffffffff", + m: "mmmmmmuurrrrrrrrrrrn", + g: "lllllllllllrrmmkksf", + l: "mmmmmmmgggkrlluuu", + r: "rrmmnkkfflllllggggggggggggg", + k: "mmmnllu", + s: "hhhruk", + h: "ummr", + u: "uamgggrrrrrrrf", + a: "aaaauuummmggkfs", + n: "ngla", + f: "rrrrrullllfff", + b: "brrlmu", + }; + function $(e) { + var t = B[e] || " "; + return t[F.integer(0, t.length - 1)] || " "; + } + function W(e, t) { + var n = e.text, + r = t[0], + i = z[r.toLowerCase()]; + if (i) + return 0 === e.index + ? (r[0] === r[0].toUpperCase() && + (i = i[0].toUpperCase() + i.slice(1)), + i) + : ""; + !(function (e) { + var t, + n = 0; + if (e.length >= 0) + for (t = 0; t < e.length; t++) + (n = (n << 5) - n + e.charCodeAt(t)), (n |= 0); + F = new A(j.seed(n)); + })(n); + for ( + var o, + a = F.integer(Math.max(n.length - 1, 2), n.length + 2), + s = $(""), + u = n[0] === n[0].toUpperCase() ? s.toUpperCase() : s, + l = 1; + l < a; + l++ + ) + (s = o = $(s)), (u += o); + return u; + } + window.mmmurglurk = function () { + console.log("Aaaaaughibbrgubugbugrguburgle!"), + i()(document.body, { + find: /[a-zA-ZÀ-ÿ]+/g, + preset: "prose", + replace: W, + }); + }; + }, +]); diff --git a/backend/settings.py b/backend/settings.py new file mode 100644 index 0000000..0be4fa6 --- /dev/null +++ b/backend/settings.py @@ -0,0 +1 @@ +NAMESPACE = '/translate' \ No newline at end of file diff --git a/backend/static/favicon.ico b/backend/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..54579c69dcc56e4e500e04456772c9fe55e49e76 GIT binary patch literal 4286 zcmc(i=~t9jw#LB$CzL@zoR~*J=COdPqUHjskeaB0VlJeZX9N*ca6)h(sNk3wjhexj z7){cq(-~HhPSR$ula;V5X!XYc(y z+sDUOe4?U!9)0^<5A^W~^YQUX5=(6P$i;fJ|H~zw#fyiJ*8g1v2@xcOts{25KdGBS z$chXnJ8}cXNs*K!MUfl5k({V#O1I~u$(5nXl%UF0;WRXn8 zj{U;JrlLSkeT55GSuGCN7-Q4F;qbv1sL-82r#_3z`8-P5V|02i zGct66UH#|j@QhQd)bi9o1>qQHR-SJ%A}^CsjqexpJ_HTBDS}70Zd; zD5JLKHeEZAW^gC%bEzmb~7n8A@tVAhMq49+I zZ)Tgw$t~-nSif=u1vzCnEt9m``WbT-(q-9!$KYhHzXwa+A>sEfUcG#fHdhadTn(jp zQ&=iLqrq~T%&i;QE^@D`*i4$N@8B-YLp*Yta-oB1^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GqE0g^jALm@X!42w|`{3cM+4UoQkXjv>AzHZ(fT!Eke|OIU{xxUB(hj`SIv8 z;xVQrv#VUkn8U)8Cnk8~NukfQa}-xivU+U*#~1E$_~cJQZyphO+0OOL_ju{f$9(kZ zw|w>Wk39VAfAigU|KjVfe&EL+f9Bh7zGq+0DRiQTm5bS?VtX{XTLUPJ2@|tSJW`=k zDvFx0=Pt7PnQySO^Ni}H#C z22PA!=H?S`^YQzC;>$0-=kGuK%ny(J{>x9?c>I03-LoQJtVlB3QKl4AyuAv2W+XfE zV}IdgM^OTG%5-|HDpU!P$m621NbQ|}U-p+}dYXGg9AWtstbzK0pF8Be*; zMM58U8Cn=`nC58PDJ~2=&P>a!IKLh;lBdKhQH?7tjq+3t1;s~%K20Jud@UK9{V7Ql zH6Zke*O*U@T8m`6lk}uP3NsF&E$XCBT1-#51e55AS@C9}HS@_#Y(Aa z+e%PoiJ39Gjk0tDhHM8F*-jDjO2O6BND61LWC+gBN};G|imU`930pQ29kiUJ&=u5Z z^5|=661c5oCQOMryBmj0C;UpG%T|U>=+5m?!sqCC^0!$@OPW9zpFmEsla$y#bjh*g vWb~0ASA!z1n5-x>YM~=#33g%gD1~`vg)jYdOA=7!)sh(FeZ=0&&(r||t)&&(n.delta=n.value-(i||0),(n.delta||void 0===i)&&(i=n.value,e(n)))}},v=-1,p=function(){return"hidden"===document.visibilityState?0:1/0},d=function(){f((function(e){var n=e.timeStamp;v=n}),!0)},l=function(){return v<0&&(v=p(),d(),s((function(){setTimeout((function(){v=p(),d()}),0)}))),{get firstHiddenTime(){return v}}},g=function(e,n){var t,i=l(),r=u("FCP"),a=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime-1&&e(n)},r=u("CLS",0),a=0,o=[],v=function(e){if(!e.hadRecentInput){var n=o[0],i=o[o.length-1];a&&e.startTime-i.startTime<1e3&&e.startTime-n.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e]),a>r.value&&(r.value=a,r.entries=o,t())}},p=c("layout-shift",v);p&&(t=m(i,r,n),f((function(){p.takeRecords().map(v),t(!0)})),s((function(){a=0,T=-1,r=u("CLS",0),t=m(i,r,n)})))},E={passive:!0,capture:!0},w=new Date,L=function(e,n){i||(i=n,r=e,a=new Date,F(removeEventListener),S())},S=function(){if(r>=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,n){var t=function(){L(e,n),r()},i=function(){r()},r=function(){removeEventListener("pointerup",t,E),removeEventListener("pointercancel",i,E)};addEventListener("pointerup",t,E),addEventListener("pointercancel",i,E)}(n,e):L(n,e)}},F=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(n){return e(n,b,E)}))},C=function(e,n){var t,a=l(),v=u("FID"),p=function(e){e.startTimeperformance.now())return;t.entries=[n],e(t)}catch(e){}},"complete"===document.readyState?setTimeout(n,0):addEventListener("pageshow",n)}}}]); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdGF0aWMvanMvMTMxLjQzMDgxYmY2LmpzIiwibWFwcGluZ3MiOiJzUUFBQSxJQUFJQSxFQUFFQyxFQUFFQyxFQUFFQyxFQUFFQyxFQUFFLFNBQVNKLEVBQUVDLEdBQUcsTUFBTSxDQUFDSSxLQUFLTCxFQUFFTSxXQUFNLElBQVNMLEdBQUcsRUFBRUEsRUFBRU0sTUFBTSxFQUFFQyxRQUFRLEdBQUdDLEdBQUcsTUFBTUMsT0FBT0MsS0FBS0MsTUFBTSxLQUFLRixPQUFPRyxLQUFLQyxNQUFNLGNBQWNELEtBQUtFLFVBQVUsUUFBUUMsRUFBRSxTQUFTaEIsRUFBRUMsR0FBRyxJQUFJLEdBQUdnQixvQkFBb0JDLG9CQUFvQkMsU0FBU25CLEdBQUcsQ0FBQyxHQUFHLGdCQUFnQkEsS0FBSywyQkFBMkJvQixNQUFNLE9BQU8sSUFBSWxCLEVBQUUsSUFBSWUscUJBQW9CLFNBQVVqQixHQUFHL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QW5pbWF0aW9uRnJhbWUiLCJkIiwibCIsImgiLCJoYWRSZWNlbnRJbnB1dCIsImxlbmd0aCIsInRha2VSZWNvcmRzIiwiZyIsInBhc3NpdmUiLCJjYXB0dXJlIiwieSIsIlQiLCJTIiwiRSIsImVudHJ5VHlwZSIsInRhcmdldCIsImNhbmNlbGFibGUiLCJwcm9jZXNzaW5nU3RhcnQiLCJmb3JFYWNoIiwidyIsIkwiLCJiIiwiRiIsIm9uY2UiLCJQIiwiZ2V0RW50cmllc0J5VHlwZSIsInRpbWluZyIsIm1heCIsIm5hdmlnYXRpb25TdGFydCIsInJlc3BvbnNlU3RhcnQiLCJyZWFkeVN0YXRlIl0sInNvdXJjZVJvb3QiOiIifQ== \ No newline at end of file diff --git a/backend/static/js/576.43081bf6.js b/backend/static/js/576.43081bf6.js new file mode 100644 index 0000000..c96a9cb --- /dev/null +++ b/backend/static/js/576.43081bf6.js @@ -0,0 +1,76 @@ +/*! For license information please see 576.43081bf6.js.LICENSE.txt */ +(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[576],{1859:function(e,t,n){"use strict";n.d(t,{Z:function(){return re}});var r=n(1526),o=Math.abs,i=String.fromCharCode,a=Object.assign;function l(e){return e.trim()}function s(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,w="";function x(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:g,length:a,return:""}}function k(e,t){return a(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=y>0?c(w,--y):0,g--,10===b&&(g=1,m--),b}function E(){return b=y2||P(b)>3?"":" "}function _(e,t){for(;--t&&E()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return R(e,Z()+(t<6&&32==C()&&32==E()))}function z(e){for(;E();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&z(b);break;case 40:41===e&&z(e);break;case 92:E()}return y}function A(e,t){for(;E()&&e+b!==57&&(e+b!==84||47!==C()););return"/*"+R(t,y-1)+"*"+i(47===e?e:E())}function L(e){for(;!P(C());)E();return R(e,y)}var I="-ms-",F="-moz-",$="-webkit-",j="comm",B="rule",D="decl",W="@keyframes";function U(e,t){for(var n="",r=f(e),o=0;o6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+F+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?H(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,p(e)-3-(~u(e,"!important")&&10))){case 107:return s(e,":",":"+$)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$+(45===c(e,14)?"inline-":"")+"box$3$1"+$+"$2$3$1"+I+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return $+e+I+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+I+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+I+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $+e+I+e+e}return e}function q(e){return O(K("",null,null,null,[""],e=T(e),0,[0],e))}function K(e,t,n,r,o,a,l,c,d){for(var f=0,m=0,g=l,v=0,y=0,b=0,w=1,x=1,k=1,R=0,P="",T=o,O=a,z=r,I=P;x;)switch(b=R,R=E()){case 40:if(108!=b&&58==I.charCodeAt(g-1)){-1!=u(I+=s(N(R),"&","&\f"),"&\f")&&(k=-1);break}case 34:case 39:case 91:I+=N(R);break;case 9:case 10:case 13:case 32:I+=M(b);break;case 92:I+=_(Z()-1,7);continue;case 47:switch(C()){case 42:case 47:h(Y(A(E(),Z()),t,n),d);break;default:I+="/"}break;case 123*w:c[f++]=p(I)*k;case 125*w:case 59:case 0:switch(R){case 0:case 125:x=0;case 59+m:y>0&&p(I)-g&&h(y>32?X(I+";",r,n,g-1):X(s(I," ","")+";",r,n,g-2),d);break;case 59:I+=";";default:if(h(z=Q(I,t,n,f,m,o,c,P,T=[],O=[],g),a),123===R)if(0===m)K(I,t,z,z,T,a,g,c,O);else switch(v){case 100:case 109:case 115:K(e,z,z,r&&h(Q(e,z,z,0,0,o,c,P,o,T=[],g),O),o,O,g,c,r?T:O);break;default:K(I,z,z,z,[""],O,0,c,O)}}f=m=y=0,w=k=1,P=I="",g=l;break;case 58:g=1+p(I),y=b;default:if(w<1)if(123==R)--w;else if(125==R&&0==w++&&125==S())continue;switch(I+=i(R),R*w){case 38:k=m>0?1:(I+="\f",-1);break;case 44:c[f++]=(p(I)-1)*k,k=1;break;case 64:45===C()&&(I+=N(E())),v=C(),m=g=p(P=I+=L(Z())),R++;break;case 45:45===b&&2==p(I)&&(w=0)}}return a}function Q(e,t,n,r,i,a,u,c,p,h,m){for(var g=i-1,v=0===i?a:[""],y=f(v),b=0,w=0,k=0;b0?v[S]+" "+E:s(E,/&\f/g,v[S])))&&(p[k++]=C);return x(e,t,n,0===i?B:c,p,h,m)}function Y(e,t,n){return x(e,t,n,j,i(b),d(e,2,-2),0)}function X(e,t,n,r){return x(e,t,n,D,d(e,0,r),d(e,r+1,-1),r)}var G=function(e,t,n){for(var r=0,o=0;r=o,o=C(),38===r&&12===o&&(t[n]=1),!P(o);)E();return R(e,y)},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],a=function(e,t){return O(function(e,t){var n=-1,r=44;do{switch(P(r)){case 0:38===r&&12===C()&&(t[n]=1),e[n]+=G(y-1,t,n);break;case 2:e[n]+=N(r);break;case 4:if(44===r){e[++n]=58===C()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=E());return e}(T(e),t))}(t,o),l=n.props,s=0,u=0;s-1&&!e.return)switch(e.type){case D:e.return=H(e.value,e.length);break;case W:return U([k(e,{value:s(e.value,"@","@"+$)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return U([k(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([k(e,{props:[s(t,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,I+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||ne,l={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(7866),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.Z)((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===o[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o{r[o]=e[o].reduce(((e,r)=>(r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e)),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},9981:function(e,t){"use strict";const n=e=>e,r=(()=>{let e=n;return{configure(t){e=t},generate:t=>e(t),reset(){e=n}}})();t.Z=r},8979:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9981);const o={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function i(e,t){return o[t]||`${r.Z.generate(e)}-${t}`}},6087:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8979);function o(e,t){const n={};return t.forEach((t=>{n[t]=(0,r.Z)(e,t)})),n}},442:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(7192),s=n(1796),u=n(9602),c=n(6122),d=n(8216),p=n(6501),f=n(8979),h=n(6087);function m(e){return(0,f.Z)("MuiAlert",e)}var g=(0,h.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),v=n(9424);function y(e){return(0,f.Z)("MuiIconButton",e)}var b=(0,h.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),w=n(5893);const x=["edge","children","className","color","disabled","disableFocusRipple","size"],k=(0,u.ZP)(v.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,d.Z)(n.color)}`],n.edge&&t[`edge${(0,d.Z)(n.edge)}`],t[`size${(0,d.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:(0,s.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>(0,o.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,o.Z)({color:e.palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:(0,s.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${b.disabled}`]:{backgroundColor:"transparent",color:e.palette.action.disabled}})));var S,E=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:s,className:u,color:p="default",disabled:f=!1,disableFocusRipple:h=!1,size:m="medium"}=n,g=(0,r.Z)(n,x),v=(0,o.Z)({},n,{edge:i,color:p,disabled:f,disableFocusRipple:h,size:m}),b=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&`color${(0,d.Z)(r)}`,o&&`edge${(0,d.Z)(o)}`,`size${(0,d.Z)(i)}`]};return(0,l.Z)(a,y,t)})(v);return(0,w.jsx)(k,(0,o.Z)({className:(0,a.Z)(b.root,u),centerRipple:!0,focusRipple:!h,disabled:f,ref:t,ownerState:v},g,{children:s}))})),C=n(5949),Z=(0,C.Z)((0,w.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),R=(0,C.Z)((0,w.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),P=(0,C.Z)((0,w.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),T=(0,C.Z)((0,w.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),O=(0,C.Z)((0,w.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");const N=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],M=(0,u.ZP)(p.Z,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,d.Z)(n.color||n.severity)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?s._j:s.$n,r="light"===e.palette.mode?s.$n:s._j,i=t.color||t.severity;return(0,o.Z)({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&"standard"===t.variant&&{color:n(e.palette[i].light,.6),backgroundColor:r(e.palette[i].light,.9),[`& .${g.icon}`]:{color:"dark"===e.palette.mode?e.palette[i].main:e.palette[i].light}},i&&"outlined"===t.variant&&{color:n(e.palette[i].light,.6),border:`1px solid ${e.palette[i].light}`,[`& .${g.icon}`]:{color:"dark"===e.palette.mode?e.palette[i].main:e.palette[i].light}},i&&"filled"===t.variant&&{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:"dark"===e.palette.mode?e.palette[i].dark:e.palette[i].main})})),_=(0,u.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),z=(0,u.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),A=(0,u.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),L={success:(0,w.jsx)(Z,{fontSize:"inherit"}),warning:(0,w.jsx)(R,{fontSize:"inherit"}),error:(0,w.jsx)(P,{fontSize:"inherit"}),info:(0,w.jsx)(T,{fontSize:"inherit"})};var I=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiAlert"}),{action:i,children:s,className:u,closeText:p="Close",color:f,icon:h,iconMapping:g=L,onClose:v,role:y="alert",severity:b="success",variant:x="standard"}=n,k=(0,r.Z)(n,N),C=(0,o.Z)({},n,{color:f,severity:b,variant:x}),Z=(e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`${t}${(0,d.Z)(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return(0,l.Z)(i,m,o)})(C);return(0,w.jsxs)(M,(0,o.Z)({role:y,elevation:0,ownerState:C,className:(0,a.Z)(Z.root,u),ref:t},k,{children:[!1!==h?(0,w.jsx)(_,{ownerState:C,className:Z.icon,children:h||g[b]||L[b]}):null,(0,w.jsx)(z,{ownerState:C,className:Z.message,children:s}),null!=i?(0,w.jsx)(A,{className:Z.action,children:i}):null,null==i&&v?(0,w.jsx)(A,{ownerState:C,className:Z.action,children:(0,w.jsx)(E,{size:"small","aria-label":p,title:p,color:"inherit",onClick:v,children:S||(S=(0,w.jsx)(O,{fontSize:"small"}))})}):null]}))}))},3720:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(7192),s=n(9602),u=n(6122),c=n(8216),d=n(6501),p=n(8979);function f(e){return(0,p.Z)("MuiAppBar",e)}(0,n(6087).Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var h=n(5893);const m=["className","color","enableColorOnDark","position"],g=(0,s.ZP)(d.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,c.Z)(n.position)}`],t[`color${(0,c.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,o.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,o.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"}))}));var v=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiAppBar"}),{className:i,color:s="primary",enableColorOnDark:d=!1,position:p="fixed"}=n,v=(0,r.Z)(n,m),y=(0,o.Z)({},n,{color:s,position:p,enableColorOnDark:d}),b=(e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${(0,c.Z)(t)}`,`position${(0,c.Z)(n)}`]};return(0,l.Z)(o,f,r)})(y);return(0,h.jsx)(g,(0,o.Z)({square:!0,component:"header",ownerState:y,elevation:4,className:(0,a.Z)(b.root,i,"fixed"===p&&"mui-fixed"),ref:t},v))}))},9226:function(e,t,n){"use strict";var r=n(1354),o=n(9981);const i=(0,n(4345).Z)(),a=(0,r.Z)({defaultTheme:i,defaultClassName:"MuiBox-root",generateClassName:o.Z.generate});t.Z=a},6914:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(7925),s=n(7192),u=n(1796),c=n(9602),d=n(6122),p=n(9424),f=n(8216),h=n(8979);function m(e){return(0,h.Z)("MuiButton",e)}var g=(0,n(6087).Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","contained","containedInherit","containedPrimary","containedSecondary","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),v=i.createContext({}),y=n(5893);const b=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],w=e=>(0,o.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),x=(0,c.ZP)(p.Z,{shouldForwardProp:e=>(0,c.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,f.Z)(n.color)}`],t[`size${(0,f.Z)(n.size)}`],t[`${n.variant}Size${(0,f.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>(0,o.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,o.Z)({textDecoration:"none",backgroundColor:(0,u.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:(0,u.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${e.palette[t.color].main}`,backgroundColor:(0,u.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.palette[t.color].dark,"@media (hover: none)":{backgroundColor:e.palette[t.color].main}}),"&:active":(0,o.Z)({},"contained"===t.variant&&{boxShadow:e.shadows[8]}),[`&.${g.focusVisible}`]:(0,o.Z)({},"contained"===t.variant&&{boxShadow:e.shadows[6]}),[`&.${g.disabled}`]:(0,o.Z)({color:e.palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${e.palette.action.disabledBackground}`},"outlined"===t.variant&&"secondary"===t.color&&{border:`1px solid ${e.palette.action.disabled}`},"contained"===t.variant&&{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main,border:`1px solid ${(0,u.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].contrastText,backgroundColor:e.palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${g.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${g.disabled}`]:{boxShadow:"none"}})),k=(0,c.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(n.size)}`]]}})((({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},w(e)))),S=(0,c.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(n.size)}`]]}})((({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},w(e))));var E=i.forwardRef((function(e,t){const n=i.useContext(v),u=(0,l.Z)(n,e),c=(0,d.Z)({props:u,name:"MuiButton"}),{children:p,color:h="primary",component:g="button",className:w,disabled:E=!1,disableElevation:C=!1,disableFocusRipple:Z=!1,endIcon:R,focusVisibleClassName:P,fullWidth:T=!1,size:O="medium",startIcon:N,type:M,variant:_="text"}=c,z=(0,r.Z)(c,b),A=(0,o.Z)({},c,{color:h,component:g,disabled:E,disableElevation:C,disableFocusRipple:Z,fullWidth:T,size:O,type:M,variant:_}),L=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:l}=e,u={root:["root",a,`${a}${(0,f.Z)(t)}`,`size${(0,f.Z)(i)}`,`${a}Size${(0,f.Z)(i)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(i)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(i)}`]},c=(0,s.Z)(u,m,l);return(0,o.Z)({},l,c)})(A),I=N&&(0,y.jsx)(k,{className:L.startIcon,ownerState:A,children:N}),F=R&&(0,y.jsx)(S,{className:L.endIcon,ownerState:A,children:R});return(0,y.jsxs)(x,(0,o.Z)({ownerState:A,className:(0,a.Z)(w,n.className),component:g,disabled:E,focusRipple:!Z,focusVisibleClassName:(0,a.Z)(L.focusVisible,P),ref:t,type:M},z,{classes:L,children:[I,p,F]}))}))},9424:function(e,t,n){"use strict";n.d(t,{Z:function(){return Y}});var r=n(7462),o=n(3366),i=n(7294),a=n(6010),l=n(7192),s=n(9602),u=n(6122),c=n(1705),d=n(3633).Z;let p,f=!0,h=!1;const m={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function g(e){e.metaKey||e.altKey||e.ctrlKey||(f=!0)}function v(){f=!1}function y(){"hidden"===this.visibilityState&&h&&(f=!0)}var b=function(){const e=i.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",g,!0),t.addEventListener("mousedown",v,!0),t.addEventListener("pointerdown",v,!0),t.addEventListener("touchstart",v,!0),t.addEventListener("visibilitychange",y,!0))}),[]),t=i.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return f||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!m[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(h=!0,window.clearTimeout(p),p=window.setTimeout((()=>{h=!1}),100),t.current=!1,!0)},ref:e}},w=n(1721),x=n(220);function k(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function S(e,t,n){return null!=n[t]?n[t]:e.props[t]}function E(e,t,n){var r=k(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;re;const F=(0,P.F4)(_||(_=I` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),$=(0,P.F4)(z||(z=I` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),j=(0,P.F4)(A||(A=I` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),B=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),D=(0,s.ZP)((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:l,rippleSize:s,in:u,onExited:c,timeout:d}=e,[p,f]=i.useState(!1),h=(0,a.Z)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:s,height:s,top:-s/2+l,left:-s/2+o},g=(0,a.Z)(n.child,p&&n.childLeaving,r&&n.childPulsate);return u||p||f(!0),i.useEffect((()=>{if(!u&&null!=c){const e=setTimeout(c,d);return()=>{clearTimeout(e)}}}),[c,u,d]),(0,T.jsx)("span",{className:h,style:m,children:(0,T.jsx)("span",{className:g})})}),{name:"MuiTouchRipple",slot:"Ripple"})(L||(L=I` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),N.rippleVisible,F,550,(({theme:e})=>e.transitions.easing.easeInOut),N.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),N.child,N.childLeaving,$,550,(({theme:e})=>e.transitions.easing.easeInOut),N.childPulsate,j,(({theme:e})=>e.transitions.easing.easeInOut));var W=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:c}=n,d=(0,o.Z)(n,M),[p,f]=i.useState([]),h=i.useRef(0),m=i.useRef(null);i.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[p]);const g=i.useRef(!1),v=i.useRef(null),y=i.useRef(null),b=i.useRef(null);i.useEffect((()=>()=>{clearTimeout(v.current)}),[]);const w=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;f((e=>[...e,(0,T.jsx)(D,{classes:{ripple:(0,a.Z)(s.ripple,N.ripple),rippleVisible:(0,a.Z)(s.rippleVisible,N.rippleVisible),ripplePulsate:(0,a.Z)(s.ripplePulsate,N.ripplePulsate),child:(0,a.Z)(s.child,N.child),childLeaving:(0,a.Z)(s.childLeaving,N.childLeaving),childPulsate:(0,a.Z)(s.childPulsate,N.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])),h.current+=1,m.current=i}),[s]),x=i.useCallback(((e={},t={},n)=>{const{pulsate:r=!1,center:o=l||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e.type&&g.current)return void(g.current=!1);"touchstart"===e.type&&(g.current=!0);const a=i?null:b.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,d;if(o||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(o)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-c),c)+2;d=Math.sqrt(e**2+t**2)}e.touches?null===y.current&&(y.current=()=>{w({pulsate:r,rippleX:u,rippleY:c,rippleSize:d,cb:n})},v.current=setTimeout((()=>{y.current&&(y.current(),y.current=null)}),80)):w({pulsate:r,rippleX:u,rippleY:c,rippleSize:d,cb:n})}),[l,w]),k=i.useCallback((()=>{x({},{pulsate:!0})}),[x]),S=i.useCallback(((e,t)=>{if(clearTimeout(v.current),"touchend"===e.type&&y.current)return y.current(),y.current=null,void(v.current=setTimeout((()=>{S(e,t)})));y.current=null,f((e=>e.length>0?e.slice(1):e)),m.current=t}),[]);return i.useImperativeHandle(t,(()=>({pulsate:k,start:x,stop:S})),[k,x,S]),(0,T.jsx)(B,(0,r.Z)({className:(0,a.Z)(s.root,N.root,c),ref:b},d,{children:(0,T.jsx)(R,{component:null,exit:!0,children:p})}))})),U=n(8979);function V(e){return(0,U.Z)("MuiButtonBase",e)}var H=(0,O.Z)("MuiButtonBase",["root","disabled","focusVisible"]);const q=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],K=(0,s.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${H.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Q=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:p=!1,children:f,className:h,component:m="button",disabled:g=!1,disableRipple:v=!1,disableTouchRipple:y=!1,focusRipple:w=!1,LinkComponent:x="a",onBlur:k,onClick:S,onContextMenu:E,onDragLeave:C,onFocus:Z,onFocusVisible:R,onKeyDown:P,onKeyUp:O,onMouseDown:N,onMouseLeave:M,onMouseUp:_,onTouchEnd:z,onTouchMove:A,onTouchStart:L,tabIndex:I=0,TouchRippleProps:F,touchRippleRef:$,type:j}=n,B=(0,o.Z)(n,q),D=i.useRef(null),U=i.useRef(null),H=(0,c.Z)(U,$),{isFocusVisibleRef:Q,onFocus:Y,onBlur:X,ref:G}=b(),[J,ee]=i.useState(!1);function te(e,t,n=y){return d((r=>(t&&t(r),!n&&U.current&&U.current[e](r),!0)))}g&&J&&ee(!1),i.useImperativeHandle(s,(()=>({focusVisible:()=>{ee(!0),D.current.focus()}})),[]),i.useEffect((()=>{J&&w&&!v&&U.current.pulsate()}),[v,w,J]);const ne=te("start",N),re=te("stop",E),oe=te("stop",C),ie=te("stop",_),ae=te("stop",(e=>{J&&e.preventDefault(),M&&M(e)})),le=te("start",L),se=te("stop",z),ue=te("stop",A),ce=te("stop",(e=>{X(e),!1===Q.current&&ee(!1),k&&k(e)}),!1),de=d((e=>{D.current||(D.current=e.currentTarget),Y(e),!0===Q.current&&(ee(!0),R&&R(e)),Z&&Z(e)})),pe=()=>{const e=D.current;return m&&"button"!==m&&!("A"===e.tagName&&e.href)},fe=i.useRef(!1),he=d((e=>{w&&!fe.current&&J&&U.current&&" "===e.key&&(fe.current=!0,U.current.stop(e,(()=>{U.current.start(e)}))),e.target===e.currentTarget&&pe()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&pe()&&"Enter"===e.key&&!g&&(e.preventDefault(),S&&S(e))})),me=d((e=>{w&&" "===e.key&&U.current&&J&&!e.defaultPrevented&&(fe.current=!1,U.current.stop(e,(()=>{U.current.pulsate(e)}))),O&&O(e),S&&e.target===e.currentTarget&&pe()&&" "===e.key&&!e.defaultPrevented&&S(e)}));let ge=m;"button"===ge&&(B.href||B.to)&&(ge=x);const ve={};"button"===ge?(ve.type=void 0===j?"button":j,ve.disabled=g):(B.href||B.to||(ve.role="button"),g&&(ve["aria-disabled"]=g));const ye=(0,c.Z)(G,D),be=(0,c.Z)(t,ye),[we,xe]=i.useState(!1);i.useEffect((()=>{xe(!0)}),[]);const ke=we&&!v&&!g,Se=(0,r.Z)({},n,{centerRipple:p,component:m,disabled:g,disableRipple:v,disableTouchRipple:y,focusRipple:w,tabIndex:I,focusVisible:J}),Ee=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,l.Z)(i,V,o);return n&&r&&(a.root+=` ${r}`),a})(Se);return(0,T.jsxs)(K,(0,r.Z)({as:ge,className:(0,a.Z)(Ee.root,h),ownerState:Se,onBlur:ce,onClick:S,onContextMenu:re,onFocus:de,onKeyDown:he,onKeyUp:me,onMouseDown:ne,onMouseLeave:ae,onMouseUp:ie,onDragLeave:oe,onTouchEnd:se,onTouchMove:ue,onTouchStart:le,ref:be,tabIndex:g?-1:I,type:j},ve,B,{children:[f,ke?(0,T.jsx)(W,(0,r.Z)({ref:H,center:p},F)):null]}))}));var Y=Q},2981:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(2666),s=n(7192),u=n(9602),c=n(6122),d=n(6067),p=n(577),f=n(2734),h=n(1705),m=n(8979);function g(e){return(0,m.Z)("MuiCollapse",e)}(0,n(6087).Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var v=n(5893);const y=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],b=(0,u.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>(0,o.Z)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,o.Z)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),w=(0,u.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>(0,o.Z)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),x=(0,u.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>(0,o.Z)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),k=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiCollapse"}),{addEndListener:u,children:m,className:k,collapsedSize:S="0px",component:E,easing:C,in:Z,onEnter:R,onEntered:P,onEntering:T,onExit:O,onExited:N,onExiting:M,orientation:_="vertical",style:z,timeout:A=d.x9.standard,TransitionComponent:L=l.ZP}=n,I=(0,r.Z)(n,y),F=(0,o.Z)({},n,{orientation:_,collapsedSize:S}),$=(e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,s.Z)(r,g,n)})(F),j=(0,f.Z)(),B=i.useRef(),D=i.useRef(null),W=i.useRef(),U="number"==typeof S?`${S}px`:S,V="horizontal"===_,H=V?"width":"height";i.useEffect((()=>()=>{clearTimeout(B.current)}),[]);const q=i.useRef(null),K=(0,h.Z)(t,q),Q=e=>t=>{if(e){const n=q.current;void 0===t?e(n):e(n,t)}},Y=()=>D.current?D.current[V?"clientWidth":"clientHeight"]:0,X=Q(((e,t)=>{D.current&&V&&(D.current.style.position="absolute"),e.style[H]=U,R&&R(e,t)})),G=Q(((e,t)=>{const n=Y();D.current&&V&&(D.current.style.position="");const{duration:r,easing:o}=(0,p.C)({style:z,timeout:A,easing:C},{mode:"enter"});if("auto"===A){const t=j.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,W.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[H]=`${n}px`,e.style.transitionTimingFunction=o,T&&T(e,t)})),J=Q(((e,t)=>{e.style[H]="auto",P&&P(e,t)})),ee=Q((e=>{e.style[H]=`${Y()}px`,O&&O(e)})),te=Q(N),ne=Q((e=>{const t=Y(),{duration:n,easing:r}=(0,p.C)({style:z,timeout:A,easing:C},{mode:"exit"});if("auto"===A){const n=j.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,W.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[H]=U,e.style.transitionTimingFunction=r,M&&M(e)}));return(0,v.jsx)(L,(0,o.Z)({in:Z,onEnter:X,onEntered:J,onEntering:G,onExit:ee,onExited:te,onExiting:ne,addEndListener:e=>{"auto"===A&&(B.current=setTimeout(e,W.current||0)),u&&u(q.current,e)},nodeRef:q,timeout:"auto"===A?null:A},I,{children:(e,t)=>(0,v.jsx)(b,(0,o.Z)({as:E,className:(0,a.Z)($.root,k,{entered:$.entered,exited:!Z&&"0px"===U&&$.hidden}[e]),style:(0,o.Z)({[V?"minWidth":"minHeight"]:U},z),ownerState:(0,o.Z)({},F,{state:e}),ref:K},t,{children:(0,v.jsx)(w,{ownerState:(0,o.Z)({},F,{state:e}),className:$.wrapper,ref:D,children:(0,v.jsx)(x,{ownerState:(0,o.Z)({},F,{state:e}),className:$.wrapperInner,children:m})})}))}))}));k.muiSupportAuto=!0;var S=k},6501:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(7192),s=n(1796),u=n(9602),c=n(6122),d=n(8979);function p(e){return(0,d.Z)("MuiPaper",e)}(0,n(6087).Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var f=n(5893);const h=["className","component","elevation","square","variant"],m=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},g=(0,u.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${e.palette.divider}`},"elevation"===t.variant&&(0,o.Z)({boxShadow:e.shadows[t.elevation]},"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,s.Fq)("#fff",m(t.elevation))}, ${(0,s.Fq)("#fff",m(t.elevation))})`}))));var v=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiPaper"}),{className:i,component:s="div",elevation:u=1,square:d=!1,variant:m="elevation"}=n,v=(0,r.Z)(n,h),y=(0,o.Z)({},n,{component:s,elevation:u,square:d,variant:m}),b=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,l.Z)(i,p,o)})(y);return(0,f.jsx)(g,(0,o.Z)({as:s,ownerState:y,className:(0,a.Z)(b.root,i),ref:t},v))}))},6447:function(e,t,n){"use strict";var r=n(3366),o=n(7462),i=n(7294),a=n(5408),l=n(2605),s=n(9707),u=n(9766),c=n(9602),d=n(6122),p=n(5893);const f=["component","direction","spacing","divider","children"];function h(e,t){const n=i.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o[t.root]})((({ownerState:e,theme:t})=>{let n=(0,o.Z)({display:"flex"},(0,a.k9)({theme:t},(0,a.P$)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=(0,l.hB)(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(null==e.spacing[n]&&null==e.direction[n]||(t[n]=!0),t)),{}),i=(0,a.P$)({values:e.direction,base:o}),s=(0,a.P$)({values:e.spacing,base:o}),c=(t,n)=>{return{"& > :not(style) + :not(style)":{margin:0,[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,l.NA)(r,t)}};var o};n=(0,u.Z)(n,(0,a.k9)({theme:t},s,c))}return n})),g=i.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiStack"}),i=(0,s.Z)(n),{component:a="div",direction:l="column",spacing:u=0,divider:c,children:g}=i,v=(0,r.Z)(i,f),y={direction:l,spacing:u};return(0,p.jsx)(m,(0,o.Z)({as:a,ownerState:y,ref:t},v,{children:c?h(g,c):g}))}));t.Z=g},6356:function(e,t,n){"use strict";n.d(t,{Z:function(){return Vn}});var r=n(7462),o=n(3366),i=n(7294),a=n.t(i,2),l=n(6010),s=n(7192);let u=0;const c=a.useId;var d=n(9602),p=n(6122),f=n(9766),h=n(1387),m=n(67);function g(e){return e&&e.ownerDocument||document}function v(e){return g(e).defaultView||window}function y(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}var b=n(6600),w=n(5893);const x=["onChange","maxRows","minRows","style","value"];function k(e,t){return parseInt(e[t],10)||0}const S={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};var E=i.forwardRef((function(e,t){const{onChange:n,maxRows:a,minRows:l=1,style:s,value:u}=e,c=(0,o.Z)(e,x),{current:d}=i.useRef(null!=u),p=i.useRef(null),f=(0,m.Z)(t,p),h=i.useRef(null),g=i.useRef(0),[E,C]=i.useState({}),Z=i.useCallback((()=>{const t=p.current,n=v(t).getComputedStyle(t);if("0px"===n.width)return;const r=h.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const o=n["box-sizing"],i=k(n,"padding-bottom")+k(n,"padding-top"),s=k(n,"border-bottom-width")+k(n,"border-top-width"),u=r.scrollHeight;r.value="x";const c=r.scrollHeight;let d=u;l&&(d=Math.max(Number(l)*c,d)),a&&(d=Math.min(Number(a)*c,d)),d=Math.max(d,c);const f=d+("border-box"===o?i+s:0),m=Math.abs(d-u)<=1;C((e=>g.current<20&&(f>0&&Math.abs((e.outerHeightStyle||0)-f)>1||e.overflow!==m)?(g.current+=1,{overflow:m,outerHeightStyle:f}):e))}),[a,l,e.placeholder]);return i.useEffect((()=>{const e=y((()=>{g.current=0,Z()})),t=v(p.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(p.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}}),[Z]),(0,b.Z)((()=>{Z()})),i.useEffect((()=>{g.current=0}),[u]),(0,w.jsxs)(i.Fragment,{children:[(0,w.jsx)("textarea",(0,r.Z)({value:u,onChange:e=>{g.current=0,d||Z(),n&&n(e)},ref:f,rows:l,style:(0,r.Z)({height:E.outerHeightStyle,overflow:E.overflow?"hidden":null},s)},c)),(0,w.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:(0,r.Z)({},S,s,{padding:0})})]})})),C=function(e){return"string"==typeof e};function Z({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}var R=i.createContext();function P(){return i.useContext(R)}var T=n(8216),O=n(1705),N=b.Z,M=n(917);function _(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,w.jsx)(M.xB,{styles:r})}var z=n(247),A=function(e){return(0,w.jsx)(_,(0,r.Z)({},e,{defaultTheme:z.Z}))};function L(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function I(e,t=!1){return e&&(L(e.value)&&""!==e.value||t&&L(e.defaultValue)&&""!==e.defaultValue)}var F=n(8979),$=n(6087);function j(e){return(0,F.Z)("MuiInputBase",e)}var B=(0,$.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const D=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],W=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,T.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},U=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},V=(0,d.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:W})((({theme:e,ownerState:t})=>(0,r.Z)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${B.disabled}`]:{color:e.palette.text.disabled,cursor:"default"}},t.multiline&&(0,r.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),H=(0,d.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:U})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,o={color:"currentColor",opacity:n?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},i={opacity:"0 !important"},a={opacity:n?.42:.5};return(0,r.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${B.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${B.disabled}`]:{opacity:1,WebkitTextFillColor:e.palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),q=(0,w.jsx)(A,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),K=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:u,autoFocus:c,className:d,components:f={},componentsProps:m={},defaultValue:g,disabled:v,disableInjectingGlobalStyles:y,endAdornment:b,fullWidth:x=!1,id:k,inputComponent:S="input",inputProps:M={},inputRef:_,maxRows:z,minRows:A,multiline:L=!1,name:F,onBlur:$,onChange:B,onClick:W,onFocus:U,onKeyDown:K,onKeyUp:Q,placeholder:Y,readOnly:X,renderSuffix:G,rows:J,startAdornment:ee,type:te="text",value:ne}=n,re=(0,o.Z)(n,D),oe=null!=M.value?M.value:ne,{current:ie}=i.useRef(null!=oe),ae=i.useRef(),le=i.useCallback((e=>{}),[]),se=(0,O.Z)(M.ref,le),ue=(0,O.Z)(_,se),ce=(0,O.Z)(ae,ue),[de,pe]=i.useState(!1),fe=P(),he=Z({props:n,muiFormControl:fe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});he.focused=fe?fe.focused:de,i.useEffect((()=>{!fe&&v&&de&&(pe(!1),$&&$())}),[fe,v,de,$]);const me=fe&&fe.onFilled,ge=fe&&fe.onEmpty,ve=i.useCallback((e=>{I(e)?me&&me():ge&&ge()}),[me,ge]);N((()=>{ie&&ve({value:oe})}),[oe,ve,ie]),i.useEffect((()=>{ve(ae.current)}),[]);let ye=S,be=M;L&&"input"===ye&&(be=J?(0,r.Z)({type:void 0,minRows:J,maxRows:J},be):(0,r.Z)({type:void 0,maxRows:z,minRows:A},be),ye=E),i.useEffect((()=>{fe&&fe.setAdornedStart(Boolean(ee))}),[fe,ee]);const we=(0,r.Z)({},n,{color:he.color||"primary",disabled:he.disabled,endAdornment:b,error:he.error,focused:he.focused,formControl:fe,fullWidth:x,hiddenLabel:he.hiddenLabel,multiline:L,size:he.size,startAdornment:ee,type:te}),xe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:u,hiddenLabel:c,multiline:d,size:p,startAdornment:f,type:h}=e,m={root:["root",`color${(0,T.Z)(n)}`,r&&"disabled",o&&"error",u&&"fullWidth",a&&"focused",l&&"formControl","small"===p&&"sizeSmall",d&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",d&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd"]};return(0,s.Z)(m,j,t)})(we),ke=f.Root||V,Se=m.root||{},Ee=f.Input||H;return be=(0,r.Z)({},be,m.input),(0,w.jsxs)(i.Fragment,{children:[!y&&q,(0,w.jsxs)(ke,(0,r.Z)({},Se,!C(ke)&&{ownerState:(0,r.Z)({},we,Se.ownerState)},{ref:t,onClick:e=>{ae.current&&e.currentTarget===e.target&&ae.current.focus(),W&&W(e)}},re,{className:(0,l.Z)(xe.root,Se.className,d),children:[ee,(0,w.jsx)(R.Provider,{value:null,children:(0,w.jsx)(Ee,(0,r.Z)({ownerState:we,"aria-invalid":he.error,"aria-describedby":a,autoComplete:u,autoFocus:c,defaultValue:g,disabled:he.disabled,id:k,onAnimationStart:e=>{ve("mui-auto-fill-cancel"===e.animationName?ae.current:{value:"x"})},name:F,placeholder:Y,readOnly:X,required:he.required,rows:J,value:oe,onKeyDown:K,onKeyUp:Q,type:te},be,!C(Ee)&&{as:ye,ownerState:(0,r.Z)({},we,be.ownerState)},{ref:ce,className:(0,l.Z)(xe.input,be.className),onBlur:e=>{$&&$(e),M.onBlur&&M.onBlur(e),fe&&fe.onBlur?fe.onBlur(e):pe(!1)},onChange:(e,...t)=>{if(!ie){const t=e.target||ae.current;if(null==t)throw new Error((0,h.Z)(1));ve({value:t.value})}M.onChange&&M.onChange(e,...t),B&&B(e,...t)},onFocus:e=>{he.disabled?e.stopPropagation():(U&&U(e),M.onFocus&&M.onFocus(e),fe&&fe.onFocus?fe.onFocus(e):pe(!0))}}))}),b,G?G((0,r.Z)({},he,{startAdornment:ee})):null]}))]})}));var Q=K;function Y(e){return(0,F.Z)("MuiInput",e)}var X=(0,$.Z)("MuiInput",["root","formControl","focused","disabled","colorSecondary","underline","error","sizeSmall","multiline","fullWidth","input","inputSizeSmall","inputMultiline","inputTypeSearch"]);const G=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],J=(0,d.ZP)(V,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...W(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return(0,r.Z)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${e.palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${X.focused}:after`]:{transform:"scaleX(1)"},[`&.${X.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${X.disabled}):before`]:{borderBottom:`2px solid ${e.palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${X.disabled}:before`]:{borderBottomStyle:"dotted"}})})),ee=(0,d.ZP)(H,{name:"MuiInput",slot:"Input",overridesResolver:U})({}),te=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiInput"}),{disableUnderline:i,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:d=!1,type:h="text"}=n,m=(0,o.Z)(n,G),g=(e=>{const{classes:t,disableUnderline:n}=e,o={root:["root",!n&&"underline"],input:["input"]},i=(0,s.Z)(o,Y,t);return(0,r.Z)({},t,i)})(n),v={root:{ownerState:{disableUnderline:i}}},y=l?(0,f.Z)(l,v):v;return(0,w.jsx)(Q,(0,r.Z)({components:(0,r.Z)({Root:J,Input:ee},a),componentsProps:y,fullWidth:u,inputComponent:c,multiline:d,ref:t,type:h},m,{classes:g}))}));te.muiName="Input";var ne=te;function re(e){return(0,F.Z)("MuiFilledInput",e)}var oe=(0,$.Z)("MuiFilledInput",["root","colorSecondary","underline","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","hiddenLabel","input","inputSizeSmall","inputHiddenLabel","inputMultiline","inputAdornedStart","inputAdornedEnd"]);const ie=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],ae=(0,d.ZP)(V,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...W(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return(0,r.Z)({position:"relative",backgroundColor:i,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:i}},[`&.${oe.focused}`]:{backgroundColor:i},[`&.${oe.disabled}`]:{backgroundColor:n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${e.palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${oe.focused}:after`]:{transform:"scaleX(1)"},[`&.${oe.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${oe.disabled}):before`]:{borderBottom:`1px solid ${e.palette.text.primary}`},[`&.${oe.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,r.Z)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),le=(0,d.ZP)(H,{name:"MuiFilledInput",slot:"Input",overridesResolver:U})((({theme:e,ownerState:t})=>(0,r.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))),se=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiFilledInput"}),{components:i={},componentsProps:a,fullWidth:l=!1,inputComponent:u="input",multiline:c=!1,type:d="text"}=n,h=(0,o.Z)(n,ie),m=(0,r.Z)({},n,{fullWidth:l,inputComponent:u,multiline:c,type:d}),g=(e=>{const{classes:t,disableUnderline:n}=e,o={root:["root",!n&&"underline"],input:["input"]},i=(0,s.Z)(o,re,t);return(0,r.Z)({},t,i)})(n),v={root:{ownerState:m},input:{ownerState:m}},y=a?(0,f.Z)(a,v):v;return(0,w.jsx)(Q,(0,r.Z)({components:(0,r.Z)({Root:ae,Input:le},i),componentsProps:y,fullWidth:l,inputComponent:u,multiline:c,ref:t,type:d},h,{classes:g}))}));se.muiName="Input";var ue,ce=se;const de=["children","classes","className","label","notched"],pe=(0,d.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),fe=(0,d.ZP)("legend")((({ownerState:e,theme:t})=>(0,r.Z)({float:"unset"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,r.Z)({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function he(e){return(0,F.Z)("MuiOutlinedInput",e)}var me=(0,$.Z)("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]);const ge=["components","fullWidth","inputComponent","label","multiline","notched","type"],ve=(0,d.ZP)(V,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:W})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,r.Z)({position:"relative",borderRadius:e.shape.borderRadius,[`&:hover .${me.notchedOutline}`]:{borderColor:e.palette.text.primary},"@media (hover: none)":{[`&:hover .${me.notchedOutline}`]:{borderColor:n}},[`&.${me.focused} .${me.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${me.error} .${me.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${me.disabled} .${me.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,r.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),ye=(0,d.ZP)((function(e){const{className:t,label:n,notched:i}=e,a=(0,o.Z)(e,de),l=null!=n&&""!==n,s=(0,r.Z)({},e,{notched:i,withLabel:l});return(0,w.jsx)(pe,(0,r.Z)({"aria-hidden":!0,className:t,ownerState:s},a,{children:(0,w.jsx)(fe,{ownerState:s,children:l?(0,w.jsx)("span",{children:n}):ue||(ue=(0,w.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>({borderColor:"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}))),be=(0,d.ZP)(H,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:U})((({theme:e,ownerState:t})=>(0,r.Z)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),we=i.forwardRef((function(e,t){var n;const a=(0,p.Z)({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:u=!1,inputComponent:c="input",label:d,multiline:f=!1,notched:h,type:m="text"}=a,g=(0,o.Z)(a,ge),v=(e=>{const{classes:t}=e,n=(0,s.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},he,t);return(0,r.Z)({},t,n)})(a),y=Z({props:a,muiFormControl:P(),states:["required"]});return(0,w.jsx)(Q,(0,r.Z)({components:(0,r.Z)({Root:ve,Input:be},l),renderSuffix:e=>(0,w.jsx)(ye,{className:v.notchedOutline,label:null!=d&&""!==d&&y.required?n||(n=(0,w.jsxs)(i.Fragment,{children:[d," ","*"]})):d,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:c,multiline:f,ref:t,type:m},g,{classes:(0,r.Z)({},v,{notchedOutline:null})}))}));we.muiName="Input";var xe=we;function ke(e){return(0,F.Z)("MuiFormLabel",e)}var Se=(0,$.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const Ee=["children","className","color","component","disabled","error","filled","focused","required"],Ce=(0,d.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,r.Z)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>(0,r.Z)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Se.focused}`]:{color:e.palette[t.color].main},[`&.${Se.disabled}`]:{color:e.palette.text.disabled},[`&.${Se.error}`]:{color:e.palette.error.main}}))),Ze=(0,d.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${Se.error}`]:{color:e.palette.error.main}})));var Re=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiFormLabel"}),{children:i,className:a,component:u="label"}=n,c=(0,o.Z)(n,Ee),d=Z({props:n,muiFormControl:P(),states:["color","required","focused","disabled","error","filled"]}),f=(0,r.Z)({},n,{color:d.color||"primary",component:u,disabled:d.disabled,error:d.error,filled:d.filled,focused:d.focused,required:d.required}),h=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e,u={root:["root",`color${(0,T.Z)(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,s.Z)(u,ke,t)})(f);return(0,w.jsxs)(Ce,(0,r.Z)({as:u,ownerState:f,className:(0,l.Z)(h.root,a),ref:t},c,{children:[i,d.required&&(0,w.jsxs)(Ze,{ownerState:f,"aria-hidden":!0,className:h.asterisk,children:[" ","*"]})]}))}));function Pe(e){return(0,F.Z)("MuiInputLabel",e)}(0,$.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Te=["disableAnimation","margin","shrink","variant"],Oe=(0,d.ZP)(Re,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Se.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,r.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&(0,r.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,r.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,r.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))));var Ne=i.forwardRef((function(e,t){const n=(0,p.Z)({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,shrink:a}=n,l=(0,o.Z)(n,Te),u=P();let c=a;void 0===c&&u&&(c=u.filled||u.focused||u.adornedStart);const d=Z({props:n,muiFormControl:u,states:["size","variant","required"]}),f=(0,r.Z)({},n,{disableAnimation:i,formControl:u,shrink:c,size:d.size,variant:d.variant,required:d.required}),h=(e=>{const{classes:t,formControl:n,size:o,shrink:i,disableAnimation:a,variant:l,required:u}=e,c={root:["root",n&&"formControl",!a&&"animated",i&&"shrink","small"===o&&"sizeSmall",l],asterisk:[u&&"asterisk"]},d=(0,s.Z)(c,Pe,t);return(0,r.Z)({},t,d)})(f);return(0,w.jsx)(Oe,(0,r.Z)({"data-shrink":c,ownerState:f,ref:t},l,{classes:h}))})),Me=function(e,t){return i.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)};function _e(e){return(0,F.Z)("MuiFormControl",e)}(0,$.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const ze=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],Ae=(0,d.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,r.Z)({},t.root,t[`margin${(0,T.Z)(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>(0,r.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})));var Le=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiFormControl"}),{children:a,className:u,color:c="primary",component:d="div",disabled:f=!1,error:h=!1,focused:m,fullWidth:g=!1,hiddenLabel:v=!1,margin:y="none",required:b=!1,size:x="medium",variant:k="outlined"}=n,S=(0,o.Z)(n,ze),E=(0,r.Z)({},n,{color:c,component:d,disabled:f,error:h,fullWidth:g,hiddenLabel:v,margin:y,required:b,size:x,variant:k}),C=(e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root","none"!==n&&`margin${(0,T.Z)(n)}`,r&&"fullWidth"]};return(0,s.Z)(o,_e,t)})(E),[Z,P]=i.useState((()=>{let e=!1;return a&&i.Children.forEach(a,(t=>{if(!Me(t,["Input","Select"]))return;const n=Me(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)})),e})),[O,N]=i.useState((()=>{let e=!1;return a&&i.Children.forEach(a,(t=>{Me(t,["Input","Select"])&&I(t.props,!0)&&(e=!0)})),e})),[M,_]=i.useState(!1);f&&M&&_(!1);const z=void 0===m||f?M:m,A=i.useCallback((()=>{N(!0)}),[]),L={adornedStart:Z,setAdornedStart:P,color:c,disabled:f,error:h,filled:O,focused:z,fullWidth:g,hiddenLabel:v,size:x,onBlur:()=>{_(!1)},onEmpty:i.useCallback((()=>{N(!1)}),[]),onFilled:A,onFocus:()=>{_(!0)},registerEffect:void 0,required:b,variant:k};return(0,w.jsx)(R.Provider,{value:L,children:(0,w.jsx)(Ae,(0,r.Z)({as:d,ownerState:E,className:(0,l.Z)(C.root,u),ref:t},S,{children:a}))})}));function Ie(e){return(0,F.Z)("MuiFormHelperText",e)}var Fe,$e=(0,$.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);const je=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Be=(0,d.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${(0,T.Z)(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((({theme:e,ownerState:t})=>(0,r.Z)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${$e.disabled}`]:{color:e.palette.text.disabled},[`&.${$e.error}`]:{color:e.palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})));var De=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiFormHelperText"}),{children:i,className:a,component:u="p"}=n,c=(0,o.Z)(n,je),d=Z({props:n,muiFormControl:P(),states:["variant","size","disabled","error","filled","focused","required"]}),f=(0,r.Z)({},n,{component:u,contained:"filled"===d.variant||"outlined"===d.variant,variant:d.variant,size:d.size,disabled:d.disabled,error:d.error,filled:d.filled,focused:d.focused,required:d.required}),h=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:l,required:u}=e,c={root:["root",o&&"disabled",i&&"error",r&&`size${(0,T.Z)(r)}`,n&&"contained",l&&"focused",a&&"filled",u&&"required"]};return(0,s.Z)(c,Ie,t)})(f);return(0,w.jsx)(Be,(0,r.Z)({as:u,ownerState:f,className:(0,l.Z)(h.root,a),ref:t},c,{children:" "===i?Fe||(Fe=(0,w.jsx)("span",{className:"notranslate",children:"​"})):i}))})),We=(n(9864),g),Ue=i.createContext({});function Ve(e){return(0,F.Z)("MuiList",e)}(0,$.Z)("MuiList",["root","padding","dense","subheader"]);const He=["children","className","component","dense","disablePadding","subheader"],qe=(0,d.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,r.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var Ke=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiList"}),{children:a,className:u,component:c="ul",dense:d=!1,disablePadding:f=!1,subheader:h}=n,m=(0,o.Z)(n,He),g=i.useMemo((()=>({dense:d})),[d]),v=(0,r.Z)({},n,{component:c,dense:d,disablePadding:f}),y=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,i={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,s.Z)(i,Ve,t)})(v);return(0,w.jsx)(Ue.Provider,{value:g,children:(0,w.jsxs)(qe,(0,r.Z)({as:c,className:(0,l.Z)(y.root,u),ref:t,ownerState:v},m,{children:[h,a]}))})}));function Qe(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var Ye=Qe;const Xe=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Ge(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Je(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function et(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function tt(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&et(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}var nt=i.forwardRef((function(e,t){const{actions:n,autoFocus:a=!1,autoFocusItem:l=!1,children:s,className:u,disabledItemsFocusable:c=!1,disableListWrap:d=!1,onKeyDown:p,variant:f="selectedMenu"}=e,h=(0,o.Z)(e,Xe),m=i.useRef(null),g=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});N((()=>{a&&m.current.focus()}),[a]),i.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!m.current.style.width;if(e.clientHeight{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===f&&e.props.selected||-1===y)&&(y=t))}));const b=i.Children.map(s,((e,t)=>{if(t===y){const t={};return l&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===f&&(t.tabIndex=0),i.cloneElement(e,t)}return e}));return(0,w.jsx)(Ke,(0,r.Z)({role:"menu",ref:v,className:u,onKeyDown:e=>{const t=m.current,n=e.key,r=We(t).activeElement;if("ArrowDown"===n)e.preventDefault(),tt(t,r,d,c,Ge);else if("ArrowUp"===n)e.preventDefault(),tt(t,r,d,c,Je);else if("Home"===n)e.preventDefault(),tt(t,null,d,c,Ge);else if("End"===n)e.preventDefault(),tt(t,null,d,c,Je);else if(1===n.length){const o=g.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const l=r&&!o.repeating&&et(r,o);o.previousKeyMatched&&(l||tt(t,r,!1,c,Ge,o))?e.preventDefault():o.previousKeyMatched=!1}p&&p(e)},tabIndex:a?0:-1},h,{children:b}))})),rt=n(6501),ot=y,it=v,at=n(2666),lt=n(2734),st=n(577);const ut=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ct(e){return`scale(${e}, ${e**2})`}const dt={entering:{opacity:1,transform:ct(1)},entered:{opacity:1,transform:"none"}},pt=i.forwardRef((function(e,t){const{addEndListener:n,appear:a=!0,children:l,easing:s,in:u,onEnter:c,onEntered:d,onEntering:p,onExit:f,onExited:h,onExiting:m,style:g,timeout:v="auto",TransitionComponent:y=at.ZP}=e,b=(0,o.Z)(e,ut),x=i.useRef(),k=i.useRef(),S=(0,lt.Z)(),E=i.useRef(null),C=(0,O.Z)(l.ref,t),Z=(0,O.Z)(E,C),R=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},P=R(p),T=R(((e,t)=>{(0,st.n)(e);const{duration:n,delay:r,easing:o}=(0,st.C)({style:g,timeout:v,easing:s},{mode:"enter"});let i;"auto"===v?(i=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=i):i=n,e.style.transition=[S.transitions.create("opacity",{duration:i,delay:r}),S.transitions.create("transform",{duration:.666*i,delay:r,easing:o})].join(","),c&&c(e,t)})),N=R(d),M=R(m),_=R((e=>{const{duration:t,delay:n,easing:r}=(0,st.C)({style:g,timeout:v,easing:s},{mode:"exit"});let o;"auto"===v?(o=S.transitions.getAutoHeightDuration(e.clientHeight),k.current=o):o=t,e.style.transition=[S.transitions.create("opacity",{duration:o,delay:n}),S.transitions.create("transform",{duration:.666*o,delay:n||.333*o,easing:r})].join(","),e.style.opacity="0",e.style.transform=ct(.75),f&&f(e)})),z=R(h);return i.useEffect((()=>()=>{clearTimeout(x.current)}),[]),(0,w.jsx)(y,(0,r.Z)({appear:a,in:u,nodeRef:E,onEnter:T,onEntered:N,onEntering:P,onExit:_,onExited:z,onExiting:M,addEndListener:e=>{"auto"===v&&(x.current=setTimeout(e,k.current||0)),n&&n(E.current,e)},timeout:"auto"===v?null:v},b,{children:(e,t)=>i.cloneElement(l,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:ct(.75),visibility:"exited"!==e||u?void 0:"hidden"},dt[e],g,l.props.style),ref:Z},t))}))}));pt.muiSupportAuto=!0;var ft=pt,ht=n(3633);function mt(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}var gt=n(3935),vt=n(7960),yt=i.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,l]=i.useState(null),s=(0,m.Z)(i.isValidElement(n)?n.ref:null,t);return(0,b.Z)((()=>{o||l(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),(0,b.Z)((()=>{if(a&&!o)return(0,vt.Z)(t,a),()=>{(0,vt.Z)(t,null)}}),[t,a,o]),o?i.isValidElement(n)?i.cloneElement(n,{ref:s}):n:a?gt.createPortal(n,a):a}));function bt(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function wt(e){return parseInt(v(e).getComputedStyle(e).paddingRight,10)||0}function xt(e,t,n,r=[],o){const i=[t,n,...r],a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(e=>{-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&bt(e,o)}))}function kt(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const St=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Et(e){const t=[],n=[];return Array.from(e.querySelectorAll(St)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Ct(){return!0}var Zt=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=Et,isEnabled:l=Ct,open:s}=e,u=i.useRef(),c=i.useRef(null),d=i.useRef(null),p=i.useRef(null),f=i.useRef(null),h=i.useRef(!1),v=i.useRef(null),y=(0,m.Z)(t.ref,v),b=i.useRef(null);i.useEffect((()=>{s&&v.current&&(h.current=!n)}),[n,s]),i.useEffect((()=>{if(!s||!v.current)return;const e=g(v.current);return v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex",-1),h.current&&v.current.focus()),()=>{o||(p.current&&p.current.focus&&(u.current=!0,p.current.focus()),p.current=null)}}),[s]),i.useEffect((()=>{if(!s||!v.current)return;const e=g(v.current),t=t=>{const{current:n}=v;if(null!==n)if(e.hasFocus()&&!r&&l()&&!u.current){if(!n.contains(e.activeElement)){if(t&&f.current!==t.target||e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!h.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(r=a(v.current)),r.length>0){var o,i;const e=Boolean((null==(o=b.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=b.current)?void 0:i.key)),t=r[0],n=r[r.length-1];e?n.focus():t.focus()}else n.focus()}}else u.current=!1},n=t=>{b.current=t,!r&&l()&&"Tab"===t.key&&e.activeElement===v.current&&t.shiftKey&&(u.current=!0,d.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,l,s,a]);const x=e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0};return(0,w.jsxs)(i.Fragment,{children:[(0,w.jsx)("div",{tabIndex:0,onFocus:x,ref:c,"data-test":"sentinelStart"}),i.cloneElement(t,{ref:y,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,w.jsx)("div",{tabIndex:0,onFocus:x,ref:d,"data-test":"sentinelEnd"})]})};function Rt(e){return(0,F.Z)("MuiModal",e)}(0,$.Z)("MuiModal",["root","hidden"]);const Pt=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"],Tt=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&bt(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);xt(t,e.mount,e.modalRef,r,!0);const o=kt(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=kt(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=g(e);return t.body===e?v(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Qe(g(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${wt(r)+e}px`;const t=g(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${wt(t)+e}px`}))}const e=r.parentElement,t=v(r),o="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===t.getComputedStyle(e).overflowY?e:r;n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}(r,t))}remove(e){const t=this.modals.indexOf(e);if(-1===t)return t;const n=kt(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&bt(e.modalRef,!0),xt(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&bt(e.modalRef,!1)}return t}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var Ot=i.forwardRef((function(e,t){const{BackdropComponent:n,BackdropProps:a,children:u,classes:c,className:d,closeAfterTransition:p=!1,component:f="div",components:h={},componentsProps:v={},container:y,disableAutoFocus:b=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:k=!1,disablePortal:S=!1,disableRestoreFocus:E=!1,disableScrollLock:Z=!1,hideBackdrop:R=!1,keepMounted:P=!1,manager:T=Tt,onBackdropClick:O,onClose:N,onKeyDown:M,open:_,theme:z,onTransitionEnter:A,onTransitionExited:L}=e,I=(0,o.Z)(e,Pt),[F,$]=i.useState(!0),j=i.useRef({}),B=i.useRef(null),D=i.useRef(null),W=(0,m.Z)(D,t),U=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),V=()=>(j.current.modalRef=D.current,j.current.mountNode=B.current,j.current),H=()=>{T.mount(V(),{disableScrollLock:Z}),D.current.scrollTop=0},q=(0,ht.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(y)||g(B.current).body;T.add(V(),e),D.current&&H()})),K=i.useCallback((()=>T.isTopModal(V())),[T]),Q=(0,ht.Z)((e=>{B.current=e,e&&(_&&K()?H():bt(D.current,!0))})),Y=i.useCallback((()=>{T.remove(V())}),[T]);i.useEffect((()=>()=>{Y()}),[Y]),i.useEffect((()=>{_?q():U&&p||Y()}),[_,Y,U,p,q]);const X=(0,r.Z)({},e,{classes:c,closeAfterTransition:p,disableAutoFocus:b,disableEnforceFocus:x,disableEscapeKeyDown:k,disablePortal:S,disableRestoreFocus:E,disableScrollLock:Z,exited:F,hideBackdrop:R,keepMounted:P}),G=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"]};return(0,s.Z)(o,Rt,r)})(X);if(!P&&!_&&(!U||F))return null;const J={};void 0===u.props.tabIndex&&(J.tabIndex="-1"),U&&(J.onEnter=mt((()=>{$(!1),A&&A()}),u.props.onEnter),J.onExited=mt((()=>{$(!0),L&&L(),p&&Y()}),u.props.onExited));const ee=h.Root||f,te=v.root||{};return(0,w.jsx)(yt,{ref:Q,container:y,disablePortal:S,children:(0,w.jsxs)(ee,(0,r.Z)({role:"presentation"},te,!C(ee)&&{as:f,ownerState:(0,r.Z)({},X,te.ownerState),theme:z},I,{ref:W,onKeyDown:e=>{M&&M(e),"Escape"===e.key&&K()&&(k||(e.stopPropagation(),N&&N(e,"escapeKeyDown")))},className:(0,l.Z)(G.root,te.className,d),children:[!R&&n?(0,w.jsx)(n,(0,r.Z)({open:_,onClick:e=>{e.target===e.currentTarget&&(O&&O(e),N&&N(e,"backdropClick"))}},a)):null,(0,w.jsx)(Zt,{disableEnforceFocus:x,disableAutoFocus:b,disableRestoreFocus:E,isEnabled:K,open:_,children:i.cloneElement(u,J)})]}))})}));function Nt(e){return(0,F.Z)("MuiBackdrop",e)}(0,$.Z)("MuiBackdrop",["root","invisible"]);const Mt=["classes","className","invisible","component","components","componentsProps","theme"];var _t=i.forwardRef((function(e,t){const{classes:n,className:i,invisible:a=!1,component:u="div",components:c={},componentsProps:d={},theme:p}=e,f=(0,o.Z)(e,Mt),h=(0,r.Z)({},e,{classes:n,invisible:a}),m=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,s.Z)(r,Nt,t)})(h),g=c.Root||u,v=d.root||{};return(0,w.jsx)(g,(0,r.Z)({"aria-hidden":!0},v,!C(g)&&{as:u,ownerState:(0,r.Z)({},h,v.ownerState),theme:p},{ref:t},f,{className:(0,l.Z)(m.root,v.className,i)}))})),zt=n(6067);const At=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Lt={entering:{opacity:1},entered:{opacity:1}},It={enter:zt.x9.enteringScreen,exit:zt.x9.leavingScreen};var Ft=i.forwardRef((function(e,t){const{addEndListener:n,appear:a=!0,children:l,easing:s,in:u,onEnter:c,onEntered:d,onEntering:p,onExit:f,onExited:h,onExiting:m,style:g,timeout:v=It,TransitionComponent:y=at.ZP}=e,b=(0,o.Z)(e,At),x=(0,lt.Z)(),k=i.useRef(null),S=(0,O.Z)(l.ref,t),E=(0,O.Z)(k,S),C=e=>t=>{if(e){const n=k.current;void 0===t?e(n):e(n,t)}},Z=C(p),R=C(((e,t)=>{(0,st.n)(e);const n=(0,st.C)({style:g,timeout:v,easing:s},{mode:"enter"});e.style.webkitTransition=x.transitions.create("opacity",n),e.style.transition=x.transitions.create("opacity",n),c&&c(e,t)})),P=C(d),T=C(m),N=C((e=>{const t=(0,st.C)({style:g,timeout:v,easing:s},{mode:"exit"});e.style.webkitTransition=x.transitions.create("opacity",t),e.style.transition=x.transitions.create("opacity",t),f&&f(e)})),M=C(h);return(0,w.jsx)(y,(0,r.Z)({appear:a,in:u,nodeRef:k,onEnter:R,onEntered:P,onEntering:Z,onExit:N,onExited:M,onExiting:T,addEndListener:e=>{n&&n(k.current,e)},timeout:v},b,{children:(e,t)=>i.cloneElement(l,(0,r.Z)({style:(0,r.Z)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},Lt[e],g,l.props.style),ref:E},t))}))}));const $t=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],jt=(0,d.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,r.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})));var Bt=i.forwardRef((function(e,t){var n;const i=(0,p.Z)({props:e,name:"MuiBackdrop"}),{children:a,components:l={},componentsProps:s={},className:u,invisible:c=!1,open:d,transitionDuration:f,TransitionComponent:h=Ft}=i,m=(0,o.Z)(i,$t),g=(e=>{const{classes:t}=e;return t})((0,r.Z)({},i,{invisible:c}));return(0,w.jsx)(h,(0,r.Z)({in:d,timeout:f},m,{children:(0,w.jsx)(_t,{className:u,invisible:c,components:(0,r.Z)({Root:jt},l),componentsProps:{root:(0,r.Z)({},s.root,(!l.Root||!C(l.Root))&&{ownerState:(0,r.Z)({},null==(n=s.root)?void 0:n.ownerState)})},classes:g,ref:t,children:a})}))}));const Dt=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],Wt=(0,d.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,r.Z)({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),Ut=(0,d.ZP)(Bt,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1});var Vt=i.forwardRef((function(e,t){var n;const a=(0,p.Z)({name:"MuiModal",props:e}),{BackdropComponent:l=Ut,closeAfterTransition:s=!1,children:u,components:c={},componentsProps:d={},disableAutoFocus:f=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:m=!1,disablePortal:g=!1,disableRestoreFocus:v=!1,disableScrollLock:y=!1,hideBackdrop:b=!1,keepMounted:x=!1}=a,k=(0,o.Z)(a,Dt),[S,E]=i.useState(!0),Z={closeAfterTransition:s,disableAutoFocus:f,disableEnforceFocus:h,disableEscapeKeyDown:m,disablePortal:g,disableRestoreFocus:v,disableScrollLock:y,hideBackdrop:b,keepMounted:x},R=(0,r.Z)({},a,Z,{exited:S}).classes;return(0,w.jsx)(Ot,(0,r.Z)({components:(0,r.Z)({Root:Wt},c),componentsProps:{root:(0,r.Z)({},d.root,(!c.Root||!C(c.Root))&&{ownerState:(0,r.Z)({},null==(n=d.root)?void 0:n.ownerState)})},BackdropComponent:l,onTransitionEnter:()=>E(!1),onTransitionExited:()=>E(!0),ref:t},k,{classes:R},Z,{children:u}))}));function Ht(e){return(0,F.Z)("MuiPopover",e)}(0,$.Z)("MuiPopover",["root","paper"]);const qt=["onEntering"],Kt=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function Qt(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Yt(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Xt(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Gt(e){return"function"==typeof e?e():e}const Jt=(0,d.ZP)(Vt,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),en=(0,d.ZP)(rt.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0});var tn=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiPopover"}),{action:a,anchorEl:u,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:d,anchorReference:f="anchorEl",children:h,className:m,container:g,elevation:v=8,marginThreshold:y=16,open:b,PaperProps:x={},transformOrigin:k={vertical:"top",horizontal:"left"},TransitionComponent:S=ft,transitionDuration:E="auto",TransitionProps:{onEntering:C}={}}=n,Z=(0,o.Z)(n.TransitionProps,qt),R=(0,o.Z)(n,Kt),P=i.useRef(),T=(0,O.Z)(P,x.ref),N=(0,r.Z)({},n,{anchorOrigin:c,anchorReference:f,elevation:v,marginThreshold:y,PaperProps:x,transformOrigin:k,TransitionComponent:S,transitionDuration:E,TransitionProps:Z}),M=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"],paper:["paper"]},Ht,t)})(N),_=i.useCallback((()=>{if("anchorPosition"===f)return d;const e=Gt(u),t=(e&&1===e.nodeType?e:We(P.current).body).getBoundingClientRect();return{top:t.top+Qt(t,c.vertical),left:t.left+Yt(t,c.horizontal)}}),[u,c.horizontal,c.vertical,d,f]),z=i.useCallback((e=>({vertical:Qt(e,k.vertical),horizontal:Yt(e,k.horizontal)})),[k.horizontal,k.vertical]),A=i.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=z(t);if("none"===f)return{top:null,left:null,transformOrigin:Xt(n)};const r=_();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,l=i+t.width,s=it(Gt(u)),c=s.innerHeight-y,d=s.innerWidth-y;if(oc){const e=a-c;o-=e,n.vertical+=e}if(id){const e=l-d;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Xt(n)}}),[u,f,_,z,y]),L=i.useCallback((()=>{const e=P.current;if(!e)return;const t=A(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[A]);i.useEffect((()=>{b&&L()})),i.useImperativeHandle(a,(()=>b?{updatePosition:()=>{L()}}:null),[b,L]),i.useEffect((()=>{if(!b)return;const e=ot((()=>{L()})),t=it(u);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[u,b,L]);let I=E;"auto"!==E||S.muiSupportAuto||(I=void 0);const F=g||(u?We(Gt(u)).body:void 0);return(0,w.jsx)(Jt,(0,r.Z)({BackdropProps:{invisible:!0},className:(0,l.Z)(M.root,m),container:F,open:b,ref:t,ownerState:N},R,{children:(0,w.jsx)(S,(0,r.Z)({appear:!0,in:b,onEntering:(e,t)=>{C&&C(e,t),L()},timeout:I},Z,{children:(0,w.jsx)(en,(0,r.Z)({elevation:v},x,{ref:T,className:(0,l.Z)(M.paper,x.className),children:h}))}))}))}));function nn(e){return(0,F.Z)("MuiMenu",e)}(0,$.Z)("MuiMenu",["root","paper","list"]);const rn=["onEntering"],on=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],an={vertical:"top",horizontal:"right"},ln={vertical:"top",horizontal:"left"},sn=(0,d.ZP)(tn,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),un=(0,d.ZP)(rt.Z,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),cn=(0,d.ZP)(nt,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var dn=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:u,disableAutoFocusItem:c=!1,MenuListProps:d={},onClose:f,open:h,PaperProps:m={},PopoverClasses:g,transitionDuration:v="auto",TransitionProps:{onEntering:y}={},variant:b="selectedMenu"}=n,x=(0,o.Z)(n.TransitionProps,rn),k=(0,o.Z)(n,on),S=(0,lt.Z)(),E="rtl"===S.direction,C=(0,r.Z)({},n,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:d,onEntering:y,PaperProps:m,transitionDuration:v,TransitionProps:x,variant:b}),Z=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"],paper:["paper"],list:["list"]},nn,t)})(C),R=a&&!c&&h,P=i.useRef(null);let T=-1;return i.Children.map(u,((e,t)=>{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===b&&e.props.selected||-1===T)&&(T=t))})),(0,w.jsx)(sn,(0,r.Z)({classes:g,onClose:f,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?an:ln,PaperProps:(0,r.Z)({component:un},m,{classes:(0,r.Z)({},m.classes,{root:Z.paper})}),className:Z.root,open:h,ref:t,transitionDuration:v,TransitionProps:(0,r.Z)({onEntering:(e,t)=>{P.current&&P.current.adjustStyleForScrollbar(e,S),y&&y(e,t)}},x),ownerState:C},k,{children:(0,w.jsx)(cn,(0,r.Z)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),f&&f(e,"tabKeyDown"))},actions:P,autoFocus:a&&(-1===T||c),autoFocusItem:R,variant:b},d,{className:(0,l.Z)(Z.list,d.className),children:u}))}))}));function pn(e){return(0,F.Z)("MuiNativeSelect",e)}var fn=(0,$.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const hn=["className","disabled","IconComponent","inputRef","variant"],mn=({ownerState:e,theme:t})=>(0,r.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},[`&.${fn.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),gn=(0,d.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:d.FO,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${fn.multiple}`]:t.multiple}]}})(mn),vn=({ownerState:e,theme:t})=>(0,r.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${fn.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),yn=(0,d.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,T.Z)(n.variant)}`],n.open&&t.iconOpen]}})(vn);var bn=i.forwardRef((function(e,t){const{className:n,disabled:a,IconComponent:u,inputRef:c,variant:d="standard"}=e,p=(0,o.Z)(e,hn),f=(0,r.Z)({},e,{disabled:a,variant:d}),h=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i}=e,a={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${(0,T.Z)(n)}`,i&&"iconOpen",r&&"disabled"]};return(0,s.Z)(a,pn,t)})(f);return(0,w.jsxs)(i.Fragment,{children:[(0,w.jsx)(gn,(0,r.Z)({ownerState:f,className:(0,l.Z)(h.select,n),disabled:a,ref:c||t},p)),e.multiple?null:(0,w.jsx)(yn,{as:u,ownerState:f,className:h.icon})]})})),wn=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=i.useRef(void 0!==e),[a,l]=i.useState(t);return[o?e:a,i.useCallback((e=>{o||l(e)}),[])]};function xn(e){return(0,F.Z)("MuiSelect",e)}var kn,Sn=(0,$.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const En=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Cn=(0,d.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Sn.select}`]:t.select},{[`&.${Sn.select}`]:t[n.variant]},{[`&.${Sn.multiple}`]:t.multiple}]}})(mn,{[`&.${Sn.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Zn=(0,d.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,T.Z)(n.variant)}`],n.open&&t.iconOpen]}})(vn),Rn=(0,d.ZP)("input",{shouldForwardProp:e=>(0,d.Dz)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Pn(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Tn(e){return null==e||"string"==typeof e&&!e.trim()}var On,Nn,Mn=i.forwardRef((function(e,t){const{"aria-describedby":n,"aria-label":a,autoFocus:u,autoWidth:c,children:d,className:p,defaultOpen:f,defaultValue:m,disabled:g,displayEmpty:v,IconComponent:y,inputRef:b,labelId:x,MenuProps:k={},multiple:S,name:E,onBlur:C,onChange:Z,onClose:R,onFocus:P,onOpen:N,open:M,readOnly:_,renderValue:z,SelectDisplayProps:A={},tabIndex:L,value:F,variant:$="standard"}=e,j=(0,o.Z)(e,En),[B,D]=wn({controlled:F,default:m,name:"Select"}),[W,U]=wn({controlled:M,default:f,name:"Select"}),V=i.useRef(null),H=i.useRef(null),[q,K]=i.useState(null),{current:Q}=i.useRef(null!=M),[Y,X]=i.useState(),G=(0,O.Z)(t,b),J=i.useCallback((e=>{H.current=e,e&&K(e)}),[]);i.useImperativeHandle(G,(()=>({focus:()=>{H.current.focus()},node:V.current,value:B})),[B]),i.useEffect((()=>{f&&W&&q&&!Q&&(X(c?null:q.clientWidth),H.current.focus())}),[q,c]),i.useEffect((()=>{u&&H.current.focus()}),[u]),i.useEffect((()=>{if(!x)return;const e=We(H.current).getElementById(x);if(e){const t=()=>{getSelection().isCollapsed&&H.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[x]);const ee=(e,t)=>{e?N&&N(t):R&&R(t),Q||(X(c?null:q.clientWidth),U(e))},te=i.Children.toArray(d),ne=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(S){n=Array.isArray(B)?B.slice():[];const t=B.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),B!==n&&(D(n),Z)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:E}}),Z(o,e)}S||ee(!1,t)}},re=null!==q&&W;let oe,ie;delete j["aria-invalid"];const ae=[];let le=!1,se=!1;(I({value:B})||v)&&(z?oe=z(B):le=!0);const ue=te.map((e=>{if(!i.isValidElement(e))return null;let t;if(S){if(!Array.isArray(B))throw new Error((0,h.Z)(2));t=B.some((t=>Pn(t,e.props.value))),t&&le&&ae.push(e.props.children)}else t=Pn(B,e.props.value),t&&le&&(ie=e.props.children);return t&&(se=!0),i.cloneElement(e,{"aria-selected":t?"true":"false",onClick:ne(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));le&&(oe=S?0===ae.length?null:ae.reduce(((e,t,n)=>(e.push(t),n{const{classes:t,variant:n,disabled:r,multiple:o,open:i}=e,a={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${(0,T.Z)(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,s.Z)(a,xn,t)})(fe);return(0,w.jsxs)(i.Fragment,{children:[(0,w.jsx)(Cn,(0,r.Z)({ref:J,tabIndex:ce,role:"button","aria-disabled":g?"true":void 0,"aria-expanded":re?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[x,pe].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{_||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),ee(!0,e))},onMouseDown:g||_?null:e=>{0===e.button&&(e.preventDefault(),H.current.focus(),ee(!0,e))},onBlur:e=>{!re&&C&&(Object.defineProperty(e,"target",{writable:!0,value:{value:B,name:E}}),C(e))},onFocus:P},A,{ownerState:fe,className:(0,l.Z)(he.select,p,A.className),id:pe,children:Tn(oe)?kn||(kn=(0,w.jsx)("span",{className:"notranslate",children:"​"})):oe})),(0,w.jsx)(Rn,(0,r.Z)({value:Array.isArray(B)?B.join(","):B,name:E,ref:V,"aria-hidden":!0,onChange:e=>{const t=te.map((e=>e.props.value)).indexOf(e.target.value);if(-1===t)return;const n=te[t];D(n.props.value),Z&&Z(e,n)},tabIndex:-1,disabled:g,className:he.nativeInput,autoFocus:u,ownerState:fe},j)),(0,w.jsx)(Zn,{as:y,className:he.icon,ownerState:fe}),(0,w.jsx)(dn,(0,r.Z)({id:`menu-${E||""}`,anchorEl:q,open:re,onClose:e=>{ee(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},k,{MenuListProps:(0,r.Z)({"aria-labelledby":x,role:"listbox",disableListWrap:!0},k.MenuListProps),PaperProps:(0,r.Z)({},k.PaperProps,{style:(0,r.Z)({minWidth:de},null!=k.PaperProps?k.PaperProps.style:null)}),children:ue}))]})})),_n=(0,n(5949).Z)((0,w.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const zn=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],An={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,d.FO)(e)&&"variant"!==e,slot:"Root"},Ln=(0,d.ZP)(ne,An)(""),In=(0,d.ZP)(xe,An)(""),Fn=(0,d.ZP)(ce,An)(""),$n=i.forwardRef((function(e,t){const n=(0,p.Z)({name:"MuiSelect",props:e}),{autoWidth:a=!1,children:s,classes:u={},className:c,defaultOpen:d=!1,displayEmpty:h=!1,IconComponent:m=_n,id:g,input:v,inputProps:y,label:b,labelId:x,MenuProps:k,multiple:S=!1,native:E=!1,onClose:C,onOpen:R,open:T,renderValue:N,SelectDisplayProps:M,variant:_="outlined"}=n,z=(0,o.Z)(n,zn),A=E?bn:Mn,L=Z({props:n,muiFormControl:P(),states:["variant"]}).variant||_,I=v||{standard:On||(On=(0,w.jsx)(Ln,{})),outlined:(0,w.jsx)(In,{label:b}),filled:Nn||(Nn=(0,w.jsx)(Fn,{}))}[L],F=(e=>{const{classes:t}=e;return t})((0,r.Z)({},n,{variant:L,classes:u})),$=(0,O.Z)(t,I.ref);return i.cloneElement(I,(0,r.Z)({inputComponent:A,inputProps:(0,r.Z)({children:s,IconComponent:m,variant:L,type:void 0,multiple:S},E?{id:g}:{autoWidth:a,defaultOpen:d,displayEmpty:h,labelId:x,MenuProps:k,onClose:C,onOpen:R,open:T,renderValue:N,SelectDisplayProps:(0,r.Z)({id:g},M)},y,{classes:y?(0,f.Z)(F,y.classes):F},v?v.props.inputProps:{})},S&&E&&"outlined"===L?{notched:!0}:{},{ref:$,className:(0,l.Z)(I.props.className,c),variant:L},z))}));$n.muiName="Select";var jn=$n;function Bn(e){return(0,F.Z)("MuiTextField",e)}(0,$.Z)("MuiTextField",["root"]);const Dn=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Wn={standard:ne,filled:ce,outlined:xe},Un=(0,d.ZP)(Le,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({});var Vn=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiTextField"}),{autoComplete:a,autoFocus:d=!1,children:f,className:h,color:m="primary",defaultValue:g,disabled:v=!1,error:y=!1,FormHelperTextProps:b,fullWidth:x=!1,helperText:k,id:S,InputLabelProps:E,inputProps:C,InputProps:Z,inputRef:R,label:P,maxRows:T,minRows:O,multiline:N=!1,name:M,onBlur:_,onChange:z,onFocus:A,placeholder:L,required:I=!1,rows:F,select:$=!1,SelectProps:j,type:B,value:D,variant:W="outlined"}=n,U=(0,o.Z)(n,Dn),V=(0,r.Z)({},n,{autoFocus:d,color:m,disabled:v,error:y,fullWidth:x,multiline:N,required:I,select:$,variant:W}),H=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"]},Bn,t)})(V),q={};"outlined"===W&&(E&&void 0!==E.shrink&&(q.notched=E.shrink),q.label=P),$&&(j&&j.native||(q.id=void 0),q["aria-describedby"]=void 0);const K=function(e){if(void 0!==c){const t=c();return null!=e?e:t}return function(e){const[t,n]=i.useState(e),r=e||t;return i.useEffect((()=>{null==t&&(u+=1,n(`mui-${u}`))}),[t]),r}(e)}(S),Q=k&&K?`${K}-helper-text`:void 0,Y=P&&K?`${K}-label`:void 0,X=Wn[W],G=(0,w.jsx)(X,(0,r.Z)({"aria-describedby":Q,autoComplete:a,autoFocus:d,defaultValue:g,fullWidth:x,multiline:N,name:M,rows:F,maxRows:T,minRows:O,type:B,value:D,id:K,inputRef:R,onBlur:_,onChange:z,onFocus:A,placeholder:L,inputProps:C},q,Z));return(0,w.jsxs)(Un,(0,r.Z)({className:(0,l.Z)(H.root,h),disabled:v,error:y,fullWidth:x,ref:t,required:I,color:m,variant:W,ownerState:V},U,{children:[null!=P&&""!==P&&(0,w.jsx)(Ne,(0,r.Z)({htmlFor:K,id:Y},E,{children:P})),$?(0,w.jsx)(jn,(0,r.Z)({"aria-describedby":Q,id:K,labelId:Y,value:D,input:G},j,{children:f})):G,k&&(0,w.jsx)(De,(0,r.Z)({id:Q},b,{children:k}))]}))}))},4386:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(7192),s=n(6122),u=n(9602),c=n(8979);function d(e){return(0,c.Z)("MuiToolbar",e)}(0,n(6087).Z)("MuiToolbar",["root","gutters","regular","dense"]);var p=n(5893);const f=["className","component","disableGutters","variant"],h=(0,u.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar));var m=i.forwardRef((function(e,t){const n=(0,s.Z)({props:e,name:"MuiToolbar"}),{className:i,component:u="div",disableGutters:c=!1,variant:m="regular"}=n,g=(0,r.Z)(n,f),v=(0,o.Z)({},n,{component:u,disableGutters:c,variant:m}),y=(e=>{const{classes:t,disableGutters:n,variant:r}=e,o={root:["root",!n&&"gutters",r]};return(0,l.Z)(o,d,t)})(v);return(0,p.jsx)(h,(0,o.Z)({as:u,className:(0,a.Z)(y.root,i),ref:t,ownerState:v},g))}))},2658:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(9707),s=n(7192),u=n(9602),c=n(6122),d=n(8216),p=n(8979);function f(e){return(0,p.Z)("MuiTypography",e)}(0,n(6087).Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var h=n(5893);const m=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],g=(0,u.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,d.Z)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,o.Z)({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var b=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiTypography"}),i=(e=>y[e]||e)(n.color),u=(0,l.Z)((0,o.Z)({},n,{color:i})),{align:p="inherit",className:b,component:w,gutterBottom:x=!1,noWrap:k=!1,paragraph:S=!1,variant:E="body1",variantMapping:C=v}=u,Z=(0,r.Z)(u,m),R=(0,o.Z)({},u,{align:p,color:i,className:b,component:w,gutterBottom:x,noWrap:k,paragraph:S,variant:E,variantMapping:C}),P=w||(S?"p":C[E]||v[E])||"span",T=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,"inherit"!==e.align&&`align${(0,d.Z)(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,s.Z)(l,f,a)})(R);return(0,h.jsx)(g,(0,o.Z)({as:P,ref:t,ownerState:R,className:(0,a.Z)(T.root,b)},Z))}))},4345:function(e,t,n){"use strict";n.d(t,{Z:function(){return ne}});var r=n(7462),o=n(3366),i=n(9766),a=n(6268),l=n(1387),s=n(1796),u={black:"#000",white:"#fff"},c={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},d="#f3e5f5",p="#ce93d8",f="#ba68c8",h="#ab47bc",m="#9c27b0",g="#7b1fa2",v="#e57373",y="#ef5350",b="#f44336",w="#d32f2f",x="#c62828",k="#ffb74d",S="#ffa726",E="#ff9800",C="#f57c00",Z="#e65100",R="#e3f2fd",P="#90caf9",T="#42a5f5",O="#1976d2",N="#1565c0",M="#4fc3f7",_="#29b6f6",z="#03a9f4",A="#0288d1",L="#01579b",I="#81c784",F="#66bb6a",$="#4caf50",j="#388e3c",B="#2e7d32",D="#1b5e20";const W=["mode","contrastThreshold","tonalOffset"],U={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:u.white,default:u.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},V={text:{primary:u.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:u.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function H(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,s.$n)(e.main,o):"dark"===t&&(e.dark=(0,s._j)(e.main,i)))}const q=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],K={textTransform:"uppercase"},Q='"Roboto", "Helvetica", "Arial", sans-serif';function Y(e,t){const n="function"==typeof t?t(e):t,{fontFamily:a=Q,fontSize:l=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,o.Z)(n,q),g=l/14,v=h||(e=>e/p*g+"rem"),y=(e,t,n,o,i)=>{return(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:v(t),lineHeight:n},a===Q?{letterSpacing:(l=o/t,Math.round(1e5*l)/1e5+"em")}:{},i,f);var l},b={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(u,48,1.167,0),h4:y(u,34,1.235,.25),h5:y(u,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(u,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(u,16,1.5,.15),body2:y(u,14,1.43,.15),button:y(c,14,1.75,.4,K),caption:y(u,12,1.66,.4),overline:y(u,12,2.66,1,K)};return(0,i.Z)((0,r.Z)({htmlFontSize:p,pxToRem:v,fontFamily:a,fontSize:l,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:d},b),m,{clone:!1})}function X(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var G=["none",X(0,2,1,-1,0,1,1,0,0,1,3,0),X(0,3,1,-2,0,2,2,0,0,1,5,0),X(0,3,3,-2,0,3,4,0,0,1,8,0),X(0,2,4,-1,0,4,5,0,0,1,10,0),X(0,3,5,-1,0,5,8,0,0,1,14,0),X(0,3,5,-1,0,6,10,0,0,1,18,0),X(0,4,5,-2,0,7,10,1,0,2,16,1),X(0,5,5,-3,0,8,10,1,0,3,14,2),X(0,5,6,-3,0,9,12,1,0,3,16,2),X(0,6,6,-3,0,10,14,1,0,4,18,3),X(0,6,7,-4,0,11,15,1,0,4,20,3),X(0,7,8,-4,0,12,17,2,0,5,22,4),X(0,7,8,-4,0,13,19,2,0,5,24,4),X(0,7,9,-4,0,14,21,2,0,5,26,4),X(0,8,9,-5,0,15,22,2,0,6,28,5),X(0,8,10,-5,0,16,24,2,0,6,30,5),X(0,8,11,-5,0,17,26,2,0,6,32,5),X(0,9,11,-5,0,18,28,2,0,7,34,6),X(0,9,12,-6,0,19,29,2,0,7,36,6),X(0,10,13,-6,0,20,31,3,0,8,38,7),X(0,10,13,-6,0,21,33,3,0,8,40,7),X(0,10,14,-6,0,22,35,3,0,8,42,7),X(0,11,14,-7,0,23,36,3,0,9,44,8),X(0,11,15,-7,0,24,38,3,0,9,46,8)],J=n(6067),ee={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const te=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];var ne=function(e={},...t){const{mixins:n={},palette:q={},transitions:K={},typography:Q={}}=e,X=(0,o.Z)(e,te),ne=function(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:a=.2}=e,q=(0,o.Z)(e,W),K=e.primary||function(e="light"){return"dark"===e?{main:P,light:R,dark:T}:{main:O,light:T,dark:N}}(t),Q=e.secondary||function(e="light"){return"dark"===e?{main:p,light:d,dark:h}:{main:m,light:f,dark:g}}(t),Y=e.error||function(e="light"){return"dark"===e?{main:b,light:v,dark:w}:{main:w,light:y,dark:x}}(t),X=e.info||function(e="light"){return"dark"===e?{main:_,light:M,dark:A}:{main:A,light:z,dark:L}}(t),G=e.success||function(e="light"){return"dark"===e?{main:F,light:I,dark:j}:{main:B,light:$,dark:D}}(t),J=e.warning||function(e="light"){return"dark"===e?{main:S,light:k,dark:C}:{main:"#ed6c02",light:E,dark:Z}}(t);function ee(e){return(0,s.mi)(e,V.text.primary)>=n?V.text.primary:U.text.primary}const te=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,l.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,l.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return H(e,"light",o,a),H(e,"dark",i,a),e.contrastText||(e.contrastText=ee(e.main)),e},ne={dark:V,light:U};return(0,i.Z)((0,r.Z)({common:u,mode:t,primary:te({color:K,name:"primary"}),secondary:te({color:Q,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:te({color:Y,name:"error"}),warning:te({color:J,name:"warning"}),info:te({color:X,name:"info"}),success:te({color:G,name:"success"}),grey:c,contrastThreshold:n,getContrastText:ee,augmentColor:te,tonalOffset:a},ne[t]),q)}(q),re=(0,a.Z)(e);let oe=(0,i.Z)(re,{mixins:(ie=re.breakpoints,re.spacing,ae=n,(0,r.Z)({toolbar:{minHeight:56,[`${ie.up("xs")} and (orientation: landscape)`]:{minHeight:48},[ie.up("sm")]:{minHeight:64}}},ae)),palette:ne,shadows:G.slice(),typography:Y(ne,Q),transitions:(0,J.ZP)(K),zIndex:(0,r.Z)({},ee)});var ie,ae;return oe=(0,i.Z)(oe,X),oe=t.reduce(((e,t)=>(0,i.Z)(e,t)),oe),oe}},6067:function(e,t,n){"use strict";n.d(t,{x9:function(){return l},ZP:function(){return c}});var r=n(3366),o=n(7462);const i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return`${Math.round(e)}ms`}function u(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function c(e){const t=(0,o.Z)({},a,e.easing),n=(0,o.Z)({},l,e.duration);return(0,o.Z)({getAutoHeightDuration:u,create:(e=["all"],o={})=>{const{duration:a=n.standard,easing:l=t.easeInOut,delay:u=0}=o;return(0,r.Z)(o,i),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:s(a)} ${l} ${"string"==typeof u?u:s(u)}`)).join(",")}},e,{easing:t,duration:n})}},247:function(e,t,n){"use strict";const r=(0,n(4345).Z)();t.Z=r},9602:function(e,t,n){"use strict";n.d(t,{ZP:function(){return k},FO:function(){return b},Dz:function(){return w}});var r=n(7462),o=n(3366),i=n(9868),a=n(6268),l=n(8320);const s=["variant"];function u(e){return 0===e.length}function c(e){const{variant:t}=e,n=(0,o.Z)(e,s);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?u(r)?e[t]:(0,l.Z)(e[t]):`${u(r)?t:(0,l.Z)(t)}${(0,l.Z)(e[t].toString())}`})),r}var d=n(6523);const p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],f=["theme"],h=["theme"];function m(e){return 0===Object.keys(e).length}function g(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const v=(0,a.Z)();var y=n(247);const b=e=>g(e)&&"classes"!==e,w=g,x=function(e={}){const{defaultTheme:t=v,rootShouldForwardProp:n=g,slotShouldForwardProp:a=g,styleFunctionSx:l=d.Z}=e;return(e,s={})=>{const{name:u,slot:d,skipVariantsResolver:v,skipSx:y,overridesResolver:b}=s,w=(0,o.Z)(s,p),x=void 0!==v?v:d&&"Root"!==d||!1,k=y||!1;let S=g;"Root"===d?S=n:d&&(S=a);const E=(0,i.ZP)(e,(0,r.Z)({shouldForwardProp:S,label:void 0},w)),C=(e,...n)=>{const i=n?n.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>{let{theme:i}=n,a=(0,o.Z)(n,f);return e((0,r.Z)({theme:m(i)?t:i},a))}:e)):[];let a=e;u&&b&&i.push((e=>{const n=m(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(u,n);if(r){const t={};return Object.entries(r).forEach((([n,r])=>{t[n]="function"==typeof r?r(e):r})),b(e,t)}return null})),u&&!x&&i.push((e=>{const n=m(e.theme)?t:e.theme;return((e,t,n,r)=>{var o,i;const{ownerState:a={}}=e,l=[],s=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return s&&s.forEach((n=>{let r=!0;Object.keys(n.props).forEach((t=>{a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[c(n.props)])})),l})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach((e=>{const t=c(e.props);r[t]=e.style})),r})(u,n),n,u)})),k||i.push((e=>{const n=m(e.theme)?t:e.theme;return l((0,r.Z)({},e,{theme:n}))}));const s=i.length-n.length;if(Array.isArray(e)&&s>0){const t=new Array(s).fill("");a=[...e,...t],a.raw=[...e.raw,...t]}else"function"==typeof e&&(a=n=>{let{theme:i}=n,a=(0,o.Z)(n,h);return e((0,r.Z)({theme:m(i)?t:i},a))});return E(a,...i)};return E.withConfig&&(C.withConfig=E.withConfig),C}}({defaultTheme:y.Z,rootShouldForwardProp:b});var k=x},2734:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(7294);var r=n(7878),o=n(247);function i(){return(0,r.Z)(o.Z)}},6122:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7925),o=n(7878);var i=n(247);function a({props:e,name:t}){return function({props:e,name:t,defaultTheme:n}){const i=function(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}({theme:(0,o.Z)(n),name:t,props:e});return i}({props:e,name:t,defaultTheme:i.Z})}},577:function(e,t,n){"use strict";n.d(t,{n:function(){return r},C:function(){return o}});const r=e=>e.scrollTop;function o(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}},8216:function(e,t,n){"use strict";var r=n(8320);t.Z=r.Z},5949:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(7462),o=n(7294),i=n(3366),a=n(6010),l=n(7192),s=n(8216),u=n(6122),c=n(9602),d=n(8979);function p(e){return(0,d.Z)("MuiSvgIcon",e)}(0,n(6087).Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var f=n(5893);const h=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,s.Z)(n.color)}`],t[`fontSize${(0,s.Z)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,u,c,d,p,f,h,m,g,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(i=o.duration)?void 0:i.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(l=a.pxToRem)?void 0:l.call(a,20))||"1.25rem",medium:(null==(s=e.typography)||null==(u=s.pxToRem)?void 0:u.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875"}[t.fontSize],color:null!=(p=null==(f=e.palette)||null==(h=f[t.color])?void 0:h.main)?p:{action:null==(m=e.palette)||null==(g=m.action)?void 0:g.active,disabled:null==(v=e.palette)||null==(y=v.action)?void 0:y.disabled,inherit:void 0}[t.color]}})),g=o.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiSvgIcon"}),{children:o,className:c,color:d="inherit",component:g="svg",fontSize:v="medium",htmlColor:y,inheritViewBox:b=!1,titleAccess:w,viewBox:x="0 0 24 24"}=n,k=(0,i.Z)(n,h),S=(0,r.Z)({},n,{color:d,component:g,fontSize:v,inheritViewBox:b,viewBox:x}),E={};b||(E.viewBox=x);const C=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,s.Z)(t)}`,`fontSize${(0,s.Z)(n)}`]};return(0,l.Z)(o,p,r)})(S);return(0,f.jsxs)(m,(0,r.Z)({as:g,className:(0,a.Z)(C.root,c),ownerState:S,focusable:"false",color:y,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},E,k,{children:[o,w?(0,f.jsx)("title",{children:w}):null]}))}));g.muiName="SvgIcon";var v=g;function y(e,t){const n=(n,o)=>(0,f.jsx)(v,(0,r.Z)({"data-testid":`${t}Icon`,ref:o},n,{children:e}));return n.muiName=v.muiName,o.memo(o.forwardRef(n))}},1705:function(e,t,n){"use strict";var r=n(67);t.Z=r.Z},9868:function(e,t,n){"use strict";n.d(t,{ZP:function(){return w}});var r=n(7294),o=n.t(r,2),i=n(7462),a=n(7866),l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,a.Z)((function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),u=n(5638),c=n(444),d=n(4199),p=s,f=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:f},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},g=o.useInsertionEffect?o.useInsertionEffect:function(e){e()},v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.hC)(t,n,r),g((function(){return(0,c.My)(t,n,r)})),null},y=function e(t,n){var o,a,l=t.__emotion_real===t,s=l&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var p=m(t,n,l),f=p||h(s),g=!f("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var w=y.length,x=1;x`@media (min-width:${r[e]}px)`};function i(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce(((o,i)=>{if(-1!==Object.keys(e.values||r).indexOf(i))o[e.up(i)]=n(t[i],i);else{const e=i;o[e]=t[e]}return o}),{})}return n(t)}function a(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function s({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):(t[n]=null!=e[n]?e[n]:e[i]||e,i=n),t)),{})}},1796:function(e,t,n){"use strict";n.d(t,{mi:function(){return s},Fq:function(){return u},_j:function(){return c},$n:function(){return d}});var r=n(1387);function o(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));let o,a=e.substring(t+1,e.length-1);if("color"===n){if(a=a.split(" "),o=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:n,values:a,colorSpace:o}}function a(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function l(e){let t="hsl"===(e=i(e)).type?i(function(e){e=i(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-l*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),a({type:u,values:c})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(e,t){const n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,a(e)}function c(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return a(e)}},1354:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7462),o=n(3366),i=n(7294),a=n(6010),l=n(9868),s=n(6523),u=n(9707),c=n(7878),d=n(5893);const p=["className","component"];function f(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:f,styleFunctionSx:h=s.Z}=e,m=(0,l.ZP)("div")(h);return i.forwardRef((function(e,i){const l=(0,c.Z)(t),s=(0,u.Z)(e),{className:h,component:g="div"}=s,v=(0,o.Z)(s,p);return(0,d.jsx)(m,(0,r.Z)({as:g,ref:i,className:(0,a.Z)(h,f?f(n):n),theme:l},v))}))}},6268:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7462),o=n(3366),i=n(9766);const a=["values","unit","step"];var l={borderRadius:4},s=n(2605);const u=["breakpoints","palette","spacing","shape"];var c=function(e={},...t){const{breakpoints:n={},palette:c={},spacing:d,shape:p={}}=e,f=(0,o.Z)(e,u),h=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=e,l=(0,o.Z)(e,a),s=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,r.Z)({},e,{[t.key]:t.val})),{})})(t),u=Object.keys(s);function c(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-i/100}${n})`}function p(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:r)-i/100}${n})`}return(0,r.Z)({keys:u,values:s,up:c,down:d,between:p,only:function(e){return u.indexOf(e)+1(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(d);let g=(0,i.Z)({breakpoints:h,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},c),spacing:m,shape:(0,r.Z)({},l,p)},f);return g=t.reduce(((e,t)=>(0,i.Z)(e,t)),g),g}},4178:function(e,t,n){"use strict";n.d(t,{Gc:function(){return Q},G$:function(){return K}});var r=n(4844),o=n(7730),i=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,o.Z)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n},a=n(2605),l=n(5408);function s(e){return"number"!=typeof e?e:`${e}px solid`}const u=(0,r.Z)({prop:"border",themeKey:"borders",transform:s}),c=(0,r.Z)({prop:"borderTop",themeKey:"borders",transform:s}),d=(0,r.Z)({prop:"borderRight",themeKey:"borders",transform:s}),p=(0,r.Z)({prop:"borderBottom",themeKey:"borders",transform:s}),f=(0,r.Z)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,r.Z)({prop:"borderColor",themeKey:"palette"}),m=(0,r.Z)({prop:"borderTopColor",themeKey:"palette"}),g=(0,r.Z)({prop:"borderRightColor",themeKey:"palette"}),v=(0,r.Z)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,r.Z)({prop:"borderLeftColor",themeKey:"palette"}),b=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,a.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,a.NA)(t,e)});return(0,l.k9)(e,e.borderRadius,n)}return null};b.propTypes={},b.filterProps=["borderRadius"];var w=i(u,c,d,p,f,h,m,g,v,y,b),x=i((0,r.Z)({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),(0,r.Z)({prop:"display"}),(0,r.Z)({prop:"overflow"}),(0,r.Z)({prop:"textOverflow"}),(0,r.Z)({prop:"visibility"}),(0,r.Z)({prop:"whiteSpace"})),k=i((0,r.Z)({prop:"flexBasis"}),(0,r.Z)({prop:"flexDirection"}),(0,r.Z)({prop:"flexWrap"}),(0,r.Z)({prop:"justifyContent"}),(0,r.Z)({prop:"alignItems"}),(0,r.Z)({prop:"alignContent"}),(0,r.Z)({prop:"order"}),(0,r.Z)({prop:"flex"}),(0,r.Z)({prop:"flexGrow"}),(0,r.Z)({prop:"flexShrink"}),(0,r.Z)({prop:"alignSelf"}),(0,r.Z)({prop:"justifyItems"}),(0,r.Z)({prop:"justifySelf"}));const S=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,a.eI)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,a.NA)(t,e)});return(0,l.k9)(e,e.gap,n)}return null};S.propTypes={},S.filterProps=["gap"];const E=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,a.eI)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,a.NA)(t,e)});return(0,l.k9)(e,e.columnGap,n)}return null};E.propTypes={},E.filterProps=["columnGap"];const C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,a.eI)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,a.NA)(t,e)});return(0,l.k9)(e,e.rowGap,n)}return null};C.propTypes={},C.filterProps=["rowGap"];var Z=i(S,E,C,(0,r.Z)({prop:"gridColumn"}),(0,r.Z)({prop:"gridRow"}),(0,r.Z)({prop:"gridAutoFlow"}),(0,r.Z)({prop:"gridAutoColumns"}),(0,r.Z)({prop:"gridAutoRows"}),(0,r.Z)({prop:"gridTemplateColumns"}),(0,r.Z)({prop:"gridTemplateRows"}),(0,r.Z)({prop:"gridTemplateAreas"}),(0,r.Z)({prop:"gridArea"})),R=i((0,r.Z)({prop:"position"}),(0,r.Z)({prop:"zIndex",themeKey:"zIndex"}),(0,r.Z)({prop:"top"}),(0,r.Z)({prop:"right"}),(0,r.Z)({prop:"bottom"}),(0,r.Z)({prop:"left"})),P=i((0,r.Z)({prop:"color",themeKey:"palette"}),(0,r.Z)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),(0,r.Z)({prop:"backgroundColor",themeKey:"palette"})),T=(0,r.Z)({prop:"boxShadow",themeKey:"shadows"});function O(e){return e<=1&&0!==e?100*e+"%":e}const N=(0,r.Z)({prop:"width",transform:O}),M=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||l.VO[t]||O(t)}};return(0,l.k9)(e,e.maxWidth,t)}return null};M.filterProps=["maxWidth"];const _=(0,r.Z)({prop:"minWidth",transform:O}),z=(0,r.Z)({prop:"height",transform:O}),A=(0,r.Z)({prop:"maxHeight",transform:O}),L=(0,r.Z)({prop:"minHeight",transform:O});(0,r.Z)({prop:"size",cssProperty:"width",transform:O}),(0,r.Z)({prop:"size",cssProperty:"height",transform:O});var I=i(N,M,_,z,A,L,(0,r.Z)({prop:"boxSizing"}));const F=(0,r.Z)({prop:"fontFamily",themeKey:"typography"}),$=(0,r.Z)({prop:"fontSize",themeKey:"typography"}),j=(0,r.Z)({prop:"fontStyle",themeKey:"typography"}),B=(0,r.Z)({prop:"fontWeight",themeKey:"typography"}),D=(0,r.Z)({prop:"letterSpacing"}),W=(0,r.Z)({prop:"textTransform"}),U=(0,r.Z)({prop:"lineHeight"}),V=(0,r.Z)({prop:"textAlign"});var H=i((0,r.Z)({prop:"typography",cssProperty:!1,themeKey:"typography"}),F,$,j,B,D,U,V,W);const q={borders:w.filterProps,display:x.filterProps,flexbox:k.filterProps,grid:Z.filterProps,positions:R.filterProps,palette:P.filterProps,shadows:T.filterProps,sizing:I.filterProps,spacing:a.ZP.filterProps,typography:H.filterProps},K={borders:w,display:x,flexbox:k,grid:Z,positions:R,palette:P,shadows:T,sizing:I,spacing:a.ZP,typography:H},Q=Object.keys(q).reduce(((e,t)=>(q[t].forEach((n=>{e[n]=K[t]})),e)),{})},7730:function(e,t,n){"use strict";var r=n(9766);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},2605:function(e,t,n){"use strict";n.d(t,{hB:function(){return h},eI:function(){return f},ZP:function(){return w},NA:function(){return m}});var r=n(5408),o=n(4844),i=n(7730);const a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){const t={};return e=>(void 0===t[e]&&(t[e]=(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}const[t,n]=e.split(""),r=a[t],o=l[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})(e)),t[e])}(),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...d];function f(e,t,n,r){const i=(0,o.D)(e,t)||n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t){const n=h(e.theme);return Object.keys(e).map((o=>function(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(u(n),o),a=e[n];return(0,r.k9)(e,a,i)}(e,t,o,n))).reduce(i.Z,{})}function v(e){return g(e,c)}function y(e){return g(e,d)}function b(e){return g(e,p)}v.propTypes={},v.filterProps=c,y.propTypes={},y.filterProps=d,b.propTypes={},b.filterProps=p;var w=b},4844:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(8320),o=n(5408);function i(e,t){return t&&"string"==typeof t?t.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e):null}function a(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o)),o}t.Z=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:l,transform:s}=e,u=e=>{if(null==e[t])return null;const u=e[t],c=i(e.theme,l)||{};return(0,o.k9)(e,u,(e=>{let o=a(c,s,e);return e===o&&"string"==typeof e&&(o=a(c,s,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===n?o:{[n]:o}}))};return u.propTypes={},u.filterProps=[t],u}},9707:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(7462),o=n(3366),i=n(9766),a=n(4178);const l=["sx"];function s(e){const{sx:t}=e,n=(0,o.Z)(e,l),{systemProps:s,otherProps:u}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((n=>{a.Gc[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t})(n);let c;return c=Array.isArray(t)?[s,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,i.P)(n)?(0,r.Z)({},s,n):s}:(0,r.Z)({},s,t),(0,r.Z)({},u,{sx:c})}},6523:function(e,t,n){"use strict";var r=n(7730),o=n(4178),i=n(5408);const a=function(e=o.G$){const t=Object.keys(e).reduce(((t,n)=>(e[n].filterProps.forEach((r=>{t[r]=e[n]})),t)),{});function n(e,n,r){const o={[e]:n,theme:r},i=t[e];return i?i(o):{[e]:n}}return function e(o){const{sx:a,theme:l={}}=o||{};if(!a)return null;function s(o){let a=o;if("function"==typeof o)a=o(l);else if("object"!=typeof o)return o;if(!a)return null;const s=(0,i.W8)(l.breakpoints),u=Object.keys(s);let c=s;return Object.keys(a).forEach((o=>{const s="function"==typeof(u=a[o])?u(l):u;var u;if(null!=s)if("object"==typeof s)if(t[o])c=(0,r.Z)(c,n(o,s,l));else{const t=(0,i.k9)({theme:l},s,(e=>({[o]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(t,s)?c=(0,r.Z)(c,t):c[o]=e({sx:s,theme:l})}else c=(0,r.Z)(c,n(o,s,l))})),(0,i.L7)(u,c)}return Array.isArray(a)?a.map(s):s(a)}}();a.filterProps=["sx"],t.Z=a},7878:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(6268),o=n(7294),i=o.createContext(null);const a=(0,r.Z)();var l=function(e=a){return function(e=null){const t=o.useContext(i);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}(e)}},8320:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1387);function o(e){if("string"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},9766:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return i}});var r=n(7462);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function i(e,t,n={clone:!0}){const a=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?a[r]=i(e[r],t[r],n):a[r]=t[r])})),a}},1387:function(e,t,n){"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{void 0===n[t]&&(n[t]=e[t])})),n}},7960:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},6600:function(e,t,n){"use strict";var r=n(7294);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},3633:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7294),o=n(6600);function i(e){const t=r.useRef(e);return(0,o.Z)((()=>{t.current=e})),r.useCallback(((...e)=>(0,t.current)(...e)),[])}},67:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7294),o=n(7960);function i(e,t){return r.useMemo((()=>null==e&&null==t?null:n=>{(0,o.Z)(e,n),(0,o.Z)(t,n)}),[e,t])}},3063:function(e,t){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.Q=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=t,t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e}},6010:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},7537:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},8058:function(e){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){e.exports=!1}},8679:function(e,t,n){"use strict";var r=n(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),g=0;g